create-storybook 9.1.5 → 9.1.7

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.
@@ -30,6 +30,7 @@ import Zg2, { randomFillSync, createHash as createHash$1 } from 'crypto';
30
30
  import semver, { satisfies, gt as gt$1, prerelease, lt as lt$1, coerce as coerce$1, validRange, minVersion } from 'semver';
31
31
  import q0 from 'semver/functions/sort.js';
32
32
  import { execSync } from 'child_process';
33
+ import os7 from 'os';
33
34
  import { Agent } from 'http';
34
35
  import { Agent as Agent$1 } from 'https';
35
36
  import http, { ServerResponse } from 'node:http';
@@ -668,9 +669,9 @@ to your top-level package.json.
668
669
  `,error2}function tryRequireResolve(id2,dirname8){try{return dirname8?{error:null,value:(((v12,w8)=>(v12=v12.split("."),w8=w8.split("."),+v12[0]>+w8[0]||v12[0]==w8[0]&&+v12[1]>=+w8[1]))(process.versions.node,"8.9")?__require.resolve:(r5,{paths:[b8]},M13=__require("module"))=>{let f11=M13._findPath(r5,M13._nodeModulePaths(b8).concat(b8));if(f11)return f11;throw f11=new Error(`Cannot resolve module '${r5}'`),f11.code="MODULE_NOT_FOUND",f11})(id2,{paths:[dirname8]})}:{error:null,value:__require.resolve(id2)}}catch(error2){return {error:error2,value:null}}}function tryImportMetaResolve(id2,options){try{return {error:null,value:(0,_importMetaResolve.resolve)(id2,options)}}catch(error2){return {error:error2,value:null}}}function resolveStandardizedNameForRequire(type,name,dirname8){let it7=resolveAlternativesHelper(type,name),res=it7.next();for(;!res.done;)res=it7.next(tryRequireResolve(res.value,dirname8));return {loader:"require",filepath:res.value}}function resolveStandardizedNameForImport(type,name,dirname8){let parentUrl=(0, _url().pathToFileURL)(_path().join(dirname8,"./babel-virtual-resolve-base.js")).href,it7=resolveAlternativesHelper(type,name),res=it7.next();for(;!res.done;)res=it7.next(tryImportMetaResolve(res.value,parentUrl));return {loader:"auto",filepath:(0, _url().fileURLToPath)(res.value)}}function resolveStandardizedName(type,name,dirname8,allowAsync){if(!_moduleTypes.supportsESM||!allowAsync)return resolveStandardizedNameForRequire(type,name,dirname8);try{let resolved=resolveStandardizedNameForImport(type,name,dirname8);if(!(0,_fs().existsSync)(resolved.filepath))throw Object.assign(new Error(`Could not resolve "${name}" in file ${dirname8}.`),{type:"MODULE_NOT_FOUND"});return resolved}catch(e5){try{return resolveStandardizedNameForRequire(type,name,dirname8)}catch(e22){throw e5.type==="MODULE_NOT_FOUND"?e5:e22.type==="MODULE_NOT_FOUND"?e22:e5}}}LOADING_MODULES=new Set;var LOADING_MODULES;function*requireModule(type,loader,name){if(!(yield*(0, _async.isAsync)())&&LOADING_MODULES.has(name))throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return LOADING_MODULES.add(name),yield*(0,_moduleTypes.default)(name,loader,`You appear to be using a native ECMAScript module ${type}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${type} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(err){throw err.message=`[BABEL]: ${err.message} (While processing: ${name})`,err}finally{LOADING_MODULES.delete(name);}}}});var require_files=__commonJS({"../../node_modules/@babel/core/lib/config/files/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return _configuration.ROOT_CONFIG_FILENAMES}});Object.defineProperty(exports,"findConfigUpwards",{enumerable:!0,get:function(){return _configuration.findConfigUpwards}});Object.defineProperty(exports,"findPackageData",{enumerable:!0,get:function(){return _package.findPackageData}});Object.defineProperty(exports,"findRelativeConfig",{enumerable:!0,get:function(){return _configuration.findRelativeConfig}});Object.defineProperty(exports,"findRootConfig",{enumerable:!0,get:function(){return _configuration.findRootConfig}});Object.defineProperty(exports,"loadConfig",{enumerable:!0,get:function(){return _configuration.loadConfig}});Object.defineProperty(exports,"loadPlugin",{enumerable:!0,get:function(){return _plugins.loadPlugin}});Object.defineProperty(exports,"loadPreset",{enumerable:!0,get:function(){return _plugins.loadPreset}});Object.defineProperty(exports,"resolvePlugin",{enumerable:!0,get:function(){return _plugins.resolvePlugin}});Object.defineProperty(exports,"resolvePreset",{enumerable:!0,get:function(){return _plugins.resolvePreset}});Object.defineProperty(exports,"resolveShowConfigPath",{enumerable:!0,get:function(){return _configuration.resolveShowConfigPath}});var _package=require_package(),_configuration=require_configuration(),_plugins=require_plugins4();}});var require_transform=__commonJS({"../../node_modules/@babel/core/lib/transform.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.transform=void 0;exports.transformAsync=transformAsync;exports.transformSync=transformSync2;function _gensync(){let data=require_gensync();return _gensync=function(){return data},data}var _index=require_config(),_index2=require_transformation(),_rewriteStackTrace=require_rewrite_stack_trace(),transformRunner=_gensync()(function*(code,opts){let config=yield*(0, _index.default)(opts);return config===null?null:yield*(0, _index2.run)(config,code)});exports.transform=function(code,optsOrCallback,maybeCallback){let opts,callback;if(typeof optsOrCallback=="function"?(callback=optsOrCallback,opts=void 0):(opts=optsOrCallback,callback=maybeCallback),callback===void 0)return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(code,opts);(0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.errback)(code,opts,callback);};function transformSync2(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(...args)}function transformAsync(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.async)(...args)}}});var require_transform_ast=__commonJS({"../../node_modules/@babel/core/lib/transform-ast.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.transformFromAst=void 0;exports.transformFromAstAsync=transformFromAstAsync;exports.transformFromAstSync=transformFromAstSync;function _gensync(){let data=require_gensync();return _gensync=function(){return data},data}var _index=require_config(),_index2=require_transformation(),_rewriteStackTrace=require_rewrite_stack_trace(),transformFromAstRunner=_gensync()(function*(ast,code,opts){let config=yield*(0, _index.default)(opts);if(config===null)return null;if(!ast)throw new Error("No AST given");return yield*(0, _index2.run)(config,code,ast)});exports.transformFromAst=function(ast,code,optsOrCallback,maybeCallback){let opts,callback;if(typeof optsOrCallback=="function"?(callback=optsOrCallback,opts=void 0):(opts=optsOrCallback,callback=maybeCallback),callback===void 0)return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.sync)(ast,code,opts);(0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.errback)(ast,code,opts,callback);};function transformFromAstSync(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.sync)(...args)}function transformFromAstAsync(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.async)(...args)}}});var require_parse4=__commonJS({"../../node_modules/@babel/core/lib/parse.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.parse=void 0;exports.parseAsync=parseAsync;exports.parseSync=parseSync;function _gensync(){let data=require_gensync();return _gensync=function(){return data},data}var _index=require_config(),_index2=require_parser2(),_normalizeOpts=require_normalize_opts(),_rewriteStackTrace=require_rewrite_stack_trace(),parseRunner=_gensync()(function*(code,opts){let config=yield*(0, _index.default)(opts);return config===null?null:yield*(0, _index2.default)(config.passes,(0, _normalizeOpts.default)(config),code)});exports.parse=function(code,opts,callback){if(typeof opts=="function"&&(callback=opts,opts=void 0),callback===void 0)return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(code,opts);(0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.errback)(code,opts,callback);};function parseSync(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(...args)}function parseAsync(...args){return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.async)(...args)}}});var require_lib28=__commonJS({"../../node_modules/@babel/core/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(exports,"File",{enumerable:!0,get:function(){return _file.default}});Object.defineProperty(exports,"buildExternalHelpers",{enumerable:!0,get:function(){return _buildExternalHelpers.default}});Object.defineProperty(exports,"createConfigItem",{enumerable:!0,get:function(){return _index2.createConfigItem}});Object.defineProperty(exports,"createConfigItemAsync",{enumerable:!0,get:function(){return _index2.createConfigItemAsync}});Object.defineProperty(exports,"createConfigItemSync",{enumerable:!0,get:function(){return _index2.createConfigItemSync}});Object.defineProperty(exports,"getEnv",{enumerable:!0,get:function(){return _environment.getEnv}});Object.defineProperty(exports,"loadOptions",{enumerable:!0,get:function(){return _index2.loadOptions}});Object.defineProperty(exports,"loadOptionsAsync",{enumerable:!0,get:function(){return _index2.loadOptionsAsync}});Object.defineProperty(exports,"loadOptionsSync",{enumerable:!0,get:function(){return _index2.loadOptionsSync}});Object.defineProperty(exports,"loadPartialConfig",{enumerable:!0,get:function(){return _index2.loadPartialConfig}});Object.defineProperty(exports,"loadPartialConfigAsync",{enumerable:!0,get:function(){return _index2.loadPartialConfigAsync}});Object.defineProperty(exports,"loadPartialConfigSync",{enumerable:!0,get:function(){return _index2.loadPartialConfigSync}});Object.defineProperty(exports,"parse",{enumerable:!0,get:function(){return _parse.parse}});Object.defineProperty(exports,"parseAsync",{enumerable:!0,get:function(){return _parse.parseAsync}});Object.defineProperty(exports,"parseSync",{enumerable:!0,get:function(){return _parse.parseSync}});exports.resolvePreset=exports.resolvePlugin=void 0;Object.defineProperty(exports,"template",{enumerable:!0,get:function(){return _template().default}});Object.defineProperty(exports,"tokTypes",{enumerable:!0,get:function(){return _parser().tokTypes}});Object.defineProperty(exports,"transform",{enumerable:!0,get:function(){return _transform.transform}});Object.defineProperty(exports,"transformAsync",{enumerable:!0,get:function(){return _transform.transformAsync}});Object.defineProperty(exports,"transformFile",{enumerable:!0,get:function(){return _transformFile.transformFile}});Object.defineProperty(exports,"transformFileAsync",{enumerable:!0,get:function(){return _transformFile.transformFileAsync}});Object.defineProperty(exports,"transformFileSync",{enumerable:!0,get:function(){return _transformFile.transformFileSync}});Object.defineProperty(exports,"transformFromAst",{enumerable:!0,get:function(){return _transformAst.transformFromAst}});Object.defineProperty(exports,"transformFromAstAsync",{enumerable:!0,get:function(){return _transformAst.transformFromAstAsync}});Object.defineProperty(exports,"transformFromAstSync",{enumerable:!0,get:function(){return _transformAst.transformFromAstSync}});Object.defineProperty(exports,"transformSync",{enumerable:!0,get:function(){return _transform.transformSync}});Object.defineProperty(exports,"traverse",{enumerable:!0,get:function(){return _traverse().default}});exports.version=exports.types=void 0;var _file=require_file(),_buildExternalHelpers=require_build_external_helpers(),resolvers=require_files(),_environment=require_environment();function _types(){let data=require_lib5();return _types=function(){return data},data}Object.defineProperty(exports,"types",{enumerable:!0,get:function(){return _types()}});function _parser(){let data=require_lib6();return _parser=function(){return data},data}function _traverse(){let data=require_lib11();return _traverse=function(){return data},data}function _template(){let data=require_lib8();return _template=function(){return data},data}var _index2=require_config(),_transform=require_transform(),_transformFile=require_transform_file(),_transformAst=require_transform_ast(),_parse=require_parse4();exports.version="7.26.10";var resolvePlugin=(name,dirname8)=>resolvers.resolvePlugin(name,dirname8,!1).filepath;exports.resolvePlugin=resolvePlugin;var resolvePreset=(name,dirname8)=>resolvers.resolvePreset(name,dirname8,!1).filepath;exports.resolvePreset=resolvePreset;exports.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);exports.OptionManager=class{init(opts){return (0, _index2.loadOptionsSync)(opts)}},exports.Plugin=function(alias){throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`)};}});var require_wrappy=__commonJS({"../../node_modules/wrappy/wrappy.js"(exports,module2){module2.exports=wrappy;function wrappy(fn5,cb3){if(fn5&&cb3)return wrappy(fn5)(cb3);if(typeof fn5!="function")throw new TypeError("need wrapper function");return Object.keys(fn5).forEach(function(k13){wrapper[k13]=fn5[k13];}),wrapper;function wrapper(){for(var args=new Array(arguments.length),i7=0;i7<args.length;i7++)args[i7]=arguments[i7];var ret=fn5.apply(this,args),cb4=args[args.length-1];return typeof ret=="function"&&ret!==cb4&&Object.keys(cb4).forEach(function(k13){ret[k13]=cb4[k13];}),ret}}}});var require_once=__commonJS({"../../node_modules/once/once.js"(exports,module2){var wrappy=require_wrappy();module2.exports=wrappy(once2);module2.exports.strict=wrappy(onceStrict);once2.proto=once2(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once2(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:!0});});function once2(fn5){var f11=function(){return f11.called?f11.value:(f11.called=!0,f11.value=fn5.apply(this,arguments))};return f11.called=!1,f11}function onceStrict(fn5){var f11=function(){if(f11.called)throw new Error(f11.onceError);return f11.called=!0,f11.value=fn5.apply(this,arguments)},name=fn5.name||"Function wrapped with `once`";return f11.onceError=name+" shouldn't be called more than once",f11.called=!1,f11}}});var require_end_of_stream=__commonJS({"../../node_modules/end-of-stream/index.js"(exports,module2){var once2=require_once(),noop3=function(){},isRequest2=function(stream3){return stream3.setHeader&&typeof stream3.abort=="function"},isChildProcess=function(stream3){return stream3.stdio&&Array.isArray(stream3.stdio)&&stream3.stdio.length===3},eos=function(stream3,opts,callback){if(typeof opts=="function")return eos(stream3,null,opts);opts||(opts={}),callback=once2(callback||noop3);var ws3=stream3._writableState,rs3=stream3._readableState,readable=opts.readable||opts.readable!==!1&&stream3.readable,writable=opts.writable||opts.writable!==!1&&stream3.writable,cancelled=!1,onlegacyfinish=function(){stream3.writable||onfinish();},onfinish=function(){writable=!1,readable||callback.call(stream3);},onend=function(){readable=!1,writable||callback.call(stream3);},onexit=function(exitCode){callback.call(stream3,exitCode?new Error("exited with error code: "+exitCode):null);},onerror=function(err){callback.call(stream3,err);},onclose=function(){process.nextTick(onclosenexttick);},onclosenexttick=function(){if(!cancelled){if(readable&&!(rs3&&rs3.ended&&!rs3.destroyed))return callback.call(stream3,new Error("premature close"));if(writable&&!(ws3&&ws3.ended&&!ws3.destroyed))return callback.call(stream3,new Error("premature close"))}},onrequest=function(){stream3.req.on("finish",onfinish);};return isRequest2(stream3)?(stream3.on("complete",onfinish),stream3.on("abort",onclose),stream3.req?onrequest():stream3.on("request",onrequest)):writable&&!ws3&&(stream3.on("end",onlegacyfinish),stream3.on("close",onlegacyfinish)),isChildProcess(stream3)&&stream3.on("exit",onexit),stream3.on("end",onend),stream3.on("finish",onfinish),opts.error!==!1&&stream3.on("error",onerror),stream3.on("close",onclose),function(){cancelled=!0,stream3.removeListener("complete",onfinish),stream3.removeListener("abort",onclose),stream3.removeListener("request",onrequest),stream3.req&&stream3.req.removeListener("finish",onfinish),stream3.removeListener("end",onlegacyfinish),stream3.removeListener("close",onlegacyfinish),stream3.removeListener("finish",onfinish),stream3.removeListener("exit",onexit),stream3.removeListener("end",onend),stream3.removeListener("error",onerror),stream3.removeListener("close",onclose);}};module2.exports=eos;}});var require_pump=__commonJS({"../../node_modules/pump/index.js"(exports,module2){var once2=require_once(),eos=require_end_of_stream(),fs13;try{fs13=__require("fs");}catch{}var noop3=function(){},ancient=/^v?\.0/.test(process.version),isFn=function(fn5){return typeof fn5=="function"},isFS=function(stream3){return !ancient||!fs13?!1:(stream3 instanceof(fs13.ReadStream||noop3)||stream3 instanceof(fs13.WriteStream||noop3))&&isFn(stream3.close)},isRequest2=function(stream3){return stream3.setHeader&&isFn(stream3.abort)},destroyer=function(stream3,reading,writing,callback){callback=once2(callback);var closed=!1;stream3.on("close",function(){closed=!0;}),eos(stream3,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback();});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isFS(stream3))return stream3.close(noop3);if(isRequest2(stream3))return stream3.abort();if(isFn(stream3.destroy))return stream3.destroy();callback(err||new Error("stream was destroyed"));}}},call=function(fn5){fn5();},pipe2=function(from,to6){return from.pipe(to6)},pump=function(){var streams=Array.prototype.slice.call(arguments),callback=isFn(streams[streams.length-1]||noop3)&&streams.pop()||noop3;if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new Error("pump requires two streams per minimum");var error2,destroys=streams.map(function(stream3,i7){var reading=i7<streams.length-1,writing=i7>0;return destroyer(stream3,reading,writing,function(err){error2||(error2=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error2));})});return streams.reduce(pipe2)};module2.exports=pump;}});var require_chownr=__commonJS({"../../node_modules/tar-fs/node_modules/chownr/chownr.js"(exports,module2){var fs13=__require("fs"),path12=__require("path"),LCHOWN=fs13.lchown?"lchown":"chown",LCHOWNSYNC=fs13.lchownSync?"lchownSync":"chownSync",needEISDIRHandled=fs13.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),lchownSync=(path13,uid,gid)=>{try{return fs13[LCHOWNSYNC](path13,uid,gid)}catch(er6){if(er6.code!=="ENOENT")throw er6}},chownSync=(path13,uid,gid)=>{try{return fs13.chownSync(path13,uid,gid)}catch(er6){if(er6.code!=="ENOENT")throw er6}},handleEISDIR=needEISDIRHandled?(path13,uid,gid,cb3)=>er6=>{!er6||er6.code!=="EISDIR"?cb3(er6):fs13.chown(path13,uid,gid,cb3);}:(_11,__2,___,cb3)=>cb3,handleEISDirSync=needEISDIRHandled?(path13,uid,gid)=>{try{return lchownSync(path13,uid,gid)}catch(er6){if(er6.code!=="EISDIR")throw er6;chownSync(path13,uid,gid);}}:(path13,uid,gid)=>lchownSync(path13,uid,gid),nodeVersion=process.version,readdir4=(path13,options,cb3)=>fs13.readdir(path13,options,cb3),readdirSync4=(path13,options)=>fs13.readdirSync(path13,options);/^v4\./.test(nodeVersion)&&(readdir4=(path13,options,cb3)=>fs13.readdir(path13,cb3));var chown=(cpath,uid,gid,cb3)=>{fs13[LCHOWN](cpath,uid,gid,handleEISDIR(cpath,uid,gid,er6=>{cb3(er6&&er6.code!=="ENOENT"?er6:null);}));},chownrKid=(p7,child,uid,gid,cb3)=>{if(typeof child=="string")return fs13.lstat(path12.resolve(p7,child),(er6,stats)=>{if(er6)return cb3(er6.code!=="ENOENT"?er6:null);stats.name=child,chownrKid(p7,stats,uid,gid,cb3);});if(child.isDirectory())chownr(path12.resolve(p7,child.name),uid,gid,er6=>{if(er6)return cb3(er6);let cpath=path12.resolve(p7,child.name);chown(cpath,uid,gid,cb3);});else {let cpath=path12.resolve(p7,child.name);chown(cpath,uid,gid,cb3);}},chownr=(p7,uid,gid,cb3)=>{readdir4(p7,{withFileTypes:!0},(er6,children)=>{if(er6){if(er6.code==="ENOENT")return cb3();if(er6.code!=="ENOTDIR"&&er6.code!=="ENOTSUP")return cb3(er6)}if(er6||!children.length)return chown(p7,uid,gid,cb3);let len=children.length,errState=null,then=er7=>{if(!errState){if(er7)return cb3(errState=er7);if(--len===0)return chown(p7,uid,gid,cb3)}};children.forEach(child=>chownrKid(p7,child,uid,gid,then));});},chownrKidSync=(p7,child,uid,gid)=>{if(typeof child=="string")try{let stats=fs13.lstatSync(path12.resolve(p7,child));stats.name=child,child=stats;}catch(er6){if(er6.code==="ENOENT")return;throw er6}child.isDirectory()&&chownrSync(path12.resolve(p7,child.name),uid,gid),handleEISDirSync(path12.resolve(p7,child.name),uid,gid);},chownrSync=(p7,uid,gid)=>{let children;try{children=readdirSync4(p7,{withFileTypes:!0});}catch(er6){if(er6.code==="ENOENT")return;if(er6.code==="ENOTDIR"||er6.code==="ENOTSUP")return handleEISDirSync(p7,uid,gid);throw er6}return children&&children.length&&children.forEach(child=>chownrKidSync(p7,child,uid,gid)),handleEISDirSync(p7,uid,gid)};module2.exports=chownr;chownr.sync=chownrSync;}});var require_stream=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_buffer_list=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports,module2){function ownKeys2(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols);}return keys}function _objectSpread(target){for(var i7=1;i7<arguments.length;i7++){var source=arguments[i7]!=null?arguments[i7]:{};i7%2?ownKeys2(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys2(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}return target}function _defineProperty(obj,key,value2){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value2,obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i7=0;i7<props.length;i7++){var descriptor=props[i7];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return (hint==="string"?String:Number)(input)}var _require=__require("buffer"),Buffer4=_require.Buffer,_require2=__require("util"),inspect2=_require2.inspect,custom2=inspect2&&inspect2.custom||"inspect";function copyBuffer(src,target,offset){Buffer4.prototype.copy.call(src,target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return _createClass(BufferList,[{key:"push",value:function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;}},{key:"unshift",value:function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;}},{key:"shift",value:function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0;}},{key:"join",value:function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret}},{key:"concat",value:function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret}},{key:"consume",value:function(n10,hasStrings){var ret;return n10<this.head.data.length?(ret=this.head.data.slice(0,n10),this.head.data=this.head.data.slice(n10)):n10===this.head.data.length?ret=this.shift():ret=hasStrings?this._getString(n10):this._getBuffer(n10),ret}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(n10){var p7=this.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?this.head=p7.next:this.head=this.tail=null):(this.head=p7,p7.data=str.slice(nb4));break}++c10;}return this.length-=c10,ret}},{key:"_getBuffer",value:function(n10){var ret=Buffer4.allocUnsafe(n10),p7=this.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?this.head=p7.next:this.head=this.tail=null):(this.head=p7,p7.data=buf.slice(nb4));break}++c10;}return this.length-=c10,ret}},{key:custom2,value:function(_11,options){return inspect2(this,_objectSpread(_objectSpread({},options),{},{depth:0,customInspect:!1}))}}]),BufferList}();}});var require_destroy=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(emitErrorNT,this,err)):process.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted?process.nextTick(emitCloseNT,_this):(_this._writableState.errorEmitted=!0,process.nextTick(emitErrorAndCloseNT,_this,err2)):process.nextTick(emitErrorAndCloseNT,_this,err2):cb3?(process.nextTick(emitCloseNT,_this),cb3(err2)):process.nextTick(emitCloseNT,_this);}),this)}function emitErrorAndCloseNT(self2,err){emitErrorNT(self2,err),emitCloseNT(self2);}function emitCloseNT(self2){self2._writableState&&!self2._writableState.emitClose||self2._readableState&&!self2._readableState.emitClose||self2.emit("close");}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}function errorOrDestroy(stream3,err){var rState=stream3._readableState,wState=stream3._writableState;rState&&rState.autoDestroy||wState&&wState.autoDestroy?stream3.destroy(err):stream3.emit("error",err);}module2.exports={destroy,undestroy,errorOrDestroy};}});var require_errors2=__commonJS({"../../node_modules/readable-stream/errors.js"(exports,module2){var codes={};function createErrorType(code,message,Base){Base||(Base=Error);function getMessage(arg1,arg2,arg3){return typeof message=="string"?message:message(arg1,arg2,arg3)}class NodeError extends Base{constructor(arg1,arg2,arg3){super(getMessage(arg1,arg2,arg3));}}NodeError.prototype.name=Base.name,NodeError.prototype.code=code,codes[code]=NodeError;}function oneOf(expected,thing){if(Array.isArray(expected)){let len=expected.length;return expected=expected.map(i7=>String(i7)),len>2?`one of ${thing} ${expected.slice(0,len-1).join(", ")}, or `+expected[len-1]:len===2?`one of ${thing} ${expected[0]} or ${expected[1]}`:`of ${thing} ${expected[0]}`}else return `of ${thing} ${String(expected)}`}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){return (this_len===void 0||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){return typeof start!="number"&&(start=0),start+search.length>str.length?!1:str.indexOf(search,start)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(name,value2){return 'The value "'+value2+'" is invalid for option "'+name+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(name,expected,actual){let determiner;typeof expected=="string"&&startsWith(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be";let msg;if(endsWith(name," argument"))msg=`The ${name} ${determiner} ${oneOf(expected,"type")}`;else {let type=includes(name,".")?"property":"argument";msg=`The "${name}" ${type} ${determiner} ${oneOf(expected,"type")}`;}return msg+=`. Received type ${typeof actual}`,msg},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(name){return "The "+name+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(name){return "Cannot call "+name+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(arg){return "Unknown encoding: "+arg},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");module2.exports.codes=codes;}});var require_state=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/state.js"(exports,module2){var ERR_INVALID_OPT_VALUE=require_errors2().codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module2.exports={getHighWaterMark};}});var require_inherits_browser=__commonJS({"../../node_modules/inherits/inherits_browser.js"(exports,module2){typeof Object.create=="function"?module2.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}));}:module2.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor;}};}});var require_browser2=__commonJS({"../../node_modules/util-deprecate/browser.js"(exports,module2){module2.exports=deprecate2;function deprecate2(fn5,msg){if(config("noDeprecation"))return fn5;var warned2=!1;function deprecated(){if(!warned2){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned2=!0;}return fn5.apply(this,arguments)}return deprecated}function config(name){try{if(!global.localStorage)return !1}catch{return !1}var val=global.localStorage[name];return val==null?!1:String(val).toLowerCase()==="true"}}});var require_stream_writable=__commonJS({"../../node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var Duplex2;Writable.WritableState=WritableState;var internalUtil={deprecate:require_browser2()},Stream2=require_stream(),Buffer4=__require("buffer").Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy(),_require=require_state(),getHighWaterMark=_require.getHighWaterMark,_require$codes=require_errors2().codes,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_STREAM_CANNOT_PIPE=_require$codes.ERR_STREAM_CANNOT_PIPE,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED,ERR_STREAM_NULL_VALUES=_require$codes.ERR_STREAM_NULL_VALUES,ERR_STREAM_WRITE_AFTER_END=_require$codes.ERR_STREAM_WRITE_AFTER_END,ERR_UNKNOWN_ENCODING=_require$codes.ERR_UNKNOWN_ENCODING,errorOrDestroy=destroyImpl.errorOrDestroy;require_inherits_browser()(Writable,Stream2);function nop(){}function WritableState(options,stream3,isDuplex){Duplex2=Duplex2||require_stream_duplex(),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream3 instanceof Duplex2),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"writableHighWaterMark",isDuplex),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){Duplex2=Duplex2||require_stream_duplex();var isDuplex=this instanceof Duplex2;if(!isDuplex&&!realHasInstance.call(Writable,this))return new Writable(options);this._writableState=new WritableState(options,this,isDuplex),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){errorOrDestroy(this,new ERR_STREAM_CANNOT_PIPE);};function writeAfterEnd(stream3,cb3){var er6=new ERR_STREAM_WRITE_AFTER_END;errorOrDestroy(stream3,er6),process.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var er6;return chunk===null?er6=new ERR_STREAM_NULL_VALUES:typeof chunk!="string"&&!state.objectMode&&(er6=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer"],chunk)),er6?(errorOrDestroy(stream3,er6),process.nextTick(cb3,er6),!1):!0}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ending?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){this._writableState.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new ERR_UNKNOWN_ENCODING(encoding);return this._writableState.defaultEncoding=encoding,this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,state.destroyed?state.onwrite(new ERR_STREAM_DESTROYED("write")):writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(process.nextTick(cb3,er6),process.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,errorOrDestroy(stream3,er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,errorOrDestroy(stream3,er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(typeof cb3!="function")throw new ERR_MULTIPLE_CALLBACK;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state)||stream3.destroyed;!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?process.nextTick(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new ERR_METHOD_NOT_IMPLEMENTED("_write()"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;return typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3),this};Object.defineProperty(Writable.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&errorOrDestroy(stream3,err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"&&!state.destroyed?(state.pendingcb++,state.finalCalled=!0,process.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);if(need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"),state.autoDestroy))){var rState=stream3._readableState;(!rState||rState.autoDestroy&&rState.endEmitted)&&stream3.destroy();}return need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?process.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){cb3(err);};}});var require_stream_duplex=__commonJS({"../../node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var Readable=require_stream_readable(),Writable=require_stream_writable();require_inherits_browser()(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),this.allowHalfOpen=!0,options&&(options.readable===!1&&(this.readable=!1),options.writable===!1&&(this.writable=!1),options.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",onend)));}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Duplex2.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Duplex2.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function onend(){this._writableState.ended||process.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});}});var require_end_of_stream2=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports,module2){var ERR_STREAM_PREMATURE_CLOSE=require_errors2().codes.ERR_STREAM_PREMATURE_CLOSE;function once2(callback){var called=!1;return function(){if(!called){called=!0;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];callback.apply(this,args);}}}function noop3(){}function isRequest2(stream3){return stream3.setHeader&&typeof stream3.abort=="function"}function eos(stream3,opts,callback){if(typeof opts=="function")return eos(stream3,null,opts);opts||(opts={}),callback=once2(callback||noop3);var readable=opts.readable||opts.readable!==!1&&stream3.readable,writable=opts.writable||opts.writable!==!1&&stream3.writable,onlegacyfinish=function(){stream3.writable||onfinish();},writableEnded=stream3._writableState&&stream3._writableState.finished,onfinish=function(){writable=!1,writableEnded=!0,readable||callback.call(stream3);},readableEnded=stream3._readableState&&stream3._readableState.endEmitted,onend=function(){readable=!1,readableEnded=!0,writable||callback.call(stream3);},onerror=function(err){callback.call(stream3,err);},onclose=function(){var err;if(readable&&!readableEnded)return (!stream3._readableState||!stream3._readableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream3,err);if(writable&&!writableEnded)return (!stream3._writableState||!stream3._writableState.ended)&&(err=new ERR_STREAM_PREMATURE_CLOSE),callback.call(stream3,err)},onrequest=function(){stream3.req.on("finish",onfinish);};return isRequest2(stream3)?(stream3.on("complete",onfinish),stream3.on("abort",onclose),stream3.req?onrequest():stream3.on("request",onrequest)):writable&&!stream3._writableState&&(stream3.on("end",onlegacyfinish),stream3.on("close",onlegacyfinish)),stream3.on("end",onend),stream3.on("finish",onfinish),opts.error!==!1&&stream3.on("error",onerror),stream3.on("close",onclose),function(){stream3.removeListener("complete",onfinish),stream3.removeListener("abort",onclose),stream3.removeListener("request",onrequest),stream3.req&&stream3.req.removeListener("finish",onfinish),stream3.removeListener("end",onlegacyfinish),stream3.removeListener("close",onlegacyfinish),stream3.removeListener("finish",onfinish),stream3.removeListener("end",onend),stream3.removeListener("error",onerror),stream3.removeListener("close",onclose);}}module2.exports=eos;}});var require_async_iterator=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports,module2){var _Object$setPrototypeO;function _defineProperty(obj,key,value2){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value2,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return (hint==="string"?String:Number)(input)}var finished=require_end_of_stream2(),kLastResolve=Symbol("lastResolve"),kLastReject=Symbol("lastReject"),kError=Symbol("error"),kEnded=Symbol("ended"),kLastPromise=Symbol("lastPromise"),kHandlePromise=Symbol("handlePromise"),kStream=Symbol("stream");function createIterResult(value2,done){return {value:value2,done}}function readAndResolve(iter){var resolve9=iter[kLastResolve];if(resolve9!==null){var data=iter[kStream].read();data!==null&&(iter[kLastPromise]=null,iter[kLastResolve]=null,iter[kLastReject]=null,resolve9(createIterResult(data,!1)));}}function onReadable(iter){process.nextTick(readAndResolve,iter);}function wrapForNext(lastPromise,iter){return function(resolve9,reject){lastPromise.then(function(){if(iter[kEnded]){resolve9(createIterResult(void 0,!0));return}iter[kHandlePromise](resolve9,reject);},reject);}}var AsyncIteratorPrototype=Object.getPrototypeOf(function(){}),ReadableStreamAsyncIteratorPrototype=Object.setPrototypeOf((_Object$setPrototypeO={get stream(){return this[kStream]},next:function(){var _this=this,error2=this[kError];if(error2!==null)return Promise.reject(error2);if(this[kEnded])return Promise.resolve(createIterResult(void 0,!0));if(this[kStream].destroyed)return new Promise(function(resolve9,reject){process.nextTick(function(){_this[kError]?reject(_this[kError]):resolve9(createIterResult(void 0,!0));});});var lastPromise=this[kLastPromise],promise;if(lastPromise)promise=new Promise(wrapForNext(lastPromise,this));else {var data=this[kStream].read();if(data!==null)return Promise.resolve(createIterResult(data,!1));promise=new Promise(this[kHandlePromise]);}return this[kLastPromise]=promise,promise}},_defineProperty(_Object$setPrototypeO,Symbol.asyncIterator,function(){return this}),_defineProperty(_Object$setPrototypeO,"return",function(){var _this2=this;return new Promise(function(resolve9,reject){_this2[kStream].destroy(null,function(err){if(err){reject(err);return}resolve9(createIterResult(void 0,!0));});})}),_Object$setPrototypeO),AsyncIteratorPrototype),createReadableStreamAsyncIterator=function(stream3){var _Object$create,iterator=Object.create(ReadableStreamAsyncIteratorPrototype,(_Object$create={},_defineProperty(_Object$create,kStream,{value:stream3,writable:!0}),_defineProperty(_Object$create,kLastResolve,{value:null,writable:!0}),_defineProperty(_Object$create,kLastReject,{value:null,writable:!0}),_defineProperty(_Object$create,kError,{value:null,writable:!0}),_defineProperty(_Object$create,kEnded,{value:stream3._readableState.endEmitted,writable:!0}),_defineProperty(_Object$create,kHandlePromise,{value:function(resolve9,reject){var data=iterator[kStream].read();data?(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve9(createIterResult(data,!1))):(iterator[kLastResolve]=resolve9,iterator[kLastReject]=reject);},writable:!0}),_Object$create));return iterator[kLastPromise]=null,finished(stream3,function(err){if(err&&err.code!=="ERR_STREAM_PREMATURE_CLOSE"){var reject=iterator[kLastReject];reject!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,reject(err)),iterator[kError]=err;return}var resolve9=iterator[kLastResolve];resolve9!==null&&(iterator[kLastPromise]=null,iterator[kLastResolve]=null,iterator[kLastReject]=null,resolve9(createIterResult(void 0,!0))),iterator[kEnded]=!0;}),stream3.on("readable",onReadable.bind(null,iterator)),iterator};module2.exports=createReadableStreamAsyncIterator;}});var require_from=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/from.js"(exports,module2){function asyncGeneratorStep(gen,resolve9,reject,_next,_throw,key,arg){try{var info2=gen[key](arg),value2=info2.value;}catch(error2){reject(error2);return}info2.done?resolve9(value2):Promise.resolve(value2).then(_next,_throw);}function _asyncToGenerator(fn5){return function(){var self2=this,args=arguments;return new Promise(function(resolve9,reject){var gen=fn5.apply(self2,args);function _next(value2){asyncGeneratorStep(gen,resolve9,reject,_next,_throw,"next",value2);}function _throw(err){asyncGeneratorStep(gen,resolve9,reject,_next,_throw,"throw",err);}_next(void 0);})}}function ownKeys2(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols);}return keys}function _objectSpread(target){for(var i7=1;i7<arguments.length;i7++){var source=arguments[i7]!=null?arguments[i7]:{};i7%2?ownKeys2(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys2(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}return target}function _defineProperty(obj,key,value2){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value2,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return typeof key=="symbol"?key:String(key)}function _toPrimitive(input,hint){if(typeof input!="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(typeof res!="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return (hint==="string"?String:Number)(input)}var ERR_INVALID_ARG_TYPE=require_errors2().codes.ERR_INVALID_ARG_TYPE;function from(Readable,iterable,opts){var iterator;if(iterable&&typeof iterable.next=="function")iterator=iterable;else if(iterable&&iterable[Symbol.asyncIterator])iterator=iterable[Symbol.asyncIterator]();else if(iterable&&iterable[Symbol.iterator])iterator=iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE("iterable",["Iterable"],iterable);var readable=new Readable(_objectSpread({objectMode:!0},opts)),reading=!1;readable._read=function(){reading||(reading=!0,next());};function next(){return _next2.apply(this,arguments)}function _next2(){return _next2=_asyncToGenerator(function*(){try{var _yield$iterator$next=yield iterator.next(),value2=_yield$iterator$next.value,done=_yield$iterator$next.done;done?readable.push(null):readable.push(yield value2)?next():reading=!1;}catch(err){readable.destroy(err);}}),_next2.apply(this,arguments)}return readable}module2.exports=from;}});var require_stream_readable=__commonJS({"../../node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){module2.exports=Readable;var Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream(),Buffer4=__require("buffer").Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var debugUtil=__require("util"),debug2;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_buffer_list(),destroyImpl=require_destroy(),_require=require_state(),getHighWaterMark=_require.getHighWaterMark,_require$codes=require_errors2().codes,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_STREAM_PUSH_AFTER_EOF=_require$codes.ERR_STREAM_PUSH_AFTER_EOF,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_STREAM_UNSHIFT_AFTER_END_EVENT=_require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,StringDecoder2,createReadableStreamAsyncIterator,from;require_inherits_browser()(Readable,Stream2);var errorOrDestroy=destroyImpl.errorOrDestroy,kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):Array.isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3,isDuplex){Duplex2=Duplex2||require_stream_duplex(),options=options||{},typeof isDuplex!="boolean"&&(isDuplex=stream3 instanceof Duplex2),this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode),this.highWaterMark=getHighWaterMark(this,options,"readableHighWaterMark",isDuplex),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=options.emitClose!==!1,this.autoDestroy=!!options.autoDestroy,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex(),!(this instanceof Readable))return new Readable(options);var isDuplex=this instanceof Duplex2;this._readableState=new ReadableState(options,this,isDuplex),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){debug2("readableAddChunk",chunk);var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;if(skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6)errorOrDestroy(stream3,er6);else if(state.objectMode||chunk&&chunk.length>0)if(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront)state.endEmitted?errorOrDestroy(stream3,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT):addChunk(stream3,state,chunk,!0);else if(state.ended)errorOrDestroy(stream3,new ERR_STREAM_PUSH_AFTER_EOF);else {if(state.destroyed)return !1;state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1);}else addToFront||(state.reading=!1,maybeReadMore(stream3,state));}return !state.ended&&(state.length<state.highWaterMark||state.length===0)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(state.awaitDrain=0,stream3.emit("data",chunk)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer","Uint8Array"],chunk)),er6}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder);var decoder=new StringDecoder2(enc);this._readableState.decoder=decoder,this._readableState.encoding=this._readableState.decoder.encoding;for(var p7=this._readableState.buffer.head,content="";p7!==null;)content+=decoder.write(p7.data),p7=p7.next;return this._readableState.buffer.clear(),content!==""&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var MAX_HWM=1073741824;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=state.length<=state.highWaterMark,n10=0):(state.length-=n10,state.awaitDrain=0),state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(debug2("onEofChunk"),!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,state.sync?emitReadable(stream3):(state.needReadable=!1,state.emittedReadable||(state.emittedReadable=!0,emitReadable_(stream3)));}}function emitReadable(stream3){var state=stream3._readableState;debug2("emitReadable",state.needReadable,state.emittedReadable),state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,process.nextTick(emitReadable_,stream3));}function emitReadable_(stream3){var state=stream3._readableState;debug2("emitReadable_",state.destroyed,state.length,state.ended),!state.destroyed&&(state.length||state.ended)&&(stream3.emit("readable"),state.emittedReadable=!1),state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark,flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,process.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(;!state.reading&&!state.ended&&(state.length<state.highWaterMark||state.flowing&&state.length===0);){var len=state.length;if(debug2("maybeReadMore read 0"),stream3.read(0),len===state.length)break}state.readingMore=!1;}Readable.prototype._read=function(n10){errorOrDestroy(this,new ERR_METHOD_NOT_IMPLEMENTED("_read()"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?process.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}src.on("data",ondata);function ondata(chunk){debug2("ondata");var ret=dest.write(chunk);debug2("dest.write",ret),ret===!1&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&errorOrDestroy(dest,er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5),state=this._readableState;return ev2==="data"?(state.readableListening=this.listenerCount("readable")>0,state.flowing!==!1&&this.resume()):ev2==="readable"&&!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.flowing=!1,state.emittedReadable=!1,debug2("on readable",state.length,state.reading),state.length?emitReadable(this):state.reading||process.nextTick(nReadingNextTick,this)),res};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(ev2,fn5){var res=Stream2.prototype.removeListener.call(this,ev2,fn5);return ev2==="readable"&&process.nextTick(updateReadableListening,this),res};Readable.prototype.removeAllListeners=function(ev2){var res=Stream2.prototype.removeAllListeners.apply(this,arguments);return (ev2==="readable"||ev2===void 0)&&process.nextTick(updateReadableListening,this),res};function updateReadableListening(self2){var state=self2._readableState;state.readableListening=self2.listenerCount("readable")>0,state.resumeScheduled&&!state.paused?state.flowing=!0:self2.listenerCount("data")>0&&self2.resume();}function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!state.readableListening,resume(this,state)),state.paused=!1,this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,process.nextTick(resume_,stream3,state));}function resume_(stream3,state){debug2("resume",state.reading),state.reading||stream3.read(0),state.resumeScheduled=!1,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};typeof Symbol=="function"&&(Readable.prototype[Symbol.asyncIterator]=function(){return createReadableStreamAsyncIterator===void 0&&(createReadableStreamAsyncIterator=require_async_iterator()),createReadableStreamAsyncIterator(this)});Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(state){this._readableState&&(this._readableState.flowing=state);}});Readable._fromList=fromList;Object.defineProperty(Readable.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.first():ret=state.buffer.concat(state.length),state.buffer.clear()):ret=state.buffer.consume(n10,state.decoder),ret}function endReadable(stream3){var state=stream3._readableState;debug2("endReadable",state.endEmitted),state.endEmitted||(state.ended=!0,process.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){if(debug2("endReadableNT",state.endEmitted,state.length),!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"),state.autoDestroy)){var wState=stream3._writableState;(!wState||wState.autoDestroy&&wState.finished)&&stream3.destroy();}}typeof Symbol=="function"&&(Readable.from=function(iterable,opts){return from===void 0&&(from=require_from()),from(Readable,iterable,opts)});function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform=__commonJS({"../../node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var _require$codes=require_errors2().codes,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes.ERR_TRANSFORM_WITH_LENGTH_0,Duplex2=require_stream_duplex();require_inherits_browser()(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(cb3===null)return this.emit("error",new ERR_MULTIPLE_CALLBACK);ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){cb3(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"));};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2);});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(stream3._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return stream3.push(null)}}});var require_stream_passthrough=__commonJS({"../../node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform();require_inherits_browser()(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_pipeline=__commonJS({"../../node_modules/readable-stream/lib/internal/streams/pipeline.js"(exports,module2){var eos;function once2(callback){var called=!1;return function(){called||(called=!0,callback.apply(void 0,arguments));}}var _require$codes=require_errors2().codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop3(err){if(err)throw err}function isRequest2(stream3){return stream3.setHeader&&typeof stream3.abort=="function"}function destroyer(stream3,reading,writing,callback){callback=once2(callback);var closed=!1;stream3.on("close",function(){closed=!0;}),eos===void 0&&(eos=require_end_of_stream2()),eos(stream3,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback();});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isRequest2(stream3))return stream3.abort();if(typeof stream3.destroy=="function")return stream3.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"));}}}function call(fn5){fn5();}function pipe2(from,to6){return from.pipe(to6)}function popCallback(streams){return !streams.length||typeof streams[streams.length-1]!="function"?noop3:streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++)streams[_key]=arguments[_key];var callback=popCallback(streams);if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new ERR_MISSING_ARGS("streams");var error2,destroys=streams.map(function(stream3,i7){var reading=i7<streams.length-1,writing=i7>0;return destroyer(stream3,reading,writing,function(err){error2||(error2=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error2));})});return streams.reduce(pipe2)}module2.exports=pipeline;}});var require_readable=__commonJS({"../../node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2.Readable,Object.assign(module2.exports,Stream2),module2.exports.Stream=Stream2):(exports=module2.exports=require_stream_readable(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable(),exports.Duplex=require_stream_duplex(),exports.Transform=require_stream_transform(),exports.PassThrough=require_stream_passthrough(),exports.finished=require_end_of_stream2(),exports.pipeline=require_pipeline());}});var require_BufferList=__commonJS({"../../node_modules/bl/BufferList.js"(exports,module2){var{Buffer:Buffer4}=__require("buffer"),symbol=Symbol.for("BufferList");function BufferList(buf){if(!(this instanceof BufferList))return new BufferList(buf);BufferList._init.call(this,buf);}BufferList._init=function(buf){Object.defineProperty(this,symbol,{value:!0}),this._bufs=[],this.length=0,buf&&this.append(buf);};BufferList.prototype._new=function(buf){return new BufferList(buf)};BufferList.prototype._offset=function(offset){if(offset===0)return [0,0];let tot=0;for(let i7=0;i7<this._bufs.length;i7++){let _t7=tot+this._bufs[i7].length;if(offset<_t7||i7===this._bufs.length-1)return [i7,offset-tot];tot=_t7;}};BufferList.prototype._reverseOffset=function(blOffset){let bufferId=blOffset[0],offset=blOffset[1];for(let i7=0;i7<bufferId;i7++)offset+=this._bufs[i7].length;return offset};BufferList.prototype.get=function(index){if(index>this.length||index<0)return;let offset=this._offset(index);return this._bufs[offset[0]][offset[1]]};BufferList.prototype.slice=function(start,end){return typeof start=="number"&&start<0&&(start+=this.length),typeof end=="number"&&end<0&&(end+=this.length),this.copy(null,0,start,end)};BufferList.prototype.copy=function(dst,dstStart,srcStart,srcEnd){if((typeof srcStart!="number"||srcStart<0)&&(srcStart=0),(typeof srcEnd!="number"||srcEnd>this.length)&&(srcEnd=this.length),srcStart>=this.length||srcEnd<=0)return dst||Buffer4.alloc(0);let copy2=!!dst,off=this._offset(srcStart),len=srcEnd-srcStart,bytes=len,bufoff=copy2&&dstStart||0,start=off[1];if(srcStart===0&&srcEnd===this.length){if(!copy2)return this._bufs.length===1?this._bufs[0]:Buffer4.concat(this._bufs,this.length);for(let i7=0;i7<this._bufs.length;i7++)this._bufs[i7].copy(dst,bufoff),bufoff+=this._bufs[i7].length;return dst}if(bytes<=this._bufs[off[0]].length-start)return copy2?this._bufs[off[0]].copy(dst,dstStart,start,start+bytes):this._bufs[off[0]].slice(start,start+bytes);copy2||(dst=Buffer4.allocUnsafe(len));for(let i7=off[0];i7<this._bufs.length;i7++){let l7=this._bufs[i7].length-start;if(bytes>l7)this._bufs[i7].copy(dst,bufoff,start),bufoff+=l7;else {this._bufs[i7].copy(dst,bufoff,start,start+bytes),bufoff+=l7;break}bytes-=l7,start&&(start=0);}return dst.length>bufoff?dst.slice(0,bufoff):dst};BufferList.prototype.shallowSlice=function(start,end){if(start=start||0,end=typeof end!="number"?this.length:end,start<0&&(start+=this.length),end<0&&(end+=this.length),start===end)return this._new();let startOffset=this._offset(start),endOffset=this._offset(end),buffers=this._bufs.slice(startOffset[0],endOffset[0]+1);return endOffset[1]===0?buffers.pop():buffers[buffers.length-1]=buffers[buffers.length-1].slice(0,endOffset[1]),startOffset[1]!==0&&(buffers[0]=buffers[0].slice(startOffset[1])),this._new(buffers)};BufferList.prototype.toString=function(encoding,start,end){return this.slice(start,end).toString(encoding)};BufferList.prototype.consume=function(bytes){if(bytes=Math.trunc(bytes),Number.isNaN(bytes)||bytes<=0)return this;for(;this._bufs.length;)if(bytes>=this._bufs[0].length)bytes-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else {this._bufs[0]=this._bufs[0].slice(bytes),this.length-=bytes;break}return this};BufferList.prototype.duplicate=function(){let copy=this._new();for(let i7=0;i7<this._bufs.length;i7++)copy.append(this._bufs[i7]);return copy};BufferList.prototype.append=function(buf){if(buf==null)return this;if(buf.buffer)this._appendBuffer(Buffer4.from(buf.buffer,buf.byteOffset,buf.byteLength));else if(Array.isArray(buf))for(let i7=0;i7<buf.length;i7++)this.append(buf[i7]);else if(this._isBufferList(buf))for(let i7=0;i7<buf._bufs.length;i7++)this.append(buf._bufs[i7]);else typeof buf=="number"&&(buf=buf.toString()),this._appendBuffer(Buffer4.from(buf));return this};BufferList.prototype._appendBuffer=function(buf){this._bufs.push(buf),this.length+=buf.length;};BufferList.prototype.indexOf=function(search,offset,encoding){if(encoding===void 0&&typeof offset=="string"&&(encoding=offset,offset=void 0),typeof search=="function"||Array.isArray(search))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof search=="number"?search=Buffer4.from([search]):typeof search=="string"?search=Buffer4.from(search,encoding):this._isBufferList(search)?search=search.slice():Array.isArray(search.buffer)?search=Buffer4.from(search.buffer,search.byteOffset,search.byteLength):Buffer4.isBuffer(search)||(search=Buffer4.from(search)),offset=Number(offset||0),isNaN(offset)&&(offset=0),offset<0&&(offset=this.length+offset),offset<0&&(offset=0),search.length===0)return offset>this.length?this.length:offset;let blOffset=this._offset(offset),blIndex=blOffset[0],buffOffset=blOffset[1];for(;blIndex<this._bufs.length;blIndex++){let buff=this._bufs[blIndex];for(;buffOffset<buff.length;)if(buff.length-buffOffset>=search.length){let nativeSearchResult=buff.indexOf(search,buffOffset);if(nativeSearchResult!==-1)return this._reverseOffset([blIndex,nativeSearchResult]);buffOffset=buff.length-search.length+1;}else {let revOffset=this._reverseOffset([blIndex,buffOffset]);if(this._match(revOffset,search))return revOffset;buffOffset++;}buffOffset=0;}return -1};BufferList.prototype._match=function(offset,search){if(this.length-offset<search.length)return !1;for(let searchOffset=0;searchOffset<search.length;searchOffset++)if(this.get(offset+searchOffset)!==search[searchOffset])return !1;return !0};(function(){let methods={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let m7 in methods)(function(m8){methods[m8]===null?BufferList.prototype[m8]=function(offset,byteLength){return this.slice(offset,offset+byteLength)[m8](0,byteLength)}:BufferList.prototype[m8]=function(offset=0){return this.slice(offset,offset+methods[m8])[m8](0)};})(m7);})();BufferList.prototype._isBufferList=function(b8){return b8 instanceof BufferList||BufferList.isBufferList(b8)};BufferList.isBufferList=function(b8){return b8!=null&&b8[symbol]};module2.exports=BufferList;}});var require_bl=__commonJS({"../../node_modules/bl/bl.js"(exports,module2){var DuplexStream=require_readable().Duplex,inherits=require_inherits_browser(),BufferList=require_BufferList();function BufferListStream(callback){if(!(this instanceof BufferListStream))return new BufferListStream(callback);if(typeof callback=="function"){this._callback=callback;let piper=function(err){this._callback&&(this._callback(err),this._callback=null);}.bind(this);this.on("pipe",function(src){src.on("error",piper);}),this.on("unpipe",function(src){src.removeListener("error",piper);}),callback=null;}BufferList._init.call(this,callback),DuplexStream.call(this);}inherits(BufferListStream,DuplexStream);Object.assign(BufferListStream.prototype,BufferList.prototype);BufferListStream.prototype._new=function(callback){return new BufferListStream(callback)};BufferListStream.prototype._write=function(buf,encoding,callback){this._appendBuffer(buf),typeof callback=="function"&&callback();};BufferListStream.prototype._read=function(size){if(!this.length)return this.push(null);size=Math.min(size,this.length),this.push(this.slice(0,size)),this.consume(size);};BufferListStream.prototype.end=function(chunk){DuplexStream.prototype.end.call(this,chunk),this._callback&&(this._callback(null,this.slice()),this._callback=null);};BufferListStream.prototype._destroy=function(err,cb3){this._bufs.length=0,this.length=0,cb3(err);};BufferListStream.prototype._isBufferList=function(b8){return b8 instanceof BufferListStream||b8 instanceof BufferList||BufferListStream.isBufferList(b8)};BufferListStream.isBufferList=BufferList.isBufferList;module2.exports=BufferListStream;module2.exports.BufferListStream=BufferListStream;module2.exports.BufferList=BufferList;}});var require_headers=__commonJS({"../../node_modules/tar-stream/headers.js"(exports){var alloc=Buffer.alloc,ZEROS="0000000000000000000",SEVENS="7777777777777777777",ZERO_OFFSET=48,USTAR_MAGIC=Buffer.from("ustar\0","binary"),USTAR_VER=Buffer.from("00","binary"),GNU_MAGIC=Buffer.from("ustar ","binary"),GNU_VER=Buffer.from(" \0","binary"),MASK=parseInt("7777",8),MAGIC_OFFSET=257,VERSION_OFFSET=263,clamp=function(index,len,defaultValue){return typeof index!="number"?defaultValue:(index=~~index,index>=len?len:index>=0||(index+=len,index>=0)?index:0)},toType=function(flag){switch(flag){case 0:return "file";case 1:return "link";case 2:return "symlink";case 3:return "character-device";case 4:return "block-device";case 5:return "directory";case 6:return "fifo";case 7:return "contiguous-file";case 72:return "pax-header";case 55:return "pax-global-header";case 27:return "gnu-long-link-path";case 28:case 30:return "gnu-long-path"}return null},toTypeflag=function(flag){switch(flag){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},indexOf=function(block,num,offset,end){for(;offset<end;offset++)if(block[offset]===num)return offset;return end},cksum=function(block){for(var sum=256,i7=0;i7<148;i7++)sum+=block[i7];for(var j12=156;j12<512;j12++)sum+=block[j12];return sum},encodeOct=function(val,n10){return val=val.toString(8),val.length>n10?SEVENS.slice(0,n10)+" ":ZEROS.slice(0,n10-val.length)+val+" "};function parse256(buf){var positive;if(buf[0]===128)positive=!0;else if(buf[0]===255)positive=!1;else return null;for(var tuple=[],i7=buf.length-1;i7>0;i7--){var byte=buf[i7];positive?tuple.push(byte):tuple.push(255-byte);}var sum=0,l7=tuple.length;for(i7=0;i7<l7;i7++)sum+=tuple[i7]*Math.pow(256,i7);return positive?sum:-1*sum}var decodeOct=function(val,offset,length){if(val=val.slice(offset,offset+length),offset=0,val[offset]&128)return parse256(val);for(;offset<val.length&&val[offset]===32;)offset++;for(var end=clamp(indexOf(val,32,offset,val.length),val.length,val.length);offset<end&&val[offset]===0;)offset++;return end===offset?0:parseInt(val.slice(offset,end).toString(),8)},decodeStr=function(val,offset,length,encoding){return val.slice(offset,indexOf(val,0,offset,offset+length)).toString(encoding)},addLength=function(str){var len=Buffer.byteLength(str),digits=Math.floor(Math.log(len)/Math.log(10))+1;return len+digits>=Math.pow(10,digits)&&digits++,len+digits+str};exports.decodeLongPath=function(buf,encoding){return decodeStr(buf,0,buf.length,encoding)};exports.encodePax=function(opts){var result="";opts.name&&(result+=addLength(" path="+opts.name+`
669
670
  `)),opts.linkname&&(result+=addLength(" linkpath="+opts.linkname+`
670
671
  `));var pax=opts.pax;if(pax)for(var key in pax)result+=addLength(" "+key+"="+pax[key]+`
671
- `);return Buffer.from(result)};exports.decodePax=function(buf){for(var result={};buf.length;){for(var i7=0;i7<buf.length&&buf[i7]!==32;)i7++;var len=parseInt(buf.slice(0,i7).toString(),10);if(!len)return result;var b8=buf.slice(i7+1,len-1).toString(),keyIndex=b8.indexOf("=");if(keyIndex===-1)return result;result[b8.slice(0,keyIndex)]=b8.slice(keyIndex+1),buf=buf.slice(len);}return result};exports.encode=function(opts){var buf=alloc(512),name=opts.name,prefix2="";if(opts.typeflag===5&&name[name.length-1]!=="/"&&(name+="/"),Buffer.byteLength(name)!==name.length)return null;for(;Buffer.byteLength(name)>100;){var i7=name.indexOf("/");if(i7===-1)return null;prefix2+=prefix2?"/"+name.slice(0,i7):name.slice(0,i7),name=name.slice(i7+1);}return Buffer.byteLength(name)>100||Buffer.byteLength(prefix2)>155||opts.linkname&&Buffer.byteLength(opts.linkname)>100?null:(buf.write(name),buf.write(encodeOct(opts.mode&MASK,6),100),buf.write(encodeOct(opts.uid,6),108),buf.write(encodeOct(opts.gid,6),116),buf.write(encodeOct(opts.size,11),124),buf.write(encodeOct(opts.mtime.getTime()/1e3|0,11),136),buf[156]=ZERO_OFFSET+toTypeflag(opts.type),opts.linkname&&buf.write(opts.linkname,157),USTAR_MAGIC.copy(buf,MAGIC_OFFSET),USTAR_VER.copy(buf,VERSION_OFFSET),opts.uname&&buf.write(opts.uname,265),opts.gname&&buf.write(opts.gname,297),buf.write(encodeOct(opts.devmajor||0,6),329),buf.write(encodeOct(opts.devminor||0,6),337),prefix2&&buf.write(prefix2,345),buf.write(encodeOct(cksum(buf),6),148),buf)};exports.decode=function(buf,filenameEncoding,allowUnknownFormat){var typeflag=buf[156]===0?0:buf[156]-ZERO_OFFSET,name=decodeStr(buf,0,100,filenameEncoding),mode=decodeOct(buf,100,8),uid=decodeOct(buf,108,8),gid=decodeOct(buf,116,8),size=decodeOct(buf,124,12),mtime=decodeOct(buf,136,12),type=toType(typeflag),linkname=buf[157]===0?null:decodeStr(buf,157,100,filenameEncoding),uname=decodeStr(buf,265,32),gname=decodeStr(buf,297,32),devmajor=decodeOct(buf,329,8),devminor=decodeOct(buf,337,8),c10=cksum(buf);if(c10===8*32)return null;if(c10!==decodeOct(buf,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(USTAR_MAGIC.compare(buf,MAGIC_OFFSET,MAGIC_OFFSET+6)===0)buf[345]&&(name=decodeStr(buf,345,155,filenameEncoding)+"/"+name);else if(!(GNU_MAGIC.compare(buf,MAGIC_OFFSET,MAGIC_OFFSET+6)===0&&GNU_VER.compare(buf,VERSION_OFFSET,VERSION_OFFSET+2)===0)){if(!allowUnknownFormat)throw new Error("Invalid tar header: unknown format.")}return typeflag===0&&name&&name[name.length-1]==="/"&&(typeflag=5),{name,mode,uid,gid,size,mtime:new Date(1e3*mtime),type,linkname,uname,gname,devmajor,devminor}};}});var require_extract=__commonJS({"../../node_modules/tar-stream/extract.js"(exports,module2){var util2=__require("util"),bl2=require_bl(),headers=require_headers(),Writable=require_readable().Writable,PassThrough=require_readable().PassThrough,noop3=function(){},overflow=function(size){return size&=511,size&&512-size},emptyStream=function(self2,offset){var s10=new Source(self2,offset);return s10.end(),s10},mixinPax=function(header,pax){return pax.path&&(header.name=pax.path),pax.linkpath&&(header.linkname=pax.linkpath),pax.size&&(header.size=parseInt(pax.size,10)),header.pax=pax,header},Source=function(self2,offset){this._parent=self2,this.offset=offset,PassThrough.call(this,{autoDestroy:!1});};util2.inherits(Source,PassThrough);Source.prototype.destroy=function(err){this._parent.destroy(err);};var Extract=function(opts){if(!(this instanceof Extract))return new Extract(opts);Writable.call(this,opts),opts=opts||{},this._offset=0,this._buffer=bl2(),this._missing=0,this._partial=!1,this._onparse=noop3,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var self2=this,b8=self2._buffer,oncontinue=function(){self2._continue();},onunlock=function(err){if(self2._locked=!1,err)return self2.destroy(err);self2._stream||oncontinue();},onstreamend=function(){self2._stream=null;var drain=overflow(self2._header.size);drain?self2._parse(drain,ondrain):self2._parse(512,onheader),self2._locked||oncontinue();},ondrain=function(){self2._buffer.consume(overflow(self2._header.size)),self2._parse(512,onheader),oncontinue();},onpaxglobalheader=function(){var size=self2._header.size;self2._paxGlobal=headers.decodePax(b8.slice(0,size)),b8.consume(size),onstreamend();},onpaxheader=function(){var size=self2._header.size;self2._pax=headers.decodePax(b8.slice(0,size)),self2._paxGlobal&&(self2._pax=Object.assign({},self2._paxGlobal,self2._pax)),b8.consume(size),onstreamend();},ongnulongpath=function(){var size=self2._header.size;this._gnuLongPath=headers.decodeLongPath(b8.slice(0,size),opts.filenameEncoding),b8.consume(size),onstreamend();},ongnulonglinkpath=function(){var size=self2._header.size;this._gnuLongLinkPath=headers.decodeLongPath(b8.slice(0,size),opts.filenameEncoding),b8.consume(size),onstreamend();},onheader=function(){var offset=self2._offset,header;try{header=self2._header=headers.decode(b8.slice(0,512),opts.filenameEncoding,opts.allowUnknownFormat);}catch(err){self2.emit("error",err);}if(b8.consume(512),!header){self2._parse(512,onheader),oncontinue();return}if(header.type==="gnu-long-path"){self2._parse(header.size,ongnulongpath),oncontinue();return}if(header.type==="gnu-long-link-path"){self2._parse(header.size,ongnulonglinkpath),oncontinue();return}if(header.type==="pax-global-header"){self2._parse(header.size,onpaxglobalheader),oncontinue();return}if(header.type==="pax-header"){self2._parse(header.size,onpaxheader),oncontinue();return}if(self2._gnuLongPath&&(header.name=self2._gnuLongPath,self2._gnuLongPath=null),self2._gnuLongLinkPath&&(header.linkname=self2._gnuLongLinkPath,self2._gnuLongLinkPath=null),self2._pax&&(self2._header=header=mixinPax(header,self2._pax),self2._pax=null),self2._locked=!0,!header.size||header.type==="directory"){self2._parse(512,onheader),self2.emit("entry",header,emptyStream(self2,offset),onunlock);return}self2._stream=new Source(self2,offset),self2.emit("entry",header,self2._stream,onunlock),self2._parse(header.size,onstreamend),oncontinue();};this._onheader=onheader,this._parse(512,onheader);};util2.inherits(Extract,Writable);Extract.prototype.destroy=function(err){this._destroyed||(this._destroyed=!0,err&&this.emit("error",err),this.emit("close"),this._stream&&this._stream.emit("close"));};Extract.prototype._parse=function(size,onparse){this._destroyed||(this._offset+=size,this._missing=size,onparse===this._onheader&&(this._partial=!1),this._onparse=onparse);};Extract.prototype._continue=function(){if(!this._destroyed){var cb3=this._cb;this._cb=noop3,this._overflow?this._write(this._overflow,void 0,cb3):cb3();}};Extract.prototype._write=function(data,enc,cb3){if(!this._destroyed){var s10=this._stream,b8=this._buffer,missing=this._missing;if(data.length&&(this._partial=!0),data.length<missing)return this._missing-=data.length,this._overflow=null,s10?s10.write(data,cb3):(b8.append(data),cb3());this._cb=cb3,this._missing=0;var overflow2=null;data.length>missing&&(overflow2=data.slice(missing),data=data.slice(0,missing)),s10?s10.end(data):b8.append(data),this._overflow=overflow2,this._onparse();}};Extract.prototype._final=function(cb3){if(this._partial)return this.destroy(new Error("Unexpected end of data"));cb3();};module2.exports=Extract;}});var require_browser3=__commonJS({"../../node_modules/fs-constants/browser.js"(exports,module2){module2.exports=__require("constants");}});var require_pack=__commonJS({"../../node_modules/tar-stream/pack.js"(exports,module2){var constants3=require_browser3(),eos=require_end_of_stream(),inherits=require_inherits_browser(),alloc=Buffer.alloc,Readable=require_readable().Readable,Writable=require_readable().Writable,StringDecoder2=__require("string_decoder").StringDecoder,headers=require_headers(),DMODE=parseInt("755",8),FMODE=parseInt("644",8),END_OF_TAR=alloc(1024),noop3=function(){},overflow=function(self2,size){size&=511,size&&self2.push(END_OF_TAR.slice(0,512-size));};function modeToType(mode){switch(mode&constants3.S_IFMT){case constants3.S_IFBLK:return "block-device";case constants3.S_IFCHR:return "character-device";case constants3.S_IFDIR:return "directory";case constants3.S_IFIFO:return "fifo";case constants3.S_IFLNK:return "symlink"}return "file"}var Sink=function(to6){Writable.call(this),this.written=0,this._to=to6,this._destroyed=!1;};inherits(Sink,Writable);Sink.prototype._write=function(data,enc,cb3){if(this.written+=data.length,this._to.push(data))return cb3();this._to._drain=cb3;};Sink.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var LinkSink=function(){Writable.call(this),this.linkname="",this._decoder=new StringDecoder2("utf-8"),this._destroyed=!1;};inherits(LinkSink,Writable);LinkSink.prototype._write=function(data,enc,cb3){this.linkname+=this._decoder.write(data),cb3();};LinkSink.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var Void=function(){Writable.call(this),this._destroyed=!1;};inherits(Void,Writable);Void.prototype._write=function(data,enc,cb3){cb3(new Error("No body allowed for this entry"));};Void.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var Pack=function(opts){if(!(this instanceof Pack))return new Pack(opts);Readable.call(this,opts),this._drain=noop3,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null;};inherits(Pack,Readable);Pack.prototype.entry=function(header,buffer,callback){if(this._stream)throw new Error("already piping an entry");if(!(this._finalized||this._destroyed)){typeof buffer=="function"&&(callback=buffer,buffer=null),callback||(callback=noop3);var self2=this;if((!header.size||header.type==="symlink")&&(header.size=0),header.type||(header.type=modeToType(header.mode)),header.mode||(header.mode=header.type==="directory"?DMODE:FMODE),header.uid||(header.uid=0),header.gid||(header.gid=0),header.mtime||(header.mtime=new Date),typeof buffer=="string"&&(buffer=Buffer.from(buffer)),Buffer.isBuffer(buffer)){header.size=buffer.length,this._encode(header);var ok3=this.push(buffer);return overflow(self2,header.size),ok3?process.nextTick(callback):this._drain=callback,new Void}if(header.type==="symlink"&&!header.linkname){var linkSink=new LinkSink;return eos(linkSink,function(err){if(err)return self2.destroy(),callback(err);header.linkname=linkSink.linkname,self2._encode(header),callback();}),linkSink}if(this._encode(header),header.type!=="file"&&header.type!=="contiguous-file")return process.nextTick(callback),new Void;var sink=new Sink(this);return this._stream=sink,eos(sink,function(err){if(self2._stream=null,err)return self2.destroy(),callback(err);if(sink.written!==header.size)return self2.destroy(),callback(new Error("size mismatch"));overflow(self2,header.size),self2._finalizing&&self2.finalize(),callback();}),sink}};Pack.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(END_OF_TAR),this.push(null));};Pack.prototype.destroy=function(err){this._destroyed||(this._destroyed=!0,err&&this.emit("error",err),this.emit("close"),this._stream&&this._stream.destroy&&this._stream.destroy());};Pack.prototype._encode=function(header){if(!header.pax){var buf=headers.encode(header);if(buf){this.push(buf);return}}this._encodePax(header);};Pack.prototype._encodePax=function(header){var paxHeader=headers.encodePax({name:header.name,linkname:header.linkname,pax:header.pax}),newHeader={name:"PaxHeader",mode:header.mode,uid:header.uid,gid:header.gid,size:paxHeader.length,mtime:header.mtime,type:"pax-header",linkname:header.linkname&&"PaxHeader",uname:header.uname,gname:header.gname,devmajor:header.devmajor,devminor:header.devminor};this.push(headers.encode(newHeader)),this.push(paxHeader),overflow(this,paxHeader.length),newHeader.size=header.size,newHeader.type=header.type,this.push(headers.encode(newHeader));};Pack.prototype._read=function(n10){var drain=this._drain;this._drain=noop3,drain();};module2.exports=Pack;}});var require_tar_stream=__commonJS({"../../node_modules/tar-stream/index.js"(exports){exports.extract=require_extract();exports.pack=require_pack();}});var require_mkdirp_classic=__commonJS({"../../node_modules/mkdirp-classic/index.js"(exports,module2){var path12=__require("path"),fs13=__require("fs"),_0777=parseInt("0777",8);module2.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(p7,opts,f11,made){typeof opts=="function"?(f11=opts,opts={}):(!opts||typeof opts!="object")&&(opts={mode:opts});var mode=opts.mode,xfs=opts.fs||fs13;mode===void 0&&(mode=_0777&~process.umask()),made||(made=null);var cb3=f11||function(){};p7=path12.resolve(p7),xfs.mkdir(p7,mode,function(er6){if(!er6)return made=made||p7,cb3(null,made);switch(er6.code){case"ENOENT":mkdirP(path12.dirname(p7),opts,function(er7,made2){er7?cb3(er7,made2):mkdirP(p7,opts,cb3,made2);});break;default:xfs.stat(p7,function(er22,stat3){er22||!stat3.isDirectory()?cb3(er6,made):cb3(null,made);});break}});}mkdirP.sync=function sync2(p7,opts,made){(!opts||typeof opts!="object")&&(opts={mode:opts});var mode=opts.mode,xfs=opts.fs||fs13;mode===void 0&&(mode=_0777&~process.umask()),made||(made=null),p7=path12.resolve(p7);try{xfs.mkdirSync(p7,mode),made=made||p7;}catch(err0){switch(err0.code){case"ENOENT":made=sync2(path12.dirname(p7),opts,made),sync2(p7,opts,made);break;default:var stat3;try{stat3=xfs.statSync(p7);}catch{throw err0}if(!stat3.isDirectory())throw err0;break}}return made};}});var require_tar_fs=__commonJS({"../../node_modules/tar-fs/index.js"(exports){var chownr=require_chownr(),tar=require_tar_stream(),pump=require_pump(),mkdirp=require_mkdirp_classic(),fs13=__require("fs"),path12=__require("path"),os8=__require("os"),win322=os8.platform()==="win32",noop3=function(){},echo=function(name){return name},normalize3=win322?function(name){return name.replace(/\\/g,"/").replace(/[:?<>|]/g,"_")}:echo,statAll=function(fs14,stat3,cwd2,ignore,entries2,sort3){var queue=entries2||["."];return function(callback){if(!queue.length)return callback();var next=queue.shift(),nextAbs=path12.join(cwd2,next);stat3.call(fs14,nextAbs,function(err,stat4){if(err)return callback(err);if(!stat4.isDirectory())return callback(null,next,stat4);fs14.readdir(nextAbs,function(err2,files){if(err2)return callback(err2);sort3&&files.sort();for(var i7=0;i7<files.length;i7++)ignore(path12.join(cwd2,next,files[i7]))||queue.push(path12.join(next,files[i7]));callback(null,next,stat4);});});}},strip=function(map,level){return function(header){header.name=header.name.split("/").slice(level).join("/");var linkname=header.linkname;return linkname&&(header.type==="link"||path12.isAbsolute(linkname))&&(header.linkname=linkname.split("/").slice(level).join("/")),map(header)}};exports.pack=function(cwd2,opts){cwd2||(cwd2="."),opts||(opts={});var xfs=opts.fs||fs13,ignore=opts.ignore||opts.filter||noop3,map=opts.map||noop3,mapStream=opts.mapStream||echo,statNext=statAll(xfs,opts.dereference?xfs.stat:xfs.lstat,cwd2,ignore,opts.entries,opts.sort),strict=opts.strict!==!1,umask=typeof opts.umask=="number"?~opts.umask:~processUmask(),dmode=typeof opts.dmode=="number"?opts.dmode:0,fmode=typeof opts.fmode=="number"?opts.fmode:0,pack=opts.pack||tar.pack(),finish=opts.finish||noop3;opts.strip&&(map=strip(map,opts.strip)),opts.readable&&(dmode|=parseInt(555,8),fmode|=parseInt(444,8)),opts.writable&&(dmode|=parseInt(333,8),fmode|=parseInt(222,8));var onsymlink=function(filename,header){xfs.readlink(path12.join(cwd2,filename),function(err,linkname){if(err)return pack.destroy(err);header.linkname=normalize3(linkname),pack.entry(header,onnextentry);});},onstat=function(err,filename,stat3){if(err)return pack.destroy(err);if(!filename)return opts.finalize!==!1&&pack.finalize(),finish(pack);if(stat3.isSocket())return onnextentry();var header={name:normalize3(filename),mode:(stat3.mode|(stat3.isDirectory()?dmode:fmode))&umask,mtime:stat3.mtime,size:stat3.size,type:"file",uid:stat3.uid,gid:stat3.gid};if(stat3.isDirectory())return header.size=0,header.type="directory",header=map(header)||header,pack.entry(header,onnextentry);if(stat3.isSymbolicLink())return header.size=0,header.type="symlink",header=map(header)||header,onsymlink(filename,header);if(header=map(header)||header,!stat3.isFile())return strict?pack.destroy(new Error("unsupported type for "+filename)):onnextentry();var entry=pack.entry(header,onnextentry);if(entry){var rs3=mapStream(xfs.createReadStream(path12.join(cwd2,filename),{start:0,end:header.size>0?header.size-1:header.size}),header);rs3.on("error",function(err2){entry.destroy(err2);}),pump(rs3,entry);}},onnextentry=function(err){if(err)return pack.destroy(err);statNext(onstat);};return onnextentry(),pack};var head=function(list){return list.length?list[list.length-1]:null},processGetuid=function(){return process.getuid?process.getuid():-1},processUmask=function(){return process.umask?process.umask():0};exports.extract=function(cwd2,opts){cwd2||(cwd2="."),opts||(opts={});var xfs=opts.fs||fs13,ignore=opts.ignore||opts.filter||noop3,map=opts.map||noop3,mapStream=opts.mapStream||echo,own=opts.chown!==!1&&!win322&&processGetuid()===0,extract2=opts.extract||tar.extract(),stack=[],now=new Date,umask=typeof opts.umask=="number"?~opts.umask:~processUmask(),dmode=typeof opts.dmode=="number"?opts.dmode:0,fmode=typeof opts.fmode=="number"?opts.fmode:0,strict=opts.strict!==!1;opts.strip&&(map=strip(map,opts.strip)),opts.readable&&(dmode|=parseInt(555,8),fmode|=parseInt(444,8)),opts.writable&&(dmode|=parseInt(333,8),fmode|=parseInt(222,8));var utimesParent=function(name,cb3){for(var top;(top=head(stack))&&name.slice(0,top[0].length)!==top[0];)stack.pop();if(!top)return cb3();xfs.utimes(top[0],now,top[1],cb3);},utimes=function(name,header,cb3){if(opts.utimes===!1)return cb3();if(header.type==="directory")return xfs.utimes(name,now,header.mtime,cb3);if(header.type==="symlink")return utimesParent(name,cb3);xfs.utimes(name,now,header.mtime,function(err){if(err)return cb3(err);utimesParent(name,cb3);});},chperm=function(name,header,cb3){var link=header.type==="symlink",chmod=link?xfs.lchmod:xfs.chmod,chown=link?xfs.lchown:xfs.chown;if(!chmod)return cb3();var mode=(header.mode|(header.type==="directory"?dmode:fmode))&umask;chown&&own?chown.call(xfs,name,header.uid,header.gid,onchown):onchown(null);function onchown(err){if(err)return cb3(err);if(!chmod)return cb3();chmod.call(xfs,name,mode,cb3);}};return extract2.on("entry",function(header,stream3,next){header=map(header)||header,header.name=normalize3(header.name);var name=path12.join(cwd2,path12.join("/",header.name));if(ignore(name,header))return stream3.resume(),next();var stat3=function(err){if(err)return next(err);utimes(name,header,function(err2){if(err2)return next(err2);if(win322)return next();chperm(name,header,next);});},onsymlink=function(){if(win322)return next();xfs.unlink(name,function(){var dst=path12.resolve(path12.dirname(name),header.linkname);if(!dst.startsWith(path12.resolve(cwd2)))return next(new Error(name+" is not a valid symlink"));xfs.symlink(header.linkname,name,stat3);});},onlink=function(){if(win322)return next();xfs.unlink(name,function(){var srcpath=path12.join(cwd2,path12.join("/",header.linkname));xfs.link(srcpath,name,function(err){if(err&&err.code==="EPERM"&&opts.hardlinkAsFilesFallback)return stream3=xfs.createReadStream(srcpath),onfile();stat3(err);});});},onfile=function(){var ws3=xfs.createWriteStream(name),rs3=mapStream(stream3,header);ws3.on("error",function(err){rs3.destroy(err);}),pump(rs3,ws3,function(err){if(err)return next(err);ws3.on("close",stat3);});};if(header.type==="directory")return stack.push([name,header.mtime]),mkdirfix(name,{fs:xfs,own,uid:header.uid,gid:header.gid},stat3);var dir=path12.dirname(name);validate(xfs,dir,path12.join(cwd2,"."),function(err,valid){if(err)return next(err);if(!valid)return next(new Error(dir+" is not a valid path"));mkdirfix(dir,{fs:xfs,own,uid:header.uid,gid:header.gid},function(err2){if(err2)return next(err2);switch(header.type){case"file":return onfile();case"link":return onlink();case"symlink":return onsymlink()}if(strict)return next(new Error("unsupported type for "+name+" ("+header.type+")"));stream3.resume(),next();});});}),opts.finish&&extract2.on("finish",opts.finish),extract2};function validate(fs14,name,root,cb3){if(name===root)return cb3(null,!0);fs14.lstat(name,function(err,st9){if(err&&err.code!=="ENOENT")return cb3(err);if(err||st9.isDirectory())return validate(fs14,path12.join(name,".."),root,cb3);cb3(null,!1);});}function mkdirfix(name,opts,cb3){mkdirp(name,{fs:opts.fs},function(err,made){!err&&made&&opts.own?chownr(made,opts.uid,opts.gid,cb3):cb3(err);});}}});var require_process_nextick_args=__commonJS({"../../node_modules/process-nextick-args/index.js"(exports,module2){typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?module2.exports={nextTick}:module2.exports=process;function nextTick(fn5,arg1,arg2,arg3){if(typeof fn5!="function")throw new TypeError('"callback" argument must be a function');var len=arguments.length,args,i7;switch(len){case 0:case 1:return process.nextTick(fn5);case 2:return process.nextTick(function(){fn5.call(null,arg1);});case 3:return process.nextTick(function(){fn5.call(null,arg1,arg2);});case 4:return process.nextTick(function(){fn5.call(null,arg1,arg2,arg3);});default:for(args=new Array(len-1),i7=0;i7<args.length;)args[i7++]=arguments[i7];return process.nextTick(function(){fn5.apply(null,args);})}}}});var require_isarray=__commonJS({"../../node_modules/peek-stream/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer=__commonJS({"../../node_modules/peek-stream/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_util7=__commonJS({"../../node_modules/core-util-is/lib/util.js"(exports){function isArray(arg){return Array.isArray?Array.isArray(arg):objectToString2(arg)==="[object Array]"}exports.isArray=isArray;function isBoolean(arg){return typeof arg=="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg=="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg=="string"}exports.isString=isString;function isSymbol(arg){return typeof arg=="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re7){return objectToString2(re7)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg=="object"&&arg!==null}exports.isObject=isObject;function isDate(d7){return objectToString2(d7)==="[object Date]"}exports.isDate=isDate;function isError(e5){return objectToString2(e5)==="[object Error]"||e5 instanceof Error}exports.isError=isError;function isFunction2(arg){return typeof arg=="function"}exports.isFunction=isFunction2;function isPrimitive(arg){return arg===null||typeof arg=="boolean"||typeof arg=="number"||typeof arg=="string"||typeof arg=="symbol"||typeof arg>"u"}exports.isPrimitive=isPrimitive;exports.isBuffer=__require("buffer").Buffer.isBuffer;function objectToString2(o10){return Object.prototype.toString.call(o10)}}});var require_BufferList2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream2(),Buffer4=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy2();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex2(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex2(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable2(),Writable=require_stream_writable2();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream2(),Buffer4=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList2(),destroyImpl=require_destroy2(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex2(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex2(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex2(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform2(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable2(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable2(),exports.Duplex=require_stream_duplex2(),exports.Transform=require_stream_transform2(),exports.PassThrough=require_stream_passthrough2());}});var require_stream_shift=__commonJS({"../../node_modules/stream-shift/index.js"(exports,module2){module2.exports=shift;function shift(stream3){var rs3=stream3._readableState;return rs3?rs3.objectMode||typeof stream3._duplexState=="number"?stream3.read():stream3.read(getStateLength(rs3)):null}function getStateLength(state){if(state.buffer.length){var idx=state.bufferIndex||0;if(state.buffer.head)return state.buffer.head.data.length;if(state.buffer.length-idx>0&&state.buffer[idx])return state.buffer[idx].length}return state.length}}});var require_duplexify=__commonJS({"../../node_modules/peek-stream/node_modules/duplexify/index.js"(exports,module2){var stream3=require_readable2(),eos=require_end_of_stream(),inherits=require_inherits_browser(),shift=require_stream_shift(),SIGNAL_FLUSH=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),onuncork=function(self2,fn5){self2._corked?self2.once("uncork",fn5):fn5();},autoDestroy=function(self2,err){self2._autoDestroy&&self2.destroy(err);},destroyer=function(self2,end2){return function(err){err?autoDestroy(self2,err.message==="premature close"?null:err):end2&&!self2._ended&&self2.end();}},end=function(ws3,fn5){if(!ws3||ws3._writableState&&ws3._writableState.finished)return fn5();if(ws3._writableState)return ws3.end(fn5);ws3.end(),fn5();},toStreams2=function(rs3){return new stream3.Readable({objectMode:!0,highWaterMark:16}).wrap(rs3)},Duplexify=function(writable,readable,opts){if(!(this instanceof Duplexify))return new Duplexify(writable,readable,opts);stream3.Duplex.call(this,opts),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!opts||opts.autoDestroy!==!1,this._forwardDestroy=!opts||opts.destroy!==!1,this._forwardEnd=!opts||opts.end!==!1,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,writable&&this.setWritable(writable),readable&&this.setReadable(readable);};inherits(Duplexify,stream3.Duplex);Duplexify.obj=function(writable,readable,opts){return opts||(opts={}),opts.objectMode=!0,opts.highWaterMark=16,new Duplexify(writable,readable,opts)};Duplexify.prototype.cork=function(){++this._corked===1&&this.emit("cork");};Duplexify.prototype.uncork=function(){this._corked&&--this._corked===0&&this.emit("uncork");};Duplexify.prototype.setWritable=function(writable){if(this._unwrite&&this._unwrite(),this.destroyed){writable&&writable.destroy&&writable.destroy();return}if(writable===null||writable===!1){this.end();return}var self2=this,unend=eos(writable,{writable:!0,readable:!1},destroyer(this,this._forwardEnd)),ondrain=function(){var ondrain2=self2._ondrain;self2._ondrain=null,ondrain2&&ondrain2();},clear=function(){self2._writable.removeListener("drain",ondrain),unend();};this._unwrite&&process.nextTick(ondrain),this._writable=writable,this._writable.on("drain",ondrain),this._unwrite=clear,this.uncork();};Duplexify.prototype.setReadable=function(readable){if(this._unread&&this._unread(),this.destroyed){readable&&readable.destroy&&readable.destroy();return}if(readable===null||readable===!1){this.push(null),this.resume();return}var self2=this,unend=eos(readable,{writable:!1,readable:!0},destroyer(this)),onreadable=function(){self2._forward();},onend=function(){self2.push(null);},clear=function(){self2._readable2.removeListener("readable",onreadable),self2._readable2.removeListener("end",onend),unend();};this._drained=!0,this._readable=readable,this._readable2=readable._readableState?readable:toStreams2(readable),this._readable2.on("readable",onreadable),this._readable2.on("end",onend),this._unread=clear,this._forward();};Duplexify.prototype._read=function(){this._drained=!0,this._forward();};Duplexify.prototype._forward=function(){if(!(this._forwarding||!this._readable2||!this._drained)){this._forwarding=!0;for(var data;this._drained&&(data=shift(this._readable2))!==null;)this.destroyed||(this._drained=this.push(data));this._forwarding=!1;}};Duplexify.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){self2._destroy(err);});}};Duplexify.prototype._destroy=function(err){if(err){var ondrain=this._ondrain;this._ondrain=null,ondrain?ondrain(err):this.emit("error",err);}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close");};Duplexify.prototype._write=function(data,enc,cb3){if(this.destroyed)return cb3();if(this._corked)return onuncork(this,this._write.bind(this,data,enc,cb3));if(data===SIGNAL_FLUSH)return this._finish(cb3);if(!this._writable)return cb3();this._writable.write(data)===!1?this._ondrain=cb3:cb3();};Duplexify.prototype._finish=function(cb3){var self2=this;this.emit("preend"),onuncork(this,function(){end(self2._forwardEnd&&self2._writable,function(){self2._writableState.prefinished===!1&&(self2._writableState.prefinished=!0),self2.emit("prefinish"),onuncork(self2,cb3);});});};Duplexify.prototype.end=function(data,enc,cb3){return typeof data=="function"?this.end(null,null,data):typeof enc=="function"?this.end(data,null,enc):(this._ended=!0,data&&this.write(data),this._writableState.ending||this.write(SIGNAL_FLUSH),stream3.Writable.prototype.end.call(this,cb3))};module2.exports=Duplexify;}});var require_isarray2=__commonJS({"../../node_modules/through2/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer2=__commonJS({"../../node_modules/through2/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_BufferList3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer2().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream3(),Buffer4=require_safe_buffer2().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy3();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex3(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex3(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable3(),Writable=require_stream_writable3();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray2(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream3(),Buffer4=require_safe_buffer2().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList3(),destroyImpl=require_destroy3(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex3(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex3(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex3(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform3(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable3(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable3(),exports.Duplex=require_stream_duplex3(),exports.Transform=require_stream_transform3(),exports.PassThrough=require_stream_passthrough3());}});var require_immutable=__commonJS({"../../node_modules/xtend/immutable.js"(exports,module2){module2.exports=extend;var hasOwnProperty2=Object.prototype.hasOwnProperty;function extend(){for(var target={},i7=0;i7<arguments.length;i7++){var source=arguments[i7];for(var key in source)hasOwnProperty2.call(source,key)&&(target[key]=source[key]);}return target}}});var require_through2=__commonJS({"../../node_modules/through2/through2.js"(exports,module2){var Transform=require_readable3().Transform,inherits=__require("util").inherits,xtend=require_immutable();function DestroyableTransform(opts){Transform.call(this,opts),this._destroyed=!1;}inherits(DestroyableTransform,Transform);DestroyableTransform.prototype.destroy=function(err){if(!this._destroyed){this._destroyed=!0;var self2=this;process.nextTick(function(){err&&self2.emit("error",err),self2.emit("close");});}};function noop3(chunk,enc,callback){callback(null,chunk);}function through2(construct){return function(options,transform,flush){return typeof options=="function"&&(flush=transform,transform=options,options={}),typeof transform!="function"&&(transform=noop3),typeof flush!="function"&&(flush=null),construct(options,transform,flush)}}module2.exports=through2(function(options,transform,flush){var t22=new DestroyableTransform(options);return t22._transform=transform,flush&&(t22._flush=flush),t22});module2.exports.ctor=through2(function(options,transform,flush){function Through2(override){if(!(this instanceof Through2))return new Through2(override);this.options=xtend(options,override),DestroyableTransform.call(this,this.options);}return inherits(Through2,DestroyableTransform),Through2.prototype._transform=transform,flush&&(Through2.prototype._flush=flush),Through2});module2.exports.obj=through2(function(options,transform,flush){var t22=new DestroyableTransform(xtend({objectMode:!0,highWaterMark:16},options));return t22._transform=transform,flush&&(t22._flush=flush),t22});}});var require_buffer_from=__commonJS({"../../node_modules/buffer-from/index.js"(exports,module2){var toString2=Object.prototype.toString,isModern=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function isArrayBuffer(input){return toString2.call(input).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(obj,byteOffset,length){byteOffset>>>=0;var maxLength=obj.byteLength-byteOffset;if(maxLength<0)throw new RangeError("'offset' is out of bounds");if(length===void 0)length=maxLength;else if(length>>>=0,length>maxLength)throw new RangeError("'length' is out of bounds");return isModern?Buffer.from(obj.slice(byteOffset,byteOffset+length)):new Buffer(new Uint8Array(obj.slice(byteOffset,byteOffset+length)))}function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer.from(string,encoding):new Buffer(string,encoding)}function bufferFrom(value2,encodingOrOffset,length){if(typeof value2=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(value2)?fromArrayBuffer(value2,encodingOrOffset,length):typeof value2=="string"?fromString(value2,encodingOrOffset):isModern?Buffer.from(value2):new Buffer(value2)}module2.exports=bufferFrom;}});var require_peek_stream=__commonJS({"../../node_modules/peek-stream/index.js"(exports,module2){var duplexify=require_duplexify(),through=require_through2(),bufferFrom=require_buffer_from(),isObject=function(data){return !Buffer.isBuffer(data)&&typeof data!="string"},peek=function(opts,onpeek){if(typeof opts=="number"&&(opts={maxBuffer:opts}),typeof opts=="function")return peek(null,opts);opts||(opts={});var maxBuffer=typeof opts.maxBuffer=="number"?opts.maxBuffer:65535,strict=opts.strict,newline=opts.newline!==!1,buffer=[],bufferSize=0,dup=duplexify.obj(),peeker=through.obj({highWaterMark:1},function(data,enc,cb3){if(isObject(data))return ready(data,null,cb3);if(Buffer.isBuffer(data)||(data=bufferFrom(data)),newline){var nl2=Array.prototype.indexOf.call(data,10);if(nl2>0&&data[nl2-1]===13&&nl2--,nl2>-1)return buffer.push(data.slice(0,nl2)),ready(Buffer.concat(buffer),data.slice(nl2),cb3)}if(buffer.push(data),bufferSize+=data.length,bufferSize<maxBuffer)return cb3();if(strict)return cb3(new Error("No newline found"));ready(Buffer.concat(buffer),null,cb3);}),onpreend=function(){if(strict)return dup.destroy(new Error("No newline found"));dup.cork(),ready(Buffer.concat(buffer),null,function(err){if(err)return dup.destroy(err);dup.uncork();});},ready=function(data,overflow,cb3){dup.removeListener("preend",onpreend),onpeek(data,function(err,parser3){if(err)return cb3(err);dup.setWritable(parser3),dup.setReadable(parser3),data&&parser3.write(data),overflow&&parser3.write(overflow),overflow=buffer=peeker=null,cb3();});};return dup.on("preend",onpreend),dup.setWritable(peeker),dup};module2.exports=peek;}});var require_pump2=__commonJS({"../../node_modules/pumpify/node_modules/pump/index.js"(exports,module2){var once2=require_once(),eos=require_end_of_stream(),fs13=__require("fs"),noop3=function(){},ancient=/^v?\.0/.test(process.version),isFn=function(fn5){return typeof fn5=="function"},isFS=function(stream3){return !ancient||!fs13?!1:(stream3 instanceof(fs13.ReadStream||noop3)||stream3 instanceof(fs13.WriteStream||noop3))&&isFn(stream3.close)},isRequest2=function(stream3){return stream3.setHeader&&isFn(stream3.abort)},destroyer=function(stream3,reading,writing,callback){callback=once2(callback);var closed=!1;stream3.on("close",function(){closed=!0;}),eos(stream3,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback();});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isFS(stream3))return stream3.close(noop3);if(isRequest2(stream3))return stream3.abort();if(isFn(stream3.destroy))return stream3.destroy();callback(err||new Error("stream was destroyed"));}}},call=function(fn5){fn5();},pipe2=function(from,to6){return from.pipe(to6)},pump=function(){var streams=Array.prototype.slice.call(arguments),callback=isFn(streams[streams.length-1]||noop3)&&streams.pop()||noop3;if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new Error("pump requires two streams per minimum");var error2,destroys=streams.map(function(stream3,i7){var reading=i7<streams.length-1,writing=i7>0;return destroyer(stream3,reading,writing,function(err){error2||(error2=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error2));})});streams.reduce(pipe2);};module2.exports=pump;}});var require_isarray3=__commonJS({"../../node_modules/pumpify/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer3=__commonJS({"../../node_modules/pumpify/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_BufferList4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer3().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream4(),Buffer4=require_safe_buffer3().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy4();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex4(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex4(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable4(),Writable=require_stream_writable4();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray3(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream4(),Buffer4=require_safe_buffer3().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList4(),destroyImpl=require_destroy4(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex4(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex4(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex4(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform4(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable4(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable4(),exports.Duplex=require_stream_duplex4(),exports.Transform=require_stream_transform4(),exports.PassThrough=require_stream_passthrough4());}});var require_duplexify2=__commonJS({"../../node_modules/pumpify/node_modules/duplexify/index.js"(exports,module2){var stream3=require_readable4(),eos=require_end_of_stream(),inherits=require_inherits_browser(),shift=require_stream_shift(),SIGNAL_FLUSH=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),onuncork=function(self2,fn5){self2._corked?self2.once("uncork",fn5):fn5();},autoDestroy=function(self2,err){self2._autoDestroy&&self2.destroy(err);},destroyer=function(self2,end2){return function(err){err?autoDestroy(self2,err.message==="premature close"?null:err):end2&&!self2._ended&&self2.end();}},end=function(ws3,fn5){if(!ws3||ws3._writableState&&ws3._writableState.finished)return fn5();if(ws3._writableState)return ws3.end(fn5);ws3.end(),fn5();},toStreams2=function(rs3){return new stream3.Readable({objectMode:!0,highWaterMark:16}).wrap(rs3)},Duplexify=function(writable,readable,opts){if(!(this instanceof Duplexify))return new Duplexify(writable,readable,opts);stream3.Duplex.call(this,opts),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!opts||opts.autoDestroy!==!1,this._forwardDestroy=!opts||opts.destroy!==!1,this._forwardEnd=!opts||opts.end!==!1,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,writable&&this.setWritable(writable),readable&&this.setReadable(readable);};inherits(Duplexify,stream3.Duplex);Duplexify.obj=function(writable,readable,opts){return opts||(opts={}),opts.objectMode=!0,opts.highWaterMark=16,new Duplexify(writable,readable,opts)};Duplexify.prototype.cork=function(){++this._corked===1&&this.emit("cork");};Duplexify.prototype.uncork=function(){this._corked&&--this._corked===0&&this.emit("uncork");};Duplexify.prototype.setWritable=function(writable){if(this._unwrite&&this._unwrite(),this.destroyed){writable&&writable.destroy&&writable.destroy();return}if(writable===null||writable===!1){this.end();return}var self2=this,unend=eos(writable,{writable:!0,readable:!1},destroyer(this,this._forwardEnd)),ondrain=function(){var ondrain2=self2._ondrain;self2._ondrain=null,ondrain2&&ondrain2();},clear=function(){self2._writable.removeListener("drain",ondrain),unend();};this._unwrite&&process.nextTick(ondrain),this._writable=writable,this._writable.on("drain",ondrain),this._unwrite=clear,this.uncork();};Duplexify.prototype.setReadable=function(readable){if(this._unread&&this._unread(),this.destroyed){readable&&readable.destroy&&readable.destroy();return}if(readable===null||readable===!1){this.push(null),this.resume();return}var self2=this,unend=eos(readable,{writable:!1,readable:!0},destroyer(this)),onreadable=function(){self2._forward();},onend=function(){self2.push(null);},clear=function(){self2._readable2.removeListener("readable",onreadable),self2._readable2.removeListener("end",onend),unend();};this._drained=!0,this._readable=readable,this._readable2=readable._readableState?readable:toStreams2(readable),this._readable2.on("readable",onreadable),this._readable2.on("end",onend),this._unread=clear,this._forward();};Duplexify.prototype._read=function(){this._drained=!0,this._forward();};Duplexify.prototype._forward=function(){if(!(this._forwarding||!this._readable2||!this._drained)){this._forwarding=!0;for(var data;this._drained&&(data=shift(this._readable2))!==null;)this.destroyed||(this._drained=this.push(data));this._forwarding=!1;}};Duplexify.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){self2._destroy(err);});}};Duplexify.prototype._destroy=function(err){if(err){var ondrain=this._ondrain;this._ondrain=null,ondrain?ondrain(err):this.emit("error",err);}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close");};Duplexify.prototype._write=function(data,enc,cb3){if(this.destroyed)return cb3();if(this._corked)return onuncork(this,this._write.bind(this,data,enc,cb3));if(data===SIGNAL_FLUSH)return this._finish(cb3);if(!this._writable)return cb3();this._writable.write(data)===!1?this._ondrain=cb3:cb3();};Duplexify.prototype._finish=function(cb3){var self2=this;this.emit("preend"),onuncork(this,function(){end(self2._forwardEnd&&self2._writable,function(){self2._writableState.prefinished===!1&&(self2._writableState.prefinished=!0),self2.emit("prefinish"),onuncork(self2,cb3);});});};Duplexify.prototype.end=function(data,enc,cb3){return typeof data=="function"?this.end(null,null,data):typeof enc=="function"?this.end(data,null,enc):(this._ended=!0,data&&this.write(data),this._writableState.ending||this.write(SIGNAL_FLUSH),stream3.Writable.prototype.end.call(this,cb3))};module2.exports=Duplexify;}});var require_pumpify=__commonJS({"../../node_modules/pumpify/index.js"(exports,module2){var pump=require_pump2(),inherits=require_inherits_browser(),Duplexify=require_duplexify2(),toArray=function(args){return args.length?Array.isArray(args[0])?args[0]:Array.prototype.slice.call(args):[]},define2=function(opts){var Pumpify=function(){var streams=toArray(arguments);if(!(this instanceof Pumpify))return new Pumpify(streams);Duplexify.call(this,null,null,opts),streams.length&&this.setPipeline(streams);};return inherits(Pumpify,Duplexify),Pumpify.prototype.setPipeline=function(){var streams=toArray(arguments),self2=this,ended=!1,w8=streams[0],r5=streams[streams.length-1];r5=r5.readable?r5:null,w8=w8.writable?w8:null;var onclose=function(){streams[0].emit("error",new Error("stream was destroyed"));};if(this.on("close",onclose),this.on("prefinish",function(){ended||self2.cork();}),pump(streams,function(err){if(self2.removeListener("close",onclose),err)return self2.destroy(err.message==="premature close"?null:err);ended=!0,self2._autoDestroy===!1&&(self2._autoDestroy=!0),self2.uncork();}),this.destroyed)return onclose();this.setWritable(w8),this.setReadable(r5);},Pumpify};module2.exports=define2({autoDestroy:!1,destroy:!1});module2.exports.obj=define2({autoDestroy:!1,destroy:!1,objectMode:!0,highWaterMark:16});module2.exports.ctor=define2;}});var require_is_gzip=__commonJS({"../../node_modules/is-gzip/index.js"(exports,module2){module2.exports=function(buf){return !buf||buf.length<3?!1:buf[0]===31&&buf[1]===139&&buf[2]===8};}});var require_is_deflate=__commonJS({"../../node_modules/is-deflate/index.js"(exports,module2){module2.exports=function(buf){return !buf||buf.length<2?!1:buf[0]===120&&(buf[1]===1||buf[1]===156||buf[1]===218)};}});var require_gunzip_maybe=__commonJS({"../../node_modules/gunzip-maybe/index.js"(exports,module2){var zlib=__require("zlib"),peek=require_peek_stream(),through=require_through2(),pumpify=require_pumpify(),isGzip=require_is_gzip(),isDeflate=require_is_deflate(),isCompressed=function(data){return isGzip(data)?1:isDeflate(data)?2:0},gunzip=function(maxRecursion){return maxRecursion===void 0&&(maxRecursion=3),peek({newline:!1,maxBuffer:10},function(data,swap){if(maxRecursion<0)return swap(new Error("Maximum recursion reached"));switch(isCompressed(data)){case 1:swap(null,pumpify(zlib.createGunzip(),gunzip(maxRecursion-1)));break;case 2:swap(null,pumpify(zlib.createInflate(),gunzip(maxRecursion-1)));break;default:swap(null,through());}})};module2.exports=gunzip;}});var require_tracker_base=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-base.js"(exports,module2){var EventEmitter4=__require("events"),trackerId=0,TrackerBase=class extends EventEmitter4{constructor(name){super(),this.id=++trackerId,this.name=name;}};module2.exports=TrackerBase;}});var require_tracker=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker.js"(exports,module2){var TrackerBase=require_tracker_base(),Tracker=class extends TrackerBase{constructor(name,todo){super(name),this.workDone=0,this.workTodo=todo||0;}completed(){return this.workTodo===0?0:this.workDone/this.workTodo}addWork(work){this.workTodo+=work,this.emit("change",this.name,this.completed(),this);}completeWork(work){this.workDone+=work,this.workDone>this.workTodo&&(this.workDone=this.workTodo),this.emit("change",this.name,this.completed(),this);}finish(){this.workTodo=this.workDone=1,this.emit("change",this.name,1,this);}};module2.exports=Tracker;}});var require_tracker_stream=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-stream.js"(exports,module2){var stream3=__require("stream"),Tracker=require_tracker(),TrackerStream=class extends stream3.Transform{constructor(name,size,options){super(options),this.tracker=new Tracker(name,size),this.name=name,this.id=this.tracker.id,this.tracker.on("change",this.trackerChange.bind(this));}trackerChange(name,completion){this.emit("change",name,completion,this);}_transform(data,encoding,cb3){this.tracker.completeWork(data.length?data.length:1),this.push(data),cb3();}_flush(cb3){this.tracker.finish(),cb3();}completed(){return this.tracker.completed()}addWork(work){return this.tracker.addWork(work)}finish(){return this.tracker.finish()}};module2.exports=TrackerStream;}});var require_tracker_group=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-group.js"(exports,module2){var TrackerBase=require_tracker_base(),Tracker=require_tracker(),TrackerStream=require_tracker_stream(),TrackerGroup=class _TrackerGroup extends TrackerBase{parentGroup=null;trackers=[];completion={};weight={};totalWeight=0;finished=!1;bubbleChange=bubbleChange(this);nameInTree(){for(var names=[],from=this;from;)names.unshift(from.name),from=from.parentGroup;return names.join("/")}addUnit(unit,weight){if(unit.addUnit){for(var toTest=this;toTest;){if(unit===toTest)throw new Error("Attempted to add tracker group "+unit.name+" to tree that already includes it "+this.nameInTree(this));toTest=toTest.parentGroup;}unit.parentGroup=this;}return this.weight[unit.id]=weight||1,this.totalWeight+=this.weight[unit.id],this.trackers.push(unit),this.completion[unit.id]=unit.completed(),unit.on("change",this.bubbleChange),this.finished||this.emit("change",unit.name,this.completion[unit.id],unit),unit}completed(){if(this.trackers.length===0)return 0;for(var valPerWeight=1/this.totalWeight,completed=0,ii6=0;ii6<this.trackers.length;ii6++){var trackerId=this.trackers[ii6].id;completed+=valPerWeight*this.weight[trackerId]*this.completion[trackerId];}return completed}newGroup(name,weight){return this.addUnit(new _TrackerGroup(name),weight)}newItem(name,todo,weight){return this.addUnit(new Tracker(name,todo),weight)}newStream(name,todo,weight){return this.addUnit(new TrackerStream(name,todo),weight)}finish(){this.finished=!0,this.trackers.length||this.addUnit(new Tracker,1,!0);for(var ii6=0;ii6<this.trackers.length;ii6++){var tracker=this.trackers[ii6];tracker.finish(),tracker.removeListener("change",this.bubbleChange);}this.emit("change",this.name,1,this);}debug(depth=0){let indent=" ".repeat(depth),output=`${indent}${this.name||"top"}: ${this.completed()}
672
+ `);return Buffer.from(result)};exports.decodePax=function(buf){for(var result={};buf.length;){for(var i7=0;i7<buf.length&&buf[i7]!==32;)i7++;var len=parseInt(buf.slice(0,i7).toString(),10);if(!len)return result;var b8=buf.slice(i7+1,len-1).toString(),keyIndex=b8.indexOf("=");if(keyIndex===-1)return result;result[b8.slice(0,keyIndex)]=b8.slice(keyIndex+1),buf=buf.slice(len);}return result};exports.encode=function(opts){var buf=alloc(512),name=opts.name,prefix2="";if(opts.typeflag===5&&name[name.length-1]!=="/"&&(name+="/"),Buffer.byteLength(name)!==name.length)return null;for(;Buffer.byteLength(name)>100;){var i7=name.indexOf("/");if(i7===-1)return null;prefix2+=prefix2?"/"+name.slice(0,i7):name.slice(0,i7),name=name.slice(i7+1);}return Buffer.byteLength(name)>100||Buffer.byteLength(prefix2)>155||opts.linkname&&Buffer.byteLength(opts.linkname)>100?null:(buf.write(name),buf.write(encodeOct(opts.mode&MASK,6),100),buf.write(encodeOct(opts.uid,6),108),buf.write(encodeOct(opts.gid,6),116),buf.write(encodeOct(opts.size,11),124),buf.write(encodeOct(opts.mtime.getTime()/1e3|0,11),136),buf[156]=ZERO_OFFSET+toTypeflag(opts.type),opts.linkname&&buf.write(opts.linkname,157),USTAR_MAGIC.copy(buf,MAGIC_OFFSET),USTAR_VER.copy(buf,VERSION_OFFSET),opts.uname&&buf.write(opts.uname,265),opts.gname&&buf.write(opts.gname,297),buf.write(encodeOct(opts.devmajor||0,6),329),buf.write(encodeOct(opts.devminor||0,6),337),prefix2&&buf.write(prefix2,345),buf.write(encodeOct(cksum(buf),6),148),buf)};exports.decode=function(buf,filenameEncoding,allowUnknownFormat){var typeflag=buf[156]===0?0:buf[156]-ZERO_OFFSET,name=decodeStr(buf,0,100,filenameEncoding),mode=decodeOct(buf,100,8),uid=decodeOct(buf,108,8),gid=decodeOct(buf,116,8),size=decodeOct(buf,124,12),mtime=decodeOct(buf,136,12),type=toType(typeflag),linkname=buf[157]===0?null:decodeStr(buf,157,100,filenameEncoding),uname=decodeStr(buf,265,32),gname=decodeStr(buf,297,32),devmajor=decodeOct(buf,329,8),devminor=decodeOct(buf,337,8),c10=cksum(buf);if(c10===8*32)return null;if(c10!==decodeOct(buf,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(USTAR_MAGIC.compare(buf,MAGIC_OFFSET,MAGIC_OFFSET+6)===0)buf[345]&&(name=decodeStr(buf,345,155,filenameEncoding)+"/"+name);else if(!(GNU_MAGIC.compare(buf,MAGIC_OFFSET,MAGIC_OFFSET+6)===0&&GNU_VER.compare(buf,VERSION_OFFSET,VERSION_OFFSET+2)===0)){if(!allowUnknownFormat)throw new Error("Invalid tar header: unknown format.")}return typeflag===0&&name&&name[name.length-1]==="/"&&(typeflag=5),{name,mode,uid,gid,size,mtime:new Date(1e3*mtime),type,linkname,uname,gname,devmajor,devminor}};}});var require_extract=__commonJS({"../../node_modules/tar-stream/extract.js"(exports,module2){var util2=__require("util"),bl2=require_bl(),headers=require_headers(),Writable=require_readable().Writable,PassThrough=require_readable().PassThrough,noop3=function(){},overflow=function(size){return size&=511,size&&512-size},emptyStream=function(self2,offset){var s10=new Source(self2,offset);return s10.end(),s10},mixinPax=function(header,pax){return pax.path&&(header.name=pax.path),pax.linkpath&&(header.linkname=pax.linkpath),pax.size&&(header.size=parseInt(pax.size,10)),header.pax=pax,header},Source=function(self2,offset){this._parent=self2,this.offset=offset,PassThrough.call(this,{autoDestroy:!1});};util2.inherits(Source,PassThrough);Source.prototype.destroy=function(err){this._parent.destroy(err);};var Extract=function(opts){if(!(this instanceof Extract))return new Extract(opts);Writable.call(this,opts),opts=opts||{},this._offset=0,this._buffer=bl2(),this._missing=0,this._partial=!1,this._onparse=noop3,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var self2=this,b8=self2._buffer,oncontinue=function(){self2._continue();},onunlock=function(err){if(self2._locked=!1,err)return self2.destroy(err);self2._stream||oncontinue();},onstreamend=function(){self2._stream=null;var drain=overflow(self2._header.size);drain?self2._parse(drain,ondrain):self2._parse(512,onheader),self2._locked||oncontinue();},ondrain=function(){self2._buffer.consume(overflow(self2._header.size)),self2._parse(512,onheader),oncontinue();},onpaxglobalheader=function(){var size=self2._header.size;self2._paxGlobal=headers.decodePax(b8.slice(0,size)),b8.consume(size),onstreamend();},onpaxheader=function(){var size=self2._header.size;self2._pax=headers.decodePax(b8.slice(0,size)),self2._paxGlobal&&(self2._pax=Object.assign({},self2._paxGlobal,self2._pax)),b8.consume(size),onstreamend();},ongnulongpath=function(){var size=self2._header.size;this._gnuLongPath=headers.decodeLongPath(b8.slice(0,size),opts.filenameEncoding),b8.consume(size),onstreamend();},ongnulonglinkpath=function(){var size=self2._header.size;this._gnuLongLinkPath=headers.decodeLongPath(b8.slice(0,size),opts.filenameEncoding),b8.consume(size),onstreamend();},onheader=function(){var offset=self2._offset,header;try{header=self2._header=headers.decode(b8.slice(0,512),opts.filenameEncoding,opts.allowUnknownFormat);}catch(err){self2.emit("error",err);}if(b8.consume(512),!header){self2._parse(512,onheader),oncontinue();return}if(header.type==="gnu-long-path"){self2._parse(header.size,ongnulongpath),oncontinue();return}if(header.type==="gnu-long-link-path"){self2._parse(header.size,ongnulonglinkpath),oncontinue();return}if(header.type==="pax-global-header"){self2._parse(header.size,onpaxglobalheader),oncontinue();return}if(header.type==="pax-header"){self2._parse(header.size,onpaxheader),oncontinue();return}if(self2._gnuLongPath&&(header.name=self2._gnuLongPath,self2._gnuLongPath=null),self2._gnuLongLinkPath&&(header.linkname=self2._gnuLongLinkPath,self2._gnuLongLinkPath=null),self2._pax&&(self2._header=header=mixinPax(header,self2._pax),self2._pax=null),self2._locked=!0,!header.size||header.type==="directory"){self2._parse(512,onheader),self2.emit("entry",header,emptyStream(self2,offset),onunlock);return}self2._stream=new Source(self2,offset),self2.emit("entry",header,self2._stream,onunlock),self2._parse(header.size,onstreamend),oncontinue();};this._onheader=onheader,this._parse(512,onheader);};util2.inherits(Extract,Writable);Extract.prototype.destroy=function(err){this._destroyed||(this._destroyed=!0,err&&this.emit("error",err),this.emit("close"),this._stream&&this._stream.emit("close"));};Extract.prototype._parse=function(size,onparse){this._destroyed||(this._offset+=size,this._missing=size,onparse===this._onheader&&(this._partial=!1),this._onparse=onparse);};Extract.prototype._continue=function(){if(!this._destroyed){var cb3=this._cb;this._cb=noop3,this._overflow?this._write(this._overflow,void 0,cb3):cb3();}};Extract.prototype._write=function(data,enc,cb3){if(!this._destroyed){var s10=this._stream,b8=this._buffer,missing=this._missing;if(data.length&&(this._partial=!0),data.length<missing)return this._missing-=data.length,this._overflow=null,s10?s10.write(data,cb3):(b8.append(data),cb3());this._cb=cb3,this._missing=0;var overflow2=null;data.length>missing&&(overflow2=data.slice(missing),data=data.slice(0,missing)),s10?s10.end(data):b8.append(data),this._overflow=overflow2,this._onparse();}};Extract.prototype._final=function(cb3){if(this._partial)return this.destroy(new Error("Unexpected end of data"));cb3();};module2.exports=Extract;}});var require_browser3=__commonJS({"../../node_modules/fs-constants/browser.js"(exports,module2){module2.exports=__require("constants");}});var require_pack=__commonJS({"../../node_modules/tar-stream/pack.js"(exports,module2){var constants3=require_browser3(),eos=require_end_of_stream(),inherits=require_inherits_browser(),alloc=Buffer.alloc,Readable=require_readable().Readable,Writable=require_readable().Writable,StringDecoder2=__require("string_decoder").StringDecoder,headers=require_headers(),DMODE=parseInt("755",8),FMODE=parseInt("644",8),END_OF_TAR=alloc(1024),noop3=function(){},overflow=function(self2,size){size&=511,size&&self2.push(END_OF_TAR.slice(0,512-size));};function modeToType(mode){switch(mode&constants3.S_IFMT){case constants3.S_IFBLK:return "block-device";case constants3.S_IFCHR:return "character-device";case constants3.S_IFDIR:return "directory";case constants3.S_IFIFO:return "fifo";case constants3.S_IFLNK:return "symlink"}return "file"}var Sink=function(to6){Writable.call(this),this.written=0,this._to=to6,this._destroyed=!1;};inherits(Sink,Writable);Sink.prototype._write=function(data,enc,cb3){if(this.written+=data.length,this._to.push(data))return cb3();this._to._drain=cb3;};Sink.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var LinkSink=function(){Writable.call(this),this.linkname="",this._decoder=new StringDecoder2("utf-8"),this._destroyed=!1;};inherits(LinkSink,Writable);LinkSink.prototype._write=function(data,enc,cb3){this.linkname+=this._decoder.write(data),cb3();};LinkSink.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var Void=function(){Writable.call(this),this._destroyed=!1;};inherits(Void,Writable);Void.prototype._write=function(data,enc,cb3){cb3(new Error("No body allowed for this entry"));};Void.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"));};var Pack=function(opts){if(!(this instanceof Pack))return new Pack(opts);Readable.call(this,opts),this._drain=noop3,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null;};inherits(Pack,Readable);Pack.prototype.entry=function(header,buffer,callback){if(this._stream)throw new Error("already piping an entry");if(!(this._finalized||this._destroyed)){typeof buffer=="function"&&(callback=buffer,buffer=null),callback||(callback=noop3);var self2=this;if((!header.size||header.type==="symlink")&&(header.size=0),header.type||(header.type=modeToType(header.mode)),header.mode||(header.mode=header.type==="directory"?DMODE:FMODE),header.uid||(header.uid=0),header.gid||(header.gid=0),header.mtime||(header.mtime=new Date),typeof buffer=="string"&&(buffer=Buffer.from(buffer)),Buffer.isBuffer(buffer)){header.size=buffer.length,this._encode(header);var ok3=this.push(buffer);return overflow(self2,header.size),ok3?process.nextTick(callback):this._drain=callback,new Void}if(header.type==="symlink"&&!header.linkname){var linkSink=new LinkSink;return eos(linkSink,function(err){if(err)return self2.destroy(),callback(err);header.linkname=linkSink.linkname,self2._encode(header),callback();}),linkSink}if(this._encode(header),header.type!=="file"&&header.type!=="contiguous-file")return process.nextTick(callback),new Void;var sink=new Sink(this);return this._stream=sink,eos(sink,function(err){if(self2._stream=null,err)return self2.destroy(),callback(err);if(sink.written!==header.size)return self2.destroy(),callback(new Error("size mismatch"));overflow(self2,header.size),self2._finalizing&&self2.finalize(),callback();}),sink}};Pack.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(END_OF_TAR),this.push(null));};Pack.prototype.destroy=function(err){this._destroyed||(this._destroyed=!0,err&&this.emit("error",err),this.emit("close"),this._stream&&this._stream.destroy&&this._stream.destroy());};Pack.prototype._encode=function(header){if(!header.pax){var buf=headers.encode(header);if(buf){this.push(buf);return}}this._encodePax(header);};Pack.prototype._encodePax=function(header){var paxHeader=headers.encodePax({name:header.name,linkname:header.linkname,pax:header.pax}),newHeader={name:"PaxHeader",mode:header.mode,uid:header.uid,gid:header.gid,size:paxHeader.length,mtime:header.mtime,type:"pax-header",linkname:header.linkname&&"PaxHeader",uname:header.uname,gname:header.gname,devmajor:header.devmajor,devminor:header.devminor};this.push(headers.encode(newHeader)),this.push(paxHeader),overflow(this,paxHeader.length),newHeader.size=header.size,newHeader.type=header.type,this.push(headers.encode(newHeader));};Pack.prototype._read=function(n10){var drain=this._drain;this._drain=noop3,drain();};module2.exports=Pack;}});var require_tar_stream=__commonJS({"../../node_modules/tar-stream/index.js"(exports){exports.extract=require_extract();exports.pack=require_pack();}});var require_mkdirp_classic=__commonJS({"../../node_modules/mkdirp-classic/index.js"(exports,module2){var path12=__require("path"),fs13=__require("fs"),_0777=parseInt("0777",8);module2.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(p7,opts,f11,made){typeof opts=="function"?(f11=opts,opts={}):(!opts||typeof opts!="object")&&(opts={mode:opts});var mode=opts.mode,xfs=opts.fs||fs13;mode===void 0&&(mode=_0777&~process.umask()),made||(made=null);var cb3=f11||function(){};p7=path12.resolve(p7),xfs.mkdir(p7,mode,function(er6){if(!er6)return made=made||p7,cb3(null,made);switch(er6.code){case"ENOENT":mkdirP(path12.dirname(p7),opts,function(er7,made2){er7?cb3(er7,made2):mkdirP(p7,opts,cb3,made2);});break;default:xfs.stat(p7,function(er22,stat3){er22||!stat3.isDirectory()?cb3(er6,made):cb3(null,made);});break}});}mkdirP.sync=function sync2(p7,opts,made){(!opts||typeof opts!="object")&&(opts={mode:opts});var mode=opts.mode,xfs=opts.fs||fs13;mode===void 0&&(mode=_0777&~process.umask()),made||(made=null),p7=path12.resolve(p7);try{xfs.mkdirSync(p7,mode),made=made||p7;}catch(err0){switch(err0.code){case"ENOENT":made=sync2(path12.dirname(p7),opts,made),sync2(p7,opts,made);break;default:var stat3;try{stat3=xfs.statSync(p7);}catch{throw err0}if(!stat3.isDirectory())throw err0;break}}return made};}});var require_tar_fs=__commonJS({"../../node_modules/tar-fs/index.js"(exports){var chownr=require_chownr(),tar=require_tar_stream(),pump=require_pump(),mkdirp=require_mkdirp_classic(),fs13=__require("fs"),path12=__require("path"),os9=__require("os"),win322=os9.platform()==="win32",noop3=function(){},echo=function(name){return name},normalize3=win322?function(name){return name.replace(/\\/g,"/").replace(/[:?<>|]/g,"_")}:echo,statAll=function(fs14,stat3,cwd2,ignore,entries2,sort3){var queue=entries2||["."];return function(callback){if(!queue.length)return callback();var next=queue.shift(),nextAbs=path12.join(cwd2,next);stat3.call(fs14,nextAbs,function(err,stat4){if(err)return callback(err);if(!stat4.isDirectory())return callback(null,next,stat4);fs14.readdir(nextAbs,function(err2,files){if(err2)return callback(err2);sort3&&files.sort();for(var i7=0;i7<files.length;i7++)ignore(path12.join(cwd2,next,files[i7]))||queue.push(path12.join(next,files[i7]));callback(null,next,stat4);});});}},strip=function(map,level){return function(header){header.name=header.name.split("/").slice(level).join("/");var linkname=header.linkname;return linkname&&(header.type==="link"||path12.isAbsolute(linkname))&&(header.linkname=linkname.split("/").slice(level).join("/")),map(header)}};exports.pack=function(cwd2,opts){cwd2||(cwd2="."),opts||(opts={});var xfs=opts.fs||fs13,ignore=opts.ignore||opts.filter||noop3,map=opts.map||noop3,mapStream=opts.mapStream||echo,statNext=statAll(xfs,opts.dereference?xfs.stat:xfs.lstat,cwd2,ignore,opts.entries,opts.sort),strict=opts.strict!==!1,umask=typeof opts.umask=="number"?~opts.umask:~processUmask(),dmode=typeof opts.dmode=="number"?opts.dmode:0,fmode=typeof opts.fmode=="number"?opts.fmode:0,pack=opts.pack||tar.pack(),finish=opts.finish||noop3;opts.strip&&(map=strip(map,opts.strip)),opts.readable&&(dmode|=parseInt(555,8),fmode|=parseInt(444,8)),opts.writable&&(dmode|=parseInt(333,8),fmode|=parseInt(222,8));var onsymlink=function(filename,header){xfs.readlink(path12.join(cwd2,filename),function(err,linkname){if(err)return pack.destroy(err);header.linkname=normalize3(linkname),pack.entry(header,onnextentry);});},onstat=function(err,filename,stat3){if(err)return pack.destroy(err);if(!filename)return opts.finalize!==!1&&pack.finalize(),finish(pack);if(stat3.isSocket())return onnextentry();var header={name:normalize3(filename),mode:(stat3.mode|(stat3.isDirectory()?dmode:fmode))&umask,mtime:stat3.mtime,size:stat3.size,type:"file",uid:stat3.uid,gid:stat3.gid};if(stat3.isDirectory())return header.size=0,header.type="directory",header=map(header)||header,pack.entry(header,onnextentry);if(stat3.isSymbolicLink())return header.size=0,header.type="symlink",header=map(header)||header,onsymlink(filename,header);if(header=map(header)||header,!stat3.isFile())return strict?pack.destroy(new Error("unsupported type for "+filename)):onnextentry();var entry=pack.entry(header,onnextentry);if(entry){var rs3=mapStream(xfs.createReadStream(path12.join(cwd2,filename),{start:0,end:header.size>0?header.size-1:header.size}),header);rs3.on("error",function(err2){entry.destroy(err2);}),pump(rs3,entry);}},onnextentry=function(err){if(err)return pack.destroy(err);statNext(onstat);};return onnextentry(),pack};var head=function(list){return list.length?list[list.length-1]:null},processGetuid=function(){return process.getuid?process.getuid():-1},processUmask=function(){return process.umask?process.umask():0};exports.extract=function(cwd2,opts){cwd2||(cwd2="."),opts||(opts={});var xfs=opts.fs||fs13,ignore=opts.ignore||opts.filter||noop3,map=opts.map||noop3,mapStream=opts.mapStream||echo,own=opts.chown!==!1&&!win322&&processGetuid()===0,extract2=opts.extract||tar.extract(),stack=[],now=new Date,umask=typeof opts.umask=="number"?~opts.umask:~processUmask(),dmode=typeof opts.dmode=="number"?opts.dmode:0,fmode=typeof opts.fmode=="number"?opts.fmode:0,strict=opts.strict!==!1;opts.strip&&(map=strip(map,opts.strip)),opts.readable&&(dmode|=parseInt(555,8),fmode|=parseInt(444,8)),opts.writable&&(dmode|=parseInt(333,8),fmode|=parseInt(222,8));var utimesParent=function(name,cb3){for(var top;(top=head(stack))&&name.slice(0,top[0].length)!==top[0];)stack.pop();if(!top)return cb3();xfs.utimes(top[0],now,top[1],cb3);},utimes=function(name,header,cb3){if(opts.utimes===!1)return cb3();if(header.type==="directory")return xfs.utimes(name,now,header.mtime,cb3);if(header.type==="symlink")return utimesParent(name,cb3);xfs.utimes(name,now,header.mtime,function(err){if(err)return cb3(err);utimesParent(name,cb3);});},chperm=function(name,header,cb3){var link=header.type==="symlink",chmod=link?xfs.lchmod:xfs.chmod,chown=link?xfs.lchown:xfs.chown;if(!chmod)return cb3();var mode=(header.mode|(header.type==="directory"?dmode:fmode))&umask;chown&&own?chown.call(xfs,name,header.uid,header.gid,onchown):onchown(null);function onchown(err){if(err)return cb3(err);if(!chmod)return cb3();chmod.call(xfs,name,mode,cb3);}};return extract2.on("entry",function(header,stream3,next){header=map(header)||header,header.name=normalize3(header.name);var name=path12.join(cwd2,path12.join("/",header.name));if(ignore(name,header))return stream3.resume(),next();var stat3=function(err){if(err)return next(err);utimes(name,header,function(err2){if(err2)return next(err2);if(win322)return next();chperm(name,header,next);});},onsymlink=function(){if(win322)return next();xfs.unlink(name,function(){var dst=path12.resolve(path12.dirname(name),header.linkname);if(!dst.startsWith(path12.resolve(cwd2)))return next(new Error(name+" is not a valid symlink"));xfs.symlink(header.linkname,name,stat3);});},onlink=function(){if(win322)return next();xfs.unlink(name,function(){var srcpath=path12.join(cwd2,path12.join("/",header.linkname));xfs.link(srcpath,name,function(err){if(err&&err.code==="EPERM"&&opts.hardlinkAsFilesFallback)return stream3=xfs.createReadStream(srcpath),onfile();stat3(err);});});},onfile=function(){var ws3=xfs.createWriteStream(name),rs3=mapStream(stream3,header);ws3.on("error",function(err){rs3.destroy(err);}),pump(rs3,ws3,function(err){if(err)return next(err);ws3.on("close",stat3);});};if(header.type==="directory")return stack.push([name,header.mtime]),mkdirfix(name,{fs:xfs,own,uid:header.uid,gid:header.gid},stat3);var dir=path12.dirname(name);validate(xfs,dir,path12.join(cwd2,"."),function(err,valid){if(err)return next(err);if(!valid)return next(new Error(dir+" is not a valid path"));mkdirfix(dir,{fs:xfs,own,uid:header.uid,gid:header.gid},function(err2){if(err2)return next(err2);switch(header.type){case"file":return onfile();case"link":return onlink();case"symlink":return onsymlink()}if(strict)return next(new Error("unsupported type for "+name+" ("+header.type+")"));stream3.resume(),next();});});}),opts.finish&&extract2.on("finish",opts.finish),extract2};function validate(fs14,name,root,cb3){if(name===root)return cb3(null,!0);fs14.lstat(name,function(err,st9){if(err&&err.code!=="ENOENT")return cb3(err);if(err||st9.isDirectory())return validate(fs14,path12.join(name,".."),root,cb3);cb3(null,!1);});}function mkdirfix(name,opts,cb3){mkdirp(name,{fs:opts.fs},function(err,made){!err&&made&&opts.own?chownr(made,opts.uid,opts.gid,cb3):cb3(err);});}}});var require_process_nextick_args=__commonJS({"../../node_modules/process-nextick-args/index.js"(exports,module2){typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?module2.exports={nextTick}:module2.exports=process;function nextTick(fn5,arg1,arg2,arg3){if(typeof fn5!="function")throw new TypeError('"callback" argument must be a function');var len=arguments.length,args,i7;switch(len){case 0:case 1:return process.nextTick(fn5);case 2:return process.nextTick(function(){fn5.call(null,arg1);});case 3:return process.nextTick(function(){fn5.call(null,arg1,arg2);});case 4:return process.nextTick(function(){fn5.call(null,arg1,arg2,arg3);});default:for(args=new Array(len-1),i7=0;i7<args.length;)args[i7++]=arguments[i7];return process.nextTick(function(){fn5.apply(null,args);})}}}});var require_isarray=__commonJS({"../../node_modules/peek-stream/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer=__commonJS({"../../node_modules/peek-stream/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_util7=__commonJS({"../../node_modules/core-util-is/lib/util.js"(exports){function isArray(arg){return Array.isArray?Array.isArray(arg):objectToString2(arg)==="[object Array]"}exports.isArray=isArray;function isBoolean(arg){return typeof arg=="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg=="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg=="string"}exports.isString=isString;function isSymbol(arg){return typeof arg=="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re7){return objectToString2(re7)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg=="object"&&arg!==null}exports.isObject=isObject;function isDate(d7){return objectToString2(d7)==="[object Date]"}exports.isDate=isDate;function isError(e5){return objectToString2(e5)==="[object Error]"||e5 instanceof Error}exports.isError=isError;function isFunction2(arg){return typeof arg=="function"}exports.isFunction=isFunction2;function isPrimitive(arg){return arg===null||typeof arg=="boolean"||typeof arg=="number"||typeof arg=="string"||typeof arg=="symbol"||typeof arg>"u"}exports.isPrimitive=isPrimitive;exports.isBuffer=__require("buffer").Buffer.isBuffer;function objectToString2(o10){return Object.prototype.toString.call(o10)}}});var require_BufferList2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream2(),Buffer4=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy2();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex2(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex2(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable2(),Writable=require_stream_writable2();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream2(),Buffer4=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList2(),destroyImpl=require_destroy2(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex2(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex2(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex2(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform2(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable2=__commonJS({"../../node_modules/peek-stream/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable2(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable2(),exports.Duplex=require_stream_duplex2(),exports.Transform=require_stream_transform2(),exports.PassThrough=require_stream_passthrough2());}});var require_stream_shift=__commonJS({"../../node_modules/stream-shift/index.js"(exports,module2){module2.exports=shift;function shift(stream3){var rs3=stream3._readableState;return rs3?rs3.objectMode||typeof stream3._duplexState=="number"?stream3.read():stream3.read(getStateLength(rs3)):null}function getStateLength(state){if(state.buffer.length){var idx=state.bufferIndex||0;if(state.buffer.head)return state.buffer.head.data.length;if(state.buffer.length-idx>0&&state.buffer[idx])return state.buffer[idx].length}return state.length}}});var require_duplexify=__commonJS({"../../node_modules/peek-stream/node_modules/duplexify/index.js"(exports,module2){var stream3=require_readable2(),eos=require_end_of_stream(),inherits=require_inherits_browser(),shift=require_stream_shift(),SIGNAL_FLUSH=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),onuncork=function(self2,fn5){self2._corked?self2.once("uncork",fn5):fn5();},autoDestroy=function(self2,err){self2._autoDestroy&&self2.destroy(err);},destroyer=function(self2,end2){return function(err){err?autoDestroy(self2,err.message==="premature close"?null:err):end2&&!self2._ended&&self2.end();}},end=function(ws3,fn5){if(!ws3||ws3._writableState&&ws3._writableState.finished)return fn5();if(ws3._writableState)return ws3.end(fn5);ws3.end(),fn5();},toStreams2=function(rs3){return new stream3.Readable({objectMode:!0,highWaterMark:16}).wrap(rs3)},Duplexify=function(writable,readable,opts){if(!(this instanceof Duplexify))return new Duplexify(writable,readable,opts);stream3.Duplex.call(this,opts),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!opts||opts.autoDestroy!==!1,this._forwardDestroy=!opts||opts.destroy!==!1,this._forwardEnd=!opts||opts.end!==!1,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,writable&&this.setWritable(writable),readable&&this.setReadable(readable);};inherits(Duplexify,stream3.Duplex);Duplexify.obj=function(writable,readable,opts){return opts||(opts={}),opts.objectMode=!0,opts.highWaterMark=16,new Duplexify(writable,readable,opts)};Duplexify.prototype.cork=function(){++this._corked===1&&this.emit("cork");};Duplexify.prototype.uncork=function(){this._corked&&--this._corked===0&&this.emit("uncork");};Duplexify.prototype.setWritable=function(writable){if(this._unwrite&&this._unwrite(),this.destroyed){writable&&writable.destroy&&writable.destroy();return}if(writable===null||writable===!1){this.end();return}var self2=this,unend=eos(writable,{writable:!0,readable:!1},destroyer(this,this._forwardEnd)),ondrain=function(){var ondrain2=self2._ondrain;self2._ondrain=null,ondrain2&&ondrain2();},clear=function(){self2._writable.removeListener("drain",ondrain),unend();};this._unwrite&&process.nextTick(ondrain),this._writable=writable,this._writable.on("drain",ondrain),this._unwrite=clear,this.uncork();};Duplexify.prototype.setReadable=function(readable){if(this._unread&&this._unread(),this.destroyed){readable&&readable.destroy&&readable.destroy();return}if(readable===null||readable===!1){this.push(null),this.resume();return}var self2=this,unend=eos(readable,{writable:!1,readable:!0},destroyer(this)),onreadable=function(){self2._forward();},onend=function(){self2.push(null);},clear=function(){self2._readable2.removeListener("readable",onreadable),self2._readable2.removeListener("end",onend),unend();};this._drained=!0,this._readable=readable,this._readable2=readable._readableState?readable:toStreams2(readable),this._readable2.on("readable",onreadable),this._readable2.on("end",onend),this._unread=clear,this._forward();};Duplexify.prototype._read=function(){this._drained=!0,this._forward();};Duplexify.prototype._forward=function(){if(!(this._forwarding||!this._readable2||!this._drained)){this._forwarding=!0;for(var data;this._drained&&(data=shift(this._readable2))!==null;)this.destroyed||(this._drained=this.push(data));this._forwarding=!1;}};Duplexify.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){self2._destroy(err);});}};Duplexify.prototype._destroy=function(err){if(err){var ondrain=this._ondrain;this._ondrain=null,ondrain?ondrain(err):this.emit("error",err);}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close");};Duplexify.prototype._write=function(data,enc,cb3){if(this.destroyed)return cb3();if(this._corked)return onuncork(this,this._write.bind(this,data,enc,cb3));if(data===SIGNAL_FLUSH)return this._finish(cb3);if(!this._writable)return cb3();this._writable.write(data)===!1?this._ondrain=cb3:cb3();};Duplexify.prototype._finish=function(cb3){var self2=this;this.emit("preend"),onuncork(this,function(){end(self2._forwardEnd&&self2._writable,function(){self2._writableState.prefinished===!1&&(self2._writableState.prefinished=!0),self2.emit("prefinish"),onuncork(self2,cb3);});});};Duplexify.prototype.end=function(data,enc,cb3){return typeof data=="function"?this.end(null,null,data):typeof enc=="function"?this.end(data,null,enc):(this._ended=!0,data&&this.write(data),this._writableState.ending||this.write(SIGNAL_FLUSH),stream3.Writable.prototype.end.call(this,cb3))};module2.exports=Duplexify;}});var require_isarray2=__commonJS({"../../node_modules/through2/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer2=__commonJS({"../../node_modules/through2/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_BufferList3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer2().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream3(),Buffer4=require_safe_buffer2().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy3();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex3(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex3(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable3(),Writable=require_stream_writable3();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray2(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream3(),Buffer4=require_safe_buffer2().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList3(),destroyImpl=require_destroy3(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex3(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex3(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex3(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform3(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable3=__commonJS({"../../node_modules/through2/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable3(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable3(),exports.Duplex=require_stream_duplex3(),exports.Transform=require_stream_transform3(),exports.PassThrough=require_stream_passthrough3());}});var require_immutable=__commonJS({"../../node_modules/xtend/immutable.js"(exports,module2){module2.exports=extend;var hasOwnProperty2=Object.prototype.hasOwnProperty;function extend(){for(var target={},i7=0;i7<arguments.length;i7++){var source=arguments[i7];for(var key in source)hasOwnProperty2.call(source,key)&&(target[key]=source[key]);}return target}}});var require_through2=__commonJS({"../../node_modules/through2/through2.js"(exports,module2){var Transform=require_readable3().Transform,inherits=__require("util").inherits,xtend=require_immutable();function DestroyableTransform(opts){Transform.call(this,opts),this._destroyed=!1;}inherits(DestroyableTransform,Transform);DestroyableTransform.prototype.destroy=function(err){if(!this._destroyed){this._destroyed=!0;var self2=this;process.nextTick(function(){err&&self2.emit("error",err),self2.emit("close");});}};function noop3(chunk,enc,callback){callback(null,chunk);}function through2(construct){return function(options,transform,flush){return typeof options=="function"&&(flush=transform,transform=options,options={}),typeof transform!="function"&&(transform=noop3),typeof flush!="function"&&(flush=null),construct(options,transform,flush)}}module2.exports=through2(function(options,transform,flush){var t22=new DestroyableTransform(options);return t22._transform=transform,flush&&(t22._flush=flush),t22});module2.exports.ctor=through2(function(options,transform,flush){function Through2(override){if(!(this instanceof Through2))return new Through2(override);this.options=xtend(options,override),DestroyableTransform.call(this,this.options);}return inherits(Through2,DestroyableTransform),Through2.prototype._transform=transform,flush&&(Through2.prototype._flush=flush),Through2});module2.exports.obj=through2(function(options,transform,flush){var t22=new DestroyableTransform(xtend({objectMode:!0,highWaterMark:16},options));return t22._transform=transform,flush&&(t22._flush=flush),t22});}});var require_buffer_from=__commonJS({"../../node_modules/buffer-from/index.js"(exports,module2){var toString2=Object.prototype.toString,isModern=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function isArrayBuffer(input){return toString2.call(input).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(obj,byteOffset,length){byteOffset>>>=0;var maxLength=obj.byteLength-byteOffset;if(maxLength<0)throw new RangeError("'offset' is out of bounds");if(length===void 0)length=maxLength;else if(length>>>=0,length>maxLength)throw new RangeError("'length' is out of bounds");return isModern?Buffer.from(obj.slice(byteOffset,byteOffset+length)):new Buffer(new Uint8Array(obj.slice(byteOffset,byteOffset+length)))}function fromString(string,encoding){if((typeof encoding!="string"||encoding==="")&&(encoding="utf8"),!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer.from(string,encoding):new Buffer(string,encoding)}function bufferFrom(value2,encodingOrOffset,length){if(typeof value2=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(value2)?fromArrayBuffer(value2,encodingOrOffset,length):typeof value2=="string"?fromString(value2,encodingOrOffset):isModern?Buffer.from(value2):new Buffer(value2)}module2.exports=bufferFrom;}});var require_peek_stream=__commonJS({"../../node_modules/peek-stream/index.js"(exports,module2){var duplexify=require_duplexify(),through=require_through2(),bufferFrom=require_buffer_from(),isObject=function(data){return !Buffer.isBuffer(data)&&typeof data!="string"},peek=function(opts,onpeek){if(typeof opts=="number"&&(opts={maxBuffer:opts}),typeof opts=="function")return peek(null,opts);opts||(opts={});var maxBuffer=typeof opts.maxBuffer=="number"?opts.maxBuffer:65535,strict=opts.strict,newline=opts.newline!==!1,buffer=[],bufferSize=0,dup=duplexify.obj(),peeker=through.obj({highWaterMark:1},function(data,enc,cb3){if(isObject(data))return ready(data,null,cb3);if(Buffer.isBuffer(data)||(data=bufferFrom(data)),newline){var nl2=Array.prototype.indexOf.call(data,10);if(nl2>0&&data[nl2-1]===13&&nl2--,nl2>-1)return buffer.push(data.slice(0,nl2)),ready(Buffer.concat(buffer),data.slice(nl2),cb3)}if(buffer.push(data),bufferSize+=data.length,bufferSize<maxBuffer)return cb3();if(strict)return cb3(new Error("No newline found"));ready(Buffer.concat(buffer),null,cb3);}),onpreend=function(){if(strict)return dup.destroy(new Error("No newline found"));dup.cork(),ready(Buffer.concat(buffer),null,function(err){if(err)return dup.destroy(err);dup.uncork();});},ready=function(data,overflow,cb3){dup.removeListener("preend",onpreend),onpeek(data,function(err,parser3){if(err)return cb3(err);dup.setWritable(parser3),dup.setReadable(parser3),data&&parser3.write(data),overflow&&parser3.write(overflow),overflow=buffer=peeker=null,cb3();});};return dup.on("preend",onpreend),dup.setWritable(peeker),dup};module2.exports=peek;}});var require_pump2=__commonJS({"../../node_modules/pumpify/node_modules/pump/index.js"(exports,module2){var once2=require_once(),eos=require_end_of_stream(),fs13=__require("fs"),noop3=function(){},ancient=/^v?\.0/.test(process.version),isFn=function(fn5){return typeof fn5=="function"},isFS=function(stream3){return !ancient||!fs13?!1:(stream3 instanceof(fs13.ReadStream||noop3)||stream3 instanceof(fs13.WriteStream||noop3))&&isFn(stream3.close)},isRequest2=function(stream3){return stream3.setHeader&&isFn(stream3.abort)},destroyer=function(stream3,reading,writing,callback){callback=once2(callback);var closed=!1;stream3.on("close",function(){closed=!0;}),eos(stream3,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=!0,callback();});var destroyed=!1;return function(err){if(!closed&&!destroyed){if(destroyed=!0,isFS(stream3))return stream3.close(noop3);if(isRequest2(stream3))return stream3.abort();if(isFn(stream3.destroy))return stream3.destroy();callback(err||new Error("stream was destroyed"));}}},call=function(fn5){fn5();},pipe2=function(from,to6){return from.pipe(to6)},pump=function(){var streams=Array.prototype.slice.call(arguments),callback=isFn(streams[streams.length-1]||noop3)&&streams.pop()||noop3;if(Array.isArray(streams[0])&&(streams=streams[0]),streams.length<2)throw new Error("pump requires two streams per minimum");var error2,destroys=streams.map(function(stream3,i7){var reading=i7<streams.length-1,writing=i7>0;return destroyer(stream3,reading,writing,function(err){error2||(error2=err),err&&destroys.forEach(call),!reading&&(destroys.forEach(call),callback(error2));})});streams.reduce(pipe2);};module2.exports=pump;}});var require_isarray3=__commonJS({"../../node_modules/pumpify/node_modules/isarray/index.js"(exports,module2){var toString2={}.toString;module2.exports=Array.isArray||function(arr){return toString2.call(arr)=="[object Array]"};}});var require_stream4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/stream.js"(exports,module2){module2.exports=__require("stream");}});var require_safe_buffer3=__commonJS({"../../node_modules/pumpify/node_modules/safe-buffer/index.js"(exports,module2){var buffer=__require("buffer"),Buffer4=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key];}Buffer4.from&&Buffer4.alloc&&Buffer4.allocUnsafe&&Buffer4.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer4(arg,encodingOrOffset,length)}copyProps(Buffer4,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer4(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer4(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer4(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)};}});var require_BufferList4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports,module2){function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer4=require_safe_buffer3().Buffer,util2=__require("util");function copyBuffer(src,target,offset){src.copy(target,offset);}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0;}return BufferList.prototype.push=function(v12){var entry={data:v12,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length;},BufferList.prototype.unshift=function(v12){var entry={data:v12,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length;},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0;},BufferList.prototype.join=function(s10){if(this.length===0)return "";for(var p7=this.head,ret=""+p7.data;p7=p7.next;)ret+=s10+p7.data;return ret},BufferList.prototype.concat=function(n10){if(this.length===0)return Buffer4.alloc(0);for(var ret=Buffer4.allocUnsafe(n10>>>0),p7=this.head,i7=0;p7;)copyBuffer(p7.data,ret,i7),i7+=p7.data.length,p7=p7.next;return ret},BufferList}();util2&&util2.inspect&&util2.inspect.custom&&(module2.exports.prototype[util2.inspect.custom]=function(){var obj=util2.inspect({length:this.length});return this.constructor.name+" "+obj});}});var require_destroy4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports,module2){var pna=require_process_nextick_args();function destroy(err,cb3){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb3?cb3(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb3&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb3&&cb3(err2);}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function emitErrorNT(self2,err){self2.emit("error",err);}module2.exports={destroy,undestroy};}});var require_stream_writable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_writable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state);};}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex2;Writable.WritableState=WritableState;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var internalUtil={deprecate:require_browser2()},Stream2=require_stream4(),Buffer4=require_safe_buffer3().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy4();util2.inherits(Writable,Stream2);function nop(){}function WritableState(options,stream3){Duplex2=Duplex2||require_stream_duplex4(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er6){onwrite(stream3,er6);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this);}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex2=Duplex2||require_stream_duplex4(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex2))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream2.call(this);}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"));};function writeAfterEnd(stream3,cb3){var er6=new Error("write after end");stream3.emit("error",er6),pna.nextTick(cb3,er6);}function validChunk(stream3,state,chunk,cb3){var valid=!0,er6=!1;return chunk===null?er6=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6&&(stream3.emit("error",er6),pna.nextTick(cb3,er6),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb3){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer4.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb3=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb3!="function"&&(cb3=nop),state.ended?writeAfterEnd(this,cb3):(isBuf||validChunk(this,state,chunk,cb3))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb3)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++;};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state));};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return !state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer4.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream3,state,isBuf,chunk,encoding,cb3){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk);}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb3,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1;}else doWrite(stream3,state,!1,len,chunk,encoding,cb3);return ret}function doWrite(stream3,state,writev,len,chunk,encoding,cb3){state.writelen=len,state.writecb=cb3,state.writing=!0,state.sync=!0,writev?stream3._writev(chunk,state.onwrite):stream3._write(chunk,encoding,state.onwrite),state.sync=!1;}function onwriteError(stream3,state,sync2,er6,cb3){--state.pendingcb,sync2?(pna.nextTick(cb3,er6),pna.nextTick(finishMaybe,stream3,state),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6)):(cb3(er6),stream3._writableState.errorEmitted=!0,stream3.emit("error",er6),finishMaybe(stream3,state));}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0;}function onwrite(stream3,er6){var state=stream3._writableState,sync2=state.sync,cb3=state.writecb;if(onwriteStateUpdate(state),er6)onwriteError(stream3,state,sync2,er6,cb3);else {var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream3,state),sync2?asyncWrite(afterWrite,stream3,state,finished,cb3):afterWrite(stream3,state,finished,cb3);}}function afterWrite(stream3,state,finished,cb3){finished||onwriteDrain(stream3,state),state.pendingcb--,cb3(),finishMaybe(stream3,state);}function onwriteDrain(stream3,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream3.emit("drain"));}function clearBuffer(stream3,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream3._writev&&entry&&entry.next){var l7=state.bufferedRequestCount,buffer=new Array(l7),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream3,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0;}else {for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb3=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream3,state,!1,len,chunk,encoding,cb3),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null);}state.bufferedRequest=entry,state.bufferProcessing=!1;}Writable.prototype._write=function(chunk,encoding,cb3){cb3(new Error("_write() is not implemented"));};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb3){var state=this._writableState;typeof chunk=="function"?(cb3=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb3=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb3);};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream3,state){stream3._final(function(err){state.pendingcb--,err&&stream3.emit("error",err),state.prefinished=!0,stream3.emit("prefinish"),finishMaybe(stream3,state);});}function prefinish(stream3,state){!state.prefinished&&!state.finalCalled&&(typeof stream3._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream3,state)):(state.prefinished=!0,stream3.emit("prefinish")));}function finishMaybe(stream3,state){var need=needFinish(state);return need&&(prefinish(stream3,state),state.pendingcb===0&&(state.finished=!0,stream3.emit("finish"))),need}function endWritable(stream3,state,cb3){state.ending=!0,finishMaybe(stream3,state),cb3&&(state.finished?pna.nextTick(cb3):stream3.once("finish",cb3)),state.ended=!0,stream3.writable=!1;}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb3=entry.callback;state.pendingcb--,cb3(err),entry=entry.next;}state.corkedRequestsFree.next=corkReq;}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value2){this._writableState&&(this._writableState.destroyed=value2);}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb3){this.end(),cb3(err);};}});var require_stream_duplex4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_duplex.js"(exports,module2){var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex2;var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var Readable=require_stream_readable4(),Writable=require_stream_writable4();util2.inherits(Duplex2,Readable);for(keys=objectKeys(Writable.prototype),v12=0;v12<keys.length;v12++)method=keys[v12],Duplex2.prototype[method]||(Duplex2.prototype[method]=Writable.prototype[method]);var keys,method,v12;function Duplex2(options){if(!(this instanceof Duplex2))return new Duplex2(options);Readable.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend);}Object.defineProperty(Duplex2.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this);}function onEndNT(self2){self2.end();}Object.defineProperty(Duplex2.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value2){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value2,this._writableState.destroyed=value2);}});Duplex2.prototype._destroy=function(err,cb3){this.push(null),this.end(),pna.nextTick(cb3,err);};}});var require_stream_readable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_readable.js"(exports,module2){var pna=require_process_nextick_args();module2.exports=Readable;var isArray=require_isarray3(),Duplex2;Readable.ReadableState=ReadableState;__require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream2=require_stream4(),Buffer4=require_safe_buffer3().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer4.from(chunk)}function _isUint8Array(obj){return Buffer4.isBuffer(obj)||obj instanceof OurUint8Array}var util2=Object.create(require_util7());util2.inherits=require_inherits_browser();var debugUtil=__require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList4(),destroyImpl=require_destroy4(),StringDecoder2;util2.inherits(Readable,Stream2);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn5){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn5);!emitter._events||!emitter._events[event]?emitter.on(event,fn5):isArray(emitter._events[event])?emitter._events[event].unshift(fn5):emitter._events[event]=[fn5,emitter._events[event]];}function ReadableState(options,stream3){Duplex2=Duplex2||require_stream_duplex4(),options=options||{};var isDuplex=stream3 instanceof Duplex2;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this.decoder=new StringDecoder2(options.encoding),this.encoding=options.encoding);}function Readable(options){if(Duplex2=Duplex2||require_stream_duplex4(),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream2.call(this);}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value2){this._readableState&&(this._readableState.destroyed=value2);}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb3){this.push(null),cb3(err);};Readable.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer4.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream3,chunk,encoding,addToFront,skipChunkCheck){var state=stream3._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream3,state);else {var er6;skipChunkCheck||(er6=chunkInvalid(state,chunk)),er6?stream3.emit("error",er6):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer4.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream3.emit("error",new Error("stream.unshift() after end event")):addChunk(stream3,state,chunk,!0):state.ended?stream3.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream3,state,chunk,!1):maybeReadMore(stream3,state)):addChunk(stream3,state,chunk,!1))):addToFront||(state.reading=!1);}return needMoreData(state)}function addChunk(stream3,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream3.emit("data",chunk),stream3.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream3)),maybeReadMore(stream3,state);}function chunkInvalid(state,chunk){var er6;return !_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er6=new TypeError("Invalid non-string/buffer chunk")),er6}function needMoreData(state){return !state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable.prototype.setEncoding=function(enc){return StringDecoder2||(StringDecoder2=__require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder2(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n10){return n10>=MAX_HWM?n10=MAX_HWM:(n10--,n10|=n10>>>1,n10|=n10>>>2,n10|=n10>>>4,n10|=n10>>>8,n10|=n10>>>16,n10++),n10}function howMuchToRead(n10,state){return n10<=0||state.length===0&&state.ended?0:state.objectMode?1:n10!==n10?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n10>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n10)),n10<=state.length?n10:state.ended?state.length:(state.needReadable=!0,0))}Readable.prototype.read=function(n10){debug2("read",n10),n10=parseInt(n10,10);var state=this._readableState,nOrig=n10;if(n10!==0&&(state.emittedReadable=!1),n10===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n10=howMuchToRead(n10,state),n10===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n10<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n10=howMuchToRead(nOrig,state)));var ret;return n10>0?ret=fromList(n10,state):ret=null,ret===null?(state.needReadable=!0,n10=0):state.length-=n10,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n10&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream3,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length);}state.ended=!0,emitReadable(stream3);}}function emitReadable(stream3){var state=stream3._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream3):emitReadable_(stream3));}function emitReadable_(stream3){debug2("emit readable"),stream3.emit("readable"),flow(stream3);}function maybeReadMore(stream3,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream3,state));}function maybeReadMore_(stream3,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream3.read(0),len!==state.length);)len=state.length;state.readingMore=!1;}Readable.prototype._read=function(n10){this.emit("error",new Error("_read() is not implemented"));};Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup());}function onend(){debug2("onend"),dest.end();}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain();}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause());}function onerror(er6){debug2("onerror",er6),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er6);}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe();}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe();}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest);}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src));}}Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i7=0;i7<len;i7++)dests[i7].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable.prototype.on=function(ev2,fn5){var res=Stream2.prototype.on.call(this,ev2,fn5);if(ev2==="data")this._readableState.flowing!==!1&&this.resume();else if(ev2==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this));}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0);}Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream3,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream3,state));}function resume_(stream3,state){state.reading||(debug2("resume read 0"),stream3.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream3.emit("resume"),flow(stream3),state.flowing&&!state.reading&&stream3.read(0);}Readable.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream3){var state=stream3._readableState;for(debug2("flow",state.flowing);state.flowing&&stream3.read()!==null;);}Readable.prototype.wrap=function(stream3){var _this=this,state=this._readableState,paused=!1;stream3.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk);}_this.push(null);}),stream3.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream3.pause());}});for(var i7 in stream3)this[i7]===void 0&&typeof stream3[i7]=="function"&&(this[i7]=function(method){return function(){return stream3[method].apply(stream3,arguments)}}(i7));for(var n10=0;n10<kProxyEvents.length;n10++)stream3.on(kProxyEvents[n10],this.emit.bind(this,kProxyEvents[n10]));return this._read=function(n11){debug2("wrapped _read",n11),paused&&(paused=!1,stream3.resume());},this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n10,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n10||n10>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n10,state.buffer,state.decoder),ret}function fromListPartial(n10,list,hasStrings){var ret;return n10<list.head.data.length?(ret=list.head.data.slice(0,n10),list.head.data=list.head.data.slice(n10)):n10===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n10,list):copyFromBuffer(n10,list),ret}function copyFromBufferString(n10,list){var p7=list.head,c10=1,ret=p7.data;for(n10-=ret.length;p7=p7.next;){var str=p7.data,nb4=n10>str.length?str.length:n10;if(nb4===str.length?ret+=str:ret+=str.slice(0,n10),n10-=nb4,n10===0){nb4===str.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=str.slice(nb4));break}++c10;}return list.length-=c10,ret}function copyFromBuffer(n10,list){var ret=Buffer4.allocUnsafe(n10),p7=list.head,c10=1;for(p7.data.copy(ret),n10-=p7.data.length;p7=p7.next;){var buf=p7.data,nb4=n10>buf.length?buf.length:n10;if(buf.copy(ret,ret.length-n10,0,nb4),n10-=nb4,n10===0){nb4===buf.length?(++c10,p7.next?list.head=p7.next:list.head=list.tail=null):(list.head=p7,p7.data=buf.slice(nb4));break}++c10;}return list.length-=c10,ret}function endReadable(stream3){var state=stream3._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream3));}function endReadableNT(state,stream3){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream3.readable=!1,stream3.emit("end"));}function indexOf(xs4,x8){for(var i7=0,l7=xs4.length;i7<l7;i7++)if(xs4[i7]===x8)return i7;return -1}}});var require_stream_transform4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_transform.js"(exports,module2){module2.exports=Transform;var Duplex2=require_stream_duplex4(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(Transform,Duplex2);function afterTransform(er6,data){var ts4=this._transformState;ts4.transforming=!1;var cb3=ts4.writecb;if(!cb3)return this.emit("error",new Error("write callback called multiple times"));ts4.writechunk=null,ts4.writecb=null,data!=null&&this.push(data),cb3(er6);var rs3=this._readableState;rs3.reading=!1,(rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex2.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish);}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er6,data){done(_this,er6,data);}):done(this,null,null);}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex2.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb3){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb3){var ts4=this._transformState;if(ts4.writecb=cb3,ts4.writechunk=chunk,ts4.writeencoding=encoding,!ts4.transforming){var rs3=this._readableState;(ts4.needTransform||rs3.needReadable||rs3.length<rs3.highWaterMark)&&this._read(rs3.highWaterMark);}};Transform.prototype._read=function(n10){var ts4=this._transformState;ts4.writechunk!==null&&ts4.writecb&&!ts4.transforming?(ts4.transforming=!0,this._transform(ts4.writechunk,ts4.writeencoding,ts4.afterTransform)):ts4.needTransform=!0;};Transform.prototype._destroy=function(err,cb3){var _this2=this;Duplex2.prototype._destroy.call(this,err,function(err2){cb3(err2),_this2.emit("close");});};function done(stream3,er6,data){if(er6)return stream3.emit("error",er6);if(data!=null&&stream3.push(data),stream3._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream3._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream3.push(null)}}});var require_stream_passthrough4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/lib/_stream_passthrough.js"(exports,module2){module2.exports=PassThrough;var Transform=require_stream_transform4(),util2=Object.create(require_util7());util2.inherits=require_inherits_browser();util2.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options);}PassThrough.prototype._transform=function(chunk,encoding,cb3){cb3(null,chunk);};}});var require_readable4=__commonJS({"../../node_modules/pumpify/node_modules/readable-stream/readable.js"(exports,module2){var Stream2=__require("stream");process.env.READABLE_STREAM==="disable"&&Stream2?(module2.exports=Stream2,exports=module2.exports=Stream2.Readable,exports.Readable=Stream2.Readable,exports.Writable=Stream2.Writable,exports.Duplex=Stream2.Duplex,exports.Transform=Stream2.Transform,exports.PassThrough=Stream2.PassThrough,exports.Stream=Stream2):(exports=module2.exports=require_stream_readable4(),exports.Stream=Stream2||exports,exports.Readable=exports,exports.Writable=require_stream_writable4(),exports.Duplex=require_stream_duplex4(),exports.Transform=require_stream_transform4(),exports.PassThrough=require_stream_passthrough4());}});var require_duplexify2=__commonJS({"../../node_modules/pumpify/node_modules/duplexify/index.js"(exports,module2){var stream3=require_readable4(),eos=require_end_of_stream(),inherits=require_inherits_browser(),shift=require_stream_shift(),SIGNAL_FLUSH=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),onuncork=function(self2,fn5){self2._corked?self2.once("uncork",fn5):fn5();},autoDestroy=function(self2,err){self2._autoDestroy&&self2.destroy(err);},destroyer=function(self2,end2){return function(err){err?autoDestroy(self2,err.message==="premature close"?null:err):end2&&!self2._ended&&self2.end();}},end=function(ws3,fn5){if(!ws3||ws3._writableState&&ws3._writableState.finished)return fn5();if(ws3._writableState)return ws3.end(fn5);ws3.end(),fn5();},toStreams2=function(rs3){return new stream3.Readable({objectMode:!0,highWaterMark:16}).wrap(rs3)},Duplexify=function(writable,readable,opts){if(!(this instanceof Duplexify))return new Duplexify(writable,readable,opts);stream3.Duplex.call(this,opts),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!opts||opts.autoDestroy!==!1,this._forwardDestroy=!opts||opts.destroy!==!1,this._forwardEnd=!opts||opts.end!==!1,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,writable&&this.setWritable(writable),readable&&this.setReadable(readable);};inherits(Duplexify,stream3.Duplex);Duplexify.obj=function(writable,readable,opts){return opts||(opts={}),opts.objectMode=!0,opts.highWaterMark=16,new Duplexify(writable,readable,opts)};Duplexify.prototype.cork=function(){++this._corked===1&&this.emit("cork");};Duplexify.prototype.uncork=function(){this._corked&&--this._corked===0&&this.emit("uncork");};Duplexify.prototype.setWritable=function(writable){if(this._unwrite&&this._unwrite(),this.destroyed){writable&&writable.destroy&&writable.destroy();return}if(writable===null||writable===!1){this.end();return}var self2=this,unend=eos(writable,{writable:!0,readable:!1},destroyer(this,this._forwardEnd)),ondrain=function(){var ondrain2=self2._ondrain;self2._ondrain=null,ondrain2&&ondrain2();},clear=function(){self2._writable.removeListener("drain",ondrain),unend();};this._unwrite&&process.nextTick(ondrain),this._writable=writable,this._writable.on("drain",ondrain),this._unwrite=clear,this.uncork();};Duplexify.prototype.setReadable=function(readable){if(this._unread&&this._unread(),this.destroyed){readable&&readable.destroy&&readable.destroy();return}if(readable===null||readable===!1){this.push(null),this.resume();return}var self2=this,unend=eos(readable,{writable:!1,readable:!0},destroyer(this)),onreadable=function(){self2._forward();},onend=function(){self2.push(null);},clear=function(){self2._readable2.removeListener("readable",onreadable),self2._readable2.removeListener("end",onend),unend();};this._drained=!0,this._readable=readable,this._readable2=readable._readableState?readable:toStreams2(readable),this._readable2.on("readable",onreadable),this._readable2.on("end",onend),this._unread=clear,this._forward();};Duplexify.prototype._read=function(){this._drained=!0,this._forward();};Duplexify.prototype._forward=function(){if(!(this._forwarding||!this._readable2||!this._drained)){this._forwarding=!0;for(var data;this._drained&&(data=shift(this._readable2))!==null;)this.destroyed||(this._drained=this.push(data));this._forwarding=!1;}};Duplexify.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){self2._destroy(err);});}};Duplexify.prototype._destroy=function(err){if(err){var ondrain=this._ondrain;this._ondrain=null,ondrain?ondrain(err):this.emit("error",err);}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close");};Duplexify.prototype._write=function(data,enc,cb3){if(this.destroyed)return cb3();if(this._corked)return onuncork(this,this._write.bind(this,data,enc,cb3));if(data===SIGNAL_FLUSH)return this._finish(cb3);if(!this._writable)return cb3();this._writable.write(data)===!1?this._ondrain=cb3:cb3();};Duplexify.prototype._finish=function(cb3){var self2=this;this.emit("preend"),onuncork(this,function(){end(self2._forwardEnd&&self2._writable,function(){self2._writableState.prefinished===!1&&(self2._writableState.prefinished=!0),self2.emit("prefinish"),onuncork(self2,cb3);});});};Duplexify.prototype.end=function(data,enc,cb3){return typeof data=="function"?this.end(null,null,data):typeof enc=="function"?this.end(data,null,enc):(this._ended=!0,data&&this.write(data),this._writableState.ending||this.write(SIGNAL_FLUSH),stream3.Writable.prototype.end.call(this,cb3))};module2.exports=Duplexify;}});var require_pumpify=__commonJS({"../../node_modules/pumpify/index.js"(exports,module2){var pump=require_pump2(),inherits=require_inherits_browser(),Duplexify=require_duplexify2(),toArray=function(args){return args.length?Array.isArray(args[0])?args[0]:Array.prototype.slice.call(args):[]},define2=function(opts){var Pumpify=function(){var streams=toArray(arguments);if(!(this instanceof Pumpify))return new Pumpify(streams);Duplexify.call(this,null,null,opts),streams.length&&this.setPipeline(streams);};return inherits(Pumpify,Duplexify),Pumpify.prototype.setPipeline=function(){var streams=toArray(arguments),self2=this,ended=!1,w8=streams[0],r5=streams[streams.length-1];r5=r5.readable?r5:null,w8=w8.writable?w8:null;var onclose=function(){streams[0].emit("error",new Error("stream was destroyed"));};if(this.on("close",onclose),this.on("prefinish",function(){ended||self2.cork();}),pump(streams,function(err){if(self2.removeListener("close",onclose),err)return self2.destroy(err.message==="premature close"?null:err);ended=!0,self2._autoDestroy===!1&&(self2._autoDestroy=!0),self2.uncork();}),this.destroyed)return onclose();this.setWritable(w8),this.setReadable(r5);},Pumpify};module2.exports=define2({autoDestroy:!1,destroy:!1});module2.exports.obj=define2({autoDestroy:!1,destroy:!1,objectMode:!0,highWaterMark:16});module2.exports.ctor=define2;}});var require_is_gzip=__commonJS({"../../node_modules/is-gzip/index.js"(exports,module2){module2.exports=function(buf){return !buf||buf.length<3?!1:buf[0]===31&&buf[1]===139&&buf[2]===8};}});var require_is_deflate=__commonJS({"../../node_modules/is-deflate/index.js"(exports,module2){module2.exports=function(buf){return !buf||buf.length<2?!1:buf[0]===120&&(buf[1]===1||buf[1]===156||buf[1]===218)};}});var require_gunzip_maybe=__commonJS({"../../node_modules/gunzip-maybe/index.js"(exports,module2){var zlib=__require("zlib"),peek=require_peek_stream(),through=require_through2(),pumpify=require_pumpify(),isGzip=require_is_gzip(),isDeflate=require_is_deflate(),isCompressed=function(data){return isGzip(data)?1:isDeflate(data)?2:0},gunzip=function(maxRecursion){return maxRecursion===void 0&&(maxRecursion=3),peek({newline:!1,maxBuffer:10},function(data,swap){if(maxRecursion<0)return swap(new Error("Maximum recursion reached"));switch(isCompressed(data)){case 1:swap(null,pumpify(zlib.createGunzip(),gunzip(maxRecursion-1)));break;case 2:swap(null,pumpify(zlib.createInflate(),gunzip(maxRecursion-1)));break;default:swap(null,through());}})};module2.exports=gunzip;}});var require_tracker_base=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-base.js"(exports,module2){var EventEmitter4=__require("events"),trackerId=0,TrackerBase=class extends EventEmitter4{constructor(name){super(),this.id=++trackerId,this.name=name;}};module2.exports=TrackerBase;}});var require_tracker=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker.js"(exports,module2){var TrackerBase=require_tracker_base(),Tracker=class extends TrackerBase{constructor(name,todo){super(name),this.workDone=0,this.workTodo=todo||0;}completed(){return this.workTodo===0?0:this.workDone/this.workTodo}addWork(work){this.workTodo+=work,this.emit("change",this.name,this.completed(),this);}completeWork(work){this.workDone+=work,this.workDone>this.workTodo&&(this.workDone=this.workTodo),this.emit("change",this.name,this.completed(),this);}finish(){this.workTodo=this.workDone=1,this.emit("change",this.name,1,this);}};module2.exports=Tracker;}});var require_tracker_stream=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-stream.js"(exports,module2){var stream3=__require("stream"),Tracker=require_tracker(),TrackerStream=class extends stream3.Transform{constructor(name,size,options){super(options),this.tracker=new Tracker(name,size),this.name=name,this.id=this.tracker.id,this.tracker.on("change",this.trackerChange.bind(this));}trackerChange(name,completion){this.emit("change",name,completion,this);}_transform(data,encoding,cb3){this.tracker.completeWork(data.length?data.length:1),this.push(data),cb3();}_flush(cb3){this.tracker.finish(),cb3();}completed(){return this.tracker.completed()}addWork(work){return this.tracker.addWork(work)}finish(){return this.tracker.finish()}};module2.exports=TrackerStream;}});var require_tracker_group=__commonJS({"../../node_modules/are-we-there-yet/lib/tracker-group.js"(exports,module2){var TrackerBase=require_tracker_base(),Tracker=require_tracker(),TrackerStream=require_tracker_stream(),TrackerGroup=class _TrackerGroup extends TrackerBase{parentGroup=null;trackers=[];completion={};weight={};totalWeight=0;finished=!1;bubbleChange=bubbleChange(this);nameInTree(){for(var names=[],from=this;from;)names.unshift(from.name),from=from.parentGroup;return names.join("/")}addUnit(unit,weight){if(unit.addUnit){for(var toTest=this;toTest;){if(unit===toTest)throw new Error("Attempted to add tracker group "+unit.name+" to tree that already includes it "+this.nameInTree(this));toTest=toTest.parentGroup;}unit.parentGroup=this;}return this.weight[unit.id]=weight||1,this.totalWeight+=this.weight[unit.id],this.trackers.push(unit),this.completion[unit.id]=unit.completed(),unit.on("change",this.bubbleChange),this.finished||this.emit("change",unit.name,this.completion[unit.id],unit),unit}completed(){if(this.trackers.length===0)return 0;for(var valPerWeight=1/this.totalWeight,completed=0,ii6=0;ii6<this.trackers.length;ii6++){var trackerId=this.trackers[ii6].id;completed+=valPerWeight*this.weight[trackerId]*this.completion[trackerId];}return completed}newGroup(name,weight){return this.addUnit(new _TrackerGroup(name),weight)}newItem(name,todo,weight){return this.addUnit(new Tracker(name,todo),weight)}newStream(name,todo,weight){return this.addUnit(new TrackerStream(name,todo),weight)}finish(){this.finished=!0,this.trackers.length||this.addUnit(new Tracker,1,!0);for(var ii6=0;ii6<this.trackers.length;ii6++){var tracker=this.trackers[ii6];tracker.finish(),tracker.removeListener("change",this.bubbleChange);}this.emit("change",this.name,1,this);}debug(depth=0){let indent=" ".repeat(depth),output=`${indent}${this.name||"top"}: ${this.completed()}
672
673
  `;return this.trackers.forEach(function(tracker){output+=tracker instanceof _TrackerGroup?tracker.debug(depth+1):`${indent} ${tracker.name}: ${tracker.completed()}
673
- `;}),output}};function bubbleChange(trackerGroup){return function(name,completed,tracker){trackerGroup.completion[tracker.id]=completed,!trackerGroup.finished&&trackerGroup.emit("change",name||trackerGroup.name,trackerGroup.completed(),trackerGroup);}}module2.exports=TrackerGroup;}});var require_lib29=__commonJS({"../../node_modules/are-we-there-yet/lib/index.js"(exports){exports.TrackerGroup=require_tracker_group();exports.Tracker=require_tracker();exports.TrackerStream=require_tracker_stream();}});var require_console_control_strings=__commonJS({"../../node_modules/console-control-strings/index.js"(exports){var prefix2="\x1B[";exports.up=function(num){return prefix2+(num||"")+"A"};exports.down=function(num){return prefix2+(num||"")+"B"};exports.forward=function(num){return prefix2+(num||"")+"C"};exports.back=function(num){return prefix2+(num||"")+"D"};exports.nextLine=function(num){return prefix2+(num||"")+"E"};exports.previousLine=function(num){return prefix2+(num||"")+"F"};exports.horizontalAbsolute=function(num){if(num==null)throw new Error("horizontalAboslute requires a column to position to");return prefix2+num+"G"};exports.eraseData=function(){return prefix2+"J"};exports.eraseLine=function(){return prefix2+"K"};exports.goto=function(x8,y7){return prefix2+y7+";"+x8+"H"};exports.gotoSOL=function(){return "\r"};exports.beep=function(){return "\x07"};exports.hideCursor=function(){return prefix2+"?25l"};exports.showCursor=function(){return prefix2+"?25h"};var colors2={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};exports.color=function(colorWith){return (arguments.length!==1||!Array.isArray(colorWith))&&(colorWith=Array.prototype.slice.call(arguments)),prefix2+colorWith.map(colorNameToCode).join(";")+"m"};function colorNameToCode(color){if(colors2[color]!=null)return colors2[color];throw new Error("Unknown color or style name: "+color)}}});var require_align=__commonJS({"../../node_modules/wide-align/align.js"(exports){var stringWidth3=require_string_width();exports.center=alignCenter;exports.left=alignLeft;exports.right=alignRight;function createPadding(width){var result="",string=" ",n10=width;do n10%2&&(result+=string),n10=Math.floor(n10/2),string+=string;while(n10);return result}function alignLeft(str,width){var trimmed=str.trimRight();if(trimmed.length===0&&str.length>=width)return str;var padding="",strWidth=stringWidth3(trimmed);return strWidth<width&&(padding=createPadding(width-strWidth)),trimmed+padding}function alignRight(str,width){var trimmed=str.trimLeft();if(trimmed.length===0&&str.length>=width)return str;var padding="",strWidth=stringWidth3(trimmed);return strWidth<width&&(padding=createPadding(width-strWidth)),padding+trimmed}function alignCenter(str,width){var trimmed=str.trim();if(trimmed.length===0&&str.length>=width)return str;var padLeft="",padRight="",strWidth=stringWidth3(trimmed);if(strWidth<width){var padLeftBy=parseInt((width-strWidth)/2,10);padLeft=createPadding(padLeftBy),padRight=createPadding(width-(strWidth+padLeftBy));}return padLeft+trimmed+padRight}}});var require_aproba=__commonJS({"../../node_modules/aproba/index.js"(exports,module2){module2.exports=validate;function isArguments(thingy){return thingy!=null&&typeof thingy=="object"&&thingy.hasOwnProperty("callee")}var types4={"*":{label:"any",check:()=>!0},A:{label:"array",check:_11=>Array.isArray(_11)||isArguments(_11)},S:{label:"string",check:_11=>typeof _11=="string"},N:{label:"number",check:_11=>typeof _11=="number"},F:{label:"function",check:_11=>typeof _11=="function"},O:{label:"object",check:_11=>typeof _11=="object"&&_11!=null&&!types4.A.check(_11)&&!types4.E.check(_11)},B:{label:"boolean",check:_11=>typeof _11=="boolean"},E:{label:"error",check:_11=>_11 instanceof Error},Z:{label:"null",check:_11=>_11==null}};function addSchema(schema,arity){let group=arity[schema.length]=arity[schema.length]||[];group.indexOf(schema)===-1&&group.push(schema);}function validate(rawSchemas,args){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!rawSchemas)throw missingRequiredArg(0);if(!args)throw missingRequiredArg(1);if(!types4.S.check(rawSchemas))throw invalidType(0,["string"],rawSchemas);if(!types4.A.check(args))throw invalidType(1,["array"],args);let schemas=rawSchemas.split("|"),arity={};schemas.forEach(schema=>{for(let ii6=0;ii6<schema.length;++ii6){let type=schema[ii6];if(!types4[type])throw unknownType2(ii6,type)}if(/E.*E/.test(schema))throw moreThanOneError(schema);addSchema(schema,arity),/E/.test(schema)&&(addSchema(schema.replace(/E.*$/,"E"),arity),addSchema(schema.replace(/E/,"Z"),arity),schema.length===1&&addSchema("",arity));});let matching=arity[args.length];if(!matching)throw wrongNumberOfArgs(Object.keys(arity),args.length);for(let ii6=0;ii6<args.length;++ii6){let newMatching=matching.filter(schema=>{let type=schema[ii6],typeCheck=types4[type].check;return typeCheck(args[ii6])});if(!newMatching.length){let labels=matching.map(_11=>types4[_11[ii6]].label).filter(_11=>_11!=null);throw invalidType(ii6,labels,args[ii6])}matching=newMatching;}}function missingRequiredArg(num){return newException("EMISSINGARG","Missing required argument #"+(num+1))}function unknownType2(num,type){return newException("EUNKNOWNTYPE","Unknown type "+type+" in argument #"+(num+1))}function invalidType(num,expectedTypes,value2){let valueType;return Object.keys(types4).forEach(typeCode=>{types4[typeCode].check(value2)&&(valueType=types4[typeCode].label);}),newException("EINVALIDTYPE","Argument #"+(num+1)+": Expected "+englishList(expectedTypes)+" but got "+valueType)}function englishList(list){return list.join(", ").replace(/, ([^,]+)$/," or $1")}function wrongNumberOfArgs(expected,got2){let english=englishList(expected),args=expected.every(ex=>ex.length===1)?"argument":"arguments";return newException("EWRONGARGCOUNT","Expected "+english+" "+args+" but got "+got2)}function moreThanOneError(schema){return newException("ETOOMANYERRORTYPES",'Only one error type per argument signature is allowed, more than one found in "'+schema+'"')}function newException(code,msg){let err=new Error(msg);return err.code=code,Error.captureStackTrace&&Error.captureStackTrace(err,validate),err}}});var require_ansi_regex2=__commonJS({"../../node_modules/gauge/node_modules/ansi-regex/index.js"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pattern,onlyFirst?void 0:"g")};}});var require_strip_ansi2=__commonJS({"../../node_modules/gauge/node_modules/strip-ansi/index.js"(exports,module2){var ansiRegex3=require_ansi_regex2();module2.exports=string=>typeof string=="string"?string.replace(ansiRegex3(),""):string;}});var require_wide_truncate=__commonJS({"../../node_modules/gauge/lib/wide-truncate.js"(exports,module2){var stringWidth3=require_string_width(),stripAnsi3=require_strip_ansi2();module2.exports=wideTruncate;function wideTruncate(str,target){if(stringWidth3(str)===0)return str;if(target<=0)return "";if(stringWidth3(str)<=target)return str;for(var noAnsi=stripAnsi3(str),ansiSize=str.length+noAnsi.length,truncated=str.slice(0,target+ansiSize);stringWidth3(truncated)>target;)truncated=truncated.slice(0,-1);return truncated}}});var require_error2=__commonJS({"../../node_modules/gauge/lib/error.js"(exports){var util2=__require("util"),User=exports.User=function User2(msg){var err=new Error(msg);return Error.captureStackTrace(err,User2),err.code="EGAUGE",err};exports.MissingTemplateValue=function MissingTemplateValue(item,values){var err=new User(util2.format('Missing template value "%s"',item.type));return Error.captureStackTrace(err,MissingTemplateValue),err.template=item,err.values=values,err};exports.Internal=function Internal(msg){var err=new Error(msg);return Error.captureStackTrace(err,Internal),err.code="EGAUGEINTERNAL",err};}});var require_template_item=__commonJS({"../../node_modules/gauge/lib/template-item.js"(exports,module2){var stringWidth3=require_string_width();module2.exports=TemplateItem;function isPercent(num){return typeof num!="string"?!1:num.slice(-1)==="%"}function percent(num){return Number(num.slice(0,-1))/100}function TemplateItem(values,outputLength){if(this.overallOutputLength=outputLength,this.finished=!1,this.type=null,this.value=null,this.length=null,this.maxLength=null,this.minLength=null,this.kerning=null,this.align="left",this.padLeft=0,this.padRight=0,this.index=null,this.first=null,this.last=null,typeof values=="string")this.value=values;else for(var prop in values)this[prop]=values[prop];return isPercent(this.length)&&(this.length=Math.round(this.overallOutputLength*percent(this.length))),isPercent(this.minLength)&&(this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))),isPercent(this.maxLength)&&(this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))),this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var length=this.length;return length==null&&typeof this.value=="string"&&this.maxLength==null&&this.minLength==null&&(length=stringWidth3(this.value)),length};TemplateItem.prototype.getLength=function(){var length=this.getBaseLength();return length==null?null:length+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){return this.maxLength==null?null:this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){return this.minLength==null?null:this.minLength+this.padLeft+this.padRight};}});var require_render_template=__commonJS({"../../node_modules/gauge/lib/render-template.js"(exports,module2){var align=require_align(),validate=require_aproba(),wideTruncate=require_wide_truncate(),error2=require_error2(),TemplateItem=require_template_item();function renderValueWithValues(values){return function(item){return renderValue(item,values)}}var renderTemplate=module2.exports=function(width,template,values){var items=prepareItems(width,template,values),rendered=items.map(renderValueWithValues(values)).join("");return align.left(wideTruncate(rendered,width),width)};function preType(item){var cappedTypeName=item.type[0].toUpperCase()+item.type.slice(1);return "pre"+cappedTypeName}function postType(item){var cappedTypeName=item.type[0].toUpperCase()+item.type.slice(1);return "post"+cappedTypeName}function hasPreOrPost(item,values){if(item.type)return values[preType(item)]||values[postType(item)]}function generatePreAndPost(baseItem,parentValues){var item=Object.assign({},baseItem),values=Object.create(parentValues),template=[],pre2=preType(item),post=postType(item);return values[pre2]&&(template.push({value:values[pre2]}),values[pre2]=null),item.minLength=null,item.length=null,item.maxLength=null,template.push(item),values[item.type]=values[item.type],values[post]&&(template.push({value:values[post]}),values[post]=null),function($12,$22,length){return renderTemplate(length,template,values)}}function prepareItems(width,template,values){function cloneAndObjectify(item,index,arr){var cloned=new TemplateItem(item,width),type=cloned.type;if(cloned.value==null)if(type in values)cloned.value=values[type];else {if(cloned.default==null)throw new error2.MissingTemplateValue(cloned,values);cloned.value=cloned.default;}return cloned.value==null||cloned.value===""?null:(cloned.index=index,cloned.first=index===0,cloned.last=index===arr.length-1,hasPreOrPost(cloned,values)&&(cloned.value=generatePreAndPost(cloned,values)),cloned)}var output=template.map(cloneAndObjectify).filter(function(item){return item!=null}),remainingSpace=width,variableCount=output.length;function consumeSpace(length){length>remainingSpace&&(length=remainingSpace),remainingSpace-=length;}function finishSizing(item,length){if(item.finished)throw new error2.Internal("Tried to finish template item that was already finished");if(length===1/0)throw new error2.Internal("Length of template item cannot be infinity");if(length!=null&&(item.length=length),item.minLength=null,item.maxLength=null,--variableCount,item.finished=!0,item.length==null&&(item.length=item.getBaseLength()),item.length==null)throw new error2.Internal("Finished template items must have a length");consumeSpace(item.getLength());}output.forEach(function(item){if(item.kerning){var prevPadRight=item.first?0:output[item.index-1].padRight;!item.first&&prevPadRight<item.kerning&&(item.padLeft=item.kerning-prevPadRight),item.last||(item.padRight=item.kerning);}}),output.forEach(function(item){item.getBaseLength()!=null&&finishSizing(item);});var resized=0,resizing,hunkSize;do resizing=!1,hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||item.maxLength&&item.getMaxLength()<hunkSize&&(finishSizing(item,item.maxLength),resizing=!0);});while(resizing&&resized++<output.length);if(resizing)throw new error2.Internal("Resize loop iterated too many times while determining maxLength");resized=0;do resizing=!1,hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||item.minLength&&item.getMinLength()>=hunkSize&&(finishSizing(item,item.minLength),resizing=!0);});while(resizing&&resized++<output.length);if(resizing)throw new error2.Internal("Resize loop iterated too many times while determining minLength");return hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||finishSizing(item,hunkSize);}),output}function renderFunction(item,values,length){return validate("OON",arguments),item.type?item.value(values,values[item.type+"Theme"]||{},length):item.value(values,{},length)}function renderValue(item,values){var length=item.getBaseLength(),value2=typeof item.value=="function"?renderFunction(item,values,length):item.value;if(value2==null||value2==="")return "";var alignWith=align[item.align]||align.left,leftPadding=item.padLeft?align.left("",item.padLeft):"",rightPadding=item.padRight?align.right("",item.padRight):"",truncated=wideTruncate(String(value2),length),aligned=alignWith(truncated,length);return leftPadding+aligned+rightPadding}}});var require_plumbing=__commonJS({"../../node_modules/gauge/lib/plumbing.js"(exports,module2){var consoleControl=require_console_control_strings(),renderTemplate=require_render_template(),validate=require_aproba(),Plumbing=module2.exports=function(theme,template,width){width||(width=80),validate("OAN",[theme,template,width]),this.showing=!1,this.theme=theme,this.width=width,this.template=template;};Plumbing.prototype={};Plumbing.prototype.setTheme=function(theme){validate("O",[theme]),this.theme=theme;};Plumbing.prototype.setTemplate=function(template){validate("A",[template]),this.template=template;};Plumbing.prototype.setWidth=function(width){validate("N",[width]),this.width=width;};Plumbing.prototype.hide=function(){return consoleControl.gotoSOL()+consoleControl.eraseLine()};Plumbing.prototype.hideCursor=consoleControl.hideCursor;Plumbing.prototype.showCursor=consoleControl.showCursor;Plumbing.prototype.show=function(status){var values=Object.create(this.theme);for(var key in status)values[key]=status[key];return renderTemplate(this.width,this.template,values).trim()+consoleControl.color("reset")+consoleControl.eraseLine()+consoleControl.gotoSOL()};}});var require_has_unicode=__commonJS({"../../node_modules/has-unicode/index.js"(exports,module2){var os8=__require("os");module2.exports=function(){if(os8.type()=="Windows_NT")return !1;var isUTF8=/UTF-?8$/i,ctype=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return isUTF8.test(ctype)};}});var require_browser4=__commonJS({"../../node_modules/color-support/browser.js"(exports,module2){module2.exports=colorSupport({alwaysReturn:!0},colorSupport);function colorSupport(options,obj){return obj=obj||{},options=options||{},obj.level=0,obj.hasBasic=!1,obj.has256=!1,obj.has16m=!1,options.alwaysReturn?obj:!1}}});var require_has_color=__commonJS({"../../node_modules/gauge/lib/has-color.js"(exports,module2){var colorSupport=require_browser4();module2.exports=colorSupport().hasBasic;}});var require_signals=__commonJS({"../../node_modules/gauge/node_modules/signal-exit/dist/cjs/signals.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.signals=void 0;exports.signals=[];exports.signals.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&exports.signals.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&exports.signals.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");}});var require_cjs=__commonJS({"../../node_modules/gauge/node_modules/signal-exit/dist/cjs/index.js"(exports){var _a2;Object.defineProperty(exports,"__esModule",{value:!0});exports.unload=exports.load=exports.onExit=exports.signals=void 0;var signals_js_1=require_signals();Object.defineProperty(exports,"signals",{enumerable:!0,get:function(){return signals_js_1.signals}});var processOk2=process13=>!!process13&&typeof process13=="object"&&typeof process13.removeListener=="function"&&typeof process13.emit=="function"&&typeof process13.reallyExit=="function"&&typeof process13.listeners=="function"&&typeof process13.kill=="function"&&typeof process13.pid=="number"&&typeof process13.on=="function",kExitEmitter2=Symbol.for("signal-exit emitter"),global3=globalThis,ObjectDefineProperty2=Object.defineProperty.bind(Object),Emitter2=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(global3[kExitEmitter2])return global3[kExitEmitter2];ObjectDefineProperty2(global3,kExitEmitter2,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(ev2,fn5){this.listeners[ev2].push(fn5);}removeListener(ev2,fn5){let list=this.listeners[ev2],i7=list.indexOf(fn5);i7!==-1&&(i7===0&&list.length===1?list.length=0:list.splice(i7,1));}emit(ev2,code,signal){if(this.emitted[ev2])return !1;this.emitted[ev2]=!0;let ret=!1;for(let fn5 of this.listeners[ev2])ret=fn5(code,signal)===!0||ret;return ev2==="exit"&&(ret=this.emit("afterExit",code,signal)||ret),ret}},SignalExitBase2=class{},signalExitWrap2=handler=>({onExit(cb3,opts){return handler.onExit(cb3,opts)},load(){return handler.load()},unload(){return handler.unload()}}),SignalExitFallback2=class extends SignalExitBase2{onExit(){return ()=>{}}load(){}unload(){}},SignalExit2=class extends SignalExitBase2{#hupSig=process12.platform==="win32"?"SIGINT":"SIGHUP";#emitter=new Emitter2;#process;#originalProcessEmit;#originalProcessReallyExit;#sigListeners={};#loaded=!1;constructor(process13){super(),this.#process=process13,this.#sigListeners={};for(let sig of signals_js_1.signals)this.#sigListeners[sig]=()=>{let listeners=this.#process.listeners(sig),{count}=this.#emitter,p7=process13;if(typeof p7.__signal_exit_emitter__=="object"&&typeof p7.__signal_exit_emitter__.count=="number"&&(count+=p7.__signal_exit_emitter__.count),listeners.length===count){this.unload();let ret=this.#emitter.emit("exit",null,sig),s10=sig==="SIGHUP"?this.#hupSig:sig;ret||process13.kill(process13.pid,s10);}};this.#originalProcessReallyExit=process13.reallyExit,this.#originalProcessEmit=process13.emit;}onExit(cb3,opts){if(!processOk2(this.#process))return ()=>{};this.#loaded===!1&&this.load();let ev2=opts?.alwaysLast?"afterExit":"exit";return this.#emitter.on(ev2,cb3),()=>{this.#emitter.removeListener(ev2,cb3),this.#emitter.listeners.exit.length===0&&this.#emitter.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#loaded){this.#loaded=!0,this.#emitter.count+=1;for(let sig of signals_js_1.signals)try{let fn5=this.#sigListeners[sig];fn5&&this.#process.on(sig,fn5);}catch{}this.#process.emit=(ev2,...a5)=>this.#processEmit(ev2,...a5),this.#process.reallyExit=code=>this.#processReallyExit(code);}}unload(){this.#loaded&&(this.#loaded=!1,signals_js_1.signals.forEach(sig=>{let listener=this.#sigListeners[sig];if(!listener)throw new Error("Listener not defined for signal: "+sig);try{this.#process.removeListener(sig,listener);}catch{}}),this.#process.emit=this.#originalProcessEmit,this.#process.reallyExit=this.#originalProcessReallyExit,this.#emitter.count-=1);}#processReallyExit(code){return processOk2(this.#process)?(this.#process.exitCode=code||0,this.#emitter.emit("exit",this.#process.exitCode,null),this.#originalProcessReallyExit.call(this.#process,this.#process.exitCode)):0}#processEmit(ev2,...args){let og4=this.#originalProcessEmit;if(ev2==="exit"&&processOk2(this.#process)){typeof args[0]=="number"&&(this.#process.exitCode=args[0]);let ret=og4.call(this.#process,ev2,...args);return this.#emitter.emit("exit",this.#process.exitCode,null),ret}else return og4.call(this.#process,ev2,...args)}},process12=globalThis.process;_a2=signalExitWrap2(processOk2(process12)?new SignalExit2(process12):new SignalExitFallback2),exports.onExit=_a2.onExit,exports.load=_a2.load,exports.unload=_a2.unload;}});var require_spin=__commonJS({"../../node_modules/gauge/lib/spin.js"(exports,module2){module2.exports=function(spinstr,spun){return spinstr[spun%spinstr.length]};}});var require_progress_bar=__commonJS({"../../node_modules/gauge/lib/progress-bar.js"(exports,module2){var validate=require_aproba(),renderTemplate=require_render_template(),wideTruncate=require_wide_truncate(),stringWidth3=require_string_width();module2.exports=function(theme,width,completed){if(validate("ONN",[theme,width,completed]),completed<0&&(completed=0),completed>1&&(completed=1),width<=0)return "";var sofar=Math.round(width*completed),rest=width-sofar,template=[{type:"complete",value:repeat(theme.complete,sofar),length:sofar},{type:"remaining",value:repeat(theme.remaining,rest),length:rest}];return renderTemplate(width,template,theme)};function repeat(string,width){var result="",n10=width;do n10%2&&(result+=string),n10=Math.floor(n10/2),string+=string;while(n10&&stringWidth3(result)<width);return wideTruncate(result,width)}}});var require_base_theme=__commonJS({"../../node_modules/gauge/lib/base-theme.js"(exports,module2){var spin=require_spin(),progressBar=require_progress_bar();module2.exports={activityIndicator:function(values,theme){if(values.spun!=null)return spin(theme,values.spun)},progressbar:function(values,theme,width){if(values.completed!=null)return progressBar(theme,width,values.completed)}};}});var require_theme_set=__commonJS({"../../node_modules/gauge/lib/theme-set.js"(exports,module2){module2.exports=function(){return ThemeSetProto.newThemeSet()};var ThemeSetProto={};ThemeSetProto.baseTheme=require_base_theme();ThemeSetProto.newTheme=function(parent,theme){return theme||(theme=parent,parent=this.baseTheme),Object.assign({},parent,theme)};ThemeSetProto.getThemeNames=function(){return Object.keys(this.themes)};ThemeSetProto.addTheme=function(name,parent,theme){this.themes[name]=this.newTheme(parent,theme);};ThemeSetProto.addToAllThemes=function(theme){var themes=this.themes;Object.keys(themes).forEach(function(name){Object.assign(themes[name],theme);}),Object.assign(this.baseTheme,theme);};ThemeSetProto.getTheme=function(name){if(!this.themes[name])throw this.newMissingThemeError(name);return this.themes[name]};ThemeSetProto.setDefault=function(opts,name){name==null&&(name=opts,opts={});var platform5=opts.platform==null?"fallback":opts.platform,hasUnicode=!!opts.hasUnicode,hasColor=!!opts.hasColor;this.defaults[platform5]||(this.defaults[platform5]={true:{},false:{}}),this.defaults[platform5][hasUnicode][hasColor]=name;};ThemeSetProto.getDefault=function(opts){opts||(opts={});var platformName=opts.platform||process.platform,platform5=this.defaults[platformName]||this.defaults.fallback,hasUnicode=!!opts.hasUnicode,hasColor=!!opts.hasColor;if(!platform5)throw this.newMissingDefaultThemeError(platformName,hasUnicode,hasColor);if(!platform5[hasUnicode][hasColor]){if(hasUnicode&&hasColor&&platform5[!hasUnicode][hasColor])hasUnicode=!1;else if(hasUnicode&&hasColor&&platform5[hasUnicode][!hasColor])hasColor=!1;else if(hasUnicode&&hasColor&&platform5[!hasUnicode][!hasColor])hasUnicode=!1,hasColor=!1;else if(hasUnicode&&!hasColor&&platform5[!hasUnicode][hasColor])hasUnicode=!1;else if(!hasUnicode&&hasColor&&platform5[hasUnicode][!hasColor])hasColor=!1;else if(platform5===this.defaults.fallback)throw this.newMissingDefaultThemeError(platformName,hasUnicode,hasColor)}return platform5[hasUnicode][hasColor]?this.getTheme(platform5[hasUnicode][hasColor]):this.getDefault(Object.assign({},opts,{platform:"fallback"}))};ThemeSetProto.newMissingThemeError=function newMissingThemeError(name){var err=new Error('Could not find a gauge theme named "'+name+'"');return Error.captureStackTrace.call(err,newMissingThemeError),err.theme=name,err.code="EMISSINGTHEME",err};ThemeSetProto.newMissingDefaultThemeError=function newMissingDefaultThemeError(platformName,hasUnicode,hasColor){var err=new Error(`Could not find a gauge theme for your platform/unicode/color use combo:
674
+ `;}),output}};function bubbleChange(trackerGroup){return function(name,completed,tracker){trackerGroup.completion[tracker.id]=completed,!trackerGroup.finished&&trackerGroup.emit("change",name||trackerGroup.name,trackerGroup.completed(),trackerGroup);}}module2.exports=TrackerGroup;}});var require_lib29=__commonJS({"../../node_modules/are-we-there-yet/lib/index.js"(exports){exports.TrackerGroup=require_tracker_group();exports.Tracker=require_tracker();exports.TrackerStream=require_tracker_stream();}});var require_console_control_strings=__commonJS({"../../node_modules/console-control-strings/index.js"(exports){var prefix2="\x1B[";exports.up=function(num){return prefix2+(num||"")+"A"};exports.down=function(num){return prefix2+(num||"")+"B"};exports.forward=function(num){return prefix2+(num||"")+"C"};exports.back=function(num){return prefix2+(num||"")+"D"};exports.nextLine=function(num){return prefix2+(num||"")+"E"};exports.previousLine=function(num){return prefix2+(num||"")+"F"};exports.horizontalAbsolute=function(num){if(num==null)throw new Error("horizontalAboslute requires a column to position to");return prefix2+num+"G"};exports.eraseData=function(){return prefix2+"J"};exports.eraseLine=function(){return prefix2+"K"};exports.goto=function(x8,y7){return prefix2+y7+";"+x8+"H"};exports.gotoSOL=function(){return "\r"};exports.beep=function(){return "\x07"};exports.hideCursor=function(){return prefix2+"?25l"};exports.showCursor=function(){return prefix2+"?25h"};var colors2={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};exports.color=function(colorWith){return (arguments.length!==1||!Array.isArray(colorWith))&&(colorWith=Array.prototype.slice.call(arguments)),prefix2+colorWith.map(colorNameToCode).join(";")+"m"};function colorNameToCode(color){if(colors2[color]!=null)return colors2[color];throw new Error("Unknown color or style name: "+color)}}});var require_align=__commonJS({"../../node_modules/wide-align/align.js"(exports){var stringWidth3=require_string_width();exports.center=alignCenter;exports.left=alignLeft;exports.right=alignRight;function createPadding(width){var result="",string=" ",n10=width;do n10%2&&(result+=string),n10=Math.floor(n10/2),string+=string;while(n10);return result}function alignLeft(str,width){var trimmed=str.trimRight();if(trimmed.length===0&&str.length>=width)return str;var padding="",strWidth=stringWidth3(trimmed);return strWidth<width&&(padding=createPadding(width-strWidth)),trimmed+padding}function alignRight(str,width){var trimmed=str.trimLeft();if(trimmed.length===0&&str.length>=width)return str;var padding="",strWidth=stringWidth3(trimmed);return strWidth<width&&(padding=createPadding(width-strWidth)),padding+trimmed}function alignCenter(str,width){var trimmed=str.trim();if(trimmed.length===0&&str.length>=width)return str;var padLeft="",padRight="",strWidth=stringWidth3(trimmed);if(strWidth<width){var padLeftBy=parseInt((width-strWidth)/2,10);padLeft=createPadding(padLeftBy),padRight=createPadding(width-(strWidth+padLeftBy));}return padLeft+trimmed+padRight}}});var require_aproba=__commonJS({"../../node_modules/aproba/index.js"(exports,module2){module2.exports=validate;function isArguments(thingy){return thingy!=null&&typeof thingy=="object"&&thingy.hasOwnProperty("callee")}var types4={"*":{label:"any",check:()=>!0},A:{label:"array",check:_11=>Array.isArray(_11)||isArguments(_11)},S:{label:"string",check:_11=>typeof _11=="string"},N:{label:"number",check:_11=>typeof _11=="number"},F:{label:"function",check:_11=>typeof _11=="function"},O:{label:"object",check:_11=>typeof _11=="object"&&_11!=null&&!types4.A.check(_11)&&!types4.E.check(_11)},B:{label:"boolean",check:_11=>typeof _11=="boolean"},E:{label:"error",check:_11=>_11 instanceof Error},Z:{label:"null",check:_11=>_11==null}};function addSchema(schema,arity){let group=arity[schema.length]=arity[schema.length]||[];group.indexOf(schema)===-1&&group.push(schema);}function validate(rawSchemas,args){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!rawSchemas)throw missingRequiredArg(0);if(!args)throw missingRequiredArg(1);if(!types4.S.check(rawSchemas))throw invalidType(0,["string"],rawSchemas);if(!types4.A.check(args))throw invalidType(1,["array"],args);let schemas=rawSchemas.split("|"),arity={};schemas.forEach(schema=>{for(let ii6=0;ii6<schema.length;++ii6){let type=schema[ii6];if(!types4[type])throw unknownType2(ii6,type)}if(/E.*E/.test(schema))throw moreThanOneError(schema);addSchema(schema,arity),/E/.test(schema)&&(addSchema(schema.replace(/E.*$/,"E"),arity),addSchema(schema.replace(/E/,"Z"),arity),schema.length===1&&addSchema("",arity));});let matching=arity[args.length];if(!matching)throw wrongNumberOfArgs(Object.keys(arity),args.length);for(let ii6=0;ii6<args.length;++ii6){let newMatching=matching.filter(schema=>{let type=schema[ii6],typeCheck=types4[type].check;return typeCheck(args[ii6])});if(!newMatching.length){let labels=matching.map(_11=>types4[_11[ii6]].label).filter(_11=>_11!=null);throw invalidType(ii6,labels,args[ii6])}matching=newMatching;}}function missingRequiredArg(num){return newException("EMISSINGARG","Missing required argument #"+(num+1))}function unknownType2(num,type){return newException("EUNKNOWNTYPE","Unknown type "+type+" in argument #"+(num+1))}function invalidType(num,expectedTypes,value2){let valueType;return Object.keys(types4).forEach(typeCode=>{types4[typeCode].check(value2)&&(valueType=types4[typeCode].label);}),newException("EINVALIDTYPE","Argument #"+(num+1)+": Expected "+englishList(expectedTypes)+" but got "+valueType)}function englishList(list){return list.join(", ").replace(/, ([^,]+)$/," or $1")}function wrongNumberOfArgs(expected,got2){let english=englishList(expected),args=expected.every(ex=>ex.length===1)?"argument":"arguments";return newException("EWRONGARGCOUNT","Expected "+english+" "+args+" but got "+got2)}function moreThanOneError(schema){return newException("ETOOMANYERRORTYPES",'Only one error type per argument signature is allowed, more than one found in "'+schema+'"')}function newException(code,msg){let err=new Error(msg);return err.code=code,Error.captureStackTrace&&Error.captureStackTrace(err,validate),err}}});var require_ansi_regex2=__commonJS({"../../node_modules/gauge/node_modules/ansi-regex/index.js"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pattern,onlyFirst?void 0:"g")};}});var require_strip_ansi2=__commonJS({"../../node_modules/gauge/node_modules/strip-ansi/index.js"(exports,module2){var ansiRegex3=require_ansi_regex2();module2.exports=string=>typeof string=="string"?string.replace(ansiRegex3(),""):string;}});var require_wide_truncate=__commonJS({"../../node_modules/gauge/lib/wide-truncate.js"(exports,module2){var stringWidth3=require_string_width(),stripAnsi3=require_strip_ansi2();module2.exports=wideTruncate;function wideTruncate(str,target){if(stringWidth3(str)===0)return str;if(target<=0)return "";if(stringWidth3(str)<=target)return str;for(var noAnsi=stripAnsi3(str),ansiSize=str.length+noAnsi.length,truncated=str.slice(0,target+ansiSize);stringWidth3(truncated)>target;)truncated=truncated.slice(0,-1);return truncated}}});var require_error2=__commonJS({"../../node_modules/gauge/lib/error.js"(exports){var util2=__require("util"),User=exports.User=function User2(msg){var err=new Error(msg);return Error.captureStackTrace(err,User2),err.code="EGAUGE",err};exports.MissingTemplateValue=function MissingTemplateValue(item,values){var err=new User(util2.format('Missing template value "%s"',item.type));return Error.captureStackTrace(err,MissingTemplateValue),err.template=item,err.values=values,err};exports.Internal=function Internal(msg){var err=new Error(msg);return Error.captureStackTrace(err,Internal),err.code="EGAUGEINTERNAL",err};}});var require_template_item=__commonJS({"../../node_modules/gauge/lib/template-item.js"(exports,module2){var stringWidth3=require_string_width();module2.exports=TemplateItem;function isPercent(num){return typeof num!="string"?!1:num.slice(-1)==="%"}function percent(num){return Number(num.slice(0,-1))/100}function TemplateItem(values,outputLength){if(this.overallOutputLength=outputLength,this.finished=!1,this.type=null,this.value=null,this.length=null,this.maxLength=null,this.minLength=null,this.kerning=null,this.align="left",this.padLeft=0,this.padRight=0,this.index=null,this.first=null,this.last=null,typeof values=="string")this.value=values;else for(var prop in values)this[prop]=values[prop];return isPercent(this.length)&&(this.length=Math.round(this.overallOutputLength*percent(this.length))),isPercent(this.minLength)&&(this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))),isPercent(this.maxLength)&&(this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))),this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var length=this.length;return length==null&&typeof this.value=="string"&&this.maxLength==null&&this.minLength==null&&(length=stringWidth3(this.value)),length};TemplateItem.prototype.getLength=function(){var length=this.getBaseLength();return length==null?null:length+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){return this.maxLength==null?null:this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){return this.minLength==null?null:this.minLength+this.padLeft+this.padRight};}});var require_render_template=__commonJS({"../../node_modules/gauge/lib/render-template.js"(exports,module2){var align=require_align(),validate=require_aproba(),wideTruncate=require_wide_truncate(),error2=require_error2(),TemplateItem=require_template_item();function renderValueWithValues(values){return function(item){return renderValue(item,values)}}var renderTemplate=module2.exports=function(width,template,values){var items=prepareItems(width,template,values),rendered=items.map(renderValueWithValues(values)).join("");return align.left(wideTruncate(rendered,width),width)};function preType(item){var cappedTypeName=item.type[0].toUpperCase()+item.type.slice(1);return "pre"+cappedTypeName}function postType(item){var cappedTypeName=item.type[0].toUpperCase()+item.type.slice(1);return "post"+cappedTypeName}function hasPreOrPost(item,values){if(item.type)return values[preType(item)]||values[postType(item)]}function generatePreAndPost(baseItem,parentValues){var item=Object.assign({},baseItem),values=Object.create(parentValues),template=[],pre2=preType(item),post=postType(item);return values[pre2]&&(template.push({value:values[pre2]}),values[pre2]=null),item.minLength=null,item.length=null,item.maxLength=null,template.push(item),values[item.type]=values[item.type],values[post]&&(template.push({value:values[post]}),values[post]=null),function($12,$22,length){return renderTemplate(length,template,values)}}function prepareItems(width,template,values){function cloneAndObjectify(item,index,arr){var cloned=new TemplateItem(item,width),type=cloned.type;if(cloned.value==null)if(type in values)cloned.value=values[type];else {if(cloned.default==null)throw new error2.MissingTemplateValue(cloned,values);cloned.value=cloned.default;}return cloned.value==null||cloned.value===""?null:(cloned.index=index,cloned.first=index===0,cloned.last=index===arr.length-1,hasPreOrPost(cloned,values)&&(cloned.value=generatePreAndPost(cloned,values)),cloned)}var output=template.map(cloneAndObjectify).filter(function(item){return item!=null}),remainingSpace=width,variableCount=output.length;function consumeSpace(length){length>remainingSpace&&(length=remainingSpace),remainingSpace-=length;}function finishSizing(item,length){if(item.finished)throw new error2.Internal("Tried to finish template item that was already finished");if(length===1/0)throw new error2.Internal("Length of template item cannot be infinity");if(length!=null&&(item.length=length),item.minLength=null,item.maxLength=null,--variableCount,item.finished=!0,item.length==null&&(item.length=item.getBaseLength()),item.length==null)throw new error2.Internal("Finished template items must have a length");consumeSpace(item.getLength());}output.forEach(function(item){if(item.kerning){var prevPadRight=item.first?0:output[item.index-1].padRight;!item.first&&prevPadRight<item.kerning&&(item.padLeft=item.kerning-prevPadRight),item.last||(item.padRight=item.kerning);}}),output.forEach(function(item){item.getBaseLength()!=null&&finishSizing(item);});var resized=0,resizing,hunkSize;do resizing=!1,hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||item.maxLength&&item.getMaxLength()<hunkSize&&(finishSizing(item,item.maxLength),resizing=!0);});while(resizing&&resized++<output.length);if(resizing)throw new error2.Internal("Resize loop iterated too many times while determining maxLength");resized=0;do resizing=!1,hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||item.minLength&&item.getMinLength()>=hunkSize&&(finishSizing(item,item.minLength),resizing=!0);});while(resizing&&resized++<output.length);if(resizing)throw new error2.Internal("Resize loop iterated too many times while determining minLength");return hunkSize=Math.round(remainingSpace/variableCount),output.forEach(function(item){item.finished||finishSizing(item,hunkSize);}),output}function renderFunction(item,values,length){return validate("OON",arguments),item.type?item.value(values,values[item.type+"Theme"]||{},length):item.value(values,{},length)}function renderValue(item,values){var length=item.getBaseLength(),value2=typeof item.value=="function"?renderFunction(item,values,length):item.value;if(value2==null||value2==="")return "";var alignWith=align[item.align]||align.left,leftPadding=item.padLeft?align.left("",item.padLeft):"",rightPadding=item.padRight?align.right("",item.padRight):"",truncated=wideTruncate(String(value2),length),aligned=alignWith(truncated,length);return leftPadding+aligned+rightPadding}}});var require_plumbing=__commonJS({"../../node_modules/gauge/lib/plumbing.js"(exports,module2){var consoleControl=require_console_control_strings(),renderTemplate=require_render_template(),validate=require_aproba(),Plumbing=module2.exports=function(theme,template,width){width||(width=80),validate("OAN",[theme,template,width]),this.showing=!1,this.theme=theme,this.width=width,this.template=template;};Plumbing.prototype={};Plumbing.prototype.setTheme=function(theme){validate("O",[theme]),this.theme=theme;};Plumbing.prototype.setTemplate=function(template){validate("A",[template]),this.template=template;};Plumbing.prototype.setWidth=function(width){validate("N",[width]),this.width=width;};Plumbing.prototype.hide=function(){return consoleControl.gotoSOL()+consoleControl.eraseLine()};Plumbing.prototype.hideCursor=consoleControl.hideCursor;Plumbing.prototype.showCursor=consoleControl.showCursor;Plumbing.prototype.show=function(status){var values=Object.create(this.theme);for(var key in status)values[key]=status[key];return renderTemplate(this.width,this.template,values).trim()+consoleControl.color("reset")+consoleControl.eraseLine()+consoleControl.gotoSOL()};}});var require_has_unicode=__commonJS({"../../node_modules/has-unicode/index.js"(exports,module2){var os9=__require("os");module2.exports=function(){if(os9.type()=="Windows_NT")return !1;var isUTF8=/UTF-?8$/i,ctype=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return isUTF8.test(ctype)};}});var require_browser4=__commonJS({"../../node_modules/color-support/browser.js"(exports,module2){module2.exports=colorSupport({alwaysReturn:!0},colorSupport);function colorSupport(options,obj){return obj=obj||{},options=options||{},obj.level=0,obj.hasBasic=!1,obj.has256=!1,obj.has16m=!1,options.alwaysReturn?obj:!1}}});var require_has_color=__commonJS({"../../node_modules/gauge/lib/has-color.js"(exports,module2){var colorSupport=require_browser4();module2.exports=colorSupport().hasBasic;}});var require_signals=__commonJS({"../../node_modules/gauge/node_modules/signal-exit/dist/cjs/signals.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.signals=void 0;exports.signals=[];exports.signals.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&exports.signals.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&exports.signals.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");}});var require_cjs=__commonJS({"../../node_modules/gauge/node_modules/signal-exit/dist/cjs/index.js"(exports){var _a2;Object.defineProperty(exports,"__esModule",{value:!0});exports.unload=exports.load=exports.onExit=exports.signals=void 0;var signals_js_1=require_signals();Object.defineProperty(exports,"signals",{enumerable:!0,get:function(){return signals_js_1.signals}});var processOk2=process13=>!!process13&&typeof process13=="object"&&typeof process13.removeListener=="function"&&typeof process13.emit=="function"&&typeof process13.reallyExit=="function"&&typeof process13.listeners=="function"&&typeof process13.kill=="function"&&typeof process13.pid=="number"&&typeof process13.on=="function",kExitEmitter2=Symbol.for("signal-exit emitter"),global3=globalThis,ObjectDefineProperty2=Object.defineProperty.bind(Object),Emitter2=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(global3[kExitEmitter2])return global3[kExitEmitter2];ObjectDefineProperty2(global3,kExitEmitter2,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(ev2,fn5){this.listeners[ev2].push(fn5);}removeListener(ev2,fn5){let list=this.listeners[ev2],i7=list.indexOf(fn5);i7!==-1&&(i7===0&&list.length===1?list.length=0:list.splice(i7,1));}emit(ev2,code,signal){if(this.emitted[ev2])return !1;this.emitted[ev2]=!0;let ret=!1;for(let fn5 of this.listeners[ev2])ret=fn5(code,signal)===!0||ret;return ev2==="exit"&&(ret=this.emit("afterExit",code,signal)||ret),ret}},SignalExitBase2=class{},signalExitWrap2=handler=>({onExit(cb3,opts){return handler.onExit(cb3,opts)},load(){return handler.load()},unload(){return handler.unload()}}),SignalExitFallback2=class extends SignalExitBase2{onExit(){return ()=>{}}load(){}unload(){}},SignalExit2=class extends SignalExitBase2{#hupSig=process12.platform==="win32"?"SIGINT":"SIGHUP";#emitter=new Emitter2;#process;#originalProcessEmit;#originalProcessReallyExit;#sigListeners={};#loaded=!1;constructor(process13){super(),this.#process=process13,this.#sigListeners={};for(let sig of signals_js_1.signals)this.#sigListeners[sig]=()=>{let listeners=this.#process.listeners(sig),{count}=this.#emitter,p7=process13;if(typeof p7.__signal_exit_emitter__=="object"&&typeof p7.__signal_exit_emitter__.count=="number"&&(count+=p7.__signal_exit_emitter__.count),listeners.length===count){this.unload();let ret=this.#emitter.emit("exit",null,sig),s10=sig==="SIGHUP"?this.#hupSig:sig;ret||process13.kill(process13.pid,s10);}};this.#originalProcessReallyExit=process13.reallyExit,this.#originalProcessEmit=process13.emit;}onExit(cb3,opts){if(!processOk2(this.#process))return ()=>{};this.#loaded===!1&&this.load();let ev2=opts?.alwaysLast?"afterExit":"exit";return this.#emitter.on(ev2,cb3),()=>{this.#emitter.removeListener(ev2,cb3),this.#emitter.listeners.exit.length===0&&this.#emitter.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#loaded){this.#loaded=!0,this.#emitter.count+=1;for(let sig of signals_js_1.signals)try{let fn5=this.#sigListeners[sig];fn5&&this.#process.on(sig,fn5);}catch{}this.#process.emit=(ev2,...a5)=>this.#processEmit(ev2,...a5),this.#process.reallyExit=code=>this.#processReallyExit(code);}}unload(){this.#loaded&&(this.#loaded=!1,signals_js_1.signals.forEach(sig=>{let listener=this.#sigListeners[sig];if(!listener)throw new Error("Listener not defined for signal: "+sig);try{this.#process.removeListener(sig,listener);}catch{}}),this.#process.emit=this.#originalProcessEmit,this.#process.reallyExit=this.#originalProcessReallyExit,this.#emitter.count-=1);}#processReallyExit(code){return processOk2(this.#process)?(this.#process.exitCode=code||0,this.#emitter.emit("exit",this.#process.exitCode,null),this.#originalProcessReallyExit.call(this.#process,this.#process.exitCode)):0}#processEmit(ev2,...args){let og4=this.#originalProcessEmit;if(ev2==="exit"&&processOk2(this.#process)){typeof args[0]=="number"&&(this.#process.exitCode=args[0]);let ret=og4.call(this.#process,ev2,...args);return this.#emitter.emit("exit",this.#process.exitCode,null),ret}else return og4.call(this.#process,ev2,...args)}},process12=globalThis.process;_a2=signalExitWrap2(processOk2(process12)?new SignalExit2(process12):new SignalExitFallback2),exports.onExit=_a2.onExit,exports.load=_a2.load,exports.unload=_a2.unload;}});var require_spin=__commonJS({"../../node_modules/gauge/lib/spin.js"(exports,module2){module2.exports=function(spinstr,spun){return spinstr[spun%spinstr.length]};}});var require_progress_bar=__commonJS({"../../node_modules/gauge/lib/progress-bar.js"(exports,module2){var validate=require_aproba(),renderTemplate=require_render_template(),wideTruncate=require_wide_truncate(),stringWidth3=require_string_width();module2.exports=function(theme,width,completed){if(validate("ONN",[theme,width,completed]),completed<0&&(completed=0),completed>1&&(completed=1),width<=0)return "";var sofar=Math.round(width*completed),rest=width-sofar,template=[{type:"complete",value:repeat(theme.complete,sofar),length:sofar},{type:"remaining",value:repeat(theme.remaining,rest),length:rest}];return renderTemplate(width,template,theme)};function repeat(string,width){var result="",n10=width;do n10%2&&(result+=string),n10=Math.floor(n10/2),string+=string;while(n10&&stringWidth3(result)<width);return wideTruncate(result,width)}}});var require_base_theme=__commonJS({"../../node_modules/gauge/lib/base-theme.js"(exports,module2){var spin=require_spin(),progressBar=require_progress_bar();module2.exports={activityIndicator:function(values,theme){if(values.spun!=null)return spin(theme,values.spun)},progressbar:function(values,theme,width){if(values.completed!=null)return progressBar(theme,width,values.completed)}};}});var require_theme_set=__commonJS({"../../node_modules/gauge/lib/theme-set.js"(exports,module2){module2.exports=function(){return ThemeSetProto.newThemeSet()};var ThemeSetProto={};ThemeSetProto.baseTheme=require_base_theme();ThemeSetProto.newTheme=function(parent,theme){return theme||(theme=parent,parent=this.baseTheme),Object.assign({},parent,theme)};ThemeSetProto.getThemeNames=function(){return Object.keys(this.themes)};ThemeSetProto.addTheme=function(name,parent,theme){this.themes[name]=this.newTheme(parent,theme);};ThemeSetProto.addToAllThemes=function(theme){var themes=this.themes;Object.keys(themes).forEach(function(name){Object.assign(themes[name],theme);}),Object.assign(this.baseTheme,theme);};ThemeSetProto.getTheme=function(name){if(!this.themes[name])throw this.newMissingThemeError(name);return this.themes[name]};ThemeSetProto.setDefault=function(opts,name){name==null&&(name=opts,opts={});var platform5=opts.platform==null?"fallback":opts.platform,hasUnicode=!!opts.hasUnicode,hasColor=!!opts.hasColor;this.defaults[platform5]||(this.defaults[platform5]={true:{},false:{}}),this.defaults[platform5][hasUnicode][hasColor]=name;};ThemeSetProto.getDefault=function(opts){opts||(opts={});var platformName=opts.platform||process.platform,platform5=this.defaults[platformName]||this.defaults.fallback,hasUnicode=!!opts.hasUnicode,hasColor=!!opts.hasColor;if(!platform5)throw this.newMissingDefaultThemeError(platformName,hasUnicode,hasColor);if(!platform5[hasUnicode][hasColor]){if(hasUnicode&&hasColor&&platform5[!hasUnicode][hasColor])hasUnicode=!1;else if(hasUnicode&&hasColor&&platform5[hasUnicode][!hasColor])hasColor=!1;else if(hasUnicode&&hasColor&&platform5[!hasUnicode][!hasColor])hasUnicode=!1,hasColor=!1;else if(hasUnicode&&!hasColor&&platform5[!hasUnicode][hasColor])hasUnicode=!1;else if(!hasUnicode&&hasColor&&platform5[hasUnicode][!hasColor])hasColor=!1;else if(platform5===this.defaults.fallback)throw this.newMissingDefaultThemeError(platformName,hasUnicode,hasColor)}return platform5[hasUnicode][hasColor]?this.getTheme(platform5[hasUnicode][hasColor]):this.getDefault(Object.assign({},opts,{platform:"fallback"}))};ThemeSetProto.newMissingThemeError=function newMissingThemeError(name){var err=new Error('Could not find a gauge theme named "'+name+'"');return Error.captureStackTrace.call(err,newMissingThemeError),err.theme=name,err.code="EMISSINGTHEME",err};ThemeSetProto.newMissingDefaultThemeError=function newMissingDefaultThemeError(platformName,hasUnicode,hasColor){var err=new Error(`Could not find a gauge theme for your platform/unicode/color use combo:
674
675
  platform = `+platformName+`
675
676
  hasUnicode = `+hasUnicode+`
676
677
  hasColor = `+hasColor);return Error.captureStackTrace.call(err,newMissingDefaultThemeError),err.platform=platformName,err.hasUnicode=hasUnicode,err.hasColor=hasColor,err.code="EMISSINGTHEME",err};ThemeSetProto.newThemeSet=function(){var themeset=function(opts){return themeset.getDefault(opts)};return Object.assign(themeset,ThemeSetProto,{themes:Object.assign({},this.themes),baseTheme:Object.assign({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})};}});var require_themes=__commonJS({"../../node_modules/gauge/lib/themes.js"(exports,module2){var color=require_console_control_strings().color,ThemeSet=require_theme_set(),themes=module2.exports=new ThemeSet;themes.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});themes.addTheme("colorASCII",themes.getTheme("ASCII"),{progressbarTheme:{preComplete:color("bgBrightWhite","brightWhite"),complete:"#",postComplete:color("reset"),preRemaining:color("bgBrightBlack","brightBlack"),remaining:".",postRemaining:color("reset")}});themes.addTheme("brailleSpinner",{preProgressbar:"(",postProgressbar:")",progressbarTheme:{complete:"#",remaining:"\u2802"},activityIndicatorTheme:"\u280B\u2819\u2839\u2838\u283C\u2834\u2826\u2827\u2807\u280F",preSubsection:">"});themes.addTheme("colorBrailleSpinner",themes.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:color("bgBrightWhite","brightWhite"),complete:"#",postComplete:color("reset"),preRemaining:color("bgBrightBlack","brightBlack"),remaining:"\u2802",postRemaining:color("reset")}});themes.setDefault({},"ASCII");themes.setDefault({hasColor:!0},"colorASCII");themes.setDefault({platform:"darwin",hasUnicode:!0},"brailleSpinner");themes.setDefault({platform:"darwin",hasUnicode:!0,hasColor:!0},"colorBrailleSpinner");themes.setDefault({platform:"linux",hasUnicode:!0},"brailleSpinner");themes.setDefault({platform:"linux",hasUnicode:!0,hasColor:!0},"colorBrailleSpinner");}});var require_set_interval=__commonJS({"../../node_modules/gauge/lib/set-interval.js"(exports,module2){module2.exports=setInterval;}});var require_process=__commonJS({"../../node_modules/gauge/lib/process.js"(exports,module2){module2.exports=process;}});var require_set_immediate=__commonJS({"../../node_modules/gauge/lib/set-immediate.js"(exports,module2){var process12=require_process();try{module2.exports=setImmediate;}catch{module2.exports=process12.nextTick;}}});var require_lib30=__commonJS({"../../node_modules/gauge/lib/index.js"(exports,module2){var Plumbing=require_plumbing(),hasUnicode=require_has_unicode(),hasColor=require_has_color(),onExit2=require_cjs().onExit,defaultThemes=require_themes(),setInterval2=require_set_interval(),process12=require_process(),setImmediate2=require_set_immediate();module2.exports=Gauge;function callWith(obj,method){return function(){return method.call(obj)}}function Gauge(arg1,arg2){var options,writeTo;arg1&&arg1.write?(writeTo=arg1,options=arg2||{}):arg2&&arg2.write?(writeTo=arg2,options=arg1||{}):(writeTo=process12.stderr,options=arg1||arg2||{}),this._status={spun:0,section:"",subsection:""},this._paused=!1,this._disabled=!0,this._showing=!1,this._onScreen=!1,this._needsRedraw=!1,this._hideCursor=options.hideCursor==null?!0:options.hideCursor,this._fixedFramerate=options.fixedFramerate==null?!/^v0\.8\./.test(process12.version):options.fixedFramerate,this._lastUpdateAt=null,this._updateInterval=options.updateInterval==null?50:options.updateInterval,this._themes=options.themes||defaultThemes,this._theme=options.theme;var theme=this._computeTheme(options.theme),template=options.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(writeTo,options.tty);var PlumbingClass=options.Plumbing||Plumbing;this._gauge=new PlumbingClass(theme,template,this.getWidth()),this._$$doRedraw=callWith(this,this._doRedraw),this._$$handleSizeChange=callWith(this,this._handleSizeChange),this._cleanupOnExit=options.cleanupOnExit==null||options.cleanupOnExit,this._removeOnExit=null,options.enabled||options.enabled==null&&this._tty&&this._tty.isTTY?this.enable():this.disable();}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return !this._disabled};Gauge.prototype.setTemplate=function(template){this._gauge.setTemplate(template),this._showing&&this._requestRedraw();};Gauge.prototype._computeTheme=function(theme){if(theme||(theme={}),typeof theme=="string")theme=this._themes.getTheme(theme);else if(Object.keys(theme).length===0||theme.hasUnicode!=null||theme.hasColor!=null){var useUnicode=theme.hasUnicode==null?hasUnicode():theme.hasUnicode,useColor=theme.hasColor==null?hasColor:theme.hasColor;theme=this._themes.getDefault({hasUnicode:useUnicode,hasColor:useColor,platform:theme.platform});}return theme};Gauge.prototype.setThemeset=function(themes){this._themes=themes,this.setTheme(this._theme);};Gauge.prototype.setTheme=function(theme){this._gauge.setTheme(this._computeTheme(theme)),this._showing&&this._requestRedraw(),this._theme=theme;};Gauge.prototype._requestRedraw=function(){this._needsRedraw=!0,this._fixedFramerate||this._doRedraw();};Gauge.prototype.getWidth=function(){return (this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(writeTo,tty2){var enabled=!this._disabled;enabled&&this.disable(),this._writeTo=writeTo,this._tty=tty2||writeTo===process12.stderr&&process12.stdout.isTTY&&process12.stdout||writeTo.isTTY&&writeTo||this._tty,this._gauge&&this._gauge.setWidth(this.getWidth()),enabled&&this.enable();};Gauge.prototype.enable=function(){this._disabled&&(this._disabled=!1,this._tty&&this._enableEvents(),this._showing&&this.show());};Gauge.prototype.disable=function(){this._disabled||(this._showing&&(this._lastUpdateAt=null,this._showing=!1,this._doRedraw(),this._showing=!0),this._disabled=!0,this._tty&&this._disableEvents());};Gauge.prototype._enableEvents=function(){this._cleanupOnExit&&(this._removeOnExit=onExit2(callWith(this,this.disable))),this._tty.on("resize",this._$$handleSizeChange),this._fixedFramerate&&(this.redrawTracker=setInterval2(this._$$doRedraw,this._updateInterval),this.redrawTracker.unref&&this.redrawTracker.unref());};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange),this._fixedFramerate&&clearInterval(this.redrawTracker),this._removeOnExit&&this._removeOnExit();};Gauge.prototype.hide=function(cb3){if(this._disabled||!this._showing)return cb3&&process12.nextTick(cb3);this._showing=!1,this._doRedraw(),cb3&&setImmediate2(cb3);};Gauge.prototype.show=function(section,completed){if(this._showing=!0,typeof section=="string")this._status.section=section;else if(typeof section=="object")for(var sectionKeys=Object.keys(section),ii6=0;ii6<sectionKeys.length;++ii6){var key=sectionKeys[ii6];this._status[key]=section[key];}completed!=null&&(this._status.completed=completed),!this._disabled&&this._requestRedraw();};Gauge.prototype.pulse=function(subsection){this._status.subsection=subsection||"",this._status.spun++,!this._disabled&&this._showing&&this._requestRedraw();};Gauge.prototype._handleSizeChange=function(){this._gauge.setWidth(this._tty.columns-1),this._requestRedraw();};Gauge.prototype._doRedraw=function(){if(!(this._disabled||this._paused)){if(!this._fixedFramerate){var now=Date.now();if(this._lastUpdateAt&&now-this._lastUpdateAt<this._updateInterval)return;this._lastUpdateAt=now;}if(!this._showing&&this._onScreen){this._onScreen=!1;var result=this._gauge.hide();return this._hideCursor&&(result+=this._gauge.showCursor()),this._writeTo.write(result)}!this._showing&&!this._onScreen||(this._showing&&!this._onScreen&&(this._onScreen=!0,this._needsRedraw=!0,this._hideCursor&&this._writeTo.write(this._gauge.hideCursor())),this._needsRedraw&&(this._writeTo.write(this._gauge.show(this._status))||(this._paused=!0,this._writeTo.on("drain",callWith(this,function(){this._paused=!1,this._doRedraw();})))));}};}});var require_set_blocking=__commonJS({"../../node_modules/set-blocking/index.js"(exports,module2){module2.exports=function(blocking){[process.stdout,process.stderr].forEach(function(stream3){stream3._handle&&stream3.isTTY&&typeof stream3._handle.setBlocking=="function"&&stream3._handle.setBlocking(blocking);});};}});var require_log=__commonJS({"../../node_modules/npmlog/lib/log.js"(exports,module2){var Progress=require_lib29(),Gauge=require_lib30(),EE5=__require("events").EventEmitter,log2=module2.exports=new EE5,util2=__require("util"),setBlocking=require_set_blocking(),consoleControl=require_console_control_strings();setBlocking(!0);var stream3=process.stderr;Object.defineProperty(log2,"stream",{set:function(newStream){stream3=newStream,this.gauge&&this.gauge.setWriteTo(stream3,stream3);},get:function(){return stream3}});var colorEnabled;log2.useColor=function(){return colorEnabled??stream3.isTTY};log2.enableColor=function(){colorEnabled=!0,this.gauge.setTheme({hasColor:colorEnabled,hasUnicode:unicodeEnabled});};log2.disableColor=function(){colorEnabled=!1,this.gauge.setTheme({hasColor:colorEnabled,hasUnicode:unicodeEnabled});};log2.level="info";log2.gauge=new Gauge(stream3,{enabled:!1,theme:{hasColor:log2.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});log2.tracker=new Progress.TrackerGroup;log2.progressEnabled=log2.gauge.isEnabled();var unicodeEnabled;log2.enableUnicode=function(){unicodeEnabled=!0,this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:unicodeEnabled});};log2.disableUnicode=function(){unicodeEnabled=!1,this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:unicodeEnabled});};log2.setGaugeThemeset=function(themes){this.gauge.setThemeset(themes);};log2.setGaugeTemplate=function(template){this.gauge.setTemplate(template);};log2.enableProgress=function(){this.progressEnabled||this._paused||(this.progressEnabled=!0,this.tracker.on("change",this.showProgress),this.gauge.enable());};log2.disableProgress=function(){this.progressEnabled&&(this.progressEnabled=!1,this.tracker.removeListener("change",this.showProgress),this.gauge.disable());};var trackerConstructors=["newGroup","newItem","newStream"],mixinLog=function(tracker){return Object.keys(log2).forEach(function(P14){if(P14[0]!=="_"&&!trackerConstructors.filter(function(C11){return C11===P14}).length&&!tracker[P14]&&typeof log2[P14]=="function"){var func=log2[P14];tracker[P14]=function(){return func.apply(log2,arguments)};}}),tracker instanceof Progress.TrackerGroup&&trackerConstructors.forEach(function(C11){var func=tracker[C11];tracker[C11]=function(){return mixinLog(func.apply(tracker,arguments))};}),tracker};trackerConstructors.forEach(function(C11){log2[C11]=function(){return mixinLog(this.tracker[C11].apply(this.tracker,arguments))};});log2.clearProgress=function(cb3){if(!this.progressEnabled)return cb3&&process.nextTick(cb3);this.gauge.hide(cb3);};log2.showProgress=function(name,completed){if(this.progressEnabled){var values={};name&&(values.section=name);var last=log2.record[log2.record.length-1];if(last){values.subsection=last.prefix;var disp=log2.disp[last.level]||last.level,logline=this._format(disp,log2.style[last.level]);last.prefix&&(logline+=" "+this._format(last.prefix,this.prefixStyle)),logline+=" "+last.message.split(/\r?\n/)[0],values.logline=logline;}values.completed=completed||this.tracker.completed(),this.gauge.show(values);}}.bind(log2);log2.pause=function(){this._paused=!0,this.progressEnabled&&this.gauge.disable();};log2.resume=function(){if(this._paused){this._paused=!1;var b8=this._buffer;this._buffer=[],b8.forEach(function(m7){this.emitLog(m7);},this),this.progressEnabled&&this.gauge.enable();}};log2._buffer=[];var id2=0;log2.record=[];log2.maxRecordSize=1e4;log2.log=function(lvl,prefix2,message){var l7=this.levels[lvl];if(l7===void 0)return this.emit("error",new Error(util2.format("Undefined log level: %j",lvl)));for(var a5=new Array(arguments.length-2),stack=null,i7=2;i7<arguments.length;i7++){var arg=a5[i7-2]=arguments[i7];typeof arg=="object"&&arg instanceof Error&&arg.stack&&Object.defineProperty(arg,"stack",{value:stack=arg.stack+"",enumerable:!0,writable:!0});}stack&&a5.unshift(stack+`
@@ -687,7 +688,7 @@ to your top-level package.json.
687
688
  `,STR_NULL="null",BEFORE=prop=>`${PREFIX_BEFORE}:${prop}`,AFTER_PROP=prop=>`${PREFIX_AFTER_PROP}:${prop}`,AFTER_COLON=prop=>`${PREFIX_AFTER_COLON}:${prop}`,AFTER_VALUE=prop=>`${PREFIX_AFTER_VALUE}:${prop}`,AFTER=prop=>`${PREFIX_AFTER}:${prop}`,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},escape3=string=>(ESCAPABLE.lastIndex=0,ESCAPABLE.test(string)?string.replace(ESCAPABLE,a5=>{let c10=meta[a5];return typeof c10=="string"?c10:a5}):string),quote=string=>`"${escape3(string)}"`,comment_stringify=(value2,line)=>line?`//${value2}`:`/*${value2}*/`,process_comments=(host,symbol_tag,deeper_gap,display_block)=>{let comments=host[Symbol.for(symbol_tag)];if(!comments||!comments.length)return EMPTY;let is_line_comment=!1,str=comments.reduce((prev,{inline,type,value:value2})=>{let delimiter=inline?SPACE:LF2+deeper_gap;return is_line_comment=type==="LineComment",prev+delimiter+comment_stringify(value2,is_line_comment)},EMPTY);return display_block||is_line_comment?str+LF2+deeper_gap:str},replacer=null,indent=EMPTY,clean=()=>{replacer=null,indent=EMPTY;},join22=(one2,two,gap)=>one2?two?one2+two.trim()+LF2+gap:one2.trimRight()+LF2+gap:two?two.trimRight()+LF2+gap:EMPTY,join_content=(inside,value2,gap)=>{let comment=process_comments(value2,PREFIX_BEFORE,gap+indent,!0);return join22(comment,inside,gap)},array_stringify=(value2,gap)=>{let deeper_gap=gap+indent,{length}=value2,inside=EMPTY,after_comma=EMPTY;for(let i7=0;i7<length;i7++){i7!==0&&(inside+=COMMA);let before=join22(after_comma,process_comments(value2,BEFORE(i7),deeper_gap),deeper_gap);inside+=before||LF2+deeper_gap,inside+=stringify(i7,value2,deeper_gap)||STR_NULL,inside+=process_comments(value2,AFTER_VALUE(i7),deeper_gap),after_comma=process_comments(value2,AFTER(i7),deeper_gap);}return inside+=join22(after_comma,process_comments(value2,PREFIX_AFTER,deeper_gap),deeper_gap),BRACKET_OPEN+join_content(inside,value2,gap)+BRACKET_CLOSE},object_stringify=(value2,gap)=>{if(!value2)return "null";let deeper_gap=gap+indent,inside=EMPTY,after_comma=EMPTY,first=!0,keys=isArray(replacer)?replacer:Object.keys(value2),iteratee=key=>{let sv3=stringify(key,value2,deeper_gap);if(sv3===UNDEFINED)return;first||(inside+=COMMA),first=!1;let before=join22(after_comma,process_comments(value2,BEFORE(key),deeper_gap),deeper_gap);inside+=before||LF2+deeper_gap,inside+=quote(key)+process_comments(value2,AFTER_PROP(key),deeper_gap)+COLON+process_comments(value2,AFTER_COLON(key),deeper_gap)+SPACE+sv3+process_comments(value2,AFTER_VALUE(key),deeper_gap),after_comma=process_comments(value2,AFTER(key),deeper_gap);};return keys.forEach(iteratee),inside+=join22(after_comma,process_comments(value2,PREFIX_AFTER,deeper_gap),deeper_gap),CURLY_BRACKET_OPEN+join_content(inside,value2,gap)+CURLY_BRACKET_CLOSE};function stringify(key,holder,gap){let value2=holder[key];switch(isObject(value2)&&isFunction2(value2.toJSON)&&(value2=value2.toJSON(key)),isFunction2(replacer)&&(value2=replacer.call(holder,key,value2)),typeof value2){case"string":return quote(value2);case"number":return Number.isFinite(value2)?String(value2):STR_NULL;case"boolean":case"null":return String(value2);case"object":return isArray(value2)?array_stringify(value2,gap):object_stringify(value2,gap);}}var get_indent=space=>isString(space)?space:isNumber(space)?repeat(SPACE,space):EMPTY,{toString:toString2}=Object.prototype,PRIMITIVE_OBJECT_TYPES=["[object Number]","[object String]","[object Boolean]"],is_primitive_object=subject=>{if(typeof subject!="object")return !1;let str=toString2.call(subject);return PRIMITIVE_OBJECT_TYPES.includes(str)};module2.exports=(value2,replacer_,space)=>{let indent_=get_indent(space);if(!indent_)return JSON.stringify(value2,replacer_);!isFunction2(replacer_)&&!isArray(replacer_)&&(replacer_=null),replacer=replacer_,indent=indent_;let str=is_primitive_object(value2)?JSON.stringify(value2):stringify("",{"":value2},EMPTY);return clean(),isObject(value2)?process_comments(value2,PREFIX_BEFORE_ALL,EMPTY).trimLeft()+str+process_comments(value2,PREFIX_AFTER_ALL,EMPTY).trimRight():str};}});var require_src4=__commonJS({"../../node_modules/comment-json/src/index.js"(exports,module2){var{parse:parse5,tokenize}=require_parse5(),stringify=require_stringify(),{CommentArray}=require_array(),{assign}=require_common2();module2.exports={parse:parse5,stringify,tokenize,CommentArray,assign};}});var require_strip_final_newline=__commonJS({"node_modules/strip-final-newline/index.js"(exports,module2){module2.exports=input=>{let LF2=typeof input=="string"?`
688
689
  `:10,CR3=typeof input=="string"?"\r":13;return input[input.length-1]===LF2&&(input=input.slice(0,input.length-1)),input[input.length-1]===CR3&&(input=input.slice(0,input.length-1)),input};}});var require_npm_run_path=__commonJS({"../../node_modules/npm-run-path/index.js"(exports,module2){var path12=__require("path"),pathKey2=require_path_key(),npmRunPath2=options=>{options={cwd:process.cwd(),path:process.env[pathKey2()],execPath:process.execPath,...options};let previous,cwdPath=path12.resolve(options.cwd),result=[];for(;previous!==cwdPath;)result.push(path12.join(cwdPath,"node_modules/.bin")),previous=cwdPath,cwdPath=path12.resolve(cwdPath,"..");let execPathDir=path12.resolve(options.cwd,options.execPath,"..");return result.push(execPathDir),result.concat(options.path).join(path12.delimiter)};module2.exports=npmRunPath2;module2.exports.default=npmRunPath2;module2.exports.env=options=>{options={env:process.env,...options};let env3={...options.env},path13=pathKey2({env:env3});return options.path=env3[path13],env3[path13]=module2.exports(options),env3};}});var require_core4=__commonJS({"node_modules/human-signals/build/src/core.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.SIGNALS=void 0;var SIGNALS2=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];exports.SIGNALS=SIGNALS2;}});var require_realtime=__commonJS({"node_modules/human-signals/build/src/realtime.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.SIGRTMAX=exports.getRealtimeSignals=void 0;var getRealtimeSignals2=function(){let length=SIGRTMAX2-SIGRTMIN2+1;return Array.from({length},getRealtimeSignal2)};exports.getRealtimeSignals=getRealtimeSignals2;var getRealtimeSignal2=function(value2,index){return {name:`SIGRT${index+1}`,number:SIGRTMIN2+index,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}},SIGRTMIN2=34,SIGRTMAX2=64;exports.SIGRTMAX=SIGRTMAX2;}});var require_signals3=__commonJS({"node_modules/human-signals/build/src/signals.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.getSignals=void 0;var _os=__require("os"),_core=require_core4(),_realtime=require_realtime(),getSignals2=function(){let realtimeSignals=(0, _realtime.getRealtimeSignals)();return [..._core.SIGNALS,...realtimeSignals].map(normalizeSignal2)};exports.getSignals=getSignals2;var normalizeSignal2=function({name,number:defaultNumber,description,action,forced=!1,standard}){let{signals:{[name]:constantSignal}}=_os.constants,supported=constantSignal!==void 0;return {name,number:supported?constantSignal:defaultNumber,description,supported,action,forced,standard}};}});var require_main3=__commonJS({"node_modules/human-signals/build/src/main.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.signalsByNumber=exports.signalsByName=void 0;var _os=__require("os"),_signals=require_signals3(),_realtime=require_realtime(),getSignalsByName2=function(){return (0, _signals.getSignals)().reduce(getSignalByName2,{})},getSignalByName2=function(signalByNameMemo,{name,number,description,supported,action,forced,standard}){return {...signalByNameMemo,[name]:{name,number,description,supported,action,forced,standard}}},signalsByName2=getSignalsByName2();exports.signalsByName=signalsByName2;var getSignalsByNumber2=function(){let signals2=(0, _signals.getSignals)(),length=_realtime.SIGRTMAX+1,signalsA=Array.from({length},(value2,number)=>getSignalByNumber2(number,signals2));return Object.assign({},...signalsA)},getSignalByNumber2=function(number,signals2){let signal=findSignalByNumber2(number,signals2);if(signal===void 0)return {};let{name,description,supported,action,forced,standard}=signal;return {[number]:{name,number,description,supported,action,forced,standard}}},findSignalByNumber2=function(number,signals2){let signal=signals2.find(({name})=>_os.constants.signals[name]===number);return signal!==void 0?signal:signals2.find(signalA=>signalA.number===number)},signalsByNumber2=getSignalsByNumber2();exports.signalsByNumber=signalsByNumber2;}});var require_error3=__commonJS({"node_modules/execa/lib/error.js"(exports,module2){var{signalsByName:signalsByName2}=require_main3(),getErrorPrefix2=({timedOut:timedOut2,timeout,errorCode,signal,signalDescription,exitCode,isCanceled})=>timedOut2?`timed out after ${timeout} milliseconds`:isCanceled?"was canceled":errorCode!==void 0?`failed with ${errorCode}`:signal!==void 0?`was killed with ${signal} (${signalDescription})`:exitCode!==void 0?`failed with exit code ${exitCode}`:"failed",makeError2=({stdout,stderr,all:all2,error:error2,signal,exitCode,command,escapedCommand,timedOut:timedOut2,isCanceled,killed,parsed:{options:{timeout}}})=>{exitCode=exitCode===null?void 0:exitCode,signal=signal===null?void 0:signal;let signalDescription=signal===void 0?void 0:signalsByName2[signal].description,errorCode=error2&&error2.code,execaMessage=`Command ${getErrorPrefix2({timedOut:timedOut2,timeout,errorCode,signal,signalDescription,exitCode,isCanceled})}: ${command}`,isError=Object.prototype.toString.call(error2)==="[object Error]",shortMessage=isError?`${execaMessage}
689
690
  ${error2.message}`:execaMessage,message=[shortMessage,stderr,stdout].filter(Boolean).join(`
690
- `);return isError?(error2.originalMessage=error2.message,error2.message=message):error2=new Error(message),error2.shortMessage=shortMessage,error2.command=command,error2.escapedCommand=escapedCommand,error2.exitCode=exitCode,error2.signal=signal,error2.signalDescription=signalDescription,error2.stdout=stdout,error2.stderr=stderr,all2!==void 0&&(error2.all=all2),"bufferedData"in error2&&delete error2.bufferedData,error2.failed=!0,error2.timedOut=!!timedOut2,error2.isCanceled=isCanceled,error2.killed=killed&&!timedOut2,error2};module2.exports=makeError2;}});var require_stdio=__commonJS({"node_modules/execa/lib/stdio.js"(exports,module2){var aliases3=["stdin","stdout","stderr"],hasAlias2=options=>aliases3.some(alias=>options[alias]!==void 0),normalizeStdio2=options=>{if(!options)return;let{stdio}=options;if(stdio===void 0)return aliases3.map(alias=>options[alias]);if(hasAlias2(options))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${aliases3.map(alias=>`\`${alias}\``).join(", ")}`);if(typeof stdio=="string")return stdio;if(!Array.isArray(stdio))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);let length=Math.max(stdio.length,aliases3.length);return Array.from({length},(value2,index)=>stdio[index])};module2.exports=normalizeStdio2;module2.exports.node=options=>{let stdio=normalizeStdio2(options);return stdio==="ipc"?"ipc":stdio===void 0||typeof stdio=="string"?[stdio,stdio,stdio,"ipc"]:stdio.includes("ipc")?stdio:[...stdio,"ipc"]};}});var require_kill=__commonJS({"node_modules/execa/lib/kill.js"(exports,module2){var os8=__require("os"),onExit2=require_signal_exit(),DEFAULT_FORCE_KILL_TIMEOUT2=1e3*5,spawnedKill2=(kill,signal="SIGTERM",options={})=>{let killResult=kill(signal);return setKillTimeout2(kill,signal,options,killResult),killResult},setKillTimeout2=(kill,signal,options,killResult)=>{if(!shouldForceKill2(signal,options,killResult))return;let timeout=getForceKillAfterTimeout2(options),t18=setTimeout(()=>{kill("SIGKILL");},timeout);t18.unref&&t18.unref();},shouldForceKill2=(signal,{forceKillAfterTimeout},killResult)=>isSigterm2(signal)&&forceKillAfterTimeout!==!1&&killResult,isSigterm2=signal=>signal===os8.constants.signals.SIGTERM||typeof signal=="string"&&signal.toUpperCase()==="SIGTERM",getForceKillAfterTimeout2=({forceKillAfterTimeout=!0})=>{if(forceKillAfterTimeout===!0)return DEFAULT_FORCE_KILL_TIMEOUT2;if(!Number.isFinite(forceKillAfterTimeout)||forceKillAfterTimeout<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`);return forceKillAfterTimeout},spawnedCancel2=(spawned,context)=>{spawned.kill()&&(context.isCanceled=!0);},timeoutKill2=(spawned,signal,reject)=>{spawned.kill(signal),reject(Object.assign(new Error("Timed out"),{timedOut:!0,signal}));},setupTimeout2=(spawned,{timeout,killSignal="SIGTERM"},spawnedPromise)=>{if(timeout===0||timeout===void 0)return spawnedPromise;let timeoutId,timeoutPromise=new Promise((resolve9,reject)=>{timeoutId=setTimeout(()=>{timeoutKill2(spawned,killSignal,reject);},timeout);}),safeSpawnedPromise=spawnedPromise.finally(()=>{clearTimeout(timeoutId);});return Promise.race([timeoutPromise,safeSpawnedPromise])},validateTimeout2=({timeout})=>{if(timeout!==void 0&&(!Number.isFinite(timeout)||timeout<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`)},setExitHandler2=async(spawned,{cleanup,detached},timedPromise)=>{if(!cleanup||detached)return timedPromise;let removeExitHandler=onExit2(()=>{spawned.kill();});return timedPromise.finally(()=>{removeExitHandler();})};module2.exports={spawnedKill:spawnedKill2,spawnedCancel:spawnedCancel2,setupTimeout:setupTimeout2,validateTimeout:validateTimeout2,setExitHandler:setExitHandler2};}});var require_is_stream=__commonJS({"../../node_modules/is-stream/index.js"(exports,module2){var isStream3=stream3=>stream3!==null&&typeof stream3=="object"&&typeof stream3.pipe=="function";isStream3.writable=stream3=>isStream3(stream3)&&stream3.writable!==!1&&typeof stream3._write=="function"&&typeof stream3._writableState=="object";isStream3.readable=stream3=>isStream3(stream3)&&stream3.readable!==!1&&typeof stream3._read=="function"&&typeof stream3._readableState=="object";isStream3.duplex=stream3=>isStream3.writable(stream3)&&isStream3.readable(stream3);isStream3.transform=stream3=>isStream3.duplex(stream3)&&typeof stream3._transform=="function";module2.exports=isStream3;}});var require_buffer_stream2=__commonJS({"../../node_modules/get-stream/buffer-stream.js"(exports,module2){var{PassThrough:PassThroughStream2}=__require("stream");module2.exports=options=>{options={...options};let{array}=options,{encoding}=options,isBuffer=encoding==="buffer",objectMode=!1;array?objectMode=!(encoding||isBuffer):encoding=encoding||"utf8",isBuffer&&(encoding=null);let stream3=new PassThroughStream2({objectMode});encoding&&stream3.setEncoding(encoding);let length=0,chunks=[];return stream3.on("data",chunk=>{chunks.push(chunk),objectMode?length=chunks.length:length+=chunk.length;}),stream3.getBufferedValue=()=>array?chunks:isBuffer?Buffer.concat(chunks,length):chunks.join(""),stream3.getBufferedLength=()=>length,stream3};}});var require_get_stream2=__commonJS({"../../node_modules/get-stream/index.js"(exports,module2){var{constants:BufferConstants}=__require("buffer"),stream3=__require("stream"),{promisify:promisify4}=__require("util"),bufferStream=require_buffer_stream2(),streamPipelinePromisified=promisify4(stream3.pipeline),MaxBufferError2=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}};async function getStream(inputStream,options){if(!inputStream)throw new Error("Expected a stream");options={maxBuffer:1/0,...options};let{maxBuffer}=options,stream4=bufferStream(options);return await new Promise((resolve9,reject)=>{let rejectPromise=error2=>{error2&&stream4.getBufferedLength()<=BufferConstants.MAX_LENGTH&&(error2.bufferedData=stream4.getBufferedValue()),reject(error2);};(async()=>{try{await streamPipelinePromisified(inputStream,stream4),resolve9();}catch(error2){rejectPromise(error2);}})(),stream4.on("data",()=>{stream4.getBufferedLength()>maxBuffer&&rejectPromise(new MaxBufferError2);});}),stream4.getBufferedValue()}module2.exports=getStream;module2.exports.buffer=(stream4,options)=>getStream(stream4,{...options,encoding:"buffer"});module2.exports.array=(stream4,options)=>getStream(stream4,{...options,array:!0});module2.exports.MaxBufferError=MaxBufferError2;}});var require_stream5=__commonJS({"node_modules/execa/lib/stream.js"(exports,module2){var isStream3=require_is_stream(),getStream=require_get_stream2(),mergeStream2=require_merge_stream(),handleInput2=(spawned,input)=>{input===void 0||spawned.stdin===void 0||(isStream3(input)?input.pipe(spawned.stdin):spawned.stdin.end(input));},makeAllStream2=(spawned,{all:all2})=>{if(!all2||!spawned.stdout&&!spawned.stderr)return;let mixed=mergeStream2();return spawned.stdout&&mixed.add(spawned.stdout),spawned.stderr&&mixed.add(spawned.stderr),mixed},getBufferedData2=async(stream3,streamPromise)=>{if(stream3){stream3.destroy();try{return await streamPromise}catch(error2){return error2.bufferedData}}},getStreamPromise2=(stream3,{encoding,buffer,maxBuffer})=>{if(!(!stream3||!buffer))return encoding?getStream(stream3,{encoding,maxBuffer}):getStream.buffer(stream3,{maxBuffer})},getSpawnedResult2=async({stdout,stderr,all:all2},{encoding,buffer,maxBuffer},processDone)=>{let stdoutPromise=getStreamPromise2(stdout,{encoding,buffer,maxBuffer}),stderrPromise=getStreamPromise2(stderr,{encoding,buffer,maxBuffer}),allPromise=getStreamPromise2(all2,{encoding,buffer,maxBuffer:maxBuffer*2});try{return await Promise.all([processDone,stdoutPromise,stderrPromise,allPromise])}catch(error2){return Promise.all([{error:error2,signal:error2.signal,timedOut:error2.timedOut},getBufferedData2(stdout,stdoutPromise),getBufferedData2(stderr,stderrPromise),getBufferedData2(all2,allPromise)])}},validateInputSync=({input})=>{if(isStream3(input))throw new TypeError("The `input` option cannot be a stream in sync mode")};module2.exports={handleInput:handleInput2,makeAllStream:makeAllStream2,getSpawnedResult:getSpawnedResult2,validateInputSync};}});var require_promise=__commonJS({"node_modules/execa/lib/promise.js"(exports,module2){var nativePromisePrototype2=(async()=>{})().constructor.prototype,descriptors2=["then","catch","finally"].map(property=>[property,Reflect.getOwnPropertyDescriptor(nativePromisePrototype2,property)]),mergePromise2=(spawned,promise)=>{for(let[property,descriptor]of descriptors2){let value2=typeof promise=="function"?(...args)=>Reflect.apply(descriptor.value,promise(),args):descriptor.value.bind(promise);Reflect.defineProperty(spawned,property,{...descriptor,value:value2});}return spawned},getSpawnedPromise2=spawned=>new Promise((resolve9,reject)=>{spawned.on("exit",(exitCode,signal)=>{resolve9({exitCode,signal});}),spawned.on("error",error2=>{reject(error2);}),spawned.stdin&&spawned.stdin.on("error",error2=>{reject(error2);});});module2.exports={mergePromise:mergePromise2,getSpawnedPromise:getSpawnedPromise2};}});var require_command=__commonJS({"node_modules/execa/lib/command.js"(exports,module2){var normalizeArgs2=(file,args=[])=>Array.isArray(args)?[file,...args]:[file],NO_ESCAPE_REGEXP2=/^[\w.-]+$/,DOUBLE_QUOTES_REGEXP=/"/g,escapeArg2=arg=>typeof arg!="string"||NO_ESCAPE_REGEXP2.test(arg)?arg:`"${arg.replace(DOUBLE_QUOTES_REGEXP,'\\"')}"`,joinCommand2=(file,args)=>normalizeArgs2(file,args).join(" "),getEscapedCommand2=(file,args)=>normalizeArgs2(file,args).map(arg=>escapeArg2(arg)).join(" "),SPACES_REGEXP2=/ +/g,parseCommand2=command=>{let tokens=[];for(let token of command.trim().split(SPACES_REGEXP2)){let previousToken=tokens[tokens.length-1];previousToken&&previousToken.endsWith("\\")?tokens[tokens.length-1]=`${previousToken.slice(0,-1)} ${token}`:tokens.push(token);}return tokens};module2.exports={joinCommand:joinCommand2,getEscapedCommand:getEscapedCommand2,parseCommand:parseCommand2};}});var require_execa=__commonJS({"node_modules/execa/index.js"(exports,module2){var path12=__require("path"),childProcess2=__require("child_process"),crossSpawn2=require_cross_spawn(),stripFinalNewline2=require_strip_final_newline(),npmRunPath2=require_npm_run_path(),onetime2=require_onetime(),makeError2=require_error3(),normalizeStdio2=require_stdio(),{spawnedKill:spawnedKill2,spawnedCancel:spawnedCancel2,setupTimeout:setupTimeout2,validateTimeout:validateTimeout2,setExitHandler:setExitHandler2}=require_kill(),{handleInput:handleInput2,getSpawnedResult:getSpawnedResult2,makeAllStream:makeAllStream2,validateInputSync}=require_stream5(),{mergePromise:mergePromise2,getSpawnedPromise:getSpawnedPromise2}=require_promise(),{joinCommand:joinCommand2,parseCommand:parseCommand2,getEscapedCommand:getEscapedCommand2}=require_command(),DEFAULT_MAX_BUFFER2=1e3*1e3*100,getEnv2=({env:envOption,extendEnv,preferLocal,localDir,execPath})=>{let env3=extendEnv?{...process.env,...envOption}:envOption;return preferLocal?npmRunPath2.env({env:env3,cwd:localDir,execPath}):env3},handleArguments2=(file,args,options={})=>{let parsed=crossSpawn2._parse(file,args,options);return file=parsed.command,args=parsed.args,options=parsed.options,options={maxBuffer:DEFAULT_MAX_BUFFER2,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:options.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...options},options.env=getEnv2(options),options.stdio=normalizeStdio2(options),process.platform==="win32"&&path12.basename(file,".exe")==="cmd"&&args.unshift("/q"),{file,args,options,parsed}},handleOutput2=(options,value2,error2)=>typeof value2!="string"&&!Buffer.isBuffer(value2)?error2===void 0?void 0:"":options.stripFinalNewline?stripFinalNewline2(value2):value2,execa3=(file,args,options)=>{let parsed=handleArguments2(file,args,options),command=joinCommand2(file,args),escapedCommand=getEscapedCommand2(file,args);validateTimeout2(parsed.options);let spawned;try{spawned=childProcess2.spawn(parsed.file,parsed.args,parsed.options);}catch(error2){let dummySpawned=new childProcess2.ChildProcess,errorPromise=Promise.reject(makeError2({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1}));return mergePromise2(dummySpawned,errorPromise)}let spawnedPromise=getSpawnedPromise2(spawned),timedPromise=setupTimeout2(spawned,parsed.options,spawnedPromise),processDone=setExitHandler2(spawned,parsed.options,timedPromise),context={isCanceled:!1};spawned.kill=spawnedKill2.bind(null,spawned.kill.bind(spawned)),spawned.cancel=spawnedCancel2.bind(null,spawned,context);let handlePromiseOnce=onetime2(async()=>{let[{error:error2,exitCode,signal,timedOut:timedOut2},stdoutResult,stderrResult,allResult]=await getSpawnedResult2(spawned,parsed.options,processDone),stdout=handleOutput2(parsed.options,stdoutResult),stderr=handleOutput2(parsed.options,stderrResult),all2=handleOutput2(parsed.options,allResult);if(error2||exitCode!==0||signal!==null){let returnedError=makeError2({error:error2,exitCode,signal,stdout,stderr,all:all2,command,escapedCommand,parsed,timedOut:timedOut2,isCanceled:context.isCanceled,killed:spawned.killed});if(!parsed.options.reject)return returnedError;throw returnedError}return {command,escapedCommand,exitCode:0,stdout,stderr,all:all2,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return handleInput2(spawned,parsed.options.input),spawned.all=makeAllStream2(spawned,parsed.options),mergePromise2(spawned,handlePromiseOnce)};module2.exports=execa3;module2.exports.sync=(file,args,options)=>{let parsed=handleArguments2(file,args,options),command=joinCommand2(file,args),escapedCommand=getEscapedCommand2(file,args);validateInputSync(parsed.options);let result;try{result=childProcess2.spawnSync(parsed.file,parsed.args,parsed.options);}catch(error2){throw makeError2({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1})}let stdout=handleOutput2(parsed.options,result.stdout,result.error),stderr=handleOutput2(parsed.options,result.stderr,result.error);if(result.error||result.status!==0||result.signal!==null){let error2=makeError2({stdout,stderr,error:result.error,signal:result.signal,exitCode:result.status,command,escapedCommand,parsed,timedOut:result.error&&result.error.code==="ETIMEDOUT",isCanceled:!1,killed:result.signal!==null});if(!parsed.options.reject)return error2;throw error2}return {command,escapedCommand,exitCode:0,stdout,stderr,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}};module2.exports.command=(command,options)=>{let[file,...args]=parseCommand2(command);return execa3(file,args,options)};module2.exports.commandSync=(command,options)=>{let[file,...args]=parseCommand2(command);return execa3.sync(file,args,options)};module2.exports.node=(scriptPath,args,options={})=>{args&&!Array.isArray(args)&&typeof args=="object"&&(options=args,args=[]);let stdio=normalizeStdio2.node(options),defaultExecArgv=process.execArgv.filter(arg=>!arg.startsWith("--inspect")),{nodePath=process.execPath,nodeOptions=defaultExecArgv}=options;return execa3(nodePath,[...nodeOptions,scriptPath,...Array.isArray(args)?args:[]],{...options,stdin:void 0,stdout:void 0,stderr:void 0,stdio,shell:!1})};}});function pLimit(concurrency){if(!((Number.isInteger(concurrency)||concurrency===Number.POSITIVE_INFINITY)&&concurrency>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let queue=new Queue,activeCount=0,next=()=>{activeCount--,queue.size>0&&queue.dequeue()();},run=async(fn5,resolve9,args)=>{activeCount++;let result=(async()=>fn5(...args))();resolve9(result);try{await result;}catch{}next();},enqueue=(fn5,resolve9,args)=>{queue.enqueue(run.bind(void 0,fn5,resolve9,args)),(async()=>(await Promise.resolve(),activeCount<concurrency&&queue.size>0&&queue.dequeue()()))();},generator19=(fn5,...args)=>new Promise(resolve9=>{enqueue(fn5,resolve9,args);});return Object.defineProperties(generator19,{activeCount:{get:()=>activeCount},pendingCount:{get:()=>queue.size},clearQueue:{value:()=>{queue.clear();}}}),generator19}var EndError=class extends Error{constructor(value2){super(),this.value=value2;}},testElement=async(element,tester)=>tester(await element),finder=async element=>{let values=await Promise.all(element);if(values[1]===!0)throw new EndError(values[0]);return !1};async function pLocate(iterable,tester,{concurrency=Number.POSITIVE_INFINITY,preserveOrder=!0}={}){let limit=pLimit(concurrency),items=[...iterable].map(element=>[element,limit(testElement,element,tester)]),checkLimit=pLimit(preserveOrder?1:Number.POSITIVE_INFINITY);try{await Promise.all(items.map(element=>checkLimit(finder,element)));}catch(error2){if(error2 instanceof EndError)return error2.value;throw error2}}var typeMappings={directory:"isDirectory",file:"isFile"};function checkType(type){if(!Object.hasOwnProperty.call(typeMappings,type))throw new Error(`Invalid type specified: ${type}`)}var matchType=(type,stat3)=>stat3[typeMappings[type]](),toPath=urlOrPath=>urlOrPath instanceof URL?fileURLToPath(urlOrPath):urlOrPath;async function locatePath(paths,{cwd:cwd2=Q.cwd(),type="file",allowSymlinks=!0,concurrency,preserveOrder}={}){checkType(type),cwd2=toPath(cwd2);let statFunction=allowSymlinks?promises.stat:promises.lstat;return pLocate(paths,async path_=>{try{let stat3=await statFunction(path2.resolve(cwd2,path_));return matchType(type,stat3)}catch{return !1}},{concurrency,preserveOrder})}function locatePathSync(paths,{cwd:cwd2=Q.cwd(),type="file",allowSymlinks=!0}={}){checkType(type),cwd2=toPath(cwd2);let statFunction=allowSymlinks?tn6__default.statSync:tn6__default.lstatSync;for(let path_ of paths)try{let stat3=statFunction(path2.resolve(cwd2,path_),{throwIfNoEntry:!1});if(!stat3)continue;if(matchType(type,stat3))return path_}catch{}}function toPath2(urlOrPath){return urlOrPath instanceof URL?fileURLToPath(urlOrPath):urlOrPath}var findUpStop=Symbol("findUpStop");async function findUpMultiple(name,options={}){let directory=path2.resolve(toPath2(options.cwd)??""),{root}=path2.parse(directory),stopAt=path2.resolve(directory,toPath2(options.stopAt??root)),limit=options.limit??Number.POSITIVE_INFINITY,paths=[name].flat(),runMatcher=async locateOptions=>{if(typeof name!="function")return locatePath(paths,locateOptions);let foundPath=await name(locateOptions.cwd);return typeof foundPath=="string"?locatePath([foundPath],locateOptions):foundPath},matches=[];for(;;){let foundPath=await runMatcher({...options,cwd:directory});if(foundPath===findUpStop||(foundPath&&matches.push(path2.resolve(directory,foundPath)),directory===stopAt||matches.length>=limit))break;directory=path2.dirname(directory);}return matches}function findUpMultipleSync(name,options={}){let directory=path2.resolve(toPath2(options.cwd)??""),{root}=path2.parse(directory),stopAt=path2.resolve(directory,toPath2(options.stopAt)??root),limit=options.limit??Number.POSITIVE_INFINITY,paths=[name].flat(),runMatcher=locateOptions=>{if(typeof name!="function")return locatePathSync(paths,locateOptions);let foundPath=name(locateOptions.cwd);return typeof foundPath=="string"?locatePathSync([foundPath],locateOptions):foundPath},matches=[];for(;;){let foundPath=runMatcher({...options,cwd:directory});if(foundPath===findUpStop||(foundPath&&matches.push(path2.resolve(directory,foundPath)),directory===stopAt||matches.length>=limit))break;directory=path2.dirname(directory);}return matches}async function findUp(name,options={}){return (await findUpMultiple(name,{...options,limit:1}))[0]}function findUpSync(name,options={}){return findUpMultipleSync(name,{...options,limit:1})[0]}var NPM_LOCKFILE="package-lock.json",PNPM_LOCKFILE="pnpm-lock.yaml",YARN_LOCKFILE="yarn.lock",BUN_LOCKFILE="bun.lock",BUN_LOCKFILE_BINARY="bun.lockb",LOCK_FILES=[NPM_LOCKFILE,PNPM_LOCKFILE,YARN_LOCKFILE,BUN_LOCKFILE,BUN_LOCKFILE_BINARY];var projectRoot,getProjectRoot=()=>{if(projectRoot)return projectRoot;if(process.env.STORYBOOK_PROJECT_ROOT)return process.env.STORYBOOK_PROJECT_ROOT;try{let found=findUpSync(".git",{type:"directory"})||findUpSync(".svn",{type:"directory"})||findUpSync(".hg",{type:"directory"});if(found)return projectRoot=join(found,".."),projectRoot}catch(e5){process.stdout.write(`
691
+ `);return isError?(error2.originalMessage=error2.message,error2.message=message):error2=new Error(message),error2.shortMessage=shortMessage,error2.command=command,error2.escapedCommand=escapedCommand,error2.exitCode=exitCode,error2.signal=signal,error2.signalDescription=signalDescription,error2.stdout=stdout,error2.stderr=stderr,all2!==void 0&&(error2.all=all2),"bufferedData"in error2&&delete error2.bufferedData,error2.failed=!0,error2.timedOut=!!timedOut2,error2.isCanceled=isCanceled,error2.killed=killed&&!timedOut2,error2};module2.exports=makeError2;}});var require_stdio=__commonJS({"node_modules/execa/lib/stdio.js"(exports,module2){var aliases3=["stdin","stdout","stderr"],hasAlias2=options=>aliases3.some(alias=>options[alias]!==void 0),normalizeStdio2=options=>{if(!options)return;let{stdio}=options;if(stdio===void 0)return aliases3.map(alias=>options[alias]);if(hasAlias2(options))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${aliases3.map(alias=>`\`${alias}\``).join(", ")}`);if(typeof stdio=="string")return stdio;if(!Array.isArray(stdio))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);let length=Math.max(stdio.length,aliases3.length);return Array.from({length},(value2,index)=>stdio[index])};module2.exports=normalizeStdio2;module2.exports.node=options=>{let stdio=normalizeStdio2(options);return stdio==="ipc"?"ipc":stdio===void 0||typeof stdio=="string"?[stdio,stdio,stdio,"ipc"]:stdio.includes("ipc")?stdio:[...stdio,"ipc"]};}});var require_kill=__commonJS({"node_modules/execa/lib/kill.js"(exports,module2){var os9=__require("os"),onExit2=require_signal_exit(),DEFAULT_FORCE_KILL_TIMEOUT2=1e3*5,spawnedKill2=(kill,signal="SIGTERM",options={})=>{let killResult=kill(signal);return setKillTimeout2(kill,signal,options,killResult),killResult},setKillTimeout2=(kill,signal,options,killResult)=>{if(!shouldForceKill2(signal,options,killResult))return;let timeout=getForceKillAfterTimeout2(options),t18=setTimeout(()=>{kill("SIGKILL");},timeout);t18.unref&&t18.unref();},shouldForceKill2=(signal,{forceKillAfterTimeout},killResult)=>isSigterm2(signal)&&forceKillAfterTimeout!==!1&&killResult,isSigterm2=signal=>signal===os9.constants.signals.SIGTERM||typeof signal=="string"&&signal.toUpperCase()==="SIGTERM",getForceKillAfterTimeout2=({forceKillAfterTimeout=!0})=>{if(forceKillAfterTimeout===!0)return DEFAULT_FORCE_KILL_TIMEOUT2;if(!Number.isFinite(forceKillAfterTimeout)||forceKillAfterTimeout<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`);return forceKillAfterTimeout},spawnedCancel2=(spawned,context)=>{spawned.kill()&&(context.isCanceled=!0);},timeoutKill2=(spawned,signal,reject)=>{spawned.kill(signal),reject(Object.assign(new Error("Timed out"),{timedOut:!0,signal}));},setupTimeout2=(spawned,{timeout,killSignal="SIGTERM"},spawnedPromise)=>{if(timeout===0||timeout===void 0)return spawnedPromise;let timeoutId,timeoutPromise=new Promise((resolve9,reject)=>{timeoutId=setTimeout(()=>{timeoutKill2(spawned,killSignal,reject);},timeout);}),safeSpawnedPromise=spawnedPromise.finally(()=>{clearTimeout(timeoutId);});return Promise.race([timeoutPromise,safeSpawnedPromise])},validateTimeout2=({timeout})=>{if(timeout!==void 0&&(!Number.isFinite(timeout)||timeout<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`)},setExitHandler2=async(spawned,{cleanup,detached},timedPromise)=>{if(!cleanup||detached)return timedPromise;let removeExitHandler=onExit2(()=>{spawned.kill();});return timedPromise.finally(()=>{removeExitHandler();})};module2.exports={spawnedKill:spawnedKill2,spawnedCancel:spawnedCancel2,setupTimeout:setupTimeout2,validateTimeout:validateTimeout2,setExitHandler:setExitHandler2};}});var require_is_stream=__commonJS({"../../node_modules/is-stream/index.js"(exports,module2){var isStream3=stream3=>stream3!==null&&typeof stream3=="object"&&typeof stream3.pipe=="function";isStream3.writable=stream3=>isStream3(stream3)&&stream3.writable!==!1&&typeof stream3._write=="function"&&typeof stream3._writableState=="object";isStream3.readable=stream3=>isStream3(stream3)&&stream3.readable!==!1&&typeof stream3._read=="function"&&typeof stream3._readableState=="object";isStream3.duplex=stream3=>isStream3.writable(stream3)&&isStream3.readable(stream3);isStream3.transform=stream3=>isStream3.duplex(stream3)&&typeof stream3._transform=="function";module2.exports=isStream3;}});var require_buffer_stream2=__commonJS({"../../node_modules/get-stream/buffer-stream.js"(exports,module2){var{PassThrough:PassThroughStream2}=__require("stream");module2.exports=options=>{options={...options};let{array}=options,{encoding}=options,isBuffer=encoding==="buffer",objectMode=!1;array?objectMode=!(encoding||isBuffer):encoding=encoding||"utf8",isBuffer&&(encoding=null);let stream3=new PassThroughStream2({objectMode});encoding&&stream3.setEncoding(encoding);let length=0,chunks=[];return stream3.on("data",chunk=>{chunks.push(chunk),objectMode?length=chunks.length:length+=chunk.length;}),stream3.getBufferedValue=()=>array?chunks:isBuffer?Buffer.concat(chunks,length):chunks.join(""),stream3.getBufferedLength=()=>length,stream3};}});var require_get_stream2=__commonJS({"../../node_modules/get-stream/index.js"(exports,module2){var{constants:BufferConstants}=__require("buffer"),stream3=__require("stream"),{promisify:promisify4}=__require("util"),bufferStream=require_buffer_stream2(),streamPipelinePromisified=promisify4(stream3.pipeline),MaxBufferError2=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}};async function getStream(inputStream,options){if(!inputStream)throw new Error("Expected a stream");options={maxBuffer:1/0,...options};let{maxBuffer}=options,stream4=bufferStream(options);return await new Promise((resolve9,reject)=>{let rejectPromise=error2=>{error2&&stream4.getBufferedLength()<=BufferConstants.MAX_LENGTH&&(error2.bufferedData=stream4.getBufferedValue()),reject(error2);};(async()=>{try{await streamPipelinePromisified(inputStream,stream4),resolve9();}catch(error2){rejectPromise(error2);}})(),stream4.on("data",()=>{stream4.getBufferedLength()>maxBuffer&&rejectPromise(new MaxBufferError2);});}),stream4.getBufferedValue()}module2.exports=getStream;module2.exports.buffer=(stream4,options)=>getStream(stream4,{...options,encoding:"buffer"});module2.exports.array=(stream4,options)=>getStream(stream4,{...options,array:!0});module2.exports.MaxBufferError=MaxBufferError2;}});var require_stream5=__commonJS({"node_modules/execa/lib/stream.js"(exports,module2){var isStream3=require_is_stream(),getStream=require_get_stream2(),mergeStream2=require_merge_stream(),handleInput2=(spawned,input)=>{input===void 0||spawned.stdin===void 0||(isStream3(input)?input.pipe(spawned.stdin):spawned.stdin.end(input));},makeAllStream2=(spawned,{all:all2})=>{if(!all2||!spawned.stdout&&!spawned.stderr)return;let mixed=mergeStream2();return spawned.stdout&&mixed.add(spawned.stdout),spawned.stderr&&mixed.add(spawned.stderr),mixed},getBufferedData2=async(stream3,streamPromise)=>{if(stream3){stream3.destroy();try{return await streamPromise}catch(error2){return error2.bufferedData}}},getStreamPromise2=(stream3,{encoding,buffer,maxBuffer})=>{if(!(!stream3||!buffer))return encoding?getStream(stream3,{encoding,maxBuffer}):getStream.buffer(stream3,{maxBuffer})},getSpawnedResult2=async({stdout,stderr,all:all2},{encoding,buffer,maxBuffer},processDone)=>{let stdoutPromise=getStreamPromise2(stdout,{encoding,buffer,maxBuffer}),stderrPromise=getStreamPromise2(stderr,{encoding,buffer,maxBuffer}),allPromise=getStreamPromise2(all2,{encoding,buffer,maxBuffer:maxBuffer*2});try{return await Promise.all([processDone,stdoutPromise,stderrPromise,allPromise])}catch(error2){return Promise.all([{error:error2,signal:error2.signal,timedOut:error2.timedOut},getBufferedData2(stdout,stdoutPromise),getBufferedData2(stderr,stderrPromise),getBufferedData2(all2,allPromise)])}},validateInputSync=({input})=>{if(isStream3(input))throw new TypeError("The `input` option cannot be a stream in sync mode")};module2.exports={handleInput:handleInput2,makeAllStream:makeAllStream2,getSpawnedResult:getSpawnedResult2,validateInputSync};}});var require_promise=__commonJS({"node_modules/execa/lib/promise.js"(exports,module2){var nativePromisePrototype2=(async()=>{})().constructor.prototype,descriptors2=["then","catch","finally"].map(property=>[property,Reflect.getOwnPropertyDescriptor(nativePromisePrototype2,property)]),mergePromise2=(spawned,promise)=>{for(let[property,descriptor]of descriptors2){let value2=typeof promise=="function"?(...args)=>Reflect.apply(descriptor.value,promise(),args):descriptor.value.bind(promise);Reflect.defineProperty(spawned,property,{...descriptor,value:value2});}return spawned},getSpawnedPromise2=spawned=>new Promise((resolve9,reject)=>{spawned.on("exit",(exitCode,signal)=>{resolve9({exitCode,signal});}),spawned.on("error",error2=>{reject(error2);}),spawned.stdin&&spawned.stdin.on("error",error2=>{reject(error2);});});module2.exports={mergePromise:mergePromise2,getSpawnedPromise:getSpawnedPromise2};}});var require_command=__commonJS({"node_modules/execa/lib/command.js"(exports,module2){var normalizeArgs2=(file,args=[])=>Array.isArray(args)?[file,...args]:[file],NO_ESCAPE_REGEXP2=/^[\w.-]+$/,DOUBLE_QUOTES_REGEXP=/"/g,escapeArg2=arg=>typeof arg!="string"||NO_ESCAPE_REGEXP2.test(arg)?arg:`"${arg.replace(DOUBLE_QUOTES_REGEXP,'\\"')}"`,joinCommand2=(file,args)=>normalizeArgs2(file,args).join(" "),getEscapedCommand2=(file,args)=>normalizeArgs2(file,args).map(arg=>escapeArg2(arg)).join(" "),SPACES_REGEXP2=/ +/g,parseCommand2=command=>{let tokens=[];for(let token of command.trim().split(SPACES_REGEXP2)){let previousToken=tokens[tokens.length-1];previousToken&&previousToken.endsWith("\\")?tokens[tokens.length-1]=`${previousToken.slice(0,-1)} ${token}`:tokens.push(token);}return tokens};module2.exports={joinCommand:joinCommand2,getEscapedCommand:getEscapedCommand2,parseCommand:parseCommand2};}});var require_execa=__commonJS({"node_modules/execa/index.js"(exports,module2){var path12=__require("path"),childProcess2=__require("child_process"),crossSpawn2=require_cross_spawn(),stripFinalNewline2=require_strip_final_newline(),npmRunPath2=require_npm_run_path(),onetime2=require_onetime(),makeError2=require_error3(),normalizeStdio2=require_stdio(),{spawnedKill:spawnedKill2,spawnedCancel:spawnedCancel2,setupTimeout:setupTimeout2,validateTimeout:validateTimeout2,setExitHandler:setExitHandler2}=require_kill(),{handleInput:handleInput2,getSpawnedResult:getSpawnedResult2,makeAllStream:makeAllStream2,validateInputSync}=require_stream5(),{mergePromise:mergePromise2,getSpawnedPromise:getSpawnedPromise2}=require_promise(),{joinCommand:joinCommand2,parseCommand:parseCommand2,getEscapedCommand:getEscapedCommand2}=require_command(),DEFAULT_MAX_BUFFER2=1e3*1e3*100,getEnv2=({env:envOption,extendEnv,preferLocal,localDir,execPath})=>{let env3=extendEnv?{...process.env,...envOption}:envOption;return preferLocal?npmRunPath2.env({env:env3,cwd:localDir,execPath}):env3},handleArguments2=(file,args,options={})=>{let parsed=crossSpawn2._parse(file,args,options);return file=parsed.command,args=parsed.args,options=parsed.options,options={maxBuffer:DEFAULT_MAX_BUFFER2,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:options.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...options},options.env=getEnv2(options),options.stdio=normalizeStdio2(options),process.platform==="win32"&&path12.basename(file,".exe")==="cmd"&&args.unshift("/q"),{file,args,options,parsed}},handleOutput2=(options,value2,error2)=>typeof value2!="string"&&!Buffer.isBuffer(value2)?error2===void 0?void 0:"":options.stripFinalNewline?stripFinalNewline2(value2):value2,execa3=(file,args,options)=>{let parsed=handleArguments2(file,args,options),command=joinCommand2(file,args),escapedCommand=getEscapedCommand2(file,args);validateTimeout2(parsed.options);let spawned;try{spawned=childProcess2.spawn(parsed.file,parsed.args,parsed.options);}catch(error2){let dummySpawned=new childProcess2.ChildProcess,errorPromise=Promise.reject(makeError2({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1}));return mergePromise2(dummySpawned,errorPromise)}let spawnedPromise=getSpawnedPromise2(spawned),timedPromise=setupTimeout2(spawned,parsed.options,spawnedPromise),processDone=setExitHandler2(spawned,parsed.options,timedPromise),context={isCanceled:!1};spawned.kill=spawnedKill2.bind(null,spawned.kill.bind(spawned)),spawned.cancel=spawnedCancel2.bind(null,spawned,context);let handlePromiseOnce=onetime2(async()=>{let[{error:error2,exitCode,signal,timedOut:timedOut2},stdoutResult,stderrResult,allResult]=await getSpawnedResult2(spawned,parsed.options,processDone),stdout=handleOutput2(parsed.options,stdoutResult),stderr=handleOutput2(parsed.options,stderrResult),all2=handleOutput2(parsed.options,allResult);if(error2||exitCode!==0||signal!==null){let returnedError=makeError2({error:error2,exitCode,signal,stdout,stderr,all:all2,command,escapedCommand,parsed,timedOut:timedOut2,isCanceled:context.isCanceled,killed:spawned.killed});if(!parsed.options.reject)return returnedError;throw returnedError}return {command,escapedCommand,exitCode:0,stdout,stderr,all:all2,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return handleInput2(spawned,parsed.options.input),spawned.all=makeAllStream2(spawned,parsed.options),mergePromise2(spawned,handlePromiseOnce)};module2.exports=execa3;module2.exports.sync=(file,args,options)=>{let parsed=handleArguments2(file,args,options),command=joinCommand2(file,args),escapedCommand=getEscapedCommand2(file,args);validateInputSync(parsed.options);let result;try{result=childProcess2.spawnSync(parsed.file,parsed.args,parsed.options);}catch(error2){throw makeError2({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1})}let stdout=handleOutput2(parsed.options,result.stdout,result.error),stderr=handleOutput2(parsed.options,result.stderr,result.error);if(result.error||result.status!==0||result.signal!==null){let error2=makeError2({stdout,stderr,error:result.error,signal:result.signal,exitCode:result.status,command,escapedCommand,parsed,timedOut:result.error&&result.error.code==="ETIMEDOUT",isCanceled:!1,killed:result.signal!==null});if(!parsed.options.reject)return error2;throw error2}return {command,escapedCommand,exitCode:0,stdout,stderr,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}};module2.exports.command=(command,options)=>{let[file,...args]=parseCommand2(command);return execa3(file,args,options)};module2.exports.commandSync=(command,options)=>{let[file,...args]=parseCommand2(command);return execa3.sync(file,args,options)};module2.exports.node=(scriptPath,args,options={})=>{args&&!Array.isArray(args)&&typeof args=="object"&&(options=args,args=[]);let stdio=normalizeStdio2.node(options),defaultExecArgv=process.execArgv.filter(arg=>!arg.startsWith("--inspect")),{nodePath=process.execPath,nodeOptions=defaultExecArgv}=options;return execa3(nodePath,[...nodeOptions,scriptPath,...Array.isArray(args)?args:[]],{...options,stdin:void 0,stdout:void 0,stderr:void 0,stdio,shell:!1})};}});function pLimit(concurrency){if(!((Number.isInteger(concurrency)||concurrency===Number.POSITIVE_INFINITY)&&concurrency>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let queue=new Queue,activeCount=0,next=()=>{activeCount--,queue.size>0&&queue.dequeue()();},run=async(fn5,resolve9,args)=>{activeCount++;let result=(async()=>fn5(...args))();resolve9(result);try{await result;}catch{}next();},enqueue=(fn5,resolve9,args)=>{queue.enqueue(run.bind(void 0,fn5,resolve9,args)),(async()=>(await Promise.resolve(),activeCount<concurrency&&queue.size>0&&queue.dequeue()()))();},generator19=(fn5,...args)=>new Promise(resolve9=>{enqueue(fn5,resolve9,args);});return Object.defineProperties(generator19,{activeCount:{get:()=>activeCount},pendingCount:{get:()=>queue.size},clearQueue:{value:()=>{queue.clear();}}}),generator19}var EndError=class extends Error{constructor(value2){super(),this.value=value2;}},testElement=async(element,tester)=>tester(await element),finder=async element=>{let values=await Promise.all(element);if(values[1]===!0)throw new EndError(values[0]);return !1};async function pLocate(iterable,tester,{concurrency=Number.POSITIVE_INFINITY,preserveOrder=!0}={}){let limit=pLimit(concurrency),items=[...iterable].map(element=>[element,limit(testElement,element,tester)]),checkLimit=pLimit(preserveOrder?1:Number.POSITIVE_INFINITY);try{await Promise.all(items.map(element=>checkLimit(finder,element)));}catch(error2){if(error2 instanceof EndError)return error2.value;throw error2}}var typeMappings={directory:"isDirectory",file:"isFile"};function checkType(type){if(!Object.hasOwnProperty.call(typeMappings,type))throw new Error(`Invalid type specified: ${type}`)}var matchType=(type,stat3)=>stat3[typeMappings[type]](),toPath=urlOrPath=>urlOrPath instanceof URL?fileURLToPath(urlOrPath):urlOrPath;async function locatePath(paths,{cwd:cwd2=Q.cwd(),type="file",allowSymlinks=!0,concurrency,preserveOrder}={}){checkType(type),cwd2=toPath(cwd2);let statFunction=allowSymlinks?promises.stat:promises.lstat;return pLocate(paths,async path_=>{try{let stat3=await statFunction(path2.resolve(cwd2,path_));return matchType(type,stat3)}catch{return !1}},{concurrency,preserveOrder})}function locatePathSync(paths,{cwd:cwd2=Q.cwd(),type="file",allowSymlinks=!0}={}){checkType(type),cwd2=toPath(cwd2);let statFunction=allowSymlinks?tn6__default.statSync:tn6__default.lstatSync;for(let path_ of paths)try{let stat3=statFunction(path2.resolve(cwd2,path_),{throwIfNoEntry:!1});if(!stat3)continue;if(matchType(type,stat3))return path_}catch{}}function toPath2(urlOrPath){return urlOrPath instanceof URL?fileURLToPath(urlOrPath):urlOrPath}var findUpStop=Symbol("findUpStop");async function findUpMultiple(name,options={}){let directory=path2.resolve(toPath2(options.cwd)??""),{root}=path2.parse(directory),stopAt=path2.resolve(directory,toPath2(options.stopAt??root)),limit=options.limit??Number.POSITIVE_INFINITY,paths=[name].flat(),runMatcher=async locateOptions=>{if(typeof name!="function")return locatePath(paths,locateOptions);let foundPath=await name(locateOptions.cwd);return typeof foundPath=="string"?locatePath([foundPath],locateOptions):foundPath},matches=[];for(;;){let foundPath=await runMatcher({...options,cwd:directory});if(foundPath===findUpStop||(foundPath&&matches.push(path2.resolve(directory,foundPath)),directory===stopAt||matches.length>=limit))break;directory=path2.dirname(directory);}return matches}function findUpMultipleSync(name,options={}){let directory=path2.resolve(toPath2(options.cwd)??""),{root}=path2.parse(directory),stopAt=path2.resolve(directory,toPath2(options.stopAt)??root),limit=options.limit??Number.POSITIVE_INFINITY,paths=[name].flat(),runMatcher=locateOptions=>{if(typeof name!="function")return locatePathSync(paths,locateOptions);let foundPath=name(locateOptions.cwd);return typeof foundPath=="string"?locatePathSync([foundPath],locateOptions):foundPath},matches=[];for(;;){let foundPath=runMatcher({...options,cwd:directory});if(foundPath===findUpStop||(foundPath&&matches.push(path2.resolve(directory,foundPath)),directory===stopAt||matches.length>=limit))break;directory=path2.dirname(directory);}return matches}async function findUp(name,options={}){return (await findUpMultiple(name,{...options,limit:1}))[0]}function findUpSync(name,options={}){return findUpMultipleSync(name,{...options,limit:1})[0]}var NPM_LOCKFILE="package-lock.json",PNPM_LOCKFILE="pnpm-lock.yaml",YARN_LOCKFILE="yarn.lock",BUN_LOCKFILE="bun.lock",BUN_LOCKFILE_BINARY="bun.lockb",LOCK_FILES=[NPM_LOCKFILE,PNPM_LOCKFILE,YARN_LOCKFILE,BUN_LOCKFILE,BUN_LOCKFILE_BINARY];var projectRoot,getProjectRoot=()=>{if(projectRoot)return projectRoot;if(process.env.STORYBOOK_PROJECT_ROOT)return process.env.STORYBOOK_PROJECT_ROOT;try{let found=findUpSync(".git",{type:"directory"})||findUpSync(".svn",{type:"directory"})||findUpSync(".hg",{type:"directory"});if(found)return projectRoot=join(found,".."),projectRoot}catch(e5){process.stdout.write(`
691
692
  error searching for repository root: ${e5}
692
693
  `);}try{let found=findUpSync(LOCK_FILES,{type:"file"});if(found)return projectRoot=join(found,".."),projectRoot}catch(e5){process.stdout.write(`
693
694
  error searching for lock file: ${e5}
@@ -761,9 +762,9 @@ ${u5?" ":VF2.pointerSmall} ${Nr8.red().italic(r5)}`,"")),this.out.write(GF2.line
761
762
  `),this.close());}first(){this.moveCursor(0),this.render();}last(){this.moveCursor(this.choices.length-1),this.render();}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render();}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render();}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render();}_(e5,r5){if(e5===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(zF2.hide):this.out.write(Gh3(this.outputText,this.out.columns)),super.render();let{startIndex:e5,endIndex:r5}=HF2(this.cursor,this.choices.length,this.optionsPerPage);if(this.outputText=[jh2.symbol(this.done,this.aborted),Fe7.bold(this.msg),jh2.delimiter(!1),this.done?this.selection.title:this.selection.disabled?Fe7.yellow(this.warn):Fe7.gray(this.hint)].join(" "),!this.done){this.outputText+=`
762
763
  `;for(let u5=e5;u5<r5;u5++){let n10,o10,i7="",D10=this.choices[u5];u5===e5&&e5>0?o10=jr7.arrowUp:u5===r5-1&&r5<this.choices.length?o10=jr7.arrowDown:o10=" ",D10.disabled?(n10=this.cursor===u5?Fe7.gray().underline(D10.title):Fe7.strikethrough().gray(D10.title),o10=(this.cursor===u5?Fe7.bold().gray(jr7.pointer)+" ":" ")+o10):(n10=this.cursor===u5?Fe7.cyan().underline(D10.title):D10.title,o10=(this.cursor===u5?Fe7.cyan(jr7.pointer)+" ":" ")+o10,D10.description&&this.cursor===u5&&(i7=` - ${D10.description}`,(o10.length+n10.length+i7.length>=this.out.columns||D10.description.split(/\r?\n/).length>1)&&(i7=`
763
764
  `+YF2(D10.description,{margin:3,width:this.out.columns})))),this.outputText+=`${o10} ${n10}${Fe7.gray(i7)}
764
- `;}}this.out.write(this.outputText);}};Wh3.exports=ns4;}),zh=c((Ob3,Hh3)=>{var Gr6=I(),KF2=ge(),{style:Uh4,clear:ZF2}=re(),{cursor:Yh3,erase:JF2}=A(),os8=class extends KF2{static{s(this,"TogglePrompt");}constructor(e5={}){super(e5),this.msg=e5.message,this.value=!!e5.initial,this.active=e5.active||"on",this.inactive=e5.inactive||"off",this.initialValue=this.value,this.render();}reset(){this.value=this.initialValue,this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
765
+ `;}}this.out.write(this.outputText);}};Wh3.exports=ns4;}),zh=c((Ob3,Hh3)=>{var Gr6=I(),KF2=ge(),{style:Uh4,clear:ZF2}=re(),{cursor:Yh3,erase:JF2}=A(),os9=class extends KF2{static{s(this,"TogglePrompt");}constructor(e5={}){super(e5),this.msg=e5.message,this.value=!!e5.initial,this.active=e5.active||"on",this.inactive=e5.inactive||"off",this.initialValue=this.value,this.render();}reset(){this.value=this.initialValue,this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
765
766
  `),this.close();}submit(){this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
766
- `),this.close();}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render();}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render();}delete(){this.deactivate();}left(){this.deactivate();}right(){this.activate();}down(){this.deactivate();}up(){this.activate();}next(){this.value=!this.value,this.fire(),this.render();}_(e5,r5){if(e5===" ")this.value=!this.value;else if(e5==="1")this.value=!0;else if(e5==="0")this.value=!1;else return this.bell();this.render();}render(){this.closed||(this.firstRender?this.out.write(Yh3.hide):this.out.write(ZF2(this.outputText,this.out.columns)),super.render(),this.outputText=[Uh4.symbol(this.done,this.aborted),Gr6.bold(this.msg),Uh4.delimiter(this.done),this.value?this.inactive:Gr6.cyan().underline(this.inactive),Gr6.gray("/"),this.value?Gr6.cyan().underline(this.active):this.active].join(" "),this.out.write(JF2.line+Yh3.to(0)+this.outputText));}};Hh3.exports=os8;}),De=c((Ib4,Kh2)=>{var Ds2=class t18{static{s(this,"DatePart");}constructor({token:e5,date:r5,parts:u5,locales:n10}){this.token=e5,this.date=r5||new Date,this.parts=u5||[this],this.locales=n10||{};}up(){}down(){}next(){let e5=this.parts.indexOf(this);return this.parts.find((r5,u5)=>u5>e5&&r5 instanceof t18)}setTo(e5){}prev(){let e5=[].concat(this.parts).reverse(),r5=e5.indexOf(this);return e5.find((u5,n10)=>n10>r5&&u5 instanceof t18)}toString(){return String(this.date)}};Kh2.exports=Ds2;}),Jh=c((kb3,Zh3)=>{var XF2=De(),as3=class extends XF2{static{s(this,"Meridiem");}constructor(e5={}){super(e5);}up(){this.date.setHours((this.date.getHours()+12)%24);}down(){this.up();}toString(){let e5=this.date.getHours()>12?"pm":"am";return /\A/.test(this.token)?e5.toUpperCase():e5}};Zh3.exports=as3;}),Qh=c((Mb3,Xh3)=>{var QF2=De(),e22=s(t18=>(t18=t18%10,t18===1?"st":t18===2?"nd":t18===3?"rd":"th"),"pos"),ls3=class extends QF2{static{s(this,"Day");}constructor(e5={}){super(e5);}up(){this.date.setDate(this.date.getDate()+1);}down(){this.date.setDate(this.date.getDate()-1);}setTo(e5){this.date.setDate(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getDate(),r5=this.date.getDay();return this.token==="DD"?String(e5).padStart(2,"0"):this.token==="Do"?e5+e22(e5):this.token==="d"?r5+1:this.token==="ddd"?this.locales.weekdaysShort[r5]:this.token==="dddd"?this.locales.weekdays[r5]:e5}};Xh3.exports=ls3;}),tc=c((qb2,ec)=>{var t22=De(),hs2=class extends t22{static{s(this,"Hours");}constructor(e5={}){super(e5);}up(){this.date.setHours(this.date.getHours()+1);}down(){this.date.setHours(this.date.getHours()-1);}setTo(e5){this.date.setHours(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getHours();return /h/.test(this.token)&&(e5=e5%12||12),this.token.length>1?String(e5).padStart(2,"0"):e5}};ec.exports=hs2;}),uc=c((jb4,rc3)=>{var r22=De(),cs4=class extends r22{static{s(this,"Milliseconds");}constructor(e5={}){super(e5);}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1);}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1);}setTo(e5){this.date.setMilliseconds(parseInt(e5.substr(-this.token.length)));}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};rc3.exports=cs4;}),sc=c((Wb,ic2)=>{var u22=De(),ds4=class extends u22{static{s(this,"Minutes");}constructor(e5={}){super(e5);}up(){this.date.setMinutes(this.date.getMinutes()+1);}down(){this.date.setMinutes(this.date.getMinutes()-1);}setTo(e5){this.date.setMinutes(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getMinutes();return this.token.length>1?String(e5).padStart(2,"0"):e5}};ic2.exports=ds4;}),oc=c((Ub,nc2)=>{var i22=De(),fs13=class extends i22{static{s(this,"Month");}constructor(e5={}){super(e5);}up(){this.date.setMonth(this.date.getMonth()+1);}down(){this.date.setMonth(this.date.getMonth()-1);}setTo(e5){e5=parseInt(e5.substr(-2))-1,this.date.setMonth(e5<0?0:e5);}toString(){let e5=this.date.getMonth(),r5=this.token.length;return r5===2?String(e5+1).padStart(2,"0"):r5===3?this.locales.monthsShort[e5]:r5===4?this.locales.months[e5]:String(e5+1)}};nc2.exports=fs13;}),ac=c((Hb,Dc)=>{var s22=De(),ps4=class extends s22{static{s(this,"Seconds");}constructor(e5={}){super(e5);}up(){this.date.setSeconds(this.date.getSeconds()+1);}down(){this.date.setSeconds(this.date.getSeconds()-1);}setTo(e5){this.date.setSeconds(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getSeconds();return this.token.length>1?String(e5).padStart(2,"0"):e5}};Dc.exports=ps4;}),hc=c((Kb,lc2)=>{var n22=De(),ms3=class extends n22{static{s(this,"Year");}constructor(e5={}){super(e5);}up(){this.date.setFullYear(this.date.getFullYear()+1);}down(){this.date.setFullYear(this.date.getFullYear()-1);}setTo(e5){this.date.setFullYear(e5.substr(-4));}toString(){let e5=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?e5.substr(-2):e5}};lc2.exports=ms3;}),dc=c((Jb,cc2)=>{cc2.exports={DatePart:De(),Meridiem:Jh(),Day:Qh(),Hours:tc(),Milliseconds:uc(),Minutes:sc(),Month:oc(),Seconds:ac(),Year:hc()};}),Ec=c((Xb2,Cc)=>{var gs3=I(),o22=ge(),{style:fc,clear:pc,figures:D22}=re(),{erase:a22,cursor:mc}=A(),{DatePart:gc2,Meridiem:l22,Day:h22,Hours:c22,Milliseconds:d22,Minutes:f22,Month:p22,Seconds:m22,Year:g22}=dc(),F22=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,Fc={1:({token:t18})=>t18.replace(/\\(.)/g,"$1"),2:t18=>new h22(t18),3:t18=>new p22(t18),4:t18=>new g22(t18),5:t18=>new l22(t18),6:t18=>new c22(t18),7:t18=>new f22(t18),8:t18=>new m22(t18),9:t18=>new d22(t18)},C22={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},Fs5=class extends o22{static{s(this,"DatePrompt");}constructor(e5={}){super(e5),this.msg=e5.message,this.cursor=0,this.typed="",this.locales=Object.assign(C22,e5.locales),this._date=e5.initial||new Date,this.errorMsg=e5.error||"Please Enter A Valid Value",this.validator=e5.validate||(()=>!0),this.mask=e5.mask||"YYYY-MM-DD HH:mm:ss",this.clear=pc("",this.out.columns),this.render();}get value(){return this.date}get date(){return this._date}set date(e5){e5&&this._date.setTime(e5.getTime());}set mask(e5){let r5;for(this.parts=[];r5=F22.exec(e5);){let n10=r5.shift(),o10=r5.findIndex(i7=>i7!=null);this.parts.push(o10 in Fc?Fc[o10]({token:r5[o10]||n10,date:this.date,parts:this.parts,locales:this.locales}):r5[o10]||n10);}let u5=this.parts.reduce((n10,o10)=>(typeof o10=="string"&&typeof n10[n10.length-1]=="string"?n10[n10.length-1]+=o10:n10.push(o10),n10),[]);this.parts.splice(0),this.parts.push(...u5),this.reset();}moveCursor(e5){this.typed="",this.cursor=e5,this.fire();}reset(){this.moveCursor(this.parts.findIndex(e5=>e5 instanceof gc2)),this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
767
+ `),this.close();}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render();}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render();}delete(){this.deactivate();}left(){this.deactivate();}right(){this.activate();}down(){this.deactivate();}up(){this.activate();}next(){this.value=!this.value,this.fire(),this.render();}_(e5,r5){if(e5===" ")this.value=!this.value;else if(e5==="1")this.value=!0;else if(e5==="0")this.value=!1;else return this.bell();this.render();}render(){this.closed||(this.firstRender?this.out.write(Yh3.hide):this.out.write(ZF2(this.outputText,this.out.columns)),super.render(),this.outputText=[Uh4.symbol(this.done,this.aborted),Gr6.bold(this.msg),Uh4.delimiter(this.done),this.value?this.inactive:Gr6.cyan().underline(this.inactive),Gr6.gray("/"),this.value?Gr6.cyan().underline(this.active):this.active].join(" "),this.out.write(JF2.line+Yh3.to(0)+this.outputText));}};Hh3.exports=os9;}),De=c((Ib4,Kh2)=>{var Ds2=class t18{static{s(this,"DatePart");}constructor({token:e5,date:r5,parts:u5,locales:n10}){this.token=e5,this.date=r5||new Date,this.parts=u5||[this],this.locales=n10||{};}up(){}down(){}next(){let e5=this.parts.indexOf(this);return this.parts.find((r5,u5)=>u5>e5&&r5 instanceof t18)}setTo(e5){}prev(){let e5=[].concat(this.parts).reverse(),r5=e5.indexOf(this);return e5.find((u5,n10)=>n10>r5&&u5 instanceof t18)}toString(){return String(this.date)}};Kh2.exports=Ds2;}),Jh=c((kb3,Zh3)=>{var XF2=De(),as3=class extends XF2{static{s(this,"Meridiem");}constructor(e5={}){super(e5);}up(){this.date.setHours((this.date.getHours()+12)%24);}down(){this.up();}toString(){let e5=this.date.getHours()>12?"pm":"am";return /\A/.test(this.token)?e5.toUpperCase():e5}};Zh3.exports=as3;}),Qh=c((Mb3,Xh3)=>{var QF2=De(),e22=s(t18=>(t18=t18%10,t18===1?"st":t18===2?"nd":t18===3?"rd":"th"),"pos"),ls3=class extends QF2{static{s(this,"Day");}constructor(e5={}){super(e5);}up(){this.date.setDate(this.date.getDate()+1);}down(){this.date.setDate(this.date.getDate()-1);}setTo(e5){this.date.setDate(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getDate(),r5=this.date.getDay();return this.token==="DD"?String(e5).padStart(2,"0"):this.token==="Do"?e5+e22(e5):this.token==="d"?r5+1:this.token==="ddd"?this.locales.weekdaysShort[r5]:this.token==="dddd"?this.locales.weekdays[r5]:e5}};Xh3.exports=ls3;}),tc=c((qb2,ec)=>{var t22=De(),hs2=class extends t22{static{s(this,"Hours");}constructor(e5={}){super(e5);}up(){this.date.setHours(this.date.getHours()+1);}down(){this.date.setHours(this.date.getHours()-1);}setTo(e5){this.date.setHours(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getHours();return /h/.test(this.token)&&(e5=e5%12||12),this.token.length>1?String(e5).padStart(2,"0"):e5}};ec.exports=hs2;}),uc=c((jb4,rc3)=>{var r22=De(),cs4=class extends r22{static{s(this,"Milliseconds");}constructor(e5={}){super(e5);}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1);}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1);}setTo(e5){this.date.setMilliseconds(parseInt(e5.substr(-this.token.length)));}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};rc3.exports=cs4;}),sc=c((Wb,ic2)=>{var u22=De(),ds4=class extends u22{static{s(this,"Minutes");}constructor(e5={}){super(e5);}up(){this.date.setMinutes(this.date.getMinutes()+1);}down(){this.date.setMinutes(this.date.getMinutes()-1);}setTo(e5){this.date.setMinutes(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getMinutes();return this.token.length>1?String(e5).padStart(2,"0"):e5}};ic2.exports=ds4;}),oc=c((Ub,nc2)=>{var i22=De(),fs13=class extends i22{static{s(this,"Month");}constructor(e5={}){super(e5);}up(){this.date.setMonth(this.date.getMonth()+1);}down(){this.date.setMonth(this.date.getMonth()-1);}setTo(e5){e5=parseInt(e5.substr(-2))-1,this.date.setMonth(e5<0?0:e5);}toString(){let e5=this.date.getMonth(),r5=this.token.length;return r5===2?String(e5+1).padStart(2,"0"):r5===3?this.locales.monthsShort[e5]:r5===4?this.locales.months[e5]:String(e5+1)}};nc2.exports=fs13;}),ac=c((Hb,Dc)=>{var s22=De(),ps4=class extends s22{static{s(this,"Seconds");}constructor(e5={}){super(e5);}up(){this.date.setSeconds(this.date.getSeconds()+1);}down(){this.date.setSeconds(this.date.getSeconds()-1);}setTo(e5){this.date.setSeconds(parseInt(e5.substr(-2)));}toString(){let e5=this.date.getSeconds();return this.token.length>1?String(e5).padStart(2,"0"):e5}};Dc.exports=ps4;}),hc=c((Kb,lc2)=>{var n22=De(),ms3=class extends n22{static{s(this,"Year");}constructor(e5={}){super(e5);}up(){this.date.setFullYear(this.date.getFullYear()+1);}down(){this.date.setFullYear(this.date.getFullYear()-1);}setTo(e5){this.date.setFullYear(e5.substr(-4));}toString(){let e5=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?e5.substr(-2):e5}};lc2.exports=ms3;}),dc=c((Jb,cc2)=>{cc2.exports={DatePart:De(),Meridiem:Jh(),Day:Qh(),Hours:tc(),Milliseconds:uc(),Minutes:sc(),Month:oc(),Seconds:ac(),Year:hc()};}),Ec=c((Xb2,Cc)=>{var gs3=I(),o22=ge(),{style:fc,clear:pc,figures:D22}=re(),{erase:a22,cursor:mc}=A(),{DatePart:gc2,Meridiem:l22,Day:h22,Hours:c22,Milliseconds:d22,Minutes:f22,Month:p22,Seconds:m22,Year:g22}=dc(),F22=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,Fc={1:({token:t18})=>t18.replace(/\\(.)/g,"$1"),2:t18=>new h22(t18),3:t18=>new p22(t18),4:t18=>new g22(t18),5:t18=>new l22(t18),6:t18=>new c22(t18),7:t18=>new f22(t18),8:t18=>new m22(t18),9:t18=>new d22(t18)},C22={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},Fs5=class extends o22{static{s(this,"DatePrompt");}constructor(e5={}){super(e5),this.msg=e5.message,this.cursor=0,this.typed="",this.locales=Object.assign(C22,e5.locales),this._date=e5.initial||new Date,this.errorMsg=e5.error||"Please Enter A Valid Value",this.validator=e5.validate||(()=>!0),this.mask=e5.mask||"YYYY-MM-DD HH:mm:ss",this.clear=pc("",this.out.columns),this.render();}get value(){return this.date}get date(){return this._date}set date(e5){e5&&this._date.setTime(e5.getTime());}set mask(e5){let r5;for(this.parts=[];r5=F22.exec(e5);){let n10=r5.shift(),o10=r5.findIndex(i7=>i7!=null);this.parts.push(o10 in Fc?Fc[o10]({token:r5[o10]||n10,date:this.date,parts:this.parts,locales:this.locales}):r5[o10]||n10);}let u5=this.parts.reduce((n10,o10)=>(typeof o10=="string"&&typeof n10[n10.length-1]=="string"?n10[n10.length-1]+=o10:n10.push(o10),n10),[]);this.parts.splice(0),this.parts.push(...u5),this.reset();}moveCursor(e5){this.typed="",this.cursor=e5,this.fire();}reset(){this.moveCursor(this.parts.findIndex(e5=>e5 instanceof gc2)),this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
767
768
  `),this.close();}async validate(){let e5=await this.validator(this.value);typeof e5=="string"&&(this.errorMsg=e5,e5=!1),this.error=!e5;}async submit(){if(await this.validate(),this.error){this.color="red",this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
768
769
  `),this.close();}up(){this.typed="",this.parts[this.cursor].up(),this.render();}down(){this.typed="",this.parts[this.cursor].down(),this.render();}left(){let e5=this.parts[this.cursor].prev();if(e5==null)return this.bell();this.moveCursor(this.parts.indexOf(e5)),this.render();}right(){let e5=this.parts[this.cursor].next();if(e5==null)return this.bell();this.moveCursor(this.parts.indexOf(e5)),this.render();}next(){let e5=this.parts[this.cursor].next();this.moveCursor(e5?this.parts.indexOf(e5):this.parts.findIndex(r5=>r5 instanceof gc2)),this.render();}_(e5){/\d/.test(e5)&&(this.typed+=e5,this.parts[this.cursor].setTo(this.typed),this.render());}render(){this.closed||(this.firstRender?this.out.write(mc.hide):this.out.write(pc(this.outputText,this.out.columns)),super.render(),this.outputText=[fc.symbol(this.done,this.aborted),gs3.bold(this.msg),fc.delimiter(!1),this.parts.reduce((e5,r5,u5)=>e5.concat(u5===this.cursor&&!this.done?gs3.cyan().underline(r5.toString()):r5),[]).join("")].join(" "),this.error&&(this.outputText+=this.errorMsg.split(`
769
770
  `).reduce((e5,r5,u5)=>e5+`
@@ -1715,7 +1716,7 @@ ${r5}`);}return r5}i6(_t3,"compareObjects");function $t4(e5,t18){let{compareKeys
1715
1716
  ${h8}`}let s10=St3(t18,{forceWritable:!0}),c10=St3(e5,{forceWritable:!0}),{replacedExpected:a5,replacedActual:u5}=rr4(c10,s10);return Ls(a5,u5,n10)}i6(nr3,"printDiffOrStringify");function rr4(e5,t18,n10=new WeakSet,r5=new WeakSet){return e5 instanceof Error&&t18 instanceof Error&&typeof e5.cause<"u"&&typeof t18.cause>"u"?(delete e5.cause,{replacedActual:e5,replacedExpected:t18}):Un4(e5,t18)?n10.has(e5)||r5.has(t18)?{replacedActual:e5,replacedExpected:t18}:(n10.add(e5),r5.add(t18),bt2(t18).forEach(o10=>{let s10=t18[o10],c10=e5[o10];if(Yn3(s10))s10.asymmetricMatch(c10)&&(e5[o10]=s10);else if(Yn3(c10))c10.asymmetricMatch(s10)&&(t18[o10]=c10);else if(Un4(c10,s10)){let a5=rr4(c10,s10,n10,r5);e5[o10]=a5.replacedActual,t18[o10]=a5.replacedExpected;}}),{replacedActual:e5,replacedExpected:t18}):{replacedActual:e5,replacedExpected:t18}}i6(rr4,"replaceAsymmetricMatcher");function Ds(...e5){let t18=e5.reduce((n10,r5)=>r5.length>n10?r5.length:n10,0);return n10=>`${n10}: ${" ".repeat(t18-n10.length)}`}i6(Ds,"getLabelPrinter");var Fs2="\xB7";function or2(e5){return e5.replace(/\s+$/gm,t18=>Fs2.repeat(t18.length))}i6(or2,"replaceTrailingSpaces");function js2(e5){return v8.red(or2(pe2(e5)))}i6(js2,"printReceived");function ks(e5){return v8.green(or2(pe2(e5)))}i6(ks,"printExpected");function Wn4(e5,t18,n10){return e5.reduce((r5,o10)=>r5+(o10[0]===M6?o10[1]:o10[0]===t18?n10?v8.inverse(o10[1]):o10[1]:""),"")}i6(Wn4,"getCommonAndChangedSubstrings");var Bs2="@@__IMMUTABLE_RECORD__@@",zs2="@@__IMMUTABLE_ITERABLE__@@";function Ys3(e5){return e5&&(e5[zs2]||e5[Bs2])}i6(Ys3,"isImmutable");var Us3=Object.getPrototypeOf({});function sr2(e5){return e5 instanceof Error?`<unserializable>: ${e5.message}`:typeof e5=="string"?`<unserializable>: ${e5}`:"<unserializable>"}i6(sr2,"getUnserializableMessage");function le3(e5,t18=new WeakMap){if(!e5||typeof e5=="string")return e5;if(e5 instanceof Error&&"toJSON"in e5&&typeof e5.toJSON=="function"){let n10=e5.toJSON();return n10&&n10!==e5&&typeof n10=="object"&&(typeof e5.message=="string"&&Ve4(()=>n10.message??(n10.message=e5.message)),typeof e5.stack=="string"&&Ve4(()=>n10.stack??(n10.stack=e5.stack)),typeof e5.name=="string"&&Ve4(()=>n10.name??(n10.name=e5.name)),e5.cause!=null&&Ve4(()=>n10.cause??(n10.cause=le3(e5.cause,t18)))),le3(n10,t18)}if(typeof e5=="function")return `Function<${e5.name||"anonymous"}>`;if(typeof e5=="symbol")return e5.toString();if(typeof e5!="object")return e5;if(typeof Buffer<"u"&&e5 instanceof Buffer)return `<Buffer(${e5.length}) ...>`;if(typeof Uint8Array<"u"&&e5 instanceof Uint8Array)return `<Uint8Array(${e5.length}) ...>`;if(Ys3(e5))return le3(e5.toJSON(),t18);if(e5 instanceof Promise||e5.constructor&&e5.constructor.prototype==="AsyncFunction")return "Promise";if(typeof Element<"u"&&e5 instanceof Element)return e5.tagName;if(typeof e5.asymmetricMatch=="function")return `${e5.toString()} ${wn3(e5.sample)}`;if(typeof e5.toJSON=="function")return le3(e5.toJSON(),t18);if(t18.has(e5))return t18.get(e5);if(Array.isArray(e5)){let n10=new Array(e5.length);return t18.set(e5,n10),e5.forEach((r5,o10)=>{try{n10[o10]=le3(r5,t18);}catch(s10){n10[o10]=sr2(s10);}}),n10}else {let n10=Object.create(null);t18.set(e5,n10);let r5=e5;for(;r5&&r5!==Us3;)Object.getOwnPropertyNames(r5).forEach(o10=>{if(!(o10 in n10))try{n10[o10]=le3(e5[o10],t18);}catch(s10){delete n10[o10],n10[o10]=sr2(s10);}}),r5=Object.getPrototypeOf(r5);return n10}}i6(le3,"serializeValue");function Ve4(e5){try{return e5()}catch{}}i6(Ve4,"safe");function Ws4(e5){return e5.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}i6(Ws4,"normalizeErrorMessage");function It3(e5,t18,n10=new WeakSet){if(!e5||typeof e5!="object")return {message:String(e5)};let r5=e5;(r5.showDiff||r5.showDiff===void 0&&r5.expected!==void 0&&r5.actual!==void 0)&&(r5.diff=nr3(r5.actual,r5.expected,{...t18,...r5.diffOptions})),"expected"in r5&&typeof r5.expected!="string"&&(r5.expected=pe2(r5.expected,10)),"actual"in r5&&typeof r5.actual!="string"&&(r5.actual=pe2(r5.actual,10));try{typeof r5.message=="string"&&(r5.message=Ws4(r5.message));}catch{}try{!n10.has(r5)&&typeof r5.cause=="object"&&(n10.add(r5),r5.cause=It3(r5.cause,t18,n10));}catch{}try{return le3(r5)}catch(o10){return le3(new Error(`Failed to fully serialize error: ${o10?.message}
1716
1717
  Inner error message: ${r5?.message}`))}}i6(It3,"processError");var ne3={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},qe4=globalThis.__STORYBOOK_ADDONS_PREVIEW;var Hs2=new Error("This function ran after the play function completed. Did you forget to `await` it?"),cr2=i6(e5=>Object.prototype.toString.call(e5)==="[object Object]","isObject"),Js3=i6(e5=>Object.prototype.toString.call(e5)==="[object Module]","isModule"),Xs3=i6(e5=>{if(!cr2(e5)&&!Js3(e5))return !1;if(e5.constructor===void 0)return !0;let t18=e5.constructor.prototype;return !!cr2(t18)},"isInstrumentable"),Zs3=i6(e5=>{try{return new e5.constructor}catch{return {}}},"construct"),Mt3=i6(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),ur2=i6((e5,t18=!1)=>{let n10=(t18?e5.shadowCalls:e5.calls).filter(o10=>o10.retain);if(!n10.length)return;let r5=new Map(Array.from(e5.callRefsByResult.entries()).filter(([,o10])=>o10.retain));return {cursor:n10.length,calls:n10,callRefsByResult:r5}},"getRetainedState"),xt2=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=i6(()=>{try{this.state=scope.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};}catch{this.detached=!0;}},"loadParentWindowState"),this.updateParentWindowState=i6(()=>{try{scope.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state;}catch{this.detached=!0;}},"updateParentWindowState"),this.loadParentWindowState();let t18=i6(({storyId:u5,renderPhase:m7,isPlaying:p7=!0,isDebugging:l7=!1})=>{let b8=this.getState(u5);this.setState(u5,{...Mt3(),...ur2(b8,l7),renderPhase:m7||b8.renderPhase,shadowCalls:l7?b8.shadowCalls:[],chainedCallIds:l7?b8.chainedCallIds:new Set,playUntil:l7?b8.playUntil:void 0,isPlaying:p7,isDebugging:l7}),this.sync(u5);},"resetState"),n10=i6(u5=>({storyId:m7,playUntil:p7})=>{this.getState(m7).isDebugging||this.setState(m7,({calls:b8})=>({calls:[],shadowCalls:b8.map(g5=>({...g5,status:"waiting"})),isDebugging:!0}));let l7=this.getLog(m7);this.setState(m7,({shadowCalls:b8})=>{if(p7||!l7.length)return {playUntil:p7};let g5=b8.findIndex(h8=>h8.id===l7[0].callId);return {playUntil:b8.slice(0,g5).filter(h8=>h8.interceptable&&!h8.ancestors?.length).slice(-1)[0]?.id}}),u5.emit(L5,{storyId:m7,isDebugging:!0});},"start"),r5=i6(u5=>({storyId:m7})=>{let p7=this.getLog(m7).filter(b8=>!b8.ancestors?.length),l7=p7.reduceRight((b8,g5,h8)=>b8>=0||g5.status==="waiting"?b8:h8,-1);n10(u5)({storyId:m7,playUntil:p7[l7-1]?.callId});},"back"),o10=i6(u5=>({storyId:m7,callId:p7})=>{let{calls:l7,shadowCalls:b8,resolvers:g5}=this.getState(m7),h8=l7.find(({id:d7})=>d7===p7),f11=b8.find(({id:d7})=>d7===p7);if(!h8&&f11&&Object.values(g5).length>0){let d7=this.getLog(m7).find(S8=>S8.status==="waiting")?.callId;f11.id!==d7&&this.setState(m7,{playUntil:f11.id}),Object.values(g5).forEach(S8=>S8());}else n10(u5)({storyId:m7,playUntil:p7});},"goto"),s10=i6(u5=>({storyId:m7})=>{let{resolvers:p7}=this.getState(m7);if(Object.values(p7).length>0)Object.values(p7).forEach(l7=>l7());else {let l7=this.getLog(m7).find(b8=>b8.status==="waiting")?.callId;l7?n10(u5)({storyId:m7,playUntil:l7}):c10({storyId:m7});}},"next"),c10=i6(({storyId:u5})=>{this.setState(u5,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u5).resolvers).forEach(m7=>m7());},"end"),a5=i6(({storyId:u5,newPhase:m7})=>{let{isDebugging:p7}=this.getState(u5);if(m7==="preparing"&&p7)return t18({storyId:u5,renderPhase:m7});if(m7==="playing")return t18({storyId:u5,renderPhase:m7,isDebugging:p7});m7==="played"?this.setState(u5,{renderPhase:m7,isLocked:!1,isPlaying:!1,isDebugging:!1}):m7==="errored"?this.setState(u5,{renderPhase:m7,isLocked:!1,isPlaying:!1}):m7==="aborted"?this.setState(u5,{renderPhase:m7,isLocked:!0,isPlaying:!1}):this.setState(u5,{renderPhase:m7}),this.sync(u5);},"renderPhaseChanged");qe4&&qe4.ready().then(()=>{this.channel=qe4.getChannel(),this.channel.on(L5,t18),this.channel.on(B4,a5),this.channel.on(l2,()=>{this.initialized?this.cleanup():this.initialized=!0;}),this.channel.on(ne3.START,n10(this.channel)),this.channel.on(ne3.BACK,r5(this.channel)),this.channel.on(ne3.GOTO,o10(this.channel)),this.channel.on(ne3.NEXT,s10(this.channel)),this.channel.on(ne3.END,c10);});}getState(t18){return this.state[t18]||Mt3()}setState(t18,n10){if(t18){let r5=this.getState(t18),o10=typeof n10=="function"?n10(r5):n10;this.state={...this.state,[t18]:{...r5,...o10}},this.updateParentWindowState();}}cleanup(){this.state=Object.entries(this.state).reduce((r5,[o10,s10])=>{let c10=ur2(s10);return c10&&(r5[o10]=Object.assign(Mt3(),c10)),r5},{});let n10={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(ne3.SYNC,n10),this.updateParentWindowState();}getLog(t18){let{calls:n10,shadowCalls:r5}=this.getState(t18),o10=[...r5];n10.forEach((c10,a5)=>{o10[a5]=c10;});let s10=new Set;return o10.reduceRight((c10,a5)=>(a5.args.forEach(u5=>{u5?.__callId__&&s10.add(u5.__callId__);}),a5.path.forEach(u5=>{u5.__callId__&&s10.add(u5.__callId__);}),(a5.interceptable||a5.exception)&&!s10.has(a5.id)&&(c10.unshift({callId:a5.id,status:a5.status,ancestors:a5.ancestors}),s10.add(a5.id)),c10),[])}instrument(t18,n10,r5=0){if(!Xs3(t18))return t18;let{mutate:o10=!1,path:s10=[]}=n10,c10=n10.getKeys?n10.getKeys(t18,r5):Object.keys(t18);return r5+=1,c10.reduce((a5,u5)=>{let m7=vs2(t18,u5);if(typeof m7?.get=="function"){if(m7.configurable){let l7=i6(()=>m7?.get?.bind(t18)?.(),"getter");Object.defineProperty(a5,u5,{get:i6(()=>this.instrument(l7(),{...n10,path:s10.concat(u5)},r5),"get")});}return a5}let p7=t18[u5];return typeof p7!="function"?(a5[u5]=this.instrument(p7,{...n10,path:s10.concat(u5)},r5),a5):"__originalFn__"in p7&&typeof p7.__originalFn__=="function"?(a5[u5]=p7,a5):(a5[u5]=(...l7)=>this.track(u5,p7,t18,l7,n10),a5[u5].__originalFn__=p7,Object.defineProperty(a5[u5],"name",{value:u5,writable:!1}),Object.keys(p7).length>0&&Object.assign(a5[u5],this.instrument({...p7},{...n10,path:s10.concat(u5)},r5)),a5)},o10?t18:Zs3(t18))}track(t18,n10,r5,o10,s10){let c10=o10?.[0]?.__storyId__||scope.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a5,ancestors:u5}=this.getState(c10);this.setState(c10,{cursor:a5+1});let m7=`${u5.slice(-1)[0]||c10} [${a5}] ${t18}`,{path:p7=[],intercept:l7=!1,retain:b8=!1}=s10,g5=typeof l7=="function"?l7(t18,p7):l7,h8={id:m7,cursor:a5,storyId:c10,ancestors:u5,path:p7,method:t18,args:o10,interceptable:g5,retain:b8},d7=(g5&&!u5.length?this.intercept:this.invoke).call(this,n10,r5,h8,s10);return this.instrument(d7,{...s10,mutate:!0,path:[{__callId__:h8.id}]})}intercept(t18,n10,r5,o10){let{chainedCallIds:s10,isDebugging:c10,playUntil:a5}=this.getState(r5.storyId),u5=s10.has(r5.id);return !c10||u5||a5?(a5===r5.id&&this.setState(r5.storyId,{playUntil:void 0}),this.invoke(t18,n10,r5,o10)):new Promise(m7=>{this.setState(r5.storyId,({resolvers:p7})=>({isLocked:!1,resolvers:{...p7,[r5.id]:m7}}));}).then(()=>(this.setState(r5.storyId,m7=>{let{[r5.id]:p7,...l7}=m7.resolvers;return {isLocked:!0,resolvers:l7}}),this.invoke(t18,n10,r5,o10)))}invoke(t18,n10,r5,o10){let{callRefsByResult:s10,renderPhase:c10}=this.getState(r5.storyId),a5=25,u5=i6((l7,b8,g5)=>{if(g5.includes(l7))return "[Circular]";if(g5=[...g5,l7],b8>a5)return "...";if(s10.has(l7))return s10.get(l7);if(l7 instanceof Array)return l7.map(h8=>u5(h8,++b8,g5));if(l7 instanceof Date)return {__date__:{value:l7.toISOString()}};if(l7 instanceof Error){let{name:h8,message:f11,stack:d7}=l7;return {__error__:{name:h8,message:f11,stack:d7}}}if(l7 instanceof RegExp){let{flags:h8,source:f11}=l7;return {__regexp__:{flags:h8,source:f11}}}if(l7 instanceof scope.window?.HTMLElement){let{prefix:h8,localName:f11,id:d7,classList:S8,innerText:_11}=l7,O15=Array.from(S8);return {__element__:{prefix:h8,localName:f11,id:d7,classNames:O15,innerText:_11}}}return typeof l7=="function"?{__function__:{name:"getMockName"in l7?l7.getMockName():l7.name}}:typeof l7=="symbol"?{__symbol__:{description:l7.description}}:typeof l7=="object"&&l7?.constructor?.name&&l7?.constructor?.name!=="Object"?{__class__:{name:l7.constructor.name}}:Object.prototype.toString.call(l7)==="[object Object]"?Object.fromEntries(Object.entries(l7).map(([h8,f11])=>[h8,u5(f11,++b8,g5)])):l7},"serializeValues"),m7={...r5,args:r5.args.map(l7=>u5(l7,0,[]))};r5.path.forEach(l7=>{l7?.__callId__&&this.setState(r5.storyId,({chainedCallIds:b8})=>({chainedCallIds:new Set(Array.from(b8).concat(l7.__callId__))}));});let p7=i6(l7=>{if(l7 instanceof Error){let{name:b8,message:g5,stack:h8,callId:f11=r5.id}=l7,{showDiff:d7=void 0,diff:S8=void 0,actual:_11=void 0,expected:O15=void 0}=l7.name==="AssertionError"?It3(l7):l7,y7={name:b8,message:g5,stack:h8,callId:f11,showDiff:d7,diff:S8,actual:_11,expected:O15};if(this.update({...m7,status:"error",exception:y7}),this.setState(r5.storyId,E5=>({callRefsByResult:new Map([...Array.from(E5.callRefsByResult.entries()),[l7,{__callId__:r5.id,retain:r5.retain}]])})),r5.ancestors?.length)throw Object.prototype.hasOwnProperty.call(l7,"callId")||Object.defineProperty(l7,"callId",{value:r5.id}),l7}throw l7},"handleException");try{if(c10==="played"&&!r5.retain)throw Hs2;let b8=(o10.getArgs?o10.getArgs(r5,this.getState(r5.storyId)):r5.args).map(h8=>typeof h8!="function"||ei3(h8)||Object.keys(h8).length?h8:(...f11)=>{let{cursor:d7,ancestors:S8}=this.getState(r5.storyId);this.setState(r5.storyId,{cursor:0,ancestors:[...S8,r5.id]});let _11=i6(()=>this.setState(r5.storyId,{cursor:d7,ancestors:S8}),"restore"),O15=!1;try{let y7=h8(...f11);return y7 instanceof Promise?(O15=!0,y7.finally(_11)):y7}finally{O15||_11();}}),g5=t18.apply(n10,b8);return g5&&["object","function","symbol"].includes(typeof g5)&&this.setState(r5.storyId,h8=>({callRefsByResult:new Map([...Array.from(h8.callRefsByResult.entries()),[g5,{__callId__:r5.id,retain:r5.retain}]])})),this.update({...m7,status:g5 instanceof Promise?"active":"done"}),g5 instanceof Promise?g5.then(h8=>(this.update({...m7,status:"done"}),h8),p7):g5}catch(l7){return p7(l7)}}update(t18){this.channel?.emit(ne3.CALL,t18),this.setState(t18.storyId,({calls:n10})=>{let r5=n10.concat(t18).reduce((o10,s10)=>Object.assign(o10,{[s10.id]:s10}),{});return {calls:Object.values(r5).sort((o10,s10)=>o10.id.localeCompare(s10.id,void 0,{numeric:!0}))}}),this.sync(t18.storyId);}sync(t18){let n10=i6(()=>{let{isLocked:r5,isPlaying:o10}=this.getState(t18),s10=this.getLog(t18),c10=s10.filter(({ancestors:l7})=>!l7.length).find(l7=>l7.status==="waiting")?.callId,a5=s10.some(l7=>l7.status==="active");if(this.detached||r5||a5||s10.length===0){let b8={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:s10};this.channel?.emit(ne3.SYNC,b8);return}let u5=s10.some(l7=>l7.status==="done"||l7.status==="error"),p7={controlStates:{detached:this.detached,start:u5,back:u5,goto:!0,next:o10,end:o10},logItems:s10,pausedAt:c10};this.channel?.emit(ne3.SYNC,p7);},"synchronize");this.setState(t18,({syncTimeout:r5})=>(clearTimeout(r5),{syncTimeout:setTimeout(n10,0)}));}};i6(xt2,"Instrumenter");var Lt3=xt2;function Qs3(e5,t18={}){try{let n10=!1,r5=!1;return scope.window?.location?.search?.includes("instrument=true")?n10=!0:scope.window?.location?.search?.includes("instrument=false")&&(r5=!0),scope.window?.parent===scope.window&&!n10||r5?e5:(scope.window&&!scope.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(scope.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Lt3),(scope.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e5,t18))}catch(n10){return o.warn(n10),e5}}i6(Qs3,"instrument");function vs2(e5,t18){let n10=e5;for(;n10!=null;){let r5=Object.getOwnPropertyDescriptor(n10,t18);if(r5)return r5;n10=Object.getPrototypeOf(n10);}}i6(vs2,"getPropertyDescriptor");function ei3(e5){if(typeof e5!="function")return !1;let t18=Object.getOwnPropertyDescriptor(e5,"prototype");return t18?!t18.writable:!1}i6(ei3,"isClass");var KI2=Object.create,On3=Object.defineProperty,YI2=Object.getOwnPropertyDescriptor,XI2=Object.getOwnPropertyNames,JI=Object.getPrototypeOf,QI2=Object.prototype.hasOwnProperty,o4=(e5,t18)=>On3(e5,"name",{value:t18,configurable:!0}),ZI=(e5,t18)=>()=>(e5&&(t18=e5(e5=0)),t18),p4=(e5,t18)=>()=>(t18||e5((t18={exports:{}}).exports,t18),t18.exports),Wo2=(e5,t18)=>{for(var r5 in t18)On3(e5,r5,{get:t18[r5],enumerable:!0});},mg=(e5,t18,r5,n10)=>{if(t18&&typeof t18=="object"||typeof t18=="function")for(let i7 of XI2(t18))!QI2.call(e5,i7)&&i7!==r5&&On3(e5,i7,{get:()=>t18[i7],enumerable:!(n10=YI2(t18,i7))||n10.enumerable});return e5},ze4=(e5,t18,r5)=>(r5=e5!=null?KI2(JI(e5)):{},mg(t18||!e5||!e5.__esModule?On3(r5,"default",{value:e5,enumerable:!0}):r5,e5)),ej=e5=>mg(On3({},"__esModule",{value:!0}),e5),pv2=p4((qne,fv2)=>{fv2.exports=e5=>{let t18=e5.match(/^[ \t]*(?=\S)/gm);return t18?t18.reduce((r5,n10)=>Math.min(r5,n10.length),1/0):0};}),hv=p4((Rne,mv2)=>{var Pj=pv2();mv2.exports=e5=>{let t18=Pj(e5);if(t18===0)return e5;let r5=new RegExp(`^[ \\t]{${t18}}`,"gm");return e5.replace(r5,"")};}),yv2=p4((Tne,bv3)=>{bv3.exports=(e5,t18=1,r5)=>{if(r5={indent:" ",includeEmptyLines:!1,...r5},typeof e5!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e5}\``);if(typeof t18!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t18}\``);if(typeof r5.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r5.indent}\``);if(t18===0)return e5;let n10=r5.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e5.replace(n10,r5.indent.repeat(t18))};}),Xp2=p4((One,gv3)=>{var qj=hv(),Rj=yv2();gv3.exports=(e5,t18=0,r5)=>Rj(qj(e5),t18,r5);}),zv=p4(mi4=>{Object.defineProperty(mi4,"__esModule",{value:!0}),mi4.default=void 0;function lk2(){var e5=this,t18=0,r5={"@@iterator":o4(function(){return r5},"iterator"),next:o4(function(){if(t18<e5.length){var i7=e5[t18];return t18=t18+1,{done:!1,value:i7}}else return {done:!0}},"next")};return r5}o4(lk2,"iteratorProxy");mi4.default=lk2;}),Hr4=p4(am2=>{Object.defineProperty(am2,"__esModule",{value:!0}),am2.default=dk2;var uk2=ck2(zv());function ck2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(ck2,"_interopRequireDefault");function im3(e5){"@babel/helpers - typeof";return im3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t18){return typeof t18}:function(t18){return t18&&typeof Symbol=="function"&&t18.constructor===Symbol&&t18!==Symbol.prototype?"symbol":typeof t18},im3(e5)}o4(im3,"_typeof");function dk2(e5,t18){return typeof Symbol=="function"&&im3(Symbol.iterator)==="symbol"&&Object.defineProperty(e5,Symbol.iterator,{value:uk2.default.bind(t18)}),e5}o4(dk2,"iterationDecorator");}),Gv=p4(hi3=>{Object.defineProperty(hi3,"__esModule",{value:!0}),hi3.default=void 0;var fk2=pk2(Hr4());function pk2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(pk2,"_interopRequireDefault");function sm2(e5,t18){return yk2(e5)||bk2(e5,t18)||hk2(e5,t18)||mk2()}o4(sm2,"_slicedToArray");function mk2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1717
1718
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(mk2,"_nonIterableRest");function hk2(e5,t18){if(e5){if(typeof e5=="string")return Wv(e5,t18);var r5={}.toString.call(e5).slice(8,-1);return r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set"?Array.from(e5):r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5)?Wv(e5,t18):void 0}}o4(hk2,"_unsupportedIterableToArray");function Wv(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(Wv,"_arrayLikeToArray");function bk2(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10,i7,a5,s10,l7=[],c10=!0,u5=!1;try{if(a5=(r5=r5.call(e5)).next,t18===0){if(Object(r5)!==r5)return;c10=!1;}else for(;!(c10=(n10=a5.call(r5)).done)&&(l7.push(n10.value),l7.length!==t18);c10=!0);}catch(d7){u5=!0,i7=d7;}finally{try{if(!c10&&r5.return!=null&&(s10=r5.return(),Object(s10)!==s10))return}finally{if(u5)throw i7}}return l7}}o4(bk2,"_iterableToArrayLimit");function yk2(e5){if(Array.isArray(e5))return e5}o4(yk2,"_arrayWithHoles");var Vr6=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],lm4={entries:o4(function(){return Vr6},"entries"),forEach:o4(function(t18){for(var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=0,i7=Vr6;n10<i7.length;n10++){var a5=sm2(i7[n10],2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,Vr6);}},"forEach"),get:o4(function(t18){var r5=Vr6.filter(function(n10){return n10[0]===t18})[0];return r5&&r5[1]},"get"),has:o4(function(t18){return !!lm4.get(t18)},"has"),keys:o4(function(){return Vr6.map(function(t18){var r5=sm2(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return Vr6.map(function(t18){var r5=sm2(t18,2),n10=r5[1];return n10})},"values")};hi3.default=(0, fk2.default)(lm4,lm4.entries());}),Yv=p4(bi4=>{Object.defineProperty(bi4,"__esModule",{value:!0}),bi4.default=void 0;var gk2=vk2(Hr4());function vk2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(vk2,"_interopRequireDefault");function um3(e5,t18){return xk(e5)||Ck2(e5,t18)||Ek2(e5,t18)||wk2()}o4(um3,"_slicedToArray");function wk2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1718
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(wk2,"_nonIterableRest");function Ek2(e5,t18){if(e5){if(typeof e5=="string")return Kv2(e5,t18);var r5={}.toString.call(e5).slice(8,-1);return r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set"?Array.from(e5):r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5)?Kv2(e5,t18):void 0}}o4(Ek2,"_unsupportedIterableToArray");function Kv2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(Kv2,"_arrayLikeToArray");function Ck2(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10,i7,a5,s10,l7=[],c10=!0,u5=!1;try{if(a5=(r5=r5.call(e5)).next,t18===0){if(Object(r5)!==r5)return;c10=!1;}else for(;!(c10=(n10=a5.call(r5)).done)&&(l7.push(n10.value),l7.length!==t18);c10=!0);}catch(d7){u5=!0,i7=d7;}finally{try{if(!c10&&r5.return!=null&&(s10=r5.return(),Object(s10)!==s10))return}finally{if(u5)throw i7}}return l7}}o4(Ck2,"_iterableToArrayLimit");function xk(e5){if(Array.isArray(e5))return e5}o4(xk,"_arrayWithHoles");var zr8=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],cm2={entries:o4(function(){return zr8},"entries"),forEach:o4(function(t18){for(var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=0,i7=zr8;n10<i7.length;n10++){var a5=um3(i7[n10],2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,zr8);}},"forEach"),get:o4(function(t18){var r5=zr8.filter(function(n10){return n10[0]===t18})[0];return r5&&r5[1]},"get"),has:o4(function(t18){return !!cm2.get(t18)},"has"),keys:o4(function(){return zr8.map(function(t18){var r5=um3(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return zr8.map(function(t18){var r5=um3(t18,2),n10=r5[1];return n10})},"values")};bi4.default=(0, gk2.default)(cm2,cm2.entries());}),Xv=p4(yi3=>{Object.defineProperty(yi3,"__esModule",{value:!0}),yi3.default=void 0;var _k2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};yi3.default=_k2;}),Jv2=p4(gi3=>{Object.defineProperty(gi3,"__esModule",{value:!0}),gi3.default=void 0;var Pk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};gi3.default=Pk2;}),Qv=p4(vi4=>{Object.defineProperty(vi4,"__esModule",{value:!0}),vi4.default=void 0;var qk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};vi4.default=qk2;}),Zv=p4(wi3=>{Object.defineProperty(wi3,"__esModule",{value:!0}),wi3.default=void 0;var Rk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};wi3.default=Rk2;}),ew=p4(Ei5=>{Object.defineProperty(Ei5,"__esModule",{value:!0}),Ei5.default=void 0;var Tk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ei5.default=Tk2;}),tw=p4(Ci3=>{Object.defineProperty(Ci3,"__esModule",{value:!0}),Ci3.default=void 0;var Ok2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};Ci3.default=Ok2;}),rw=p4(xi4=>{Object.defineProperty(xi4,"__esModule",{value:!0}),xi4.default=void 0;var Sk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};xi4.default=Sk2;}),nw=p4(_i3=>{Object.defineProperty(_i3,"__esModule",{value:!0}),_i3.default=void 0;var Mk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};_i3.default=Mk2;}),ow=p4(Pi3=>{Object.defineProperty(Pi3,"__esModule",{value:!0}),Pi3.default=void 0;var Ak2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};Pi3.default=Ak2;}),iw=p4(qi3=>{Object.defineProperty(qi3,"__esModule",{value:!0}),qi3.default=void 0;var Nk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};qi3.default=Nk2;}),aw=p4(Ri3=>{Object.defineProperty(Ri3,"__esModule",{value:!0}),Ri3.default=void 0;var Ik2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};Ri3.default=Ik2;}),sw=p4(Ti4=>{Object.defineProperty(Ti4,"__esModule",{value:!0}),Ti4.default=void 0;var jk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};Ti4.default=jk2;}),lw=p4(Oi4=>{Object.defineProperty(Oi4,"__esModule",{value:!0}),Oi4.default=void 0;var kk2=Ze8(Xv()),Lk=Ze8(Jv2()),$k2=Ze8(Qv()),Bk2=Ze8(Zv()),Dk2=Ze8(ew()),Fk2=Ze8(tw()),Uk2=Ze8(rw()),Hk2=Ze8(nw()),Vk2=Ze8(ow()),zk2=Ze8(iw()),Wk2=Ze8(aw()),Gk=Ze8(sw());function Ze8(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Ze8,"_interopRequireDefault");var Kk2=[["command",kk2.default],["composite",Lk.default],["input",$k2.default],["landmark",Bk2.default],["range",Dk2.default],["roletype",Fk2.default],["section",Uk2.default],["sectionhead",Hk2.default],["select",Vk2.default],["structure",zk2.default],["widget",Wk2.default],["window",Gk.default]];Oi4.default=Kk2;}),uw2=p4(Si4=>{Object.defineProperty(Si4,"__esModule",{value:!0}),Si4.default=void 0;var Yk={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Si4.default=Yk;}),cw=p4(Mi=>{Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=void 0;var Xk2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};Mi.default=Xk2;}),dw=p4(Ai2=>{Object.defineProperty(Ai2,"__esModule",{value:!0}),Ai2.default=void 0;var Jk2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ai2.default=Jk2;}),fw=p4(Ni3=>{Object.defineProperty(Ni3,"__esModule",{value:!0}),Ni3.default=void 0;var Qk2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Ni3.default=Qk2;}),pw=p4(Ii3=>{Object.defineProperty(Ii3,"__esModule",{value:!0}),Ii3.default=void 0;var Zk2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ii3.default=Zk2;}),mw=p4(ji3=>{Object.defineProperty(ji3,"__esModule",{value:!0}),ji3.default=void 0;var eL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ji3.default=eL;}),hw2=p4(ki5=>{Object.defineProperty(ki5,"__esModule",{value:!0}),ki5.default=void 0;var tL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};ki5.default=tL;}),bw=p4(Li3=>{Object.defineProperty(Li3,"__esModule",{value:!0}),Li3.default=void 0;var rL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Li3.default=rL;}),yw=p4($i2=>{Object.defineProperty($i2,"__esModule",{value:!0}),$i2.default=void 0;var nL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};$i2.default=nL;}),gw=p4(Bi3=>{Object.defineProperty(Bi3,"__esModule",{value:!0}),Bi3.default=void 0;var oL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Bi3.default=oL;}),vw2=p4(Di5=>{Object.defineProperty(Di5,"__esModule",{value:!0}),Di5.default=void 0;var iL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Di5.default=iL;}),ww=p4(Fi4=>{Object.defineProperty(Fi4,"__esModule",{value:!0}),Fi4.default=void 0;var aL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Fi4.default=aL;}),Ew2=p4(Ui4=>{Object.defineProperty(Ui4,"__esModule",{value:!0}),Ui4.default=void 0;var sL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};Ui4.default=sL;}),Cw=p4(Hi2=>{Object.defineProperty(Hi2,"__esModule",{value:!0}),Hi2.default=void 0;var lL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Hi2.default=lL;}),xw=p4(Vi3=>{Object.defineProperty(Vi3,"__esModule",{value:!0}),Vi3.default=void 0;var uL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Vi3.default=uL;}),_w=p4(zi2=>{Object.defineProperty(zi2,"__esModule",{value:!0}),zi2.default=void 0;var cL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};zi2.default=cL;}),Pw=p4(Wi3=>{Object.defineProperty(Wi3,"__esModule",{value:!0}),Wi3.default=void 0;var dL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Wi3.default=dL;}),qw2=p4(Gi3=>{Object.defineProperty(Gi3,"__esModule",{value:!0}),Gi3.default=void 0;var fL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};Gi3.default=fL;}),Rw=p4(Ki3=>{Object.defineProperty(Ki3,"__esModule",{value:!0}),Ki3.default=void 0;var pL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};Ki3.default=pL;}),Tw=p4(Yi3=>{Object.defineProperty(Yi3,"__esModule",{value:!0}),Yi3.default=void 0;var mL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Yi3.default=mL;}),Ow2=p4(Xi3=>{Object.defineProperty(Xi3,"__esModule",{value:!0}),Xi3.default=void 0;var hL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Xi3.default=hL;}),Sw=p4(Ji4=>{Object.defineProperty(Ji4,"__esModule",{value:!0}),Ji4.default=void 0;var bL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};Ji4.default=bL;}),Mw=p4(Qi4=>{Object.defineProperty(Qi4,"__esModule",{value:!0}),Qi4.default=void 0;var yL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Qi4.default=yL;}),Aw2=p4(Zi3=>{Object.defineProperty(Zi3,"__esModule",{value:!0}),Zi3.default=void 0;var gL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Zi3.default=gL;}),Nw2=p4(ea3=>{Object.defineProperty(ea3,"__esModule",{value:!0}),ea3.default=void 0;var vL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};ea3.default=vL;}),Iw=p4(ta3=>{Object.defineProperty(ta3,"__esModule",{value:!0}),ta3.default=void 0;var wL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};ta3.default=wL;}),jw=p4(ra3=>{Object.defineProperty(ra3,"__esModule",{value:!0}),ra3.default=void 0;var EL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};ra3.default=EL;}),kw=p4(na2=>{Object.defineProperty(na2,"__esModule",{value:!0}),na2.default=void 0;var CL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};na2.default=CL;}),Lw2=p4(oa2=>{Object.defineProperty(oa2,"__esModule",{value:!0}),oa2.default=void 0;var xL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};oa2.default=xL;}),$w2=p4(ia2=>{Object.defineProperty(ia2,"__esModule",{value:!0}),ia2.default=void 0;var _L={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ia2.default=_L;}),Bw=p4(aa2=>{Object.defineProperty(aa2,"__esModule",{value:!0}),aa2.default=void 0;var PL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};aa2.default=PL;}),Dw=p4(sa2=>{Object.defineProperty(sa2,"__esModule",{value:!0}),sa2.default=void 0;var qL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};sa2.default=qL;}),Fw2=p4(la3=>{Object.defineProperty(la3,"__esModule",{value:!0}),la3.default=void 0;var RL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};la3.default=RL;}),Uw2=p4(ua3=>{Object.defineProperty(ua3,"__esModule",{value:!0}),ua3.default=void 0;var TL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ua3.default=TL;}),Hw=p4(ca4=>{Object.defineProperty(ca4,"__esModule",{value:!0}),ca4.default=void 0;var OL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ca4.default=OL;}),Vw=p4(da3=>{Object.defineProperty(da3,"__esModule",{value:!0}),da3.default=void 0;var SL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};da3.default=SL;}),zw=p4(fa3=>{Object.defineProperty(fa3,"__esModule",{value:!0}),fa3.default=void 0;var ML={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};fa3.default=ML;}),Ww=p4(pa3=>{Object.defineProperty(pa3,"__esModule",{value:!0}),pa3.default=void 0;var AL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};pa3.default=AL;}),Gw=p4(ma3=>{Object.defineProperty(ma3,"__esModule",{value:!0}),ma3.default=void 0;var NL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ma3.default=NL;}),Kw=p4(ha3=>{Object.defineProperty(ha3,"__esModule",{value:!0}),ha3.default=void 0;var IL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ha3.default=IL;}),Yw=p4(ba3=>{Object.defineProperty(ba3,"__esModule",{value:!0}),ba3.default=void 0;var jL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ba3.default=jL;}),Xw=p4(ya2=>{Object.defineProperty(ya2,"__esModule",{value:!0}),ya2.default=void 0;var kL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};ya2.default=kL;}),Jw=p4(ga2=>{Object.defineProperty(ga2,"__esModule",{value:!0}),ga2.default=void 0;var LL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};ga2.default=LL;}),Qw=p4(va3=>{Object.defineProperty(va3,"__esModule",{value:!0}),va3.default=void 0;var $L={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};va3.default=$L;}),Zw=p4(wa2=>{Object.defineProperty(wa2,"__esModule",{value:!0}),wa2.default=void 0;var BL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};wa2.default=BL;}),eE3=p4(Ea3=>{Object.defineProperty(Ea3,"__esModule",{value:!0}),Ea3.default=void 0;var DL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};Ea3.default=DL;}),tE3=p4(Ca3=>{Object.defineProperty(Ca3,"__esModule",{value:!0}),Ca3.default=void 0;var FL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ca3.default=FL;}),rE3=p4(xa2=>{Object.defineProperty(xa2,"__esModule",{value:!0}),xa2.default=void 0;var UL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};xa2.default=UL;}),nE2=p4(_a2=>{Object.defineProperty(_a2,"__esModule",{value:!0}),_a2.default=void 0;var HL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};_a2.default=HL;}),oE2=p4(Pa3=>{Object.defineProperty(Pa3,"__esModule",{value:!0}),Pa3.default=void 0;var VL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};Pa3.default=VL;}),iE2=p4(qa=>{Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=void 0;var zL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};qa.default=zL;}),aE=p4(Ra3=>{Object.defineProperty(Ra3,"__esModule",{value:!0}),Ra3.default=void 0;var WL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ra3.default=WL;}),sE2=p4(Ta=>{Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.default=void 0;var GL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};Ta.default=GL;}),lE=p4(Oa4=>{Object.defineProperty(Oa4,"__esModule",{value:!0}),Oa4.default=void 0;var KL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Oa4.default=KL;}),uE2=p4(Sa2=>{Object.defineProperty(Sa2,"__esModule",{value:!0}),Sa2.default=void 0;var YL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Sa2.default=YL;}),cE2=p4(Ma3=>{Object.defineProperty(Ma3,"__esModule",{value:!0}),Ma3.default=void 0;var XL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ma3.default=XL;}),dE=p4(Aa2=>{Object.defineProperty(Aa2,"__esModule",{value:!0}),Aa2.default=void 0;var JL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};Aa2.default=JL;}),fE=p4(Na3=>{Object.defineProperty(Na3,"__esModule",{value:!0}),Na3.default=void 0;var QL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};Na3.default=QL;}),pE2=p4(Ia4=>{Object.defineProperty(Ia4,"__esModule",{value:!0}),Ia4.default=void 0;var ZL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Ia4.default=ZL;}),mE=p4(ja2=>{Object.defineProperty(ja2,"__esModule",{value:!0}),ja2.default=void 0;var e$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};ja2.default=e$;}),hE=p4(ka3=>{Object.defineProperty(ka3,"__esModule",{value:!0}),ka3.default=void 0;var t$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ka3.default=t$;}),bE2=p4(La5=>{Object.defineProperty(La5,"__esModule",{value:!0}),La5.default=void 0;var r$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};La5.default=r$;}),yE=p4($a=>{Object.defineProperty($a,"__esModule",{value:!0}),$a.default=void 0;var n$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};$a.default=n$;}),gE=p4(Ba3=>{Object.defineProperty(Ba3,"__esModule",{value:!0}),Ba3.default=void 0;var o$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};Ba3.default=o$;}),vE2=p4(Da4=>{Object.defineProperty(Da4,"__esModule",{value:!0}),Da4.default=void 0;var i$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};Da4.default=i$;}),wE=p4(Fa4=>{Object.defineProperty(Fa4,"__esModule",{value:!0}),Fa4.default=void 0;var a$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Fa4.default=a$;}),EE3=p4(Ua2=>{Object.defineProperty(Ua2,"__esModule",{value:!0}),Ua2.default=void 0;var s$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ua2.default=s$;}),CE2=p4(Ha=>{Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.default=void 0;var l$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ha.default=l$;}),xE2=p4(Va=>{Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=void 0;var u$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Va.default=u$;}),_E3=p4(za=>{Object.defineProperty(za,"__esModule",{value:!0}),za.default=void 0;var c$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};za.default=c$;}),PE=p4(Wa=>{Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=void 0;var d$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};Wa.default=d$;}),qE2=p4(Ga2=>{Object.defineProperty(Ga2,"__esModule",{value:!0}),Ga2.default=void 0;var f$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};Ga2.default=f$;}),RE3=p4(Ka3=>{Object.defineProperty(Ka3,"__esModule",{value:!0}),Ka3.default=void 0;var p$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};Ka3.default=p$;}),TE3=p4(Ya=>{Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=void 0;var m$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ya.default=m$;}),OE2=p4(Xa2=>{Object.defineProperty(Xa2,"__esModule",{value:!0}),Xa2.default=void 0;var h$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Xa2.default=h$;}),SE3=p4(Ja2=>{Object.defineProperty(Ja2,"__esModule",{value:!0}),Ja2.default=void 0;var b$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};Ja2.default=b$;}),ME2=p4(Qa3=>{Object.defineProperty(Qa3,"__esModule",{value:!0}),Qa3.default=void 0;var y$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Qa3.default=y$;}),AE=p4(Za2=>{Object.defineProperty(Za2,"__esModule",{value:!0}),Za2.default=void 0;var g$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};Za2.default=g$;}),NE=p4(es4=>{Object.defineProperty(es4,"__esModule",{value:!0}),es4.default=void 0;var v$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};es4.default=v$;}),IE2=p4(ts4=>{Object.defineProperty(ts4,"__esModule",{value:!0}),ts4.default=void 0;var w$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ts4.default=w$;}),jE2=p4(rs3=>{Object.defineProperty(rs3,"__esModule",{value:!0}),rs3.default=void 0;var E$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};rs3.default=E$;}),kE=p4(ns4=>{Object.defineProperty(ns4,"__esModule",{value:!0}),ns4.default=void 0;var C$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};ns4.default=C$;}),LE2=p4(os8=>{Object.defineProperty(os8,"__esModule",{value:!0}),os8.default=void 0;var x$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};os8.default=x$;}),$E2=p4(is4=>{Object.defineProperty(is4,"__esModule",{value:!0}),is4.default=void 0;var _$=k13(uw2()),P$=k13(cw()),q$=k13(dw()),R$=k13(fw()),T$=k13(pw()),O$=k13(mw()),S$=k13(hw2()),M$=k13(bw()),A$=k13(yw()),N$=k13(gw()),I$=k13(vw2()),j$=k13(ww()),k$=k13(Ew2()),L$=k13(Cw()),$$=k13(xw()),B$=k13(_w()),D$=k13(Pw()),F$=k13(qw2()),U$=k13(Rw()),H$=k13(Tw()),V$=k13(Ow2()),z$=k13(Sw()),W$=k13(Mw()),G$=k13(Aw2()),K$=k13(Nw2()),Y$=k13(Iw()),X$=k13(jw()),J$=k13(kw()),Q$=k13(Lw2()),Z$=k13($w2()),eB2=k13(Bw()),tB2=k13(Dw()),rB3=k13(Fw2()),nB2=k13(Uw2()),oB2=k13(Hw()),iB2=k13(Vw()),aB2=k13(zw()),sB2=k13(Ww()),lB2=k13(Gw()),uB2=k13(Kw()),cB2=k13(Yw()),dB2=k13(Xw()),fB2=k13(Jw()),pB2=k13(Qw()),mB2=k13(Zw()),hB2=k13(eE3()),bB2=k13(tE3()),yB2=k13(rE3()),gB2=k13(nE2()),vB2=k13(oE2()),wB2=k13(iE2()),EB=k13(aE()),CB2=k13(sE2()),xB2=k13(lE()),_B2=k13(uE2()),PB=k13(cE2()),qB2=k13(dE()),RB2=k13(fE()),TB2=k13(pE2()),OB2=k13(mE()),SB3=k13(hE()),MB2=k13(bE2()),AB2=k13(yE()),NB2=k13(gE()),IB2=k13(vE2()),jB=k13(wE()),kB2=k13(EE3()),LB2=k13(CE2()),$B2=k13(xE2()),BB2=k13(_E3()),DB2=k13(PE()),FB2=k13(qE2()),UB=k13(RE3()),HB2=k13(TE3()),VB2=k13(OE2()),zB2=k13(SE3()),WB2=k13(ME2()),GB2=k13(AE()),KB2=k13(NE()),YB2=k13(IE2()),XB2=k13(jE2()),JB2=k13(kE()),QB2=k13(LE2());function k13(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(k13,"_interopRequireDefault");var ZB2=[["alert",_$.default],["alertdialog",P$.default],["application",q$.default],["article",R$.default],["banner",T$.default],["blockquote",O$.default],["button",S$.default],["caption",M$.default],["cell",A$.default],["checkbox",N$.default],["code",I$.default],["columnheader",j$.default],["combobox",k$.default],["complementary",L$.default],["contentinfo",$$.default],["definition",B$.default],["deletion",D$.default],["dialog",F$.default],["directory",U$.default],["document",H$.default],["emphasis",V$.default],["feed",z$.default],["figure",W$.default],["form",G$.default],["generic",K$.default],["grid",Y$.default],["gridcell",X$.default],["group",J$.default],["heading",Q$.default],["img",Z$.default],["insertion",eB2.default],["link",tB2.default],["list",rB3.default],["listbox",nB2.default],["listitem",oB2.default],["log",iB2.default],["main",aB2.default],["mark",sB2.default],["marquee",lB2.default],["math",uB2.default],["menu",cB2.default],["menubar",dB2.default],["menuitem",fB2.default],["menuitemcheckbox",pB2.default],["menuitemradio",mB2.default],["meter",hB2.default],["navigation",bB2.default],["none",yB2.default],["note",gB2.default],["option",vB2.default],["paragraph",wB2.default],["presentation",EB.default],["progressbar",CB2.default],["radio",xB2.default],["radiogroup",_B2.default],["region",PB.default],["row",qB2.default],["rowgroup",RB2.default],["rowheader",TB2.default],["scrollbar",OB2.default],["search",SB3.default],["searchbox",MB2.default],["separator",AB2.default],["slider",NB2.default],["spinbutton",IB2.default],["status",jB.default],["strong",kB2.default],["subscript",LB2.default],["superscript",$B2.default],["switch",BB2.default],["tab",DB2.default],["table",FB2.default],["tablist",UB.default],["tabpanel",HB2.default],["term",VB2.default],["textbox",zB2.default],["time",WB2.default],["timer",GB2.default],["toolbar",KB2.default],["tooltip",YB2.default],["tree",XB2.default],["treegrid",JB2.default],["treeitem",QB2.default]];is4.default=ZB2;}),BE=p4(as3=>{Object.defineProperty(as3,"__esModule",{value:!0}),as3.default=void 0;var eD4={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};as3.default=eD4;}),DE2=p4(ss3=>{Object.defineProperty(ss3,"__esModule",{value:!0}),ss3.default=void 0;var tD4={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ss3.default=tD4;}),FE=p4(ls3=>{Object.defineProperty(ls3,"__esModule",{value:!0}),ls3.default=void 0;var rD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ls3.default=rD3;}),UE2=p4(us4=>{Object.defineProperty(us4,"__esModule",{value:!0}),us4.default=void 0;var nD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};us4.default=nD2;}),HE=p4(cs4=>{Object.defineProperty(cs4,"__esModule",{value:!0}),cs4.default=void 0;var oD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};cs4.default=oD3;}),VE2=p4(ds4=>{Object.defineProperty(ds4,"__esModule",{value:!0}),ds4.default=void 0;var iD2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};ds4.default=iD2;}),zE2=p4(fs13=>{Object.defineProperty(fs13,"__esModule",{value:!0}),fs13.default=void 0;var aD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};fs13.default=aD2;}),WE2=p4(ps4=>{Object.defineProperty(ps4,"__esModule",{value:!0}),ps4.default=void 0;var sD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};ps4.default=sD3;}),GE2=p4(ms3=>{Object.defineProperty(ms3,"__esModule",{value:!0}),ms3.default=void 0;var lD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ms3.default=lD3;}),KE2=p4(hs2=>{Object.defineProperty(hs2,"__esModule",{value:!0}),hs2.default=void 0;var uD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};hs2.default=uD2;}),YE=p4(bs4=>{Object.defineProperty(bs4,"__esModule",{value:!0}),bs4.default=void 0;var cD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};bs4.default=cD2;}),XE=p4(ys3=>{Object.defineProperty(ys3,"__esModule",{value:!0}),ys3.default=void 0;var dD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};ys3.default=dD2;}),JE=p4(gs3=>{Object.defineProperty(gs3,"__esModule",{value:!0}),gs3.default=void 0;var fD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gs3.default=fD2;}),QE2=p4(vs5=>{Object.defineProperty(vs5,"__esModule",{value:!0}),vs5.default=void 0;var pD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};vs5.default=pD3;}),ZE2=p4(ws3=>{Object.defineProperty(ws3,"__esModule",{value:!0}),ws3.default=void 0;var mD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ws3.default=mD3;}),eC=p4(Es2=>{Object.defineProperty(Es2,"__esModule",{value:!0}),Es2.default=void 0;var hD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};Es2.default=hD2;}),tC=p4(Cs3=>{Object.defineProperty(Cs3,"__esModule",{value:!0}),Cs3.default=void 0;var bD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Cs3.default=bD3;}),rC=p4(xs4=>{Object.defineProperty(xs4,"__esModule",{value:!0}),xs4.default=void 0;var yD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};xs4.default=yD3;}),nC=p4(_s3=>{Object.defineProperty(_s3,"__esModule",{value:!0}),_s3.default=void 0;var gD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};_s3.default=gD2;}),oC=p4(Ps4=>{Object.defineProperty(Ps4,"__esModule",{value:!0}),Ps4.default=void 0;var vD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ps4.default=vD2;}),iC=p4(qs4=>{Object.defineProperty(qs4,"__esModule",{value:!0}),qs4.default=void 0;var wD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};qs4.default=wD2;}),aC=p4(Rs4=>{Object.defineProperty(Rs4,"__esModule",{value:!0}),Rs4.default=void 0;var ED2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Rs4.default=ED2;}),sC=p4(Ts5=>{Object.defineProperty(Ts5,"__esModule",{value:!0}),Ts5.default=void 0;var CD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ts5.default=CD3;}),lC=p4(Os5=>{Object.defineProperty(Os5,"__esModule",{value:!0}),Os5.default=void 0;var xD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Os5.default=xD2;}),uC=p4(Ss4=>{Object.defineProperty(Ss4,"__esModule",{value:!0}),Ss4.default=void 0;var _D2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Ss4.default=_D2;}),cC=p4(Ms3=>{Object.defineProperty(Ms3,"__esModule",{value:!0}),Ms3.default=void 0;var PD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};Ms3.default=PD;}),dC2=p4(As2=>{Object.defineProperty(As2,"__esModule",{value:!0}),As2.default=void 0;var qD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};As2.default=qD2;}),fC2=p4(Ns5=>{Object.defineProperty(Ns5,"__esModule",{value:!0}),Ns5.default=void 0;var RD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Ns5.default=RD3;}),pC=p4(Is3=>{Object.defineProperty(Is3,"__esModule",{value:!0}),Is3.default=void 0;var TD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};Is3.default=TD2;}),mC=p4(js5=>{Object.defineProperty(js5,"__esModule",{value:!0}),js5.default=void 0;var OD2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};js5.default=OD2;}),hC=p4(ks4=>{Object.defineProperty(ks4,"__esModule",{value:!0}),ks4.default=void 0;var SD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ks4.default=SD2;}),bC=p4(Ls4=>{Object.defineProperty(Ls4,"__esModule",{value:!0}),Ls4.default=void 0;var MD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ls4.default=MD2;}),yC2=p4($s6=>{Object.defineProperty($s6,"__esModule",{value:!0}),$s6.default=void 0;var AD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};$s6.default=AD2;}),gC=p4(Bs5=>{Object.defineProperty(Bs5,"__esModule",{value:!0}),Bs5.default=void 0;var ND3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Bs5.default=ND3;}),vC2=p4(Ds2=>{Object.defineProperty(Ds2,"__esModule",{value:!0}),Ds2.default=void 0;var ID3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ds2.default=ID3;}),wC2=p4(Fs5=>{Object.defineProperty(Fs5,"__esModule",{value:!0}),Fs5.default=void 0;var jD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Fs5.default=jD2;}),EC2=p4(Us5=>{Object.defineProperty(Us5,"__esModule",{value:!0}),Us5.default=void 0;var kD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};Us5.default=kD;}),CC=p4(Hs5=>{Object.defineProperty(Hs5,"__esModule",{value:!0}),Hs5.default=void 0;var LD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Hs5.default=LD2;}),xC=p4(Vs4=>{Object.defineProperty(Vs4,"__esModule",{value:!0}),Vs4.default=void 0;var $D3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};Vs4.default=$D3;}),_C3=p4(zs5=>{Object.defineProperty(zs5,"__esModule",{value:!0}),zs5.default=void 0;var BD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};zs5.default=BD3;}),PC2=p4(Ws7=>{Object.defineProperty(Ws7,"__esModule",{value:!0}),Ws7.default=void 0;var DD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};Ws7.default=DD2;}),qC2=p4(Gs4=>{Object.defineProperty(Gs4,"__esModule",{value:!0}),Gs4.default=void 0;var FD4=X13(BE()),UD3=X13(DE2()),HD2=X13(FE()),VD2=X13(UE2()),zD3=X13(HE()),WD2=X13(VE2()),GD2=X13(zE2()),KD2=X13(WE2()),YD3=X13(GE2()),XD=X13(KE2()),JD3=X13(YE()),QD3=X13(XE()),ZD3=X13(JE()),e22=X13(QE2()),t22=X13(ZE2()),r22=X13(eC()),n22=X13(tC()),o22=X13(rC()),i22=X13(nC()),a22=X13(oC()),s22=X13(iC()),l22=X13(aC()),u22=X13(sC()),c22=X13(lC()),d22=X13(uC()),f22=X13(cC()),p22=X13(dC2()),m22=X13(fC2()),h22=X13(pC()),b22=X13(mC()),y22=X13(hC()),g22=X13(bC()),v22=X13(yC2()),w22=X13(gC()),E22=X13(vC2()),C22=X13(wC2()),x22=X13(EC2()),_22=X13(CC()),P22=X13(xC()),q22=X13(_C3()),R22=X13(PC2());function X13(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(X13,"_interopRequireDefault");var T23=[["doc-abstract",FD4.default],["doc-acknowledgments",UD3.default],["doc-afterword",HD2.default],["doc-appendix",VD2.default],["doc-backlink",zD3.default],["doc-biblioentry",WD2.default],["doc-bibliography",GD2.default],["doc-biblioref",KD2.default],["doc-chapter",YD3.default],["doc-colophon",XD.default],["doc-conclusion",JD3.default],["doc-cover",QD3.default],["doc-credit",ZD3.default],["doc-credits",e22.default],["doc-dedication",t22.default],["doc-endnote",r22.default],["doc-endnotes",n22.default],["doc-epigraph",o22.default],["doc-epilogue",i22.default],["doc-errata",a22.default],["doc-example",s22.default],["doc-footnote",l22.default],["doc-foreword",u22.default],["doc-glossary",c22.default],["doc-glossref",d22.default],["doc-index",f22.default],["doc-introduction",p22.default],["doc-noteref",m22.default],["doc-notice",h22.default],["doc-pagebreak",b22.default],["doc-pagefooter",y22.default],["doc-pageheader",g22.default],["doc-pagelist",v22.default],["doc-part",w22.default],["doc-preface",E22.default],["doc-prologue",C22.default],["doc-pullquote",x22.default],["doc-qna",_22.default],["doc-subtitle",P22.default],["doc-tip",q22.default],["doc-toc",R22.default]];Gs4.default=T23;}),RC2=p4(Ks4=>{Object.defineProperty(Ks4,"__esModule",{value:!0}),Ks4.default=void 0;var O23={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Ks4.default=O23;}),TC2=p4(Ys6=>{Object.defineProperty(Ys6,"__esModule",{value:!0}),Ys6.default=void 0;var S22={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Ys6.default=S22;}),OC2=p4(Xs6=>{Object.defineProperty(Xs6,"__esModule",{value:!0}),Xs6.default=void 0;var M22={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};Xs6.default=M22;}),SC3=p4(Js6=>{Object.defineProperty(Js6,"__esModule",{value:!0}),Js6.default=void 0;var A22=dm2(RC2()),N22=dm2(TC2()),I22=dm2(OC2());function dm2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(dm2,"_interopRequireDefault");var j23=[["graphics-document",A22.default],["graphics-object",N22.default],["graphics-symbol",I22.default]];Js6.default=j23;}),Zs4=p4(Qs5=>{Object.defineProperty(Qs5,"__esModule",{value:!0}),Qs5.default=void 0;var k22=Un6(lw()),L22=Un6($E2()),$22=Un6(qC2()),B22=Un6(SC3()),D22=Un6(Hr4());function Un6(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Un6,"_interopRequireDefault");function fm3(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=AC3(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1719
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(wk2,"_nonIterableRest");function Ek2(e5,t18){if(e5){if(typeof e5=="string")return Kv2(e5,t18);var r5={}.toString.call(e5).slice(8,-1);return r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set"?Array.from(e5):r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5)?Kv2(e5,t18):void 0}}o4(Ek2,"_unsupportedIterableToArray");function Kv2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(Kv2,"_arrayLikeToArray");function Ck2(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10,i7,a5,s10,l7=[],c10=!0,u5=!1;try{if(a5=(r5=r5.call(e5)).next,t18===0){if(Object(r5)!==r5)return;c10=!1;}else for(;!(c10=(n10=a5.call(r5)).done)&&(l7.push(n10.value),l7.length!==t18);c10=!0);}catch(d7){u5=!0,i7=d7;}finally{try{if(!c10&&r5.return!=null&&(s10=r5.return(),Object(s10)!==s10))return}finally{if(u5)throw i7}}return l7}}o4(Ck2,"_iterableToArrayLimit");function xk(e5){if(Array.isArray(e5))return e5}o4(xk,"_arrayWithHoles");var zr8=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],cm2={entries:o4(function(){return zr8},"entries"),forEach:o4(function(t18){for(var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=0,i7=zr8;n10<i7.length;n10++){var a5=um3(i7[n10],2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,zr8);}},"forEach"),get:o4(function(t18){var r5=zr8.filter(function(n10){return n10[0]===t18})[0];return r5&&r5[1]},"get"),has:o4(function(t18){return !!cm2.get(t18)},"has"),keys:o4(function(){return zr8.map(function(t18){var r5=um3(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return zr8.map(function(t18){var r5=um3(t18,2),n10=r5[1];return n10})},"values")};bi4.default=(0, gk2.default)(cm2,cm2.entries());}),Xv=p4(yi3=>{Object.defineProperty(yi3,"__esModule",{value:!0}),yi3.default=void 0;var _k2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};yi3.default=_k2;}),Jv2=p4(gi3=>{Object.defineProperty(gi3,"__esModule",{value:!0}),gi3.default=void 0;var Pk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};gi3.default=Pk2;}),Qv=p4(vi4=>{Object.defineProperty(vi4,"__esModule",{value:!0}),vi4.default=void 0;var qk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};vi4.default=qk2;}),Zv=p4(wi3=>{Object.defineProperty(wi3,"__esModule",{value:!0}),wi3.default=void 0;var Rk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};wi3.default=Rk2;}),ew=p4(Ei5=>{Object.defineProperty(Ei5,"__esModule",{value:!0}),Ei5.default=void 0;var Tk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ei5.default=Tk2;}),tw=p4(Ci3=>{Object.defineProperty(Ci3,"__esModule",{value:!0}),Ci3.default=void 0;var Ok2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};Ci3.default=Ok2;}),rw=p4(xi4=>{Object.defineProperty(xi4,"__esModule",{value:!0}),xi4.default=void 0;var Sk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};xi4.default=Sk2;}),nw=p4(_i3=>{Object.defineProperty(_i3,"__esModule",{value:!0}),_i3.default=void 0;var Mk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};_i3.default=Mk2;}),ow=p4(Pi3=>{Object.defineProperty(Pi3,"__esModule",{value:!0}),Pi3.default=void 0;var Ak2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};Pi3.default=Ak2;}),iw=p4(qi3=>{Object.defineProperty(qi3,"__esModule",{value:!0}),qi3.default=void 0;var Nk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};qi3.default=Nk2;}),aw=p4(Ri3=>{Object.defineProperty(Ri3,"__esModule",{value:!0}),Ri3.default=void 0;var Ik2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};Ri3.default=Ik2;}),sw=p4(Ti4=>{Object.defineProperty(Ti4,"__esModule",{value:!0}),Ti4.default=void 0;var jk2={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};Ti4.default=jk2;}),lw=p4(Oi4=>{Object.defineProperty(Oi4,"__esModule",{value:!0}),Oi4.default=void 0;var kk2=Ze8(Xv()),Lk=Ze8(Jv2()),$k2=Ze8(Qv()),Bk2=Ze8(Zv()),Dk2=Ze8(ew()),Fk2=Ze8(tw()),Uk2=Ze8(rw()),Hk2=Ze8(nw()),Vk2=Ze8(ow()),zk2=Ze8(iw()),Wk2=Ze8(aw()),Gk=Ze8(sw());function Ze8(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Ze8,"_interopRequireDefault");var Kk2=[["command",kk2.default],["composite",Lk.default],["input",$k2.default],["landmark",Bk2.default],["range",Dk2.default],["roletype",Fk2.default],["section",Uk2.default],["sectionhead",Hk2.default],["select",Vk2.default],["structure",zk2.default],["widget",Wk2.default],["window",Gk.default]];Oi4.default=Kk2;}),uw2=p4(Si4=>{Object.defineProperty(Si4,"__esModule",{value:!0}),Si4.default=void 0;var Yk={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Si4.default=Yk;}),cw=p4(Mi=>{Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=void 0;var Xk2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};Mi.default=Xk2;}),dw=p4(Ai2=>{Object.defineProperty(Ai2,"__esModule",{value:!0}),Ai2.default=void 0;var Jk2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ai2.default=Jk2;}),fw=p4(Ni3=>{Object.defineProperty(Ni3,"__esModule",{value:!0}),Ni3.default=void 0;var Qk2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Ni3.default=Qk2;}),pw=p4(Ii3=>{Object.defineProperty(Ii3,"__esModule",{value:!0}),Ii3.default=void 0;var Zk2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ii3.default=Zk2;}),mw=p4(ji3=>{Object.defineProperty(ji3,"__esModule",{value:!0}),ji3.default=void 0;var eL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ji3.default=eL;}),hw2=p4(ki5=>{Object.defineProperty(ki5,"__esModule",{value:!0}),ki5.default=void 0;var tL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};ki5.default=tL;}),bw=p4(Li3=>{Object.defineProperty(Li3,"__esModule",{value:!0}),Li3.default=void 0;var rL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Li3.default=rL;}),yw=p4($i2=>{Object.defineProperty($i2,"__esModule",{value:!0}),$i2.default=void 0;var nL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};$i2.default=nL;}),gw=p4(Bi3=>{Object.defineProperty(Bi3,"__esModule",{value:!0}),Bi3.default=void 0;var oL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Bi3.default=oL;}),vw2=p4(Di5=>{Object.defineProperty(Di5,"__esModule",{value:!0}),Di5.default=void 0;var iL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Di5.default=iL;}),ww=p4(Fi4=>{Object.defineProperty(Fi4,"__esModule",{value:!0}),Fi4.default=void 0;var aL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Fi4.default=aL;}),Ew2=p4(Ui4=>{Object.defineProperty(Ui4,"__esModule",{value:!0}),Ui4.default=void 0;var sL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};Ui4.default=sL;}),Cw=p4(Hi2=>{Object.defineProperty(Hi2,"__esModule",{value:!0}),Hi2.default=void 0;var lL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Hi2.default=lL;}),xw=p4(Vi3=>{Object.defineProperty(Vi3,"__esModule",{value:!0}),Vi3.default=void 0;var uL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Vi3.default=uL;}),_w=p4(zi2=>{Object.defineProperty(zi2,"__esModule",{value:!0}),zi2.default=void 0;var cL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};zi2.default=cL;}),Pw=p4(Wi3=>{Object.defineProperty(Wi3,"__esModule",{value:!0}),Wi3.default=void 0;var dL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Wi3.default=dL;}),qw2=p4(Gi3=>{Object.defineProperty(Gi3,"__esModule",{value:!0}),Gi3.default=void 0;var fL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};Gi3.default=fL;}),Rw=p4(Ki3=>{Object.defineProperty(Ki3,"__esModule",{value:!0}),Ki3.default=void 0;var pL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};Ki3.default=pL;}),Tw=p4(Yi3=>{Object.defineProperty(Yi3,"__esModule",{value:!0}),Yi3.default=void 0;var mL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Yi3.default=mL;}),Ow2=p4(Xi3=>{Object.defineProperty(Xi3,"__esModule",{value:!0}),Xi3.default=void 0;var hL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Xi3.default=hL;}),Sw=p4(Ji4=>{Object.defineProperty(Ji4,"__esModule",{value:!0}),Ji4.default=void 0;var bL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};Ji4.default=bL;}),Mw=p4(Qi4=>{Object.defineProperty(Qi4,"__esModule",{value:!0}),Qi4.default=void 0;var yL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Qi4.default=yL;}),Aw2=p4(Zi3=>{Object.defineProperty(Zi3,"__esModule",{value:!0}),Zi3.default=void 0;var gL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Zi3.default=gL;}),Nw2=p4(ea3=>{Object.defineProperty(ea3,"__esModule",{value:!0}),ea3.default=void 0;var vL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};ea3.default=vL;}),Iw=p4(ta3=>{Object.defineProperty(ta3,"__esModule",{value:!0}),ta3.default=void 0;var wL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};ta3.default=wL;}),jw=p4(ra3=>{Object.defineProperty(ra3,"__esModule",{value:!0}),ra3.default=void 0;var EL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};ra3.default=EL;}),kw=p4(na2=>{Object.defineProperty(na2,"__esModule",{value:!0}),na2.default=void 0;var CL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};na2.default=CL;}),Lw2=p4(oa2=>{Object.defineProperty(oa2,"__esModule",{value:!0}),oa2.default=void 0;var xL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};oa2.default=xL;}),$w2=p4(ia2=>{Object.defineProperty(ia2,"__esModule",{value:!0}),ia2.default=void 0;var _L={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ia2.default=_L;}),Bw=p4(aa2=>{Object.defineProperty(aa2,"__esModule",{value:!0}),aa2.default=void 0;var PL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};aa2.default=PL;}),Dw=p4(sa2=>{Object.defineProperty(sa2,"__esModule",{value:!0}),sa2.default=void 0;var qL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};sa2.default=qL;}),Fw2=p4(la3=>{Object.defineProperty(la3,"__esModule",{value:!0}),la3.default=void 0;var RL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};la3.default=RL;}),Uw2=p4(ua3=>{Object.defineProperty(ua3,"__esModule",{value:!0}),ua3.default=void 0;var TL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ua3.default=TL;}),Hw=p4(ca4=>{Object.defineProperty(ca4,"__esModule",{value:!0}),ca4.default=void 0;var OL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ca4.default=OL;}),Vw=p4(da3=>{Object.defineProperty(da3,"__esModule",{value:!0}),da3.default=void 0;var SL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};da3.default=SL;}),zw=p4(fa3=>{Object.defineProperty(fa3,"__esModule",{value:!0}),fa3.default=void 0;var ML={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};fa3.default=ML;}),Ww=p4(pa3=>{Object.defineProperty(pa3,"__esModule",{value:!0}),pa3.default=void 0;var AL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};pa3.default=AL;}),Gw=p4(ma3=>{Object.defineProperty(ma3,"__esModule",{value:!0}),ma3.default=void 0;var NL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ma3.default=NL;}),Kw=p4(ha3=>{Object.defineProperty(ha3,"__esModule",{value:!0}),ha3.default=void 0;var IL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ha3.default=IL;}),Yw=p4(ba3=>{Object.defineProperty(ba3,"__esModule",{value:!0}),ba3.default=void 0;var jL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ba3.default=jL;}),Xw=p4(ya2=>{Object.defineProperty(ya2,"__esModule",{value:!0}),ya2.default=void 0;var kL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};ya2.default=kL;}),Jw=p4(ga2=>{Object.defineProperty(ga2,"__esModule",{value:!0}),ga2.default=void 0;var LL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};ga2.default=LL;}),Qw=p4(va3=>{Object.defineProperty(va3,"__esModule",{value:!0}),va3.default=void 0;var $L={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};va3.default=$L;}),Zw=p4(wa2=>{Object.defineProperty(wa2,"__esModule",{value:!0}),wa2.default=void 0;var BL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};wa2.default=BL;}),eE3=p4(Ea3=>{Object.defineProperty(Ea3,"__esModule",{value:!0}),Ea3.default=void 0;var DL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};Ea3.default=DL;}),tE3=p4(Ca3=>{Object.defineProperty(Ca3,"__esModule",{value:!0}),Ca3.default=void 0;var FL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ca3.default=FL;}),rE3=p4(xa2=>{Object.defineProperty(xa2,"__esModule",{value:!0}),xa2.default=void 0;var UL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};xa2.default=UL;}),nE2=p4(_a2=>{Object.defineProperty(_a2,"__esModule",{value:!0}),_a2.default=void 0;var HL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};_a2.default=HL;}),oE2=p4(Pa3=>{Object.defineProperty(Pa3,"__esModule",{value:!0}),Pa3.default=void 0;var VL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};Pa3.default=VL;}),iE2=p4(qa=>{Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=void 0;var zL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};qa.default=zL;}),aE=p4(Ra3=>{Object.defineProperty(Ra3,"__esModule",{value:!0}),Ra3.default=void 0;var WL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ra3.default=WL;}),sE2=p4(Ta=>{Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.default=void 0;var GL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};Ta.default=GL;}),lE=p4(Oa4=>{Object.defineProperty(Oa4,"__esModule",{value:!0}),Oa4.default=void 0;var KL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Oa4.default=KL;}),uE2=p4(Sa2=>{Object.defineProperty(Sa2,"__esModule",{value:!0}),Sa2.default=void 0;var YL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Sa2.default=YL;}),cE2=p4(Ma3=>{Object.defineProperty(Ma3,"__esModule",{value:!0}),Ma3.default=void 0;var XL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ma3.default=XL;}),dE=p4(Aa2=>{Object.defineProperty(Aa2,"__esModule",{value:!0}),Aa2.default=void 0;var JL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};Aa2.default=JL;}),fE=p4(Na3=>{Object.defineProperty(Na3,"__esModule",{value:!0}),Na3.default=void 0;var QL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};Na3.default=QL;}),pE2=p4(Ia4=>{Object.defineProperty(Ia4,"__esModule",{value:!0}),Ia4.default=void 0;var ZL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Ia4.default=ZL;}),mE=p4(ja2=>{Object.defineProperty(ja2,"__esModule",{value:!0}),ja2.default=void 0;var e$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};ja2.default=e$;}),hE=p4(ka3=>{Object.defineProperty(ka3,"__esModule",{value:!0}),ka3.default=void 0;var t$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ka3.default=t$;}),bE2=p4(La5=>{Object.defineProperty(La5,"__esModule",{value:!0}),La5.default=void 0;var r$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};La5.default=r$;}),yE=p4($a=>{Object.defineProperty($a,"__esModule",{value:!0}),$a.default=void 0;var n$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};$a.default=n$;}),gE=p4(Ba3=>{Object.defineProperty(Ba3,"__esModule",{value:!0}),Ba3.default=void 0;var o$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};Ba3.default=o$;}),vE2=p4(Da4=>{Object.defineProperty(Da4,"__esModule",{value:!0}),Da4.default=void 0;var i$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};Da4.default=i$;}),wE=p4(Fa4=>{Object.defineProperty(Fa4,"__esModule",{value:!0}),Fa4.default=void 0;var a$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Fa4.default=a$;}),EE3=p4(Ua2=>{Object.defineProperty(Ua2,"__esModule",{value:!0}),Ua2.default=void 0;var s$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ua2.default=s$;}),CE2=p4(Ha=>{Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.default=void 0;var l$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ha.default=l$;}),xE2=p4(Va=>{Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=void 0;var u$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Va.default=u$;}),_E3=p4(za=>{Object.defineProperty(za,"__esModule",{value:!0}),za.default=void 0;var c$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};za.default=c$;}),PE=p4(Wa=>{Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=void 0;var d$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};Wa.default=d$;}),qE2=p4(Ga2=>{Object.defineProperty(Ga2,"__esModule",{value:!0}),Ga2.default=void 0;var f$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};Ga2.default=f$;}),RE3=p4(Ka3=>{Object.defineProperty(Ka3,"__esModule",{value:!0}),Ka3.default=void 0;var p$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};Ka3.default=p$;}),TE3=p4(Ya=>{Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=void 0;var m$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ya.default=m$;}),OE2=p4(Xa2=>{Object.defineProperty(Xa2,"__esModule",{value:!0}),Xa2.default=void 0;var h$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Xa2.default=h$;}),SE3=p4(Ja2=>{Object.defineProperty(Ja2,"__esModule",{value:!0}),Ja2.default=void 0;var b$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};Ja2.default=b$;}),ME2=p4(Qa3=>{Object.defineProperty(Qa3,"__esModule",{value:!0}),Qa3.default=void 0;var y$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Qa3.default=y$;}),AE=p4(Za2=>{Object.defineProperty(Za2,"__esModule",{value:!0}),Za2.default=void 0;var g$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};Za2.default=g$;}),NE=p4(es4=>{Object.defineProperty(es4,"__esModule",{value:!0}),es4.default=void 0;var v$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};es4.default=v$;}),IE2=p4(ts4=>{Object.defineProperty(ts4,"__esModule",{value:!0}),ts4.default=void 0;var w$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ts4.default=w$;}),jE2=p4(rs3=>{Object.defineProperty(rs3,"__esModule",{value:!0}),rs3.default=void 0;var E$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};rs3.default=E$;}),kE=p4(ns4=>{Object.defineProperty(ns4,"__esModule",{value:!0}),ns4.default=void 0;var C$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};ns4.default=C$;}),LE2=p4(os9=>{Object.defineProperty(os9,"__esModule",{value:!0}),os9.default=void 0;var x$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};os9.default=x$;}),$E2=p4(is4=>{Object.defineProperty(is4,"__esModule",{value:!0}),is4.default=void 0;var _$=k13(uw2()),P$=k13(cw()),q$=k13(dw()),R$=k13(fw()),T$=k13(pw()),O$=k13(mw()),S$=k13(hw2()),M$=k13(bw()),A$=k13(yw()),N$=k13(gw()),I$=k13(vw2()),j$=k13(ww()),k$=k13(Ew2()),L$=k13(Cw()),$$=k13(xw()),B$=k13(_w()),D$=k13(Pw()),F$=k13(qw2()),U$=k13(Rw()),H$=k13(Tw()),V$=k13(Ow2()),z$=k13(Sw()),W$=k13(Mw()),G$=k13(Aw2()),K$=k13(Nw2()),Y$=k13(Iw()),X$=k13(jw()),J$=k13(kw()),Q$=k13(Lw2()),Z$=k13($w2()),eB2=k13(Bw()),tB2=k13(Dw()),rB3=k13(Fw2()),nB2=k13(Uw2()),oB2=k13(Hw()),iB2=k13(Vw()),aB2=k13(zw()),sB2=k13(Ww()),lB2=k13(Gw()),uB2=k13(Kw()),cB2=k13(Yw()),dB2=k13(Xw()),fB2=k13(Jw()),pB2=k13(Qw()),mB2=k13(Zw()),hB2=k13(eE3()),bB2=k13(tE3()),yB2=k13(rE3()),gB2=k13(nE2()),vB2=k13(oE2()),wB2=k13(iE2()),EB=k13(aE()),CB2=k13(sE2()),xB2=k13(lE()),_B2=k13(uE2()),PB=k13(cE2()),qB2=k13(dE()),RB2=k13(fE()),TB2=k13(pE2()),OB2=k13(mE()),SB3=k13(hE()),MB2=k13(bE2()),AB2=k13(yE()),NB2=k13(gE()),IB2=k13(vE2()),jB=k13(wE()),kB2=k13(EE3()),LB2=k13(CE2()),$B2=k13(xE2()),BB2=k13(_E3()),DB2=k13(PE()),FB2=k13(qE2()),UB=k13(RE3()),HB2=k13(TE3()),VB2=k13(OE2()),zB2=k13(SE3()),WB2=k13(ME2()),GB2=k13(AE()),KB2=k13(NE()),YB2=k13(IE2()),XB2=k13(jE2()),JB2=k13(kE()),QB2=k13(LE2());function k13(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(k13,"_interopRequireDefault");var ZB2=[["alert",_$.default],["alertdialog",P$.default],["application",q$.default],["article",R$.default],["banner",T$.default],["blockquote",O$.default],["button",S$.default],["caption",M$.default],["cell",A$.default],["checkbox",N$.default],["code",I$.default],["columnheader",j$.default],["combobox",k$.default],["complementary",L$.default],["contentinfo",$$.default],["definition",B$.default],["deletion",D$.default],["dialog",F$.default],["directory",U$.default],["document",H$.default],["emphasis",V$.default],["feed",z$.default],["figure",W$.default],["form",G$.default],["generic",K$.default],["grid",Y$.default],["gridcell",X$.default],["group",J$.default],["heading",Q$.default],["img",Z$.default],["insertion",eB2.default],["link",tB2.default],["list",rB3.default],["listbox",nB2.default],["listitem",oB2.default],["log",iB2.default],["main",aB2.default],["mark",sB2.default],["marquee",lB2.default],["math",uB2.default],["menu",cB2.default],["menubar",dB2.default],["menuitem",fB2.default],["menuitemcheckbox",pB2.default],["menuitemradio",mB2.default],["meter",hB2.default],["navigation",bB2.default],["none",yB2.default],["note",gB2.default],["option",vB2.default],["paragraph",wB2.default],["presentation",EB.default],["progressbar",CB2.default],["radio",xB2.default],["radiogroup",_B2.default],["region",PB.default],["row",qB2.default],["rowgroup",RB2.default],["rowheader",TB2.default],["scrollbar",OB2.default],["search",SB3.default],["searchbox",MB2.default],["separator",AB2.default],["slider",NB2.default],["spinbutton",IB2.default],["status",jB.default],["strong",kB2.default],["subscript",LB2.default],["superscript",$B2.default],["switch",BB2.default],["tab",DB2.default],["table",FB2.default],["tablist",UB.default],["tabpanel",HB2.default],["term",VB2.default],["textbox",zB2.default],["time",WB2.default],["timer",GB2.default],["toolbar",KB2.default],["tooltip",YB2.default],["tree",XB2.default],["treegrid",JB2.default],["treeitem",QB2.default]];is4.default=ZB2;}),BE=p4(as3=>{Object.defineProperty(as3,"__esModule",{value:!0}),as3.default=void 0;var eD4={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};as3.default=eD4;}),DE2=p4(ss3=>{Object.defineProperty(ss3,"__esModule",{value:!0}),ss3.default=void 0;var tD4={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ss3.default=tD4;}),FE=p4(ls3=>{Object.defineProperty(ls3,"__esModule",{value:!0}),ls3.default=void 0;var rD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ls3.default=rD3;}),UE2=p4(us4=>{Object.defineProperty(us4,"__esModule",{value:!0}),us4.default=void 0;var nD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};us4.default=nD2;}),HE=p4(cs4=>{Object.defineProperty(cs4,"__esModule",{value:!0}),cs4.default=void 0;var oD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};cs4.default=oD3;}),VE2=p4(ds4=>{Object.defineProperty(ds4,"__esModule",{value:!0}),ds4.default=void 0;var iD2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};ds4.default=iD2;}),zE2=p4(fs13=>{Object.defineProperty(fs13,"__esModule",{value:!0}),fs13.default=void 0;var aD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};fs13.default=aD2;}),WE2=p4(ps4=>{Object.defineProperty(ps4,"__esModule",{value:!0}),ps4.default=void 0;var sD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};ps4.default=sD3;}),GE2=p4(ms3=>{Object.defineProperty(ms3,"__esModule",{value:!0}),ms3.default=void 0;var lD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};ms3.default=lD3;}),KE2=p4(hs2=>{Object.defineProperty(hs2,"__esModule",{value:!0}),hs2.default=void 0;var uD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};hs2.default=uD2;}),YE=p4(bs4=>{Object.defineProperty(bs4,"__esModule",{value:!0}),bs4.default=void 0;var cD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};bs4.default=cD2;}),XE=p4(ys3=>{Object.defineProperty(ys3,"__esModule",{value:!0}),ys3.default=void 0;var dD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};ys3.default=dD2;}),JE=p4(gs3=>{Object.defineProperty(gs3,"__esModule",{value:!0}),gs3.default=void 0;var fD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gs3.default=fD2;}),QE2=p4(vs5=>{Object.defineProperty(vs5,"__esModule",{value:!0}),vs5.default=void 0;var pD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};vs5.default=pD3;}),ZE2=p4(ws3=>{Object.defineProperty(ws3,"__esModule",{value:!0}),ws3.default=void 0;var mD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ws3.default=mD3;}),eC=p4(Es2=>{Object.defineProperty(Es2,"__esModule",{value:!0}),Es2.default=void 0;var hD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};Es2.default=hD2;}),tC=p4(Cs3=>{Object.defineProperty(Cs3,"__esModule",{value:!0}),Cs3.default=void 0;var bD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Cs3.default=bD3;}),rC=p4(xs4=>{Object.defineProperty(xs4,"__esModule",{value:!0}),xs4.default=void 0;var yD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};xs4.default=yD3;}),nC=p4(_s3=>{Object.defineProperty(_s3,"__esModule",{value:!0}),_s3.default=void 0;var gD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};_s3.default=gD2;}),oC=p4(Ps4=>{Object.defineProperty(Ps4,"__esModule",{value:!0}),Ps4.default=void 0;var vD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ps4.default=vD2;}),iC=p4(qs4=>{Object.defineProperty(qs4,"__esModule",{value:!0}),qs4.default=void 0;var wD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};qs4.default=wD2;}),aC=p4(Rs4=>{Object.defineProperty(Rs4,"__esModule",{value:!0}),Rs4.default=void 0;var ED2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Rs4.default=ED2;}),sC=p4(Ts5=>{Object.defineProperty(Ts5,"__esModule",{value:!0}),Ts5.default=void 0;var CD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ts5.default=CD3;}),lC=p4(Os5=>{Object.defineProperty(Os5,"__esModule",{value:!0}),Os5.default=void 0;var xD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Os5.default=xD2;}),uC=p4(Ss4=>{Object.defineProperty(Ss4,"__esModule",{value:!0}),Ss4.default=void 0;var _D2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Ss4.default=_D2;}),cC=p4(Ms3=>{Object.defineProperty(Ms3,"__esModule",{value:!0}),Ms3.default=void 0;var PD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};Ms3.default=PD;}),dC2=p4(As2=>{Object.defineProperty(As2,"__esModule",{value:!0}),As2.default=void 0;var qD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};As2.default=qD2;}),fC2=p4(Ns5=>{Object.defineProperty(Ns5,"__esModule",{value:!0}),Ns5.default=void 0;var RD3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Ns5.default=RD3;}),pC=p4(Is3=>{Object.defineProperty(Is3,"__esModule",{value:!0}),Is3.default=void 0;var TD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};Is3.default=TD2;}),mC=p4(js5=>{Object.defineProperty(js5,"__esModule",{value:!0}),js5.default=void 0;var OD2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};js5.default=OD2;}),hC=p4(ks4=>{Object.defineProperty(ks4,"__esModule",{value:!0}),ks4.default=void 0;var SD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ks4.default=SD2;}),bC=p4(Ls4=>{Object.defineProperty(Ls4,"__esModule",{value:!0}),Ls4.default=void 0;var MD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ls4.default=MD2;}),yC2=p4($s6=>{Object.defineProperty($s6,"__esModule",{value:!0}),$s6.default=void 0;var AD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};$s6.default=AD2;}),gC=p4(Bs5=>{Object.defineProperty(Bs5,"__esModule",{value:!0}),Bs5.default=void 0;var ND3={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Bs5.default=ND3;}),vC2=p4(Ds2=>{Object.defineProperty(Ds2,"__esModule",{value:!0}),Ds2.default=void 0;var ID3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ds2.default=ID3;}),wC2=p4(Fs5=>{Object.defineProperty(Fs5,"__esModule",{value:!0}),Fs5.default=void 0;var jD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Fs5.default=jD2;}),EC2=p4(Us5=>{Object.defineProperty(Us5,"__esModule",{value:!0}),Us5.default=void 0;var kD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};Us5.default=kD;}),CC=p4(Hs5=>{Object.defineProperty(Hs5,"__esModule",{value:!0}),Hs5.default=void 0;var LD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Hs5.default=LD2;}),xC=p4(Vs4=>{Object.defineProperty(Vs4,"__esModule",{value:!0}),Vs4.default=void 0;var $D3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};Vs4.default=$D3;}),_C3=p4(zs5=>{Object.defineProperty(zs5,"__esModule",{value:!0}),zs5.default=void 0;var BD3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};zs5.default=BD3;}),PC2=p4(Ws7=>{Object.defineProperty(Ws7,"__esModule",{value:!0}),Ws7.default=void 0;var DD2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};Ws7.default=DD2;}),qC2=p4(Gs4=>{Object.defineProperty(Gs4,"__esModule",{value:!0}),Gs4.default=void 0;var FD4=X13(BE()),UD3=X13(DE2()),HD2=X13(FE()),VD2=X13(UE2()),zD3=X13(HE()),WD2=X13(VE2()),GD2=X13(zE2()),KD2=X13(WE2()),YD3=X13(GE2()),XD=X13(KE2()),JD3=X13(YE()),QD3=X13(XE()),ZD3=X13(JE()),e22=X13(QE2()),t22=X13(ZE2()),r22=X13(eC()),n22=X13(tC()),o22=X13(rC()),i22=X13(nC()),a22=X13(oC()),s22=X13(iC()),l22=X13(aC()),u22=X13(sC()),c22=X13(lC()),d22=X13(uC()),f22=X13(cC()),p22=X13(dC2()),m22=X13(fC2()),h22=X13(pC()),b22=X13(mC()),y22=X13(hC()),g22=X13(bC()),v22=X13(yC2()),w22=X13(gC()),E22=X13(vC2()),C22=X13(wC2()),x22=X13(EC2()),_22=X13(CC()),P22=X13(xC()),q22=X13(_C3()),R22=X13(PC2());function X13(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(X13,"_interopRequireDefault");var T23=[["doc-abstract",FD4.default],["doc-acknowledgments",UD3.default],["doc-afterword",HD2.default],["doc-appendix",VD2.default],["doc-backlink",zD3.default],["doc-biblioentry",WD2.default],["doc-bibliography",GD2.default],["doc-biblioref",KD2.default],["doc-chapter",YD3.default],["doc-colophon",XD.default],["doc-conclusion",JD3.default],["doc-cover",QD3.default],["doc-credit",ZD3.default],["doc-credits",e22.default],["doc-dedication",t22.default],["doc-endnote",r22.default],["doc-endnotes",n22.default],["doc-epigraph",o22.default],["doc-epilogue",i22.default],["doc-errata",a22.default],["doc-example",s22.default],["doc-footnote",l22.default],["doc-foreword",u22.default],["doc-glossary",c22.default],["doc-glossref",d22.default],["doc-index",f22.default],["doc-introduction",p22.default],["doc-noteref",m22.default],["doc-notice",h22.default],["doc-pagebreak",b22.default],["doc-pagefooter",y22.default],["doc-pageheader",g22.default],["doc-pagelist",v22.default],["doc-part",w22.default],["doc-preface",E22.default],["doc-prologue",C22.default],["doc-pullquote",x22.default],["doc-qna",_22.default],["doc-subtitle",P22.default],["doc-tip",q22.default],["doc-toc",R22.default]];Gs4.default=T23;}),RC2=p4(Ks4=>{Object.defineProperty(Ks4,"__esModule",{value:!0}),Ks4.default=void 0;var O23={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Ks4.default=O23;}),TC2=p4(Ys6=>{Object.defineProperty(Ys6,"__esModule",{value:!0}),Ys6.default=void 0;var S22={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Ys6.default=S22;}),OC2=p4(Xs6=>{Object.defineProperty(Xs6,"__esModule",{value:!0}),Xs6.default=void 0;var M22={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};Xs6.default=M22;}),SC3=p4(Js6=>{Object.defineProperty(Js6,"__esModule",{value:!0}),Js6.default=void 0;var A22=dm2(RC2()),N22=dm2(TC2()),I22=dm2(OC2());function dm2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(dm2,"_interopRequireDefault");var j23=[["graphics-document",A22.default],["graphics-object",N22.default],["graphics-symbol",I22.default]];Js6.default=j23;}),Zs4=p4(Qs5=>{Object.defineProperty(Qs5,"__esModule",{value:!0}),Qs5.default=void 0;var k22=Un6(lw()),L22=Un6($E2()),$22=Un6(qC2()),B22=Un6(SC3()),D22=Un6(Hr4());function Un6(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Un6,"_interopRequireDefault");function fm3(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=AC3(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1719
1720
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a5,s10=!0,l7=!1;return {s:o4(function(){r5=r5.call(e5);},"s"),n:o4(function(){var u5=r5.next();return s10=u5.done,u5},"n"),e:o4(function(u5){l7=!0,a5=u5;},"e"),f:o4(function(){try{s10||r5.return==null||r5.return();}finally{if(l7)throw a5}},"f")}}o4(fm3,"_createForOfIteratorHelper");function Fn6(e5,t18){return H24(e5)||U22(e5,t18)||AC3(e5,t18)||F22()}o4(Fn6,"_slicedToArray");function F22(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1720
1721
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(F22,"_nonIterableRest");function AC3(e5,t18){if(e5){if(typeof e5=="string")return MC3(e5,t18);var r5={}.toString.call(e5).slice(8,-1);return r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set"?Array.from(e5):r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5)?MC3(e5,t18):void 0}}o4(AC3,"_unsupportedIterableToArray");function MC3(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(MC3,"_arrayLikeToArray");function U22(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10,i7,a5,s10,l7=[],c10=!0,u5=!1;try{if(a5=(r5=r5.call(e5)).next,t18===0){if(Object(r5)!==r5)return;c10=!1;}else for(;!(c10=(n10=a5.call(r5)).done)&&(l7.push(n10.value),l7.length!==t18);c10=!0);}catch(d7){u5=!0,i7=d7;}finally{try{if(!c10&&r5.return!=null&&(s10=r5.return(),Object(s10)!==s10))return}finally{if(u5)throw i7}}return l7}}o4(U22,"_iterableToArrayLimit");function H24(e5){if(Array.isArray(e5))return e5}o4(H24,"_arrayWithHoles");var $t7=[].concat(k22.default,L22.default,$22.default,B22.default);$t7.forEach(function(e5){var t18=Fn6(e5,2),r5=t18[1],n10=fm3(r5.superClass),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=i7.value,s10=fm3(a5),l7;try{var c10=o4(function(){var d7=l7.value,f11=$t7.filter(function(x8){var b8=Fn6(x8,1),E5=b8[0];return E5===d7})[0];if(f11)for(var h8=f11[1],m7=0,y7=Object.keys(h8.props);m7<y7.length;m7++){var g5=y7[m7];Object.prototype.hasOwnProperty.call(r5.props,g5)||(r5.props[g5]=h8.props[g5]);}},"_loop");for(s10.s();!(l7=s10.n()).done;)c10();}catch(u5){s10.e(u5);}finally{s10.f();}}}catch(u5){n10.e(u5);}finally{n10.f();}});var pm3={entries:o4(function(){return $t7},"entries"),forEach:o4(function(t18){var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=fm3($t7),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=Fn6(i7.value,2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,$t7);}}catch(c10){n10.e(c10);}finally{n10.f();}},"forEach"),get:o4(function(t18){var r5=$t7.filter(function(n10){return n10[0]===t18})[0];return r5&&r5[1]},"get"),has:o4(function(t18){return !!pm3.get(t18)},"has"),keys:o4(function(){return $t7.map(function(t18){var r5=Fn6(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return $t7.map(function(t18){var r5=Fn6(t18,2),n10=r5[1];return n10})},"values")};Qs5.default=(0, D22.default)(pm3,pm3.entries());}),BC2=p4(ol3=>{Object.defineProperty(ol3,"__esModule",{value:!0}),ol3.default=void 0;var V23=LC2(Hr4()),kC2=LC2(Zs4());function LC2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(LC2,"_interopRequireDefault");function mm2(e5,t18){return K22(e5)||G23(e5,t18)||W22(e5,t18)||z22()}o4(mm2,"_slicedToArray");function z22(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1721
1722
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(z22,"_nonIterableRest");function W22(e5,t18){if(e5){if(typeof e5=="string")return NC3(e5,t18);var r5={}.toString.call(e5).slice(8,-1);return r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set"?Array.from(e5):r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5)?NC3(e5,t18):void 0}}o4(W22,"_unsupportedIterableToArray");function NC3(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(NC3,"_arrayLikeToArray");function G23(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10,i7,a5,s10,l7=[],c10=!0,u5=!1;try{if(a5=(r5=r5.call(e5)).next,t18===0){if(Object(r5)!==r5)return;c10=!1;}else for(;!(c10=(n10=a5.call(r5)).done)&&(l7.push(n10.value),l7.length!==t18);c10=!0);}catch(d7){u5=!0,i7=d7;}finally{try{if(!c10&&r5.return!=null&&(s10=r5.return(),Object(s10)!==s10))return}finally{if(u5)throw i7}}return l7}}o4(G23,"_iterableToArrayLimit");function K22(e5){if(Array.isArray(e5))return e5}o4(K22,"_arrayWithHoles");var Bt6=[],IC3=kC2.default.keys();for(el=0;el<IC3.length;el++)if(tl2=IC3[el],rl2=kC2.default.get(tl2),rl2)for(hm=[].concat(rl2.baseConcepts,rl2.relatedConcepts),jC3=o4(function(){var t18=hm[nl2];if(t18.module==="HTML"){var r5=t18.concept;if(r5){var n10=Bt6.filter(function(l7){return Y22(l7[0],r5)})[0],i7;n10?i7=n10[1]:i7=[];for(var a5=!0,s10=0;s10<i7.length;s10++)if(i7[s10]===tl2){a5=!1;break}a5&&i7.push(tl2),n10||Bt6.push([r5,i7]);}}},"_loop"),nl2=0;nl2<hm.length;nl2++)jC3();var tl2,rl2,hm,jC3,nl2,el,bm2={entries:o4(function(){return Bt6},"entries"),forEach:o4(function(t18){for(var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=0,i7=Bt6;n10<i7.length;n10++){var a5=mm2(i7[n10],2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,Bt6);}},"forEach"),get:o4(function(t18){var r5=Bt6.filter(function(n10){return t18.name===n10[0].name&&$C3(t18.attributes,n10[0].attributes)})[0];return r5&&r5[1]},"get"),has:o4(function(t18){return !!bm2.get(t18)},"has"),keys:o4(function(){return Bt6.map(function(t18){var r5=mm2(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return Bt6.map(function(t18){var r5=mm2(t18,2),n10=r5[1];return n10})},"values")};function Y22(e5,t18){return e5.name===t18.name&&X22(e5.constraints,t18.constraints)&&$C3(e5.attributes,t18.attributes)}o4(Y22,"ariaRoleRelationConceptEquals");function X22(e5,t18){if(e5===void 0&&t18!==void 0||e5!==void 0&&t18===void 0)return !1;if(e5!==void 0&&t18!==void 0){if(e5.length!==t18.length)return !1;for(var r5=0;r5<e5.length;r5++)if(e5[r5]!==t18[r5])return !1}return !0}o4(X22,"ariaRoleRelationConstraintsEquals");function $C3(e5,t18){if(e5===void 0&&t18!==void 0||e5!==void 0&&t18===void 0)return !1;if(e5!==void 0&&t18!==void 0){if(e5.length!==t18.length)return !1;for(var r5=0;r5<e5.length;r5++){if(e5[r5].name!==t18[r5].name||e5[r5].value!==t18[r5].value||e5[r5].constraints===void 0&&t18[r5].constraints!==void 0||e5[r5].constraints!==void 0&&t18[r5].constraints===void 0)return !1;if(e5[r5].constraints!==void 0&&t18[r5].constraints!==void 0){if(e5[r5].constraints.length!==t18[r5].constraints.length)return !1;for(var n10=0;n10<e5[r5].constraints.length;n10++)if(e5[r5].constraints[n10]!==t18[r5].constraints[n10])return !1}}}return !0}o4($C3,"ariaRoleRelationConceptAttributeEquals");ol3.default=(0, V23.default)(bm2,bm2.entries());}),VC3=p4(ul4=>{Object.defineProperty(ul4,"__esModule",{value:!0}),ul4.default=void 0;var J23=HC3(Hr4()),UC2=HC3(Zs4());function HC3(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(HC3,"_interopRequireDefault");function ym2(e5,t18){return tF2(e5)||eF2(e5,t18)||Z22(e5,t18)||Q23()}o4(ym2,"_slicedToArray");function Q23(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -1732,7 +1733,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1732
1733
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(gG,"_nonIterableRest");function vG(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10=[],i7=!0,a5=!1,s10,l7;try{for(r5=r5.call(e5);!(i7=(s10=r5.next()).done)&&(n10.push(s10.value),!(t18&&n10.length===t18));i7=!0);}catch(c10){a5=!0,l7=c10;}finally{try{!i7&&r5.return!=null&&r5.return();}finally{if(a5)throw l7}}return n10}}o4(vG,"_iterableToArrayLimit");function wG(e5){if(Array.isArray(e5))return e5}o4(wG,"_arrayWithHoles");function EG(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=IO2(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1733
1734
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a5=!0,s10=!1,l7;return {s:o4(function(){r5=r5.call(e5);},"s"),n:o4(function(){var u5=r5.next();return a5=u5.done,u5},"n"),e:o4(function(u5){s10=!0,l7=u5;},"e"),f:o4(function(){try{!a5&&r5.return!=null&&r5.return();}finally{if(s10)throw l7}},"f")}}o4(EG,"_createForOfIteratorHelper");function IO2(e5,t18){if(e5){if(typeof e5=="string")return NO2(e5,t18);var r5=Object.prototype.toString.call(e5).slice(8,-1);if(r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set")return Array.from(e5);if(r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5))return NO2(e5,t18)}}o4(IO2,"_unsupportedIterableToArray");function NO2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=new Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(NO2,"_arrayLikeToArray");var bn4=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],Zb3={entries:o4(function(){return bn4},"entries"),forEach:o4(function(t18){var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=EG(bn4),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=Qb2(i7.value,2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,bn4);}}catch(c10){n10.e(c10);}finally{n10.f();}},"forEach"),get:o4(function(t18){var r5=bn4.find(function(n10){return n10[0]===t18});return r5&&r5[1]},"get"),has:o4(function(t18){return !!Zb3.get(t18)},"has"),keys:o4(function(){return bn4.map(function(t18){var r5=Qb2(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return bn4.map(function(t18){var r5=Qb2(t18,2),n10=r5[1];return n10})},"values")},CG=(0, bG.default)(Zb3,Zb3.entries());Pu5.default=CG;}),$O=p4(qu3=>{Object.defineProperty(qu3,"__esModule",{value:!0}),qu3.default=void 0;var xG=_G(hn4());function _G(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(_G,"_interopRequireDefault");function ey2(e5,t18){return RG(e5)||qG(e5,t18)||LO(e5,t18)||PG()}o4(ey2,"_slicedToArray");function PG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1734
1735
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(PG,"_nonIterableRest");function qG(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10=[],i7=!0,a5=!1,s10,l7;try{for(r5=r5.call(e5);!(i7=(s10=r5.next()).done)&&(n10.push(s10.value),!(t18&&n10.length===t18));i7=!0);}catch(c10){a5=!0,l7=c10;}finally{try{!i7&&r5.return!=null&&r5.return();}finally{if(a5)throw l7}}return n10}}o4(qG,"_iterableToArrayLimit");function RG(e5){if(Array.isArray(e5))return e5}o4(RG,"_arrayWithHoles");function TG(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=LO(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1735
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a5=!0,s10=!1,l7;return {s:o4(function(){r5=r5.call(e5);},"s"),n:o4(function(){var u5=r5.next();return a5=u5.done,u5},"n"),e:o4(function(u5){s10=!0,l7=u5;},"e"),f:o4(function(){try{!a5&&r5.return!=null&&r5.return();}finally{if(s10)throw l7}},"f")}}o4(TG,"_createForOfIteratorHelper");function LO(e5,t18){if(e5){if(typeof e5=="string")return kO2(e5,t18);var r5=Object.prototype.toString.call(e5).slice(8,-1);if(r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set")return Array.from(e5);if(r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5))return kO2(e5,t18)}}o4(LO,"_unsupportedIterableToArray");function kO2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=new Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(kO2,"_arrayLikeToArray");var yn6=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],ty2={entries:o4(function(){return yn6},"entries"),forEach:o4(function(t18){var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=TG(yn6),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=ey2(i7.value,2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,yn6);}}catch(c10){n10.e(c10);}finally{n10.f();}},"forEach"),get:o4(function(t18){var r5=yn6.find(function(n10){return n10[0]===t18});return r5&&r5[1]},"get"),has:o4(function(t18){return !!ty2.get(t18)},"has"),keys:o4(function(){return yn6.map(function(t18){var r5=ey2(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return yn6.map(function(t18){var r5=ey2(t18,2),n10=r5[1];return n10})},"values")},OG=(0, xG.default)(ty2,ty2.entries());qu3.default=OG;}),BO=p4(Ru2=>{Object.defineProperty(Ru2,"__esModule",{value:!0}),Ru2.default=void 0;var SG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},MG=SG;Ru2.default=MG;}),DO=p4(Tu5=>{Object.defineProperty(Tu5,"__esModule",{value:!0}),Tu5.default=void 0;var AG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},NG=AG;Tu5.default=NG;}),FO=p4(Ou4=>{Object.defineProperty(Ou4,"__esModule",{value:!0}),Ou4.default=void 0;var IG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},jG=IG;Ou4.default=jG;}),UO=p4(Su2=>{Object.defineProperty(Su2,"__esModule",{value:!0}),Su2.default=void 0;var kG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LG=kG;Su2.default=LG;}),HO=p4(Mu4=>{Object.defineProperty(Mu4,"__esModule",{value:!0}),Mu4.default=void 0;var $G={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},BG=$G;Mu4.default=BG;}),VO=p4(Au4=>{Object.defineProperty(Au4,"__esModule",{value:!0}),Au4.default=void 0;var DG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},FG=DG;Au4.default=FG;}),zO=p4(Nu3=>{Object.defineProperty(Nu3,"__esModule",{value:!0}),Nu3.default=void 0;var UG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},HG=UG;Nu3.default=HG;}),WO=p4(Iu4=>{Object.defineProperty(Iu4,"__esModule",{value:!0}),Iu4.default=void 0;var VG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zG=VG;Iu4.default=zG;}),GO=p4(ju4=>{Object.defineProperty(ju4,"__esModule",{value:!0}),ju4.default=void 0;var WG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},GG=WG;ju4.default=GG;}),KO=p4(ku4=>{Object.defineProperty(ku4,"__esModule",{value:!0}),ku4.default=void 0;var KG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},YG=KG;ku4.default=YG;}),YO=p4(Lu3=>{Object.defineProperty(Lu3,"__esModule",{value:!0}),Lu3.default=void 0;var XG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},JG=XG;Lu3.default=JG;}),XO=p4($u5=>{Object.defineProperty($u5,"__esModule",{value:!0}),$u5.default=void 0;var QG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},ZG=QG;$u5.default=ZG;}),JO=p4(Bu3=>{Object.defineProperty(Bu3,"__esModule",{value:!0}),Bu3.default=void 0;var e7=nt7(BO()),t72=nt7(DO()),r7=nt7(FO()),n72=nt7(UO()),o72=nt7(HO()),i7=nt7(VO()),a7=nt7(zO()),s72=nt7(WO()),l7=nt7(GO()),u7=nt7(KO()),c72=nt7(YO()),d7=nt7(XO());function nt7(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(nt7,"_interopRequireDefault");var f72=[["command",e7.default],["composite",t72.default],["input",r7.default],["landmark",n72.default],["range",o72.default],["roletype",i7.default],["section",a7.default],["sectionhead",s72.default],["select",l7.default],["structure",u7.default],["widget",c72.default],["window",d7.default]],p7=f72;Bu3.default=p7;}),QO=p4(Du4=>{Object.defineProperty(Du4,"__esModule",{value:!0}),Du4.default=void 0;var m7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},h72=m7;Du4.default=h72;}),ZO=p4(Fu4=>{Object.defineProperty(Fu4,"__esModule",{value:!0}),Fu4.default=void 0;var b72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},y7=b72;Fu4.default=y7;}),eS=p4(Uu4=>{Object.defineProperty(Uu4,"__esModule",{value:!0}),Uu4.default=void 0;var g7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},v72=g7;Uu4.default=v72;}),tS=p4(Hu4=>{Object.defineProperty(Hu4,"__esModule",{value:!0}),Hu4.default=void 0;var w72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},E7=w72;Hu4.default=E7;}),rS=p4(Vu5=>{Object.defineProperty(Vu5,"__esModule",{value:!0}),Vu5.default=void 0;var C72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},x72=C72;Vu5.default=x72;}),nS=p4(zu5=>{Object.defineProperty(zu5,"__esModule",{value:!0}),zu5.default=void 0;var _73={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},P72=_73;zu5.default=P72;}),oS=p4(Wu3=>{Object.defineProperty(Wu3,"__esModule",{value:!0}),Wu3.default=void 0;var q72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},R72=q72;Wu3.default=R72;}),iS2=p4(Gu4=>{Object.defineProperty(Gu4,"__esModule",{value:!0}),Gu4.default=void 0;var T72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},O73=T72;Gu4.default=O73;}),aS2=p4(Ku5=>{Object.defineProperty(Ku5,"__esModule",{value:!0}),Ku5.default=void 0;var S72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},M72=S72;Ku5.default=M72;}),sS=p4(Yu4=>{Object.defineProperty(Yu4,"__esModule",{value:!0}),Yu4.default=void 0;var A72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},N72=A72;Yu4.default=N72;}),lS=p4(Xu5=>{Object.defineProperty(Xu5,"__esModule",{value:!0}),Xu5.default=void 0;var I72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},j72=I72;Xu5.default=j72;}),uS=p4(Ju4=>{Object.defineProperty(Ju4,"__esModule",{value:!0}),Ju4.default=void 0;var k72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},L72=k72;Ju4.default=L72;}),cS=p4(Qu4=>{Object.defineProperty(Qu4,"__esModule",{value:!0}),Qu4.default=void 0;var $73={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},B72=$73;Qu4.default=B72;}),dS=p4(Zu4=>{Object.defineProperty(Zu4,"__esModule",{value:!0}),Zu4.default=void 0;var D72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},F72=D72;Zu4.default=F72;}),fS=p4(ec=>{Object.defineProperty(ec,"__esModule",{value:!0}),ec.default=void 0;var U72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},H72=U72;ec.default=H72;}),pS=p4(tc3=>{Object.defineProperty(tc3,"__esModule",{value:!0}),tc3.default=void 0;var V73={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},z72=V73;tc3.default=z72;}),mS=p4(rc3=>{Object.defineProperty(rc3,"__esModule",{value:!0}),rc3.default=void 0;var W72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},G73=W72;rc3.default=G73;}),hS=p4(nc2=>{Object.defineProperty(nc2,"__esModule",{value:!0}),nc2.default=void 0;var K72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Y72=K72;nc2.default=Y72;}),bS=p4(oc3=>{Object.defineProperty(oc3,"__esModule",{value:!0}),oc3.default=void 0;var X72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},J73=X72;oc3.default=J73;}),yS=p4(ic2=>{Object.defineProperty(ic2,"__esModule",{value:!0}),ic2.default=void 0;var Q72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Z72=Q72;ic2.default=Z72;}),gS=p4(ac2=>{Object.defineProperty(ac2,"__esModule",{value:!0}),ac2.default=void 0;var eK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tK2=eK2;ac2.default=tK2;}),vS=p4(sc3=>{Object.defineProperty(sc3,"__esModule",{value:!0}),sc3.default=void 0;var rK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},nK2=rK2;sc3.default=nK2;}),wS=p4(lc2=>{Object.defineProperty(lc2,"__esModule",{value:!0}),lc2.default=void 0;var oK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iK2=oK2;lc2.default=iK2;}),ES2=p4(uc3=>{Object.defineProperty(uc3,"__esModule",{value:!0}),uc3.default=void 0;var aK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sK2=aK2;uc3.default=sK2;}),CS2=p4(cc2=>{Object.defineProperty(cc2,"__esModule",{value:!0}),cc2.default=void 0;var lK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},uK=lK;cc2.default=uK;}),xS=p4(dc3=>{Object.defineProperty(dc3,"__esModule",{value:!0}),dc3.default=void 0;var cK2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},dK=cK2;dc3.default=dK;}),_S=p4(fc=>{Object.defineProperty(fc,"__esModule",{value:!0}),fc.default=void 0;var fK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},pK=fK;fc.default=pK;}),PS=p4(pc=>{Object.defineProperty(pc,"__esModule",{value:!0}),pc.default=void 0;var mK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hK=mK;pc.default=hK;}),qS=p4(mc=>{Object.defineProperty(mc,"__esModule",{value:!0}),mc.default=void 0;var bK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},yK=bK;mc.default=yK;}),RS2=p4(hc3=>{Object.defineProperty(hc3,"__esModule",{value:!0}),hc3.default=void 0;var gK2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vK=gK2;hc3.default=vK;}),TS2=p4(bc2=>{Object.defineProperty(bc2,"__esModule",{value:!0}),bc2.default=void 0;var wK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},EK=wK;bc2.default=EK;}),OS=p4(yc3=>{Object.defineProperty(yc3,"__esModule",{value:!0}),yc3.default=void 0;var CK2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},xK=CK2;yc3.default=xK;}),SS=p4(gc2=>{Object.defineProperty(gc2,"__esModule",{value:!0}),gc2.default=void 0;var _K={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},PK=_K;gc2.default=PK;}),MS=p4(vc=>{Object.defineProperty(vc,"__esModule",{value:!0}),vc.default=void 0;var qK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},RK=qK;vc.default=RK;}),AS=p4(wc4=>{Object.defineProperty(wc4,"__esModule",{value:!0}),wc4.default=void 0;var TK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OK2=TK;wc4.default=OK2;}),NS2=p4(Ec2=>{Object.defineProperty(Ec2,"__esModule",{value:!0}),Ec2.default=void 0;var SK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},MK=SK;Ec2.default=MK;}),IS=p4(Cc=>{Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.default=void 0;var AK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},NK=AK2;Cc.default=NK;}),jS2=p4(xc=>{Object.defineProperty(xc,"__esModule",{value:!0}),xc.default=void 0;var IK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jK=IK2;xc.default=jK;}),kS2=p4(_c4=>{Object.defineProperty(_c4,"__esModule",{value:!0}),_c4.default=void 0;var kK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LK=kK;_c4.default=LK;}),LS=p4(Pc2=>{Object.defineProperty(Pc2,"__esModule",{value:!0}),Pc2.default=void 0;var $K={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BK=$K;Pc2.default=BK;}),$S=p4(qc=>{Object.defineProperty(qc,"__esModule",{value:!0}),qc.default=void 0;var DK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},FK=DK;qc.default=FK;}),BS=p4(Rc=>{Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var UK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},HK=UK;Rc.default=HK;}),DS2=p4(Tc2=>{Object.defineProperty(Tc2,"__esModule",{value:!0}),Tc2.default=void 0;var VK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},zK=VK;Tc2.default=zK;}),FS=p4(Oc2=>{Object.defineProperty(Oc2,"__esModule",{value:!0}),Oc2.default=void 0;var WK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},GK=WK;Oc2.default=GK;}),US2=p4(Sc=>{Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.default=void 0;var KK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},YK=KK;Sc.default=YK;}),HS=p4(Mc=>{Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.default=void 0;var XK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},JK=XK;Mc.default=JK;}),VS=p4(Ac=>{Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.default=void 0;var QK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ZK=QK;Ac.default=ZK;}),zS=p4(Nc2=>{Object.defineProperty(Nc2,"__esModule",{value:!0}),Nc2.default=void 0;var eY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},tY=eY;Nc2.default=tY;}),WS=p4(Ic2=>{Object.defineProperty(Ic2,"__esModule",{value:!0}),Ic2.default=void 0;var rY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nY=rY;Ic2.default=nY;}),GS=p4(jc2=>{Object.defineProperty(jc2,"__esModule",{value:!0}),jc2.default=void 0;var oY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},iY=oY;jc2.default=iY;}),KS=p4(kc2=>{Object.defineProperty(kc2,"__esModule",{value:!0}),kc2.default=void 0;var aY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sY=aY;kc2.default=sY;}),YS=p4(Lc=>{Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.default=void 0;var lY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},uY=lY;Lc.default=uY;}),XS=p4($c=>{Object.defineProperty($c,"__esModule",{value:!0}),$c.default=void 0;var cY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},dY=cY;$c.default=dY;}),JS=p4(Bc=>{Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.default=void 0;var fY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},pY=fY;Bc.default=pY;}),QS=p4(Dc=>{Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.default=void 0;var mY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},hY=mY;Dc.default=hY;}),ZS=p4(Fc=>{Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.default=void 0;var bY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},yY=bY;Fc.default=yY;}),e1=p4(Uc2=>{Object.defineProperty(Uc2,"__esModule",{value:!0}),Uc2.default=void 0;var gY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},vY=gY;Uc2.default=vY;}),t1=p4(Hc=>{Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.default=void 0;var wY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},EY=wY;Hc.default=EY;}),r12=p4(Vc=>{Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.default=void 0;var CY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},xY=CY;Vc.default=xY;}),n1=p4(zc2=>{Object.defineProperty(zc2,"__esModule",{value:!0}),zc2.default=void 0;var _Y={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},PY=_Y;zc2.default=PY;}),o1=p4(Wc2=>{Object.defineProperty(Wc2,"__esModule",{value:!0}),Wc2.default=void 0;var qY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RY=qY;Wc2.default=RY;}),i1=p4(Gc=>{Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.default=void 0;var TY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},OY=TY;Gc.default=OY;}),a1=p4(Kc=>{Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.default=void 0;var SY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},MY=SY;Kc.default=MY;}),s1=p4(Yc=>{Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.default=void 0;var AY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},NY=AY;Yc.default=NY;}),l1=p4(Xc2=>{Object.defineProperty(Xc2,"__esModule",{value:!0}),Xc2.default=void 0;var IY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},jY=IY;Xc2.default=jY;}),u12=p4(Jc=>{Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.default=void 0;var kY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LY=kY;Jc.default=LY;}),c1=p4(Qc2=>{Object.defineProperty(Qc2,"__esModule",{value:!0}),Qc2.default=void 0;var $Y={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BY=$Y;Qc2.default=BY;}),d1=p4(Zc2=>{Object.defineProperty(Zc2,"__esModule",{value:!0}),Zc2.default=void 0;var DY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FY=DY;Zc2.default=FY;}),f1=p4(ed2=>{Object.defineProperty(ed2,"__esModule",{value:!0}),ed2.default=void 0;var UY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HY=UY;ed2.default=HY;}),p1=p4(td5=>{Object.defineProperty(td5,"__esModule",{value:!0}),td5.default=void 0;var VY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},zY=VY;td5.default=zY;}),m12=p4(rd2=>{Object.defineProperty(rd2,"__esModule",{value:!0}),rd2.default=void 0;var WY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},GY=WY;rd2.default=GY;}),h1=p4(nd4=>{Object.defineProperty(nd4,"__esModule",{value:!0}),nd4.default=void 0;var KY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},YY=KY;nd4.default=YY;}),b12=p4(od4=>{Object.defineProperty(od4,"__esModule",{value:!0}),od4.default=void 0;var XY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},JY=XY;od4.default=JY;}),y1=p4(id2=>{Object.defineProperty(id2,"__esModule",{value:!0}),id2.default=void 0;var QY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZY=QY;id2.default=ZY;}),g1=p4(ad3=>{Object.defineProperty(ad3,"__esModule",{value:!0}),ad3.default=void 0;var eX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tX=eX;ad3.default=tX;}),v1=p4(sd2=>{Object.defineProperty(sd2,"__esModule",{value:!0}),sd2.default=void 0;var rX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},nX=rX;sd2.default=nX;}),w12=p4(ld3=>{Object.defineProperty(ld3,"__esModule",{value:!0}),ld3.default=void 0;var oX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iX=oX;ld3.default=iX;}),E12=p4(ud3=>{Object.defineProperty(ud3,"__esModule",{value:!0}),ud3.default=void 0;var aX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},sX=aX;ud3.default=sX;}),C1=p4(cd3=>{Object.defineProperty(cd3,"__esModule",{value:!0}),cd3.default=void 0;var lX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},uX=lX;cd3.default=uX;}),x1=p4(dd3=>{Object.defineProperty(dd3,"__esModule",{value:!0}),dd3.default=void 0;var cX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dX=cX;dd3.default=dX;}),_12=p4(fd3=>{Object.defineProperty(fd3,"__esModule",{value:!0}),fd3.default=void 0;var fX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},pX=fX;fd3.default=pX;}),P1=p4(pd4=>{Object.defineProperty(pd4,"__esModule",{value:!0}),pd4.default=void 0;var mX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},hX=mX;pd4.default=hX;}),q1=p4(md2=>{Object.defineProperty(md2,"__esModule",{value:!0}),md2.default=void 0;var bX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},yX=bX;md2.default=yX;}),R1=p4(hd3=>{Object.defineProperty(hd3,"__esModule",{value:!0}),hd3.default=void 0;var gX=L11(QO()),vX=L11(ZO()),wX=L11(eS()),EX=L11(tS()),CX=L11(rS()),xX=L11(nS()),_X=L11(oS()),PX=L11(iS2()),qX=L11(aS2()),RX=L11(sS()),TX=L11(lS()),OX=L11(uS()),SX=L11(cS()),MX=L11(dS()),AX=L11(fS()),NX=L11(pS()),IX=L11(mS()),jX=L11(hS()),kX=L11(bS()),LX=L11(yS()),$X=L11(gS()),BX=L11(vS()),DX=L11(wS()),FX=L11(ES2()),UX=L11(CS2()),HX=L11(xS()),VX=L11(_S()),zX=L11(PS()),WX=L11(qS()),GX=L11(RS2()),KX=L11(TS2()),YX=L11(OS()),XX=L11(SS()),JX=L11(MS()),QX=L11(AS()),ZX=L11(NS2()),eJ=L11(IS()),tJ=L11(jS2()),rJ=L11(kS2()),nJ=L11(LS()),oJ=L11($S()),iJ=L11(BS()),aJ=L11(DS2()),sJ=L11(FS()),lJ=L11(US2()),uJ=L11(HS()),cJ=L11(VS()),dJ=L11(zS()),fJ=L11(WS()),pJ=L11(GS()),mJ=L11(KS()),hJ=L11(YS()),bJ=L11(XS()),yJ=L11(JS()),gJ=L11(QS()),vJ=L11(ZS()),wJ=L11(e1()),EJ=L11(t1()),CJ=L11(r12()),xJ=L11(n1()),_J=L11(o1()),PJ=L11(i1()),qJ=L11(a1()),RJ=L11(s1()),TJ=L11(l1()),OJ=L11(u12()),SJ=L11(c1()),MJ=L11(d1()),AJ=L11(f1()),NJ=L11(p1()),IJ=L11(m12()),jJ=L11(h1()),kJ=L11(b12()),LJ=L11(y1()),$J=L11(g1()),BJ=L11(v1()),DJ=L11(w12()),FJ=L11(E12()),UJ=L11(C1()),HJ=L11(x1()),VJ=L11(_12()),zJ=L11(P1()),WJ=L11(q1());function L11(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(L11,"_interopRequireDefault");var GJ=[["alert",gX.default],["alertdialog",vX.default],["application",wX.default],["article",EX.default],["banner",CX.default],["blockquote",xX.default],["button",_X.default],["caption",PX.default],["cell",qX.default],["checkbox",RX.default],["code",TX.default],["columnheader",OX.default],["combobox",SX.default],["complementary",MX.default],["contentinfo",AX.default],["definition",NX.default],["deletion",IX.default],["dialog",jX.default],["directory",kX.default],["document",LX.default],["emphasis",$X.default],["feed",BX.default],["figure",DX.default],["form",FX.default],["generic",UX.default],["grid",HX.default],["gridcell",VX.default],["group",zX.default],["heading",WX.default],["img",GX.default],["insertion",KX.default],["link",YX.default],["list",XX.default],["listbox",JX.default],["listitem",QX.default],["log",ZX.default],["main",eJ.default],["mark",tJ.default],["marquee",rJ.default],["math",nJ.default],["menu",oJ.default],["menubar",iJ.default],["menuitem",aJ.default],["menuitemcheckbox",sJ.default],["menuitemradio",lJ.default],["meter",uJ.default],["navigation",cJ.default],["none",dJ.default],["note",fJ.default],["option",pJ.default],["paragraph",mJ.default],["presentation",hJ.default],["progressbar",bJ.default],["radio",yJ.default],["radiogroup",gJ.default],["region",vJ.default],["row",wJ.default],["rowgroup",EJ.default],["rowheader",CJ.default],["scrollbar",xJ.default],["search",_J.default],["searchbox",PJ.default],["separator",qJ.default],["slider",RJ.default],["spinbutton",TJ.default],["status",OJ.default],["strong",SJ.default],["subscript",MJ.default],["superscript",AJ.default],["switch",NJ.default],["tab",IJ.default],["table",jJ.default],["tablist",kJ.default],["tabpanel",LJ.default],["term",$J.default],["textbox",BJ.default],["time",DJ.default],["timer",FJ.default],["toolbar",UJ.default],["tooltip",HJ.default],["tree",VJ.default],["treegrid",zJ.default],["treeitem",WJ.default]],KJ=GJ;hd3.default=KJ;}),T1=p4(bd4=>{Object.defineProperty(bd4,"__esModule",{value:!0}),bd4.default=void 0;var YJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XJ=YJ;bd4.default=XJ;}),O12=p4(yd4=>{Object.defineProperty(yd4,"__esModule",{value:!0}),yd4.default=void 0;var JJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QJ=JJ;yd4.default=QJ;}),S1=p4(gd4=>{Object.defineProperty(gd4,"__esModule",{value:!0}),gd4.default=void 0;var ZJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},eQ2=ZJ;gd4.default=eQ2;}),M12=p4(vd2=>{Object.defineProperty(vd2,"__esModule",{value:!0}),vd2.default=void 0;var tQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rQ=tQ2;vd2.default=rQ;}),A1=p4(wd3=>{Object.defineProperty(wd3,"__esModule",{value:!0}),wd3.default=void 0;var nQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},oQ2=nQ;wd3.default=oQ2;}),N1=p4(Ed2=>{Object.defineProperty(Ed2,"__esModule",{value:!0}),Ed2.default=void 0;var iQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},aQ=iQ;Ed2.default=aQ;}),I1=p4(Cd3=>{Object.defineProperty(Cd3,"__esModule",{value:!0}),Cd3.default=void 0;var sQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lQ2=sQ;Cd3.default=lQ2;}),j1=p4(xd3=>{Object.defineProperty(xd3,"__esModule",{value:!0}),xd3.default=void 0;var uQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},cQ2=uQ2;xd3.default=cQ2;}),k12=p4(_d3=>{Object.defineProperty(_d3,"__esModule",{value:!0}),_d3.default=void 0;var dQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fQ2=dQ2;_d3.default=fQ2;}),L1=p4(Pd2=>{Object.defineProperty(Pd2,"__esModule",{value:!0}),Pd2.default=void 0;var pQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mQ2=pQ2;Pd2.default=mQ2;}),$1=p4(qd3=>{Object.defineProperty(qd3,"__esModule",{value:!0}),qd3.default=void 0;var hQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bQ=hQ2;qd3.default=bQ;}),B1=p4(Rd3=>{Object.defineProperty(Rd3,"__esModule",{value:!0}),Rd3.default=void 0;var yQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},gQ=yQ;Rd3.default=gQ;}),D12=p4(Td2=>{Object.defineProperty(Td2,"__esModule",{value:!0}),Td2.default=void 0;var vQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wQ2=vQ;Td2.default=wQ2;}),F1=p4(Od2=>{Object.defineProperty(Od2,"__esModule",{value:!0}),Od2.default=void 0;var EQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CQ2=EQ2;Od2.default=CQ2;}),U1=p4(Sd3=>{Object.defineProperty(Sd3,"__esModule",{value:!0}),Sd3.default=void 0;var xQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_Q=xQ2;Sd3.default=_Q;}),H1=p4(Md3=>{Object.defineProperty(Md3,"__esModule",{value:!0}),Md3.default=void 0;var PQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},qQ2=PQ;Md3.default=qQ2;}),V12=p4(Ad2=>{Object.defineProperty(Ad2,"__esModule",{value:!0}),Ad2.default=void 0;var RQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TQ2=RQ;Ad2.default=TQ2;}),z1=p4(Nd4=>{Object.defineProperty(Nd4,"__esModule",{value:!0}),Nd4.default=void 0;var OQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SQ=OQ2;Nd4.default=SQ;}),W1=p4(Id3=>{Object.defineProperty(Id3,"__esModule",{value:!0}),Id3.default=void 0;var MQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AQ=MQ;Id3.default=AQ;}),G1=p4(jd3=>{Object.defineProperty(jd3,"__esModule",{value:!0}),jd3.default=void 0;var NQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IQ2=NQ;jd3.default=IQ2;}),K1=p4(kd3=>{Object.defineProperty(kd3,"__esModule",{value:!0}),kd3.default=void 0;var jQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kQ=jQ2;kd3.default=kQ;}),Y1=p4(Ld3=>{Object.defineProperty(Ld3,"__esModule",{value:!0}),Ld3.default=void 0;var LQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$Q2=LQ;Ld3.default=$Q2;}),X1=p4($d2=>{Object.defineProperty($d2,"__esModule",{value:!0}),$d2.default=void 0;var BQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DQ=BQ2;$d2.default=DQ;}),J1=p4(Bd3=>{Object.defineProperty(Bd3,"__esModule",{value:!0}),Bd3.default=void 0;var FQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},UQ2=FQ;Bd3.default=UQ2;}),Q1=p4(Dd4=>{Object.defineProperty(Dd4,"__esModule",{value:!0}),Dd4.default=void 0;var HQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},VQ2=HQ2;Dd4.default=VQ2;}),Z12=p4(Fd2=>{Object.defineProperty(Fd2,"__esModule",{value:!0}),Fd2.default=void 0;var zQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},WQ2=zQ2;Fd2.default=WQ2;}),eM=p4(Ud4=>{Object.defineProperty(Ud4,"__esModule",{value:!0}),Ud4.default=void 0;var GQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KQ=GQ2;Ud4.default=KQ;}),tM=p4(Hd2=>{Object.defineProperty(Hd2,"__esModule",{value:!0}),Hd2.default=void 0;var YQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},XQ2=YQ;Hd2.default=XQ2;}),rM=p4(Vd4=>{Object.defineProperty(Vd4,"__esModule",{value:!0}),Vd4.default=void 0;var JQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},QQ2=JQ;Vd4.default=QQ2;}),nM=p4(zd3=>{Object.defineProperty(zd3,"__esModule",{value:!0}),zd3.default=void 0;var ZQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},eZ=ZQ2;zd3.default=eZ;}),oM=p4(Wd3=>{Object.defineProperty(Wd3,"__esModule",{value:!0}),Wd3.default=void 0;var tZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},rZ=tZ;Wd3.default=rZ;}),iM=p4(Gd4=>{Object.defineProperty(Gd4,"__esModule",{value:!0}),Gd4.default=void 0;var nZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oZ=nZ;Gd4.default=oZ;}),aM=p4(Kd3=>{Object.defineProperty(Kd3,"__esModule",{value:!0}),Kd3.default=void 0;var iZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aZ=iZ;Kd3.default=aZ;}),sM=p4(Yd4=>{Object.defineProperty(Yd4,"__esModule",{value:!0}),Yd4.default=void 0;var sZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lZ=sZ;Yd4.default=lZ;}),lM=p4(Xd3=>{Object.defineProperty(Xd3,"__esModule",{value:!0}),Xd3.default=void 0;var uZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},cZ=uZ;Xd3.default=cZ;}),uM=p4(Jd3=>{Object.defineProperty(Jd3,"__esModule",{value:!0}),Jd3.default=void 0;var dZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fZ=dZ;Jd3.default=fZ;}),cM=p4(Qd4=>{Object.defineProperty(Qd4,"__esModule",{value:!0}),Qd4.default=void 0;var pZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},mZ=pZ;Qd4.default=mZ;}),dM=p4(Zd3=>{Object.defineProperty(Zd3,"__esModule",{value:!0}),Zd3.default=void 0;var hZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},bZ=hZ;Zd3.default=bZ;}),fM=p4(ef3=>{Object.defineProperty(ef3,"__esModule",{value:!0}),ef3.default=void 0;var yZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},gZ=yZ;ef3.default=gZ;}),pM=p4(tf4=>{Object.defineProperty(tf4,"__esModule",{value:!0}),tf4.default=void 0;var vZ=Q12(T1()),wZ=Q12(O12()),EZ=Q12(S1()),CZ=Q12(M12()),xZ=Q12(A1()),_Z=Q12(N1()),PZ=Q12(I1()),qZ=Q12(j1()),RZ=Q12(k12()),TZ=Q12(L1()),OZ=Q12($1()),SZ=Q12(B1()),MZ=Q12(D12()),AZ=Q12(F1()),NZ=Q12(U1()),IZ=Q12(H1()),jZ=Q12(V12()),kZ=Q12(z1()),LZ=Q12(W1()),$Z=Q12(G1()),BZ=Q12(K1()),DZ=Q12(Y1()),FZ=Q12(X1()),UZ=Q12(J1()),HZ=Q12(Q1()),VZ=Q12(Z12()),zZ=Q12(eM()),WZ=Q12(tM()),GZ=Q12(rM()),KZ=Q12(nM()),YZ=Q12(oM()),XZ=Q12(iM()),JZ=Q12(aM()),QZ=Q12(sM()),ZZ=Q12(lM()),eee=Q12(uM()),tee=Q12(cM()),ree=Q12(dM()),nee=Q12(fM());function Q12(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Q12,"_interopRequireDefault");var oee=[["doc-abstract",vZ.default],["doc-acknowledgments",wZ.default],["doc-afterword",EZ.default],["doc-appendix",CZ.default],["doc-backlink",xZ.default],["doc-biblioentry",_Z.default],["doc-bibliography",PZ.default],["doc-biblioref",qZ.default],["doc-chapter",RZ.default],["doc-colophon",TZ.default],["doc-conclusion",OZ.default],["doc-cover",SZ.default],["doc-credit",MZ.default],["doc-credits",AZ.default],["doc-dedication",NZ.default],["doc-endnote",IZ.default],["doc-endnotes",jZ.default],["doc-epigraph",kZ.default],["doc-epilogue",LZ.default],["doc-errata",$Z.default],["doc-example",BZ.default],["doc-footnote",DZ.default],["doc-foreword",FZ.default],["doc-glossary",UZ.default],["doc-glossref",HZ.default],["doc-index",VZ.default],["doc-introduction",zZ.default],["doc-noteref",WZ.default],["doc-notice",GZ.default],["doc-pagebreak",KZ.default],["doc-pagelist",YZ.default],["doc-part",XZ.default],["doc-preface",JZ.default],["doc-prologue",QZ.default],["doc-pullquote",ZZ.default],["doc-qna",eee.default],["doc-subtitle",tee.default],["doc-tip",ree.default],["doc-toc",nee.default]],iee=oee;tf4.default=iee;}),mM=p4(rf3=>{Object.defineProperty(rf3,"__esModule",{value:!0}),rf3.default=void 0;var aee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},see=aee;rf3.default=see;}),hM=p4(nf3=>{Object.defineProperty(nf3,"__esModule",{value:!0}),nf3.default=void 0;var lee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},uee=lee;nf3.default=uee;}),bM=p4(of3=>{Object.defineProperty(of3,"__esModule",{value:!0}),of3.default=void 0;var cee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},dee=cee;of3.default=dee;}),yM=p4(af3=>{Object.defineProperty(af3,"__esModule",{value:!0}),af3.default=void 0;var fee=ry2(mM()),pee=ry2(hM()),mee=ry2(bM());function ry2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(ry2,"_interopRequireDefault");var hee=[["graphics-document",fee.default],["graphics-object",pee.default],["graphics-symbol",mee.default]],bee=hee;af3.default=bee;}),lf2=p4(sf3=>{Object.defineProperty(sf3,"__esModule",{value:!0}),sf3.default=void 0;var yee=qo4(JO()),gee=qo4(R1()),vee=qo4(pM()),wee=qo4(yM()),Eee=qo4(hn4());function qo4(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(qo4,"_interopRequireDefault");function Cee(e5,t18,r5){return t18 in e5?Object.defineProperty(e5,t18,{value:r5,enumerable:!0,configurable:!0,writable:!0}):e5[t18]=r5,e5}o4(Cee,"_defineProperty");function ny2(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=vM2(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1736
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a5=!0,s10=!1,l7;return {s:o4(function(){r5=r5.call(e5);},"s"),n:o4(function(){var u5=r5.next();return a5=u5.done,u5},"n"),e:o4(function(u5){s10=!0,l7=u5;},"e"),f:o4(function(){try{!a5&&r5.return!=null&&r5.return();}finally{if(s10)throw l7}},"f")}}o4(TG,"_createForOfIteratorHelper");function LO(e5,t18){if(e5){if(typeof e5=="string")return kO2(e5,t18);var r5=Object.prototype.toString.call(e5).slice(8,-1);if(r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set")return Array.from(e5);if(r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5))return kO2(e5,t18)}}o4(LO,"_unsupportedIterableToArray");function kO2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=new Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(kO2,"_arrayLikeToArray");var yn6=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],ty2={entries:o4(function(){return yn6},"entries"),forEach:o4(function(t18){var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=TG(yn6),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=ey2(i7.value,2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,yn6);}}catch(c10){n10.e(c10);}finally{n10.f();}},"forEach"),get:o4(function(t18){var r5=yn6.find(function(n10){return n10[0]===t18});return r5&&r5[1]},"get"),has:o4(function(t18){return !!ty2.get(t18)},"has"),keys:o4(function(){return yn6.map(function(t18){var r5=ey2(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return yn6.map(function(t18){var r5=ey2(t18,2),n10=r5[1];return n10})},"values")},OG=(0, xG.default)(ty2,ty2.entries());qu3.default=OG;}),BO=p4(Ru2=>{Object.defineProperty(Ru2,"__esModule",{value:!0}),Ru2.default=void 0;var SG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},MG=SG;Ru2.default=MG;}),DO=p4(Tu5=>{Object.defineProperty(Tu5,"__esModule",{value:!0}),Tu5.default=void 0;var AG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},NG=AG;Tu5.default=NG;}),FO=p4(Ou4=>{Object.defineProperty(Ou4,"__esModule",{value:!0}),Ou4.default=void 0;var IG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},jG=IG;Ou4.default=jG;}),UO=p4(Su2=>{Object.defineProperty(Su2,"__esModule",{value:!0}),Su2.default=void 0;var kG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LG=kG;Su2.default=LG;}),HO=p4(Mu4=>{Object.defineProperty(Mu4,"__esModule",{value:!0}),Mu4.default=void 0;var $G={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},BG=$G;Mu4.default=BG;}),VO=p4(Au4=>{Object.defineProperty(Au4,"__esModule",{value:!0}),Au4.default=void 0;var DG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},FG=DG;Au4.default=FG;}),zO=p4(Nu3=>{Object.defineProperty(Nu3,"__esModule",{value:!0}),Nu3.default=void 0;var UG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},HG=UG;Nu3.default=HG;}),WO=p4(Iu4=>{Object.defineProperty(Iu4,"__esModule",{value:!0}),Iu4.default=void 0;var VG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zG=VG;Iu4.default=zG;}),GO=p4(ju4=>{Object.defineProperty(ju4,"__esModule",{value:!0}),ju4.default=void 0;var WG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},GG=WG;ju4.default=GG;}),KO=p4(ku4=>{Object.defineProperty(ku4,"__esModule",{value:!0}),ku4.default=void 0;var KG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},YG=KG;ku4.default=YG;}),YO=p4(Lu3=>{Object.defineProperty(Lu3,"__esModule",{value:!0}),Lu3.default=void 0;var XG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},JG=XG;Lu3.default=JG;}),XO=p4($u5=>{Object.defineProperty($u5,"__esModule",{value:!0}),$u5.default=void 0;var QG={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},ZG=QG;$u5.default=ZG;}),JO=p4(Bu3=>{Object.defineProperty(Bu3,"__esModule",{value:!0}),Bu3.default=void 0;var eK2=nt7(BO()),tK2=nt7(DO()),rK2=nt7(FO()),nK2=nt7(UO()),oK2=nt7(HO()),iK2=nt7(VO()),aK2=nt7(zO()),sK2=nt7(WO()),lK=nt7(GO()),uK=nt7(KO()),cK2=nt7(YO()),dK=nt7(XO());function nt7(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(nt7,"_interopRequireDefault");var fK=[["command",eK2.default],["composite",tK2.default],["input",rK2.default],["landmark",nK2.default],["range",oK2.default],["roletype",iK2.default],["section",aK2.default],["sectionhead",sK2.default],["select",lK.default],["structure",uK.default],["widget",cK2.default],["window",dK.default]],pK=fK;Bu3.default=pK;}),QO=p4(Du4=>{Object.defineProperty(Du4,"__esModule",{value:!0}),Du4.default=void 0;var mK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hK=mK;Du4.default=hK;}),ZO=p4(Fu4=>{Object.defineProperty(Fu4,"__esModule",{value:!0}),Fu4.default=void 0;var bK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},yK=bK;Fu4.default=yK;}),eS=p4(Uu4=>{Object.defineProperty(Uu4,"__esModule",{value:!0}),Uu4.default=void 0;var gK2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},vK=gK2;Uu4.default=vK;}),tS=p4(Hu4=>{Object.defineProperty(Hu4,"__esModule",{value:!0}),Hu4.default=void 0;var wK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},EK=wK;Hu4.default=EK;}),rS=p4(Vu5=>{Object.defineProperty(Vu5,"__esModule",{value:!0}),Vu5.default=void 0;var CK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xK=CK2;Vu5.default=xK;}),nS=p4(zu5=>{Object.defineProperty(zu5,"__esModule",{value:!0}),zu5.default=void 0;var _K={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PK=_K;zu5.default=PK;}),oS=p4(Wu3=>{Object.defineProperty(Wu3,"__esModule",{value:!0}),Wu3.default=void 0;var qK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},RK=qK;Wu3.default=RK;}),iS2=p4(Gu4=>{Object.defineProperty(Gu4,"__esModule",{value:!0}),Gu4.default=void 0;var TK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OK2=TK;Gu4.default=OK2;}),aS2=p4(Ku5=>{Object.defineProperty(Ku5,"__esModule",{value:!0}),Ku5.default=void 0;var SK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},MK=SK;Ku5.default=MK;}),sS=p4(Yu4=>{Object.defineProperty(Yu4,"__esModule",{value:!0}),Yu4.default=void 0;var AK2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},NK=AK2;Yu4.default=NK;}),lS=p4(Xu5=>{Object.defineProperty(Xu5,"__esModule",{value:!0}),Xu5.default=void 0;var IK2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jK=IK2;Xu5.default=jK;}),uS=p4(Ju4=>{Object.defineProperty(Ju4,"__esModule",{value:!0}),Ju4.default=void 0;var kK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},LK=kK;Ju4.default=LK;}),cS=p4(Qu4=>{Object.defineProperty(Qu4,"__esModule",{value:!0}),Qu4.default=void 0;var $K={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},BK=$K;Qu4.default=BK;}),dS=p4(Zu4=>{Object.defineProperty(Zu4,"__esModule",{value:!0}),Zu4.default=void 0;var DK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},FK=DK;Zu4.default=FK;}),fS=p4(ec=>{Object.defineProperty(ec,"__esModule",{value:!0}),ec.default=void 0;var UK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},HK=UK;ec.default=HK;}),pS=p4(tc3=>{Object.defineProperty(tc3,"__esModule",{value:!0}),tc3.default=void 0;var VK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zK=VK;tc3.default=zK;}),mS=p4(rc3=>{Object.defineProperty(rc3,"__esModule",{value:!0}),rc3.default=void 0;var WK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GK=WK;rc3.default=GK;}),hS=p4(nc2=>{Object.defineProperty(nc2,"__esModule",{value:!0}),nc2.default=void 0;var KK={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},YK=KK;nc2.default=YK;}),bS=p4(oc3=>{Object.defineProperty(oc3,"__esModule",{value:!0}),oc3.default=void 0;var XK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},JK=XK;oc3.default=JK;}),yS=p4(ic2=>{Object.defineProperty(ic2,"__esModule",{value:!0}),ic2.default=void 0;var QK={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},ZK=QK;ic2.default=ZK;}),gS=p4(ac2=>{Object.defineProperty(ac2,"__esModule",{value:!0}),ac2.default=void 0;var e7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t72=e7;ac2.default=t72;}),vS=p4(sc3=>{Object.defineProperty(sc3,"__esModule",{value:!0}),sc3.default=void 0;var r7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},n72=r7;sc3.default=n72;}),wS=p4(lc2=>{Object.defineProperty(lc2,"__esModule",{value:!0}),lc2.default=void 0;var o72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},i7=o72;lc2.default=i7;}),ES2=p4(uc3=>{Object.defineProperty(uc3,"__esModule",{value:!0}),uc3.default=void 0;var a7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},s72=a7;uc3.default=s72;}),CS2=p4(cc2=>{Object.defineProperty(cc2,"__esModule",{value:!0}),cc2.default=void 0;var l7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},u7=l7;cc2.default=u7;}),xS=p4(dc3=>{Object.defineProperty(dc3,"__esModule",{value:!0}),dc3.default=void 0;var c72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},d7=c72;dc3.default=d7;}),_S=p4(fc=>{Object.defineProperty(fc,"__esModule",{value:!0}),fc.default=void 0;var f72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},p7=f72;fc.default=p7;}),PS=p4(pc=>{Object.defineProperty(pc,"__esModule",{value:!0}),pc.default=void 0;var m7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},h72=m7;pc.default=h72;}),qS=p4(mc=>{Object.defineProperty(mc,"__esModule",{value:!0}),mc.default=void 0;var b72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},y7=b72;mc.default=y7;}),RS2=p4(hc3=>{Object.defineProperty(hc3,"__esModule",{value:!0}),hc3.default=void 0;var g7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},v72=g7;hc3.default=v72;}),TS2=p4(bc2=>{Object.defineProperty(bc2,"__esModule",{value:!0}),bc2.default=void 0;var w72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},E7=w72;bc2.default=E7;}),OS=p4(yc3=>{Object.defineProperty(yc3,"__esModule",{value:!0}),yc3.default=void 0;var C72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},x72=C72;yc3.default=x72;}),SS=p4(gc2=>{Object.defineProperty(gc2,"__esModule",{value:!0}),gc2.default=void 0;var _73={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},P72=_73;gc2.default=P72;}),MS=p4(vc=>{Object.defineProperty(vc,"__esModule",{value:!0}),vc.default=void 0;var q72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},R72=q72;vc.default=R72;}),AS=p4(wc4=>{Object.defineProperty(wc4,"__esModule",{value:!0}),wc4.default=void 0;var T72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},O73=T72;wc4.default=O73;}),NS2=p4(Ec2=>{Object.defineProperty(Ec2,"__esModule",{value:!0}),Ec2.default=void 0;var S72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},M72=S72;Ec2.default=M72;}),IS=p4(Cc=>{Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.default=void 0;var A72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},N72=A72;Cc.default=N72;}),jS2=p4(xc=>{Object.defineProperty(xc,"__esModule",{value:!0}),xc.default=void 0;var I72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},j72=I72;xc.default=j72;}),kS2=p4(_c4=>{Object.defineProperty(_c4,"__esModule",{value:!0}),_c4.default=void 0;var k72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},L72=k72;_c4.default=L72;}),LS=p4(Pc2=>{Object.defineProperty(Pc2,"__esModule",{value:!0}),Pc2.default=void 0;var $73={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},B72=$73;Pc2.default=B72;}),$S=p4(qc=>{Object.defineProperty(qc,"__esModule",{value:!0}),qc.default=void 0;var D72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},F72=D72;qc.default=F72;}),BS=p4(Rc=>{Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var U72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},H72=U72;Rc.default=H72;}),DS2=p4(Tc2=>{Object.defineProperty(Tc2,"__esModule",{value:!0}),Tc2.default=void 0;var V73={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},z72=V73;Tc2.default=z72;}),FS=p4(Oc2=>{Object.defineProperty(Oc2,"__esModule",{value:!0}),Oc2.default=void 0;var W72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},G73=W72;Oc2.default=G73;}),US2=p4(Sc=>{Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.default=void 0;var K72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},Y72=K72;Sc.default=Y72;}),HS=p4(Mc=>{Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.default=void 0;var X72={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},J73=X72;Mc.default=J73;}),VS=p4(Ac=>{Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.default=void 0;var Q72={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Z72=Q72;Ac.default=Z72;}),zS=p4(Nc2=>{Object.defineProperty(Nc2,"__esModule",{value:!0}),Nc2.default=void 0;var eY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},tY=eY;Nc2.default=tY;}),WS=p4(Ic2=>{Object.defineProperty(Ic2,"__esModule",{value:!0}),Ic2.default=void 0;var rY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nY=rY;Ic2.default=nY;}),GS=p4(jc2=>{Object.defineProperty(jc2,"__esModule",{value:!0}),jc2.default=void 0;var oY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},iY=oY;jc2.default=iY;}),KS=p4(kc2=>{Object.defineProperty(kc2,"__esModule",{value:!0}),kc2.default=void 0;var aY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sY=aY;kc2.default=sY;}),YS=p4(Lc=>{Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.default=void 0;var lY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},uY=lY;Lc.default=uY;}),XS=p4($c=>{Object.defineProperty($c,"__esModule",{value:!0}),$c.default=void 0;var cY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},dY=cY;$c.default=dY;}),JS=p4(Bc=>{Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.default=void 0;var fY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},pY=fY;Bc.default=pY;}),QS=p4(Dc=>{Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.default=void 0;var mY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},hY=mY;Dc.default=hY;}),ZS=p4(Fc=>{Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.default=void 0;var bY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},yY=bY;Fc.default=yY;}),e1=p4(Uc2=>{Object.defineProperty(Uc2,"__esModule",{value:!0}),Uc2.default=void 0;var gY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},vY=gY;Uc2.default=vY;}),t1=p4(Hc=>{Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.default=void 0;var wY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},EY=wY;Hc.default=EY;}),r12=p4(Vc=>{Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.default=void 0;var CY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},xY=CY;Vc.default=xY;}),n1=p4(zc2=>{Object.defineProperty(zc2,"__esModule",{value:!0}),zc2.default=void 0;var _Y={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},PY=_Y;zc2.default=PY;}),o1=p4(Wc2=>{Object.defineProperty(Wc2,"__esModule",{value:!0}),Wc2.default=void 0;var qY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RY=qY;Wc2.default=RY;}),i1=p4(Gc=>{Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.default=void 0;var TY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},OY=TY;Gc.default=OY;}),a1=p4(Kc=>{Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.default=void 0;var SY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},MY=SY;Kc.default=MY;}),s1=p4(Yc=>{Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.default=void 0;var AY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},NY=AY;Yc.default=NY;}),l1=p4(Xc2=>{Object.defineProperty(Xc2,"__esModule",{value:!0}),Xc2.default=void 0;var IY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},jY=IY;Xc2.default=jY;}),u12=p4(Jc=>{Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.default=void 0;var kY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LY=kY;Jc.default=LY;}),c1=p4(Qc2=>{Object.defineProperty(Qc2,"__esModule",{value:!0}),Qc2.default=void 0;var $Y={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BY=$Y;Qc2.default=BY;}),d1=p4(Zc2=>{Object.defineProperty(Zc2,"__esModule",{value:!0}),Zc2.default=void 0;var DY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FY=DY;Zc2.default=FY;}),f1=p4(ed2=>{Object.defineProperty(ed2,"__esModule",{value:!0}),ed2.default=void 0;var UY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HY=UY;ed2.default=HY;}),p1=p4(td5=>{Object.defineProperty(td5,"__esModule",{value:!0}),td5.default=void 0;var VY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},zY=VY;td5.default=zY;}),m12=p4(rd2=>{Object.defineProperty(rd2,"__esModule",{value:!0}),rd2.default=void 0;var WY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},GY=WY;rd2.default=GY;}),h1=p4(nd4=>{Object.defineProperty(nd4,"__esModule",{value:!0}),nd4.default=void 0;var KY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},YY=KY;nd4.default=YY;}),b12=p4(od4=>{Object.defineProperty(od4,"__esModule",{value:!0}),od4.default=void 0;var XY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},JY=XY;od4.default=JY;}),y1=p4(id2=>{Object.defineProperty(id2,"__esModule",{value:!0}),id2.default=void 0;var QY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZY=QY;id2.default=ZY;}),g1=p4(ad3=>{Object.defineProperty(ad3,"__esModule",{value:!0}),ad3.default=void 0;var eX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tX=eX;ad3.default=tX;}),v1=p4(sd2=>{Object.defineProperty(sd2,"__esModule",{value:!0}),sd2.default=void 0;var rX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},nX=rX;sd2.default=nX;}),w12=p4(ld3=>{Object.defineProperty(ld3,"__esModule",{value:!0}),ld3.default=void 0;var oX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iX=oX;ld3.default=iX;}),E12=p4(ud3=>{Object.defineProperty(ud3,"__esModule",{value:!0}),ud3.default=void 0;var aX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},sX=aX;ud3.default=sX;}),C1=p4(cd3=>{Object.defineProperty(cd3,"__esModule",{value:!0}),cd3.default=void 0;var lX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},uX=lX;cd3.default=uX;}),x1=p4(dd3=>{Object.defineProperty(dd3,"__esModule",{value:!0}),dd3.default=void 0;var cX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dX=cX;dd3.default=dX;}),_12=p4(fd3=>{Object.defineProperty(fd3,"__esModule",{value:!0}),fd3.default=void 0;var fX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},pX=fX;fd3.default=pX;}),P1=p4(pd4=>{Object.defineProperty(pd4,"__esModule",{value:!0}),pd4.default=void 0;var mX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},hX=mX;pd4.default=hX;}),q1=p4(md2=>{Object.defineProperty(md2,"__esModule",{value:!0}),md2.default=void 0;var bX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},yX=bX;md2.default=yX;}),R1=p4(hd3=>{Object.defineProperty(hd3,"__esModule",{value:!0}),hd3.default=void 0;var gX=L11(QO()),vX=L11(ZO()),wX=L11(eS()),EX=L11(tS()),CX=L11(rS()),xX=L11(nS()),_X=L11(oS()),PX=L11(iS2()),qX=L11(aS2()),RX=L11(sS()),TX=L11(lS()),OX=L11(uS()),SX=L11(cS()),MX=L11(dS()),AX=L11(fS()),NX=L11(pS()),IX=L11(mS()),jX=L11(hS()),kX=L11(bS()),LX=L11(yS()),$X=L11(gS()),BX=L11(vS()),DX=L11(wS()),FX=L11(ES2()),UX=L11(CS2()),HX=L11(xS()),VX=L11(_S()),zX=L11(PS()),WX=L11(qS()),GX=L11(RS2()),KX=L11(TS2()),YX=L11(OS()),XX=L11(SS()),JX=L11(MS()),QX=L11(AS()),ZX=L11(NS2()),eJ=L11(IS()),tJ=L11(jS2()),rJ=L11(kS2()),nJ=L11(LS()),oJ=L11($S()),iJ=L11(BS()),aJ=L11(DS2()),sJ=L11(FS()),lJ=L11(US2()),uJ=L11(HS()),cJ=L11(VS()),dJ=L11(zS()),fJ=L11(WS()),pJ=L11(GS()),mJ=L11(KS()),hJ=L11(YS()),bJ=L11(XS()),yJ=L11(JS()),gJ=L11(QS()),vJ=L11(ZS()),wJ=L11(e1()),EJ=L11(t1()),CJ=L11(r12()),xJ=L11(n1()),_J=L11(o1()),PJ=L11(i1()),qJ=L11(a1()),RJ=L11(s1()),TJ=L11(l1()),OJ=L11(u12()),SJ=L11(c1()),MJ=L11(d1()),AJ=L11(f1()),NJ=L11(p1()),IJ=L11(m12()),jJ=L11(h1()),kJ=L11(b12()),LJ=L11(y1()),$J=L11(g1()),BJ=L11(v1()),DJ=L11(w12()),FJ=L11(E12()),UJ=L11(C1()),HJ=L11(x1()),VJ=L11(_12()),zJ=L11(P1()),WJ=L11(q1());function L11(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(L11,"_interopRequireDefault");var GJ=[["alert",gX.default],["alertdialog",vX.default],["application",wX.default],["article",EX.default],["banner",CX.default],["blockquote",xX.default],["button",_X.default],["caption",PX.default],["cell",qX.default],["checkbox",RX.default],["code",TX.default],["columnheader",OX.default],["combobox",SX.default],["complementary",MX.default],["contentinfo",AX.default],["definition",NX.default],["deletion",IX.default],["dialog",jX.default],["directory",kX.default],["document",LX.default],["emphasis",$X.default],["feed",BX.default],["figure",DX.default],["form",FX.default],["generic",UX.default],["grid",HX.default],["gridcell",VX.default],["group",zX.default],["heading",WX.default],["img",GX.default],["insertion",KX.default],["link",YX.default],["list",XX.default],["listbox",JX.default],["listitem",QX.default],["log",ZX.default],["main",eJ.default],["mark",tJ.default],["marquee",rJ.default],["math",nJ.default],["menu",oJ.default],["menubar",iJ.default],["menuitem",aJ.default],["menuitemcheckbox",sJ.default],["menuitemradio",lJ.default],["meter",uJ.default],["navigation",cJ.default],["none",dJ.default],["note",fJ.default],["option",pJ.default],["paragraph",mJ.default],["presentation",hJ.default],["progressbar",bJ.default],["radio",yJ.default],["radiogroup",gJ.default],["region",vJ.default],["row",wJ.default],["rowgroup",EJ.default],["rowheader",CJ.default],["scrollbar",xJ.default],["search",_J.default],["searchbox",PJ.default],["separator",qJ.default],["slider",RJ.default],["spinbutton",TJ.default],["status",OJ.default],["strong",SJ.default],["subscript",MJ.default],["superscript",AJ.default],["switch",NJ.default],["tab",IJ.default],["table",jJ.default],["tablist",kJ.default],["tabpanel",LJ.default],["term",$J.default],["textbox",BJ.default],["time",DJ.default],["timer",FJ.default],["toolbar",UJ.default],["tooltip",HJ.default],["tree",VJ.default],["treegrid",zJ.default],["treeitem",WJ.default]],KJ=GJ;hd3.default=KJ;}),T1=p4(bd4=>{Object.defineProperty(bd4,"__esModule",{value:!0}),bd4.default=void 0;var YJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XJ=YJ;bd4.default=XJ;}),O12=p4(yd4=>{Object.defineProperty(yd4,"__esModule",{value:!0}),yd4.default=void 0;var JJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QJ=JJ;yd4.default=QJ;}),S1=p4(gd4=>{Object.defineProperty(gd4,"__esModule",{value:!0}),gd4.default=void 0;var ZJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},eQ2=ZJ;gd4.default=eQ2;}),M12=p4(vd2=>{Object.defineProperty(vd2,"__esModule",{value:!0}),vd2.default=void 0;var tQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rQ=tQ2;vd2.default=rQ;}),A1=p4(wd3=>{Object.defineProperty(wd3,"__esModule",{value:!0}),wd3.default=void 0;var nQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},oQ2=nQ;wd3.default=oQ2;}),N1=p4(Ed2=>{Object.defineProperty(Ed2,"__esModule",{value:!0}),Ed2.default=void 0;var iQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},aQ=iQ;Ed2.default=aQ;}),I1=p4(Cd3=>{Object.defineProperty(Cd3,"__esModule",{value:!0}),Cd3.default=void 0;var sQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lQ2=sQ;Cd3.default=lQ2;}),j1=p4(xd3=>{Object.defineProperty(xd3,"__esModule",{value:!0}),xd3.default=void 0;var uQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},cQ2=uQ2;xd3.default=cQ2;}),k12=p4(_d3=>{Object.defineProperty(_d3,"__esModule",{value:!0}),_d3.default=void 0;var dQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fQ2=dQ2;_d3.default=fQ2;}),L1=p4(Pd2=>{Object.defineProperty(Pd2,"__esModule",{value:!0}),Pd2.default=void 0;var pQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mQ2=pQ2;Pd2.default=mQ2;}),$1=p4(qd3=>{Object.defineProperty(qd3,"__esModule",{value:!0}),qd3.default=void 0;var hQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bQ=hQ2;qd3.default=bQ;}),B1=p4(Rd3=>{Object.defineProperty(Rd3,"__esModule",{value:!0}),Rd3.default=void 0;var yQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},gQ=yQ;Rd3.default=gQ;}),D12=p4(Td2=>{Object.defineProperty(Td2,"__esModule",{value:!0}),Td2.default=void 0;var vQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wQ2=vQ;Td2.default=wQ2;}),F1=p4(Od2=>{Object.defineProperty(Od2,"__esModule",{value:!0}),Od2.default=void 0;var EQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CQ2=EQ2;Od2.default=CQ2;}),U1=p4(Sd3=>{Object.defineProperty(Sd3,"__esModule",{value:!0}),Sd3.default=void 0;var xQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_Q=xQ2;Sd3.default=_Q;}),H1=p4(Md3=>{Object.defineProperty(Md3,"__esModule",{value:!0}),Md3.default=void 0;var PQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},qQ2=PQ;Md3.default=qQ2;}),V12=p4(Ad2=>{Object.defineProperty(Ad2,"__esModule",{value:!0}),Ad2.default=void 0;var RQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TQ2=RQ;Ad2.default=TQ2;}),z1=p4(Nd4=>{Object.defineProperty(Nd4,"__esModule",{value:!0}),Nd4.default=void 0;var OQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SQ=OQ2;Nd4.default=SQ;}),W1=p4(Id3=>{Object.defineProperty(Id3,"__esModule",{value:!0}),Id3.default=void 0;var MQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AQ=MQ;Id3.default=AQ;}),G1=p4(jd3=>{Object.defineProperty(jd3,"__esModule",{value:!0}),jd3.default=void 0;var NQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IQ2=NQ;jd3.default=IQ2;}),K1=p4(kd3=>{Object.defineProperty(kd3,"__esModule",{value:!0}),kd3.default=void 0;var jQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kQ=jQ2;kd3.default=kQ;}),Y1=p4(Ld3=>{Object.defineProperty(Ld3,"__esModule",{value:!0}),Ld3.default=void 0;var LQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$Q2=LQ;Ld3.default=$Q2;}),X1=p4($d2=>{Object.defineProperty($d2,"__esModule",{value:!0}),$d2.default=void 0;var BQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DQ=BQ2;$d2.default=DQ;}),J1=p4(Bd3=>{Object.defineProperty(Bd3,"__esModule",{value:!0}),Bd3.default=void 0;var FQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},UQ2=FQ;Bd3.default=UQ2;}),Q1=p4(Dd4=>{Object.defineProperty(Dd4,"__esModule",{value:!0}),Dd4.default=void 0;var HQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},VQ2=HQ2;Dd4.default=VQ2;}),Z12=p4(Fd2=>{Object.defineProperty(Fd2,"__esModule",{value:!0}),Fd2.default=void 0;var zQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},WQ2=zQ2;Fd2.default=WQ2;}),eM=p4(Ud4=>{Object.defineProperty(Ud4,"__esModule",{value:!0}),Ud4.default=void 0;var GQ2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KQ=GQ2;Ud4.default=KQ;}),tM=p4(Hd2=>{Object.defineProperty(Hd2,"__esModule",{value:!0}),Hd2.default=void 0;var YQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},XQ2=YQ;Hd2.default=XQ2;}),rM=p4(Vd4=>{Object.defineProperty(Vd4,"__esModule",{value:!0}),Vd4.default=void 0;var JQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},QQ2=JQ;Vd4.default=QQ2;}),nM=p4(zd3=>{Object.defineProperty(zd3,"__esModule",{value:!0}),zd3.default=void 0;var ZQ2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},eZ=ZQ2;zd3.default=eZ;}),oM=p4(Wd3=>{Object.defineProperty(Wd3,"__esModule",{value:!0}),Wd3.default=void 0;var tZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},rZ=tZ;Wd3.default=rZ;}),iM=p4(Gd4=>{Object.defineProperty(Gd4,"__esModule",{value:!0}),Gd4.default=void 0;var nZ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oZ=nZ;Gd4.default=oZ;}),aM=p4(Kd3=>{Object.defineProperty(Kd3,"__esModule",{value:!0}),Kd3.default=void 0;var iZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aZ=iZ;Kd3.default=aZ;}),sM=p4(Yd4=>{Object.defineProperty(Yd4,"__esModule",{value:!0}),Yd4.default=void 0;var sZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lZ=sZ;Yd4.default=lZ;}),lM=p4(Xd3=>{Object.defineProperty(Xd3,"__esModule",{value:!0}),Xd3.default=void 0;var uZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},cZ=uZ;Xd3.default=cZ;}),uM=p4(Jd3=>{Object.defineProperty(Jd3,"__esModule",{value:!0}),Jd3.default=void 0;var dZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fZ=dZ;Jd3.default=fZ;}),cM=p4(Qd4=>{Object.defineProperty(Qd4,"__esModule",{value:!0}),Qd4.default=void 0;var pZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},mZ=pZ;Qd4.default=mZ;}),dM=p4(Zd3=>{Object.defineProperty(Zd3,"__esModule",{value:!0}),Zd3.default=void 0;var hZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},bZ=hZ;Zd3.default=bZ;}),fM=p4(ef3=>{Object.defineProperty(ef3,"__esModule",{value:!0}),ef3.default=void 0;var yZ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},gZ=yZ;ef3.default=gZ;}),pM=p4(tf4=>{Object.defineProperty(tf4,"__esModule",{value:!0}),tf4.default=void 0;var vZ=Q12(T1()),wZ=Q12(O12()),EZ=Q12(S1()),CZ=Q12(M12()),xZ=Q12(A1()),_Z=Q12(N1()),PZ=Q12(I1()),qZ=Q12(j1()),RZ=Q12(k12()),TZ=Q12(L1()),OZ=Q12($1()),SZ=Q12(B1()),MZ=Q12(D12()),AZ=Q12(F1()),NZ=Q12(U1()),IZ=Q12(H1()),jZ=Q12(V12()),kZ=Q12(z1()),LZ=Q12(W1()),$Z=Q12(G1()),BZ=Q12(K1()),DZ=Q12(Y1()),FZ=Q12(X1()),UZ=Q12(J1()),HZ=Q12(Q1()),VZ=Q12(Z12()),zZ=Q12(eM()),WZ=Q12(tM()),GZ=Q12(rM()),KZ=Q12(nM()),YZ=Q12(oM()),XZ=Q12(iM()),JZ=Q12(aM()),QZ=Q12(sM()),ZZ=Q12(lM()),eee=Q12(uM()),tee=Q12(cM()),ree=Q12(dM()),nee=Q12(fM());function Q12(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(Q12,"_interopRequireDefault");var oee=[["doc-abstract",vZ.default],["doc-acknowledgments",wZ.default],["doc-afterword",EZ.default],["doc-appendix",CZ.default],["doc-backlink",xZ.default],["doc-biblioentry",_Z.default],["doc-bibliography",PZ.default],["doc-biblioref",qZ.default],["doc-chapter",RZ.default],["doc-colophon",TZ.default],["doc-conclusion",OZ.default],["doc-cover",SZ.default],["doc-credit",MZ.default],["doc-credits",AZ.default],["doc-dedication",NZ.default],["doc-endnote",IZ.default],["doc-endnotes",jZ.default],["doc-epigraph",kZ.default],["doc-epilogue",LZ.default],["doc-errata",$Z.default],["doc-example",BZ.default],["doc-footnote",DZ.default],["doc-foreword",FZ.default],["doc-glossary",UZ.default],["doc-glossref",HZ.default],["doc-index",VZ.default],["doc-introduction",zZ.default],["doc-noteref",WZ.default],["doc-notice",GZ.default],["doc-pagebreak",KZ.default],["doc-pagelist",YZ.default],["doc-part",XZ.default],["doc-preface",JZ.default],["doc-prologue",QZ.default],["doc-pullquote",ZZ.default],["doc-qna",eee.default],["doc-subtitle",tee.default],["doc-tip",ree.default],["doc-toc",nee.default]],iee=oee;tf4.default=iee;}),mM=p4(rf3=>{Object.defineProperty(rf3,"__esModule",{value:!0}),rf3.default=void 0;var aee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},see=aee;rf3.default=see;}),hM=p4(nf3=>{Object.defineProperty(nf3,"__esModule",{value:!0}),nf3.default=void 0;var lee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},uee=lee;nf3.default=uee;}),bM=p4(of3=>{Object.defineProperty(of3,"__esModule",{value:!0}),of3.default=void 0;var cee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},dee=cee;of3.default=dee;}),yM=p4(af3=>{Object.defineProperty(af3,"__esModule",{value:!0}),af3.default=void 0;var fee=ry2(mM()),pee=ry2(hM()),mee=ry2(bM());function ry2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(ry2,"_interopRequireDefault");var hee=[["graphics-document",fee.default],["graphics-object",pee.default],["graphics-symbol",mee.default]],bee=hee;af3.default=bee;}),lf2=p4(sf3=>{Object.defineProperty(sf3,"__esModule",{value:!0}),sf3.default=void 0;var yee=qo4(JO()),gee=qo4(R1()),vee=qo4(pM()),wee=qo4(yM()),Eee=qo4(hn4());function qo4(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(qo4,"_interopRequireDefault");function Cee(e5,t18,r5){return t18 in e5?Object.defineProperty(e5,t18,{value:r5,enumerable:!0,configurable:!0,writable:!0}):e5[t18]=r5,e5}o4(Cee,"_defineProperty");function ny2(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=vM2(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1736
1737
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a5=!0,s10=!1,l7;return {s:o4(function(){r5=r5.call(e5);},"s"),n:o4(function(){var u5=r5.next();return a5=u5.done,u5},"n"),e:o4(function(u5){s10=!0,l7=u5;},"e"),f:o4(function(){try{!a5&&r5.return!=null&&r5.return();}finally{if(s10)throw l7}},"f")}}o4(ny2,"_createForOfIteratorHelper");function Po7(e5,t18){return Pee(e5)||_ee(e5,t18)||vM2(e5,t18)||xee()}o4(Po7,"_slicedToArray");function xee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1737
1738
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(xee,"_nonIterableRest");function vM2(e5,t18){if(e5){if(typeof e5=="string")return gM2(e5,t18);var r5=Object.prototype.toString.call(e5).slice(8,-1);if(r5==="Object"&&e5.constructor&&(r5=e5.constructor.name),r5==="Map"||r5==="Set")return Array.from(e5);if(r5==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5))return gM2(e5,t18)}}o4(vM2,"_unsupportedIterableToArray");function gM2(e5,t18){(t18==null||t18>e5.length)&&(t18=e5.length);for(var r5=0,n10=new Array(t18);r5<t18;r5++)n10[r5]=e5[r5];return n10}o4(gM2,"_arrayLikeToArray");function _ee(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10=[],i7=!0,a5=!1,s10,l7;try{for(r5=r5.call(e5);!(i7=(s10=r5.next()).done)&&(n10.push(s10.value),!(t18&&n10.length===t18));i7=!0);}catch(c10){a5=!0,l7=c10;}finally{try{!i7&&r5.return!=null&&r5.return();}finally{if(a5)throw l7}}return n10}}o4(_ee,"_iterableToArrayLimit");function Pee(e5){if(Array.isArray(e5))return e5}o4(Pee,"_arrayWithHoles");var er6=[].concat(yee.default,gee.default,vee.default,wee.default);er6.forEach(function(e5){var t18=Po7(e5,2),r5=t18[1],n10=ny2(r5.superClass),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=i7.value,s10=ny2(a5),l7;try{var c10=o4(function(){var d7=l7.value,f11=er6.find(function(x8){var b8=Po7(x8,1),E5=b8[0];return E5===d7});if(f11)for(var h8=f11[1],m7=0,y7=Object.keys(h8.props);m7<y7.length;m7++){var g5=y7[m7];Object.prototype.hasOwnProperty.call(r5.props,g5)||Object.assign(r5.props,Cee({},g5,h8.props[g5]));}},"_loop");for(s10.s();!(l7=s10.n()).done;)c10();}catch(u5){s10.e(u5);}finally{s10.f();}}}catch(u5){n10.e(u5);}finally{n10.f();}});var oy2={entries:o4(function(){return er6},"entries"),forEach:o4(function(t18){var r5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n10=ny2(er6),i7;try{for(n10.s();!(i7=n10.n()).done;){var a5=Po7(i7.value,2),s10=a5[0],l7=a5[1];t18.call(r5,l7,s10,er6);}}catch(c10){n10.e(c10);}finally{n10.f();}},"forEach"),get:o4(function(t18){var r5=er6.find(function(n10){return n10[0]===t18});return r5&&r5[1]},"get"),has:o4(function(t18){return !!oy2.get(t18)},"has"),keys:o4(function(){return er6.map(function(t18){var r5=Po7(t18,1),n10=r5[0];return n10})},"keys"),values:o4(function(){return er6.map(function(t18){var r5=Po7(t18,2),n10=r5[1];return n10})},"values")},qee=(0, Eee.default)(oy2,oy2.entries());sf3.default=qee;}),EM={};Wo2(EM,{dequal:()=>iy});function iy(e5,t18){var r5,n10;if(e5===t18)return !0;if(e5&&t18&&(r5=e5.constructor)===t18.constructor){if(r5===Date)return e5.getTime()===t18.getTime();if(r5===RegExp)return e5.toString()===t18.toString();if(r5===Array){if((n10=e5.length)===t18.length)for(;n10--&&iy(e5[n10],t18[n10]););return n10===-1}if(!r5||typeof e5=="object"){n10=0;for(r5 in e5)if(wM.call(e5,r5)&&++n10&&!wM.call(t18,r5)||!(r5 in t18)||!iy(e5[r5],t18[r5]))return !1;return Object.keys(t18).length===n10}}return e5!==e5&&t18!==t18}var wM,CM=ZI(()=>{wM=Object.prototype.hasOwnProperty,o4(iy,"dequal");}),OM=p4(pf2=>{Object.defineProperty(pf2,"__esModule",{value:!0}),pf2.default=void 0;var PM2=(CM(),ej(EM)),Ree=RM2(hn4()),qM=RM2(lf2());function RM2(e5){return e5&&e5.__esModule?e5:{default:e5}}o4(RM2,"_interopRequireDefault");function ay(e5,t18){return See(e5)||Oee(e5,t18)||TM2(e5,t18)||Tee()}o4(ay,"_slicedToArray");function Tee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1738
1739
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o4(Tee,"_nonIterableRest");function Oee(e5,t18){var r5=e5==null?null:typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(r5!=null){var n10=[],i7=!0,a5=!1,s10,l7;try{for(r5=r5.call(e5);!(i7=(s10=r5.next()).done)&&(n10.push(s10.value),!(t18&&n10.length===t18));i7=!0);}catch(c10){a5=!0,l7=c10;}finally{try{!i7&&r5.return!=null&&r5.return();}finally{if(a5)throw l7}}return n10}}o4(Oee,"_iterableToArrayLimit");function See(e5){if(Array.isArray(e5))return e5}o4(See,"_arrayWithHoles");function Mee(e5,t18){var r5=typeof Symbol<"u"&&e5[Symbol.iterator]||e5["@@iterator"];if(!r5){if(Array.isArray(e5)||(r5=TM2(e5))||t18&&e5&&typeof e5.length=="number"){r5&&(e5=r5);var n10=0,i7=o4(function(){},"F");return {s:i7,n:o4(function(){return n10>=e5.length?{done:!0}:{done:!1,value:e5[n10++]}},"n"),e:o4(function(u5){throw u5},"e"),f:i7}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
@@ -1926,10 +1927,10 @@ Unable to find an `+(n10===!1?"accessible ":"")+'element with the role "'+t18+'"
1926
1927
  `)});}n10[0]=n10[0].replace(/^\r?\n/,"");var s10=n10[0];return t18.forEach(function(l7,c10){var u5=s10.match(/(?:^|\n)( *)$/),d7=u5?u5[1]:"",f11=l7;typeof l7=="string"&&l7.includes(`
1927
1928
  `)&&(f11=String(l7).split(`
1928
1929
  `).map(function(h8,m7){return m7===0?h8:""+d7+h8}).join(`
1929
- `)),s10+=f11+n10[c10+1];}),s10}o4(Ene,"dedent");var WI2=Ene,pg=Qs3({...ky},{intercept:o4((e5,t18)=>t18[0]==="fireEvent"||e5.startsWith("find")||e5.startsWith("waitFor"),"intercept")});pg.screen=new Proxy(pg.screen,{get(e5,t18,r5){return o.warn(WI2`
1930
+ `)),s10+=f11+n10[c10+1];}),s10}o4(Ene,"dedent");var WI2=Ene,pg=Qs3({...ky},{getKeys:o4(e5=>Object.keys(e5).filter(t18=>t18!=="eventWrapper"),"getKeys"),intercept:o4((e5,t18)=>t18[0]==="fireEvent"||e5.startsWith("find")||e5.startsWith("waitFor"),"intercept")});pg.screen=new Proxy(pg.screen,{get(e5,t18,r5){return o.warn(WI2`
1930
1931
  You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
1931
1932
  More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error
1932
- `),Reflect.get(e5,t18,r5)}});var {buildQueries:ARe,configure:NRe,createEvent:IRe,fireEvent:jRe,findAllByAltText:kRe,findAllByDisplayValue:LRe,findAllByLabelText:$Re,findAllByPlaceholderText:BRe,findAllByRole:DRe,findAllByTestId:FRe,findAllByText:URe,findAllByTitle:HRe,findByAltText:VRe,findByDisplayValue:zRe,findByLabelText:WRe,findByPlaceholderText:GRe,findByRole:KRe,findByTestId:YRe,findByText:XRe,findByTitle:JRe,getAllByAltText:QRe,getAllByDisplayValue:ZRe,getAllByLabelText:eTe,getAllByPlaceholderText:tTe,getAllByRole:rTe,getAllByTestId:nTe,getAllByText:oTe,getAllByTitle:iTe,getByAltText:aTe,getByDisplayValue:sTe,getByLabelText:lTe,getByPlaceholderText:uTe,getByRole:cTe,getByTestId:dTe,getByText:fTe,getByTitle:pTe,getConfig:mTe,getDefaultNormalizer:hTe,getElementError:bTe,getNodeText:yTe,getQueriesForElement:gTe,getRoles:vTe,getSuggestedQuery:wTe,isInaccessible:ETe,logDOM:CTe,logRoles:xTe,prettyDOM:_Te,queries:PTe,queryAllByAltText:qTe,queryAllByAttribute:RTe,queryAllByDisplayValue:TTe,queryAllByLabelText:OTe,queryAllByPlaceholderText:STe,queryAllByRole:MTe,queryAllByTestId:ATe,queryAllByText:NTe,queryAllByTitle:ITe,queryByAltText:jTe,queryByAttribute:kTe,queryByDisplayValue:LTe,queryByLabelText:$Te,queryByPlaceholderText:BTe,queryByRole:DTe,queryByTestId:FTe,queryByText:UTe,queryByTitle:HTe,queryHelpers:VTe,screen:zTe,waitFor:WTe,waitForElementToBeRemoved:GTe,within:KTe,prettyFormat:YTe}=pg,XTe=zo3;Qs3({userEvent:zo3},{intercept:!0});Qs3({expect:$b},{getKeys:o4((e5,t18)=>{if("constructor"in e5&&e5.constructor===w7){let r5=["assert","__methods","__flags","_obj"],n10=Object.keys(Object.getPrototypeOf(e5)).filter(i7=>!r5.includes(i7));return t18>2?n10:[...n10,"not"]}return "any"in e5?Object.keys(e5).filter(r5=>r5!=="any"):Object.keys(e5)},"getKeys"),mutate:!0,intercept:o4(e5=>e5!=="expect","intercept")});var Br7=Object.create,ce4=Object.defineProperty,zr6=Object.getOwnPropertyDescriptor,Ur5=Object.getOwnPropertyNames,Gr4=Object.getPrototypeOf,Wr4=Object.prototype.hasOwnProperty,n7=(e5,t18)=>ce4(e5,"name",{value:t18,configurable:!0}),Yr5=(e5,t18)=>()=>(t18||e5((t18={exports:{}}).exports,t18),t18.exports),xt5=(e5,t18)=>{for(var r5 in t18)ce4(e5,r5,{get:t18[r5],enumerable:!0});},Vr4=(e5,t18,r5,o10)=>{if(t18&&typeof t18=="object"||typeof t18=="function")for(let i7 of Ur5(t18))!Wr4.call(e5,i7)&&i7!==r5&&ce4(e5,i7,{get:()=>t18[i7],enumerable:!(o10=zr6(t18,i7))||o10.enumerable});return e5},Kr6=(e5,t18,r5)=>(r5=e5!=null?Br7(Gr4(e5)):{},Vr4(t18||!e5||!e5.__esModule?ce4(r5,"default",{value:e5,enumerable:!0}):r5,e5)),Tt5=Yr5(Ee9=>{Object.defineProperty(Ee9,"__esModule",{value:!0}),Ee9.isEqual=function(){var e5=Object.prototype.toString,t18=Object.getPrototypeOf,r5=Object.getOwnPropertySymbols?function(o10){return Object.keys(o10).concat(Object.getOwnPropertySymbols(o10))}:Object.keys;return function(o10,i7){return n7(function s10(a5,p7,c10){var l7,y7,u5,h8=e5.call(a5),T11=e5.call(p7);if(a5===p7)return !0;if(a5==null||p7==null)return !1;if(c10.indexOf(a5)>-1&&c10.indexOf(p7)>-1)return !0;if(c10.push(a5,p7),h8!=T11||(l7=r5(a5),y7=r5(p7),l7.length!=y7.length||l7.some(function(R10){return !s10(a5[R10],p7[R10],c10)})))return !1;switch(h8.slice(8,-1)){case"Symbol":return a5.valueOf()==p7.valueOf();case"Date":case"Number":return +a5==+p7||+a5!=+a5&&+p7!=+p7;case"RegExp":case"Function":case"String":case"Boolean":return ""+a5==""+p7;case"Set":case"Map":l7=a5.entries(),y7=p7.entries();do if(!s10((u5=l7.next()).value,y7.next().value,c10))return !1;while(!u5.done);return !0;case"ArrayBuffer":a5=new Uint8Array(a5),p7=new Uint8Array(p7);case"DataView":a5=new Uint8Array(a5.buffer),p7=new Uint8Array(p7.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(a5.length!=p7.length)return !1;for(u5=0;u5<a5.length;u5++)if((u5 in a5||u5 in p7)&&(u5 in a5!=u5 in p7||!s10(a5[u5],p7[u5],c10)))return !1;return !0;case"Object":return s10(t18(a5),t18(p7),c10);default:return !1}},"n")(o10,i7,[])}}();});function bt4(e5){return e5.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t18,r5,o10,i7)=>`${r5} ${o10}${i7}`).replace(/([a-z])([A-Z])/g,(t18,r5,o10)=>`${r5} ${o10}`).replace(/([a-z])([0-9])/gi,(t18,r5,o10)=>`${r5} ${o10}`).replace(/([0-9])([a-z])/gi,(t18,r5,o10)=>`${r5} ${o10}`).replace(/(\s|^)(\w)/g,(t18,r5,o10)=>`${r5}${o10.toUpperCase()}`).replace(/ +/g," ").trim()}n7(bt4,"toStartCaseStr");var Ce2=Kr6(Tt5(),1),St5=n7(e5=>e5.map(t18=>typeof t18<"u").filter(Boolean).length,"count"),qr7=n7((e5,t18)=>{let{exists:r5,eq:o10,neq:i7,truthy:s10}=e5;if(St5([r5,o10,i7,s10])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r5,eq:o10,neq:i7})}`);if(typeof o10<"u")return (0, Ce2.isEqual)(t18,o10);if(typeof i7<"u")return !(0, Ce2.isEqual)(t18,i7);if(typeof r5<"u"){let p7=typeof t18<"u";return r5?p7:!p7}return typeof s10>"u"||s10?!!t18:!t18},"testValue"),Xr3=n7((e5,t18,r5)=>{if(!e5.if)return !0;let{arg:o10,global:i7}=e5.if;if(St5([o10,i7])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o10,global:i7})}`);let s10=o10?t18[o10]:r5[i7];return qr7(e5.if,s10)},"includeConditionalArg");function At7(){let e5={setHandler:n7(()=>{},"setHandler"),send:n7(()=>{},"send")};return new z5({transport:e5})}n7(At7,"mockChannel");var Me5=class{constructor(){this.getChannel=n7(()=>{if(!this.channel){let t18=At7();return this.setChannel(t18),t18}return this.channel},"getChannel"),this.ready=n7(()=>this.promise,"ready"),this.hasChannel=n7(()=>!!this.channel,"hasChannel"),this.setChannel=n7(t18=>{this.channel=t18,this.resolve();},"setChannel"),this.promise=new Promise(t18=>{this.resolve=()=>t18(this.getChannel());});}};n7(Me5,"AddonStore");var Pe5=Me5,ke6="__STORYBOOK_ADDONS_PREVIEW";function Jr6(){return scope[ke6]||(scope[ke6]=new Pe5),scope[ke6]}n7(Jr6,"getAddonsStore");var Oe4=Jr6(),Ie6=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=n7(t18=>{t18===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners());},"renderListener"),this.init();}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null;}clean(){this.prevEffects.forEach(t18=>{t18.destroy&&t18.destroy();}),this.init(),this.removeRenderListeners();}getNextHook(){let t18=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t18}triggerEffects(){this.prevEffects.forEach(t18=>{!this.currentEffects.includes(t18)&&t18.destroy&&t18.destroy();}),this.currentEffects.forEach(t18=>{this.prevEffects.includes(t18)||(t18.destroy=t18.create());}),this.prevEffects=this.currentEffects,this.currentEffects=[];}addRenderListeners(){this.removeRenderListeners(),Oe4.getChannel().on(X4,this.renderListener);}removeRenderListeners(){Oe4.getChannel().removeListener(X4,this.renderListener);}};n7(Ie6,"HooksContext");var de7=Ie6;function wt6(e5){let t18=n7((...r5)=>{let{hooks:o10}=typeof r5[0]=="function"?r5[1]:r5[0],i7=o10.currentPhase,s10=o10.currentHooks,a5=o10.nextHookIndex,p7=o10.currentDecoratorName;o10.currentDecoratorName=e5.name,o10.prevMountedDecorators.has(e5)?(o10.currentPhase="UPDATE",o10.currentHooks=o10.hookListsMap.get(e5)||[]):(o10.currentPhase="MOUNT",o10.currentHooks=[],o10.hookListsMap.set(e5,o10.currentHooks),o10.prevMountedDecorators.add(e5)),o10.nextHookIndex=0;let c10=scope.STORYBOOK_HOOKS_CONTEXT;scope.STORYBOOK_HOOKS_CONTEXT=o10;let l7=e5(...r5);if(scope.STORYBOOK_HOOKS_CONTEXT=c10,o10.currentPhase==="UPDATE"&&o10.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o10.currentPhase=i7,o10.currentHooks=s10,o10.nextHookIndex=a5,o10.currentDecoratorName=p7,l7},"hookified");return t18.originalFn=e5,t18}n7(wt6,"hookify");var Fe5=0,Qr6=25,Et3=n7(e5=>(t18,r5)=>{let o10=e5(wt6(t18),r5.map(i7=>wt6(i7)));return i7=>{let{hooks:s10}=i7;s10.prevMountedDecorators??=new Set,s10.mountedDecorators=new Set([t18,...r5]),s10.currentContext=i7,s10.hasUpdates=!1;let a5=o10(i7);for(Fe5=1;s10.hasUpdates;)if(s10.hasUpdates=!1,s10.currentEffects=[],a5=o10(i7),Fe5+=1,Fe5>Qr6)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return s10.addRenderListeners(),a5}},"applyHooks");function ee5(e5){if(!e5||typeof e5!="object")return !1;let t18=Object.getPrototypeOf(e5);return t18===null||t18===Object.prototype||Object.getPrototypeOf(t18)===null?Object.prototype.toString.call(e5)==="[object Object]":!1}n7(ee5,"isPlainObject");function U7(e5,t18){let r5={},o10=Object.keys(e5);for(let i7=0;i7<o10.length;i7++){let s10=o10[i7],a5=e5[s10];r5[s10]=t18(a5,s10,e5);}return r5}n7(U7,"mapValues");function Le5(e5,t18){let r5={},o10=Object.keys(e5);for(let i7=0;i7<o10.length;i7++){let s10=o10[i7],a5=e5[s10];t18(a5,s10)&&(r5[s10]=a5);}return r5}n7(Le5,"pickBy");function W8(e5){for(var t18=[],r5=1;r5<arguments.length;r5++)t18[r5-1]=arguments[r5];var o10=Array.from(typeof e5=="string"?[e5]:e5);o10[o10.length-1]=o10[o10.length-1].replace(/\r?\n([\t ]*)$/,"");var i7=o10.reduce(function(p7,c10){var l7=c10.match(/\n([\t ]+|(?!\s).)/g);return l7?p7.concat(l7.map(function(y7){var u5,h8;return (h8=(u5=y7.match(/[\t ]/g))===null||u5===void 0?void 0:u5.length)!==null&&h8!==void 0?h8:0})):p7},[]);if(i7.length){var s10=new RegExp(`
1933
+ `),Reflect.get(e5,t18,r5)}});var {buildQueries:ARe,configure:NRe,createEvent:IRe,fireEvent:jRe,findAllByAltText:kRe,findAllByDisplayValue:LRe,findAllByLabelText:$Re,findAllByPlaceholderText:BRe,findAllByRole:DRe,findAllByTestId:FRe,findAllByText:URe,findAllByTitle:HRe,findByAltText:VRe,findByDisplayValue:zRe,findByLabelText:WRe,findByPlaceholderText:GRe,findByRole:KRe,findByTestId:YRe,findByText:XRe,findByTitle:JRe,getAllByAltText:QRe,getAllByDisplayValue:ZRe,getAllByLabelText:eTe,getAllByPlaceholderText:tTe,getAllByRole:rTe,getAllByTestId:nTe,getAllByText:oTe,getAllByTitle:iTe,getByAltText:aTe,getByDisplayValue:sTe,getByLabelText:lTe,getByPlaceholderText:uTe,getByRole:cTe,getByTestId:dTe,getByText:fTe,getByTitle:pTe,getConfig:mTe,getDefaultNormalizer:hTe,getElementError:bTe,getNodeText:yTe,getQueriesForElement:gTe,getRoles:vTe,getSuggestedQuery:wTe,isInaccessible:ETe,logDOM:CTe,logRoles:xTe,prettyDOM:_Te,queries:PTe,queryAllByAltText:qTe,queryAllByAttribute:RTe,queryAllByDisplayValue:TTe,queryAllByLabelText:OTe,queryAllByPlaceholderText:STe,queryAllByRole:MTe,queryAllByTestId:ATe,queryAllByText:NTe,queryAllByTitle:ITe,queryByAltText:jTe,queryByAttribute:kTe,queryByDisplayValue:LTe,queryByLabelText:$Te,queryByPlaceholderText:BTe,queryByRole:DTe,queryByTestId:FTe,queryByText:UTe,queryByTitle:HTe,queryHelpers:VTe,screen:zTe,waitFor:WTe,waitForElementToBeRemoved:GTe,within:KTe,prettyFormat:YTe}=pg,XTe=zo3;Qs3({userEvent:zo3},{intercept:!0,getKeys:o4(e5=>Object.keys(e5).filter(t18=>t18!=="eventWrapper"),"getKeys")});Qs3({expect:$b},{getKeys:o4((e5,t18)=>{if("constructor"in e5&&e5.constructor===w7){let r5=["assert","__methods","__flags","_obj"],n10=Object.keys(Object.getPrototypeOf(e5)).filter(i7=>!r5.includes(i7));return t18>2?n10:[...n10,"not"]}return "any"in e5?Object.keys(e5).filter(r5=>r5!=="any"):Object.keys(e5)},"getKeys"),mutate:!0,intercept:o4(e5=>e5!=="expect","intercept")});var Br7=Object.create,ce4=Object.defineProperty,zr6=Object.getOwnPropertyDescriptor,Ur5=Object.getOwnPropertyNames,Gr4=Object.getPrototypeOf,Wr4=Object.prototype.hasOwnProperty,n7=(e5,t18)=>ce4(e5,"name",{value:t18,configurable:!0}),Yr5=(e5,t18)=>()=>(t18||e5((t18={exports:{}}).exports,t18),t18.exports),xt5=(e5,t18)=>{for(var r5 in t18)ce4(e5,r5,{get:t18[r5],enumerable:!0});},Vr4=(e5,t18,r5,o10)=>{if(t18&&typeof t18=="object"||typeof t18=="function")for(let i7 of Ur5(t18))!Wr4.call(e5,i7)&&i7!==r5&&ce4(e5,i7,{get:()=>t18[i7],enumerable:!(o10=zr6(t18,i7))||o10.enumerable});return e5},Kr6=(e5,t18,r5)=>(r5=e5!=null?Br7(Gr4(e5)):{},Vr4(t18||!e5||!e5.__esModule?ce4(r5,"default",{value:e5,enumerable:!0}):r5,e5)),Tt5=Yr5(Ee9=>{Object.defineProperty(Ee9,"__esModule",{value:!0}),Ee9.isEqual=function(){var e5=Object.prototype.toString,t18=Object.getPrototypeOf,r5=Object.getOwnPropertySymbols?function(o10){return Object.keys(o10).concat(Object.getOwnPropertySymbols(o10))}:Object.keys;return function(o10,i7){return n7(function s10(a5,p7,c10){var l7,y7,u5,h8=e5.call(a5),T11=e5.call(p7);if(a5===p7)return !0;if(a5==null||p7==null)return !1;if(c10.indexOf(a5)>-1&&c10.indexOf(p7)>-1)return !0;if(c10.push(a5,p7),h8!=T11||(l7=r5(a5),y7=r5(p7),l7.length!=y7.length||l7.some(function(R10){return !s10(a5[R10],p7[R10],c10)})))return !1;switch(h8.slice(8,-1)){case"Symbol":return a5.valueOf()==p7.valueOf();case"Date":case"Number":return +a5==+p7||+a5!=+a5&&+p7!=+p7;case"RegExp":case"Function":case"String":case"Boolean":return ""+a5==""+p7;case"Set":case"Map":l7=a5.entries(),y7=p7.entries();do if(!s10((u5=l7.next()).value,y7.next().value,c10))return !1;while(!u5.done);return !0;case"ArrayBuffer":a5=new Uint8Array(a5),p7=new Uint8Array(p7);case"DataView":a5=new Uint8Array(a5.buffer),p7=new Uint8Array(p7.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(a5.length!=p7.length)return !1;for(u5=0;u5<a5.length;u5++)if((u5 in a5||u5 in p7)&&(u5 in a5!=u5 in p7||!s10(a5[u5],p7[u5],c10)))return !1;return !0;case"Object":return s10(t18(a5),t18(p7),c10);default:return !1}},"n")(o10,i7,[])}}();});function bt4(e5){return e5.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t18,r5,o10,i7)=>`${r5} ${o10}${i7}`).replace(/([a-z])([A-Z])/g,(t18,r5,o10)=>`${r5} ${o10}`).replace(/([a-z])([0-9])/gi,(t18,r5,o10)=>`${r5} ${o10}`).replace(/([0-9])([a-z])/gi,(t18,r5,o10)=>`${r5} ${o10}`).replace(/(\s|^)(\w)/g,(t18,r5,o10)=>`${r5}${o10.toUpperCase()}`).replace(/ +/g," ").trim()}n7(bt4,"toStartCaseStr");var Ce2=Kr6(Tt5(),1),St5=n7(e5=>e5.map(t18=>typeof t18<"u").filter(Boolean).length,"count"),qr7=n7((e5,t18)=>{let{exists:r5,eq:o10,neq:i7,truthy:s10}=e5;if(St5([r5,o10,i7,s10])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r5,eq:o10,neq:i7})}`);if(typeof o10<"u")return (0, Ce2.isEqual)(t18,o10);if(typeof i7<"u")return !(0, Ce2.isEqual)(t18,i7);if(typeof r5<"u"){let p7=typeof t18<"u";return r5?p7:!p7}return typeof s10>"u"||s10?!!t18:!t18},"testValue"),Xr3=n7((e5,t18,r5)=>{if(!e5.if)return !0;let{arg:o10,global:i7}=e5.if;if(St5([o10,i7])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o10,global:i7})}`);let s10=o10?t18[o10]:r5[i7];return qr7(e5.if,s10)},"includeConditionalArg");function At7(){let e5={setHandler:n7(()=>{},"setHandler"),send:n7(()=>{},"send")};return new z5({transport:e5})}n7(At7,"mockChannel");var Me5=class{constructor(){this.getChannel=n7(()=>{if(!this.channel){let t18=At7();return this.setChannel(t18),t18}return this.channel},"getChannel"),this.ready=n7(()=>this.promise,"ready"),this.hasChannel=n7(()=>!!this.channel,"hasChannel"),this.setChannel=n7(t18=>{this.channel=t18,this.resolve();},"setChannel"),this.promise=new Promise(t18=>{this.resolve=()=>t18(this.getChannel());});}};n7(Me5,"AddonStore");var Pe5=Me5,ke6="__STORYBOOK_ADDONS_PREVIEW";function Jr6(){return scope[ke6]||(scope[ke6]=new Pe5),scope[ke6]}n7(Jr6,"getAddonsStore");var Oe4=Jr6(),Ie6=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=n7(t18=>{t18===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners());},"renderListener"),this.init();}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null;}clean(){this.prevEffects.forEach(t18=>{t18.destroy&&t18.destroy();}),this.init(),this.removeRenderListeners();}getNextHook(){let t18=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t18}triggerEffects(){this.prevEffects.forEach(t18=>{!this.currentEffects.includes(t18)&&t18.destroy&&t18.destroy();}),this.currentEffects.forEach(t18=>{this.prevEffects.includes(t18)||(t18.destroy=t18.create());}),this.prevEffects=this.currentEffects,this.currentEffects=[];}addRenderListeners(){this.removeRenderListeners(),Oe4.getChannel().on(X4,this.renderListener);}removeRenderListeners(){Oe4.getChannel().removeListener(X4,this.renderListener);}};n7(Ie6,"HooksContext");var de7=Ie6;function wt6(e5){let t18=n7((...r5)=>{let{hooks:o10}=typeof r5[0]=="function"?r5[1]:r5[0],i7=o10.currentPhase,s10=o10.currentHooks,a5=o10.nextHookIndex,p7=o10.currentDecoratorName;o10.currentDecoratorName=e5.name,o10.prevMountedDecorators.has(e5)?(o10.currentPhase="UPDATE",o10.currentHooks=o10.hookListsMap.get(e5)||[]):(o10.currentPhase="MOUNT",o10.currentHooks=[],o10.hookListsMap.set(e5,o10.currentHooks),o10.prevMountedDecorators.add(e5)),o10.nextHookIndex=0;let c10=scope.STORYBOOK_HOOKS_CONTEXT;scope.STORYBOOK_HOOKS_CONTEXT=o10;let l7=e5(...r5);if(scope.STORYBOOK_HOOKS_CONTEXT=c10,o10.currentPhase==="UPDATE"&&o10.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o10.currentPhase=i7,o10.currentHooks=s10,o10.nextHookIndex=a5,o10.currentDecoratorName=p7,l7},"hookified");return t18.originalFn=e5,t18}n7(wt6,"hookify");var Fe5=0,Qr6=25,Et3=n7(e5=>(t18,r5)=>{let o10=e5(wt6(t18),r5.map(i7=>wt6(i7)));return i7=>{let{hooks:s10}=i7;s10.prevMountedDecorators??=new Set,s10.mountedDecorators=new Set([t18,...r5]),s10.currentContext=i7,s10.hasUpdates=!1;let a5=o10(i7);for(Fe5=1;s10.hasUpdates;)if(s10.hasUpdates=!1,s10.currentEffects=[],a5=o10(i7),Fe5+=1,Fe5>Qr6)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return s10.addRenderListeners(),a5}},"applyHooks");function ee5(e5){if(!e5||typeof e5!="object")return !1;let t18=Object.getPrototypeOf(e5);return t18===null||t18===Object.prototype||Object.getPrototypeOf(t18)===null?Object.prototype.toString.call(e5)==="[object Object]":!1}n7(ee5,"isPlainObject");function U7(e5,t18){let r5={},o10=Object.keys(e5);for(let i7=0;i7<o10.length;i7++){let s10=o10[i7],a5=e5[s10];r5[s10]=t18(a5,s10,e5);}return r5}n7(U7,"mapValues");function Le5(e5,t18){let r5={},o10=Object.keys(e5);for(let i7=0;i7<o10.length;i7++){let s10=o10[i7],a5=e5[s10];t18(a5,s10)&&(r5[s10]=a5);}return r5}n7(Le5,"pickBy");function W8(e5){for(var t18=[],r5=1;r5<arguments.length;r5++)t18[r5-1]=arguments[r5];var o10=Array.from(typeof e5=="string"?[e5]:e5);o10[o10.length-1]=o10[o10.length-1].replace(/\r?\n([\t ]*)$/,"");var i7=o10.reduce(function(p7,c10){var l7=c10.match(/\n([\t ]+|(?!\s).)/g);return l7?p7.concat(l7.map(function(y7){var u5,h8;return (h8=(u5=y7.match(/[\t ]/g))===null||u5===void 0?void 0:u5.length)!==null&&h8!==void 0?h8:0})):p7},[]);if(i7.length){var s10=new RegExp(`
1933
1934
  [ ]{`+Math.min.apply(Math,i7)+"}","g");o10=o10.map(function(p7){return p7.replace(s10,`
1934
1935
  `)});}o10[0]=o10[0].replace(/^\r?\n/,"");var a5=o10[0];return t18.forEach(function(p7,c10){var l7=a5.match(/(?:^|\n)( *)$/),y7=l7?l7[1]:"",u5=p7;typeof p7=="string"&&p7.includes(`
1935
1936
  `)&&(u5=String(p7).split(`
@@ -2464,7 +2465,7 @@ ${v12.description}`)},"showError"),showException:n7(v12=>{throw v12},"showExcept
2464
2465
 
2465
2466
  ${e5} wbr {
2466
2467
  outline: 1px solid #db175b !important;
2467
- }`}n7(dt3,"outlineCSS");var Fr6=n7((e5,t18)=>{let r5=t18.globals||{},o10=[!0,"true"].includes(r5[Ae4]),i7=t18.viewMode==="docs",s10=ss(()=>dt3(i7?'[data-story-block="true"]':".sb-show-main"),[t18]);return Ot3(()=>{let a5=i7?`addon-outline-docs-${t18.id}`:"addon-outline";return o10?$r7(a5,s10):ct4(a5),()=>{ct4(a5);}},[o10,s10,t18]),e5()},"withOutline"),An5=globalThis.FEATURES?.outline?[Fr6]:[],Rn4={[Ae4]:!1},mt4=n7(()=>({decorators:An5,initialGlobals:Rn4}),"default"),Fn4=n7(({parameters:e5})=>{e5?.test?.mockReset===!0?cbe():e5?.test?.clearMocks===!0?ube():e5?.test?.restoreMocks!==!1&&dbe();},"resetAllMocksLoader"),ut6=n7((e5,t18=0,r5)=>{if(t18>5||e5==null)return e5;if(cn4(e5))return r5&&e5.mockName(r5),e5;if(typeof e5=="function"&&"isAction"in e5&&e5.isAction&&!("implicit"in e5&&e5.implicit)){let o10=lbe(e5);return r5&&o10.mockName(r5),o10}if(Array.isArray(e5)){t18++;for(let o10=0;o10<e5.length;o10++)Object.getOwnPropertyDescriptor(e5,o10)?.writable&&(e5[o10]=ut6(e5[o10],t18));return e5}if(typeof e5=="object"&&e5.constructor===Object){t18++;for(let[o10,i7]of Object.entries(e5))Object.getOwnPropertyDescriptor(e5,o10)?.writable&&(e5[o10]=ut6(i7,t18,o10));return e5}return e5},"traverseArgs"),In5=n7(({initialArgs:e5})=>{ut6(e5);},"nameSpiesAndWrapActionsInSpies"),Ir6=!1,Ln6=n7(async e5=>{globalThis.HTMLElement&&e5.canvasElement instanceof globalThis.HTMLElement&&(e5.canvas=KTe(e5.canvasElement));let t18=globalThis.window?.navigator?.clipboard;if(t18){e5.userEvent=Qs3({userEvent:XTe.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:n7(()=>t18,"get"),configurable:!0});let r5=HTMLElement.prototype.focus;Ir6||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:n7(o10=>{r5=o10,Ir6=!0;},"set"),get:n7(()=>r5,"get")}});}},"enhanceContext"),ft3=n7(()=>({loaders:[Fn4,In5,Ln6]}),"default"),Dr6="viewport",_n5={[Dr6]:{value:void 0,isRotated:!1}},yt6=n7(()=>({initialGlobals:_n5}),"default");function _r2(){return [(lt4.default??lt4)(),(Je5.default??Je5)(),(st8.default??st8)(),(mt4.default??mt4)(),(yt6.default??yt6)(),(Xe5.default??Xe5)(),(Qe5.default??Qe5)(),(ft3.default??ft3)()]}n7(_r2,"getCoreAnnotations");function tc2(e5){let t18,r5={_tag:"Preview",input:e5,get composed(){if(t18)return t18;let{addons:o10,...i7}=e5;return t18=te6(ne4([..._r2(),...o10??[],i7])),t18},meta(o10){return Nn5(o10,this)}};return globalThis.globalProjectAnnotations=r5.composed,r5}n7(tc2,"definePreview");function rc2(e5){return e5}n7(rc2,"definePreviewAddon");function oc2(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Preview"}n7(oc2,"isPreview");function nc(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Meta"}n7(nc,"isMeta");function Nn5(e5,t18){return {_tag:"Meta",input:e5,preview:t18,get composed(){throw new Error("Not implemented")},story(r5={}){return Hr5(typeof r5=="function"?{render:r5}:r5,this)}}}n7(Nn5,"defineMeta");function ic(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Story"}n7(ic,"isStory");function Hr5(e5,t18){let r5,o10=n7(()=>(r5||(r5=We5(e5,t18.input,void 0,t18.preview.composed)),r5),"compose");return {_tag:"Story",input:e5,meta:t18,__compose:o10,get composed(){let i7=o10(),{args:s10,argTypes:a5,parameters:p7,id:c10,tags:l7,globals:y7,storyName:u5}=i7;return {args:s10,argTypes:a5,parameters:p7,id:c10,tags:l7,name:u5,globals:y7}},get play(){return e5.play??t18.input?.play??(async()=>{})},get run(){return o10().run??(async()=>{})},extend(i7){return Hr5({...this.input,...i7,args:{...this.input.args,...i7.args},argTypes:D7(this.input.argTypes,i7.argTypes),afterEach:[...b5(this.input?.afterEach??[]),...b5(i7.afterEach??[])],beforeEach:[...b5(this.input?.beforeEach??[]),...b5(i7.beforeEach??[])],decorators:[...b5(this.input?.decorators??[]),...b5(i7.decorators??[])],globals:{...this.input.globals,...i7.globals},loaders:[...b5(this.input?.loaders??[]),...b5(i7.loaders??[])],parameters:D7(this.input.parameters,i7.parameters),tags:uc2(...this.input.tags??[],...i7.tags??[])},this.meta)}}}n7(Hr5,"defineStory");var jn4=n7(e5=>e5.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Nr5=n7((e5,t18)=>{let r5=jn4(e5);if(r5==="")throw new Error(`Invalid ${t18} '${e5}', must include alphanumeric characters`);return r5},"sanitizeSafe"),lc=n7((e5,t18)=>`${Nr5(e5,"kind")}${t18?`--${Nr5(t18,"name")}`:""}`,"toId"),cc=n7(e5=>bt4(e5),"storyNameFromExport");function jr4(e5,t18){return Array.isArray(t18)?t18.includes(e5):e5.match(t18)}n7(jr4,"matches");function dc2(e5,{includeStories:t18,excludeStories:r5}){return e5!=="__esModule"&&(!t18||jr4(e5,t18))&&(!r5||!jr4(e5,r5))}n7(dc2,"isExportStory");var uc2=n7((...e5)=>{let t18=e5.reduce((r5,o10)=>(o10.startsWith("!")?r5.delete(o10.slice(1)):r5.add(o10),r5),new Set);return Array.from(t18)},"combineTags");var __filename5=fileURLToPath(import.meta.url);dirname(__filename5);ESM_COMPAT_Module1.createRequire(import.meta.url);var ke7=Object.create,X10=Object.defineProperty,Ve7=Object.getOwnPropertyDescriptor,Ae5=Object.getOwnPropertyNames,$e3=Object.getPrototypeOf,Re6=Object.prototype.hasOwnProperty,f7=(s10,e5)=>X10(s10,"name",{value:e5,configurable:!0}),Le6=(s10,e5)=>()=>(e5||s10((e5={exports:{}}).exports,e5),e5.exports),Me7=(s10,e5,r5,t18)=>{if(e5&&typeof e5=="object"||typeof e5=="function")for(let i7 of Ae5(e5))!Re6.call(s10,i7)&&i7!==r5&&X10(s10,i7,{get:()=>e5[i7],enumerable:!(t18=Ve7(e5,i7))||t18.enumerable});return s10},U8=(s10,e5,r5)=>(r5=s10!=null?ke7($e3(s10)):{},Me7(e5||!s10||!s10.__esModule?X10(r5,"default",{value:s10,enumerable:!0}):r5,s10)),k7=Le6(T11=>{Object.defineProperty(T11,"__esModule",{value:!0}),T11.dedent=void 0;function se6(s10){for(var e5=[],r5=1;r5<arguments.length;r5++)e5[r5-1]=arguments[r5];var t18=Array.from(typeof s10=="string"?[s10]:s10);t18[t18.length-1]=t18[t18.length-1].replace(/\r?\n([\t ]*)$/,"");var i7=t18.reduce(function(c10,p7){var d7=p7.match(/\n([\t ]+|(?!\s).)/g);return d7?c10.concat(d7.map(function(u5){var g5,b8;return (b8=(g5=u5.match(/[\t ]/g))===null||g5===void 0?void 0:g5.length)!==null&&b8!==void 0?b8:0})):c10},[]);if(i7.length){var a5=new RegExp(`
2468
+ }`}n7(dt3,"outlineCSS");var Fr6=n7((e5,t18)=>{let r5=t18.globals||{},o10=[!0,"true"].includes(r5[Ae4]),i7=t18.viewMode==="docs",s10=ss(()=>dt3(i7?'[data-story-block="true"]':".sb-show-main"),[t18]);return Ot3(()=>{let a5=i7?`addon-outline-docs-${t18.id}`:"addon-outline";return o10?$r7(a5,s10):ct4(a5),()=>{ct4(a5);}},[o10,s10,t18]),e5()},"withOutline"),An5=globalThis.FEATURES?.outline?[Fr6]:[],Rn4={[Ae4]:!1},mt4=n7(()=>({decorators:An5,initialGlobals:Rn4}),"default"),Fn4=n7(({parameters:e5})=>{e5?.test?.mockReset===!0?cbe():e5?.test?.clearMocks===!0?ube():e5?.test?.restoreMocks!==!1&&dbe();},"resetAllMocksLoader"),ut6=n7((e5,t18=0,r5)=>{if(t18>5||e5==null)return e5;if(cn4(e5))return r5&&e5.mockName(r5),e5;if(typeof e5=="function"&&"isAction"in e5&&e5.isAction&&!("implicit"in e5&&e5.implicit)){let o10=lbe(e5);return r5&&o10.mockName(r5),o10}if(Array.isArray(e5)){t18++;for(let o10=0;o10<e5.length;o10++)Object.getOwnPropertyDescriptor(e5,o10)?.writable&&(e5[o10]=ut6(e5[o10],t18));return e5}if(typeof e5=="object"&&e5.constructor===Object){t18++;for(let[o10,i7]of Object.entries(e5))Object.getOwnPropertyDescriptor(e5,o10)?.writable&&(e5[o10]=ut6(i7,t18,o10));return e5}return e5},"traverseArgs"),In5=n7(({initialArgs:e5})=>{ut6(e5);},"nameSpiesAndWrapActionsInSpies"),Ir6=!1,Ln6=n7(async e5=>{globalThis.HTMLElement&&e5.canvasElement instanceof globalThis.HTMLElement&&(e5.canvas=KTe(e5.canvasElement));let t18=globalThis.window?.navigator?.clipboard;if(t18){e5.userEvent=Qs3({userEvent:XTe.setup()},{intercept:!0,getKeys:n7(o10=>Object.keys(o10).filter(i7=>i7!=="eventWrapper"),"getKeys")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:n7(()=>t18,"get"),configurable:!0});let r5=HTMLElement.prototype.focus;Ir6||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:n7(o10=>{r5=o10,Ir6=!0;},"set"),get:n7(()=>r5,"get")}});}},"enhanceContext"),ft3=n7(()=>({loaders:[Fn4,In5,Ln6]}),"default"),Dr6="viewport",_n5={[Dr6]:{value:void 0,isRotated:!1}},yt6=n7(()=>({initialGlobals:_n5}),"default");function _r2(){return [(lt4.default??lt4)(),(Je5.default??Je5)(),(st8.default??st8)(),(mt4.default??mt4)(),(yt6.default??yt6)(),(Xe5.default??Xe5)(),(Qe5.default??Qe5)(),(ft3.default??ft3)()]}n7(_r2,"getCoreAnnotations");function tc2(e5){let t18,r5={_tag:"Preview",input:e5,get composed(){if(t18)return t18;let{addons:o10,...i7}=e5;return t18=te6(ne4([..._r2(),...o10??[],i7])),t18},meta(o10){return Nn5(o10,this)}};return globalThis.globalProjectAnnotations=r5.composed,r5}n7(tc2,"definePreview");function rc2(e5){return e5}n7(rc2,"definePreviewAddon");function oc2(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Preview"}n7(oc2,"isPreview");function nc(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Meta"}n7(nc,"isMeta");function Nn5(e5,t18){return {_tag:"Meta",input:e5,preview:t18,get composed(){throw new Error("Not implemented")},story(r5={}){return Hr5(typeof r5=="function"?{render:r5}:r5,this)}}}n7(Nn5,"defineMeta");function ic(e5){return e5!=null&&typeof e5=="object"&&"_tag"in e5&&e5?._tag==="Story"}n7(ic,"isStory");function Hr5(e5,t18){let r5,o10=n7(()=>(r5||(r5=We5(e5,t18.input,void 0,t18.preview.composed)),r5),"compose");return {_tag:"Story",input:e5,meta:t18,__compose:o10,get composed(){let i7=o10(),{args:s10,argTypes:a5,parameters:p7,id:c10,tags:l7,globals:y7,storyName:u5}=i7;return {args:s10,argTypes:a5,parameters:p7,id:c10,tags:l7,name:u5,globals:y7}},get play(){return e5.play??t18.input?.play??(async()=>{})},get run(){return o10().run??(async()=>{})},extend(i7){return Hr5({...this.input,...i7,args:{...this.input.args,...i7.args},argTypes:D7(this.input.argTypes,i7.argTypes),afterEach:[...b5(this.input?.afterEach??[]),...b5(i7.afterEach??[])],beforeEach:[...b5(this.input?.beforeEach??[]),...b5(i7.beforeEach??[])],decorators:[...b5(this.input?.decorators??[]),...b5(i7.decorators??[])],globals:{...this.input.globals,...i7.globals},loaders:[...b5(this.input?.loaders??[]),...b5(i7.loaders??[])],parameters:D7(this.input.parameters,i7.parameters),tags:uc2(...this.input.tags??[],...i7.tags??[])},this.meta)}}}n7(Hr5,"defineStory");var jn4=n7(e5=>e5.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Nr5=n7((e5,t18)=>{let r5=jn4(e5);if(r5==="")throw new Error(`Invalid ${t18} '${e5}', must include alphanumeric characters`);return r5},"sanitizeSafe"),lc=n7((e5,t18)=>`${Nr5(e5,"kind")}${t18?`--${Nr5(t18,"name")}`:""}`,"toId"),cc=n7(e5=>bt4(e5),"storyNameFromExport");function jr4(e5,t18){return Array.isArray(t18)?t18.includes(e5):e5.match(t18)}n7(jr4,"matches");function dc2(e5,{includeStories:t18,excludeStories:r5}){return e5!=="__esModule"&&(!t18||jr4(e5,t18))&&(!r5||!jr4(e5,r5))}n7(dc2,"isExportStory");var uc2=n7((...e5)=>{let t18=e5.reduce((r5,o10)=>(o10.startsWith("!")?r5.delete(o10.slice(1)):r5.add(o10),r5),new Set);return Array.from(t18)},"combineTags");var __filename5=fileURLToPath(import.meta.url);dirname(__filename5);ESM_COMPAT_Module1.createRequire(import.meta.url);var ke7=Object.create,X10=Object.defineProperty,Ve7=Object.getOwnPropertyDescriptor,Ae5=Object.getOwnPropertyNames,$e3=Object.getPrototypeOf,Re6=Object.prototype.hasOwnProperty,f7=(s10,e5)=>X10(s10,"name",{value:e5,configurable:!0}),Le6=(s10,e5)=>()=>(e5||s10((e5={exports:{}}).exports,e5),e5.exports),Me7=(s10,e5,r5,t18)=>{if(e5&&typeof e5=="object"||typeof e5=="function")for(let i7 of Ae5(e5))!Re6.call(s10,i7)&&i7!==r5&&X10(s10,i7,{get:()=>e5[i7],enumerable:!(t18=Ve7(e5,i7))||t18.enumerable});return s10},U8=(s10,e5,r5)=>(r5=s10!=null?ke7($e3(s10)):{},Me7(e5||!s10||!s10.__esModule?X10(r5,"default",{value:s10,enumerable:!0}):r5,s10)),k7=Le6(T11=>{Object.defineProperty(T11,"__esModule",{value:!0}),T11.dedent=void 0;function se6(s10){for(var e5=[],r5=1;r5<arguments.length;r5++)e5[r5-1]=arguments[r5];var t18=Array.from(typeof s10=="string"?[s10]:s10);t18[t18.length-1]=t18[t18.length-1].replace(/\r?\n([\t ]*)$/,"");var i7=t18.reduce(function(c10,p7){var d7=p7.match(/\n([\t ]+|(?!\s).)/g);return d7?c10.concat(d7.map(function(u5){var g5,b8;return (b8=(g5=u5.match(/[\t ]/g))===null||g5===void 0?void 0:g5.length)!==null&&b8!==void 0?b8:0})):c10},[]);if(i7.length){var a5=new RegExp(`
2468
2469
  [ ]{`+Math.min.apply(Math,i7)+"}","g");t18=t18.map(function(c10){return c10.replace(a5,`
2469
2470
  `)});}t18[0]=t18[0].replace(/^\r?\n/,"");var o10=t18[0];return e5.forEach(function(c10,p7){var d7=o10.match(/(?:^|\n)( *)$/),u5=d7?d7[1]:"",g5=c10;typeof c10=="string"&&c10.includes(`
2470
2471
  `)&&(g5=String(c10).split(`
@@ -2523,7 +2524,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2523
2524
  `),this.close();}validate(){var A11=this;return qd3(function*(){let e5=yield A11.validator(A11.value);typeof e5=="string"&&(A11.errorMsg=e5,e5=!1),A11.error=!e5;})()}submit(){var A11=this;return qd3(function*(){if(A11.value=A11.value||A11.initial,A11.cursorOffset=0,A11.cursor=A11.rendered.length,yield A11.validate(),A11.error){A11.red=!0,A11.fire(),A11.render();return}A11.done=!0,A11.aborted=!1,A11.fire(),A11.render(),A11.out.write(`
2524
2525
  `),A11.close();})()}next(){if(!this.placeholder)return this.bell();this.value=this.initial,this.cursor=this.rendered.length,this.fire(),this.render();}moveCursor(A11){this.placeholder||(this.cursor=this.cursor+A11,this.cursorOffset+=A11);}_(A11,e5){let r5=this.value.slice(0,this.cursor),i7=this.value.slice(this.cursor);this.value=`${r5}${A11}${i7}`,this.red=!1,this.cursor=this.placeholder?0:r5.length+1,this.render();}delete(){if(this.isCursorAtStart())return this.bell();let A11=this.value.slice(0,this.cursor-1),e5=this.value.slice(this.cursor);this.value=`${A11}${e5}`,this.red=!1,this.isCursorAtStart()?this.cursorOffset=0:(this.cursorOffset++,this.moveCursor(-1)),this.render();}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let A11=this.value.slice(0,this.cursor),e5=this.value.slice(this.cursor+1);this.value=`${A11}${e5}`,this.red=!1,this.isCursorAtEnd()?this.cursorOffset=0:this.cursorOffset++,this.render();}first(){this.cursor=0,this.render();}last(){this.cursor=this.value.length,this.render();}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1),this.render();}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1),this.render();}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(ns4.down(SY(this.outputError,this.out.columns)-1)+tc3(this.outputError,this.out.columns)),this.out.write(tc3(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[ec.symbol(this.done,this.aborted),fo6.bold(this.msg),ec.delimiter(this.done),this.red?fo6.red(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
2525
2526
  `).reduce((A11,e5,r5)=>A11+`
2526
- ${r5?" ":KY.pointerSmall} ${fo6.red().italic(e5)}`,"")),this.out.write(DY.line+ns4.to(0)+this.outputText+ns4.save+this.outputError+ns4.restore+ns4.move(this.cursorOffset,0)));}};Wd3.exports=rc3;}),Ap3=m2((yZ,Zd3)=>{var ft4=yA2(),FY=Qt6(),os8=_e6(),Xd3=os8.style,$d2=os8.clear,wo7=os8.figures,kY=os8.wrap,bY=os8.entriesToDisplay,NY=SA3(),MY=NY.cursor,ic2=class extends FY{static{s7(this,"SelectPrompt");}constructor(A11={}){super(A11),this.msg=A11.message,this.hint=A11.hint||"- Use arrow-keys. Return to submit.",this.warn=A11.warn||"- This option is disabled",this.cursor=A11.initial||0,this.choices=A11.choices.map((e5,r5)=>(typeof e5=="string"&&(e5={title:e5,value:r5}),{title:e5&&(e5.title||e5.value||e5),value:e5&&(e5.value===void 0?r5:e5.value),description:e5&&e5.description,selected:e5&&e5.selected,disabled:e5&&e5.disabled})),this.optionsPerPage=A11.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=$d2("",this.out.columns),this.render();}moveCursor(A11){this.cursor=A11,this.value=this.choices[A11].value,this.fire();}reset(){this.moveCursor(0),this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
2527
+ ${r5?" ":KY.pointerSmall} ${fo6.red().italic(e5)}`,"")),this.out.write(DY.line+ns4.to(0)+this.outputText+ns4.save+this.outputError+ns4.restore+ns4.move(this.cursorOffset,0)));}};Wd3.exports=rc3;}),Ap3=m2((yZ,Zd3)=>{var ft4=yA2(),FY=Qt6(),os9=_e6(),Xd3=os9.style,$d2=os9.clear,wo7=os9.figures,kY=os9.wrap,bY=os9.entriesToDisplay,NY=SA3(),MY=NY.cursor,ic2=class extends FY{static{s7(this,"SelectPrompt");}constructor(A11={}){super(A11),this.msg=A11.message,this.hint=A11.hint||"- Use arrow-keys. Return to submit.",this.warn=A11.warn||"- This option is disabled",this.cursor=A11.initial||0,this.choices=A11.choices.map((e5,r5)=>(typeof e5=="string"&&(e5={title:e5,value:r5}),{title:e5&&(e5.title||e5.value||e5),value:e5&&(e5.value===void 0?r5:e5.value),description:e5&&e5.description,selected:e5&&e5.selected,disabled:e5&&e5.disabled})),this.optionsPerPage=A11.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=$d2("",this.out.columns),this.render();}moveCursor(A11){this.cursor=A11,this.value=this.choices[A11].value,this.fire();}reset(){this.moveCursor(0),this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
2527
2528
  `),this.close();}submit(){this.selection.disabled?this.bell():(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
2528
2529
  `),this.close());}first(){this.moveCursor(0),this.render();}last(){this.moveCursor(this.choices.length-1),this.render();}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render();}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render();}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render();}_(A11,e5){if(A11===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(MY.hide):this.out.write($d2(this.outputText,this.out.columns)),super.render();let A11=bY(this.cursor,this.choices.length,this.optionsPerPage),e5=A11.startIndex,r5=A11.endIndex;if(this.outputText=[Xd3.symbol(this.done,this.aborted),ft4.bold(this.msg),Xd3.delimiter(!1),this.done?this.selection.title:this.selection.disabled?ft4.yellow(this.warn):ft4.gray(this.hint)].join(" "),!this.done){this.outputText+=`
2529
2530
  `;for(let i7=e5;i7<r5;i7++){let n10,o10,g5="",C11=this.choices[i7];i7===e5&&e5>0?o10=wo7.arrowUp:i7===r5-1&&r5<this.choices.length?o10=wo7.arrowDown:o10=" ",C11.disabled?(n10=this.cursor===i7?ft4.gray().underline(C11.title):ft4.strikethrough().gray(C11.title),o10=(this.cursor===i7?ft4.bold().gray(wo7.pointer)+" ":" ")+o10):(n10=this.cursor===i7?ft4.cyan().underline(C11.title):C11.title,o10=(this.cursor===i7?ft4.cyan(wo7.pointer)+" ":" ")+o10,C11.description&&this.cursor===i7&&(g5=` - ${C11.description}`,(o10.length+n10.length+g5.length>=this.out.columns||C11.description.split(/\r?\n/).length>1)&&(g5=`
@@ -2613,7 +2614,7 @@ Filtered results for: ${this.inputValue?this.inputValue:yt8.gray("Enter somethin
2613
2614
  `}renderOption(A11,e5,r5){let i7;return e5.disabled?i7=A11===r5?yt8.gray().underline(e5.title):yt8.strikethrough().gray(e5.title):i7=A11===r5?yt8.cyan().underline(e5.title):e5.title,(e5.selected?yt8.green(Vr6.radioOn):Vr6.radioOff)+" "+i7}renderDoneOrInstructions(){if(this.done)return this.value.filter(e5=>e5.selected).map(e5=>e5.title).join(", ");let A11=[yt8.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&A11.push(yt8.yellow(this.warn)),A11.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(HU.hide),super.render();let A11=[Lm3.symbol(this.done,this.aborted),yt8.bold(this.msg),Lm3.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(A11+=yt8.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),A11+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+A11),this.clear=vm3(A11,this.out.columns);}};xm3.exports=iI2;}),Jm=m2((i63,Gm2)=>{var Pm2=yA2(),qU=wt7(),{style:Um3,clear:zU}=Ge6(),{erase:WU,cursor:_m3}=SA3(),sI2=class extends qU{static{s7(this,"ConfirmPrompt");}constructor(A11={}){super(A11),this.msg=A11.message,this.value=A11.initial,this.initialValue=!!A11.initial,this.yesMsg=A11.yes||"yes",this.yesOption=A11.yesOption||"(Y/n)",this.noMsg=A11.no||"no",this.noOption=A11.noOption||"(y/N)",this.render();}reset(){this.value=this.initialValue,this.fire(),this.render();}exit(){this.abort();}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
2614
2615
  `),this.close();}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
2615
2616
  `),this.close();}_(A11,e5){return A11.toLowerCase()==="y"?(this.value=!0,this.submit()):A11.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(_m3.hide):this.out.write(zU(this.outputText,this.out.columns)),super.render(),this.outputText=[Um3.symbol(this.done,this.aborted),Pm2.bold(this.msg),Um3.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:Pm2.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(WU.line+_m3.to(0)+this.outputText));}};Gm2.exports=sI2;}),Tm2=m2((n62,Om2)=>{Om2.exports={TextPrompt:Gw2(),SelectPrompt:Hw2(),TogglePrompt:Ww2(),DatePrompt:pm2(),NumberPrompt:Dm3(),MultiselectPrompt:AI2(),AutocompletePrompt:Rm2(),AutocompleteMultiselectPrompt:Ym2(),ConfirmPrompt:Jm()};}),jm3=m2(Hm2=>{var ae6=Hm2,VU=Tm2(),vo5=s7(t18=>t18,"noop");function At9(t18,A11,e5={}){return new Promise((r5,i7)=>{let n10=new VU[t18](A11),o10=e5.onAbort||vo5,g5=e5.onSubmit||vo5,C11=e5.onExit||vo5;n10.on("state",A11.onState||vo5),n10.on("submit",I12=>r5(g5(I12))),n10.on("exit",I12=>r5(C11(I12))),n10.on("abort",I12=>i7(o10(I12)));})}s7(At9,"toPrompt"),ae6.text=t18=>At9("TextPrompt",t18),ae6.password=t18=>(t18.style="password",ae6.text(t18)),ae6.invisible=t18=>(t18.style="invisible",ae6.text(t18)),ae6.number=t18=>At9("NumberPrompt",t18),ae6.date=t18=>At9("DatePrompt",t18),ae6.confirm=t18=>At9("ConfirmPrompt",t18),ae6.list=t18=>{let A11=t18.separator||",";return At9("TextPrompt",t18,{onSubmit:s7(e5=>e5.split(A11).map(r5=>r5.trim()),"onSubmit")})},ae6.toggle=t18=>At9("TogglePrompt",t18),ae6.select=t18=>At9("SelectPrompt",t18),ae6.multiselect=t18=>{t18.choices=[].concat(t18.choices||[]);let A11=s7(e5=>e5.filter(r5=>r5.selected).map(r5=>r5.value),"toSelected");return At9("MultiselectPrompt",t18,{onAbort:A11,onSubmit:A11})},ae6.autocompleteMultiselect=t18=>{t18.choices=[].concat(t18.choices||[]);let A11=s7(e5=>e5.filter(r5=>r5.selected).map(r5=>r5.value),"toSelected");return At9("AutocompleteMultiselectPrompt",t18,{onAbort:A11,onSubmit:A11})};var XU=s7((t18,A11)=>Promise.resolve(A11.filter(e5=>e5.title.slice(0,t18.length).toLowerCase()===t18.toLowerCase())),"byTitle");ae6.autocomplete=t18=>(t18.suggest=t18.suggest||XU,t18.choices=[].concat(t18.choices||[]),At9("AutocompletePrompt",t18));}),Wm3=m2((a62,zm)=>{var nI2=jm3(),$U=["suggest","format","onState","validate","onRender","type"],qm2=s7(()=>{},"noop");async function Ht8(t18=[],{onSubmit:A11=qm2,onCancel:e5=qm2}={}){let r5={},i7=Ht8._override||{};t18=[].concat(t18);let n10,o10,g5,C11,I12,E5,Q12=s7(async(B11,p7,w8=!1)=>{if(!(!w8&&B11.validate&&B11.validate(p7)!==!0))return B11.format?await B11.format(p7,r5):p7},"getFormattedAnswer");for(o10 of t18)if({name:C11,type:I12}=o10,typeof I12=="function"&&(I12=await I12(n10,{...r5},o10),o10.type=I12),!!I12){for(let B11 in o10){if($U.includes(B11))continue;let p7=o10[B11];o10[B11]=typeof p7=="function"?await p7(n10,{...r5},E5):p7;}if(E5=o10,typeof o10.message!="string")throw new Error("prompt message is required");if({name:C11,type:I12}=o10,nI2[I12]===void 0)throw new Error(`prompt type (${I12}) is not defined`);if(i7[o10.name]!==void 0&&(n10=await Q12(o10,i7[o10.name]),n10!==void 0)){r5[C11]=n10;continue}try{n10=Ht8._injected?ZU(Ht8._injected,o10.initial):await nI2[I12](o10),r5[C11]=n10=await Q12(o10,n10,!0),g5=await A11(o10,n10,r5);}catch{g5=!await e5(o10,r5);}if(g5)return r5}return r5}s7(Ht8,"prompt");function ZU(t18,A11){let e5=t18.shift();if(e5 instanceof Error)throw e5;return e5===void 0?A11:e5}s7(ZU,"getInjectedAnswer");function A_2(t18){Ht8._injected=(Ht8._injected||[]).concat(t18);}s7(A_2,"inject");function e_2(t18){Ht8._override=Object.assign({},t18);}s7(e_2,"override"),zm.exports=Object.assign(Ht8,{prompt:Ht8,prompts:nI2,inject:A_2,override:e_2});}),Xm=m2((c62,Vm2)=>{function t_(t18){t18=(Array.isArray(t18)?t18:t18.split(".")).map(Number);let A11=0,e5=process.versions.node.split(".").map(Number);for(;A11<t18.length;A11++){if(e5[A11]>t18[A11])return !1;if(t18[A11]>e5[A11])return !0}return !1}s7(t_,"isNodeLT"),Vm2.exports=t_("8.6.0")?pw2():Wm3();});function CI2(t18){if(!Array.isArray(t18))throw new TypeError(`Expected an array, got \`${typeof t18}\`.`);for(let i7 of t18)gI2(i7);let A11=t18.some(({readableObjectMode:i7})=>i7),e5=n_2(t18,A11),r5=new oI2({objectMode:A11,writableHighWaterMark:e5,readableHighWaterMark:e5});for(let i7 of t18)r5.add(i7);return t18.length===0&&ry(r5),r5}var n_2,oI2,o_,g_2,a_2,gI2,C_2,ey,c_,I_2,h_,ty,ry,aI2,iy2,l_2,Lo6,$m2,Zm2,sy=Ie8(()=>{s7(CI2,"mergeStreams"),n_2=s7((t18,A11)=>{if(t18.length===0)return 16384;let e5=t18.filter(({readableObjectMode:r5})=>r5===A11).map(({readableHighWaterMark:r5})=>r5);return Math.max(...e5)},"getHighWaterMark"),oI2=class extends PassThrough{static{s7(this,"MergedStream");}#A=new Set([]);#e=new Set([]);#t=new Set([]);#r;add(A11){gI2(A11),!this.#A.has(A11)&&(this.#A.add(A11),this.#r??=o_(this,this.#A),C_2({passThroughStream:this,stream:A11,streams:this.#A,ended:this.#e,aborted:this.#t,onFinished:this.#r}),A11.pipe(this,{end:!1}));}remove(A11){return gI2(A11),this.#A.has(A11)?(A11.unpipe(this),!0):!1}},o_=s7(async(t18,A11)=>{Lo6(t18,$m2);let e5=new AbortController;try{await Promise.race([g_2(t18,e5),a_2(t18,A11,e5)]);}finally{e5.abort(),Lo6(t18,-$m2);}},"onMergedStreamFinished"),g_2=s7(async(t18,{signal:A11})=>{await finished(t18,{signal:A11,cleanup:!0});},"onMergedStreamEnd"),a_2=s7(async(t18,A11,{signal:e5})=>{for await(let[r5]of on$1(t18,"unpipe",{signal:e5}))A11.has(r5)&&r5.emit(ty);},"onInputStreamsUnpipe"),gI2=s7(t18=>{if(typeof t18?.pipe!="function")throw new TypeError(`Expected a readable stream, got: \`${typeof t18}\`.`)},"validateStream"),C_2=s7(async({passThroughStream:t18,stream:A11,streams:e5,ended:r5,aborted:i7,onFinished:n10})=>{Lo6(t18,Zm2);let o10=new AbortController;try{await Promise.race([c_(n10,A11),I_2({passThroughStream:t18,stream:A11,streams:e5,ended:r5,aborted:i7,controller:o10}),h_({stream:A11,streams:e5,ended:r5,aborted:i7,controller:o10})]);}finally{o10.abort(),Lo6(t18,-Zm2);}e5.size===r5.size+i7.size&&(r5.size===0&&i7.size>0?aI2(t18):ry(t18));},"endWhenStreamsDone"),ey=s7(t18=>t18?.code==="ERR_STREAM_PREMATURE_CLOSE","isAbortError"),c_=s7(async(t18,A11)=>{try{await t18,aI2(A11);}catch(e5){ey(e5)?aI2(A11):iy2(A11,e5);}},"afterMergedStreamFinished"),I_2=s7(async({passThroughStream:t18,stream:A11,streams:e5,ended:r5,aborted:i7,controller:{signal:n10}})=>{try{await finished(A11,{signal:n10,cleanup:!0,readable:!0,writable:!1}),e5.has(A11)&&r5.add(A11);}catch(o10){if(n10.aborted||!e5.has(A11))return;ey(o10)?i7.add(A11):iy2(t18,o10);}},"onInputStreamEnd"),h_=s7(async({stream:t18,streams:A11,ended:e5,aborted:r5,controller:{signal:i7}})=>{await once(t18,ty,{signal:i7}),A11.delete(t18),e5.delete(t18),r5.delete(t18);},"onInputStreamUnpipe"),ty=Symbol("unpipe"),ry=s7(t18=>{t18.writable&&t18.end();},"endStream"),aI2=s7(t18=>{(t18.readable||t18.writable)&&t18.destroy();},"abortStream"),iy2=s7((t18,A11)=>{t18.destroyed||(t18.once("error",l_2),t18.destroy(A11));},"errorStream"),l_2=s7(()=>{},"noop"),Lo6=s7((t18,A11)=>{let e5=t18.getMaxListeners();e5!==0&&e5!==Number.POSITIVE_INFINITY&&t18.setMaxListeners(e5+A11);},"updateMaxListeners"),$m2=2,Zm2=1;}),ny=m2(Xr6=>{Object.defineProperty(Xr6,"__esModule",{value:!0}),Xr6.splitWhen=Xr6.flatten=void 0;function E_2(t18){return t18.reduce((A11,e5)=>[].concat(A11,e5),[])}s7(E_2,"flatten"),Xr6.flatten=E_2;function u_(t18,A11){let e5=[[]],r5=0;for(let i7 of t18)A11(i7)?(r5++,e5[r5]=[]):e5[r5].push(i7);return e5}s7(u_,"splitWhen"),Xr6.splitWhen=u_;}),oy=m2(xo6=>{Object.defineProperty(xo6,"__esModule",{value:!0}),xo6.isEnoentCodeError=void 0;function B_(t18){return t18.code==="ENOENT"}s7(B_,"isEnoentCodeError"),xo6.isEnoentCodeError=B_;}),gy2=m2(Yo5=>{Object.defineProperty(Yo5,"__esModule",{value:!0}),Yo5.createDirentFromStats=void 0;var cI2=class{static{s7(this,"DirentFromStats");}constructor(A11,e5){this.name=A11,this.isBlockDevice=e5.isBlockDevice.bind(e5),this.isCharacterDevice=e5.isCharacterDevice.bind(e5),this.isDirectory=e5.isDirectory.bind(e5),this.isFIFO=e5.isFIFO.bind(e5),this.isFile=e5.isFile.bind(e5),this.isSocket=e5.isSocket.bind(e5),this.isSymbolicLink=e5.isSymbolicLink.bind(e5);}};function Q_(t18,A11){return new cI2(t18,A11)}s7(Q_,"createDirentFromStats"),Yo5.createDirentFromStats=Q_;}),Iy3=m2(MA2=>{Object.defineProperty(MA2,"__esModule",{value:!0}),MA2.convertPosixPathToPattern=MA2.convertWindowsPathToPattern=MA2.convertPathToPattern=MA2.escapePosixPath=MA2.escapeWindowsPath=MA2.escape=MA2.removeLeadingDotSegment=MA2.makeAbsolute=MA2.unixify=void 0;var f_=v11("os"),d_=v11("path"),ay=f_.platform()==="win32",p_=2,w_2=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,m_2=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,y_=/^\\\\([.?])/,D_=/\\(?![!()+@[\]{}])/g;function S_(t18){return t18.replace(/\\/g,"/")}s7(S_,"unixify"),MA2.unixify=S_;function K_(t18,A11){return d_.resolve(t18,A11)}s7(K_,"makeAbsolute"),MA2.makeAbsolute=K_;function F_2(t18){if(t18.charAt(0)==="."){let A11=t18.charAt(1);if(A11==="/"||A11==="\\")return t18.slice(p_)}return t18}s7(F_2,"removeLeadingDotSegment"),MA2.removeLeadingDotSegment=F_2,MA2.escape=ay?II3:hI2;function II3(t18){return t18.replace(m_2,"\\$2")}s7(II3,"escapeWindowsPath"),MA2.escapeWindowsPath=II3;function hI2(t18){return t18.replace(w_2,"\\$2")}s7(hI2,"escapePosixPath"),MA2.escapePosixPath=hI2,MA2.convertPathToPattern=ay?Cy2:cy;function Cy2(t18){return II3(t18).replace(y_,"//$1").replace(D_,"/")}s7(Cy2,"convertWindowsPathToPattern"),MA2.convertWindowsPathToPattern=Cy2;function cy(t18){return hI2(t18)}s7(cy,"convertPosixPathToPattern"),MA2.convertPosixPathToPattern=cy;}),ly=m2((S62,hy)=>{hy.exports=s7(function(A11){if(typeof A11!="string"||A11==="")return !1;for(var e5;e5=/(\\).|([@?!+*]\(.*\))/g.exec(A11);){if(e5[2])return !0;A11=A11.slice(e5.index+e5[0].length);}return !1},"isExtglob");}),By3=m2((F62,uy)=>{var k_2=ly(),Ey2={"{":"}","(":")","[":"]"},b_2=s7(function(t18){if(t18[0]==="!")return !0;for(var A11=0,e5=-2,r5=-2,i7=-2,n10=-2,o10=-2;A11<t18.length;){if(t18[A11]==="*"||t18[A11+1]==="?"&&/[\].+)]/.test(t18[A11])||r5!==-1&&t18[A11]==="["&&t18[A11+1]!=="]"&&(r5<A11&&(r5=t18.indexOf("]",A11)),r5>A11&&(o10===-1||o10>r5||(o10=t18.indexOf("\\",A11),o10===-1||o10>r5)))||i7!==-1&&t18[A11]==="{"&&t18[A11+1]!=="}"&&(i7=t18.indexOf("}",A11),i7>A11&&(o10=t18.indexOf("\\",A11),o10===-1||o10>i7))||n10!==-1&&t18[A11]==="("&&t18[A11+1]==="?"&&/[:!=]/.test(t18[A11+2])&&t18[A11+3]!==")"&&(n10=t18.indexOf(")",A11),n10>A11&&(o10=t18.indexOf("\\",A11),o10===-1||o10>n10))||e5!==-1&&t18[A11]==="("&&t18[A11+1]!=="|"&&(e5<A11&&(e5=t18.indexOf("|",A11)),e5!==-1&&t18[e5+1]!==")"&&(n10=t18.indexOf(")",e5),n10>e5&&(o10=t18.indexOf("\\",e5),o10===-1||o10>n10))))return !0;if(t18[A11]==="\\"){var g5=t18[A11+1];A11+=2;var C11=Ey2[g5];if(C11){var I12=t18.indexOf(C11,A11);I12!==-1&&(A11=I12+1);}if(t18[A11]==="!")return !0}else A11++;}return !1},"strictCheck"),N_=s7(function(t18){if(t18[0]==="!")return !0;for(var A11=0;A11<t18.length;){if(/[*?{}()[\]]/.test(t18[A11]))return !0;if(t18[A11]==="\\"){var e5=t18[A11+1];A11+=2;var r5=Ey2[e5];if(r5){var i7=t18.indexOf(r5,A11);i7!==-1&&(A11=i7+1);}if(t18[A11]==="!")return !0}else A11++;}return !1},"relaxedCheck");uy.exports=s7(function(A11,e5){if(typeof A11!="string"||A11==="")return !1;if(k_2(A11))return !0;var r5=b_2;return e5&&e5.strict===!1&&(r5=N_),r5(A11)},"isGlob");}),fy=m2((b62,Qy3)=>{var M_=By3(),R_2=v11("path").posix.dirname,v_=v11("os").platform()==="win32",lI2="/",L_=/\\/g,x_=/[\{\[].*[\}\]]$/,Y_2=/(^|[^\\])([\{\[]|\([^\)]+$)/,P_=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Qy3.exports=s7(function(A11,e5){var r5=Object.assign({flipBackslashes:!0},e5);r5.flipBackslashes&&v_&&A11.indexOf(lI2)<0&&(A11=A11.replace(L_,lI2)),x_.test(A11)&&(A11+=lI2),A11+="a";do A11=R_2(A11);while(M_(A11)||Y_2.test(A11));return A11.replace(P_,"$1")},"globParent");}),Po5=m2(me9=>{me9.isInteger=t18=>typeof t18=="number"?Number.isInteger(t18):typeof t18=="string"&&t18.trim()!==""?Number.isInteger(Number(t18)):!1,me9.find=(t18,A11)=>t18.nodes.find(e5=>e5.type===A11),me9.exceedsLimit=(t18,A11,e5=1,r5)=>r5===!1||!me9.isInteger(t18)||!me9.isInteger(A11)?!1:(Number(A11)-Number(t18))/Number(e5)>=r5,me9.escapeNode=(t18,A11=0,e5)=>{let r5=t18.nodes[A11];r5&&(e5&&r5.type===e5||r5.type==="open"||r5.type==="close")&&r5.escaped!==!0&&(r5.value="\\"+r5.value,r5.escaped=!0);},me9.encloseBrace=t18=>t18.type!=="brace"?!1:t18.commas>>0+t18.ranges>>0===0?(t18.invalid=!0,!0):!1,me9.isInvalidBrace=t18=>t18.type!=="brace"?!1:t18.invalid===!0||t18.dollar?!0:t18.commas>>0+t18.ranges>>0===0||t18.open!==!0||t18.close!==!0?(t18.invalid=!0,!0):!1,me9.isOpenOrClose=t18=>t18.type==="open"||t18.type==="close"?!0:t18.open===!0||t18.close===!0,me9.reduce=t18=>t18.reduce((A11,e5)=>(e5.type==="text"&&A11.push(e5.value),e5.type==="range"&&(e5.type="text"),A11),[]),me9.flatten=(...t18)=>{let A11=[],e5=s7(r5=>{for(let i7=0;i7<r5.length;i7++){let n10=r5[i7];if(Array.isArray(n10)){e5(n10);continue}n10!==void 0&&A11.push(n10);}return A11},"flat");return e5(t18),A11};}),Uo5=m2((v63,py)=>{var dy=Po5();py.exports=(t18,A11={})=>{let e5=s7((r5,i7={})=>{let n10=A11.escapeInvalid&&dy.isInvalidBrace(i7),o10=r5.invalid===!0&&A11.escapeInvalid===!0,g5="";if(r5.value)return (n10||o10)&&dy.isOpenOrClose(r5)?"\\"+r5.value:r5.value;if(r5.value)return r5.value;if(r5.nodes)for(let C11 of r5.nodes)g5+=e5(C11);return g5},"stringify");return e5(t18)};}),my=m2((x62,wy2)=>{wy2.exports=function(t18){return typeof t18=="number"?t18-t18===0:typeof t18=="string"&&t18.trim()!==""?Number.isFinite?Number.isFinite(+t18):isFinite(+t18):!1};}),My2=m2((Y63,Ny3)=>{var yy2=my(),lr6=s7((t18,A11,e5)=>{if(yy2(t18)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(A11===void 0||t18===A11)return String(t18);if(yy2(A11)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let r5={relaxZeros:!0,...e5};typeof r5.strictZeros=="boolean"&&(r5.relaxZeros=r5.strictZeros===!1);let i7=String(r5.relaxZeros),n10=String(r5.shorthand),o10=String(r5.capture),g5=String(r5.wrap),C11=t18+":"+A11+"="+i7+n10+o10+g5;if(lr6.cache.hasOwnProperty(C11))return lr6.cache[C11].result;let I12=Math.min(t18,A11),E5=Math.max(t18,A11);if(Math.abs(I12-E5)===1){let D10=t18+"|"+A11;return r5.capture?`(${D10})`:r5.wrap===!1?D10:`(?:${D10})`}let Q12=by2(t18)||by2(A11),B11={min:t18,max:A11,a:I12,b:E5},p7=[],w8=[];if(Q12&&(B11.isPadded=Q12,B11.maxLen=String(B11.max).length),I12<0){let D10=E5<0?Math.abs(E5):1;w8=Dy3(D10,Math.abs(I12),B11,r5),I12=B11.a=0;}return E5>=0&&(p7=Dy3(I12,E5,B11,r5)),B11.negatives=w8,B11.positives=p7,B11.result=U_(w8,p7),r5.capture===!0?B11.result=`(${B11.result})`:r5.wrap!==!1&&p7.length+w8.length>1&&(B11.result=`(?:${B11.result})`),lr6.cache[C11]=B11,B11.result},"toRegexRange");function U_(t18,A11,e5){let r5=EI2(t18,A11,"-",!1)||[],i7=EI2(A11,t18,"",!1)||[],n10=EI2(t18,A11,"-?",!0)||[];return r5.concat(n10).concat(i7).join("|")}s7(U_,"collatePatterns");function __2(t18,A11){let e5=1,r5=1,i7=Ky2(t18,e5),n10=new Set([A11]);for(;t18<=i7&&i7<=A11;)n10.add(i7),e5+=1,i7=Ky2(t18,e5);for(i7=Fy2(A11+1,r5)-1;t18<i7&&i7<=A11;)n10.add(i7),r5+=1,i7=Fy2(A11+1,r5)-1;return n10=[...n10],n10.sort(O_2),n10}s7(__2,"splitToRanges");function G_2(t18,A11,e5){if(t18===A11)return {pattern:t18,count:[],digits:0};let r5=J_2(t18,A11),i7=r5.length,n10="",o10=0;for(let g5=0;g5<i7;g5++){let[C11,I12]=r5[g5];C11===I12?n10+=C11:C11!=="0"||I12!=="9"?n10+=T_(C11,I12):o10++;}return o10&&(n10+=e5.shorthand===!0?"\\d":"[0-9]"),{pattern:n10,count:[o10],digits:i7}}s7(G_2,"rangeToPattern");function Dy3(t18,A11,e5,r5){let i7=__2(t18,A11),n10=[],o10=t18,g5;for(let C11=0;C11<i7.length;C11++){let I12=i7[C11],E5=G_2(String(o10),String(I12),r5),Q12="";if(!e5.isPadded&&g5&&g5.pattern===E5.pattern){g5.count.length>1&&g5.count.pop(),g5.count.push(E5.count[0]),g5.string=g5.pattern+ky2(g5.count),o10=I12+1;continue}e5.isPadded&&(Q12=H_2(I12,e5,r5)),E5.string=Q12+E5.pattern+ky2(E5.count),n10.push(E5),o10=I12+1,g5=E5;}return n10}s7(Dy3,"splitToPatterns");function EI2(t18,A11,e5,r5,i7){let n10=[];for(let o10 of t18){let{string:g5}=o10;!r5&&!Sy2(A11,"string",g5)&&n10.push(e5+g5),r5&&Sy2(A11,"string",g5)&&n10.push(e5+g5);}return n10}s7(EI2,"filterPatterns");function J_2(t18,A11){let e5=[];for(let r5=0;r5<t18.length;r5++)e5.push([t18[r5],A11[r5]]);return e5}s7(J_2,"zip");function O_2(t18,A11){return t18>A11?1:A11>t18?-1:0}s7(O_2,"compare");function Sy2(t18,A11,e5){return t18.some(r5=>r5[A11]===e5)}s7(Sy2,"contains");function Ky2(t18,A11){return Number(String(t18).slice(0,-A11)+"9".repeat(A11))}s7(Ky2,"countNines");function Fy2(t18,A11){return t18-t18%Math.pow(10,A11)}s7(Fy2,"countZeros");function ky2(t18){let[A11=0,e5=""]=t18;return e5||A11>1?`{${A11+(e5?","+e5:"")}}`:""}s7(ky2,"toQuantifier");function T_(t18,A11,e5){return `[${t18}${A11-t18===1?"":"-"}${A11}]`}s7(T_,"toCharacterClass");function by2(t18){return /^-?(0+)\d/.test(t18)}s7(by2,"hasPadding");function H_2(t18,A11,e5){if(!A11.isPadded)return t18;let r5=Math.abs(A11.maxLen-String(t18).length),i7=e5.relaxZeros!==!1;switch(r5){case 0:return "";case 1:return i7?"0?":"0";case 2:return i7?"0{0,2}":"00";default:return i7?`0{0,${r5}}`:`0{${r5}}`}}s7(H_2,"padZeros"),lr6.cache={},lr6.clearCache=()=>lr6.cache={},Ny3.exports=lr6;}),QI3=m2((U62,Uy2)=>{var j_=v11("util"),vy2=My2(),Ry2=s7(t18=>t18!==null&&typeof t18=="object"&&!Array.isArray(t18),"isObject"),q_=s7(t18=>A11=>t18===!0?Number(A11):String(A11),"transform"),uI2=s7(t18=>typeof t18=="number"||typeof t18=="string"&&t18!=="","isValidValue"),Es2=s7(t18=>Number.isInteger(+t18),"isNumber"),BI3=s7(t18=>{let A11=`${t18}`,e5=-1;if(A11[0]==="-"&&(A11=A11.slice(1)),A11==="0")return !1;for(;A11[++e5]==="0";);return e5>0},"zeros"),z_2=s7((t18,A11,e5)=>typeof t18=="string"||typeof A11=="string"?!0:e5.stringify===!0,"stringify"),W_2=s7((t18,A11,e5)=>{if(A11>0){let r5=t18[0]==="-"?"-":"";r5&&(t18=t18.slice(1)),t18=r5+t18.padStart(r5?A11-1:A11,"0");}return e5===!1?String(t18):t18},"pad"),Go4=s7((t18,A11)=>{let e5=t18[0]==="-"?"-":"";for(e5&&(t18=t18.slice(1),A11--);t18.length<A11;)t18="0"+t18;return e5?"-"+t18:t18},"toMaxLen"),V_=s7((t18,A11,e5)=>{t18.negatives.sort((g5,C11)=>g5<C11?-1:g5>C11?1:0),t18.positives.sort((g5,C11)=>g5<C11?-1:g5>C11?1:0);let r5=A11.capture?"":"?:",i7="",n10="",o10;return t18.positives.length&&(i7=t18.positives.map(g5=>Go4(String(g5),e5)).join("|")),t18.negatives.length&&(n10=`-(${r5}${t18.negatives.map(g5=>Go4(String(g5),e5)).join("|")})`),i7&&n10?o10=`${i7}|${n10}`:o10=i7||n10,A11.wrap?`(${r5}${o10})`:o10},"toSequence"),Ly3=s7((t18,A11,e5,r5)=>{if(e5)return vy2(t18,A11,{wrap:!1,...r5});let i7=String.fromCharCode(t18);if(t18===A11)return i7;let n10=String.fromCharCode(A11);return `[${i7}-${n10}]`},"toRange"),xy2=s7((t18,A11,e5)=>{if(Array.isArray(t18)){let r5=e5.wrap===!0,i7=e5.capture?"":"?:";return r5?`(${i7}${t18.join("|")})`:t18.join("|")}return vy2(t18,A11,e5)},"toRegex"),Yy2=s7((...t18)=>new RangeError("Invalid range arguments: "+j_.inspect(...t18)),"rangeError"),Py2=s7((t18,A11,e5)=>{if(e5.strictRanges===!0)throw Yy2([t18,A11]);return []},"invalidRange"),X_=s7((t18,A11)=>{if(A11.strictRanges===!0)throw new TypeError(`Expected step "${t18}" to be a number`);return []},"invalidStep"),$_2=s7((t18,A11,e5=1,r5={})=>{let i7=Number(t18),n10=Number(A11);if(!Number.isInteger(i7)||!Number.isInteger(n10)){if(r5.strictRanges===!0)throw Yy2([t18,A11]);return []}i7===0&&(i7=0),n10===0&&(n10=0);let o10=i7>n10,g5=String(t18),C11=String(A11),I12=String(e5);e5=Math.max(Math.abs(e5),1);let E5=BI3(g5)||BI3(C11)||BI3(I12),Q12=E5?Math.max(g5.length,C11.length,I12.length):0,B11=E5===!1&&z_2(t18,A11,r5)===!1,p7=r5.transform||q_(B11);if(r5.toRegex&&e5===1)return Ly3(Go4(t18,Q12),Go4(A11,Q12),!0,r5);let w8={negatives:[],positives:[]},D10=s7(_11=>w8[_11<0?"negatives":"positives"].push(Math.abs(_11)),"push"),N13=[],k13=0;for(;o10?i7>=n10:i7<=n10;)r5.toRegex===!0&&e5>1?D10(i7):N13.push(W_2(p7(i7,k13),Q12,B11)),i7=o10?i7-e5:i7+e5,k13++;return r5.toRegex===!0?e5>1?V_(w8,r5,Q12):xy2(N13,null,{wrap:!1,...r5}):N13},"fillNumbers"),Z_3=s7((t18,A11,e5=1,r5={})=>{if(!Es2(t18)&&t18.length>1||!Es2(A11)&&A11.length>1)return Py2(t18,A11,r5);let i7=r5.transform||(B11=>String.fromCharCode(B11)),n10=`${t18}`.charCodeAt(0),o10=`${A11}`.charCodeAt(0),g5=n10>o10,C11=Math.min(n10,o10),I12=Math.max(n10,o10);if(r5.toRegex&&e5===1)return Ly3(C11,I12,!1,r5);let E5=[],Q12=0;for(;g5?n10>=o10:n10<=o10;)E5.push(i7(n10,Q12)),n10=g5?n10-e5:n10+e5,Q12++;return r5.toRegex===!0?xy2(E5,null,{wrap:!1,options:r5}):E5},"fillLetters"),_o7=s7((t18,A11,e5,r5={})=>{if(A11==null&&uI2(t18))return [t18];if(!uI2(t18)||!uI2(A11))return Py2(t18,A11,r5);if(typeof e5=="function")return _o7(t18,A11,1,{transform:e5});if(Ry2(e5))return _o7(t18,A11,0,e5);let i7={...r5};return i7.capture===!0&&(i7.wrap=!0),e5=e5||i7.step||1,Es2(e5)?Es2(t18)&&Es2(A11)?$_2(t18,A11,e5,i7):Z_3(t18,A11,Math.max(Math.abs(e5),1),i7):e5!=null&&!Ry2(e5)?X_(e5,i7):_o7(t18,A11,1,e5)},"fill");Uy2.exports=_o7;}),Jy2=m2((G63,Gy2)=>{var AG=QI3(),_y4=Po5(),eG2=s7((t18,A11={})=>{let e5=s7((r5,i7={})=>{let n10=_y4.isInvalidBrace(i7),o10=r5.invalid===!0&&A11.escapeInvalid===!0,g5=n10===!0||o10===!0,C11=A11.escapeInvalid===!0?"\\":"",I12="";if(r5.isOpen===!0)return C11+r5.value;if(r5.isClose===!0)return console.log("node.isClose",C11,r5.value),C11+r5.value;if(r5.type==="open")return g5?C11+r5.value:"(";if(r5.type==="close")return g5?C11+r5.value:")";if(r5.type==="comma")return r5.prev.type==="comma"?"":g5?r5.value:"|";if(r5.value)return r5.value;if(r5.nodes&&r5.ranges>0){let E5=_y4.reduce(r5.nodes),Q12=AG(...E5,{...A11,wrap:!1,toRegex:!0,strictZeros:!0});if(Q12.length!==0)return E5.length>1&&Q12.length>1?`(${Q12})`:Q12}if(r5.nodes)for(let E5 of r5.nodes)I12+=e5(E5,r5);return I12},"walk");return e5(t18)},"compile");Gy2.exports=eG2;}),Hy2=m2((O63,Ty2)=>{var tG2=QI3(),Oy2=Uo5(),$r9=Po5(),Er8=s7((t18="",A11="",e5=!1)=>{let r5=[];if(t18=[].concat(t18),A11=[].concat(A11),!A11.length)return t18;if(!t18.length)return e5?$r9.flatten(A11).map(i7=>`{${i7}}`):A11;for(let i7 of t18)if(Array.isArray(i7))for(let n10 of i7)r5.push(Er8(n10,A11,e5));else for(let n10 of A11)e5===!0&&typeof n10=="string"&&(n10=`{${n10}}`),r5.push(Array.isArray(n10)?Er8(i7,n10,e5):i7+n10);return $r9.flatten(r5)},"append"),rG2=s7((t18,A11={})=>{let e5=A11.rangeLimit===void 0?1e3:A11.rangeLimit,r5=s7((i7,n10={})=>{i7.queue=[];let o10=n10,g5=n10.queue;for(;o10.type!=="brace"&&o10.type!=="root"&&o10.parent;)o10=o10.parent,g5=o10.queue;if(i7.invalid||i7.dollar){g5.push(Er8(g5.pop(),Oy2(i7,A11)));return}if(i7.type==="brace"&&i7.invalid!==!0&&i7.nodes.length===2){g5.push(Er8(g5.pop(),["{}"]));return}if(i7.nodes&&i7.ranges>0){let Q12=$r9.reduce(i7.nodes);if($r9.exceedsLimit(...Q12,A11.step,e5))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let B11=tG2(...Q12,A11);B11.length===0&&(B11=Oy2(i7,A11)),g5.push(Er8(g5.pop(),B11)),i7.nodes=[];return}let C11=$r9.encloseBrace(i7),I12=i7.queue,E5=i7;for(;E5.type!=="brace"&&E5.type!=="root"&&E5.parent;)E5=E5.parent,I12=E5.queue;for(let Q12=0;Q12<i7.nodes.length;Q12++){let B11=i7.nodes[Q12];if(B11.type==="comma"&&i7.type==="brace"){Q12===1&&I12.push(""),I12.push("");continue}if(B11.type==="close"){g5.push(Er8(g5.pop(),I12,C11));continue}if(B11.value&&B11.type!=="open"){I12.push(Er8(I12.pop(),B11.value));continue}B11.nodes&&r5(B11,i7);}return I12},"walk");return $r9.flatten(r5(t18))},"expand");Ty2.exports=rG2;}),qy2=m2((H62,jy2)=>{jy2.exports={MAX_LENGTH:1e4,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:`
2616
- `,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"};}),$y2=m2((j63,Xy2)=>{var iG2=Uo5(),{MAX_LENGTH:zy2,CHAR_BACKSLASH:fI2,CHAR_BACKTICK:sG2,CHAR_COMMA:nG2,CHAR_DOT:oG2,CHAR_LEFT_PARENTHESES:gG,CHAR_RIGHT_PARENTHESES:aG2,CHAR_LEFT_CURLY_BRACE:CG,CHAR_RIGHT_CURLY_BRACE:cG2,CHAR_LEFT_SQUARE_BRACKET:Wy2,CHAR_RIGHT_SQUARE_BRACKET:Vy2,CHAR_DOUBLE_QUOTE:IG,CHAR_SINGLE_QUOTE:hG,CHAR_NO_BREAK_SPACE:lG2,CHAR_ZERO_WIDTH_NOBREAK_SPACE:EG}=qy2(),uG2=s7((t18,A11={})=>{if(typeof t18!="string")throw new TypeError("Expected a string");let e5=A11||{},r5=typeof e5.maxLength=="number"?Math.min(zy2,e5.maxLength):zy2;if(t18.length>r5)throw new SyntaxError(`Input length (${t18.length}), exceeds max characters (${r5})`);let i7={type:"root",input:t18,nodes:[]},n10=[i7],o10=i7,g5=i7,C11=0,I12=t18.length,E5=0,Q12=0,B11,p7=s7(()=>t18[E5++],"advance"),w8=s7(D10=>{if(D10.type==="text"&&g5.type==="dot"&&(g5.type="text"),g5&&g5.type==="text"&&D10.type==="text"){g5.value+=D10.value;return}return o10.nodes.push(D10),D10.parent=o10,D10.prev=g5,g5=D10,D10},"push");for(w8({type:"bos"});E5<I12;)if(o10=n10[n10.length-1],B11=p7(),!(B11===EG||B11===lG2)){if(B11===fI2){w8({type:"text",value:(A11.keepEscaping?B11:"")+p7()});continue}if(B11===Vy2){w8({type:"text",value:"\\"+B11});continue}if(B11===Wy2){C11++;let D10;for(;E5<I12&&(D10=p7());){if(B11+=D10,D10===Wy2){C11++;continue}if(D10===fI2){B11+=p7();continue}if(D10===Vy2&&(C11--,C11===0))break}w8({type:"text",value:B11});continue}if(B11===gG){o10=w8({type:"paren",nodes:[]}),n10.push(o10),w8({type:"text",value:B11});continue}if(B11===aG2){if(o10.type!=="paren"){w8({type:"text",value:B11});continue}o10=n10.pop(),w8({type:"text",value:B11}),o10=n10[n10.length-1];continue}if(B11===IG||B11===hG||B11===sG2){let D10=B11,N13;for(A11.keepQuotes!==!0&&(B11="");E5<I12&&(N13=p7());){if(N13===fI2){B11+=N13+p7();continue}if(N13===D10){A11.keepQuotes===!0&&(B11+=N13);break}B11+=N13;}w8({type:"text",value:B11});continue}if(B11===CG){Q12++;let N13={type:"brace",open:!0,close:!1,dollar:g5.value&&g5.value.slice(-1)==="$"||o10.dollar===!0,depth:Q12,commas:0,ranges:0,nodes:[]};o10=w8(N13),n10.push(o10),w8({type:"open",value:B11});continue}if(B11===cG2){if(o10.type!=="brace"){w8({type:"text",value:B11});continue}let D10="close";o10=n10.pop(),o10.close=!0,w8({type:D10,value:B11}),Q12--,o10=n10[n10.length-1];continue}if(B11===nG2&&Q12>0){if(o10.ranges>0){o10.ranges=0;let D10=o10.nodes.shift();o10.nodes=[D10,{type:"text",value:iG2(o10)}];}w8({type:"comma",value:B11}),o10.commas++;continue}if(B11===oG2&&Q12>0&&o10.commas===0){let D10=o10.nodes;if(Q12===0||D10.length===0){w8({type:"text",value:B11});continue}if(g5.type==="dot"){if(o10.range=[],g5.value+=B11,g5.type="range",o10.nodes.length!==3&&o10.nodes.length!==5){o10.invalid=!0,o10.ranges=0,g5.type="text";continue}o10.ranges++,o10.args=[];continue}if(g5.type==="range"){D10.pop();let N13=D10[D10.length-1];N13.value+=g5.value+B11,g5=N13,o10.ranges--;continue}w8({type:"dot",value:B11});continue}w8({type:"text",value:B11});}do if(o10=n10.pop(),o10.type!=="root"){o10.nodes.forEach(k13=>{k13.nodes||(k13.type==="open"&&(k13.isOpen=!0),k13.type==="close"&&(k13.isClose=!0),k13.nodes||(k13.type="text"),k13.invalid=!0);});let D10=n10[n10.length-1],N13=D10.nodes.indexOf(o10);D10.nodes.splice(N13,1,...o10.nodes);}while(n10.length>0);return w8({type:"eos"}),i7},"parse");Xy2.exports=uG2;}),eD2=m2((z63,AD2)=>{var Zy3=Uo5(),BG=Jy2(),QG=Hy2(),fG=$y2(),ue7=s7((t18,A11={})=>{let e5=[];if(Array.isArray(t18))for(let r5 of t18){let i7=ue7.create(r5,A11);Array.isArray(i7)?e5.push(...i7):e5.push(i7);}else e5=[].concat(ue7.create(t18,A11));return A11&&A11.expand===!0&&A11.nodupes===!0&&(e5=[...new Set(e5)]),e5},"braces");ue7.parse=(t18,A11={})=>fG(t18,A11),ue7.stringify=(t18,A11={})=>Zy3(typeof t18=="string"?ue7.parse(t18,A11):t18,A11),ue7.compile=(t18,A11={})=>(typeof t18=="string"&&(t18=ue7.parse(t18,A11)),BG(t18,A11)),ue7.expand=(t18,A11={})=>{typeof t18=="string"&&(t18=ue7.parse(t18,A11));let e5=QG(t18,A11);return A11.noempty===!0&&(e5=e5.filter(Boolean)),A11.nodupes===!0&&(e5=[...new Set(e5)]),e5},ue7.create=(t18,A11={})=>t18===""||t18.length<3?[t18]:A11.expand!==!0?ue7.compile(t18,A11):ue7.expand(t18,A11),AD2.exports=ue7;}),oD2=m2((V63,nD2)=>{var rD3=v11("util"),iD2=eD2(),et8=Mn6(),dI2=qi(),tD4=s7(t18=>t18===""||t18==="./","isEmptyString"),sD3=s7(t18=>{let A11=t18.indexOf("{");return A11>-1&&t18.indexOf("}",A11)>-1},"hasBraces"),wA2=s7((t18,A11,e5)=>{A11=[].concat(A11),t18=[].concat(t18);let r5=new Set,i7=new Set,n10=new Set,o10=0,g5=s7(E5=>{n10.add(E5.output),e5&&e5.onResult&&e5.onResult(E5);},"onResult");for(let E5=0;E5<A11.length;E5++){let Q12=et8(String(A11[E5]),{...e5,onResult:g5},!0),B11=Q12.state.negated||Q12.state.negatedExtglob;B11&&o10++;for(let p7 of t18){let w8=Q12(p7,!0);(B11?!w8.isMatch:w8.isMatch)&&(B11?r5.add(w8.output):(r5.delete(w8.output),i7.add(w8.output)));}}let I12=(o10===A11.length?[...n10]:[...i7]).filter(E5=>!r5.has(E5));if(e5&&I12.length===0){if(e5.failglob===!0)throw new Error(`No matches found for "${A11.join(", ")}"`);if(e5.nonull===!0||e5.nullglob===!0)return e5.unescape?A11.map(E5=>E5.replace(/\\/g,"")):A11}return I12},"micromatch");wA2.match=wA2,wA2.matcher=(t18,A11)=>et8(t18,A11),wA2.isMatch=(t18,A11,e5)=>et8(A11,e5)(t18),wA2.any=wA2.isMatch,wA2.not=(t18,A11,e5={})=>{A11=[].concat(A11).map(String);let r5=new Set,i7=[],n10=s7(g5=>{e5.onResult&&e5.onResult(g5),i7.push(g5.output);},"onResult"),o10=new Set(wA2(t18,A11,{...e5,onResult:n10}));for(let g5 of i7)o10.has(g5)||r5.add(g5);return [...r5]},wA2.contains=(t18,A11,e5)=>{if(typeof t18!="string")throw new TypeError(`Expected a string: "${rD3.inspect(t18)}"`);if(Array.isArray(A11))return A11.some(r5=>wA2.contains(t18,r5,e5));if(typeof A11=="string"){if(tD4(t18)||tD4(A11))return !1;if(t18.includes(A11)||t18.startsWith("./")&&t18.slice(2).includes(A11))return !0}return wA2.isMatch(t18,A11,{...e5,contains:!0})},wA2.matchKeys=(t18,A11,e5)=>{if(!dI2.isObject(t18))throw new TypeError("Expected the first argument to be an object");let r5=wA2(Object.keys(t18),A11,e5),i7={};for(let n10 of r5)i7[n10]=t18[n10];return i7},wA2.some=(t18,A11,e5)=>{let r5=[].concat(t18);for(let i7 of [].concat(A11)){let n10=et8(String(i7),e5);if(r5.some(o10=>n10(o10)))return !0}return !1},wA2.every=(t18,A11,e5)=>{let r5=[].concat(t18);for(let i7 of [].concat(A11)){let n10=et8(String(i7),e5);if(!r5.every(o10=>n10(o10)))return !1}return !0},wA2.all=(t18,A11,e5)=>{if(typeof t18!="string")throw new TypeError(`Expected a string: "${rD3.inspect(t18)}"`);return [].concat(A11).every(r5=>et8(r5,e5)(t18))},wA2.capture=(t18,A11,e5)=>{let r5=dI2.isWindows(e5),n10=et8.makeRe(String(t18),{...e5,capture:!0}).exec(r5?dI2.toPosixSlashes(A11):A11);if(n10)return n10.slice(1).map(o10=>o10===void 0?"":o10)},wA2.makeRe=(...t18)=>et8.makeRe(...t18),wA2.scan=(...t18)=>et8.scan(...t18),wA2.parse=(t18,A11)=>{let e5=[];for(let r5 of [].concat(t18||[]))for(let i7 of iD2(String(r5),A11))e5.push(et8.parse(i7,A11));return e5},wA2.braces=(t18,A11)=>{if(typeof t18!="string")throw new TypeError("Expected a string");return A11&&A11.nobrace===!0||!sD3(t18)?[t18]:iD2(t18,A11)},wA2.braceExpand=(t18,A11)=>{if(typeof t18!="string")throw new TypeError("Expected a string");return wA2.braces(t18,{...A11,expand:!0})},wA2.hasBraces=sD3,nD2.exports=wA2;}),BD2=m2(AA2=>{Object.defineProperty(AA2,"__esModule",{value:!0}),AA2.isAbsolute=AA2.partitionAbsoluteAndRelative=AA2.removeDuplicateSlashes=AA2.matchAny=AA2.convertPatternsToRe=AA2.makeRe=AA2.getPatternParts=AA2.expandBraceExpansion=AA2.expandPatternsWithBraceExpansion=AA2.isAffectDepthOfReadingPattern=AA2.endsWithSlashGlobStar=AA2.hasGlobStar=AA2.getBaseDirectory=AA2.isPatternRelatedToParentDirectory=AA2.getPatternsOutsideCurrentDirectory=AA2.getPatternsInsideCurrentDirectory=AA2.getPositivePatterns=AA2.getNegativePatterns=AA2.isPositivePattern=AA2.isNegativePattern=AA2.convertToNegativePattern=AA2.convertToPositivePattern=AA2.isDynamicPattern=AA2.isStaticPattern=void 0;var gD2=v11("path"),dG=fy(),pI2=oD2(),aD2="**",pG="\\",wG=/[*?]|^!/,mG=/\[[^[]*]/,yG=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,DG=/[!*+?@]\([^(]*\)/,SG=/,|\.\./,KG=/(?!^)\/{2,}/g;function CD3(t18,A11={}){return !cD2(t18,A11)}s7(CD3,"isStaticPattern"),AA2.isStaticPattern=CD3;function cD2(t18,A11={}){return t18===""?!1:!!(A11.caseSensitiveMatch===!1||t18.includes(pG)||wG.test(t18)||mG.test(t18)||yG.test(t18)||A11.extglob!==!1&&DG.test(t18)||A11.braceExpansion!==!1&&FG(t18))}s7(cD2,"isDynamicPattern"),AA2.isDynamicPattern=cD2;function FG(t18){let A11=t18.indexOf("{");if(A11===-1)return !1;let e5=t18.indexOf("}",A11+1);if(e5===-1)return !1;let r5=t18.slice(A11,e5);return SG.test(r5)}s7(FG,"hasBraceExpansion");function kG(t18){return Jo6(t18)?t18.slice(1):t18}s7(kG,"convertToPositivePattern"),AA2.convertToPositivePattern=kG;function bG(t18){return "!"+t18}s7(bG,"convertToNegativePattern"),AA2.convertToNegativePattern=bG;function Jo6(t18){return t18.startsWith("!")&&t18[1]!=="("}s7(Jo6,"isNegativePattern"),AA2.isNegativePattern=Jo6;function ID3(t18){return !Jo6(t18)}s7(ID3,"isPositivePattern"),AA2.isPositivePattern=ID3;function NG(t18){return t18.filter(Jo6)}s7(NG,"getNegativePatterns"),AA2.getNegativePatterns=NG;function MG(t18){return t18.filter(ID3)}s7(MG,"getPositivePatterns"),AA2.getPositivePatterns=MG;function RG(t18){return t18.filter(A11=>!wI2(A11))}s7(RG,"getPatternsInsideCurrentDirectory"),AA2.getPatternsInsideCurrentDirectory=RG;function vG(t18){return t18.filter(wI2)}s7(vG,"getPatternsOutsideCurrentDirectory"),AA2.getPatternsOutsideCurrentDirectory=vG;function wI2(t18){return t18.startsWith("..")||t18.startsWith("./..")}s7(wI2,"isPatternRelatedToParentDirectory"),AA2.isPatternRelatedToParentDirectory=wI2;function LG(t18){return dG(t18,{flipBackslashes:!1})}s7(LG,"getBaseDirectory"),AA2.getBaseDirectory=LG;function xG(t18){return t18.includes(aD2)}s7(xG,"hasGlobStar"),AA2.hasGlobStar=xG;function hD2(t18){return t18.endsWith("/"+aD2)}s7(hD2,"endsWithSlashGlobStar"),AA2.endsWithSlashGlobStar=hD2;function YG(t18){let A11=gD2.basename(t18);return hD2(t18)||CD3(A11)}s7(YG,"isAffectDepthOfReadingPattern"),AA2.isAffectDepthOfReadingPattern=YG;function PG(t18){return t18.reduce((A11,e5)=>A11.concat(lD3(e5)),[])}s7(PG,"expandPatternsWithBraceExpansion"),AA2.expandPatternsWithBraceExpansion=PG;function lD3(t18){let A11=pI2.braces(t18,{expand:!0,nodupes:!0,keepEscaping:!0});return A11.sort((e5,r5)=>e5.length-r5.length),A11.filter(e5=>e5!=="")}s7(lD3,"expandBraceExpansion"),AA2.expandBraceExpansion=lD3;function UG(t18,A11){let{parts:e5}=pI2.scan(t18,Object.assign(Object.assign({},A11),{parts:!0}));return e5.length===0&&(e5=[t18]),e5[0].startsWith("/")&&(e5[0]=e5[0].slice(1),e5.unshift("")),e5}s7(UG,"getPatternParts"),AA2.getPatternParts=UG;function ED2(t18,A11){return pI2.makeRe(t18,A11)}s7(ED2,"makeRe"),AA2.makeRe=ED2;function _G(t18,A11){return t18.map(e5=>ED2(e5,A11))}s7(_G,"convertPatternsToRe"),AA2.convertPatternsToRe=_G;function GG(t18,A11){return A11.some(e5=>e5.test(t18))}s7(GG,"matchAny"),AA2.matchAny=GG;function JG(t18){return t18.replace(KG,"/")}s7(JG,"removeDuplicateSlashes"),AA2.removeDuplicateSlashes=JG;function OG(t18){let A11=[],e5=[];for(let r5 of t18)uD2(r5)?A11.push(r5):e5.push(r5);return [A11,e5]}s7(OG,"partitionAbsoluteAndRelative"),AA2.partitionAbsoluteAndRelative=OG;function uD2(t18){return gD2.isAbsolute(t18)}s7(uD2,"isAbsolute"),AA2.isAbsolute=uD2;}),pD2=m2((A52,dD2)=>{var TG=v11("stream"),QD3=TG.PassThrough,HG=Array.prototype.slice;dD2.exports=jG;function jG(){let t18=[],A11=HG.call(arguments),e5=!1,r5=A11[A11.length-1];r5&&!Array.isArray(r5)&&r5.pipe==null?A11.pop():r5={};let i7=r5.end!==!1,n10=r5.pipeError===!0;r5.objectMode==null&&(r5.objectMode=!0),r5.highWaterMark==null&&(r5.highWaterMark=64*1024);let o10=QD3(r5);function g5(){for(let E5=0,Q12=arguments.length;E5<Q12;E5++)t18.push(fD2(arguments[E5],r5));return C11(),this}s7(g5,"addStream");function C11(){if(e5)return;e5=!0;let E5=t18.shift();if(!E5){process.nextTick(I12);return}Array.isArray(E5)||(E5=[E5]);let Q12=E5.length+1;function B11(){--Q12>0||(e5=!1,C11());}s7(B11,"next");function p7(w8){function D10(){w8.removeListener("merge2UnpipeEnd",D10),w8.removeListener("end",D10),n10&&w8.removeListener("error",N13),B11();}s7(D10,"onend");function N13(k13){o10.emit("error",k13);}if(s7(N13,"onerror"),w8._readableState.endEmitted)return B11();w8.on("merge2UnpipeEnd",D10),w8.on("end",D10),n10&&w8.on("error",N13),w8.pipe(o10,{end:!1}),w8.resume();}s7(p7,"pipe");for(let w8=0;w8<E5.length;w8++)p7(E5[w8]);B11();}s7(C11,"mergeStream");function I12(){e5=!1,o10.emit("queueDrain"),i7&&o10.end();}return s7(I12,"endStream"),o10.setMaxListeners(0),o10.add=g5,o10.on("unpipe",function(E5){E5.emit("merge2UnpipeEnd");}),A11.length&&g5.apply(null,A11),o10}s7(jG,"merge2");function fD2(t18,A11){if(Array.isArray(t18))for(let e5=0,r5=t18.length;e5<r5;e5++)t18[e5]=fD2(t18[e5],A11);else {if(!t18._readableState&&t18.pipe&&(t18=t18.pipe(QD3(A11))),!t18._readableState||!t18.pause||!t18.pipe)throw new Error("Only readable stream can be merged.");t18.pause();}return t18}s7(fD2,"pauseStreams");}),mD2=m2(Oo6=>{Object.defineProperty(Oo6,"__esModule",{value:!0}),Oo6.merge=void 0;var qG=pD2();function zG(t18){let A11=qG(t18);return t18.forEach(e5=>{e5.once("error",r5=>A11.emit("error",r5));}),A11.once("close",()=>wD2(t18)),A11.once("end",()=>wD2(t18)),A11}s7(zG,"merge"),Oo6.merge=zG;function wD2(t18){t18.forEach(A11=>A11.emit("close"));}s7(wD2,"propagateCloseEventToSources");}),yD2=m2(Zr6=>{Object.defineProperty(Zr6,"__esModule",{value:!0}),Zr6.isEmpty=Zr6.isString=void 0;function WG(t18){return typeof t18=="string"}s7(WG,"isString"),Zr6.isString=WG;function VG(t18){return t18===""}s7(VG,"isEmpty"),Zr6.isEmpty=VG;}),Dt6=m2(zA2=>{Object.defineProperty(zA2,"__esModule",{value:!0}),zA2.string=zA2.stream=zA2.pattern=zA2.path=zA2.fs=zA2.errno=zA2.array=void 0;var XG=ny();zA2.array=XG;var $G=oy();zA2.errno=$G;var ZG=gy2();zA2.fs=ZG;var AJ=Iy3();zA2.path=AJ;var eJ=BD2();zA2.pattern=eJ;var tJ=mD2();zA2.stream=tJ;var rJ=yD2();zA2.string=rJ;}),FD2=m2(WA2=>{Object.defineProperty(WA2,"__esModule",{value:!0}),WA2.convertPatternGroupToTask=WA2.convertPatternGroupsToTasks=WA2.groupPatternsByBaseDirectory=WA2.getNegativePatternsAsPositive=WA2.getPositivePatterns=WA2.convertPatternsToTasks=WA2.generate=void 0;var Je8=Dt6();function iJ(t18,A11){let e5=DD2(t18,A11),r5=DD2(A11.ignore,A11),i7=SD2(e5),n10=KD2(e5,r5),o10=i7.filter(E5=>Je8.pattern.isStaticPattern(E5,A11)),g5=i7.filter(E5=>Je8.pattern.isDynamicPattern(E5,A11)),C11=mI2(o10,n10,!1),I12=mI2(g5,n10,!0);return C11.concat(I12)}s7(iJ,"generate"),WA2.generate=iJ;function DD2(t18,A11){let e5=t18;return A11.braceExpansion&&(e5=Je8.pattern.expandPatternsWithBraceExpansion(e5)),A11.baseNameMatch&&(e5=e5.map(r5=>r5.includes("/")?r5:`**/${r5}`)),e5.map(r5=>Je8.pattern.removeDuplicateSlashes(r5))}s7(DD2,"processPatterns");function mI2(t18,A11,e5){let r5=[],i7=Je8.pattern.getPatternsOutsideCurrentDirectory(t18),n10=Je8.pattern.getPatternsInsideCurrentDirectory(t18),o10=yI2(i7),g5=yI2(n10);return r5.push(...DI2(o10,A11,e5)),"."in g5?r5.push(SI2(".",n10,A11,e5)):r5.push(...DI2(g5,A11,e5)),r5}s7(mI2,"convertPatternsToTasks"),WA2.convertPatternsToTasks=mI2;function SD2(t18){return Je8.pattern.getPositivePatterns(t18)}s7(SD2,"getPositivePatterns"),WA2.getPositivePatterns=SD2;function KD2(t18,A11){return Je8.pattern.getNegativePatterns(t18).concat(A11).map(Je8.pattern.convertToPositivePattern)}s7(KD2,"getNegativePatternsAsPositive"),WA2.getNegativePatternsAsPositive=KD2;function yI2(t18){let A11={};return t18.reduce((e5,r5)=>{let i7=Je8.pattern.getBaseDirectory(r5);return i7 in e5?e5[i7].push(r5):e5[i7]=[r5],e5},A11)}s7(yI2,"groupPatternsByBaseDirectory"),WA2.groupPatternsByBaseDirectory=yI2;function DI2(t18,A11,e5){return Object.keys(t18).map(r5=>SI2(r5,t18[r5],A11,e5))}s7(DI2,"convertPatternGroupsToTasks"),WA2.convertPatternGroupsToTasks=DI2;function SI2(t18,A11,e5,r5){return {dynamic:r5,positive:A11,negative:e5,base:t18,patterns:[].concat(A11,e5.map(Je8.pattern.convertToNegativePattern))}}s7(SI2,"convertPatternGroupToTask"),WA2.convertPatternGroupToTask=SI2;}),bD2=m2(To5=>{Object.defineProperty(To5,"__esModule",{value:!0}),To5.read=void 0;function sJ(t18,A11,e5){A11.fs.lstat(t18,(r5,i7)=>{if(r5!==null){kD(e5,r5);return}if(!i7.isSymbolicLink()||!A11.followSymbolicLink){KI3(e5,i7);return}A11.fs.stat(t18,(n10,o10)=>{if(n10!==null){if(A11.throwErrorOnBrokenSymbolicLink){kD(e5,n10);return}KI3(e5,i7);return}A11.markSymbolicLink&&(o10.isSymbolicLink=()=>!0),KI3(e5,o10);});});}s7(sJ,"read"),To5.read=sJ;function kD(t18,A11){t18(A11);}s7(kD,"callFailureCallback");function KI3(t18,A11){t18(null,A11);}s7(KI3,"callSuccessCallback");}),ND2=m2(Ho4=>{Object.defineProperty(Ho4,"__esModule",{value:!0}),Ho4.read=void 0;function nJ(t18,A11){let e5=A11.fs.lstatSync(t18);if(!e5.isSymbolicLink()||!A11.followSymbolicLink)return e5;try{let r5=A11.fs.statSync(t18);return A11.markSymbolicLink&&(r5.isSymbolicLink=()=>!0),r5}catch(r5){if(!A11.throwErrorOnBrokenSymbolicLink)return e5;throw r5}}s7(nJ,"read"),Ho4.read=nJ;}),MD=m2(jt7=>{Object.defineProperty(jt7,"__esModule",{value:!0}),jt7.createFileSystemAdapter=jt7.FILE_SYSTEM_ADAPTER=void 0;var jo5=v11("fs");jt7.FILE_SYSTEM_ADAPTER={lstat:jo5.lstat,stat:jo5.stat,lstatSync:jo5.lstatSync,statSync:jo5.statSync};function oJ(t18){return t18===void 0?jt7.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},jt7.FILE_SYSTEM_ADAPTER),t18)}s7(oJ,"createFileSystemAdapter"),jt7.createFileSystemAdapter=oJ;}),RD2=m2(kI3=>{Object.defineProperty(kI3,"__esModule",{value:!0});var gJ=MD(),FI2=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=gJ.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0);}_getValue(A11,e5){return A11??e5}};kI3.default=FI2;}),ur4=m2(qt6=>{Object.defineProperty(qt6,"__esModule",{value:!0}),qt6.statSync=qt6.stat=qt6.Settings=void 0;var vD2=bD2(),aJ=ND2(),bI2=RD2();qt6.Settings=bI2.default;function CJ(t18,A11,e5){if(typeof A11=="function"){vD2.read(t18,NI2(),A11);return}vD2.read(t18,NI2(A11),e5);}s7(CJ,"stat"),qt6.stat=CJ;function cJ(t18,A11){let e5=NI2(A11);return aJ.read(t18,e5)}s7(cJ,"statSync"),qt6.statSync=cJ;function NI2(t18={}){return t18 instanceof bI2.default?t18:new bI2.default(t18)}s7(NI2,"getSettings");}),YD2=m2((f52,xD2)=>{var LD2;xD2.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t18=>(LD2||(LD2=Promise.resolve())).then(t18).catch(A11=>setTimeout(()=>{throw A11},0));}),UD2=m2((d52,PD)=>{PD.exports=hJ;var IJ=YD2();function hJ(t18,A11){let e5,r5,i7,n10=!0;Array.isArray(t18)?(e5=[],r5=t18.length):(i7=Object.keys(t18),e5={},r5=i7.length);function o10(C11){function I12(){A11&&A11(C11,e5),A11=null;}s7(I12,"end"),n10?IJ(I12):I12();}s7(o10,"done");function g5(C11,I12,E5){e5[C11]=E5,(--r5===0||I12)&&o10(I12);}s7(g5,"each"),r5?i7?i7.forEach(function(C11){t18[C11](function(I12,E5){g5(C11,I12,E5);});}):t18.forEach(function(C11,I12){C11(function(E5,Q12){g5(I12,E5,Q12);});}):o10(null),n10=!1;}s7(hJ,"runParallel");}),MI2=m2(zo5=>{Object.defineProperty(zo5,"__esModule",{value:!0}),zo5.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var qo4=process.versions.node.split(".");if(qo4[0]===void 0||qo4[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var _D2=Number.parseInt(qo4[0],10),lJ=Number.parseInt(qo4[1],10),GD2=10,EJ=10,uJ=_D2>GD2,BJ=_D2===GD2&&lJ>=EJ;zo5.IS_SUPPORT_READDIR_WITH_FILE_TYPES=uJ||BJ;}),JD2=m2(Wo3=>{Object.defineProperty(Wo3,"__esModule",{value:!0}),Wo3.createDirentFromStats=void 0;var RI2=class{static{s7(this,"DirentFromStats");}constructor(A11,e5){this.name=A11,this.isBlockDevice=e5.isBlockDevice.bind(e5),this.isCharacterDevice=e5.isCharacterDevice.bind(e5),this.isDirectory=e5.isDirectory.bind(e5),this.isFIFO=e5.isFIFO.bind(e5),this.isFile=e5.isFile.bind(e5),this.isSocket=e5.isSocket.bind(e5),this.isSymbolicLink=e5.isSymbolicLink.bind(e5);}};function QJ(t18,A11){return new RI2(t18,A11)}s7(QJ,"createDirentFromStats"),Wo3.createDirentFromStats=QJ;}),vI2=m2(Vo6=>{Object.defineProperty(Vo6,"__esModule",{value:!0}),Vo6.fs=void 0;var fJ=JD2();Vo6.fs=fJ;}),LI2=m2(Xo6=>{Object.defineProperty(Xo6,"__esModule",{value:!0}),Xo6.joinPathSegments=void 0;function dJ(t18,A11,e5){return t18.endsWith(e5)?t18+A11:t18+e5+A11}s7(dJ,"joinPathSegments"),Xo6.joinPathSegments=dJ;}),zD2=m2(zt6=>{Object.defineProperty(zt6,"__esModule",{value:!0}),zt6.readdir=zt6.readdirWithFileTypes=zt6.read=void 0;var pJ=ur4(),OD2=UD2(),wJ=MI2(),TD2=vI2(),HD2=LI2();function mJ(t18,A11,e5){if(!A11.stats&&wJ.IS_SUPPORT_READDIR_WITH_FILE_TYPES){jD2(t18,A11,e5);return}qD2(t18,A11,e5);}s7(mJ,"read"),zt6.read=mJ;function jD2(t18,A11,e5){A11.fs.readdir(t18,{withFileTypes:!0},(r5,i7)=>{if(r5!==null){$o6(e5,r5);return}let n10=i7.map(g5=>({dirent:g5,name:g5.name,path:HD2.joinPathSegments(t18,g5.name,A11.pathSegmentSeparator)}));if(!A11.followSymbolicLinks){xI2(e5,n10);return}let o10=n10.map(g5=>yJ(g5,A11));OD2(o10,(g5,C11)=>{if(g5!==null){$o6(e5,g5);return}xI2(e5,C11);});});}s7(jD2,"readdirWithFileTypes"),zt6.readdirWithFileTypes=jD2;function yJ(t18,A11){return e5=>{if(!t18.dirent.isSymbolicLink()){e5(null,t18);return}A11.fs.stat(t18.path,(r5,i7)=>{if(r5!==null){if(A11.throwErrorOnBrokenSymbolicLink){e5(r5);return}e5(null,t18);return}t18.dirent=TD2.fs.createDirentFromStats(t18.name,i7),e5(null,t18);});}}s7(yJ,"makeRplTaskEntry");function qD2(t18,A11,e5){A11.fs.readdir(t18,(r5,i7)=>{if(r5!==null){$o6(e5,r5);return}let n10=i7.map(o10=>{let g5=HD2.joinPathSegments(t18,o10,A11.pathSegmentSeparator);return C11=>{pJ.stat(g5,A11.fsStatSettings,(I12,E5)=>{if(I12!==null){C11(I12);return}let Q12={name:o10,path:g5,dirent:TD2.fs.createDirentFromStats(o10,E5)};A11.stats&&(Q12.stats=E5),C11(null,Q12);});}});OD2(n10,(o10,g5)=>{if(o10!==null){$o6(e5,o10);return}xI2(e5,g5);});});}s7(qD2,"readdir"),zt6.readdir=qD2;function $o6(t18,A11){t18(A11);}s7($o6,"callFailureCallback");function xI2(t18,A11){t18(null,A11);}s7(xI2,"callSuccessCallback");}),ZD2=m2(Wt5=>{Object.defineProperty(Wt5,"__esModule",{value:!0}),Wt5.readdir=Wt5.readdirWithFileTypes=Wt5.read=void 0;var DJ=ur4(),SJ=MI2(),WD2=vI2(),VD2=LI2();function KJ(t18,A11){return !A11.stats&&SJ.IS_SUPPORT_READDIR_WITH_FILE_TYPES?XD(t18,A11):$D3(t18,A11)}s7(KJ,"read"),Wt5.read=KJ;function XD(t18,A11){return A11.fs.readdirSync(t18,{withFileTypes:!0}).map(r5=>{let i7={dirent:r5,name:r5.name,path:VD2.joinPathSegments(t18,r5.name,A11.pathSegmentSeparator)};if(i7.dirent.isSymbolicLink()&&A11.followSymbolicLinks)try{let n10=A11.fs.statSync(i7.path);i7.dirent=WD2.fs.createDirentFromStats(i7.name,n10);}catch(n10){if(A11.throwErrorOnBrokenSymbolicLink)throw n10}return i7})}s7(XD,"readdirWithFileTypes"),Wt5.readdirWithFileTypes=XD;function $D3(t18,A11){return A11.fs.readdirSync(t18).map(r5=>{let i7=VD2.joinPathSegments(t18,r5,A11.pathSegmentSeparator),n10=DJ.statSync(i7,A11.fsStatSettings),o10={name:r5,path:i7,dirent:WD2.fs.createDirentFromStats(r5,n10)};return A11.stats&&(o10.stats=n10),o10})}s7($D3,"readdir"),Wt5.readdir=$D3;}),AS2=m2(Vt7=>{Object.defineProperty(Vt7,"__esModule",{value:!0}),Vt7.createFileSystemAdapter=Vt7.FILE_SYSTEM_ADAPTER=void 0;var Ai2=v11("fs");Vt7.FILE_SYSTEM_ADAPTER={lstat:Ai2.lstat,stat:Ai2.stat,lstatSync:Ai2.lstatSync,statSync:Ai2.statSync,readdir:Ai2.readdir,readdirSync:Ai2.readdirSync};function FJ(t18){return t18===void 0?Vt7.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Vt7.FILE_SYSTEM_ADAPTER),t18)}s7(FJ,"createFileSystemAdapter"),Vt7.createFileSystemAdapter=FJ;}),eS2=m2(PI2=>{Object.defineProperty(PI2,"__esModule",{value:!0});var kJ=v11("path"),bJ=ur4(),NJ=AS2(),YI3=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=NJ.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,kJ.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new bJ.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink});}_getValue(A11,e5){return A11??e5}};PI2.default=YI3;}),Zo4=m2(Xt7=>{Object.defineProperty(Xt7,"__esModule",{value:!0}),Xt7.Settings=Xt7.scandirSync=Xt7.scandir=void 0;var tS2=zD2(),MJ=ZD2(),UI2=eS2();Xt7.Settings=UI2.default;function RJ(t18,A11,e5){if(typeof A11=="function"){tS2.read(t18,_I2(),A11);return}tS2.read(t18,_I2(A11),e5);}s7(RJ,"scandir"),Xt7.scandir=RJ;function vJ(t18,A11){let e5=_I2(A11);return MJ.read(t18,e5)}s7(vJ,"scandirSync"),Xt7.scandirSync=vJ;function _I2(t18={}){return t18 instanceof UI2.default?t18:new UI2.default(t18)}s7(_I2,"getSettings");}),iS3=m2((P52,rS2)=>{function LJ(t18){var A11=new t18,e5=A11;function r5(){var n10=A11;return n10.next?A11=n10.next:(A11=new t18,e5=A11),n10.next=null,n10}s7(r5,"get");function i7(n10){e5.next=n10,e5=n10;}return s7(i7,"release"),{get:r5,release:i7}}s7(LJ,"reusify"),rS2.exports=LJ;}),nS2=m2((_52,GI)=>{var xJ=iS3();function sS2(t18,A11,e5){if(typeof t18=="function"&&(e5=A11,A11=t18,t18=null),!(e5>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var r5=xJ(YJ),i7=null,n10=null,o10=0,g5=null,C11={push:D10,drain:ye7,saturated:ye7,pause:E5,paused:!1,get concurrency(){return e5},set concurrency(U12){if(!(U12>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(e5=U12,!C11.paused)for(;i7&&o10<e5;)o10++,k13();},running:I12,resume:p7,idle:w8,length:Q12,getQueue:B11,unshift:N13,empty:ye7,kill:_11,killAndDrain:L11,error:J13};return C11;function I12(){return o10}function E5(){C11.paused=!0;}function Q12(){for(var U12=i7,Z14=0;U12;)U12=U12.next,Z14++;return Z14}function B11(){for(var U12=i7,Z14=[];U12;)Z14.push(U12.value),U12=U12.next;return Z14}function p7(){if(C11.paused){if(C11.paused=!1,i7===null){o10++,k13();return}for(;i7&&o10<e5;)o10++,k13();}}function w8(){return o10===0&&C11.length()===0}function D10(U12,Z14){var q13=r5.get();q13.context=t18,q13.release=k13,q13.value=U12,q13.callback=Z14||ye7,q13.errorHandler=g5,o10>=e5||C11.paused?n10?(n10.next=q13,n10=q13):(i7=q13,n10=q13,C11.saturated()):(o10++,A11.call(t18,q13.value,q13.worked));}function N13(U12,Z14){var q13=r5.get();q13.context=t18,q13.release=k13,q13.value=U12,q13.callback=Z14||ye7,q13.errorHandler=g5,o10>=e5||C11.paused?i7?(q13.next=i7,i7=q13):(i7=q13,n10=q13,C11.saturated()):(o10++,A11.call(t18,q13.value,q13.worked));}function k13(U12){U12&&r5.release(U12);var Z14=i7;Z14&&o10<=e5?C11.paused?o10--:(n10===i7&&(n10=null),i7=Z14.next,Z14.next=null,A11.call(t18,Z14.value,Z14.worked),n10===null&&C11.empty()):--o10===0&&C11.drain();}function _11(){i7=null,n10=null,C11.drain=ye7;}function L11(){i7=null,n10=null,C11.drain(),C11.drain=ye7;}function J13(U12){g5=U12;}}s7(sS2,"fastqueue");function ye7(){}s7(ye7,"noop");function YJ(){this.value=null,this.callback=ye7,this.next=null,this.release=ye7,this.context=null,this.errorHandler=null;var t18=this;this.worked=s7(function(e5,r5){var i7=t18.callback,n10=t18.errorHandler,o10=t18.value;t18.value=null,t18.callback=ye7,t18.errorHandler&&n10(e5,o10),i7.call(t18.context,e5,r5),t18.release(t18);},"worked");}s7(YJ,"Task");function PJ(t18,A11,e5){typeof t18=="function"&&(e5=A11,A11=t18,t18=null);function r5(E5,Q12){A11.call(this,E5).then(function(B11){Q12(null,B11);},Q12);}s7(r5,"asyncWrapper");var i7=sS2(t18,r5,e5),n10=i7.push,o10=i7.unshift;return i7.push=g5,i7.unshift=C11,i7.drained=I12,i7;function g5(E5){var Q12=new Promise(function(B11,p7){n10(E5,function(w8,D10){if(w8){p7(w8);return}B11(D10);});});return Q12.catch(ye7),Q12}function C11(E5){var Q12=new Promise(function(B11,p7){o10(E5,function(w8,D10){if(w8){p7(w8);return}B11(D10);});});return Q12.catch(ye7),Q12}function I12(){var E5=new Promise(function(Q12){process.nextTick(function(){if(i7.idle())Q12();else {var B11=i7.drain;i7.drain=function(){typeof B11=="function"&&B11(),Q12(),i7.drain=B11;};}});});return E5}}s7(PJ,"queueAsPromised"),GI.exports=sS2,GI.exports.promise=PJ;}),Ag2=m2(tt8=>{Object.defineProperty(tt8,"__esModule",{value:!0}),tt8.joinPathSegments=tt8.replacePathSegmentSeparator=tt8.isAppliedFilter=tt8.isFatalError=void 0;function UJ(t18,A11){return t18.errorFilter===null?!0:!t18.errorFilter(A11)}s7(UJ,"isFatalError"),tt8.isFatalError=UJ;function _J(t18,A11){return t18===null||t18(A11)}s7(_J,"isAppliedFilter"),tt8.isAppliedFilter=_J;function GJ(t18,A11){return t18.split(/[/\\]/).join(A11)}s7(GJ,"replacePathSegmentSeparator"),tt8.replacePathSegmentSeparator=GJ;function JJ(t18,A11,e5){return t18===""?A11:t18.endsWith(e5)?t18+A11:t18+e5+A11}s7(JJ,"joinPathSegments"),tt8.joinPathSegments=JJ;}),TI2=m2(OI2=>{Object.defineProperty(OI2,"__esModule",{value:!0});var OJ=Ag2(),JI2=class{static{s7(this,"Reader");}constructor(A11,e5){this._root=A11,this._settings=e5,this._root=OJ.replacePathSegmentSeparator(A11,e5.pathSegmentSeparator);}};OI2.default=JI2;}),qI3=m2(jI2=>{Object.defineProperty(jI2,"__esModule",{value:!0});var TJ=v11("events"),HJ=Zo4(),jJ=nS2(),eg2=Ag2(),qJ=TI2(),HI2=class extends qJ.default{static{s7(this,"AsyncReader");}constructor(A11,e5){super(A11,e5),this._settings=e5,this._scandir=HJ.scandir,this._emitter=new TJ.EventEmitter,this._queue=jJ(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(A11){this._emitter.on("entry",A11);}onError(A11){this._emitter.once("error",A11);}onEnd(A11){this._emitter.once("end",A11);}_pushToQueue(A11,e5){let r5={directory:A11,base:e5};this._queue.push(r5,i7=>{i7!==null&&this._handleError(i7);});}_worker(A11,e5){this._scandir(A11.directory,this._settings.fsScandirSettings,(r5,i7)=>{if(r5!==null){e5(r5,void 0);return}for(let n10 of i7)this._handleEntry(n10,A11.base);e5(null,void 0);});}_handleError(A11){this._isDestroyed||!eg2.isFatalError(this._settings,A11)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",A11));}_handleEntry(A11,e5){if(this._isDestroyed||this._isFatalError)return;let r5=A11.path;e5!==void 0&&(A11.path=eg2.joinPathSegments(e5,A11.name,this._settings.pathSegmentSeparator)),eg2.isAppliedFilter(this._settings.entryFilter,A11)&&this._emitEntry(A11),A11.dirent.isDirectory()&&eg2.isAppliedFilter(this._settings.deepFilter,A11)&&this._pushToQueue(r5,e5===void 0?void 0:A11.path);}_emitEntry(A11){this._emitter.emit("entry",A11);}};jI2.default=HI2;}),oS2=m2(WI3=>{Object.defineProperty(WI3,"__esModule",{value:!0});var zJ=qI3(),zI3=class{static{s7(this,"AsyncProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new zJ.default(this._root,this._settings),this._storage=[];}read(A11){this._reader.onError(e5=>{WJ(A11,e5);}),this._reader.onEntry(e5=>{this._storage.push(e5);}),this._reader.onEnd(()=>{VJ(A11,this._storage);}),this._reader.read();}};WI3.default=zI3;function WJ(t18,A11){t18(A11);}s7(WJ,"callFailureCallback");function VJ(t18,A11){t18(null,A11);}s7(VJ,"callSuccessCallback");}),gS2=m2(XI3=>{Object.defineProperty(XI3,"__esModule",{value:!0});var XJ=v11("stream"),$J=qI3(),VI2=class{static{s7(this,"StreamProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new $J.default(this._root,this._settings),this._stream=new XJ.Readable({objectMode:!0,read:s7(()=>{},"read"),destroy:s7(()=>{this._reader.isDestroyed||this._reader.destroy();},"destroy")});}read(){return this._reader.onError(A11=>{this._stream.emit("error",A11);}),this._reader.onEntry(A11=>{this._stream.push(A11);}),this._reader.onEnd(()=>{this._stream.push(null);}),this._reader.read(),this._stream}};XI3.default=VI2;}),aS3=m2(ZI2=>{Object.defineProperty(ZI2,"__esModule",{value:!0});var ZJ=Zo4(),tg4=Ag2(),A22=TI2(),$I2=class extends A22.default{static{s7(this,"SyncReader");}constructor(){super(...arguments),this._scandir=ZJ.scandirSync,this._storage=[],this._queue=new Set;}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(A11,e5){this._queue.add({directory:A11,base:e5});}_handleQueue(){for(let A11 of this._queue.values())this._handleDirectory(A11.directory,A11.base);}_handleDirectory(A11,e5){try{let r5=this._scandir(A11,this._settings.fsScandirSettings);for(let i7 of r5)this._handleEntry(i7,e5);}catch(r5){this._handleError(r5);}}_handleError(A11){if(tg4.isFatalError(this._settings,A11))throw A11}_handleEntry(A11,e5){let r5=A11.path;e5!==void 0&&(A11.path=tg4.joinPathSegments(e5,A11.name,this._settings.pathSegmentSeparator)),tg4.isAppliedFilter(this._settings.entryFilter,A11)&&this._pushToStorage(A11),A11.dirent.isDirectory()&&tg4.isAppliedFilter(this._settings.deepFilter,A11)&&this._pushToQueue(r5,e5===void 0?void 0:A11.path);}_pushToStorage(A11){this._storage.push(A11);}};ZI2.default=$I2;}),CS3=m2(eh=>{Object.defineProperty(eh,"__esModule",{value:!0});var e22=aS3(),Ah2=class{static{s7(this,"SyncProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new e22.default(this._root,this._settings);}read(){return this._reader.read()}};eh.default=Ah2;}),cS2=m2(rh2=>{Object.defineProperty(rh2,"__esModule",{value:!0});var t22=v11("path"),r22=Zo4(),th3=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,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,t22.sep),this.fsScandirSettings=new r22.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink});}_getValue(A11,e5){return A11??e5}};rh2.default=th3;}),ig3=m2(rt8=>{Object.defineProperty(rt8,"__esModule",{value:!0}),rt8.Settings=rt8.walkStream=rt8.walkSync=rt8.walk=void 0;var IS2=oS2(),i22=gS2(),s22=CS3(),ih2=cS2();rt8.Settings=ih2.default;function n22(t18,A11,e5){if(typeof A11=="function"){new IS2.default(t18,rg3()).read(A11);return}new IS2.default(t18,rg3(A11)).read(e5);}s7(n22,"walk"),rt8.walk=n22;function o22(t18,A11){let e5=rg3(A11);return new s22.default(t18,e5).read()}s7(o22,"walkSync"),rt8.walkSync=o22;function g22(t18,A11){let e5=rg3(A11);return new i22.default(t18,e5).read()}s7(g22,"walkStream"),rt8.walkStream=g22;function rg3(t18={}){return t18 instanceof ih2.default?t18:new ih2.default(t18)}s7(rg3,"getSettings");}),sg2=m2(nh2=>{Object.defineProperty(nh2,"__esModule",{value:!0});var a22=v11("path"),C22=ur4(),hS2=Dt6(),sh2=class{static{s7(this,"Reader");}constructor(A11){this._settings=A11,this._fsStatSettings=new C22.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks});}_getFullEntryPath(A11){return a22.resolve(this._settings.cwd,A11)}_makeEntry(A11,e5){let r5={name:e5,path:e5,dirent:hS2.fs.createDirentFromStats(e5,A11)};return this._settings.stats&&(r5.stats=A11),r5}_isFatalError(A11){return !hS2.errno.isEnoentCodeError(A11)&&!this._settings.suppressErrors}};nh2.default=sh2;}),ah2=m2(gh2=>{Object.defineProperty(gh2,"__esModule",{value:!0});var c22=v11("stream"),I22=ur4(),h22=ig3(),l22=sg2(),oh2=class extends l22.default{static{s7(this,"ReaderStream");}constructor(){super(...arguments),this._walkStream=h22.walkStream,this._stat=I22.stat;}dynamic(A11,e5){return this._walkStream(A11,e5)}static(A11,e5){let r5=A11.map(this._getFullEntryPath,this),i7=new c22.PassThrough({objectMode:!0});i7._write=(n10,o10,g5)=>this._getEntry(r5[n10],A11[n10],e5).then(C11=>{C11!==null&&e5.entryFilter(C11)&&i7.push(C11),n10===r5.length-1&&i7.end(),g5();}).catch(g5);for(let n10=0;n10<r5.length;n10++)i7.write(n10);return i7}_getEntry(A11,e5,r5){return this._getStat(A11).then(i7=>this._makeEntry(i7,e5)).catch(i7=>{if(r5.errorFilter(i7))return null;throw i7})}_getStat(A11){return new Promise((e5,r5)=>{this._stat(A11,this._fsStatSettings,(i7,n10)=>i7===null?e5(n10):r5(i7));})}};gh2.default=oh2;}),lS2=m2(ch4=>{Object.defineProperty(ch4,"__esModule",{value:!0});var E22=ig3(),u22=sg2(),B22=ah2(),Ch2=class extends u22.default{static{s7(this,"ReaderAsync");}constructor(){super(...arguments),this._walkAsync=E22.walk,this._readerStream=new B22.default(this._settings);}dynamic(A11,e5){return new Promise((r5,i7)=>{this._walkAsync(A11,e5,(n10,o10)=>{n10===null?r5(o10):i7(n10);});})}async static(A11,e5){let r5=[],i7=this._readerStream.static(A11,e5);return new Promise((n10,o10)=>{i7.once("error",o10),i7.on("data",g5=>r5.push(g5)),i7.once("end",()=>n10(r5));})}};ch4.default=Ch2;}),ES3=m2(hh2=>{Object.defineProperty(hh2,"__esModule",{value:!0});var us4=Dt6(),Ih3=class{static{s7(this,"Matcher");}constructor(A11,e5,r5){this._patterns=A11,this._settings=e5,this._micromatchOptions=r5,this._storage=[],this._fillStorage();}_fillStorage(){for(let A11 of this._patterns){let e5=this._getPatternSegments(A11),r5=this._splitSegmentsIntoSections(e5);this._storage.push({complete:r5.length<=1,pattern:A11,segments:e5,sections:r5});}}_getPatternSegments(A11){return us4.pattern.getPatternParts(A11,this._micromatchOptions).map(r5=>us4.pattern.isDynamicPattern(r5,this._settings)?{dynamic:!0,pattern:r5,patternRe:us4.pattern.makeRe(r5,this._micromatchOptions)}:{dynamic:!1,pattern:r5})}_splitSegmentsIntoSections(A11){return us4.array.splitWhen(A11,e5=>e5.dynamic&&us4.pattern.hasGlobStar(e5.pattern))}};hh2.default=Ih3;}),uS2=m2(Eh3=>{Object.defineProperty(Eh3,"__esModule",{value:!0});var Q23=ES3(),lh3=class extends Q23.default{static{s7(this,"PartialMatcher");}match(A11){let e5=A11.split("/"),r5=e5.length,i7=this._storage.filter(n10=>!n10.complete||n10.segments.length>r5);for(let n10 of i7){let o10=n10.sections[0];if(!n10.complete&&r5>o10.length||e5.every((C11,I12)=>{let E5=n10.segments[I12];return !!(E5.dynamic&&E5.patternRe.test(C11)||!E5.dynamic&&E5.pattern===C11)}))return !0}return !1}};Eh3.default=lh3;}),BS2=m2(Bh3=>{Object.defineProperty(Bh3,"__esModule",{value:!0});var ng3=Dt6(),f22=uS2(),uh2=class{static{s7(this,"DeepFilter");}constructor(A11,e5){this._settings=A11,this._micromatchOptions=e5;}getFilter(A11,e5,r5){let i7=this._getMatcher(e5),n10=this._getNegativePatternsRe(r5);return o10=>this._filter(A11,o10,i7,n10)}_getMatcher(A11){return new f22.default(A11,this._settings,this._micromatchOptions)}_getNegativePatternsRe(A11){let e5=A11.filter(ng3.pattern.isAffectDepthOfReadingPattern);return ng3.pattern.convertPatternsToRe(e5,this._micromatchOptions)}_filter(A11,e5,r5,i7){if(this._isSkippedByDeep(A11,e5.path)||this._isSkippedSymbolicLink(e5))return !1;let n10=ng3.path.removeLeadingDotSegment(e5.path);return this._isSkippedByPositivePatterns(n10,r5)?!1:this._isSkippedByNegativePatterns(n10,i7)}_isSkippedByDeep(A11,e5){return this._settings.deep===1/0?!1:this._getEntryLevel(A11,e5)>=this._settings.deep}_getEntryLevel(A11,e5){let r5=e5.split("/").length;if(A11==="")return r5;let i7=A11.split("/").length;return r5-i7}_isSkippedSymbolicLink(A11){return !this._settings.followSymbolicLinks&&A11.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(A11,e5){return !this._settings.baseNameMatch&&!e5.match(A11)}_isSkippedByNegativePatterns(A11,e5){return !ng3.pattern.matchAny(A11,e5)}};Bh3.default=uh2;}),QS2=m2(fh2=>{Object.defineProperty(fh2,"__esModule",{value:!0});var $t7=Dt6(),Qh3=class{static{s7(this,"EntryFilter");}constructor(A11,e5){this._settings=A11,this._micromatchOptions=e5,this.index=new Map;}getFilter(A11,e5){let[r5,i7]=$t7.pattern.partitionAbsoluteAndRelative(e5),n10={positive:{all:$t7.pattern.convertPatternsToRe(A11,this._micromatchOptions)},negative:{absolute:$t7.pattern.convertPatternsToRe(r5,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:$t7.pattern.convertPatternsToRe(i7,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return o10=>this._filter(o10,n10)}_filter(A11,e5){let r5=$t7.path.removeLeadingDotSegment(A11.path);if(this._settings.unique&&this._isDuplicateEntry(r5)||this._onlyFileFilter(A11)||this._onlyDirectoryFilter(A11))return !1;let i7=this._isMatchToPatternsSet(r5,e5,A11.dirent.isDirectory());return this._settings.unique&&i7&&this._createIndexRecord(r5),i7}_isDuplicateEntry(A11){return this.index.has(A11)}_createIndexRecord(A11){this.index.set(A11,void 0);}_onlyFileFilter(A11){return this._settings.onlyFiles&&!A11.dirent.isFile()}_onlyDirectoryFilter(A11){return this._settings.onlyDirectories&&!A11.dirent.isDirectory()}_isMatchToPatternsSet(A11,e5,r5){return !(!this._isMatchToPatterns(A11,e5.positive.all,r5)||this._isMatchToPatterns(A11,e5.negative.relative,r5)||this._isMatchToAbsoluteNegative(A11,e5.negative.absolute,r5))}_isMatchToAbsoluteNegative(A11,e5,r5){if(e5.length===0)return !1;let i7=$t7.path.makeAbsolute(this._settings.cwd,A11);return this._isMatchToPatterns(i7,e5,r5)}_isMatchToPatterns(A11,e5,r5){if(e5.length===0)return !1;let i7=$t7.pattern.matchAny(A11,e5);return !i7&&r5?$t7.pattern.matchAny(A11+"/",e5):i7}};fh2.default=Qh3;}),fS2=m2(ph2=>{Object.defineProperty(ph2,"__esModule",{value:!0});var d22=Dt6(),dh2=class{static{s7(this,"ErrorFilter");}constructor(A11){this._settings=A11;}getFilter(){return A11=>this._isNonFatalError(A11)}_isNonFatalError(A11){return d22.errno.isEnoentCodeError(A11)||this._settings.suppressErrors}};ph2.default=dh2;}),pS2=m2(mh2=>{Object.defineProperty(mh2,"__esModule",{value:!0});var dS2=Dt6(),wh3=class{static{s7(this,"EntryTransformer");}constructor(A11){this._settings=A11;}getTransformer(){return A11=>this._transform(A11)}_transform(A11){let e5=A11.path;return this._settings.absolute&&(e5=dS2.path.makeAbsolute(this._settings.cwd,e5),e5=dS2.path.unixify(e5)),this._settings.markDirectories&&A11.dirent.isDirectory()&&(e5+="/"),this._settings.objectMode?Object.assign(Object.assign({},A11),{path:e5}):e5}};mh2.default=wh3;}),og3=m2(Dh3=>{Object.defineProperty(Dh3,"__esModule",{value:!0});var p22=v11("path"),w22=BS2(),m22=QS2(),y22=fS2(),D22=pS2(),yh2=class{static{s7(this,"Provider");}constructor(A11){this._settings=A11,this.errorFilter=new y22.default(this._settings),this.entryFilter=new m22.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new w22.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new D22.default(this._settings);}_getRootDirectory(A11){return p22.resolve(this._settings.cwd,A11.base)}_getReaderOptions(A11){let e5=A11.base==="."?"":A11.base;return {basePath:e5,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(e5,A11.positive,A11.negative),entryFilter:this.entryFilter.getFilter(A11.positive,A11.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}}};Dh3.default=yh2;}),wS2=m2(Kh2=>{Object.defineProperty(Kh2,"__esModule",{value:!0});var S22=lS2(),K22=og3(),Sh3=class extends K22.default{static{s7(this,"ProviderAsync");}constructor(){super(...arguments),this._reader=new S22.default(this._settings);}async read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11);return (await this.api(e5,A11,r5)).map(n10=>r5.transform(n10))}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};Kh2.default=Sh3;}),mS2=m2(kh3=>{Object.defineProperty(kh3,"__esModule",{value:!0});var F22=v11("stream"),k22=ah2(),b22=og3(),Fh3=class extends b22.default{static{s7(this,"ProviderStream");}constructor(){super(...arguments),this._reader=new k22.default(this._settings);}read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11),i7=this.api(e5,A11,r5),n10=new F22.Readable({objectMode:!0,read:s7(()=>{},"read")});return i7.once("error",o10=>n10.emit("error",o10)).on("data",o10=>n10.emit("data",r5.transform(o10))).once("end",()=>n10.emit("end")),n10.once("close",()=>i7.destroy()),n10}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};kh3.default=Fh3;}),yS2=m2(Nh3=>{Object.defineProperty(Nh3,"__esModule",{value:!0});var N22=ur4(),M22=ig3(),R22=sg2(),bh2=class extends R22.default{static{s7(this,"ReaderSync");}constructor(){super(...arguments),this._walkSync=M22.walkSync,this._statSync=N22.statSync;}dynamic(A11,e5){return this._walkSync(A11,e5)}static(A11,e5){let r5=[];for(let i7 of A11){let n10=this._getFullEntryPath(i7),o10=this._getEntry(n10,i7,e5);o10===null||!e5.entryFilter(o10)||r5.push(o10);}return r5}_getEntry(A11,e5,r5){try{let i7=this._getStat(A11);return this._makeEntry(i7,e5)}catch(i7){if(r5.errorFilter(i7))return null;throw i7}}_getStat(A11){return this._statSync(A11,this._fsStatSettings)}};Nh3.default=bh2;}),DS3=m2(Rh2=>{Object.defineProperty(Rh2,"__esModule",{value:!0});var v22=yS2(),L22=og3(),Mh3=class extends L22.default{static{s7(this,"ProviderSync");}constructor(){super(...arguments),this._reader=new v22.default(this._settings);}read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11);return this.api(e5,A11,r5).map(r5.transform)}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};Rh2.default=Mh3;}),SS2=m2(ti4=>{Object.defineProperty(ti4,"__esModule",{value:!0}),ti4.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var ei6=v11("fs"),x22=v11("os"),Y22=Math.max(x22.cpus().length,1);ti4.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:ei6.lstat,lstatSync:ei6.lstatSync,stat:ei6.stat,statSync:ei6.statSync,readdir:ei6.readdir,readdirSync:ei6.readdirSync};var vh2=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,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,Y22),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(A11,e5){return A11===void 0?e5:A11}_getFileSystemMethods(A11={}){return Object.assign(Object.assign({},ti4.DEFAULT_FILE_SYSTEM_ADAPTER),A11)}};ti4.default=vh2;}),Ph2=m2((x72,FS2)=>{var KS2=FD2(),P22=wS2(),U22=mS2(),_22=DS3(),Lh3=SS2(),De8=Dt6();async function xh3(t18,A11){Oe6(t18);let e5=Yh3(t18,P22.default,A11),r5=await Promise.all(e5);return De8.array.flatten(r5)}s7(xh3,"FastGlob"),function(t18){t18.glob=t18,t18.globSync=A11,t18.globStream=e5,t18.async=t18;function A11(I12,E5){Oe6(I12);let Q12=Yh3(I12,_22.default,E5);return De8.array.flatten(Q12)}s7(A11,"sync"),t18.sync=A11;function e5(I12,E5){Oe6(I12);let Q12=Yh3(I12,U22.default,E5);return De8.stream.merge(Q12)}s7(e5,"stream"),t18.stream=e5;function r5(I12,E5){Oe6(I12);let Q12=[].concat(I12),B11=new Lh3.default(E5);return KS2.generate(Q12,B11)}s7(r5,"generateTasks"),t18.generateTasks=r5;function i7(I12,E5){Oe6(I12);let Q12=new Lh3.default(E5);return De8.pattern.isDynamicPattern(I12,Q12)}s7(i7,"isDynamicPattern"),t18.isDynamicPattern=i7;function n10(I12){return Oe6(I12),De8.path.escape(I12)}s7(n10,"escapePath"),t18.escapePath=n10;function o10(I12){return Oe6(I12),De8.path.convertPathToPattern(I12)}s7(o10,"convertPathToPattern"),t18.convertPathToPattern=o10;(function(I12){function E5(B11){return Oe6(B11),De8.path.escapePosixPath(B11)}s7(E5,"escapePath"),I12.escapePath=E5;function Q12(B11){return Oe6(B11),De8.path.convertPosixPathToPattern(B11)}s7(Q12,"convertPathToPattern"),I12.convertPathToPattern=Q12;})(t18.posix||(t18.posix={}));(function(I12){function E5(B11){return Oe6(B11),De8.path.escapeWindowsPath(B11)}s7(E5,"escapePath"),I12.escapePath=E5;function Q12(B11){return Oe6(B11),De8.path.convertWindowsPathToPattern(B11)}s7(Q12,"convertPathToPattern"),I12.convertPathToPattern=Q12;})(t18.win32||(t18.win32={}));}(xh3||(xh3={}));function Yh3(t18,A11,e5){let r5=[].concat(t18),i7=new Lh3.default(e5),n10=KS2.generate(r5,i7),o10=new A11(i7);return n10.map(o10.read,o10)}s7(Yh3,"getWorks");function Oe6(t18){if(![].concat(t18).every(r5=>De8.string.isString(r5)&&!De8.string.isEmpty(r5)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}s7(Oe6,"assertPatternsInput"),FS2.exports=xh3;});async function Uh3(t18,A11,e5){if(typeof e5!="string")throw new TypeError(`Expected a string, got ${typeof e5}`);try{return (await fs6__default[t18](e5))[A11]()}catch(r5){if(r5.code==="ENOENT")return !1;throw r5}}function _h2(t18,A11,e5){if(typeof e5!="string")throw new TypeError(`Expected a string, got ${typeof e5}`);try{return tn6__default[t18](e5)[A11]()}catch(r5){if(r5.code==="ENOENT")return !1;throw r5}}var kS3,bS2,NS3=Ie8(()=>{s7(Uh3,"isType"),s7(_h2,"isTypeSync"),Uh3.bind(void 0,"stat","isFile"),kS3=Uh3.bind(void 0,"stat","isDirectory"),Uh3.bind(void 0,"lstat","isSymbolicLink"),_h2.bind(void 0,"statSync","isFile"),bS2=_h2.bind(void 0,"statSync","isDirectory"),_h2.bind(void 0,"lstatSync","isSymbolicLink");}),MS2=Ie8(()=>{});function Bs3(t18){return t18 instanceof URL?fileURLToPath(t18):t18}var Gh2=Ie8(()=>{MS2(),promisify$1(execFile),s7(Bs3,"toPath");}),_S2=m2((sAA,zh4)=>{function LS2(t18){return Array.isArray(t18)?t18:[t18]}s7(LS2,"makeArray");var j23=void 0,Oh4="",RS3=" ",Jh4="\\",q22=/^\s+$/,z22=/(?:[^\\]|^)\\$/,W22=/^\\!/,V23=/^\\#/,X22=/\r?\n/g,$22=/^\.{0,2}\/|^\.{1,2}$/,Z22=/\/$/,ri5="/",xS2="node-ignore";typeof Symbol<"u"&&(xS2=Symbol.for("node-ignore"));var YS2=xS2,Qs5=s7((t18,A11,e5)=>(Object.defineProperty(t18,A11,{value:e5}),e5),"define"),AO2=/([0-z])-([0-z])/g,PS2=s7(()=>!1,"RETURN_FALSE"),eO=s7(t18=>t18.replace(AO2,(A11,e5,r5)=>e5.charCodeAt(0)<=r5.charCodeAt(0)?A11:Oh4),"sanitizeRange"),tO2=s7(t18=>{let{length:A11}=t18;return t18.slice(0,A11-A11%2)},"cleanRangeBackSlash"),rO=[[/^\uFEFF/,()=>Oh4],[/((?:\\\\)*?)(\\?\s+)$/,(t18,A11,e5)=>A11+(e5.indexOf("\\")===0?RS3:Oh4)],[/(\\+?)\s/g,(t18,A11)=>{let{length:e5}=A11;return A11.slice(0,e5-e5%2)+RS3}],[/[\\$.|*+(){^]/g,t18=>`\\${t18}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,s7(function(){return /\/(?!$)/.test(this)?"^":"(?:^|\\/)"},"startingReplacer")],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t18,A11,e5)=>A11+6<e5.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t18,A11,e5)=>{let r5=e5.replace(/\\\*/g,"[^\\/]*");return A11+r5}],[/\\\\\\(?=[$.|*+(){^])/g,()=>Jh4],[/\\\\/g,()=>Jh4],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t18,A11,e5,r5,i7)=>A11===Jh4?`\\[${e5}${tO2(r5)}${i7}`:i7==="]"&&r5.length%2===0?`[${eO(e5)}${r5}]`:"[]"],[/(?:[^*])$/,t18=>/\/$/.test(t18)?`${t18}$`:`${t18}(?=$|\\/$)`]],iO2=/(^|\\\/)?\\\*$/,fs13="regex",gg3="checkRegex",vS2="_",sO={[fs13](t18,A11){return `${A11?`${A11}[^/]+`:"[^/]*"}(?=$|\\/$)`},[gg3](t18,A11){return `${A11?`${A11}[^/]*`:"[^/]*"}(?=$|\\/$)`}},nO2=s7(t18=>rO.reduce((A11,[e5,r5])=>A11.replace(e5,r5.bind(t18)),t18),"makeRegexPrefix"),ag3=s7(t18=>typeof t18=="string","isString"),oO=s7(t18=>t18&&ag3(t18)&&!q22.test(t18)&&!z22.test(t18)&&t18.indexOf("#")!==0,"checkPattern"),gO3=s7(t18=>t18.split(X22).filter(Boolean),"splitPattern"),Th4=class{static{s7(this,"IgnoreRule");}constructor(A11,e5,r5,i7,n10,o10){this.pattern=A11,this.mark=e5,this.negative=n10,Qs5(this,"body",r5),Qs5(this,"ignoreCase",i7),Qs5(this,"regexPrefix",o10);}get regex(){let A11=vS2+fs13;return this[A11]?this[A11]:this._make(fs13,A11)}get checkRegex(){let A11=vS2+gg3;return this[A11]?this[A11]:this._make(gg3,A11)}_make(A11,e5){let r5=this.regexPrefix.replace(iO2,sO[A11]),i7=this.ignoreCase?new RegExp(r5,"i"):new RegExp(r5);return Qs5(this,e5,i7)}},aO=s7(({pattern:t18,mark:A11},e5)=>{let r5=!1,i7=t18;i7.indexOf("!")===0&&(r5=!0,i7=i7.substr(1)),i7=i7.replace(W22,"!").replace(V23,"#");let n10=nO2(i7);return new Th4(t18,A11,i7,e5,r5,n10)},"createRule"),Hh3=class{static{s7(this,"RuleManager");}constructor(A11){this._ignoreCase=A11,this._rules=[];}_add(A11){if(A11&&A11[YS2]){this._rules=this._rules.concat(A11._rules._rules),this._added=!0;return}if(ag3(A11)&&(A11={pattern:A11}),oO(A11.pattern)){let e5=aO(A11,this._ignoreCase);this._added=!0,this._rules.push(e5);}}add(A11){return this._added=!1,LS2(ag3(A11)?gO3(A11):A11).forEach(this._add,this),this._added}test(A11,e5,r5){let i7=!1,n10=!1,o10;this._rules.forEach(C11=>{let{negative:I12}=C11;n10===I12&&i7!==n10||I12&&!i7&&!n10&&!e5||!C11[r5].test(A11)||(i7=!I12,n10=I12,o10=I12?j23:C11);});let g5={ignored:i7,unignored:n10};return o10&&(g5.rule=o10),g5}},CO2=s7((t18,A11)=>{throw new A11(t18)},"throwError"),St7=s7((t18,A11,e5)=>ag3(t18)?t18?St7.isNotRelative(t18)?e5(`path should be a \`path.relative()\`d string, but got "${A11}"`,RangeError):!0:e5("path must not be empty",TypeError):e5(`path must be a string, but got \`${A11}\``,TypeError),"checkPath"),US3=s7(t18=>$22.test(t18),"isNotRelative");St7.isNotRelative=US3,St7.convert=t18=>t18;var jh2=class{static{s7(this,"Ignore");}constructor({ignorecase:A11=!0,ignoreCase:e5=A11,allowRelativePaths:r5=!1}={}){Qs5(this,YS2,!0),this._rules=new Hh3(e5),this._strictPathCheck=!r5,this._initCache();}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null);}add(A11){return this._rules.add(A11)&&this._initCache(),this}addPattern(A11){return this.add(A11)}_test(A11,e5,r5,i7){let n10=A11&&St7.convert(A11);return St7(n10,A11,this._strictPathCheck?CO2:PS2),this._t(n10,e5,r5,i7)}checkIgnore(A11){if(!Z22.test(A11))return this.test(A11);let e5=A11.split(ri5).filter(Boolean);if(e5.pop(),e5.length){let r5=this._t(e5.join(ri5)+ri5,this._testCache,!0,e5);if(r5.ignored)return r5}return this._rules.test(A11,!1,gg3)}_t(A11,e5,r5,i7){if(A11 in e5)return e5[A11];if(i7||(i7=A11.split(ri5).filter(Boolean)),i7.pop(),!i7.length)return e5[A11]=this._rules.test(A11,r5,fs13);let n10=this._t(i7.join(ri5)+ri5,e5,r5,i7);return e5[A11]=n10.ignored?n10:this._rules.test(A11,r5,fs13)}ignores(A11){return this._test(A11,this._ignoreCache,!1).ignored}createFilter(){return A11=>!this.ignores(A11)}filter(A11){return LS2(A11).filter(this.createFilter())}test(A11){return this._test(A11,this._testCache,!0)}},qh2=s7(t18=>new jh2(t18),"factory"),cO2=s7(t18=>St7(t18&&St7.convert(t18),t18,PS2),"isPathValid");if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t18=s7(e5=>/^\\\\\?\\/.test(e5)||/["<>|\u0000-\u001F]+/u.test(e5)?e5:e5.replace(/\\/g,"/"),"makePosix");St7.convert=t18;let A11=/^[a-z]:\//i;St7.isNotRelative=e5=>A11.test(e5)||US3(e5);}zh4.exports=qh2,qh2.default=qh2,zh4.exports.isPathValid=cO2;}),ds3,Wh2=Ie8(()=>{ds3=s7(t18=>t18[0]==="!","isNegativePattern");}),Vh3,GS2,EO3,JS2,Cg2,uO2,BO2,QO2,OS2,TS3,ps3,ws2,HS2,jS3,Xh2=Ie8(()=>{Vh3=cA2(Ph2(),1),GS2=cA2(_S2(),1),Rr6(),Gh2(),Wh2(),EO3=["**/node_modules","**/flow-typed","**/coverage","**/.git"],JS2={absolute:!0,dot:!0},Cg2="**/.gitignore",uO2=s7((t18,A11)=>ds3(t18)?"!"+path2.posix.join(A11,t18.slice(1)):path2.posix.join(A11,t18),"applyBaseToPattern"),BO2=s7((t18,A11)=>{let e5=Ae6(path2.relative(A11,path2.dirname(t18.filePath)));return t18.content.split(/\r?\n/).filter(r5=>r5&&!r5.startsWith("#")).map(r5=>uO2(r5,e5))},"parseIgnoreFile"),QO2=s7((t18,A11)=>{if(A11=Ae6(A11),path2.isAbsolute(t18)){if(Ae6(t18).startsWith(A11))return path2.relative(A11,t18);throw new Error(`Path ${t18} is not in cwd ${A11}`)}return t18},"toRelativePath"),OS2=s7((t18,A11)=>{let e5=t18.flatMap(i7=>BO2(i7,A11)),r5=(0, GS2.default)().add(e5);return i7=>(i7=Bs3(i7),i7=QO2(i7,A11),i7?r5.ignores(Ae6(i7)):!1)},"getIsIgnoredPredicate"),TS3=s7((t18={})=>({cwd:Bs3(t18.cwd)??Q.cwd(),suppressErrors:!!t18.suppressErrors,deep:typeof t18.deep=="number"?t18.deep:Number.POSITIVE_INFINITY,ignore:[...t18.ignore??[],...EO3]}),"normalizeOptions"),ps3=s7(async(t18,A11)=>{let{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10}=TS3(A11),o10=await(0, Vh3.default)(t18,{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10,...JS2}),g5=await Promise.all(o10.map(async C11=>({filePath:C11,content:await fs6__default.readFile(C11,"utf8")})));return OS2(g5,e5)},"isIgnoredByIgnoreFiles"),ws2=s7((t18,A11)=>{let{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10}=TS3(A11),g5=Vh3.default.sync(t18,{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10,...JS2}).map(C11=>({filePath:C11,content:tn6__default.readFileSync(C11,"utf8")}));return OS2(g5,e5)},"isIgnoredByIgnoreFilesSync"),HS2=s7(t18=>ps3(Cg2,t18),"isGitIgnored"),jS3=s7(t18=>ws2(Cg2,t18),"isGitIgnoredSync");}),oK={};Ii(oK,{convertPathToPattern:()=>kO,generateGlobTasks:()=>KO2,generateGlobTasksSync:()=>FO2,globby:()=>mO3,globbyStream:()=>DO2,globbySync:()=>yO3,isDynamicPattern:()=>SO2,isGitIgnored:()=>HS2,isGitIgnoredSync:()=>jS3,isIgnoredByIgnoreFiles:()=>ps3,isIgnoredByIgnoreFilesSync:()=>ws2});var ni6,dO2,VS2,XS2,qS2,zS2,$h2,pO3,$S2,ZS2,cg2,AK,wO2,eK,tK,rK,iK,sK,nK,Zh2,mO3,yO3,DO2,SO2,KO2,FO2,kO,gK=Ie8(()=>{sy(),ni6=cA2(Ph2(),1),NS3(),Gh2(),Xh2(),Wh2(),Xh2(),dO2=s7(t18=>{if(t18.some(A11=>typeof A11!="string"))throw new TypeError("Patterns must be a string or an array of strings")},"assertPatternsInput"),VS2=s7((t18,A11)=>{let e5=ds3(t18)?t18.slice(1):t18;return path2.isAbsolute(e5)?e5:path2.join(A11,e5)},"normalizePathForDirectoryGlob"),XS2=s7(({directoryPath:t18,files:A11,extensions:e5})=>{let r5=e5?.length>0?`.${e5.length>1?`{${e5.join(",")}}`:e5[0]}`:"";return A11?A11.map(i7=>path2.posix.join(t18,`**/${path2.extname(i7)?i7:`${i7}${r5}`}`)):[path2.posix.join(t18,`**${r5?`/*${r5}`:""}`)]},"getDirectoryGlob"),qS2=s7(async(t18,{cwd:A11=Q.cwd(),files:e5,extensions:r5}={})=>(await Promise.all(t18.map(async n10=>await kS3(VS2(n10,A11))?XS2({directoryPath:n10,files:e5,extensions:r5}):n10))).flat(),"directoryToGlob"),zS2=s7((t18,{cwd:A11=Q.cwd(),files:e5,extensions:r5}={})=>t18.flatMap(i7=>bS2(VS2(i7,A11))?XS2({directoryPath:i7,files:e5,extensions:r5}):i7),"directoryToGlobSync"),$h2=s7(t18=>(t18=[...new Set([t18].flat())],dO2(t18),t18),"toPatternsArray"),pO3=s7(t18=>{if(!t18)return;let A11;try{A11=tn6__default.statSync(t18);}catch{return}if(!A11.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},"checkCwdOption"),$S2=s7((t18={})=>(t18={...t18,ignore:t18.ignore??[],expandDirectories:t18.expandDirectories??!0,cwd:Bs3(t18.cwd)},pO3(t18.cwd),t18),"normalizeOptions"),ZS2=s7(t18=>async(A11,e5)=>t18($h2(A11),$S2(e5)),"normalizeArguments"),cg2=s7(t18=>(A11,e5)=>t18($h2(A11),$S2(e5)),"normalizeArgumentsSync"),AK=s7(t18=>{let{ignoreFiles:A11,gitignore:e5}=t18,r5=A11?$h2(A11):[];return e5&&r5.push(Cg2),r5},"getIgnoreFilesPatterns"),wO2=s7(async t18=>{let A11=AK(t18);return tK(A11.length>0&&await ps3(A11,t18))},"getFilter"),eK=s7(t18=>{let A11=AK(t18);return tK(A11.length>0&&ws2(A11,t18))},"getFilterSync"),tK=s7(t18=>{let A11=new Set;return e5=>{let r5=path2.normalize(e5.path??e5);return A11.has(r5)||t18&&t18(r5)?!1:(A11.add(r5),!0)}},"createFilterFunction"),rK=s7((t18,A11)=>t18.flat().filter(e5=>A11(e5)),"unionFastGlobResults"),iK=s7((t18,A11)=>{let e5=[];for(;t18.length>0;){let r5=t18.findIndex(n10=>ds3(n10));if(r5===-1){e5.push({patterns:t18,options:A11});break}let i7=t18[r5].slice(1);for(let n10 of e5)n10.options.ignore.push(i7);r5!==0&&e5.push({patterns:t18.slice(0,r5),options:{...A11,ignore:[...A11.ignore,i7]}}),t18=t18.slice(r5+1);}return e5},"convertNegativePatterns"),sK=s7((t18,A11)=>({...A11?{cwd:A11}:{},...Array.isArray(t18)?{files:t18}:t18}),"normalizeExpandDirectoriesOption"),nK=s7(async(t18,A11)=>{let e5=iK(t18,A11),{cwd:r5,expandDirectories:i7}=A11;if(!i7)return e5;let n10=sK(i7,r5);return Promise.all(e5.map(async o10=>{let{patterns:g5,options:C11}=o10;return [g5,C11.ignore]=await Promise.all([qS2(g5,n10),qS2(C11.ignore,{cwd:r5})]),{patterns:g5,options:C11}}))},"generateTasks"),Zh2=s7((t18,A11)=>{let e5=iK(t18,A11),{cwd:r5,expandDirectories:i7}=A11;if(!i7)return e5;let n10=sK(i7,r5);return e5.map(o10=>{let{patterns:g5,options:C11}=o10;return g5=zS2(g5,n10),C11.ignore=zS2(C11.ignore,{cwd:r5}),{patterns:g5,options:C11}})},"generateTasksSync"),mO3=ZS2(async(t18,A11)=>{let[e5,r5]=await Promise.all([nK(t18,A11),wO2(A11)]),i7=await Promise.all(e5.map(n10=>(0, ni6.default)(n10.patterns,n10.options)));return rK(i7,r5)}),yO3=cg2((t18,A11)=>{let e5=Zh2(t18,A11),r5=eK(A11),i7=e5.map(n10=>ni6.default.sync(n10.patterns,n10.options));return rK(i7,r5)}),DO2=cg2((t18,A11)=>{let e5=Zh2(t18,A11),r5=eK(A11),i7=e5.map(o10=>ni6.default.stream(o10.patterns,o10.options));return CI2(i7).filter(o10=>r5(o10))}),SO2=cg2((t18,A11)=>t18.some(e5=>ni6.default.isDynamicPattern(e5,A11))),KO2=ZS2(nK),FO2=cg2(Zh2),{convertPathToPattern:kO}=ni6.default;}),cK={};Ii(cK,{default:()=>Al2,limitFunction:()=>bO3});function Al2(t18){CK(t18);let A11=new rr7,e5=0,r5=s7(()=>{e5<t18&&A11.size>0&&(A11.dequeue()(),e5++);},"resumeNext"),i7=s7(()=>{e5--,r5();},"next"),n10=s7(async(C11,I12,E5)=>{let Q12=(async()=>C11(...E5))();I12(Q12);try{await Q12;}catch{}i7();},"run"),o10=s7((C11,I12,E5)=>{new Promise(Q12=>{A11.enqueue(Q12);}).then(n10.bind(void 0,C11,I12,E5)),(async()=>(await Promise.resolve(),e5<t18&&r5()))();},"enqueue"),g5=s7((C11,...I12)=>new Promise(E5=>{o10(C11,E5,I12);}),"generator");return Object.defineProperties(g5,{activeCount:{get:s7(()=>e5,"get")},pendingCount:{get:s7(()=>A11.size,"get")},clearQueue:{value(){A11.clear();}},concurrency:{get:s7(()=>t18,"get"),set(C11){CK(C11),t18=C11,queueMicrotask(()=>{for(;e5<t18&&A11.size>0;)r5();});}}}),g5}function bO3(t18,A11){let{concurrency:e5}=A11,r5=Al2(e5);return (...i7)=>r5(()=>t18(...i7))}function CK(t18){if(!((Number.isInteger(t18)||t18===Number.POSITIVE_INFINITY)&&t18>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}var ot6={"@storybook/addon-a11y":"9.1.5","@storybook/addon-docs":"9.1.5","@storybook/addon-jest":"9.1.5","@storybook/addon-links":"9.1.5","@storybook/addon-onboarding":"9.1.5","storybook-addon-pseudo-states":"9.1.5","@storybook/addon-themes":"9.1.5","@storybook/addon-vitest":"9.1.5","@storybook/builder-vite":"9.1.5","@storybook/builder-webpack5":"9.1.5",storybook:"9.1.5","@storybook/angular":"9.1.5","@storybook/ember":"9.1.5","@storybook/html-vite":"9.1.5","@storybook/nextjs":"9.1.5","@storybook/nextjs-vite":"9.1.5","@storybook/preact-vite":"9.1.5","@storybook/react-native-web-vite":"9.1.5","@storybook/react-vite":"9.1.5","@storybook/react-webpack5":"9.1.5","@storybook/server-webpack5":"9.1.5","@storybook/svelte-vite":"9.1.5","@storybook/sveltekit":"9.1.5","@storybook/vue3-vite":"9.1.5","@storybook/web-components-vite":"9.1.5",sb:"9.1.5","@storybook/cli":"9.1.5","@storybook/codemod":"9.1.5","@storybook/core-webpack":"9.1.5","create-storybook":"9.1.5","@storybook/csf-plugin":"9.1.5","eslint-plugin-storybook":"9.1.5","@storybook/react-dom-shim":"9.1.5","@storybook/preset-create-react-app":"9.1.5","@storybook/preset-react-webpack":"9.1.5","@storybook/preset-server-webpack":"9.1.5","@storybook/html":"9.1.5","@storybook/preact":"9.1.5","@storybook/react":"9.1.5","@storybook/server":"9.1.5","@storybook/svelte":"9.1.5","@storybook/vue3":"9.1.5","@storybook/web-components":"9.1.5"},FE2=cA2(gt4(),1),dg3=new Set([".js",".jsx",".ts",".tsx",".cts",".mts",".cjs",".mjs"]);function nF(){return [...Array.from(dg3)]}s7(nF,"sortExtensions");var Bl2=nF();function wr8(t18){return Bl2.map(A11=>t18.endsWith(A11)?t18:`${t18}${A11}`).find(A11=>existsSync(A11))}s7(wr8,"getInterpretedFile");function Ql2(t18){return Bl2.map(A11=>({path:t18.endsWith(A11)?t18:`${t18}${A11}`,ext:A11})).find(A11=>existsSync(A11.path))}s7(Ql2,"getInterpretedFileWithExt");var fl2=!1;function pg2(t18){let A11=!!v11("module")._extensions[".ts"];if(fl2===!1&&!A11){let{register:i7}=v11("esbuild-register/dist/node");fl2=!0,i7({target:`node${process.version.slice(1)}`,format:"cjs",hookIgnoreNodeModules:!0,keepNames:!0,tsconfigRaw:`{
2617
+ `,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"};}),$y2=m2((j63,Xy2)=>{var iG2=Uo5(),{MAX_LENGTH:zy2,CHAR_BACKSLASH:fI2,CHAR_BACKTICK:sG2,CHAR_COMMA:nG2,CHAR_DOT:oG2,CHAR_LEFT_PARENTHESES:gG,CHAR_RIGHT_PARENTHESES:aG2,CHAR_LEFT_CURLY_BRACE:CG,CHAR_RIGHT_CURLY_BRACE:cG2,CHAR_LEFT_SQUARE_BRACKET:Wy2,CHAR_RIGHT_SQUARE_BRACKET:Vy2,CHAR_DOUBLE_QUOTE:IG,CHAR_SINGLE_QUOTE:hG,CHAR_NO_BREAK_SPACE:lG2,CHAR_ZERO_WIDTH_NOBREAK_SPACE:EG}=qy2(),uG2=s7((t18,A11={})=>{if(typeof t18!="string")throw new TypeError("Expected a string");let e5=A11||{},r5=typeof e5.maxLength=="number"?Math.min(zy2,e5.maxLength):zy2;if(t18.length>r5)throw new SyntaxError(`Input length (${t18.length}), exceeds max characters (${r5})`);let i7={type:"root",input:t18,nodes:[]},n10=[i7],o10=i7,g5=i7,C11=0,I12=t18.length,E5=0,Q12=0,B11,p7=s7(()=>t18[E5++],"advance"),w8=s7(D10=>{if(D10.type==="text"&&g5.type==="dot"&&(g5.type="text"),g5&&g5.type==="text"&&D10.type==="text"){g5.value+=D10.value;return}return o10.nodes.push(D10),D10.parent=o10,D10.prev=g5,g5=D10,D10},"push");for(w8({type:"bos"});E5<I12;)if(o10=n10[n10.length-1],B11=p7(),!(B11===EG||B11===lG2)){if(B11===fI2){w8({type:"text",value:(A11.keepEscaping?B11:"")+p7()});continue}if(B11===Vy2){w8({type:"text",value:"\\"+B11});continue}if(B11===Wy2){C11++;let D10;for(;E5<I12&&(D10=p7());){if(B11+=D10,D10===Wy2){C11++;continue}if(D10===fI2){B11+=p7();continue}if(D10===Vy2&&(C11--,C11===0))break}w8({type:"text",value:B11});continue}if(B11===gG){o10=w8({type:"paren",nodes:[]}),n10.push(o10),w8({type:"text",value:B11});continue}if(B11===aG2){if(o10.type!=="paren"){w8({type:"text",value:B11});continue}o10=n10.pop(),w8({type:"text",value:B11}),o10=n10[n10.length-1];continue}if(B11===IG||B11===hG||B11===sG2){let D10=B11,N13;for(A11.keepQuotes!==!0&&(B11="");E5<I12&&(N13=p7());){if(N13===fI2){B11+=N13+p7();continue}if(N13===D10){A11.keepQuotes===!0&&(B11+=N13);break}B11+=N13;}w8({type:"text",value:B11});continue}if(B11===CG){Q12++;let N13={type:"brace",open:!0,close:!1,dollar:g5.value&&g5.value.slice(-1)==="$"||o10.dollar===!0,depth:Q12,commas:0,ranges:0,nodes:[]};o10=w8(N13),n10.push(o10),w8({type:"open",value:B11});continue}if(B11===cG2){if(o10.type!=="brace"){w8({type:"text",value:B11});continue}let D10="close";o10=n10.pop(),o10.close=!0,w8({type:D10,value:B11}),Q12--,o10=n10[n10.length-1];continue}if(B11===nG2&&Q12>0){if(o10.ranges>0){o10.ranges=0;let D10=o10.nodes.shift();o10.nodes=[D10,{type:"text",value:iG2(o10)}];}w8({type:"comma",value:B11}),o10.commas++;continue}if(B11===oG2&&Q12>0&&o10.commas===0){let D10=o10.nodes;if(Q12===0||D10.length===0){w8({type:"text",value:B11});continue}if(g5.type==="dot"){if(o10.range=[],g5.value+=B11,g5.type="range",o10.nodes.length!==3&&o10.nodes.length!==5){o10.invalid=!0,o10.ranges=0,g5.type="text";continue}o10.ranges++,o10.args=[];continue}if(g5.type==="range"){D10.pop();let N13=D10[D10.length-1];N13.value+=g5.value+B11,g5=N13,o10.ranges--;continue}w8({type:"dot",value:B11});continue}w8({type:"text",value:B11});}do if(o10=n10.pop(),o10.type!=="root"){o10.nodes.forEach(k13=>{k13.nodes||(k13.type==="open"&&(k13.isOpen=!0),k13.type==="close"&&(k13.isClose=!0),k13.nodes||(k13.type="text"),k13.invalid=!0);});let D10=n10[n10.length-1],N13=D10.nodes.indexOf(o10);D10.nodes.splice(N13,1,...o10.nodes);}while(n10.length>0);return w8({type:"eos"}),i7},"parse");Xy2.exports=uG2;}),eD2=m2((z63,AD2)=>{var Zy3=Uo5(),BG=Jy2(),QG=Hy2(),fG=$y2(),ue7=s7((t18,A11={})=>{let e5=[];if(Array.isArray(t18))for(let r5 of t18){let i7=ue7.create(r5,A11);Array.isArray(i7)?e5.push(...i7):e5.push(i7);}else e5=[].concat(ue7.create(t18,A11));return A11&&A11.expand===!0&&A11.nodupes===!0&&(e5=[...new Set(e5)]),e5},"braces");ue7.parse=(t18,A11={})=>fG(t18,A11),ue7.stringify=(t18,A11={})=>Zy3(typeof t18=="string"?ue7.parse(t18,A11):t18,A11),ue7.compile=(t18,A11={})=>(typeof t18=="string"&&(t18=ue7.parse(t18,A11)),BG(t18,A11)),ue7.expand=(t18,A11={})=>{typeof t18=="string"&&(t18=ue7.parse(t18,A11));let e5=QG(t18,A11);return A11.noempty===!0&&(e5=e5.filter(Boolean)),A11.nodupes===!0&&(e5=[...new Set(e5)]),e5},ue7.create=(t18,A11={})=>t18===""||t18.length<3?[t18]:A11.expand!==!0?ue7.compile(t18,A11):ue7.expand(t18,A11),AD2.exports=ue7;}),oD2=m2((V63,nD2)=>{var rD3=v11("util"),iD2=eD2(),et8=Mn6(),dI2=qi(),tD4=s7(t18=>t18===""||t18==="./","isEmptyString"),sD3=s7(t18=>{let A11=t18.indexOf("{");return A11>-1&&t18.indexOf("}",A11)>-1},"hasBraces"),wA2=s7((t18,A11,e5)=>{A11=[].concat(A11),t18=[].concat(t18);let r5=new Set,i7=new Set,n10=new Set,o10=0,g5=s7(E5=>{n10.add(E5.output),e5&&e5.onResult&&e5.onResult(E5);},"onResult");for(let E5=0;E5<A11.length;E5++){let Q12=et8(String(A11[E5]),{...e5,onResult:g5},!0),B11=Q12.state.negated||Q12.state.negatedExtglob;B11&&o10++;for(let p7 of t18){let w8=Q12(p7,!0);(B11?!w8.isMatch:w8.isMatch)&&(B11?r5.add(w8.output):(r5.delete(w8.output),i7.add(w8.output)));}}let I12=(o10===A11.length?[...n10]:[...i7]).filter(E5=>!r5.has(E5));if(e5&&I12.length===0){if(e5.failglob===!0)throw new Error(`No matches found for "${A11.join(", ")}"`);if(e5.nonull===!0||e5.nullglob===!0)return e5.unescape?A11.map(E5=>E5.replace(/\\/g,"")):A11}return I12},"micromatch");wA2.match=wA2,wA2.matcher=(t18,A11)=>et8(t18,A11),wA2.isMatch=(t18,A11,e5)=>et8(A11,e5)(t18),wA2.any=wA2.isMatch,wA2.not=(t18,A11,e5={})=>{A11=[].concat(A11).map(String);let r5=new Set,i7=[],n10=s7(g5=>{e5.onResult&&e5.onResult(g5),i7.push(g5.output);},"onResult"),o10=new Set(wA2(t18,A11,{...e5,onResult:n10}));for(let g5 of i7)o10.has(g5)||r5.add(g5);return [...r5]},wA2.contains=(t18,A11,e5)=>{if(typeof t18!="string")throw new TypeError(`Expected a string: "${rD3.inspect(t18)}"`);if(Array.isArray(A11))return A11.some(r5=>wA2.contains(t18,r5,e5));if(typeof A11=="string"){if(tD4(t18)||tD4(A11))return !1;if(t18.includes(A11)||t18.startsWith("./")&&t18.slice(2).includes(A11))return !0}return wA2.isMatch(t18,A11,{...e5,contains:!0})},wA2.matchKeys=(t18,A11,e5)=>{if(!dI2.isObject(t18))throw new TypeError("Expected the first argument to be an object");let r5=wA2(Object.keys(t18),A11,e5),i7={};for(let n10 of r5)i7[n10]=t18[n10];return i7},wA2.some=(t18,A11,e5)=>{let r5=[].concat(t18);for(let i7 of [].concat(A11)){let n10=et8(String(i7),e5);if(r5.some(o10=>n10(o10)))return !0}return !1},wA2.every=(t18,A11,e5)=>{let r5=[].concat(t18);for(let i7 of [].concat(A11)){let n10=et8(String(i7),e5);if(!r5.every(o10=>n10(o10)))return !1}return !0},wA2.all=(t18,A11,e5)=>{if(typeof t18!="string")throw new TypeError(`Expected a string: "${rD3.inspect(t18)}"`);return [].concat(A11).every(r5=>et8(r5,e5)(t18))},wA2.capture=(t18,A11,e5)=>{let r5=dI2.isWindows(e5),n10=et8.makeRe(String(t18),{...e5,capture:!0}).exec(r5?dI2.toPosixSlashes(A11):A11);if(n10)return n10.slice(1).map(o10=>o10===void 0?"":o10)},wA2.makeRe=(...t18)=>et8.makeRe(...t18),wA2.scan=(...t18)=>et8.scan(...t18),wA2.parse=(t18,A11)=>{let e5=[];for(let r5 of [].concat(t18||[]))for(let i7 of iD2(String(r5),A11))e5.push(et8.parse(i7,A11));return e5},wA2.braces=(t18,A11)=>{if(typeof t18!="string")throw new TypeError("Expected a string");return A11&&A11.nobrace===!0||!sD3(t18)?[t18]:iD2(t18,A11)},wA2.braceExpand=(t18,A11)=>{if(typeof t18!="string")throw new TypeError("Expected a string");return wA2.braces(t18,{...A11,expand:!0})},wA2.hasBraces=sD3,nD2.exports=wA2;}),BD2=m2(AA2=>{Object.defineProperty(AA2,"__esModule",{value:!0}),AA2.isAbsolute=AA2.partitionAbsoluteAndRelative=AA2.removeDuplicateSlashes=AA2.matchAny=AA2.convertPatternsToRe=AA2.makeRe=AA2.getPatternParts=AA2.expandBraceExpansion=AA2.expandPatternsWithBraceExpansion=AA2.isAffectDepthOfReadingPattern=AA2.endsWithSlashGlobStar=AA2.hasGlobStar=AA2.getBaseDirectory=AA2.isPatternRelatedToParentDirectory=AA2.getPatternsOutsideCurrentDirectory=AA2.getPatternsInsideCurrentDirectory=AA2.getPositivePatterns=AA2.getNegativePatterns=AA2.isPositivePattern=AA2.isNegativePattern=AA2.convertToNegativePattern=AA2.convertToPositivePattern=AA2.isDynamicPattern=AA2.isStaticPattern=void 0;var gD2=v11("path"),dG=fy(),pI2=oD2(),aD2="**",pG="\\",wG=/[*?]|^!/,mG=/\[[^[]*]/,yG=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,DG=/[!*+?@]\([^(]*\)/,SG=/,|\.\./,KG=/(?!^)\/{2,}/g;function CD3(t18,A11={}){return !cD2(t18,A11)}s7(CD3,"isStaticPattern"),AA2.isStaticPattern=CD3;function cD2(t18,A11={}){return t18===""?!1:!!(A11.caseSensitiveMatch===!1||t18.includes(pG)||wG.test(t18)||mG.test(t18)||yG.test(t18)||A11.extglob!==!1&&DG.test(t18)||A11.braceExpansion!==!1&&FG(t18))}s7(cD2,"isDynamicPattern"),AA2.isDynamicPattern=cD2;function FG(t18){let A11=t18.indexOf("{");if(A11===-1)return !1;let e5=t18.indexOf("}",A11+1);if(e5===-1)return !1;let r5=t18.slice(A11,e5);return SG.test(r5)}s7(FG,"hasBraceExpansion");function kG(t18){return Jo6(t18)?t18.slice(1):t18}s7(kG,"convertToPositivePattern"),AA2.convertToPositivePattern=kG;function bG(t18){return "!"+t18}s7(bG,"convertToNegativePattern"),AA2.convertToNegativePattern=bG;function Jo6(t18){return t18.startsWith("!")&&t18[1]!=="("}s7(Jo6,"isNegativePattern"),AA2.isNegativePattern=Jo6;function ID3(t18){return !Jo6(t18)}s7(ID3,"isPositivePattern"),AA2.isPositivePattern=ID3;function NG(t18){return t18.filter(Jo6)}s7(NG,"getNegativePatterns"),AA2.getNegativePatterns=NG;function MG(t18){return t18.filter(ID3)}s7(MG,"getPositivePatterns"),AA2.getPositivePatterns=MG;function RG(t18){return t18.filter(A11=>!wI2(A11))}s7(RG,"getPatternsInsideCurrentDirectory"),AA2.getPatternsInsideCurrentDirectory=RG;function vG(t18){return t18.filter(wI2)}s7(vG,"getPatternsOutsideCurrentDirectory"),AA2.getPatternsOutsideCurrentDirectory=vG;function wI2(t18){return t18.startsWith("..")||t18.startsWith("./..")}s7(wI2,"isPatternRelatedToParentDirectory"),AA2.isPatternRelatedToParentDirectory=wI2;function LG(t18){return dG(t18,{flipBackslashes:!1})}s7(LG,"getBaseDirectory"),AA2.getBaseDirectory=LG;function xG(t18){return t18.includes(aD2)}s7(xG,"hasGlobStar"),AA2.hasGlobStar=xG;function hD2(t18){return t18.endsWith("/"+aD2)}s7(hD2,"endsWithSlashGlobStar"),AA2.endsWithSlashGlobStar=hD2;function YG(t18){let A11=gD2.basename(t18);return hD2(t18)||CD3(A11)}s7(YG,"isAffectDepthOfReadingPattern"),AA2.isAffectDepthOfReadingPattern=YG;function PG(t18){return t18.reduce((A11,e5)=>A11.concat(lD3(e5)),[])}s7(PG,"expandPatternsWithBraceExpansion"),AA2.expandPatternsWithBraceExpansion=PG;function lD3(t18){let A11=pI2.braces(t18,{expand:!0,nodupes:!0,keepEscaping:!0});return A11.sort((e5,r5)=>e5.length-r5.length),A11.filter(e5=>e5!=="")}s7(lD3,"expandBraceExpansion"),AA2.expandBraceExpansion=lD3;function UG(t18,A11){let{parts:e5}=pI2.scan(t18,Object.assign(Object.assign({},A11),{parts:!0}));return e5.length===0&&(e5=[t18]),e5[0].startsWith("/")&&(e5[0]=e5[0].slice(1),e5.unshift("")),e5}s7(UG,"getPatternParts"),AA2.getPatternParts=UG;function ED2(t18,A11){return pI2.makeRe(t18,A11)}s7(ED2,"makeRe"),AA2.makeRe=ED2;function _G(t18,A11){return t18.map(e5=>ED2(e5,A11))}s7(_G,"convertPatternsToRe"),AA2.convertPatternsToRe=_G;function GG(t18,A11){return A11.some(e5=>e5.test(t18))}s7(GG,"matchAny"),AA2.matchAny=GG;function JG(t18){return t18.replace(KG,"/")}s7(JG,"removeDuplicateSlashes"),AA2.removeDuplicateSlashes=JG;function OG(t18){let A11=[],e5=[];for(let r5 of t18)uD2(r5)?A11.push(r5):e5.push(r5);return [A11,e5]}s7(OG,"partitionAbsoluteAndRelative"),AA2.partitionAbsoluteAndRelative=OG;function uD2(t18){return gD2.isAbsolute(t18)}s7(uD2,"isAbsolute"),AA2.isAbsolute=uD2;}),pD2=m2((A52,dD2)=>{var TG=v11("stream"),QD3=TG.PassThrough,HG=Array.prototype.slice;dD2.exports=jG;function jG(){let t18=[],A11=HG.call(arguments),e5=!1,r5=A11[A11.length-1];r5&&!Array.isArray(r5)&&r5.pipe==null?A11.pop():r5={};let i7=r5.end!==!1,n10=r5.pipeError===!0;r5.objectMode==null&&(r5.objectMode=!0),r5.highWaterMark==null&&(r5.highWaterMark=64*1024);let o10=QD3(r5);function g5(){for(let E5=0,Q12=arguments.length;E5<Q12;E5++)t18.push(fD2(arguments[E5],r5));return C11(),this}s7(g5,"addStream");function C11(){if(e5)return;e5=!0;let E5=t18.shift();if(!E5){process.nextTick(I12);return}Array.isArray(E5)||(E5=[E5]);let Q12=E5.length+1;function B11(){--Q12>0||(e5=!1,C11());}s7(B11,"next");function p7(w8){function D10(){w8.removeListener("merge2UnpipeEnd",D10),w8.removeListener("end",D10),n10&&w8.removeListener("error",N13),B11();}s7(D10,"onend");function N13(k13){o10.emit("error",k13);}if(s7(N13,"onerror"),w8._readableState.endEmitted)return B11();w8.on("merge2UnpipeEnd",D10),w8.on("end",D10),n10&&w8.on("error",N13),w8.pipe(o10,{end:!1}),w8.resume();}s7(p7,"pipe");for(let w8=0;w8<E5.length;w8++)p7(E5[w8]);B11();}s7(C11,"mergeStream");function I12(){e5=!1,o10.emit("queueDrain"),i7&&o10.end();}return s7(I12,"endStream"),o10.setMaxListeners(0),o10.add=g5,o10.on("unpipe",function(E5){E5.emit("merge2UnpipeEnd");}),A11.length&&g5.apply(null,A11),o10}s7(jG,"merge2");function fD2(t18,A11){if(Array.isArray(t18))for(let e5=0,r5=t18.length;e5<r5;e5++)t18[e5]=fD2(t18[e5],A11);else {if(!t18._readableState&&t18.pipe&&(t18=t18.pipe(QD3(A11))),!t18._readableState||!t18.pause||!t18.pipe)throw new Error("Only readable stream can be merged.");t18.pause();}return t18}s7(fD2,"pauseStreams");}),mD2=m2(Oo6=>{Object.defineProperty(Oo6,"__esModule",{value:!0}),Oo6.merge=void 0;var qG=pD2();function zG(t18){let A11=qG(t18);return t18.forEach(e5=>{e5.once("error",r5=>A11.emit("error",r5));}),A11.once("close",()=>wD2(t18)),A11.once("end",()=>wD2(t18)),A11}s7(zG,"merge"),Oo6.merge=zG;function wD2(t18){t18.forEach(A11=>A11.emit("close"));}s7(wD2,"propagateCloseEventToSources");}),yD2=m2(Zr6=>{Object.defineProperty(Zr6,"__esModule",{value:!0}),Zr6.isEmpty=Zr6.isString=void 0;function WG(t18){return typeof t18=="string"}s7(WG,"isString"),Zr6.isString=WG;function VG(t18){return t18===""}s7(VG,"isEmpty"),Zr6.isEmpty=VG;}),Dt6=m2(zA2=>{Object.defineProperty(zA2,"__esModule",{value:!0}),zA2.string=zA2.stream=zA2.pattern=zA2.path=zA2.fs=zA2.errno=zA2.array=void 0;var XG=ny();zA2.array=XG;var $G=oy();zA2.errno=$G;var ZG=gy2();zA2.fs=ZG;var AJ=Iy3();zA2.path=AJ;var eJ=BD2();zA2.pattern=eJ;var tJ=mD2();zA2.stream=tJ;var rJ=yD2();zA2.string=rJ;}),FD2=m2(WA2=>{Object.defineProperty(WA2,"__esModule",{value:!0}),WA2.convertPatternGroupToTask=WA2.convertPatternGroupsToTasks=WA2.groupPatternsByBaseDirectory=WA2.getNegativePatternsAsPositive=WA2.getPositivePatterns=WA2.convertPatternsToTasks=WA2.generate=void 0;var Je8=Dt6();function iJ(t18,A11){let e5=DD2(t18,A11),r5=DD2(A11.ignore,A11),i7=SD2(e5),n10=KD2(e5,r5),o10=i7.filter(E5=>Je8.pattern.isStaticPattern(E5,A11)),g5=i7.filter(E5=>Je8.pattern.isDynamicPattern(E5,A11)),C11=mI2(o10,n10,!1),I12=mI2(g5,n10,!0);return C11.concat(I12)}s7(iJ,"generate"),WA2.generate=iJ;function DD2(t18,A11){let e5=t18;return A11.braceExpansion&&(e5=Je8.pattern.expandPatternsWithBraceExpansion(e5)),A11.baseNameMatch&&(e5=e5.map(r5=>r5.includes("/")?r5:`**/${r5}`)),e5.map(r5=>Je8.pattern.removeDuplicateSlashes(r5))}s7(DD2,"processPatterns");function mI2(t18,A11,e5){let r5=[],i7=Je8.pattern.getPatternsOutsideCurrentDirectory(t18),n10=Je8.pattern.getPatternsInsideCurrentDirectory(t18),o10=yI2(i7),g5=yI2(n10);return r5.push(...DI2(o10,A11,e5)),"."in g5?r5.push(SI2(".",n10,A11,e5)):r5.push(...DI2(g5,A11,e5)),r5}s7(mI2,"convertPatternsToTasks"),WA2.convertPatternsToTasks=mI2;function SD2(t18){return Je8.pattern.getPositivePatterns(t18)}s7(SD2,"getPositivePatterns"),WA2.getPositivePatterns=SD2;function KD2(t18,A11){return Je8.pattern.getNegativePatterns(t18).concat(A11).map(Je8.pattern.convertToPositivePattern)}s7(KD2,"getNegativePatternsAsPositive"),WA2.getNegativePatternsAsPositive=KD2;function yI2(t18){let A11={};return t18.reduce((e5,r5)=>{let i7=Je8.pattern.getBaseDirectory(r5);return i7 in e5?e5[i7].push(r5):e5[i7]=[r5],e5},A11)}s7(yI2,"groupPatternsByBaseDirectory"),WA2.groupPatternsByBaseDirectory=yI2;function DI2(t18,A11,e5){return Object.keys(t18).map(r5=>SI2(r5,t18[r5],A11,e5))}s7(DI2,"convertPatternGroupsToTasks"),WA2.convertPatternGroupsToTasks=DI2;function SI2(t18,A11,e5,r5){return {dynamic:r5,positive:A11,negative:e5,base:t18,patterns:[].concat(A11,e5.map(Je8.pattern.convertToNegativePattern))}}s7(SI2,"convertPatternGroupToTask"),WA2.convertPatternGroupToTask=SI2;}),bD2=m2(To5=>{Object.defineProperty(To5,"__esModule",{value:!0}),To5.read=void 0;function sJ(t18,A11,e5){A11.fs.lstat(t18,(r5,i7)=>{if(r5!==null){kD(e5,r5);return}if(!i7.isSymbolicLink()||!A11.followSymbolicLink){KI3(e5,i7);return}A11.fs.stat(t18,(n10,o10)=>{if(n10!==null){if(A11.throwErrorOnBrokenSymbolicLink){kD(e5,n10);return}KI3(e5,i7);return}A11.markSymbolicLink&&(o10.isSymbolicLink=()=>!0),KI3(e5,o10);});});}s7(sJ,"read"),To5.read=sJ;function kD(t18,A11){t18(A11);}s7(kD,"callFailureCallback");function KI3(t18,A11){t18(null,A11);}s7(KI3,"callSuccessCallback");}),ND2=m2(Ho4=>{Object.defineProperty(Ho4,"__esModule",{value:!0}),Ho4.read=void 0;function nJ(t18,A11){let e5=A11.fs.lstatSync(t18);if(!e5.isSymbolicLink()||!A11.followSymbolicLink)return e5;try{let r5=A11.fs.statSync(t18);return A11.markSymbolicLink&&(r5.isSymbolicLink=()=>!0),r5}catch(r5){if(!A11.throwErrorOnBrokenSymbolicLink)return e5;throw r5}}s7(nJ,"read"),Ho4.read=nJ;}),MD=m2(jt7=>{Object.defineProperty(jt7,"__esModule",{value:!0}),jt7.createFileSystemAdapter=jt7.FILE_SYSTEM_ADAPTER=void 0;var jo5=v11("fs");jt7.FILE_SYSTEM_ADAPTER={lstat:jo5.lstat,stat:jo5.stat,lstatSync:jo5.lstatSync,statSync:jo5.statSync};function oJ(t18){return t18===void 0?jt7.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},jt7.FILE_SYSTEM_ADAPTER),t18)}s7(oJ,"createFileSystemAdapter"),jt7.createFileSystemAdapter=oJ;}),RD2=m2(kI3=>{Object.defineProperty(kI3,"__esModule",{value:!0});var gJ=MD(),FI2=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=gJ.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0);}_getValue(A11,e5){return A11??e5}};kI3.default=FI2;}),ur4=m2(qt6=>{Object.defineProperty(qt6,"__esModule",{value:!0}),qt6.statSync=qt6.stat=qt6.Settings=void 0;var vD2=bD2(),aJ=ND2(),bI2=RD2();qt6.Settings=bI2.default;function CJ(t18,A11,e5){if(typeof A11=="function"){vD2.read(t18,NI2(),A11);return}vD2.read(t18,NI2(A11),e5);}s7(CJ,"stat"),qt6.stat=CJ;function cJ(t18,A11){let e5=NI2(A11);return aJ.read(t18,e5)}s7(cJ,"statSync"),qt6.statSync=cJ;function NI2(t18={}){return t18 instanceof bI2.default?t18:new bI2.default(t18)}s7(NI2,"getSettings");}),YD2=m2((f52,xD2)=>{var LD2;xD2.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t18=>(LD2||(LD2=Promise.resolve())).then(t18).catch(A11=>setTimeout(()=>{throw A11},0));}),UD2=m2((d52,PD)=>{PD.exports=hJ;var IJ=YD2();function hJ(t18,A11){let e5,r5,i7,n10=!0;Array.isArray(t18)?(e5=[],r5=t18.length):(i7=Object.keys(t18),e5={},r5=i7.length);function o10(C11){function I12(){A11&&A11(C11,e5),A11=null;}s7(I12,"end"),n10?IJ(I12):I12();}s7(o10,"done");function g5(C11,I12,E5){e5[C11]=E5,(--r5===0||I12)&&o10(I12);}s7(g5,"each"),r5?i7?i7.forEach(function(C11){t18[C11](function(I12,E5){g5(C11,I12,E5);});}):t18.forEach(function(C11,I12){C11(function(E5,Q12){g5(I12,E5,Q12);});}):o10(null),n10=!1;}s7(hJ,"runParallel");}),MI2=m2(zo5=>{Object.defineProperty(zo5,"__esModule",{value:!0}),zo5.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var qo4=process.versions.node.split(".");if(qo4[0]===void 0||qo4[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var _D2=Number.parseInt(qo4[0],10),lJ=Number.parseInt(qo4[1],10),GD2=10,EJ=10,uJ=_D2>GD2,BJ=_D2===GD2&&lJ>=EJ;zo5.IS_SUPPORT_READDIR_WITH_FILE_TYPES=uJ||BJ;}),JD2=m2(Wo3=>{Object.defineProperty(Wo3,"__esModule",{value:!0}),Wo3.createDirentFromStats=void 0;var RI2=class{static{s7(this,"DirentFromStats");}constructor(A11,e5){this.name=A11,this.isBlockDevice=e5.isBlockDevice.bind(e5),this.isCharacterDevice=e5.isCharacterDevice.bind(e5),this.isDirectory=e5.isDirectory.bind(e5),this.isFIFO=e5.isFIFO.bind(e5),this.isFile=e5.isFile.bind(e5),this.isSocket=e5.isSocket.bind(e5),this.isSymbolicLink=e5.isSymbolicLink.bind(e5);}};function QJ(t18,A11){return new RI2(t18,A11)}s7(QJ,"createDirentFromStats"),Wo3.createDirentFromStats=QJ;}),vI2=m2(Vo6=>{Object.defineProperty(Vo6,"__esModule",{value:!0}),Vo6.fs=void 0;var fJ=JD2();Vo6.fs=fJ;}),LI2=m2(Xo6=>{Object.defineProperty(Xo6,"__esModule",{value:!0}),Xo6.joinPathSegments=void 0;function dJ(t18,A11,e5){return t18.endsWith(e5)?t18+A11:t18+e5+A11}s7(dJ,"joinPathSegments"),Xo6.joinPathSegments=dJ;}),zD2=m2(zt6=>{Object.defineProperty(zt6,"__esModule",{value:!0}),zt6.readdir=zt6.readdirWithFileTypes=zt6.read=void 0;var pJ=ur4(),OD2=UD2(),wJ=MI2(),TD2=vI2(),HD2=LI2();function mJ(t18,A11,e5){if(!A11.stats&&wJ.IS_SUPPORT_READDIR_WITH_FILE_TYPES){jD2(t18,A11,e5);return}qD2(t18,A11,e5);}s7(mJ,"read"),zt6.read=mJ;function jD2(t18,A11,e5){A11.fs.readdir(t18,{withFileTypes:!0},(r5,i7)=>{if(r5!==null){$o6(e5,r5);return}let n10=i7.map(g5=>({dirent:g5,name:g5.name,path:HD2.joinPathSegments(t18,g5.name,A11.pathSegmentSeparator)}));if(!A11.followSymbolicLinks){xI2(e5,n10);return}let o10=n10.map(g5=>yJ(g5,A11));OD2(o10,(g5,C11)=>{if(g5!==null){$o6(e5,g5);return}xI2(e5,C11);});});}s7(jD2,"readdirWithFileTypes"),zt6.readdirWithFileTypes=jD2;function yJ(t18,A11){return e5=>{if(!t18.dirent.isSymbolicLink()){e5(null,t18);return}A11.fs.stat(t18.path,(r5,i7)=>{if(r5!==null){if(A11.throwErrorOnBrokenSymbolicLink){e5(r5);return}e5(null,t18);return}t18.dirent=TD2.fs.createDirentFromStats(t18.name,i7),e5(null,t18);});}}s7(yJ,"makeRplTaskEntry");function qD2(t18,A11,e5){A11.fs.readdir(t18,(r5,i7)=>{if(r5!==null){$o6(e5,r5);return}let n10=i7.map(o10=>{let g5=HD2.joinPathSegments(t18,o10,A11.pathSegmentSeparator);return C11=>{pJ.stat(g5,A11.fsStatSettings,(I12,E5)=>{if(I12!==null){C11(I12);return}let Q12={name:o10,path:g5,dirent:TD2.fs.createDirentFromStats(o10,E5)};A11.stats&&(Q12.stats=E5),C11(null,Q12);});}});OD2(n10,(o10,g5)=>{if(o10!==null){$o6(e5,o10);return}xI2(e5,g5);});});}s7(qD2,"readdir"),zt6.readdir=qD2;function $o6(t18,A11){t18(A11);}s7($o6,"callFailureCallback");function xI2(t18,A11){t18(null,A11);}s7(xI2,"callSuccessCallback");}),ZD2=m2(Wt5=>{Object.defineProperty(Wt5,"__esModule",{value:!0}),Wt5.readdir=Wt5.readdirWithFileTypes=Wt5.read=void 0;var DJ=ur4(),SJ=MI2(),WD2=vI2(),VD2=LI2();function KJ(t18,A11){return !A11.stats&&SJ.IS_SUPPORT_READDIR_WITH_FILE_TYPES?XD(t18,A11):$D3(t18,A11)}s7(KJ,"read"),Wt5.read=KJ;function XD(t18,A11){return A11.fs.readdirSync(t18,{withFileTypes:!0}).map(r5=>{let i7={dirent:r5,name:r5.name,path:VD2.joinPathSegments(t18,r5.name,A11.pathSegmentSeparator)};if(i7.dirent.isSymbolicLink()&&A11.followSymbolicLinks)try{let n10=A11.fs.statSync(i7.path);i7.dirent=WD2.fs.createDirentFromStats(i7.name,n10);}catch(n10){if(A11.throwErrorOnBrokenSymbolicLink)throw n10}return i7})}s7(XD,"readdirWithFileTypes"),Wt5.readdirWithFileTypes=XD;function $D3(t18,A11){return A11.fs.readdirSync(t18).map(r5=>{let i7=VD2.joinPathSegments(t18,r5,A11.pathSegmentSeparator),n10=DJ.statSync(i7,A11.fsStatSettings),o10={name:r5,path:i7,dirent:WD2.fs.createDirentFromStats(r5,n10)};return A11.stats&&(o10.stats=n10),o10})}s7($D3,"readdir"),Wt5.readdir=$D3;}),AS2=m2(Vt7=>{Object.defineProperty(Vt7,"__esModule",{value:!0}),Vt7.createFileSystemAdapter=Vt7.FILE_SYSTEM_ADAPTER=void 0;var Ai2=v11("fs");Vt7.FILE_SYSTEM_ADAPTER={lstat:Ai2.lstat,stat:Ai2.stat,lstatSync:Ai2.lstatSync,statSync:Ai2.statSync,readdir:Ai2.readdir,readdirSync:Ai2.readdirSync};function FJ(t18){return t18===void 0?Vt7.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Vt7.FILE_SYSTEM_ADAPTER),t18)}s7(FJ,"createFileSystemAdapter"),Vt7.createFileSystemAdapter=FJ;}),eS2=m2(PI2=>{Object.defineProperty(PI2,"__esModule",{value:!0});var kJ=v11("path"),bJ=ur4(),NJ=AS2(),YI3=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=NJ.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,kJ.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new bJ.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink});}_getValue(A11,e5){return A11??e5}};PI2.default=YI3;}),Zo4=m2(Xt7=>{Object.defineProperty(Xt7,"__esModule",{value:!0}),Xt7.Settings=Xt7.scandirSync=Xt7.scandir=void 0;var tS2=zD2(),MJ=ZD2(),UI2=eS2();Xt7.Settings=UI2.default;function RJ(t18,A11,e5){if(typeof A11=="function"){tS2.read(t18,_I2(),A11);return}tS2.read(t18,_I2(A11),e5);}s7(RJ,"scandir"),Xt7.scandir=RJ;function vJ(t18,A11){let e5=_I2(A11);return MJ.read(t18,e5)}s7(vJ,"scandirSync"),Xt7.scandirSync=vJ;function _I2(t18={}){return t18 instanceof UI2.default?t18:new UI2.default(t18)}s7(_I2,"getSettings");}),iS3=m2((P52,rS2)=>{function LJ(t18){var A11=new t18,e5=A11;function r5(){var n10=A11;return n10.next?A11=n10.next:(A11=new t18,e5=A11),n10.next=null,n10}s7(r5,"get");function i7(n10){e5.next=n10,e5=n10;}return s7(i7,"release"),{get:r5,release:i7}}s7(LJ,"reusify"),rS2.exports=LJ;}),nS2=m2((_52,GI)=>{var xJ=iS3();function sS2(t18,A11,e5){if(typeof t18=="function"&&(e5=A11,A11=t18,t18=null),!(e5>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var r5=xJ(YJ),i7=null,n10=null,o10=0,g5=null,C11={push:D10,drain:ye7,saturated:ye7,pause:E5,paused:!1,get concurrency(){return e5},set concurrency(U12){if(!(U12>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(e5=U12,!C11.paused)for(;i7&&o10<e5;)o10++,k13();},running:I12,resume:p7,idle:w8,length:Q12,getQueue:B11,unshift:N13,empty:ye7,kill:_11,killAndDrain:L11,error:J13};return C11;function I12(){return o10}function E5(){C11.paused=!0;}function Q12(){for(var U12=i7,Z14=0;U12;)U12=U12.next,Z14++;return Z14}function B11(){for(var U12=i7,Z14=[];U12;)Z14.push(U12.value),U12=U12.next;return Z14}function p7(){if(C11.paused){if(C11.paused=!1,i7===null){o10++,k13();return}for(;i7&&o10<e5;)o10++,k13();}}function w8(){return o10===0&&C11.length()===0}function D10(U12,Z14){var q13=r5.get();q13.context=t18,q13.release=k13,q13.value=U12,q13.callback=Z14||ye7,q13.errorHandler=g5,o10>=e5||C11.paused?n10?(n10.next=q13,n10=q13):(i7=q13,n10=q13,C11.saturated()):(o10++,A11.call(t18,q13.value,q13.worked));}function N13(U12,Z14){var q13=r5.get();q13.context=t18,q13.release=k13,q13.value=U12,q13.callback=Z14||ye7,q13.errorHandler=g5,o10>=e5||C11.paused?i7?(q13.next=i7,i7=q13):(i7=q13,n10=q13,C11.saturated()):(o10++,A11.call(t18,q13.value,q13.worked));}function k13(U12){U12&&r5.release(U12);var Z14=i7;Z14&&o10<=e5?C11.paused?o10--:(n10===i7&&(n10=null),i7=Z14.next,Z14.next=null,A11.call(t18,Z14.value,Z14.worked),n10===null&&C11.empty()):--o10===0&&C11.drain();}function _11(){i7=null,n10=null,C11.drain=ye7;}function L11(){i7=null,n10=null,C11.drain(),C11.drain=ye7;}function J13(U12){g5=U12;}}s7(sS2,"fastqueue");function ye7(){}s7(ye7,"noop");function YJ(){this.value=null,this.callback=ye7,this.next=null,this.release=ye7,this.context=null,this.errorHandler=null;var t18=this;this.worked=s7(function(e5,r5){var i7=t18.callback,n10=t18.errorHandler,o10=t18.value;t18.value=null,t18.callback=ye7,t18.errorHandler&&n10(e5,o10),i7.call(t18.context,e5,r5),t18.release(t18);},"worked");}s7(YJ,"Task");function PJ(t18,A11,e5){typeof t18=="function"&&(e5=A11,A11=t18,t18=null);function r5(E5,Q12){A11.call(this,E5).then(function(B11){Q12(null,B11);},Q12);}s7(r5,"asyncWrapper");var i7=sS2(t18,r5,e5),n10=i7.push,o10=i7.unshift;return i7.push=g5,i7.unshift=C11,i7.drained=I12,i7;function g5(E5){var Q12=new Promise(function(B11,p7){n10(E5,function(w8,D10){if(w8){p7(w8);return}B11(D10);});});return Q12.catch(ye7),Q12}function C11(E5){var Q12=new Promise(function(B11,p7){o10(E5,function(w8,D10){if(w8){p7(w8);return}B11(D10);});});return Q12.catch(ye7),Q12}function I12(){var E5=new Promise(function(Q12){process.nextTick(function(){if(i7.idle())Q12();else {var B11=i7.drain;i7.drain=function(){typeof B11=="function"&&B11(),Q12(),i7.drain=B11;};}});});return E5}}s7(PJ,"queueAsPromised"),GI.exports=sS2,GI.exports.promise=PJ;}),Ag2=m2(tt8=>{Object.defineProperty(tt8,"__esModule",{value:!0}),tt8.joinPathSegments=tt8.replacePathSegmentSeparator=tt8.isAppliedFilter=tt8.isFatalError=void 0;function UJ(t18,A11){return t18.errorFilter===null?!0:!t18.errorFilter(A11)}s7(UJ,"isFatalError"),tt8.isFatalError=UJ;function _J(t18,A11){return t18===null||t18(A11)}s7(_J,"isAppliedFilter"),tt8.isAppliedFilter=_J;function GJ(t18,A11){return t18.split(/[/\\]/).join(A11)}s7(GJ,"replacePathSegmentSeparator"),tt8.replacePathSegmentSeparator=GJ;function JJ(t18,A11,e5){return t18===""?A11:t18.endsWith(e5)?t18+A11:t18+e5+A11}s7(JJ,"joinPathSegments"),tt8.joinPathSegments=JJ;}),TI2=m2(OI2=>{Object.defineProperty(OI2,"__esModule",{value:!0});var OJ=Ag2(),JI2=class{static{s7(this,"Reader");}constructor(A11,e5){this._root=A11,this._settings=e5,this._root=OJ.replacePathSegmentSeparator(A11,e5.pathSegmentSeparator);}};OI2.default=JI2;}),qI3=m2(jI2=>{Object.defineProperty(jI2,"__esModule",{value:!0});var TJ=v11("events"),HJ=Zo4(),jJ=nS2(),eg2=Ag2(),qJ=TI2(),HI2=class extends qJ.default{static{s7(this,"AsyncReader");}constructor(A11,e5){super(A11,e5),this._settings=e5,this._scandir=HJ.scandir,this._emitter=new TJ.EventEmitter,this._queue=jJ(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(A11){this._emitter.on("entry",A11);}onError(A11){this._emitter.once("error",A11);}onEnd(A11){this._emitter.once("end",A11);}_pushToQueue(A11,e5){let r5={directory:A11,base:e5};this._queue.push(r5,i7=>{i7!==null&&this._handleError(i7);});}_worker(A11,e5){this._scandir(A11.directory,this._settings.fsScandirSettings,(r5,i7)=>{if(r5!==null){e5(r5,void 0);return}for(let n10 of i7)this._handleEntry(n10,A11.base);e5(null,void 0);});}_handleError(A11){this._isDestroyed||!eg2.isFatalError(this._settings,A11)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",A11));}_handleEntry(A11,e5){if(this._isDestroyed||this._isFatalError)return;let r5=A11.path;e5!==void 0&&(A11.path=eg2.joinPathSegments(e5,A11.name,this._settings.pathSegmentSeparator)),eg2.isAppliedFilter(this._settings.entryFilter,A11)&&this._emitEntry(A11),A11.dirent.isDirectory()&&eg2.isAppliedFilter(this._settings.deepFilter,A11)&&this._pushToQueue(r5,e5===void 0?void 0:A11.path);}_emitEntry(A11){this._emitter.emit("entry",A11);}};jI2.default=HI2;}),oS2=m2(WI3=>{Object.defineProperty(WI3,"__esModule",{value:!0});var zJ=qI3(),zI3=class{static{s7(this,"AsyncProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new zJ.default(this._root,this._settings),this._storage=[];}read(A11){this._reader.onError(e5=>{WJ(A11,e5);}),this._reader.onEntry(e5=>{this._storage.push(e5);}),this._reader.onEnd(()=>{VJ(A11,this._storage);}),this._reader.read();}};WI3.default=zI3;function WJ(t18,A11){t18(A11);}s7(WJ,"callFailureCallback");function VJ(t18,A11){t18(null,A11);}s7(VJ,"callSuccessCallback");}),gS2=m2(XI3=>{Object.defineProperty(XI3,"__esModule",{value:!0});var XJ=v11("stream"),$J=qI3(),VI2=class{static{s7(this,"StreamProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new $J.default(this._root,this._settings),this._stream=new XJ.Readable({objectMode:!0,read:s7(()=>{},"read"),destroy:s7(()=>{this._reader.isDestroyed||this._reader.destroy();},"destroy")});}read(){return this._reader.onError(A11=>{this._stream.emit("error",A11);}),this._reader.onEntry(A11=>{this._stream.push(A11);}),this._reader.onEnd(()=>{this._stream.push(null);}),this._reader.read(),this._stream}};XI3.default=VI2;}),aS3=m2(ZI2=>{Object.defineProperty(ZI2,"__esModule",{value:!0});var ZJ=Zo4(),tg4=Ag2(),A22=TI2(),$I2=class extends A22.default{static{s7(this,"SyncReader");}constructor(){super(...arguments),this._scandir=ZJ.scandirSync,this._storage=[],this._queue=new Set;}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(A11,e5){this._queue.add({directory:A11,base:e5});}_handleQueue(){for(let A11 of this._queue.values())this._handleDirectory(A11.directory,A11.base);}_handleDirectory(A11,e5){try{let r5=this._scandir(A11,this._settings.fsScandirSettings);for(let i7 of r5)this._handleEntry(i7,e5);}catch(r5){this._handleError(r5);}}_handleError(A11){if(tg4.isFatalError(this._settings,A11))throw A11}_handleEntry(A11,e5){let r5=A11.path;e5!==void 0&&(A11.path=tg4.joinPathSegments(e5,A11.name,this._settings.pathSegmentSeparator)),tg4.isAppliedFilter(this._settings.entryFilter,A11)&&this._pushToStorage(A11),A11.dirent.isDirectory()&&tg4.isAppliedFilter(this._settings.deepFilter,A11)&&this._pushToQueue(r5,e5===void 0?void 0:A11.path);}_pushToStorage(A11){this._storage.push(A11);}};ZI2.default=$I2;}),CS3=m2(eh=>{Object.defineProperty(eh,"__esModule",{value:!0});var e22=aS3(),Ah2=class{static{s7(this,"SyncProvider");}constructor(A11,e5){this._root=A11,this._settings=e5,this._reader=new e22.default(this._root,this._settings);}read(){return this._reader.read()}};eh.default=Ah2;}),cS2=m2(rh2=>{Object.defineProperty(rh2,"__esModule",{value:!0});var t22=v11("path"),r22=Zo4(),th3=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,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,t22.sep),this.fsScandirSettings=new r22.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink});}_getValue(A11,e5){return A11??e5}};rh2.default=th3;}),ig3=m2(rt8=>{Object.defineProperty(rt8,"__esModule",{value:!0}),rt8.Settings=rt8.walkStream=rt8.walkSync=rt8.walk=void 0;var IS2=oS2(),i22=gS2(),s22=CS3(),ih2=cS2();rt8.Settings=ih2.default;function n22(t18,A11,e5){if(typeof A11=="function"){new IS2.default(t18,rg3()).read(A11);return}new IS2.default(t18,rg3(A11)).read(e5);}s7(n22,"walk"),rt8.walk=n22;function o22(t18,A11){let e5=rg3(A11);return new s22.default(t18,e5).read()}s7(o22,"walkSync"),rt8.walkSync=o22;function g22(t18,A11){let e5=rg3(A11);return new i22.default(t18,e5).read()}s7(g22,"walkStream"),rt8.walkStream=g22;function rg3(t18={}){return t18 instanceof ih2.default?t18:new ih2.default(t18)}s7(rg3,"getSettings");}),sg2=m2(nh2=>{Object.defineProperty(nh2,"__esModule",{value:!0});var a22=v11("path"),C22=ur4(),hS2=Dt6(),sh2=class{static{s7(this,"Reader");}constructor(A11){this._settings=A11,this._fsStatSettings=new C22.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks});}_getFullEntryPath(A11){return a22.resolve(this._settings.cwd,A11)}_makeEntry(A11,e5){let r5={name:e5,path:e5,dirent:hS2.fs.createDirentFromStats(e5,A11)};return this._settings.stats&&(r5.stats=A11),r5}_isFatalError(A11){return !hS2.errno.isEnoentCodeError(A11)&&!this._settings.suppressErrors}};nh2.default=sh2;}),ah2=m2(gh2=>{Object.defineProperty(gh2,"__esModule",{value:!0});var c22=v11("stream"),I22=ur4(),h22=ig3(),l22=sg2(),oh2=class extends l22.default{static{s7(this,"ReaderStream");}constructor(){super(...arguments),this._walkStream=h22.walkStream,this._stat=I22.stat;}dynamic(A11,e5){return this._walkStream(A11,e5)}static(A11,e5){let r5=A11.map(this._getFullEntryPath,this),i7=new c22.PassThrough({objectMode:!0});i7._write=(n10,o10,g5)=>this._getEntry(r5[n10],A11[n10],e5).then(C11=>{C11!==null&&e5.entryFilter(C11)&&i7.push(C11),n10===r5.length-1&&i7.end(),g5();}).catch(g5);for(let n10=0;n10<r5.length;n10++)i7.write(n10);return i7}_getEntry(A11,e5,r5){return this._getStat(A11).then(i7=>this._makeEntry(i7,e5)).catch(i7=>{if(r5.errorFilter(i7))return null;throw i7})}_getStat(A11){return new Promise((e5,r5)=>{this._stat(A11,this._fsStatSettings,(i7,n10)=>i7===null?e5(n10):r5(i7));})}};gh2.default=oh2;}),lS2=m2(ch4=>{Object.defineProperty(ch4,"__esModule",{value:!0});var E22=ig3(),u22=sg2(),B22=ah2(),Ch2=class extends u22.default{static{s7(this,"ReaderAsync");}constructor(){super(...arguments),this._walkAsync=E22.walk,this._readerStream=new B22.default(this._settings);}dynamic(A11,e5){return new Promise((r5,i7)=>{this._walkAsync(A11,e5,(n10,o10)=>{n10===null?r5(o10):i7(n10);});})}async static(A11,e5){let r5=[],i7=this._readerStream.static(A11,e5);return new Promise((n10,o10)=>{i7.once("error",o10),i7.on("data",g5=>r5.push(g5)),i7.once("end",()=>n10(r5));})}};ch4.default=Ch2;}),ES3=m2(hh2=>{Object.defineProperty(hh2,"__esModule",{value:!0});var us4=Dt6(),Ih3=class{static{s7(this,"Matcher");}constructor(A11,e5,r5){this._patterns=A11,this._settings=e5,this._micromatchOptions=r5,this._storage=[],this._fillStorage();}_fillStorage(){for(let A11 of this._patterns){let e5=this._getPatternSegments(A11),r5=this._splitSegmentsIntoSections(e5);this._storage.push({complete:r5.length<=1,pattern:A11,segments:e5,sections:r5});}}_getPatternSegments(A11){return us4.pattern.getPatternParts(A11,this._micromatchOptions).map(r5=>us4.pattern.isDynamicPattern(r5,this._settings)?{dynamic:!0,pattern:r5,patternRe:us4.pattern.makeRe(r5,this._micromatchOptions)}:{dynamic:!1,pattern:r5})}_splitSegmentsIntoSections(A11){return us4.array.splitWhen(A11,e5=>e5.dynamic&&us4.pattern.hasGlobStar(e5.pattern))}};hh2.default=Ih3;}),uS2=m2(Eh3=>{Object.defineProperty(Eh3,"__esModule",{value:!0});var Q23=ES3(),lh3=class extends Q23.default{static{s7(this,"PartialMatcher");}match(A11){let e5=A11.split("/"),r5=e5.length,i7=this._storage.filter(n10=>!n10.complete||n10.segments.length>r5);for(let n10 of i7){let o10=n10.sections[0];if(!n10.complete&&r5>o10.length||e5.every((C11,I12)=>{let E5=n10.segments[I12];return !!(E5.dynamic&&E5.patternRe.test(C11)||!E5.dynamic&&E5.pattern===C11)}))return !0}return !1}};Eh3.default=lh3;}),BS2=m2(Bh3=>{Object.defineProperty(Bh3,"__esModule",{value:!0});var ng3=Dt6(),f22=uS2(),uh2=class{static{s7(this,"DeepFilter");}constructor(A11,e5){this._settings=A11,this._micromatchOptions=e5;}getFilter(A11,e5,r5){let i7=this._getMatcher(e5),n10=this._getNegativePatternsRe(r5);return o10=>this._filter(A11,o10,i7,n10)}_getMatcher(A11){return new f22.default(A11,this._settings,this._micromatchOptions)}_getNegativePatternsRe(A11){let e5=A11.filter(ng3.pattern.isAffectDepthOfReadingPattern);return ng3.pattern.convertPatternsToRe(e5,this._micromatchOptions)}_filter(A11,e5,r5,i7){if(this._isSkippedByDeep(A11,e5.path)||this._isSkippedSymbolicLink(e5))return !1;let n10=ng3.path.removeLeadingDotSegment(e5.path);return this._isSkippedByPositivePatterns(n10,r5)?!1:this._isSkippedByNegativePatterns(n10,i7)}_isSkippedByDeep(A11,e5){return this._settings.deep===1/0?!1:this._getEntryLevel(A11,e5)>=this._settings.deep}_getEntryLevel(A11,e5){let r5=e5.split("/").length;if(A11==="")return r5;let i7=A11.split("/").length;return r5-i7}_isSkippedSymbolicLink(A11){return !this._settings.followSymbolicLinks&&A11.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(A11,e5){return !this._settings.baseNameMatch&&!e5.match(A11)}_isSkippedByNegativePatterns(A11,e5){return !ng3.pattern.matchAny(A11,e5)}};Bh3.default=uh2;}),QS2=m2(fh2=>{Object.defineProperty(fh2,"__esModule",{value:!0});var $t7=Dt6(),Qh3=class{static{s7(this,"EntryFilter");}constructor(A11,e5){this._settings=A11,this._micromatchOptions=e5,this.index=new Map;}getFilter(A11,e5){let[r5,i7]=$t7.pattern.partitionAbsoluteAndRelative(e5),n10={positive:{all:$t7.pattern.convertPatternsToRe(A11,this._micromatchOptions)},negative:{absolute:$t7.pattern.convertPatternsToRe(r5,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:$t7.pattern.convertPatternsToRe(i7,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return o10=>this._filter(o10,n10)}_filter(A11,e5){let r5=$t7.path.removeLeadingDotSegment(A11.path);if(this._settings.unique&&this._isDuplicateEntry(r5)||this._onlyFileFilter(A11)||this._onlyDirectoryFilter(A11))return !1;let i7=this._isMatchToPatternsSet(r5,e5,A11.dirent.isDirectory());return this._settings.unique&&i7&&this._createIndexRecord(r5),i7}_isDuplicateEntry(A11){return this.index.has(A11)}_createIndexRecord(A11){this.index.set(A11,void 0);}_onlyFileFilter(A11){return this._settings.onlyFiles&&!A11.dirent.isFile()}_onlyDirectoryFilter(A11){return this._settings.onlyDirectories&&!A11.dirent.isDirectory()}_isMatchToPatternsSet(A11,e5,r5){return !(!this._isMatchToPatterns(A11,e5.positive.all,r5)||this._isMatchToPatterns(A11,e5.negative.relative,r5)||this._isMatchToAbsoluteNegative(A11,e5.negative.absolute,r5))}_isMatchToAbsoluteNegative(A11,e5,r5){if(e5.length===0)return !1;let i7=$t7.path.makeAbsolute(this._settings.cwd,A11);return this._isMatchToPatterns(i7,e5,r5)}_isMatchToPatterns(A11,e5,r5){if(e5.length===0)return !1;let i7=$t7.pattern.matchAny(A11,e5);return !i7&&r5?$t7.pattern.matchAny(A11+"/",e5):i7}};fh2.default=Qh3;}),fS2=m2(ph2=>{Object.defineProperty(ph2,"__esModule",{value:!0});var d22=Dt6(),dh2=class{static{s7(this,"ErrorFilter");}constructor(A11){this._settings=A11;}getFilter(){return A11=>this._isNonFatalError(A11)}_isNonFatalError(A11){return d22.errno.isEnoentCodeError(A11)||this._settings.suppressErrors}};ph2.default=dh2;}),pS2=m2(mh2=>{Object.defineProperty(mh2,"__esModule",{value:!0});var dS2=Dt6(),wh3=class{static{s7(this,"EntryTransformer");}constructor(A11){this._settings=A11;}getTransformer(){return A11=>this._transform(A11)}_transform(A11){let e5=A11.path;return this._settings.absolute&&(e5=dS2.path.makeAbsolute(this._settings.cwd,e5),e5=dS2.path.unixify(e5)),this._settings.markDirectories&&A11.dirent.isDirectory()&&(e5+="/"),this._settings.objectMode?Object.assign(Object.assign({},A11),{path:e5}):e5}};mh2.default=wh3;}),og3=m2(Dh3=>{Object.defineProperty(Dh3,"__esModule",{value:!0});var p22=v11("path"),w22=BS2(),m22=QS2(),y22=fS2(),D22=pS2(),yh2=class{static{s7(this,"Provider");}constructor(A11){this._settings=A11,this.errorFilter=new y22.default(this._settings),this.entryFilter=new m22.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new w22.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new D22.default(this._settings);}_getRootDirectory(A11){return p22.resolve(this._settings.cwd,A11.base)}_getReaderOptions(A11){let e5=A11.base==="."?"":A11.base;return {basePath:e5,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(e5,A11.positive,A11.negative),entryFilter:this.entryFilter.getFilter(A11.positive,A11.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}}};Dh3.default=yh2;}),wS2=m2(Kh2=>{Object.defineProperty(Kh2,"__esModule",{value:!0});var S22=lS2(),K22=og3(),Sh3=class extends K22.default{static{s7(this,"ProviderAsync");}constructor(){super(...arguments),this._reader=new S22.default(this._settings);}async read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11);return (await this.api(e5,A11,r5)).map(n10=>r5.transform(n10))}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};Kh2.default=Sh3;}),mS2=m2(kh3=>{Object.defineProperty(kh3,"__esModule",{value:!0});var F22=v11("stream"),k22=ah2(),b22=og3(),Fh3=class extends b22.default{static{s7(this,"ProviderStream");}constructor(){super(...arguments),this._reader=new k22.default(this._settings);}read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11),i7=this.api(e5,A11,r5),n10=new F22.Readable({objectMode:!0,read:s7(()=>{},"read")});return i7.once("error",o10=>n10.emit("error",o10)).on("data",o10=>n10.emit("data",r5.transform(o10))).once("end",()=>n10.emit("end")),n10.once("close",()=>i7.destroy()),n10}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};kh3.default=Fh3;}),yS2=m2(Nh3=>{Object.defineProperty(Nh3,"__esModule",{value:!0});var N22=ur4(),M22=ig3(),R22=sg2(),bh2=class extends R22.default{static{s7(this,"ReaderSync");}constructor(){super(...arguments),this._walkSync=M22.walkSync,this._statSync=N22.statSync;}dynamic(A11,e5){return this._walkSync(A11,e5)}static(A11,e5){let r5=[];for(let i7 of A11){let n10=this._getFullEntryPath(i7),o10=this._getEntry(n10,i7,e5);o10===null||!e5.entryFilter(o10)||r5.push(o10);}return r5}_getEntry(A11,e5,r5){try{let i7=this._getStat(A11);return this._makeEntry(i7,e5)}catch(i7){if(r5.errorFilter(i7))return null;throw i7}}_getStat(A11){return this._statSync(A11,this._fsStatSettings)}};Nh3.default=bh2;}),DS3=m2(Rh2=>{Object.defineProperty(Rh2,"__esModule",{value:!0});var v22=yS2(),L22=og3(),Mh3=class extends L22.default{static{s7(this,"ProviderSync");}constructor(){super(...arguments),this._reader=new v22.default(this._settings);}read(A11){let e5=this._getRootDirectory(A11),r5=this._getReaderOptions(A11);return this.api(e5,A11,r5).map(r5.transform)}api(A11,e5,r5){return e5.dynamic?this._reader.dynamic(A11,r5):this._reader.static(e5.patterns,r5)}};Rh2.default=Mh3;}),SS2=m2(ti4=>{Object.defineProperty(ti4,"__esModule",{value:!0}),ti4.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var ei6=v11("fs"),x22=v11("os"),Y22=Math.max(x22.cpus().length,1);ti4.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:ei6.lstat,lstatSync:ei6.lstatSync,stat:ei6.stat,statSync:ei6.statSync,readdir:ei6.readdir,readdirSync:ei6.readdirSync};var vh2=class{static{s7(this,"Settings");}constructor(A11={}){this._options=A11,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,Y22),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(A11,e5){return A11===void 0?e5:A11}_getFileSystemMethods(A11={}){return Object.assign(Object.assign({},ti4.DEFAULT_FILE_SYSTEM_ADAPTER),A11)}};ti4.default=vh2;}),Ph2=m2((x72,FS2)=>{var KS2=FD2(),P22=wS2(),U22=mS2(),_22=DS3(),Lh3=SS2(),De8=Dt6();async function xh3(t18,A11){Oe6(t18);let e5=Yh3(t18,P22.default,A11),r5=await Promise.all(e5);return De8.array.flatten(r5)}s7(xh3,"FastGlob"),function(t18){t18.glob=t18,t18.globSync=A11,t18.globStream=e5,t18.async=t18;function A11(I12,E5){Oe6(I12);let Q12=Yh3(I12,_22.default,E5);return De8.array.flatten(Q12)}s7(A11,"sync"),t18.sync=A11;function e5(I12,E5){Oe6(I12);let Q12=Yh3(I12,U22.default,E5);return De8.stream.merge(Q12)}s7(e5,"stream"),t18.stream=e5;function r5(I12,E5){Oe6(I12);let Q12=[].concat(I12),B11=new Lh3.default(E5);return KS2.generate(Q12,B11)}s7(r5,"generateTasks"),t18.generateTasks=r5;function i7(I12,E5){Oe6(I12);let Q12=new Lh3.default(E5);return De8.pattern.isDynamicPattern(I12,Q12)}s7(i7,"isDynamicPattern"),t18.isDynamicPattern=i7;function n10(I12){return Oe6(I12),De8.path.escape(I12)}s7(n10,"escapePath"),t18.escapePath=n10;function o10(I12){return Oe6(I12),De8.path.convertPathToPattern(I12)}s7(o10,"convertPathToPattern"),t18.convertPathToPattern=o10;(function(I12){function E5(B11){return Oe6(B11),De8.path.escapePosixPath(B11)}s7(E5,"escapePath"),I12.escapePath=E5;function Q12(B11){return Oe6(B11),De8.path.convertPosixPathToPattern(B11)}s7(Q12,"convertPathToPattern"),I12.convertPathToPattern=Q12;})(t18.posix||(t18.posix={}));(function(I12){function E5(B11){return Oe6(B11),De8.path.escapeWindowsPath(B11)}s7(E5,"escapePath"),I12.escapePath=E5;function Q12(B11){return Oe6(B11),De8.path.convertWindowsPathToPattern(B11)}s7(Q12,"convertPathToPattern"),I12.convertPathToPattern=Q12;})(t18.win32||(t18.win32={}));}(xh3||(xh3={}));function Yh3(t18,A11,e5){let r5=[].concat(t18),i7=new Lh3.default(e5),n10=KS2.generate(r5,i7),o10=new A11(i7);return n10.map(o10.read,o10)}s7(Yh3,"getWorks");function Oe6(t18){if(![].concat(t18).every(r5=>De8.string.isString(r5)&&!De8.string.isEmpty(r5)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}s7(Oe6,"assertPatternsInput"),FS2.exports=xh3;});async function Uh3(t18,A11,e5){if(typeof e5!="string")throw new TypeError(`Expected a string, got ${typeof e5}`);try{return (await fs6__default[t18](e5))[A11]()}catch(r5){if(r5.code==="ENOENT")return !1;throw r5}}function _h2(t18,A11,e5){if(typeof e5!="string")throw new TypeError(`Expected a string, got ${typeof e5}`);try{return tn6__default[t18](e5)[A11]()}catch(r5){if(r5.code==="ENOENT")return !1;throw r5}}var kS3,bS2,NS3=Ie8(()=>{s7(Uh3,"isType"),s7(_h2,"isTypeSync"),Uh3.bind(void 0,"stat","isFile"),kS3=Uh3.bind(void 0,"stat","isDirectory"),Uh3.bind(void 0,"lstat","isSymbolicLink"),_h2.bind(void 0,"statSync","isFile"),bS2=_h2.bind(void 0,"statSync","isDirectory"),_h2.bind(void 0,"lstatSync","isSymbolicLink");}),MS2=Ie8(()=>{});function Bs3(t18){return t18 instanceof URL?fileURLToPath(t18):t18}var Gh2=Ie8(()=>{MS2(),promisify$1(execFile),s7(Bs3,"toPath");}),_S2=m2((sAA,zh4)=>{function LS2(t18){return Array.isArray(t18)?t18:[t18]}s7(LS2,"makeArray");var j23=void 0,Oh4="",RS3=" ",Jh4="\\",q22=/^\s+$/,z22=/(?:[^\\]|^)\\$/,W22=/^\\!/,V23=/^\\#/,X22=/\r?\n/g,$22=/^\.{0,2}\/|^\.{1,2}$/,Z22=/\/$/,ri5="/",xS2="node-ignore";typeof Symbol<"u"&&(xS2=Symbol.for("node-ignore"));var YS2=xS2,Qs5=s7((t18,A11,e5)=>(Object.defineProperty(t18,A11,{value:e5}),e5),"define"),AO2=/([0-z])-([0-z])/g,PS2=s7(()=>!1,"RETURN_FALSE"),eO=s7(t18=>t18.replace(AO2,(A11,e5,r5)=>e5.charCodeAt(0)<=r5.charCodeAt(0)?A11:Oh4),"sanitizeRange"),tO2=s7(t18=>{let{length:A11}=t18;return t18.slice(0,A11-A11%2)},"cleanRangeBackSlash"),rO=[[/^\uFEFF/,()=>Oh4],[/((?:\\\\)*?)(\\?\s+)$/,(t18,A11,e5)=>A11+(e5.indexOf("\\")===0?RS3:Oh4)],[/(\\+?)\s/g,(t18,A11)=>{let{length:e5}=A11;return A11.slice(0,e5-e5%2)+RS3}],[/[\\$.|*+(){^]/g,t18=>`\\${t18}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,s7(function(){return /\/(?!$)/.test(this)?"^":"(?:^|\\/)"},"startingReplacer")],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t18,A11,e5)=>A11+6<e5.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t18,A11,e5)=>{let r5=e5.replace(/\\\*/g,"[^\\/]*");return A11+r5}],[/\\\\\\(?=[$.|*+(){^])/g,()=>Jh4],[/\\\\/g,()=>Jh4],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t18,A11,e5,r5,i7)=>A11===Jh4?`\\[${e5}${tO2(r5)}${i7}`:i7==="]"&&r5.length%2===0?`[${eO(e5)}${r5}]`:"[]"],[/(?:[^*])$/,t18=>/\/$/.test(t18)?`${t18}$`:`${t18}(?=$|\\/$)`]],iO2=/(^|\\\/)?\\\*$/,fs13="regex",gg3="checkRegex",vS2="_",sO={[fs13](t18,A11){return `${A11?`${A11}[^/]+`:"[^/]*"}(?=$|\\/$)`},[gg3](t18,A11){return `${A11?`${A11}[^/]*`:"[^/]*"}(?=$|\\/$)`}},nO2=s7(t18=>rO.reduce((A11,[e5,r5])=>A11.replace(e5,r5.bind(t18)),t18),"makeRegexPrefix"),ag3=s7(t18=>typeof t18=="string","isString"),oO=s7(t18=>t18&&ag3(t18)&&!q22.test(t18)&&!z22.test(t18)&&t18.indexOf("#")!==0,"checkPattern"),gO3=s7(t18=>t18.split(X22).filter(Boolean),"splitPattern"),Th4=class{static{s7(this,"IgnoreRule");}constructor(A11,e5,r5,i7,n10,o10){this.pattern=A11,this.mark=e5,this.negative=n10,Qs5(this,"body",r5),Qs5(this,"ignoreCase",i7),Qs5(this,"regexPrefix",o10);}get regex(){let A11=vS2+fs13;return this[A11]?this[A11]:this._make(fs13,A11)}get checkRegex(){let A11=vS2+gg3;return this[A11]?this[A11]:this._make(gg3,A11)}_make(A11,e5){let r5=this.regexPrefix.replace(iO2,sO[A11]),i7=this.ignoreCase?new RegExp(r5,"i"):new RegExp(r5);return Qs5(this,e5,i7)}},aO=s7(({pattern:t18,mark:A11},e5)=>{let r5=!1,i7=t18;i7.indexOf("!")===0&&(r5=!0,i7=i7.substr(1)),i7=i7.replace(W22,"!").replace(V23,"#");let n10=nO2(i7);return new Th4(t18,A11,i7,e5,r5,n10)},"createRule"),Hh3=class{static{s7(this,"RuleManager");}constructor(A11){this._ignoreCase=A11,this._rules=[];}_add(A11){if(A11&&A11[YS2]){this._rules=this._rules.concat(A11._rules._rules),this._added=!0;return}if(ag3(A11)&&(A11={pattern:A11}),oO(A11.pattern)){let e5=aO(A11,this._ignoreCase);this._added=!0,this._rules.push(e5);}}add(A11){return this._added=!1,LS2(ag3(A11)?gO3(A11):A11).forEach(this._add,this),this._added}test(A11,e5,r5){let i7=!1,n10=!1,o10;this._rules.forEach(C11=>{let{negative:I12}=C11;n10===I12&&i7!==n10||I12&&!i7&&!n10&&!e5||!C11[r5].test(A11)||(i7=!I12,n10=I12,o10=I12?j23:C11);});let g5={ignored:i7,unignored:n10};return o10&&(g5.rule=o10),g5}},CO2=s7((t18,A11)=>{throw new A11(t18)},"throwError"),St7=s7((t18,A11,e5)=>ag3(t18)?t18?St7.isNotRelative(t18)?e5(`path should be a \`path.relative()\`d string, but got "${A11}"`,RangeError):!0:e5("path must not be empty",TypeError):e5(`path must be a string, but got \`${A11}\``,TypeError),"checkPath"),US3=s7(t18=>$22.test(t18),"isNotRelative");St7.isNotRelative=US3,St7.convert=t18=>t18;var jh2=class{static{s7(this,"Ignore");}constructor({ignorecase:A11=!0,ignoreCase:e5=A11,allowRelativePaths:r5=!1}={}){Qs5(this,YS2,!0),this._rules=new Hh3(e5),this._strictPathCheck=!r5,this._initCache();}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null);}add(A11){return this._rules.add(A11)&&this._initCache(),this}addPattern(A11){return this.add(A11)}_test(A11,e5,r5,i7){let n10=A11&&St7.convert(A11);return St7(n10,A11,this._strictPathCheck?CO2:PS2),this._t(n10,e5,r5,i7)}checkIgnore(A11){if(!Z22.test(A11))return this.test(A11);let e5=A11.split(ri5).filter(Boolean);if(e5.pop(),e5.length){let r5=this._t(e5.join(ri5)+ri5,this._testCache,!0,e5);if(r5.ignored)return r5}return this._rules.test(A11,!1,gg3)}_t(A11,e5,r5,i7){if(A11 in e5)return e5[A11];if(i7||(i7=A11.split(ri5).filter(Boolean)),i7.pop(),!i7.length)return e5[A11]=this._rules.test(A11,r5,fs13);let n10=this._t(i7.join(ri5)+ri5,e5,r5,i7);return e5[A11]=n10.ignored?n10:this._rules.test(A11,r5,fs13)}ignores(A11){return this._test(A11,this._ignoreCache,!1).ignored}createFilter(){return A11=>!this.ignores(A11)}filter(A11){return LS2(A11).filter(this.createFilter())}test(A11){return this._test(A11,this._testCache,!0)}},qh2=s7(t18=>new jh2(t18),"factory"),cO2=s7(t18=>St7(t18&&St7.convert(t18),t18,PS2),"isPathValid");if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t18=s7(e5=>/^\\\\\?\\/.test(e5)||/["<>|\u0000-\u001F]+/u.test(e5)?e5:e5.replace(/\\/g,"/"),"makePosix");St7.convert=t18;let A11=/^[a-z]:\//i;St7.isNotRelative=e5=>A11.test(e5)||US3(e5);}zh4.exports=qh2,qh2.default=qh2,zh4.exports.isPathValid=cO2;}),ds3,Wh2=Ie8(()=>{ds3=s7(t18=>t18[0]==="!","isNegativePattern");}),Vh3,GS2,EO3,JS2,Cg2,uO2,BO2,QO2,OS2,TS3,ps3,ws2,HS2,jS3,Xh2=Ie8(()=>{Vh3=cA2(Ph2(),1),GS2=cA2(_S2(),1),Rr6(),Gh2(),Wh2(),EO3=["**/node_modules","**/flow-typed","**/coverage","**/.git"],JS2={absolute:!0,dot:!0},Cg2="**/.gitignore",uO2=s7((t18,A11)=>ds3(t18)?"!"+path2.posix.join(A11,t18.slice(1)):path2.posix.join(A11,t18),"applyBaseToPattern"),BO2=s7((t18,A11)=>{let e5=Ae6(path2.relative(A11,path2.dirname(t18.filePath)));return t18.content.split(/\r?\n/).filter(r5=>r5&&!r5.startsWith("#")).map(r5=>uO2(r5,e5))},"parseIgnoreFile"),QO2=s7((t18,A11)=>{if(A11=Ae6(A11),path2.isAbsolute(t18)){if(Ae6(t18).startsWith(A11))return path2.relative(A11,t18);throw new Error(`Path ${t18} is not in cwd ${A11}`)}return t18},"toRelativePath"),OS2=s7((t18,A11)=>{let e5=t18.flatMap(i7=>BO2(i7,A11)),r5=(0, GS2.default)().add(e5);return i7=>(i7=Bs3(i7),i7=QO2(i7,A11),i7?r5.ignores(Ae6(i7)):!1)},"getIsIgnoredPredicate"),TS3=s7((t18={})=>({cwd:Bs3(t18.cwd)??Q.cwd(),suppressErrors:!!t18.suppressErrors,deep:typeof t18.deep=="number"?t18.deep:Number.POSITIVE_INFINITY,ignore:[...t18.ignore??[],...EO3]}),"normalizeOptions"),ps3=s7(async(t18,A11)=>{let{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10}=TS3(A11),o10=await(0, Vh3.default)(t18,{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10,...JS2}),g5=await Promise.all(o10.map(async C11=>({filePath:C11,content:await fs6__default.readFile(C11,"utf8")})));return OS2(g5,e5)},"isIgnoredByIgnoreFiles"),ws2=s7((t18,A11)=>{let{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10}=TS3(A11),g5=Vh3.default.sync(t18,{cwd:e5,suppressErrors:r5,deep:i7,ignore:n10,...JS2}).map(C11=>({filePath:C11,content:tn6__default.readFileSync(C11,"utf8")}));return OS2(g5,e5)},"isIgnoredByIgnoreFilesSync"),HS2=s7(t18=>ps3(Cg2,t18),"isGitIgnored"),jS3=s7(t18=>ws2(Cg2,t18),"isGitIgnoredSync");}),oK={};Ii(oK,{convertPathToPattern:()=>kO,generateGlobTasks:()=>KO2,generateGlobTasksSync:()=>FO2,globby:()=>mO3,globbyStream:()=>DO2,globbySync:()=>yO3,isDynamicPattern:()=>SO2,isGitIgnored:()=>HS2,isGitIgnoredSync:()=>jS3,isIgnoredByIgnoreFiles:()=>ps3,isIgnoredByIgnoreFilesSync:()=>ws2});var ni6,dO2,VS2,XS2,qS2,zS2,$h2,pO3,$S2,ZS2,cg2,AK,wO2,eK,tK,rK,iK,sK,nK,Zh2,mO3,yO3,DO2,SO2,KO2,FO2,kO,gK=Ie8(()=>{sy(),ni6=cA2(Ph2(),1),NS3(),Gh2(),Xh2(),Wh2(),Xh2(),dO2=s7(t18=>{if(t18.some(A11=>typeof A11!="string"))throw new TypeError("Patterns must be a string or an array of strings")},"assertPatternsInput"),VS2=s7((t18,A11)=>{let e5=ds3(t18)?t18.slice(1):t18;return path2.isAbsolute(e5)?e5:path2.join(A11,e5)},"normalizePathForDirectoryGlob"),XS2=s7(({directoryPath:t18,files:A11,extensions:e5})=>{let r5=e5?.length>0?`.${e5.length>1?`{${e5.join(",")}}`:e5[0]}`:"";return A11?A11.map(i7=>path2.posix.join(t18,`**/${path2.extname(i7)?i7:`${i7}${r5}`}`)):[path2.posix.join(t18,`**${r5?`/*${r5}`:""}`)]},"getDirectoryGlob"),qS2=s7(async(t18,{cwd:A11=Q.cwd(),files:e5,extensions:r5}={})=>(await Promise.all(t18.map(async n10=>await kS3(VS2(n10,A11))?XS2({directoryPath:n10,files:e5,extensions:r5}):n10))).flat(),"directoryToGlob"),zS2=s7((t18,{cwd:A11=Q.cwd(),files:e5,extensions:r5}={})=>t18.flatMap(i7=>bS2(VS2(i7,A11))?XS2({directoryPath:i7,files:e5,extensions:r5}):i7),"directoryToGlobSync"),$h2=s7(t18=>(t18=[...new Set([t18].flat())],dO2(t18),t18),"toPatternsArray"),pO3=s7(t18=>{if(!t18)return;let A11;try{A11=tn6__default.statSync(t18);}catch{return}if(!A11.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},"checkCwdOption"),$S2=s7((t18={})=>(t18={...t18,ignore:t18.ignore??[],expandDirectories:t18.expandDirectories??!0,cwd:Bs3(t18.cwd)},pO3(t18.cwd),t18),"normalizeOptions"),ZS2=s7(t18=>async(A11,e5)=>t18($h2(A11),$S2(e5)),"normalizeArguments"),cg2=s7(t18=>(A11,e5)=>t18($h2(A11),$S2(e5)),"normalizeArgumentsSync"),AK=s7(t18=>{let{ignoreFiles:A11,gitignore:e5}=t18,r5=A11?$h2(A11):[];return e5&&r5.push(Cg2),r5},"getIgnoreFilesPatterns"),wO2=s7(async t18=>{let A11=AK(t18);return tK(A11.length>0&&await ps3(A11,t18))},"getFilter"),eK=s7(t18=>{let A11=AK(t18);return tK(A11.length>0&&ws2(A11,t18))},"getFilterSync"),tK=s7(t18=>{let A11=new Set;return e5=>{let r5=path2.normalize(e5.path??e5);return A11.has(r5)||t18&&t18(r5)?!1:(A11.add(r5),!0)}},"createFilterFunction"),rK=s7((t18,A11)=>t18.flat().filter(e5=>A11(e5)),"unionFastGlobResults"),iK=s7((t18,A11)=>{let e5=[];for(;t18.length>0;){let r5=t18.findIndex(n10=>ds3(n10));if(r5===-1){e5.push({patterns:t18,options:A11});break}let i7=t18[r5].slice(1);for(let n10 of e5)n10.options.ignore.push(i7);r5!==0&&e5.push({patterns:t18.slice(0,r5),options:{...A11,ignore:[...A11.ignore,i7]}}),t18=t18.slice(r5+1);}return e5},"convertNegativePatterns"),sK=s7((t18,A11)=>({...A11?{cwd:A11}:{},...Array.isArray(t18)?{files:t18}:t18}),"normalizeExpandDirectoriesOption"),nK=s7(async(t18,A11)=>{let e5=iK(t18,A11),{cwd:r5,expandDirectories:i7}=A11;if(!i7)return e5;let n10=sK(i7,r5);return Promise.all(e5.map(async o10=>{let{patterns:g5,options:C11}=o10;return [g5,C11.ignore]=await Promise.all([qS2(g5,n10),qS2(C11.ignore,{cwd:r5})]),{patterns:g5,options:C11}}))},"generateTasks"),Zh2=s7((t18,A11)=>{let e5=iK(t18,A11),{cwd:r5,expandDirectories:i7}=A11;if(!i7)return e5;let n10=sK(i7,r5);return e5.map(o10=>{let{patterns:g5,options:C11}=o10;return g5=zS2(g5,n10),C11.ignore=zS2(C11.ignore,{cwd:r5}),{patterns:g5,options:C11}})},"generateTasksSync"),mO3=ZS2(async(t18,A11)=>{let[e5,r5]=await Promise.all([nK(t18,A11),wO2(A11)]),i7=await Promise.all(e5.map(n10=>(0, ni6.default)(n10.patterns,n10.options)));return rK(i7,r5)}),yO3=cg2((t18,A11)=>{let e5=Zh2(t18,A11),r5=eK(A11),i7=e5.map(n10=>ni6.default.sync(n10.patterns,n10.options));return rK(i7,r5)}),DO2=cg2((t18,A11)=>{let e5=Zh2(t18,A11),r5=eK(A11),i7=e5.map(o10=>ni6.default.stream(o10.patterns,o10.options));return CI2(i7).filter(o10=>r5(o10))}),SO2=cg2((t18,A11)=>t18.some(e5=>ni6.default.isDynamicPattern(e5,A11))),KO2=ZS2(nK),FO2=cg2(Zh2),{convertPathToPattern:kO}=ni6.default;}),cK={};Ii(cK,{default:()=>Al2,limitFunction:()=>bO3});function Al2(t18){CK(t18);let A11=new rr7,e5=0,r5=s7(()=>{e5<t18&&A11.size>0&&(A11.dequeue()(),e5++);},"resumeNext"),i7=s7(()=>{e5--,r5();},"next"),n10=s7(async(C11,I12,E5)=>{let Q12=(async()=>C11(...E5))();I12(Q12);try{await Q12;}catch{}i7();},"run"),o10=s7((C11,I12,E5)=>{new Promise(Q12=>{A11.enqueue(Q12);}).then(n10.bind(void 0,C11,I12,E5)),(async()=>(await Promise.resolve(),e5<t18&&r5()))();},"enqueue"),g5=s7((C11,...I12)=>new Promise(E5=>{o10(C11,E5,I12);}),"generator");return Object.defineProperties(g5,{activeCount:{get:s7(()=>e5,"get")},pendingCount:{get:s7(()=>A11.size,"get")},clearQueue:{value(){A11.clear();}},concurrency:{get:s7(()=>t18,"get"),set(C11){CK(C11),t18=C11,queueMicrotask(()=>{for(;e5<t18&&A11.size>0;)r5();});}}}),g5}function bO3(t18,A11){let{concurrency:e5}=A11,r5=Al2(e5);return (...i7)=>r5(()=>t18(...i7))}function CK(t18){if(!((Number.isInteger(t18)||t18===Number.POSITIVE_INFINITY)&&t18>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}var ot6={"@storybook/addon-a11y":"9.1.7","@storybook/addon-docs":"9.1.7","@storybook/addon-jest":"9.1.7","@storybook/addon-links":"9.1.7","@storybook/addon-onboarding":"9.1.7","storybook-addon-pseudo-states":"9.1.7","@storybook/addon-themes":"9.1.7","@storybook/addon-vitest":"9.1.7","@storybook/builder-vite":"9.1.7","@storybook/builder-webpack5":"9.1.7",storybook:"9.1.7","@storybook/angular":"9.1.7","@storybook/ember":"9.1.7","@storybook/html-vite":"9.1.7","@storybook/nextjs":"9.1.7","@storybook/nextjs-vite":"9.1.7","@storybook/preact-vite":"9.1.7","@storybook/react-native-web-vite":"9.1.7","@storybook/react-vite":"9.1.7","@storybook/react-webpack5":"9.1.7","@storybook/server-webpack5":"9.1.7","@storybook/svelte-vite":"9.1.7","@storybook/sveltekit":"9.1.7","@storybook/vue3-vite":"9.1.7","@storybook/web-components-vite":"9.1.7",sb:"9.1.7","@storybook/cli":"9.1.7","@storybook/codemod":"9.1.7","@storybook/core-webpack":"9.1.7","create-storybook":"9.1.7","@storybook/csf-plugin":"9.1.7","eslint-plugin-storybook":"9.1.7","@storybook/react-dom-shim":"9.1.7","@storybook/preset-create-react-app":"9.1.7","@storybook/preset-react-webpack":"9.1.7","@storybook/preset-server-webpack":"9.1.7","@storybook/html":"9.1.7","@storybook/preact":"9.1.7","@storybook/react":"9.1.7","@storybook/server":"9.1.7","@storybook/svelte":"9.1.7","@storybook/vue3":"9.1.7","@storybook/web-components":"9.1.7"},FE2=cA2(gt4(),1),dg3=new Set([".js",".jsx",".ts",".tsx",".cts",".mts",".cjs",".mjs"]);function nF(){return [...Array.from(dg3)]}s7(nF,"sortExtensions");var Bl2=nF();function wr8(t18){return Bl2.map(A11=>t18.endsWith(A11)?t18:`${t18}${A11}`).find(A11=>existsSync(A11))}s7(wr8,"getInterpretedFile");function Ql2(t18){return Bl2.map(A11=>({path:t18.endsWith(A11)?t18:`${t18}${A11}`,ext:A11})).find(A11=>existsSync(A11.path))}s7(Ql2,"getInterpretedFileWithExt");var fl2=!1;function pg2(t18){let A11=!!v11("module")._extensions[".ts"];if(fl2===!1&&!A11){let{register:i7}=v11("esbuild-register/dist/node");fl2=!0,i7({target:`node${process.version.slice(1)}`,format:"cjs",hookIgnoreNodeModules:!0,keepNames:!0,tsconfigRaw:`{
2617
2618
  "compilerOptions": {
2618
2619
  "strict": false,
2619
2620
  "skipLibCheck": true,
@@ -2671,7 +2672,7 @@ ${n10.map(oC2.default.magenta).join(", ")}`),A11}s7(_02,"getSyncedStorybookAddon
2671
2672
  -> ${C11}
2672
2673
  `});}return [r5,i7.map(({code:g5,message:C11})=>`${g5}: ${C11}`).join(`
2673
2674
  `)].join(`
2674
- `)}};(class{static{s7(this,"JsPackageManagerFactory");}static{this.cache=new Map;}static getCacheKey(A11,e5=".storybook",r5=process.cwd(),i7){return JSON.stringify({force:A11||null,configDir:e5,cwd:r5,storiesPaths:i7})}static clearCache(){this.cache.clear();}static getPackageManagerType(A11=process.cwd()){let e5=pA3(),i7=[QA2(yn4,{cwd:A11,stopAt:e5}),QA2(mn6,{cwd:A11,stopAt:e5}),QA2(wn5,{cwd:A11,stopAt:e5}),QA2(Dn6,{cwd:A11,stopAt:e5}),QA2(Sn4,{cwd:A11,stopAt:e5})].filter(Boolean).sort((I12,E5)=>{let Q12=parse(I12).dir,B11=parse(E5).dir,p7=relative(Q12,B11);return Q12===B11?0:p7.startsWith("..")?-1:1})[0],n10=i7&&basename(i7),o10=$x2(A11);if(o10&&n10===yn4)return o10===1?"yarn1":"yarn2";if(Xx2(A11)&&n10===mn6)return "pnpm";let g5=Wx(A11);if(g5&&n10===wn5)return "npm";if(Vx(A11)&&(n10===Dn6||n10===Sn4))return "bun";let C11=this.inferPackageManagerFromUserAgent();if(C11&&C11 in this.PROXY_MAP)return C11;if(g5)return "npm";throw new Error("Unable to find a usable package manager within NPM, PNPM, Yarn and Yarn 2")}static getPackageManager({force:A11,configDir:e5=".storybook",storiesPaths:r5,ignoreCache:i7=!1}={},n10=process.cwd()){let o10=this.getCacheKey(A11,e5,n10,r5),g5=this.cache.get(o10);if(g5&&!i7)return g5;if(A11&&A11 in this.PROXY_MAP){let E5=new this.PROXY_MAP[A11]({cwd:n10,configDir:e5,storiesPaths:r5});return this.cache.set(o10,E5),E5}let C11=this.getPackageManagerType(n10),I12=new this.PROXY_MAP[C11]({cwd:n10,configDir:e5,storiesPaths:r5});return this.cache.set(o10,I12),I12}static{this.PROXY_MAP={npm:Pn4,pnpm:Un5,yarn1:Gn5,yarn2:Bo5,bun:Yn4};}static inferPackageManagerFromUserAgent(){let A11=process.env.npm_config_user_agent;if(A11){let e5=A11.split(" ")[0],[r5,i7]=e5.split("/");if(r5==="pnpm")return "pnpm";if(r5==="npm")return "npm";if(r5==="yarn")return `yarn${i7?.startsWith("1.")?"1":"2"}`}}});function Wx(t18){return (0, rs2.sync)("npm",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Wx,"hasNPM");function Vx(t18){return (0, rs2.sync)("bun",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Vx,"hasBun");function Xx2(t18){return (0, rs2.sync)("pnpm",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Xx2,"hasPNPM");function $x2(t18){let A11=(0, rs2.sync)("yarn",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}});if(A11.status!==0)return;let e5=A11.output.toString().replace(/,/g,"").replace(/"/g,"");return /^1\.+/.test(e5)?1:2}s7($x2,"getYarnVersion");var aK=cA2(Xm(),1);async function bAA({promptMessage:t18="Enter a custom glob pattern to scan (or press enter to use default):",defaultGlob:A11="**/*.{mjs,cjs,js,jsx,ts,tsx,mdx}",dryRun:e5=!1,force:r5=!1,transformFn:i7,transformOptions:n10}){let{glob:o10}=r5?{glob:A11}:await(0, aK.default)({type:"text",name:"glob",message:t18,initial:A11});console.log("Scanning for affected files...");let g5=(await Promise.resolve().then(()=>(gK(),oK))).globby,C11=await g5([o10],{...uQ(""),ignore:["**/node_modules/**"],dot:!0,cwd:pA3(),absolute:!0});return console.log(`Scanning ${C11.length} files...`),i7(C11,n10,e5)}s7(bAA,"scanAndTransformFiles");function RO2(t18,A11){let e5=!1,r5=t18;for(let[i7,n10]of Object.entries(A11)){let o10=new RegExp(`(['"])${i7}(/.*)?\\1`,"g");o10.test(r5)&&(r5=r5.replace(o10,`$1${n10}$2$1`),e5=!0);}return e5?r5:null}s7(RO2,"transformImports");var import_fetch_retry=__toESM(require_fetch_retry_umd(),1);var urlAlphabet="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var POOL_SIZE_MULTIPLIER=128,pool,poolOffset,fillPool=bytes=>{!pool||pool.length<bytes?(pool=Buffer.allocUnsafe(bytes*POOL_SIZE_MULTIPLIER),randomFillSync(pool),poolOffset=0):poolOffset+bytes>pool.length&&(randomFillSync(pool),poolOffset=0),poolOffset+=bytes;};var nanoid=(size=21)=>{fillPool(size-=0);let id2="";for(let i7=poolOffset-size;i7<poolOffset;i7++)id2+=urlAlphabet[pool[i7]&63];return id2};var version="9.1.5";var oneWayHash=payload=>{let hash=createHash$1("sha256");return hash.update("storybook-telemetry-salt"),hash.update(payload),hash.digest("hex")};function normalizeGitUrl(rawUrl){let urlWithoutScheme=rawUrl.trim().replace(/#.*$/,"").replace(/^.*@/,"").replace(/^.*\/\//,"");return (urlWithoutScheme.endsWith(".git")?urlWithoutScheme:`${urlWithoutScheme}.git`).replace(":","/")}function unhashedProjectId(remoteUrl,projectRootPath){return `${normalizeGitUrl(remoteUrl)}${slash(projectRootPath)}`}var anonymousProjectId,getAnonymousProjectId=()=>{if(anonymousProjectId)return anonymousProjectId;try{let projectRootPath=relative(pA3(),process.cwd()),originBuffer=execSync("git config --local --get remote.origin.url",{timeout:1e3,stdio:"pipe"});anonymousProjectId=oneWayHash(unhashedProjectId(String(originBuffer),projectRootPath));}catch{}return anonymousProjectId};var operation=Promise.resolve(),setHelper=async(eventType,body)=>{let lastEvents=await jj2.get("lastEvents")||{};lastEvents[eventType]={body,timestamp:Date.now()},await jj2.set("lastEvents",lastEvents);},set=async(eventType,body)=>(await operation,operation=setHelper(eventType,body),operation);var fetch2=global.fetch;var SESSION_TIMEOUT=1e3*60*60*2,sessionId;var getSessionId=async()=>{let now=Date.now();if(!sessionId){let session=await jj2.get("session");session&&session.lastUsed>=now-SESSION_TIMEOUT?sessionId=session.id:sessionId=nanoid();}return await jj2.set("session",{id:sessionId,lastUsed:now}),sessionId};var retryingFetch=(0, import_fetch_retry.default)(fetch2),URL2=process.env.STORYBOOK_TELEMETRY_URL||"https://storybook.js.org/event-log",tasks=[],addToGlobalContext=(key,value2)=>{globalContext[key]=value2;},getOperatingSystem=()=>{try{let platform5=em.platform();return platform5==="win32"?"Windows":platform5==="darwin"?"macOS":platform5==="linux"?"Linux":`Other: ${platform5}`}catch{return "Unknown"}},globalContext={inCI:c4(),isTTY:process.stdout.isTTY,platform:getOperatingSystem(),nodeVersion:process.versions.node,storybookVersion:version},prepareRequest=async(data,context,options)=>{let{eventType,payload,metadata,...rest}=data,sessionId2=await getSessionId(),eventId=nanoid(),body={...rest,eventType,eventId,sessionId:sessionId2,metadata,payload,context};return retryingFetch(URL2,{method:"post",body:JSON.stringify(body),headers:{"Content-Type":"application/json"},retries:3,retryOn:[503,504],retryDelay:attempt=>2**attempt*(typeof options?.retryDelay=="number"&&!Number.isNaN(options?.retryDelay)?options.retryDelay:1e3)})};async function sendTelemetry(data,options={retryDelay:1e3,immediate:!1}){let{eventType,payload,metadata,...rest}=data,context=options.stripMetadata?globalContext:{...globalContext,anonymousId:getAnonymousProjectId()},request;try{request=prepareRequest(data,context,options),tasks.push(request),options.immediate?await Promise.all(tasks):await request;let sessionId2=await getSessionId(),eventId=nanoid(),body={...rest,eventType,eventId,sessionId:sessionId2,metadata,payload,context};await set(eventType,body);}catch{}finally{tasks=tasks.filter(task=>task!==request);}}var import_picocolors=__toESM(require_picocolors(),1),TELEMETRY_KEY_NOTIFY_DATE="telemetry-notification-date",notify=async()=>{await jj2.get(TELEMETRY_KEY_NOTIFY_DATE,null)||(jj2.set(TELEMETRY_KEY_NOTIFY_DATE,Date.now()),DE.log(`${hu.info("Attention:")} Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features.`),DE.log("You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:"),DE.log(import_picocolors.default.cyan("https://storybook.js.org/telemetry")),DE.log(""));};function regexpEscape(str){return str.replace(/[-[/{}()*+?.\\^$|]/g,"\\$&")}function removeAnsiEscapeCodes(input=""){return input.replace(/\u001B\[[0-9;]*m/g,"")}function cleanPaths(str,separator=path2.sep){if(!str)return str;let stack=process.cwd().split(separator);for(;stack.length>1;){let currentPath=stack.join(separator),currentRegex=new RegExp(regexpEscape(currentPath),"gi");str=str.replace(currentRegex,"$SNIP");let currentPath2=stack.join(separator+separator),currentRegex2=new RegExp(regexpEscape(currentPath2),"gi");str=str.replace(currentRegex2,"$SNIP"),stack.pop();}return str}function sanitizeError(error2,pathSeparator=path2.sep){try{error2={...JSON.parse(JSON.stringify(error2)),message:removeAnsiEscapeCodes(error2.message),stack:removeAnsiEscapeCodes(error2.stack),cause:error2.cause,name:error2.name};let errorString=cleanPaths(JSON.stringify(error2),pathSeparator);return JSON.parse(errorString)}catch(err){return `Sanitization error: ${err?.message}`}}var walkUp=function*(path12){for(path12=resolve$1(path12);path12;){yield path12;let pp5=dirname$1(path12);if(pp5===path12)break;path12=pp5;}};async function fileExists(path12){try{return (await stat(path12)).isFile()}catch{return !1}}async function findPackagePath(cwd2){for(let path12 of walkUp(cwd2)){let packagePath=resolve(path12,"package.json");if(await fileExists(packagePath))return packagePath}return null}async function findPackage(cwd2){let packagePath=await findPackagePath(cwd2);if(!packagePath)return null;try{let source=await readFile(packagePath,{encoding:"utf8"});return JSON.parse(source)}catch{return null}}function dedent(templ){for(var values=[],_i3=1;_i3<arguments.length;_i3++)values[_i3-1]=arguments[_i3];var strings=Array.from(typeof templ=="string"?[templ]:templ);strings[strings.length-1]=strings[strings.length-1].replace(/\r?\n([\t ]*)$/,"");var indentLengths=strings.reduce(function(arr,str){var matches=str.match(/\n([\t ]+|(?!\s).)/g);return matches?arr.concat(matches.map(function(match2){var _a2,_b2;return (_b2=(_a2=match2.match(/[\t ]/g))===null||_a2===void 0?void 0:_a2.length)!==null&&_b2!==void 0?_b2:0})):arr},[]);if(indentLengths.length){var pattern_1=new RegExp(`
2675
+ `)}};(class{static{s7(this,"JsPackageManagerFactory");}static{this.cache=new Map;}static getCacheKey(A11,e5=".storybook",r5=process.cwd(),i7){return JSON.stringify({force:A11||null,configDir:e5,cwd:r5,storiesPaths:i7})}static clearCache(){this.cache.clear();}static getPackageManagerType(A11=process.cwd()){let e5=pA3(),i7=[QA2(yn4,{cwd:A11,stopAt:e5}),QA2(mn6,{cwd:A11,stopAt:e5}),QA2(wn5,{cwd:A11,stopAt:e5}),QA2(Dn6,{cwd:A11,stopAt:e5}),QA2(Sn4,{cwd:A11,stopAt:e5})].filter(Boolean).sort((I12,E5)=>{let Q12=parse(I12).dir,B11=parse(E5).dir,p7=relative(Q12,B11);return Q12===B11?0:p7.startsWith("..")?-1:1})[0],n10=i7&&basename(i7),o10=$x2(A11);if(o10&&n10===yn4)return o10===1?"yarn1":"yarn2";if(Xx2(A11)&&n10===mn6)return "pnpm";let g5=Wx(A11);if(g5&&n10===wn5)return "npm";if(Vx(A11)&&(n10===Dn6||n10===Sn4))return "bun";let C11=this.inferPackageManagerFromUserAgent();if(C11&&C11 in this.PROXY_MAP)return C11;if(g5)return "npm";throw new Error("Unable to find a usable package manager within NPM, PNPM, Yarn and Yarn 2")}static getPackageManager({force:A11,configDir:e5=".storybook",storiesPaths:r5,ignoreCache:i7=!1}={},n10=process.cwd()){let o10=this.getCacheKey(A11,e5,n10,r5),g5=this.cache.get(o10);if(g5&&!i7)return g5;if(A11&&A11 in this.PROXY_MAP){let E5=new this.PROXY_MAP[A11]({cwd:n10,configDir:e5,storiesPaths:r5});return this.cache.set(o10,E5),E5}let C11=this.getPackageManagerType(n10),I12=new this.PROXY_MAP[C11]({cwd:n10,configDir:e5,storiesPaths:r5});return this.cache.set(o10,I12),I12}static{this.PROXY_MAP={npm:Pn4,pnpm:Un5,yarn1:Gn5,yarn2:Bo5,bun:Yn4};}static inferPackageManagerFromUserAgent(){let A11=process.env.npm_config_user_agent;if(A11){let e5=A11.split(" ")[0],[r5,i7]=e5.split("/");if(r5==="pnpm")return "pnpm";if(r5==="npm")return "npm";if(r5==="yarn")return `yarn${i7?.startsWith("1.")?"1":"2"}`}}});function Wx(t18){return (0, rs2.sync)("npm",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Wx,"hasNPM");function Vx(t18){return (0, rs2.sync)("bun",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Vx,"hasBun");function Xx2(t18){return (0, rs2.sync)("pnpm",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}}).status===0}s7(Xx2,"hasPNPM");function $x2(t18){let A11=(0, rs2.sync)("yarn",["--version"],{cwd:t18,shell:!0,env:{...process.env,...sr5}});if(A11.status!==0)return;let e5=A11.output.toString().replace(/,/g,"").replace(/"/g,"");return /^1\.+/.test(e5)?1:2}s7($x2,"getYarnVersion");var aK=cA2(Xm(),1);async function bAA({promptMessage:t18="Enter a custom glob pattern to scan (or press enter to use default):",defaultGlob:A11="**/*.{mjs,cjs,js,jsx,ts,tsx,mdx}",dryRun:e5=!1,force:r5=!1,transformFn:i7,transformOptions:n10}){let{glob:o10}=r5?{glob:A11}:await(0, aK.default)({type:"text",name:"glob",message:t18,initial:A11});console.log("Scanning for affected files...");let g5=(await Promise.resolve().then(()=>(gK(),oK))).globby,C11=await g5([o10],{...uQ(""),ignore:["**/node_modules/**"],dot:!0,cwd:pA3(),absolute:!0});return console.log(`Scanning ${C11.length} files...`),i7(C11,n10,e5)}s7(bAA,"scanAndTransformFiles");function RO2(t18,A11){let e5=!1,r5=t18;for(let[i7,n10]of Object.entries(A11)){let o10=new RegExp(`(['"])${i7}(/.*)?\\1`,"g");o10.test(r5)&&(r5=r5.replace(o10,`$1${n10}$2$1`),e5=!0);}return e5?r5:null}s7(RO2,"transformImports");var import_fetch_retry=__toESM(require_fetch_retry_umd(),1);var urlAlphabet="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var POOL_SIZE_MULTIPLIER=128,pool,poolOffset,fillPool=bytes=>{!pool||pool.length<bytes?(pool=Buffer.allocUnsafe(bytes*POOL_SIZE_MULTIPLIER),randomFillSync(pool),poolOffset=0):poolOffset+bytes>pool.length&&(randomFillSync(pool),poolOffset=0),poolOffset+=bytes;};var nanoid=(size=21)=>{fillPool(size-=0);let id2="";for(let i7=poolOffset-size;i7<poolOffset;i7++)id2+=urlAlphabet[pool[i7]&63];return id2};var version="9.1.7";var oneWayHash=payload=>{let hash=createHash$1("sha256");return hash.update("storybook-telemetry-salt"),hash.update(payload),hash.digest("hex")};function normalizeGitUrl(rawUrl){let urlWithoutScheme=rawUrl.trim().replace(/#.*$/,"").replace(/^.*@/,"").replace(/^.*\/\//,"");return (urlWithoutScheme.endsWith(".git")?urlWithoutScheme:`${urlWithoutScheme}.git`).replace(":","/")}function unhashedProjectId(remoteUrl,projectRootPath){return `${normalizeGitUrl(remoteUrl)}${slash(projectRootPath)}`}var anonymousProjectId,getAnonymousProjectId=()=>{if(anonymousProjectId)return anonymousProjectId;try{let projectRootPath=relative(pA3(),process.cwd()),originBuffer=execSync("git config --local --get remote.origin.url",{timeout:1e3,stdio:"pipe"});anonymousProjectId=oneWayHash(unhashedProjectId(String(originBuffer),projectRootPath));}catch{}return anonymousProjectId};var operation=Promise.resolve(),setHelper=async(eventType,body)=>{let lastEvents=await jj2.get("lastEvents")||{};lastEvents[eventType]={body,timestamp:Date.now()},await jj2.set("lastEvents",lastEvents);},set=async(eventType,body)=>(await operation,operation=setHelper(eventType,body),operation);var fetch2=global.fetch;var SESSION_TIMEOUT=1e3*60*60*2,sessionId;var getSessionId=async()=>{let now=Date.now();if(!sessionId){let session=await jj2.get("session");session&&session.lastUsed>=now-SESSION_TIMEOUT?sessionId=session.id:sessionId=nanoid();}return await jj2.set("session",{id:sessionId,lastUsed:now}),sessionId};var retryingFetch=(0, import_fetch_retry.default)(fetch2),URL2=process.env.STORYBOOK_TELEMETRY_URL||"https://storybook.js.org/event-log",tasks=[],addToGlobalContext=(key,value2)=>{globalContext[key]=value2;},getOperatingSystem=()=>{try{let platform5=em.platform();return platform5==="win32"?"Windows":platform5==="darwin"?"macOS":platform5==="linux"?"Linux":`Other: ${platform5}`}catch{return "Unknown"}},globalContext={inCI:c4(),isTTY:process.stdout.isTTY,platform:getOperatingSystem(),nodeVersion:process.versions.node,storybookVersion:version},prepareRequest=async(data,context,options)=>{let{eventType,payload,metadata,...rest}=data,sessionId2=await getSessionId(),eventId=nanoid(),body={...rest,eventType,eventId,sessionId:sessionId2,metadata,payload,context};return retryingFetch(URL2,{method:"post",body:JSON.stringify(body),headers:{"Content-Type":"application/json"},retries:3,retryOn:[503,504],retryDelay:attempt=>2**attempt*(typeof options?.retryDelay=="number"&&!Number.isNaN(options?.retryDelay)?options.retryDelay:1e3)})};async function sendTelemetry(data,options={retryDelay:1e3,immediate:!1}){let{eventType,payload,metadata,...rest}=data,context=options.stripMetadata?globalContext:{...globalContext,anonymousId:getAnonymousProjectId()},request;try{request=prepareRequest(data,context,options),tasks.push(request),options.immediate?await Promise.all(tasks):await request;let sessionId2=await getSessionId(),eventId=nanoid(),body={...rest,eventType,eventId,sessionId:sessionId2,metadata,payload,context};await set(eventType,body);}catch{}finally{tasks=tasks.filter(task=>task!==request);}}var import_picocolors=__toESM(require_picocolors(),1),TELEMETRY_KEY_NOTIFY_DATE="telemetry-notification-date",notify=async()=>{await jj2.get(TELEMETRY_KEY_NOTIFY_DATE,null)||(jj2.set(TELEMETRY_KEY_NOTIFY_DATE,Date.now()),DE.log(`${hu.info("Attention:")} Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features.`),DE.log("You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:"),DE.log(import_picocolors.default.cyan("https://storybook.js.org/telemetry")),DE.log(""));};function regexpEscape(str){return str.replace(/[-[/{}()*+?.\\^$|]/g,"\\$&")}function removeAnsiEscapeCodes(input=""){return input.replace(/\u001B\[[0-9;]*m/g,"")}function cleanPaths(str,separator=path2.sep){if(!str)return str;let stack=process.cwd().split(separator);for(;stack.length>1;){let currentPath=stack.join(separator),currentRegex=new RegExp(regexpEscape(currentPath),"gi");str=str.replace(currentRegex,"$SNIP");let currentPath2=stack.join(separator+separator),currentRegex2=new RegExp(regexpEscape(currentPath2),"gi");str=str.replace(currentRegex2,"$SNIP"),stack.pop();}return str}function sanitizeError(error2,pathSeparator=path2.sep){try{error2={...JSON.parse(JSON.stringify(error2)),message:removeAnsiEscapeCodes(error2.message),stack:removeAnsiEscapeCodes(error2.stack),cause:error2.cause,name:error2.name};let errorString=cleanPaths(JSON.stringify(error2),pathSeparator);return JSON.parse(errorString)}catch(err){return `Sanitization error: ${err?.message}`}}var walkUp=function*(path12){for(path12=resolve$1(path12);path12;){yield path12;let pp5=dirname$1(path12);if(pp5===path12)break;path12=pp5;}};async function fileExists(path12){try{return (await stat(path12)).isFile()}catch{return !1}}async function findPackagePath(cwd2){for(let path12 of walkUp(cwd2)){let packagePath=resolve(path12,"package.json");if(await fileExists(packagePath))return packagePath}return null}async function findPackage(cwd2){let packagePath=await findPackagePath(cwd2);if(!packagePath)return null;try{let source=await readFile(packagePath,{encoding:"utf8"});return JSON.parse(source)}catch{return null}}function dedent(templ){for(var values=[],_i3=1;_i3<arguments.length;_i3++)values[_i3-1]=arguments[_i3];var strings=Array.from(typeof templ=="string"?[templ]:templ);strings[strings.length-1]=strings[strings.length-1].replace(/\r?\n([\t ]*)$/,"");var indentLengths=strings.reduce(function(arr,str){var matches=str.match(/\n([\t ]+|(?!\s).)/g);return matches?arr.concat(matches.map(function(match2){var _a2,_b2;return (_b2=(_a2=match2.match(/[\t ]/g))===null||_a2===void 0?void 0:_a2.length)!==null&&_b2!==void 0?_b2:0})):arr},[]);if(indentLengths.length){var pattern_1=new RegExp(`
2675
2676
  [ ]{`+Math.min.apply(Math,indentLengths)+"}","g");strings=strings.map(function(str){return str.replace(pattern_1,`
2676
2677
  `)});}strings[0]=strings[0].replace(/^\r?\n/,"");var string=strings[0];return values.forEach(function(value2,i7){var endentations=string.match(/(?:^|\n)( *)$/),endentation=endentations?endentations[1]:"",indentedValue=value2;typeof value2=="string"&&value2.includes(`
2677
2678
  `)&&(indentedValue=String(value2).split(`
@@ -2683,7 +2684,7 @@ ${n10.map(oC2.default.magenta).join(", ")}`),A11}s7(_02,"getSyncedStorybookAddon
2683
2684
  ${fromBody}`,toStringDescriptor=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),toStringName=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),changeToString=(to6,from,name)=>{let withName=name===""?"":`with ${name.trim()}() `,newToString=wrappedToString.bind(null,withName,from.toString());Object.defineProperty(newToString,"name",toStringName),Object.defineProperty(to6,"toString",{...toStringDescriptor,value:newToString});};function mimicFunction(to6,from,{ignoreNonConfigurable=!1}={}){let{name}=to6;for(let property of Reflect.ownKeys(from))copyProperty(to6,from,property,ignoreNonConfigurable);return changePrototype(to6,from),changeToString(to6,from,name),to6}var calledFunctions=new WeakMap,onetime=(function_,options={})=>{if(typeof function_!="function")throw new TypeError("Expected a function");let returnValue,callCount=0,functionName=function_.displayName||function_.name||"<anonymous>",onetime2=function(...arguments_){if(calledFunctions.set(onetime2,++callCount),callCount===1)returnValue=function_.apply(this,arguments_),function_=null;else if(options.throw===!0)throw new Error(`Function \`${functionName}\` can only be called once`);return returnValue};return mimicFunction(onetime2,function_),calledFunctions.set(onetime2,callCount),onetime2};onetime.callCount=function_=>{if(!calledFunctions.has(function_))throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);return calledFunctions.get(function_)};var onetime_default=onetime;var getRealtimeSignals=()=>{let length=SIGRTMAX-SIGRTMIN+1;return Array.from({length},getRealtimeSignal)},getRealtimeSignal=(value2,index)=>({name:`SIGRT${index+1}`,number:SIGRTMIN+index,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),SIGRTMIN=34,SIGRTMAX=64;var SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var getSignals=()=>{let realtimeSignals=getRealtimeSignals();return [...SIGNALS,...realtimeSignals].map(normalizeSignal)},normalizeSignal=({name,number:defaultNumber,description,action,forced=!1,standard})=>{let{signals:{[name]:constantSignal}}=constants,supported=constantSignal!==void 0;return {name,number:supported?constantSignal:defaultNumber,description,supported,action,forced,standard}};var getSignalsByName=()=>{let signals2=getSignals();return Object.fromEntries(signals2.map(getSignalByName))},getSignalByName=({name,number,description,supported,action,forced,standard})=>[name,{name,number,description,supported,action,forced,standard}],signalsByName=getSignalsByName(),getSignalsByNumber=()=>{let signals2=getSignals(),length=65,signalsA=Array.from({length},(value2,number)=>getSignalByNumber(number,signals2));return Object.assign({},...signalsA)},getSignalByNumber=(number,signals2)=>{let signal=findSignalByNumber(number,signals2);if(signal===void 0)return {};let{name,description,supported,action,forced,standard}=signal;return {[number]:{name,number,description,supported,action,forced,standard}}},findSignalByNumber=(number,signals2)=>{let signal=signals2.find(({name})=>constants.signals[name]===number);return signal!==void 0?signal:signals2.find(signalA=>signalA.number===number)};getSignalsByNumber();var getErrorPrefix=({timedOut:timedOut2,timeout,errorCode,signal,signalDescription,exitCode,isCanceled})=>timedOut2?`timed out after ${timeout} milliseconds`:isCanceled?"was canceled":errorCode!==void 0?`failed with ${errorCode}`:signal!==void 0?`was killed with ${signal} (${signalDescription})`:exitCode!==void 0?`failed with exit code ${exitCode}`:"failed",makeError=({stdout,stderr,all:all2,error:error2,signal,exitCode,command,escapedCommand,timedOut:timedOut2,isCanceled,killed,parsed:{options:{timeout,cwd:cwd2=Q.cwd()}}})=>{exitCode=exitCode===null?void 0:exitCode,signal=signal===null?void 0:signal;let signalDescription=signal===void 0?void 0:signalsByName[signal].description,errorCode=error2&&error2.code,execaMessage=`Command ${getErrorPrefix({timedOut:timedOut2,timeout,errorCode,signal,signalDescription,exitCode,isCanceled})}: ${command}`,isError=Object.prototype.toString.call(error2)==="[object Error]",shortMessage=isError?`${execaMessage}
2684
2685
  ${error2.message}`:execaMessage,message=[shortMessage,stderr,stdout].filter(Boolean).join(`
2685
2686
  `);return isError?(error2.originalMessage=error2.message,error2.message=message):error2=new Error(message),error2.shortMessage=shortMessage,error2.command=command,error2.escapedCommand=escapedCommand,error2.exitCode=exitCode,error2.signal=signal,error2.signalDescription=signalDescription,error2.stdout=stdout,error2.stderr=stderr,error2.cwd=cwd2,all2!==void 0&&(error2.all=all2),"bufferedData"in error2&&delete error2.bufferedData,error2.failed=!0,error2.timedOut=!!timedOut2,error2.isCanceled=isCanceled,error2.killed=killed&&!timedOut2,error2};var aliases=["stdin","stdout","stderr"],hasAlias=options=>aliases.some(alias=>options[alias]!==void 0),normalizeStdio=options=>{if(!options)return;let{stdio}=options;if(stdio===void 0)return aliases.map(alias=>options[alias]);if(hasAlias(options))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${aliases.map(alias=>`\`${alias}\``).join(", ")}`);if(typeof stdio=="string")return stdio;if(!Array.isArray(stdio))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);let length=Math.max(stdio.length,aliases.length);return Array.from({length},(value2,index)=>stdio[index])};var signals=[];signals.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&signals.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&signals.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var processOk=process12=>!!process12&&typeof process12=="object"&&typeof process12.removeListener=="function"&&typeof process12.emit=="function"&&typeof process12.reallyExit=="function"&&typeof process12.listeners=="function"&&typeof process12.kill=="function"&&typeof process12.pid=="number"&&typeof process12.on=="function",kExitEmitter=Symbol.for("signal-exit emitter"),global2=globalThis,ObjectDefineProperty=Object.defineProperty.bind(Object),Emitter=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(global2[kExitEmitter])return global2[kExitEmitter];ObjectDefineProperty(global2,kExitEmitter,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(ev2,fn5){this.listeners[ev2].push(fn5);}removeListener(ev2,fn5){let list=this.listeners[ev2],i7=list.indexOf(fn5);i7!==-1&&(i7===0&&list.length===1?list.length=0:list.splice(i7,1));}emit(ev2,code,signal){if(this.emitted[ev2])return !1;this.emitted[ev2]=!0;let ret=!1;for(let fn5 of this.listeners[ev2])ret=fn5(code,signal)===!0||ret;return ev2==="exit"&&(ret=this.emit("afterExit",code,signal)||ret),ret}},SignalExitBase=class{},signalExitWrap=handler=>({onExit(cb3,opts){return handler.onExit(cb3,opts)},load(){return handler.load()},unload(){return handler.unload()}}),SignalExitFallback=class extends SignalExitBase{onExit(){return ()=>{}}load(){}unload(){}},SignalExit=class extends SignalExitBase{#hupSig=process5.platform==="win32"?"SIGINT":"SIGHUP";#emitter=new Emitter;#process;#originalProcessEmit;#originalProcessReallyExit;#sigListeners={};#loaded=!1;constructor(process12){super(),this.#process=process12,this.#sigListeners={};for(let sig of signals)this.#sigListeners[sig]=()=>{let listeners=this.#process.listeners(sig),{count}=this.#emitter,p7=process12;if(typeof p7.__signal_exit_emitter__=="object"&&typeof p7.__signal_exit_emitter__.count=="number"&&(count+=p7.__signal_exit_emitter__.count),listeners.length===count){this.unload();let ret=this.#emitter.emit("exit",null,sig),s10=sig==="SIGHUP"?this.#hupSig:sig;ret||process12.kill(process12.pid,s10);}};this.#originalProcessReallyExit=process12.reallyExit,this.#originalProcessEmit=process12.emit;}onExit(cb3,opts){if(!processOk(this.#process))return ()=>{};this.#loaded===!1&&this.load();let ev2=opts?.alwaysLast?"afterExit":"exit";return this.#emitter.on(ev2,cb3),()=>{this.#emitter.removeListener(ev2,cb3),this.#emitter.listeners.exit.length===0&&this.#emitter.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#loaded){this.#loaded=!0,this.#emitter.count+=1;for(let sig of signals)try{let fn5=this.#sigListeners[sig];fn5&&this.#process.on(sig,fn5);}catch{}this.#process.emit=(ev2,...a5)=>this.#processEmit(ev2,...a5),this.#process.reallyExit=code=>this.#processReallyExit(code);}}unload(){this.#loaded&&(this.#loaded=!1,signals.forEach(sig=>{let listener=this.#sigListeners[sig];if(!listener)throw new Error("Listener not defined for signal: "+sig);try{this.#process.removeListener(sig,listener);}catch{}}),this.#process.emit=this.#originalProcessEmit,this.#process.reallyExit=this.#originalProcessReallyExit,this.#emitter.count-=1);}#processReallyExit(code){return processOk(this.#process)?(this.#process.exitCode=code||0,this.#emitter.emit("exit",this.#process.exitCode,null),this.#originalProcessReallyExit.call(this.#process,this.#process.exitCode)):0}#processEmit(ev2,...args){let og4=this.#originalProcessEmit;if(ev2==="exit"&&processOk(this.#process)){typeof args[0]=="number"&&(this.#process.exitCode=args[0]);let ret=og4.call(this.#process,ev2,...args);return this.#emitter.emit("exit",this.#process.exitCode,null),ret}else return og4.call(this.#process,ev2,...args)}},process5=globalThis.process,{onExit,load,unload}=signalExitWrap(processOk(process5)?new SignalExit(process5):new SignalExitFallback);var DEFAULT_FORCE_KILL_TIMEOUT=1e3*5,spawnedKill=(kill,signal="SIGTERM",options={})=>{let killResult=kill(signal);return setKillTimeout(kill,signal,options,killResult),killResult},setKillTimeout=(kill,signal,options,killResult)=>{if(!shouldForceKill(signal,options,killResult))return;let timeout=getForceKillAfterTimeout(options),t18=setTimeout(()=>{kill("SIGKILL");},timeout);t18.unref&&t18.unref();},shouldForceKill=(signal,{forceKillAfterTimeout},killResult)=>isSigterm(signal)&&forceKillAfterTimeout!==!1&&killResult,isSigterm=signal=>signal===em__default.constants.signals.SIGTERM||typeof signal=="string"&&signal.toUpperCase()==="SIGTERM",getForceKillAfterTimeout=({forceKillAfterTimeout=!0})=>{if(forceKillAfterTimeout===!0)return DEFAULT_FORCE_KILL_TIMEOUT;if(!Number.isFinite(forceKillAfterTimeout)||forceKillAfterTimeout<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`);return forceKillAfterTimeout},spawnedCancel=(spawned,context)=>{spawned.kill()&&(context.isCanceled=!0);},timeoutKill=(spawned,signal,reject)=>{spawned.kill(signal),reject(Object.assign(new Error("Timed out"),{timedOut:!0,signal}));},setupTimeout=(spawned,{timeout,killSignal="SIGTERM"},spawnedPromise)=>{if(timeout===0||timeout===void 0)return spawnedPromise;let timeoutId,timeoutPromise=new Promise((resolve9,reject)=>{timeoutId=setTimeout(()=>{timeoutKill(spawned,killSignal,reject);},timeout);}),safeSpawnedPromise=spawnedPromise.finally(()=>{clearTimeout(timeoutId);});return Promise.race([timeoutPromise,safeSpawnedPromise])},validateTimeout=({timeout})=>{if(timeout!==void 0&&(!Number.isFinite(timeout)||timeout<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`)},setExitHandler=async(spawned,{cleanup,detached},timedPromise)=>{if(!cleanup||detached)return timedPromise;let removeExitHandler=onExit(()=>{spawned.kill();});return timedPromise.finally(()=>{removeExitHandler();})};function isStream(stream3){return stream3!==null&&typeof stream3=="object"&&typeof stream3.pipe=="function"}function isWritableStream(stream3){return isStream(stream3)&&stream3.writable!==!1&&typeof stream3._write=="function"&&typeof stream3._writableState=="object"}var isExecaChildProcess=target=>target instanceof ChildProcess&&typeof target.then=="function",pipeToTarget=(spawned,streamName,target)=>{if(typeof target=="string")return spawned[streamName].pipe(createWriteStream(target)),spawned;if(isWritableStream(target))return spawned[streamName].pipe(target),spawned;if(!isExecaChildProcess(target))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!isWritableStream(target.stdin))throw new TypeError("The target child process's stdin must be available.");return spawned[streamName].pipe(target.stdin),target},addPipeMethods=spawned=>{spawned.stdout!==null&&(spawned.pipeStdout=pipeToTarget.bind(void 0,spawned,"stdout")),spawned.stderr!==null&&(spawned.pipeStderr=pipeToTarget.bind(void 0,spawned,"stderr")),spawned.all!==void 0&&(spawned.pipeAll=pipeToTarget.bind(void 0,spawned,"all"));};var getStreamContents=async(stream3,{init:init2,convertChunk,getSize,truncateChunk,addChunk,getFinalChunk,finalize},{maxBuffer=Number.POSITIVE_INFINITY}={})=>{if(!isAsyncIterable(stream3))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");let state=init2();state.length=0;try{for await(let chunk of stream3){let chunkType=getChunkType(chunk),convertedChunk=convertChunk[chunkType](chunk,state);appendChunk({convertedChunk,state,getSize,truncateChunk,addChunk,maxBuffer});}return appendFinalChunk({state,convertChunk,getSize,truncateChunk,addChunk,getFinalChunk,maxBuffer}),finalize(state)}catch(error2){throw error2.bufferedData=finalize(state),error2}},appendFinalChunk=({state,getSize,truncateChunk,addChunk,getFinalChunk,maxBuffer})=>{let convertedChunk=getFinalChunk(state);convertedChunk!==void 0&&appendChunk({convertedChunk,state,getSize,truncateChunk,addChunk,maxBuffer});},appendChunk=({convertedChunk,state,getSize,truncateChunk,addChunk,maxBuffer})=>{let chunkSize=getSize(convertedChunk),newLength=state.length+chunkSize;if(newLength<=maxBuffer){addNewChunk(convertedChunk,state,addChunk,newLength);return}let truncatedChunk=truncateChunk(convertedChunk,maxBuffer-state.length);throw truncatedChunk!==void 0&&addNewChunk(truncatedChunk,state,addChunk,maxBuffer),new MaxBufferError},addNewChunk=(convertedChunk,state,addChunk,newLength)=>{state.contents=addChunk(convertedChunk,state,newLength),state.length=newLength;},isAsyncIterable=stream3=>typeof stream3=="object"&&stream3!==null&&typeof stream3[Symbol.asyncIterator]=="function",getChunkType=chunk=>{let typeOfChunk=typeof chunk;if(typeOfChunk==="string")return "string";if(typeOfChunk!=="object"||chunk===null)return "others";if(globalThis.Buffer?.isBuffer(chunk))return "buffer";let prototypeName=objectToString.call(chunk);return prototypeName==="[object ArrayBuffer]"?"arrayBuffer":prototypeName==="[object DataView]"?"dataView":Number.isInteger(chunk.byteLength)&&Number.isInteger(chunk.byteOffset)&&objectToString.call(chunk.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:objectToString}=Object.prototype,MaxBufferError=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded");}};var identity=value2=>value2,noop=()=>{},getContentsProp=({contents})=>contents,throwObjectStream=chunk=>{throw new Error(`Streams in object mode are not supported: ${String(chunk)}`)},getLengthProp=convertedChunk=>convertedChunk.length;async function getStreamAsArrayBuffer(stream3,options){return getStreamContents(stream3,arrayBufferMethods,options)}var initArrayBuffer=()=>({contents:new ArrayBuffer(0)}),useTextEncoder=chunk=>textEncoder.encode(chunk),textEncoder=new TextEncoder,useUint8Array=chunk=>new Uint8Array(chunk),useUint8ArrayWithOffset=chunk=>new Uint8Array(chunk.buffer,chunk.byteOffset,chunk.byteLength),truncateArrayBufferChunk=(convertedChunk,chunkSize)=>convertedChunk.slice(0,chunkSize),addArrayBufferChunk=(convertedChunk,{contents,length:previousLength},length)=>{let newContents=hasArrayBufferResize()?resizeArrayBuffer(contents,length):resizeArrayBufferSlow(contents,length);return new Uint8Array(newContents).set(convertedChunk,previousLength),newContents},resizeArrayBufferSlow=(contents,length)=>{if(length<=contents.byteLength)return contents;let arrayBuffer=new ArrayBuffer(getNewContentsLength(length));return new Uint8Array(arrayBuffer).set(new Uint8Array(contents),0),arrayBuffer},resizeArrayBuffer=(contents,length)=>{if(length<=contents.maxByteLength)return contents.resize(length),contents;let arrayBuffer=new ArrayBuffer(length,{maxByteLength:getNewContentsLength(length)});return new Uint8Array(arrayBuffer).set(new Uint8Array(contents),0),arrayBuffer},getNewContentsLength=length=>SCALE_FACTOR**Math.ceil(Math.log(length)/Math.log(SCALE_FACTOR)),SCALE_FACTOR=2,finalizeArrayBuffer=({contents,length})=>hasArrayBufferResize()?contents:contents.slice(0,length),hasArrayBufferResize=()=>"resize"in ArrayBuffer.prototype,arrayBufferMethods={init:initArrayBuffer,convertChunk:{string:useTextEncoder,buffer:useUint8Array,arrayBuffer:useUint8Array,dataView:useUint8ArrayWithOffset,typedArray:useUint8ArrayWithOffset,others:throwObjectStream},getSize:getLengthProp,truncateChunk:truncateArrayBufferChunk,addChunk:addArrayBufferChunk,getFinalChunk:noop,finalize:finalizeArrayBuffer};async function getStreamAsBuffer(stream3,options){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return arrayBufferToNodeBuffer(await getStreamAsArrayBuffer(stream3,options))}catch(error2){throw error2.bufferedData!==void 0&&(error2.bufferedData=arrayBufferToNodeBuffer(error2.bufferedData)),error2}}var arrayBufferToNodeBuffer=arrayBuffer=>globalThis.Buffer.from(arrayBuffer);async function getStreamAsString(stream3,options){return getStreamContents(stream3,stringMethods,options)}var initString=()=>({contents:"",textDecoder:new TextDecoder}),useTextDecoder=(chunk,{textDecoder})=>textDecoder.decode(chunk,{stream:!0}),addStringChunk=(convertedChunk,{contents})=>contents+convertedChunk,truncateStringChunk=(convertedChunk,chunkSize)=>convertedChunk.slice(0,chunkSize),getFinalStringChunk=({textDecoder})=>{let finalChunk=textDecoder.decode();return finalChunk===""?void 0:finalChunk},stringMethods={init:initString,convertChunk:{string:identity,buffer:useTextDecoder,arrayBuffer:useTextDecoder,dataView:useTextDecoder,typedArray:useTextDecoder,others:throwObjectStream},getSize:getLengthProp,truncateChunk:truncateStringChunk,addChunk:addStringChunk,getFinalChunk:getFinalStringChunk,finalize:getContentsProp};var import_merge_stream=__toESM(require_merge_stream(),1),validateInputOptions=input=>{if(input!==void 0)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},getInputSync=({input,inputFile})=>typeof inputFile!="string"?input:(validateInputOptions(input),readFileSync(inputFile)),handleInputSync=options=>{let input=getInputSync(options);if(isStream(input))throw new TypeError("The `input` option cannot be a stream in sync mode");return input},getInput=({input,inputFile})=>typeof inputFile!="string"?input:(validateInputOptions(input),createReadStream(inputFile)),handleInput=(spawned,options)=>{let input=getInput(options);input!==void 0&&(isStream(input)?input.pipe(spawned.stdin):spawned.stdin.end(input));},makeAllStream=(spawned,{all:all2})=>{if(!all2||!spawned.stdout&&!spawned.stderr)return;let mixed=(0, import_merge_stream.default)();return spawned.stdout&&mixed.add(spawned.stdout),spawned.stderr&&mixed.add(spawned.stderr),mixed},getBufferedData=async(stream3,streamPromise)=>{if(!(!stream3||streamPromise===void 0)){await setTimeout$1(0),stream3.destroy();try{return await streamPromise}catch(error2){return error2.bufferedData}}},getStreamPromise=(stream3,{encoding,buffer,maxBuffer})=>{if(!(!stream3||!buffer))return encoding==="utf8"||encoding==="utf-8"?getStreamAsString(stream3,{maxBuffer}):encoding===null||encoding==="buffer"?getStreamAsBuffer(stream3,{maxBuffer}):applyEncoding(stream3,maxBuffer,encoding)},applyEncoding=async(stream3,maxBuffer,encoding)=>(await getStreamAsBuffer(stream3,{maxBuffer})).toString(encoding),getSpawnedResult=async({stdout,stderr,all:all2},{encoding,buffer,maxBuffer},processDone)=>{let stdoutPromise=getStreamPromise(stdout,{encoding,buffer,maxBuffer}),stderrPromise=getStreamPromise(stderr,{encoding,buffer,maxBuffer}),allPromise=getStreamPromise(all2,{encoding,buffer,maxBuffer:maxBuffer*2});try{return await Promise.all([processDone,stdoutPromise,stderrPromise,allPromise])}catch(error2){return Promise.all([{error:error2,signal:error2.signal,timedOut:error2.timedOut},getBufferedData(stdout,stdoutPromise),getBufferedData(stderr,stderrPromise),getBufferedData(all2,allPromise)])}};var nativePromisePrototype=(async()=>{})().constructor.prototype,descriptors=["then","catch","finally"].map(property=>[property,Reflect.getOwnPropertyDescriptor(nativePromisePrototype,property)]),mergePromise=(spawned,promise)=>{for(let[property,descriptor]of descriptors){let value2=typeof promise=="function"?(...args)=>Reflect.apply(descriptor.value,promise(),args):descriptor.value.bind(promise);Reflect.defineProperty(spawned,property,{...descriptor,value:value2});}},getSpawnedPromise=spawned=>new Promise((resolve9,reject)=>{spawned.on("exit",(exitCode,signal)=>{resolve9({exitCode,signal});}),spawned.on("error",error2=>{reject(error2);}),spawned.stdin&&spawned.stdin.on("error",error2=>{reject(error2);});});var normalizeArgs=(file,args=[])=>Array.isArray(args)?[file,...args]:[file],NO_ESCAPE_REGEXP=/^[\w.-]+$/,escapeArg=arg=>typeof arg!="string"||NO_ESCAPE_REGEXP.test(arg)?arg:`"${arg.replaceAll('"','\\"')}"`,joinCommand=(file,args)=>normalizeArgs(file,args).join(" "),getEscapedCommand=(file,args)=>normalizeArgs(file,args).map(arg=>escapeArg(arg)).join(" "),SPACES_REGEXP=/ +/g,parseCommand=command=>{let tokens=[];for(let token of command.trim().split(SPACES_REGEXP)){let previousToken=tokens.at(-1);previousToken&&previousToken.endsWith("\\")?tokens[tokens.length-1]=`${previousToken.slice(0,-1)} ${token}`:tokens.push(token);}return tokens};var verboseDefault=debuglog("execa").enabled,padField=(field,padding)=>String(field).padStart(padding,"0"),getTimestamp=()=>{let date=new Date;return `${padField(date.getHours(),2)}:${padField(date.getMinutes(),2)}:${padField(date.getSeconds(),2)}.${padField(date.getMilliseconds(),3)}`},logCommand=(escapedCommand,{verbose})=>{verbose&&Q.stderr.write(`[${getTimestamp()}] ${escapedCommand}
2686
- `);};var DEFAULT_MAX_BUFFER=1e3*1e3*100,getEnv=({env:envOption,extendEnv,preferLocal,localDir,execPath})=>{let env3=extendEnv?{...Q.env,...envOption}:envOption;return preferLocal?npmRunPathEnv({env:env3,cwd:localDir,execPath}):env3},handleArguments=(file,args,options={})=>{let parsed=import_cross_spawn.default._parse(file,args,options);return file=parsed.command,args=parsed.args,options=parsed.options,options={maxBuffer:DEFAULT_MAX_BUFFER,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:options.cwd||Q.cwd(),execPath:Q.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:verboseDefault,...options},options.env=getEnv(options),options.stdio=normalizeStdio(options),Q.platform==="win32"&&path2.basename(file,".exe")==="cmd"&&args.unshift("/q"),{file,args,options,parsed}},handleOutput=(options,value2,error2)=>typeof value2!="string"&&!Buffer$1.isBuffer(value2)?error2===void 0?void 0:"":options.stripFinalNewline?stripFinalNewline(value2):value2;function execa(file,args,options){let parsed=handleArguments(file,args,options),command=joinCommand(file,args),escapedCommand=getEscapedCommand(file,args);logCommand(escapedCommand,parsed.options),validateTimeout(parsed.options);let spawned;try{spawned=hn.spawn(parsed.file,parsed.args,parsed.options);}catch(error2){let dummySpawned=new hn.ChildProcess,errorPromise=Promise.reject(makeError({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1}));return mergePromise(dummySpawned,errorPromise),dummySpawned}let spawnedPromise=getSpawnedPromise(spawned),timedPromise=setupTimeout(spawned,parsed.options,spawnedPromise),processDone=setExitHandler(spawned,parsed.options,timedPromise),context={isCanceled:!1};spawned.kill=spawnedKill.bind(null,spawned.kill.bind(spawned)),spawned.cancel=spawnedCancel.bind(null,spawned,context);let handlePromiseOnce=onetime_default(async()=>{let[{error:error2,exitCode,signal,timedOut:timedOut2},stdoutResult,stderrResult,allResult]=await getSpawnedResult(spawned,parsed.options,processDone),stdout=handleOutput(parsed.options,stdoutResult),stderr=handleOutput(parsed.options,stderrResult),all2=handleOutput(parsed.options,allResult);if(error2||exitCode!==0||signal!==null){let returnedError=makeError({error:error2,exitCode,signal,stdout,stderr,all:all2,command,escapedCommand,parsed,timedOut:timedOut2,isCanceled:(parsed.options.signal?parsed.options.signal.aborted:!1),killed:spawned.killed});if(!parsed.options.reject)return returnedError;throw returnedError}return {command,escapedCommand,exitCode:0,stdout,stderr,all:all2,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return handleInput(spawned,parsed.options),spawned.all=makeAllStream(spawned,parsed.options),addPipeMethods(spawned),mergePromise(spawned,handlePromiseOnce),spawned}function execaSync(file,args,options){let parsed=handleArguments(file,args,options),command=joinCommand(file,args),escapedCommand=getEscapedCommand(file,args);logCommand(escapedCommand,parsed.options);let input=handleInputSync(parsed.options),result;try{result=hn.spawnSync(parsed.file,parsed.args,{...parsed.options,input});}catch(error2){throw makeError({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1})}let stdout=handleOutput(parsed.options,result.stdout,result.error),stderr=handleOutput(parsed.options,result.stderr,result.error);if(result.error||result.status!==0||result.signal!==null){let error2=makeError({stdout,stderr,error:result.error,signal:result.signal,exitCode:result.status,command,escapedCommand,parsed,timedOut:result.error&&result.error.code==="ETIMEDOUT",isCanceled:!1,killed:result.signal!==null});if(!parsed.options.reject)return error2;throw error2}return {command,escapedCommand,exitCode:0,stdout,stderr,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}function execaCommand(command,options){let[file,...args]=parseCommand(command);return execa(file,args,options)}function execaCommandSync(command,options){let[file,...args]=parseCommand(command);return execaSync(file,args,options)}async function execCommandCountLines(command,options){let process12=execaCommand(command,{shell:!0,buffer:!1,...options});if(!process12.stdout)throw new Error("Unexpected missing stdout");let lineCount=0,rl2=createInterface(process12.stdout);return rl2.on("line",()=>{lineCount+=1;}),await process12,rl2.close(),lineCount}var versions_default={"@storybook/addon-a11y":"9.1.5","@storybook/addon-docs":"9.1.5","@storybook/addon-jest":"9.1.5","@storybook/addon-links":"9.1.5","@storybook/addon-onboarding":"9.1.5","storybook-addon-pseudo-states":"9.1.5","@storybook/addon-themes":"9.1.5","@storybook/addon-vitest":"9.1.5","@storybook/builder-vite":"9.1.5","@storybook/builder-webpack5":"9.1.5",storybook:"9.1.5","@storybook/angular":"9.1.5","@storybook/ember":"9.1.5","@storybook/html-vite":"9.1.5","@storybook/nextjs":"9.1.5","@storybook/nextjs-vite":"9.1.5","@storybook/preact-vite":"9.1.5","@storybook/react-native-web-vite":"9.1.5","@storybook/react-vite":"9.1.5","@storybook/react-webpack5":"9.1.5","@storybook/server-webpack5":"9.1.5","@storybook/svelte-vite":"9.1.5","@storybook/sveltekit":"9.1.5","@storybook/vue3-vite":"9.1.5","@storybook/web-components-vite":"9.1.5",sb:"9.1.5","@storybook/cli":"9.1.5","@storybook/codemod":"9.1.5","@storybook/core-webpack":"9.1.5","create-storybook":"9.1.5","@storybook/csf-plugin":"9.1.5","eslint-plugin-storybook":"9.1.5","@storybook/react-dom-shim":"9.1.5","@storybook/preset-create-react-app":"9.1.5","@storybook/preset-react-webpack":"9.1.5","@storybook/preset-server-webpack":"9.1.5","@storybook/html":"9.1.5","@storybook/preact":"9.1.5","@storybook/react":"9.1.5","@storybook/server":"9.1.5","@storybook/svelte":"9.1.5","@storybook/vue3":"9.1.5","@storybook/web-components":"9.1.5"};var import_brace_expansion=__toESM(require_brace_expansion(),1);var assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>65536)throw new TypeError("pattern is too long")};var posixClasses={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},braceEscape=s10=>s10.replace(/[[\]\\-]/g,"\\$&"),regexpEscape2=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rangesToString=ranges=>ranges.join(""),parseClass=(glob2,position)=>{let pos=position;if(glob2.charAt(pos)!=="[")throw new Error("not in a brace expression");let ranges=[],negs=[],i7=pos+1,sawStart=!1,uflag=!1,escaping=!1,negate=!1,endPos=pos,rangeStart="";WHILE:for(;i7<glob2.length;){let c10=glob2.charAt(i7);if((c10==="!"||c10==="^")&&i7===pos+1){negate=!0,i7++;continue}if(c10==="]"&&sawStart&&!escaping){endPos=i7+1;break}if(sawStart=!0,c10==="\\"&&!escaping){escaping=!0,i7++;continue}if(c10==="["&&!escaping){for(let[cls,[unip,u5,neg]]of Object.entries(posixClasses))if(glob2.startsWith(cls,i7)){if(rangeStart)return ["$.",!1,glob2.length-pos,!0];i7+=cls.length,neg?negs.push(unip):ranges.push(unip),uflag=uflag||u5;continue WHILE}}if(escaping=!1,rangeStart){c10>rangeStart?ranges.push(braceEscape(rangeStart)+"-"+braceEscape(c10)):c10===rangeStart&&ranges.push(braceEscape(c10)),rangeStart="",i7++;continue}if(glob2.startsWith("-]",i7+1)){ranges.push(braceEscape(c10+"-")),i7+=2;continue}if(glob2.startsWith("-",i7+1)){rangeStart=c10,i7+=2;continue}ranges.push(braceEscape(c10)),i7++;}if(endPos<i7)return ["",!1,0,!1];if(!ranges.length&&!negs.length)return ["$.",!1,glob2.length-pos,!0];if(negs.length===0&&ranges.length===1&&/^\\?.$/.test(ranges[0])&&!negate){let r5=ranges[0].length===2?ranges[0].slice(-1):ranges[0];return [regexpEscape2(r5),!1,endPos-pos,!1]}let sranges="["+(negate?"^":"")+rangesToString(ranges)+"]",snegs="["+(negate?"":"^")+rangesToString(negs)+"]";return [ranges.length&&negs.length?"("+sranges+"|"+snegs+")":ranges.length?sranges:snegs,uflag,endPos-pos,!0]};var unescape2=(s10,{windowsPathsNoEscape=!1}={})=>windowsPathsNoEscape?s10.replace(/\[([^\/\\])\]/g,"$1"):s10.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var types=new Set(["!","?","+","*","@"]),isExtglobType=c10=>types.has(c10),startNoTraversal="(?!(?:^|/)\\.\\.?(?:$|/))",startNoDot="(?!\\.)",addPatternStart=new Set(["[","."]),justDots=new Set(["..","."]),reSpecials=new Set("().*{}+?[]^$\\!"),regExpEscape=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),qmark="[^/]",star=qmark+"*?",starNoEmpty=qmark+"+?",AST=class _AST{type;#root;#hasMagic;#uflag=!1;#parts=[];#parent;#parentIndex;#negs;#filledNegs=!1;#options;#toString;#emptyExt=!1;constructor(type,parent,options={}){this.type=type,type&&(this.#hasMagic=!0),this.#parent=parent,this.#root=this.#parent?this.#parent.#root:this,this.#options=this.#root===this?options:this.#root.#options,this.#negs=this.#root===this?[]:this.#root.#negs,type==="!"&&!this.#root.#filledNegs&&this.#negs.push(this),this.#parentIndex=this.#parent?this.#parent.#parts.length:0;}get hasMagic(){if(this.#hasMagic!==void 0)return this.#hasMagic;for(let p7 of this.#parts)if(typeof p7!="string"&&(p7.type||p7.hasMagic))return this.#hasMagic=!0;return this.#hasMagic}toString(){return this.#toString!==void 0?this.#toString:this.type?this.#toString=this.type+"("+this.#parts.map(p7=>String(p7)).join("|")+")":this.#toString=this.#parts.map(p7=>String(p7)).join("")}#fillNegs(){if(this!==this.#root)throw new Error("should only call on root");if(this.#filledNegs)return this;this.toString(),this.#filledNegs=!0;let n10;for(;n10=this.#negs.pop();){if(n10.type!=="!")continue;let p7=n10,pp5=p7.#parent;for(;pp5;){for(let i7=p7.#parentIndex+1;!pp5.type&&i7<pp5.#parts.length;i7++)for(let part of n10.#parts){if(typeof part=="string")throw new Error("string part in extglob AST??");part.copyIn(pp5.#parts[i7]);}p7=pp5,pp5=p7.#parent;}}return this}push(...parts){for(let p7 of parts)if(p7!==""){if(typeof p7!="string"&&!(p7 instanceof _AST&&p7.#parent===this))throw new Error("invalid part: "+p7);this.#parts.push(p7);}}toJSON(){let ret=this.type===null?this.#parts.slice().map(p7=>typeof p7=="string"?p7:p7.toJSON()):[this.type,...this.#parts.map(p7=>p7.toJSON())];return this.isStart()&&!this.type&&ret.unshift([]),this.isEnd()&&(this===this.#root||this.#root.#filledNegs&&this.#parent?.type==="!")&&ret.push({}),ret}isStart(){if(this.#root===this)return !0;if(!this.#parent?.isStart())return !1;if(this.#parentIndex===0)return !0;let p7=this.#parent;for(let i7=0;i7<this.#parentIndex;i7++){let pp5=p7.#parts[i7];if(!(pp5 instanceof _AST&&pp5.type==="!"))return !1}return !0}isEnd(){if(this.#root===this||this.#parent?.type==="!")return !0;if(!this.#parent?.isEnd())return !1;if(!this.type)return this.#parent?.isEnd();let pl2=this.#parent?this.#parent.#parts.length:0;return this.#parentIndex===pl2-1}copyIn(part){typeof part=="string"?this.push(part):this.push(part.clone(this));}clone(parent){let c10=new _AST(this.type,parent);for(let p7 of this.#parts)c10.copyIn(p7);return c10}static#parseAST(str,ast,pos,opt){let escaping=!1,inBrace=!1,braceStart=-1,braceNeg=!1;if(ast.type===null){let i10=pos,acc2="";for(;i10<str.length;){let c10=str.charAt(i10++);if(escaping||c10==="\\"){escaping=!escaping,acc2+=c10;continue}if(inBrace){i10===braceStart+1?(c10==="^"||c10==="!")&&(braceNeg=!0):c10==="]"&&!(i10===braceStart+2&&braceNeg)&&(inBrace=!1),acc2+=c10;continue}else if(c10==="["){inBrace=!0,braceStart=i10,braceNeg=!1,acc2+=c10;continue}if(!opt.noext&&isExtglobType(c10)&&str.charAt(i10)==="("){ast.push(acc2),acc2="";let ext2=new _AST(c10,ast);i10=_AST.#parseAST(str,ext2,i10,opt),ast.push(ext2);continue}acc2+=c10;}return ast.push(acc2),i10}let i7=pos+1,part=new _AST(null,ast),parts=[],acc="";for(;i7<str.length;){let c10=str.charAt(i7++);if(escaping||c10==="\\"){escaping=!escaping,acc+=c10;continue}if(inBrace){i7===braceStart+1?(c10==="^"||c10==="!")&&(braceNeg=!0):c10==="]"&&!(i7===braceStart+2&&braceNeg)&&(inBrace=!1),acc+=c10;continue}else if(c10==="["){inBrace=!0,braceStart=i7,braceNeg=!1,acc+=c10;continue}if(isExtglobType(c10)&&str.charAt(i7)==="("){part.push(acc),acc="";let ext2=new _AST(c10,part);part.push(ext2),i7=_AST.#parseAST(str,ext2,i7,opt);continue}if(c10==="|"){part.push(acc),acc="",parts.push(part),part=new _AST(null,ast);continue}if(c10===")")return acc===""&&ast.#parts.length===0&&(ast.#emptyExt=!0),part.push(acc),acc="",ast.push(...parts,part),i7;acc+=c10;}return ast.type=null,ast.#hasMagic=void 0,ast.#parts=[str.substring(pos-1)],i7}static fromGlob(pattern,options={}){let ast=new _AST(null,void 0,options);return _AST.#parseAST(pattern,ast,0,options),ast}toMMPattern(){if(this!==this.#root)return this.#root.toMMPattern();let glob2=this.toString(),[re7,body,hasMagic2,uflag]=this.toRegExpSource();if(!(hasMagic2||this.#hasMagic||this.#options.nocase&&!this.#options.nocaseMagicOnly&&glob2.toUpperCase()!==glob2.toLowerCase()))return body;let flags=(this.#options.nocase?"i":"")+(uflag?"u":"");return Object.assign(new RegExp(`^${re7}$`,flags),{_src:re7,_glob:glob2})}get options(){return this.#options}toRegExpSource(allowDot){let dot=allowDot??!!this.#options.dot;if(this.#root===this&&this.#fillNegs(),!this.type){let noEmpty=this.isStart()&&this.isEnd(),src=this.#parts.map(p7=>{let[re7,_11,hasMagic2,uflag]=typeof p7=="string"?_AST.#parseGlob(p7,this.#hasMagic,noEmpty):p7.toRegExpSource(allowDot);return this.#hasMagic=this.#hasMagic||hasMagic2,this.#uflag=this.#uflag||uflag,re7}).join(""),start2="";if(this.isStart()&&typeof this.#parts[0]=="string"&&!(this.#parts.length===1&&justDots.has(this.#parts[0]))){let aps=addPatternStart,needNoTrav=dot&&aps.has(src.charAt(0))||src.startsWith("\\.")&&aps.has(src.charAt(2))||src.startsWith("\\.\\.")&&aps.has(src.charAt(4)),needNoDot=!dot&&!allowDot&&aps.has(src.charAt(0));start2=needNoTrav?startNoTraversal:needNoDot?startNoDot:"";}let end="";return this.isEnd()&&this.#root.#filledNegs&&this.#parent?.type==="!"&&(end="(?:$|\\/)"),[start2+src+end,unescape2(src),this.#hasMagic=!!this.#hasMagic,this.#uflag]}let repeated=this.type==="*"||this.type==="+",start=this.type==="!"?"(?:(?!(?:":"(?:",body=this.#partsToRegExp(dot);if(this.isStart()&&this.isEnd()&&!body&&this.type!=="!"){let s10=this.toString();return this.#parts=[s10],this.type=null,this.#hasMagic=void 0,[s10,unescape2(this.toString()),!1,!1]}let bodyDotAllowed=!repeated||allowDot||dot||!startNoDot?"":this.#partsToRegExp(!0);bodyDotAllowed===body&&(bodyDotAllowed=""),bodyDotAllowed&&(body=`(?:${body})(?:${bodyDotAllowed})*?`);let final="";if(this.type==="!"&&this.#emptyExt)final=(this.isStart()&&!dot?startNoDot:"")+starNoEmpty;else {let close=this.type==="!"?"))"+(this.isStart()&&!dot&&!allowDot?startNoDot:"")+star+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&bodyDotAllowed?")":this.type==="*"&&bodyDotAllowed?")?":`)${this.type}`;final=start+body+close;}return [final,unescape2(body),this.#hasMagic=!!this.#hasMagic,this.#uflag]}#partsToRegExp(dot){return this.#parts.map(p7=>{if(typeof p7=="string")throw new Error("string type in extglob ast??");let[re7,_11,_hasMagic,uflag]=p7.toRegExpSource(dot);return this.#uflag=this.#uflag||uflag,re7}).filter(p7=>!(this.isStart()&&this.isEnd())||!!p7).join("|")}static#parseGlob(glob2,hasMagic2,noEmpty=!1){let escaping=!1,re7="",uflag=!1;for(let i7=0;i7<glob2.length;i7++){let c10=glob2.charAt(i7);if(escaping){escaping=!1,re7+=(reSpecials.has(c10)?"\\":"")+c10;continue}if(c10==="\\"){i7===glob2.length-1?re7+="\\\\":escaping=!0;continue}if(c10==="["){let[src,needUflag,consumed,magic]=parseClass(glob2,i7);if(consumed){re7+=src,uflag=uflag||needUflag,i7+=consumed-1,hasMagic2=hasMagic2||magic;continue}}if(c10==="*"){noEmpty&&glob2==="*"?re7+=starNoEmpty:re7+=star,hasMagic2=!0;continue}if(c10==="?"){re7+=qmark,hasMagic2=!0;continue}re7+=regExpEscape(c10);}return [re7,unescape2(glob2),!!hasMagic2,uflag]}};var escape2=(s10,{windowsPathsNoEscape=!1}={})=>windowsPathsNoEscape?s10.replace(/[?*()[\]]/g,"[$&]"):s10.replace(/[?*()[\]\\]/g,"\\$&");var minimatch=(p7,pattern,options={})=>(assertValidPattern(pattern),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p7)),starDotExtRE=/^\*+([^+@!?\*\[\(]*)$/,starDotExtTest=ext2=>f11=>!f11.startsWith(".")&&f11.endsWith(ext2),starDotExtTestDot=ext2=>f11=>f11.endsWith(ext2),starDotExtTestNocase=ext2=>(ext2=ext2.toLowerCase(),f11=>!f11.startsWith(".")&&f11.toLowerCase().endsWith(ext2)),starDotExtTestNocaseDot=ext2=>(ext2=ext2.toLowerCase(),f11=>f11.toLowerCase().endsWith(ext2)),starDotStarRE=/^\*+\.\*+$/,starDotStarTest=f11=>!f11.startsWith(".")&&f11.includes("."),starDotStarTestDot=f11=>f11!=="."&&f11!==".."&&f11.includes("."),dotStarRE=/^\.\*+$/,dotStarTest=f11=>f11!=="."&&f11!==".."&&f11.startsWith("."),starRE=/^\*+$/,starTest=f11=>f11.length!==0&&!f11.startsWith("."),starTestDot=f11=>f11.length!==0&&f11!=="."&&f11!=="..",qmarksRE=/^\?+([^+@!?\*\[\(]*)?$/,qmarksTestNocase=([$04,ext2=""])=>{let noext=qmarksTestNoExt([$04]);return ext2?(ext2=ext2.toLowerCase(),f11=>noext(f11)&&f11.toLowerCase().endsWith(ext2)):noext},qmarksTestNocaseDot=([$04,ext2=""])=>{let noext=qmarksTestNoExtDot([$04]);return ext2?(ext2=ext2.toLowerCase(),f11=>noext(f11)&&f11.toLowerCase().endsWith(ext2)):noext},qmarksTestDot=([$04,ext2=""])=>{let noext=qmarksTestNoExtDot([$04]);return ext2?f11=>noext(f11)&&f11.endsWith(ext2):noext},qmarksTest=([$04,ext2=""])=>{let noext=qmarksTestNoExt([$04]);return ext2?f11=>noext(f11)&&f11.endsWith(ext2):noext},qmarksTestNoExt=([$04])=>{let len=$04.length;return f11=>f11.length===len&&!f11.startsWith(".")},qmarksTestNoExtDot=([$04])=>{let len=$04.length;return f11=>f11.length===len&&f11!=="."&&f11!==".."},defaultPlatform=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",path6={win32:{sep:"\\"},posix:{sep:"/"}},sep2=defaultPlatform==="win32"?path6.win32.sep:path6.posix.sep;minimatch.sep=sep2;var GLOBSTAR=Symbol("globstar **");minimatch.GLOBSTAR=GLOBSTAR;var qmark2="[^/]",star2=qmark2+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",filter=(pattern,options={})=>p7=>minimatch(p7,pattern,options);minimatch.filter=filter;var ext=(a5,b8={})=>Object.assign({},a5,b8),defaults=def=>{if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;let orig=minimatch;return Object.assign((p7,pattern,options={})=>orig(p7,pattern,ext(def,options)),{Minimatch:class extends orig.Minimatch{constructor(pattern,options={}){super(pattern,ext(def,options));}static defaults(options){return orig.defaults(ext(def,options)).Minimatch}},AST:class extends orig.AST{constructor(type,parent,options={}){super(type,parent,ext(def,options));}static fromGlob(pattern,options={}){return orig.AST.fromGlob(pattern,ext(def,options))}},unescape:(s10,options={})=>orig.unescape(s10,ext(def,options)),escape:(s10,options={})=>orig.escape(s10,ext(def,options)),filter:(pattern,options={})=>orig.filter(pattern,ext(def,options)),defaults:options=>orig.defaults(ext(def,options)),makeRe:(pattern,options={})=>orig.makeRe(pattern,ext(def,options)),braceExpand:(pattern,options={})=>orig.braceExpand(pattern,ext(def,options)),match:(list,pattern,options={})=>orig.match(list,pattern,ext(def,options)),sep:orig.sep,GLOBSTAR})};minimatch.defaults=defaults;var braceExpand=(pattern,options={})=>(assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:(0, import_brace_expansion.default)(pattern));minimatch.braceExpand=braceExpand;var makeRe=(pattern,options={})=>new Minimatch(pattern,options).makeRe();minimatch.makeRe=makeRe;var match=(list,pattern,options={})=>{let mm2=new Minimatch(pattern,options);return list=list.filter(f11=>mm2.match(f11)),mm2.options.nonull&&!list.length&&list.push(pattern),list};minimatch.match=match;var globMagic=/[?*]|[+@!]\(.*?\)|\[|\]/,regExpEscape2=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Minimatch=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(pattern,options={}){assertValidPattern(pattern),options=options||{},this.options=options,this.pattern=pattern,this.platform=options.platform||defaultPlatform,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!options.windowsPathsNoEscape||options.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!options.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!options.nonegate,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=options.windowsNoMagicRoot!==void 0?options.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make();}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return !0;for(let pattern of this.set)for(let part of pattern)if(typeof part!="string")return !0;return !1}debug(..._11){}make(){let pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],options.debug&&(this.debug=(...args)=>console.error(...args)),this.debug(this.pattern,this.globSet);let rawGlobParts=this.globSet.map(s10=>this.slashSplit(s10));this.globParts=this.preprocess(rawGlobParts),this.debug(this.pattern,this.globParts);let set2=this.globParts.map((s10,_11,__2)=>{if(this.isWindows&&this.windowsNoMagicRoot){let isUNC=s10[0]===""&&s10[1]===""&&(s10[2]==="?"||!globMagic.test(s10[2]))&&!globMagic.test(s10[3]),isDrive=/^[a-z]:/i.test(s10[0]);if(isUNC)return [...s10.slice(0,4),...s10.slice(4).map(ss3=>this.parse(ss3))];if(isDrive)return [s10[0],...s10.slice(1).map(ss3=>this.parse(ss3))]}return s10.map(ss3=>this.parse(ss3))});if(this.debug(this.pattern,set2),this.set=set2.filter(s10=>s10.indexOf(!1)===-1),this.isWindows)for(let i7=0;i7<this.set.length;i7++){let p7=this.set[i7];p7[0]===""&&p7[1]===""&&this.globParts[i7][2]==="?"&&typeof p7[3]=="string"&&/^[a-z]:$/i.test(p7[3])&&(p7[2]="?");}this.debug(this.pattern,this.set);}preprocess(globParts){if(this.options.noglobstar)for(let i7=0;i7<globParts.length;i7++)for(let j12=0;j12<globParts[i7].length;j12++)globParts[i7][j12]==="**"&&(globParts[i7][j12]="*");let{optimizationLevel=1}=this.options;return optimizationLevel>=2?(globParts=this.firstPhasePreProcess(globParts),globParts=this.secondPhasePreProcess(globParts)):optimizationLevel>=1?globParts=this.levelOneOptimize(globParts):globParts=this.adjascentGlobstarOptimize(globParts),globParts}adjascentGlobstarOptimize(globParts){return globParts.map(parts=>{let gs3=-1;for(;(gs3=parts.indexOf("**",gs3+1))!==-1;){let i7=gs3;for(;parts[i7+1]==="**";)i7++;i7!==gs3&&parts.splice(gs3,i7-gs3);}return parts})}levelOneOptimize(globParts){return globParts.map(parts=>(parts=parts.reduce((set2,part)=>{let prev=set2[set2.length-1];return part==="**"&&prev==="**"?set2:part===".."&&prev&&prev!==".."&&prev!=="."&&prev!=="**"?(set2.pop(),set2):(set2.push(part),set2)},[]),parts.length===0?[""]:parts))}levelTwoFileOptimize(parts){Array.isArray(parts)||(parts=this.slashSplit(parts));let didSomething=!1;do{if(didSomething=!1,!this.preserveMultipleSlashes){for(let i7=1;i7<parts.length-1;i7++){let p7=parts[i7];i7===1&&p7===""&&parts[0]===""||(p7==="."||p7==="")&&(didSomething=!0,parts.splice(i7,1),i7--);}parts[0]==="."&&parts.length===2&&(parts[1]==="."||parts[1]==="")&&(didSomething=!0,parts.pop());}let dd3=0;for(;(dd3=parts.indexOf("..",dd3+1))!==-1;){let p7=parts[dd3-1];p7&&p7!=="."&&p7!==".."&&p7!=="**"&&(didSomething=!0,parts.splice(dd3-1,2),dd3-=2);}}while(didSomething);return parts.length===0?[""]:parts}firstPhasePreProcess(globParts){let didSomething=!1;do{didSomething=!1;for(let parts of globParts){let gs3=-1;for(;(gs3=parts.indexOf("**",gs3+1))!==-1;){let gss=gs3;for(;parts[gss+1]==="**";)gss++;gss>gs3&&parts.splice(gs3+1,gss-gs3);let next=parts[gs3+1],p7=parts[gs3+2],p22=parts[gs3+3];if(next!==".."||!p7||p7==="."||p7===".."||!p22||p22==="."||p22==="..")continue;didSomething=!0,parts.splice(gs3,1);let other=parts.slice(0);other[gs3]="**",globParts.push(other),gs3--;}if(!this.preserveMultipleSlashes){for(let i7=1;i7<parts.length-1;i7++){let p7=parts[i7];i7===1&&p7===""&&parts[0]===""||(p7==="."||p7==="")&&(didSomething=!0,parts.splice(i7,1),i7--);}parts[0]==="."&&parts.length===2&&(parts[1]==="."||parts[1]==="")&&(didSomething=!0,parts.pop());}let dd3=0;for(;(dd3=parts.indexOf("..",dd3+1))!==-1;){let p7=parts[dd3-1];if(p7&&p7!=="."&&p7!==".."&&p7!=="**"){didSomething=!0;let splin=dd3===1&&parts[dd3+1]==="**"?["."]:[];parts.splice(dd3-1,2,...splin),parts.length===0&&parts.push(""),dd3-=2;}}}}while(didSomething);return globParts}secondPhasePreProcess(globParts){for(let i7=0;i7<globParts.length-1;i7++)for(let j12=i7+1;j12<globParts.length;j12++){let matched=this.partsMatch(globParts[i7],globParts[j12],!this.preserveMultipleSlashes);if(matched){globParts[i7]=[],globParts[j12]=matched;break}}return globParts.filter(gs3=>gs3.length)}partsMatch(a5,b8,emptyGSMatch=!1){let ai5=0,bi4=0,result=[],which="";for(;ai5<a5.length&&bi4<b8.length;)if(a5[ai5]===b8[bi4])result.push(which==="b"?b8[bi4]:a5[ai5]),ai5++,bi4++;else if(emptyGSMatch&&a5[ai5]==="**"&&b8[bi4]===a5[ai5+1])result.push(a5[ai5]),ai5++;else if(emptyGSMatch&&b8[bi4]==="**"&&a5[ai5]===b8[bi4+1])result.push(b8[bi4]),bi4++;else if(a5[ai5]==="*"&&b8[bi4]&&(this.options.dot||!b8[bi4].startsWith("."))&&b8[bi4]!=="**"){if(which==="b")return !1;which="a",result.push(a5[ai5]),ai5++,bi4++;}else if(b8[bi4]==="*"&&a5[ai5]&&(this.options.dot||!a5[ai5].startsWith("."))&&a5[ai5]!=="**"){if(which==="a")return !1;which="b",result.push(b8[bi4]),ai5++,bi4++;}else return !1;return a5.length===b8.length&&result}parseNegate(){if(this.nonegate)return;let pattern=this.pattern,negate=!1,negateOffset=0;for(let i7=0;i7<pattern.length&&pattern.charAt(i7)==="!";i7++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.slice(negateOffset)),this.negate=negate;}matchOne(file,pattern,partial=!1){let options=this.options;if(this.isWindows){let fileDrive=typeof file[0]=="string"&&/^[a-z]:$/i.test(file[0]),fileUNC=!fileDrive&&file[0]===""&&file[1]===""&&file[2]==="?"&&/^[a-z]:$/i.test(file[3]),patternDrive=typeof pattern[0]=="string"&&/^[a-z]:$/i.test(pattern[0]),patternUNC=!patternDrive&&pattern[0]===""&&pattern[1]===""&&pattern[2]==="?"&&typeof pattern[3]=="string"&&/^[a-z]:$/i.test(pattern[3]),fdi=fileUNC?3:fileDrive?0:void 0,pdi=patternUNC?3:patternDrive?0:void 0;if(typeof fdi=="number"&&typeof pdi=="number"){let[fd3,pd4]=[file[fdi],pattern[pdi]];fd3.toLowerCase()===pd4.toLowerCase()&&(pattern[pdi]=fd3,pdi>fdi?pattern=pattern.slice(pdi):fdi>pdi&&(file=file.slice(fdi)));}}let{optimizationLevel=1}=this.options;optimizationLevel>=2&&(file=this.levelTwoFileOptimize(file)),this.debug("matchOne",this,{file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi5=0,pi4=0,fl3=file.length,pl2=pattern.length;fi5<fl3&&pi4<pl2;fi5++,pi4++){this.debug("matchOne loop");var p7=pattern[pi4],f11=file[fi5];if(this.debug(pattern,p7,f11),p7===!1)return !1;if(p7===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p7,f11]);var fr6=fi5,pr5=pi4+1;if(pr5===pl2){for(this.debug("** at the end");fi5<fl3;fi5++)if(file[fi5]==="."||file[fi5]===".."||!options.dot&&file[fi5].charAt(0)===".")return !1;return !0}for(;fr6<fl3;){var swallowee=file[fr6];if(this.debug(`
2687
+ `);};var DEFAULT_MAX_BUFFER=1e3*1e3*100,getEnv=({env:envOption,extendEnv,preferLocal,localDir,execPath})=>{let env3=extendEnv?{...Q.env,...envOption}:envOption;return preferLocal?npmRunPathEnv({env:env3,cwd:localDir,execPath}):env3},handleArguments=(file,args,options={})=>{let parsed=import_cross_spawn.default._parse(file,args,options);return file=parsed.command,args=parsed.args,options=parsed.options,options={maxBuffer:DEFAULT_MAX_BUFFER,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:options.cwd||Q.cwd(),execPath:Q.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:verboseDefault,...options},options.env=getEnv(options),options.stdio=normalizeStdio(options),Q.platform==="win32"&&path2.basename(file,".exe")==="cmd"&&args.unshift("/q"),{file,args,options,parsed}},handleOutput=(options,value2,error2)=>typeof value2!="string"&&!Buffer$1.isBuffer(value2)?error2===void 0?void 0:"":options.stripFinalNewline?stripFinalNewline(value2):value2;function execa(file,args,options){let parsed=handleArguments(file,args,options),command=joinCommand(file,args),escapedCommand=getEscapedCommand(file,args);logCommand(escapedCommand,parsed.options),validateTimeout(parsed.options);let spawned;try{spawned=hn.spawn(parsed.file,parsed.args,parsed.options);}catch(error2){let dummySpawned=new hn.ChildProcess,errorPromise=Promise.reject(makeError({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1}));return mergePromise(dummySpawned,errorPromise),dummySpawned}let spawnedPromise=getSpawnedPromise(spawned),timedPromise=setupTimeout(spawned,parsed.options,spawnedPromise),processDone=setExitHandler(spawned,parsed.options,timedPromise),context={isCanceled:!1};spawned.kill=spawnedKill.bind(null,spawned.kill.bind(spawned)),spawned.cancel=spawnedCancel.bind(null,spawned,context);let handlePromiseOnce=onetime_default(async()=>{let[{error:error2,exitCode,signal,timedOut:timedOut2},stdoutResult,stderrResult,allResult]=await getSpawnedResult(spawned,parsed.options,processDone),stdout=handleOutput(parsed.options,stdoutResult),stderr=handleOutput(parsed.options,stderrResult),all2=handleOutput(parsed.options,allResult);if(error2||exitCode!==0||signal!==null){let returnedError=makeError({error:error2,exitCode,signal,stdout,stderr,all:all2,command,escapedCommand,parsed,timedOut:timedOut2,isCanceled:(parsed.options.signal?parsed.options.signal.aborted:!1),killed:spawned.killed});if(!parsed.options.reject)return returnedError;throw returnedError}return {command,escapedCommand,exitCode:0,stdout,stderr,all:all2,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return handleInput(spawned,parsed.options),spawned.all=makeAllStream(spawned,parsed.options),addPipeMethods(spawned),mergePromise(spawned,handlePromiseOnce),spawned}function execaSync(file,args,options){let parsed=handleArguments(file,args,options),command=joinCommand(file,args),escapedCommand=getEscapedCommand(file,args);logCommand(escapedCommand,parsed.options);let input=handleInputSync(parsed.options),result;try{result=hn.spawnSync(parsed.file,parsed.args,{...parsed.options,input});}catch(error2){throw makeError({error:error2,stdout:"",stderr:"",all:"",command,escapedCommand,parsed,timedOut:!1,isCanceled:!1,killed:!1})}let stdout=handleOutput(parsed.options,result.stdout,result.error),stderr=handleOutput(parsed.options,result.stderr,result.error);if(result.error||result.status!==0||result.signal!==null){let error2=makeError({stdout,stderr,error:result.error,signal:result.signal,exitCode:result.status,command,escapedCommand,parsed,timedOut:result.error&&result.error.code==="ETIMEDOUT",isCanceled:!1,killed:result.signal!==null});if(!parsed.options.reject)return error2;throw error2}return {command,escapedCommand,exitCode:0,stdout,stderr,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}function execaCommand(command,options){let[file,...args]=parseCommand(command);return execa(file,args,options)}function execaCommandSync(command,options){let[file,...args]=parseCommand(command);return execaSync(file,args,options)}async function execCommandCountLines(command,options){let process12=execaCommand(command,{shell:!0,buffer:!1,...options});if(!process12.stdout)throw new Error("Unexpected missing stdout");let lineCount=0,rl2=createInterface(process12.stdout);return rl2.on("line",()=>{lineCount+=1;}),await process12,rl2.close(),lineCount}var versions_default={"@storybook/addon-a11y":"9.1.7","@storybook/addon-docs":"9.1.7","@storybook/addon-jest":"9.1.7","@storybook/addon-links":"9.1.7","@storybook/addon-onboarding":"9.1.7","storybook-addon-pseudo-states":"9.1.7","@storybook/addon-themes":"9.1.7","@storybook/addon-vitest":"9.1.7","@storybook/builder-vite":"9.1.7","@storybook/builder-webpack5":"9.1.7",storybook:"9.1.7","@storybook/angular":"9.1.7","@storybook/ember":"9.1.7","@storybook/html-vite":"9.1.7","@storybook/nextjs":"9.1.7","@storybook/nextjs-vite":"9.1.7","@storybook/preact-vite":"9.1.7","@storybook/react-native-web-vite":"9.1.7","@storybook/react-vite":"9.1.7","@storybook/react-webpack5":"9.1.7","@storybook/server-webpack5":"9.1.7","@storybook/svelte-vite":"9.1.7","@storybook/sveltekit":"9.1.7","@storybook/vue3-vite":"9.1.7","@storybook/web-components-vite":"9.1.7",sb:"9.1.7","@storybook/cli":"9.1.7","@storybook/codemod":"9.1.7","@storybook/core-webpack":"9.1.7","create-storybook":"9.1.7","@storybook/csf-plugin":"9.1.7","eslint-plugin-storybook":"9.1.7","@storybook/react-dom-shim":"9.1.7","@storybook/preset-create-react-app":"9.1.7","@storybook/preset-react-webpack":"9.1.7","@storybook/preset-server-webpack":"9.1.7","@storybook/html":"9.1.7","@storybook/preact":"9.1.7","@storybook/react":"9.1.7","@storybook/server":"9.1.7","@storybook/svelte":"9.1.7","@storybook/vue3":"9.1.7","@storybook/web-components":"9.1.7"};var import_brace_expansion=__toESM(require_brace_expansion(),1);var assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>65536)throw new TypeError("pattern is too long")};var posixClasses={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},braceEscape=s10=>s10.replace(/[[\]\\-]/g,"\\$&"),regexpEscape2=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rangesToString=ranges=>ranges.join(""),parseClass=(glob2,position)=>{let pos=position;if(glob2.charAt(pos)!=="[")throw new Error("not in a brace expression");let ranges=[],negs=[],i7=pos+1,sawStart=!1,uflag=!1,escaping=!1,negate=!1,endPos=pos,rangeStart="";WHILE:for(;i7<glob2.length;){let c10=glob2.charAt(i7);if((c10==="!"||c10==="^")&&i7===pos+1){negate=!0,i7++;continue}if(c10==="]"&&sawStart&&!escaping){endPos=i7+1;break}if(sawStart=!0,c10==="\\"&&!escaping){escaping=!0,i7++;continue}if(c10==="["&&!escaping){for(let[cls,[unip,u5,neg]]of Object.entries(posixClasses))if(glob2.startsWith(cls,i7)){if(rangeStart)return ["$.",!1,glob2.length-pos,!0];i7+=cls.length,neg?negs.push(unip):ranges.push(unip),uflag=uflag||u5;continue WHILE}}if(escaping=!1,rangeStart){c10>rangeStart?ranges.push(braceEscape(rangeStart)+"-"+braceEscape(c10)):c10===rangeStart&&ranges.push(braceEscape(c10)),rangeStart="",i7++;continue}if(glob2.startsWith("-]",i7+1)){ranges.push(braceEscape(c10+"-")),i7+=2;continue}if(glob2.startsWith("-",i7+1)){rangeStart=c10,i7+=2;continue}ranges.push(braceEscape(c10)),i7++;}if(endPos<i7)return ["",!1,0,!1];if(!ranges.length&&!negs.length)return ["$.",!1,glob2.length-pos,!0];if(negs.length===0&&ranges.length===1&&/^\\?.$/.test(ranges[0])&&!negate){let r5=ranges[0].length===2?ranges[0].slice(-1):ranges[0];return [regexpEscape2(r5),!1,endPos-pos,!1]}let sranges="["+(negate?"^":"")+rangesToString(ranges)+"]",snegs="["+(negate?"":"^")+rangesToString(negs)+"]";return [ranges.length&&negs.length?"("+sranges+"|"+snegs+")":ranges.length?sranges:snegs,uflag,endPos-pos,!0]};var unescape2=(s10,{windowsPathsNoEscape=!1}={})=>windowsPathsNoEscape?s10.replace(/\[([^\/\\])\]/g,"$1"):s10.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var types=new Set(["!","?","+","*","@"]),isExtglobType=c10=>types.has(c10),startNoTraversal="(?!(?:^|/)\\.\\.?(?:$|/))",startNoDot="(?!\\.)",addPatternStart=new Set(["[","."]),justDots=new Set(["..","."]),reSpecials=new Set("().*{}+?[]^$\\!"),regExpEscape=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),qmark="[^/]",star=qmark+"*?",starNoEmpty=qmark+"+?",AST=class _AST{type;#root;#hasMagic;#uflag=!1;#parts=[];#parent;#parentIndex;#negs;#filledNegs=!1;#options;#toString;#emptyExt=!1;constructor(type,parent,options={}){this.type=type,type&&(this.#hasMagic=!0),this.#parent=parent,this.#root=this.#parent?this.#parent.#root:this,this.#options=this.#root===this?options:this.#root.#options,this.#negs=this.#root===this?[]:this.#root.#negs,type==="!"&&!this.#root.#filledNegs&&this.#negs.push(this),this.#parentIndex=this.#parent?this.#parent.#parts.length:0;}get hasMagic(){if(this.#hasMagic!==void 0)return this.#hasMagic;for(let p7 of this.#parts)if(typeof p7!="string"&&(p7.type||p7.hasMagic))return this.#hasMagic=!0;return this.#hasMagic}toString(){return this.#toString!==void 0?this.#toString:this.type?this.#toString=this.type+"("+this.#parts.map(p7=>String(p7)).join("|")+")":this.#toString=this.#parts.map(p7=>String(p7)).join("")}#fillNegs(){if(this!==this.#root)throw new Error("should only call on root");if(this.#filledNegs)return this;this.toString(),this.#filledNegs=!0;let n10;for(;n10=this.#negs.pop();){if(n10.type!=="!")continue;let p7=n10,pp5=p7.#parent;for(;pp5;){for(let i7=p7.#parentIndex+1;!pp5.type&&i7<pp5.#parts.length;i7++)for(let part of n10.#parts){if(typeof part=="string")throw new Error("string part in extglob AST??");part.copyIn(pp5.#parts[i7]);}p7=pp5,pp5=p7.#parent;}}return this}push(...parts){for(let p7 of parts)if(p7!==""){if(typeof p7!="string"&&!(p7 instanceof _AST&&p7.#parent===this))throw new Error("invalid part: "+p7);this.#parts.push(p7);}}toJSON(){let ret=this.type===null?this.#parts.slice().map(p7=>typeof p7=="string"?p7:p7.toJSON()):[this.type,...this.#parts.map(p7=>p7.toJSON())];return this.isStart()&&!this.type&&ret.unshift([]),this.isEnd()&&(this===this.#root||this.#root.#filledNegs&&this.#parent?.type==="!")&&ret.push({}),ret}isStart(){if(this.#root===this)return !0;if(!this.#parent?.isStart())return !1;if(this.#parentIndex===0)return !0;let p7=this.#parent;for(let i7=0;i7<this.#parentIndex;i7++){let pp5=p7.#parts[i7];if(!(pp5 instanceof _AST&&pp5.type==="!"))return !1}return !0}isEnd(){if(this.#root===this||this.#parent?.type==="!")return !0;if(!this.#parent?.isEnd())return !1;if(!this.type)return this.#parent?.isEnd();let pl2=this.#parent?this.#parent.#parts.length:0;return this.#parentIndex===pl2-1}copyIn(part){typeof part=="string"?this.push(part):this.push(part.clone(this));}clone(parent){let c10=new _AST(this.type,parent);for(let p7 of this.#parts)c10.copyIn(p7);return c10}static#parseAST(str,ast,pos,opt){let escaping=!1,inBrace=!1,braceStart=-1,braceNeg=!1;if(ast.type===null){let i10=pos,acc2="";for(;i10<str.length;){let c10=str.charAt(i10++);if(escaping||c10==="\\"){escaping=!escaping,acc2+=c10;continue}if(inBrace){i10===braceStart+1?(c10==="^"||c10==="!")&&(braceNeg=!0):c10==="]"&&!(i10===braceStart+2&&braceNeg)&&(inBrace=!1),acc2+=c10;continue}else if(c10==="["){inBrace=!0,braceStart=i10,braceNeg=!1,acc2+=c10;continue}if(!opt.noext&&isExtglobType(c10)&&str.charAt(i10)==="("){ast.push(acc2),acc2="";let ext2=new _AST(c10,ast);i10=_AST.#parseAST(str,ext2,i10,opt),ast.push(ext2);continue}acc2+=c10;}return ast.push(acc2),i10}let i7=pos+1,part=new _AST(null,ast),parts=[],acc="";for(;i7<str.length;){let c10=str.charAt(i7++);if(escaping||c10==="\\"){escaping=!escaping,acc+=c10;continue}if(inBrace){i7===braceStart+1?(c10==="^"||c10==="!")&&(braceNeg=!0):c10==="]"&&!(i7===braceStart+2&&braceNeg)&&(inBrace=!1),acc+=c10;continue}else if(c10==="["){inBrace=!0,braceStart=i7,braceNeg=!1,acc+=c10;continue}if(isExtglobType(c10)&&str.charAt(i7)==="("){part.push(acc),acc="";let ext2=new _AST(c10,part);part.push(ext2),i7=_AST.#parseAST(str,ext2,i7,opt);continue}if(c10==="|"){part.push(acc),acc="",parts.push(part),part=new _AST(null,ast);continue}if(c10===")")return acc===""&&ast.#parts.length===0&&(ast.#emptyExt=!0),part.push(acc),acc="",ast.push(...parts,part),i7;acc+=c10;}return ast.type=null,ast.#hasMagic=void 0,ast.#parts=[str.substring(pos-1)],i7}static fromGlob(pattern,options={}){let ast=new _AST(null,void 0,options);return _AST.#parseAST(pattern,ast,0,options),ast}toMMPattern(){if(this!==this.#root)return this.#root.toMMPattern();let glob2=this.toString(),[re7,body,hasMagic2,uflag]=this.toRegExpSource();if(!(hasMagic2||this.#hasMagic||this.#options.nocase&&!this.#options.nocaseMagicOnly&&glob2.toUpperCase()!==glob2.toLowerCase()))return body;let flags=(this.#options.nocase?"i":"")+(uflag?"u":"");return Object.assign(new RegExp(`^${re7}$`,flags),{_src:re7,_glob:glob2})}get options(){return this.#options}toRegExpSource(allowDot){let dot=allowDot??!!this.#options.dot;if(this.#root===this&&this.#fillNegs(),!this.type){let noEmpty=this.isStart()&&this.isEnd(),src=this.#parts.map(p7=>{let[re7,_11,hasMagic2,uflag]=typeof p7=="string"?_AST.#parseGlob(p7,this.#hasMagic,noEmpty):p7.toRegExpSource(allowDot);return this.#hasMagic=this.#hasMagic||hasMagic2,this.#uflag=this.#uflag||uflag,re7}).join(""),start2="";if(this.isStart()&&typeof this.#parts[0]=="string"&&!(this.#parts.length===1&&justDots.has(this.#parts[0]))){let aps=addPatternStart,needNoTrav=dot&&aps.has(src.charAt(0))||src.startsWith("\\.")&&aps.has(src.charAt(2))||src.startsWith("\\.\\.")&&aps.has(src.charAt(4)),needNoDot=!dot&&!allowDot&&aps.has(src.charAt(0));start2=needNoTrav?startNoTraversal:needNoDot?startNoDot:"";}let end="";return this.isEnd()&&this.#root.#filledNegs&&this.#parent?.type==="!"&&(end="(?:$|\\/)"),[start2+src+end,unescape2(src),this.#hasMagic=!!this.#hasMagic,this.#uflag]}let repeated=this.type==="*"||this.type==="+",start=this.type==="!"?"(?:(?!(?:":"(?:",body=this.#partsToRegExp(dot);if(this.isStart()&&this.isEnd()&&!body&&this.type!=="!"){let s10=this.toString();return this.#parts=[s10],this.type=null,this.#hasMagic=void 0,[s10,unescape2(this.toString()),!1,!1]}let bodyDotAllowed=!repeated||allowDot||dot||!startNoDot?"":this.#partsToRegExp(!0);bodyDotAllowed===body&&(bodyDotAllowed=""),bodyDotAllowed&&(body=`(?:${body})(?:${bodyDotAllowed})*?`);let final="";if(this.type==="!"&&this.#emptyExt)final=(this.isStart()&&!dot?startNoDot:"")+starNoEmpty;else {let close=this.type==="!"?"))"+(this.isStart()&&!dot&&!allowDot?startNoDot:"")+star+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&bodyDotAllowed?")":this.type==="*"&&bodyDotAllowed?")?":`)${this.type}`;final=start+body+close;}return [final,unescape2(body),this.#hasMagic=!!this.#hasMagic,this.#uflag]}#partsToRegExp(dot){return this.#parts.map(p7=>{if(typeof p7=="string")throw new Error("string type in extglob ast??");let[re7,_11,_hasMagic,uflag]=p7.toRegExpSource(dot);return this.#uflag=this.#uflag||uflag,re7}).filter(p7=>!(this.isStart()&&this.isEnd())||!!p7).join("|")}static#parseGlob(glob2,hasMagic2,noEmpty=!1){let escaping=!1,re7="",uflag=!1;for(let i7=0;i7<glob2.length;i7++){let c10=glob2.charAt(i7);if(escaping){escaping=!1,re7+=(reSpecials.has(c10)?"\\":"")+c10;continue}if(c10==="\\"){i7===glob2.length-1?re7+="\\\\":escaping=!0;continue}if(c10==="["){let[src,needUflag,consumed,magic]=parseClass(glob2,i7);if(consumed){re7+=src,uflag=uflag||needUflag,i7+=consumed-1,hasMagic2=hasMagic2||magic;continue}}if(c10==="*"){noEmpty&&glob2==="*"?re7+=starNoEmpty:re7+=star,hasMagic2=!0;continue}if(c10==="?"){re7+=qmark,hasMagic2=!0;continue}re7+=regExpEscape(c10);}return [re7,unescape2(glob2),!!hasMagic2,uflag]}};var escape2=(s10,{windowsPathsNoEscape=!1}={})=>windowsPathsNoEscape?s10.replace(/[?*()[\]]/g,"[$&]"):s10.replace(/[?*()[\]\\]/g,"\\$&");var minimatch=(p7,pattern,options={})=>(assertValidPattern(pattern),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p7)),starDotExtRE=/^\*+([^+@!?\*\[\(]*)$/,starDotExtTest=ext2=>f11=>!f11.startsWith(".")&&f11.endsWith(ext2),starDotExtTestDot=ext2=>f11=>f11.endsWith(ext2),starDotExtTestNocase=ext2=>(ext2=ext2.toLowerCase(),f11=>!f11.startsWith(".")&&f11.toLowerCase().endsWith(ext2)),starDotExtTestNocaseDot=ext2=>(ext2=ext2.toLowerCase(),f11=>f11.toLowerCase().endsWith(ext2)),starDotStarRE=/^\*+\.\*+$/,starDotStarTest=f11=>!f11.startsWith(".")&&f11.includes("."),starDotStarTestDot=f11=>f11!=="."&&f11!==".."&&f11.includes("."),dotStarRE=/^\.\*+$/,dotStarTest=f11=>f11!=="."&&f11!==".."&&f11.startsWith("."),starRE=/^\*+$/,starTest=f11=>f11.length!==0&&!f11.startsWith("."),starTestDot=f11=>f11.length!==0&&f11!=="."&&f11!=="..",qmarksRE=/^\?+([^+@!?\*\[\(]*)?$/,qmarksTestNocase=([$04,ext2=""])=>{let noext=qmarksTestNoExt([$04]);return ext2?(ext2=ext2.toLowerCase(),f11=>noext(f11)&&f11.toLowerCase().endsWith(ext2)):noext},qmarksTestNocaseDot=([$04,ext2=""])=>{let noext=qmarksTestNoExtDot([$04]);return ext2?(ext2=ext2.toLowerCase(),f11=>noext(f11)&&f11.toLowerCase().endsWith(ext2)):noext},qmarksTestDot=([$04,ext2=""])=>{let noext=qmarksTestNoExtDot([$04]);return ext2?f11=>noext(f11)&&f11.endsWith(ext2):noext},qmarksTest=([$04,ext2=""])=>{let noext=qmarksTestNoExt([$04]);return ext2?f11=>noext(f11)&&f11.endsWith(ext2):noext},qmarksTestNoExt=([$04])=>{let len=$04.length;return f11=>f11.length===len&&!f11.startsWith(".")},qmarksTestNoExtDot=([$04])=>{let len=$04.length;return f11=>f11.length===len&&f11!=="."&&f11!==".."},defaultPlatform=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",path6={win32:{sep:"\\"},posix:{sep:"/"}},sep2=defaultPlatform==="win32"?path6.win32.sep:path6.posix.sep;minimatch.sep=sep2;var GLOBSTAR=Symbol("globstar **");minimatch.GLOBSTAR=GLOBSTAR;var qmark2="[^/]",star2=qmark2+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",filter=(pattern,options={})=>p7=>minimatch(p7,pattern,options);minimatch.filter=filter;var ext=(a5,b8={})=>Object.assign({},a5,b8),defaults=def=>{if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;let orig=minimatch;return Object.assign((p7,pattern,options={})=>orig(p7,pattern,ext(def,options)),{Minimatch:class extends orig.Minimatch{constructor(pattern,options={}){super(pattern,ext(def,options));}static defaults(options){return orig.defaults(ext(def,options)).Minimatch}},AST:class extends orig.AST{constructor(type,parent,options={}){super(type,parent,ext(def,options));}static fromGlob(pattern,options={}){return orig.AST.fromGlob(pattern,ext(def,options))}},unescape:(s10,options={})=>orig.unescape(s10,ext(def,options)),escape:(s10,options={})=>orig.escape(s10,ext(def,options)),filter:(pattern,options={})=>orig.filter(pattern,ext(def,options)),defaults:options=>orig.defaults(ext(def,options)),makeRe:(pattern,options={})=>orig.makeRe(pattern,ext(def,options)),braceExpand:(pattern,options={})=>orig.braceExpand(pattern,ext(def,options)),match:(list,pattern,options={})=>orig.match(list,pattern,ext(def,options)),sep:orig.sep,GLOBSTAR})};minimatch.defaults=defaults;var braceExpand=(pattern,options={})=>(assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:(0, import_brace_expansion.default)(pattern));minimatch.braceExpand=braceExpand;var makeRe=(pattern,options={})=>new Minimatch(pattern,options).makeRe();minimatch.makeRe=makeRe;var match=(list,pattern,options={})=>{let mm2=new Minimatch(pattern,options);return list=list.filter(f11=>mm2.match(f11)),mm2.options.nonull&&!list.length&&list.push(pattern),list};minimatch.match=match;var globMagic=/[?*]|[+@!]\(.*?\)|\[|\]/,regExpEscape2=s10=>s10.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Minimatch=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(pattern,options={}){assertValidPattern(pattern),options=options||{},this.options=options,this.pattern=pattern,this.platform=options.platform||defaultPlatform,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!options.windowsPathsNoEscape||options.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!options.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!options.nonegate,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=options.windowsNoMagicRoot!==void 0?options.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make();}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return !0;for(let pattern of this.set)for(let part of pattern)if(typeof part!="string")return !0;return !1}debug(..._11){}make(){let pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],options.debug&&(this.debug=(...args)=>console.error(...args)),this.debug(this.pattern,this.globSet);let rawGlobParts=this.globSet.map(s10=>this.slashSplit(s10));this.globParts=this.preprocess(rawGlobParts),this.debug(this.pattern,this.globParts);let set2=this.globParts.map((s10,_11,__2)=>{if(this.isWindows&&this.windowsNoMagicRoot){let isUNC=s10[0]===""&&s10[1]===""&&(s10[2]==="?"||!globMagic.test(s10[2]))&&!globMagic.test(s10[3]),isDrive=/^[a-z]:/i.test(s10[0]);if(isUNC)return [...s10.slice(0,4),...s10.slice(4).map(ss3=>this.parse(ss3))];if(isDrive)return [s10[0],...s10.slice(1).map(ss3=>this.parse(ss3))]}return s10.map(ss3=>this.parse(ss3))});if(this.debug(this.pattern,set2),this.set=set2.filter(s10=>s10.indexOf(!1)===-1),this.isWindows)for(let i7=0;i7<this.set.length;i7++){let p7=this.set[i7];p7[0]===""&&p7[1]===""&&this.globParts[i7][2]==="?"&&typeof p7[3]=="string"&&/^[a-z]:$/i.test(p7[3])&&(p7[2]="?");}this.debug(this.pattern,this.set);}preprocess(globParts){if(this.options.noglobstar)for(let i7=0;i7<globParts.length;i7++)for(let j12=0;j12<globParts[i7].length;j12++)globParts[i7][j12]==="**"&&(globParts[i7][j12]="*");let{optimizationLevel=1}=this.options;return optimizationLevel>=2?(globParts=this.firstPhasePreProcess(globParts),globParts=this.secondPhasePreProcess(globParts)):optimizationLevel>=1?globParts=this.levelOneOptimize(globParts):globParts=this.adjascentGlobstarOptimize(globParts),globParts}adjascentGlobstarOptimize(globParts){return globParts.map(parts=>{let gs3=-1;for(;(gs3=parts.indexOf("**",gs3+1))!==-1;){let i7=gs3;for(;parts[i7+1]==="**";)i7++;i7!==gs3&&parts.splice(gs3,i7-gs3);}return parts})}levelOneOptimize(globParts){return globParts.map(parts=>(parts=parts.reduce((set2,part)=>{let prev=set2[set2.length-1];return part==="**"&&prev==="**"?set2:part===".."&&prev&&prev!==".."&&prev!=="."&&prev!=="**"?(set2.pop(),set2):(set2.push(part),set2)},[]),parts.length===0?[""]:parts))}levelTwoFileOptimize(parts){Array.isArray(parts)||(parts=this.slashSplit(parts));let didSomething=!1;do{if(didSomething=!1,!this.preserveMultipleSlashes){for(let i7=1;i7<parts.length-1;i7++){let p7=parts[i7];i7===1&&p7===""&&parts[0]===""||(p7==="."||p7==="")&&(didSomething=!0,parts.splice(i7,1),i7--);}parts[0]==="."&&parts.length===2&&(parts[1]==="."||parts[1]==="")&&(didSomething=!0,parts.pop());}let dd3=0;for(;(dd3=parts.indexOf("..",dd3+1))!==-1;){let p7=parts[dd3-1];p7&&p7!=="."&&p7!==".."&&p7!=="**"&&(didSomething=!0,parts.splice(dd3-1,2),dd3-=2);}}while(didSomething);return parts.length===0?[""]:parts}firstPhasePreProcess(globParts){let didSomething=!1;do{didSomething=!1;for(let parts of globParts){let gs3=-1;for(;(gs3=parts.indexOf("**",gs3+1))!==-1;){let gss=gs3;for(;parts[gss+1]==="**";)gss++;gss>gs3&&parts.splice(gs3+1,gss-gs3);let next=parts[gs3+1],p7=parts[gs3+2],p22=parts[gs3+3];if(next!==".."||!p7||p7==="."||p7===".."||!p22||p22==="."||p22==="..")continue;didSomething=!0,parts.splice(gs3,1);let other=parts.slice(0);other[gs3]="**",globParts.push(other),gs3--;}if(!this.preserveMultipleSlashes){for(let i7=1;i7<parts.length-1;i7++){let p7=parts[i7];i7===1&&p7===""&&parts[0]===""||(p7==="."||p7==="")&&(didSomething=!0,parts.splice(i7,1),i7--);}parts[0]==="."&&parts.length===2&&(parts[1]==="."||parts[1]==="")&&(didSomething=!0,parts.pop());}let dd3=0;for(;(dd3=parts.indexOf("..",dd3+1))!==-1;){let p7=parts[dd3-1];if(p7&&p7!=="."&&p7!==".."&&p7!=="**"){didSomething=!0;let splin=dd3===1&&parts[dd3+1]==="**"?["."]:[];parts.splice(dd3-1,2,...splin),parts.length===0&&parts.push(""),dd3-=2;}}}}while(didSomething);return globParts}secondPhasePreProcess(globParts){for(let i7=0;i7<globParts.length-1;i7++)for(let j12=i7+1;j12<globParts.length;j12++){let matched=this.partsMatch(globParts[i7],globParts[j12],!this.preserveMultipleSlashes);if(matched){globParts[i7]=[],globParts[j12]=matched;break}}return globParts.filter(gs3=>gs3.length)}partsMatch(a5,b8,emptyGSMatch=!1){let ai5=0,bi4=0,result=[],which="";for(;ai5<a5.length&&bi4<b8.length;)if(a5[ai5]===b8[bi4])result.push(which==="b"?b8[bi4]:a5[ai5]),ai5++,bi4++;else if(emptyGSMatch&&a5[ai5]==="**"&&b8[bi4]===a5[ai5+1])result.push(a5[ai5]),ai5++;else if(emptyGSMatch&&b8[bi4]==="**"&&a5[ai5]===b8[bi4+1])result.push(b8[bi4]),bi4++;else if(a5[ai5]==="*"&&b8[bi4]&&(this.options.dot||!b8[bi4].startsWith("."))&&b8[bi4]!=="**"){if(which==="b")return !1;which="a",result.push(a5[ai5]),ai5++,bi4++;}else if(b8[bi4]==="*"&&a5[ai5]&&(this.options.dot||!a5[ai5].startsWith("."))&&a5[ai5]!=="**"){if(which==="a")return !1;which="b",result.push(b8[bi4]),ai5++,bi4++;}else return !1;return a5.length===b8.length&&result}parseNegate(){if(this.nonegate)return;let pattern=this.pattern,negate=!1,negateOffset=0;for(let i7=0;i7<pattern.length&&pattern.charAt(i7)==="!";i7++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.slice(negateOffset)),this.negate=negate;}matchOne(file,pattern,partial=!1){let options=this.options;if(this.isWindows){let fileDrive=typeof file[0]=="string"&&/^[a-z]:$/i.test(file[0]),fileUNC=!fileDrive&&file[0]===""&&file[1]===""&&file[2]==="?"&&/^[a-z]:$/i.test(file[3]),patternDrive=typeof pattern[0]=="string"&&/^[a-z]:$/i.test(pattern[0]),patternUNC=!patternDrive&&pattern[0]===""&&pattern[1]===""&&pattern[2]==="?"&&typeof pattern[3]=="string"&&/^[a-z]:$/i.test(pattern[3]),fdi=fileUNC?3:fileDrive?0:void 0,pdi=patternUNC?3:patternDrive?0:void 0;if(typeof fdi=="number"&&typeof pdi=="number"){let[fd3,pd4]=[file[fdi],pattern[pdi]];fd3.toLowerCase()===pd4.toLowerCase()&&(pattern[pdi]=fd3,pdi>fdi?pattern=pattern.slice(pdi):fdi>pdi&&(file=file.slice(fdi)));}}let{optimizationLevel=1}=this.options;optimizationLevel>=2&&(file=this.levelTwoFileOptimize(file)),this.debug("matchOne",this,{file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi5=0,pi4=0,fl3=file.length,pl2=pattern.length;fi5<fl3&&pi4<pl2;fi5++,pi4++){this.debug("matchOne loop");var p7=pattern[pi4],f11=file[fi5];if(this.debug(pattern,p7,f11),p7===!1)return !1;if(p7===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p7,f11]);var fr6=fi5,pr5=pi4+1;if(pr5===pl2){for(this.debug("** at the end");fi5<fl3;fi5++)if(file[fi5]==="."||file[fi5]===".."||!options.dot&&file[fi5].charAt(0)===".")return !1;return !0}for(;fr6<fl3;){var swallowee=file[fr6];if(this.debug(`
2687
2688
  globstar while`,file,fr6,pattern,pr5,swallowee),this.matchOne(file.slice(fr6),pattern.slice(pr5),partial))return this.debug("globstar found match!",fr6,fl3,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr6,pattern,pr5);break}this.debug("globstar swallow a segment, and continue"),fr6++;}return !!(partial&&(this.debug(`
2688
2689
  >>> no match, partial?`,file,fr6,pattern,pr5),fr6===fl3))}let hit;if(typeof p7=="string"?(hit=f11===p7,this.debug("string match",p7,f11,hit)):(hit=p7.test(f11),this.debug("pattern match",p7,f11,hit)),!hit)return !1}if(fi5===fl3&&pi4===pl2)return !0;if(fi5===fl3)return partial;if(pi4===pl2)return fi5===fl3-1&&file[fi5]==="";throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(pattern){assertValidPattern(pattern);let options=this.options;if(pattern==="**")return GLOBSTAR;if(pattern==="")return "";let m7,fastTest=null;(m7=pattern.match(starRE))?fastTest=options.dot?starTestDot:starTest:(m7=pattern.match(starDotExtRE))?fastTest=(options.nocase?options.dot?starDotExtTestNocaseDot:starDotExtTestNocase:options.dot?starDotExtTestDot:starDotExtTest)(m7[1]):(m7=pattern.match(qmarksRE))?fastTest=(options.nocase?options.dot?qmarksTestNocaseDot:qmarksTestNocase:options.dot?qmarksTestDot:qmarksTest)(m7):(m7=pattern.match(starDotStarRE))?fastTest=options.dot?starDotStarTestDot:starDotStarTest:(m7=pattern.match(dotStarRE))&&(fastTest=dotStarTest);let re7=AST.fromGlob(pattern,this.options).toMMPattern();return fastTest&&typeof re7=="object"&&Reflect.defineProperty(re7,"test",{value:fastTest}),re7}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let set2=this.set;if(!set2.length)return this.regexp=!1,this.regexp;let options=this.options,twoStar=options.noglobstar?star2:options.dot?twoStarDot:twoStarNoDot,flags=new Set(options.nocase?["i"]:[]),re7=set2.map(pattern=>{let pp5=pattern.map(p7=>{if(p7 instanceof RegExp)for(let f11 of p7.flags.split(""))flags.add(f11);return typeof p7=="string"?regExpEscape2(p7):p7===GLOBSTAR?GLOBSTAR:p7._src});return pp5.forEach((p7,i7)=>{let next=pp5[i7+1],prev=pp5[i7-1];p7!==GLOBSTAR||prev===GLOBSTAR||(prev===void 0?next!==void 0&&next!==GLOBSTAR?pp5[i7+1]="(?:\\/|"+twoStar+"\\/)?"+next:pp5[i7]=twoStar:next===void 0?pp5[i7-1]=prev+"(?:\\/|"+twoStar+")?":next!==GLOBSTAR&&(pp5[i7-1]=prev+"(?:\\/|\\/"+twoStar+"\\/)"+next,pp5[i7+1]=GLOBSTAR));}),pp5.filter(p7=>p7!==GLOBSTAR).join("/")}).join("|"),[open,close]=set2.length>1?["(?:",")"]:["",""];re7="^"+open+re7+close+"$",this.negate&&(re7="^(?!"+re7+").+$");try{this.regexp=new RegExp(re7,[...flags].join(""));}catch{this.regexp=!1;}return this.regexp}slashSplit(p7){return this.preserveMultipleSlashes?p7.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(p7)?["",...p7.split(/\/+/)]:p7.split(/\/+/)}match(f11,partial=this.partial){if(this.debug("match",f11,this.pattern),this.comment)return !1;if(this.empty)return f11==="";if(f11==="/"&&partial)return !0;let options=this.options;this.isWindows&&(f11=f11.split("\\").join("/"));let ff3=this.slashSplit(f11);this.debug(this.pattern,"split",ff3);let set2=this.set;this.debug(this.pattern,"set",set2);let filename=ff3[ff3.length-1];if(!filename)for(let i7=ff3.length-2;!filename&&i7>=0;i7--)filename=ff3[i7];for(let i7=0;i7<set2.length;i7++){let pattern=set2[i7],file=ff3;if(options.matchBase&&pattern.length===1&&(file=[filename]),this.matchOne(file,pattern,partial))return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate}static defaults(def){return minimatch.defaults(def).Minimatch}};minimatch.AST=AST;minimatch.Minimatch=Minimatch;minimatch.escape=escape2;minimatch.unescape=unescape2;var perf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,warned=new Set,PROCESS=typeof process=="object"&&process?process:{},emitWarning=(msg,type,code,fn5)=>{typeof PROCESS.emitWarning=="function"?PROCESS.emitWarning(msg,type,code,fn5):console.error(`[${code}] ${type}: ${msg}`);},AC2=globalThis.AbortController,AS3=globalThis.AbortSignal;if(typeof AC2>"u"){AS3=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(_11,fn5){this._onabort.push(fn5);}},AC2=class{constructor(){warnACPolyfill();}signal=new AS3;abort(reason){if(!this.signal.aborted){this.signal.reason=reason,this.signal.aborted=!0;for(let fn5 of this.signal._onabort)fn5(reason);this.signal.onabort?.(reason);}}};let printACPolyfillWarning=PROCESS.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",warnACPolyfill=()=>{printACPolyfillWarning&&(printACPolyfillWarning=!1,emitWarning("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill));};}var shouldWarn=code=>!warned.has(code),isPosInt=n10=>n10&&n10===Math.floor(n10)&&n10>0&&isFinite(n10),getUintArray=max=>isPosInt(max)?max<=Math.pow(2,8)?Uint8Array:max<=Math.pow(2,16)?Uint16Array:max<=Math.pow(2,32)?Uint32Array:max<=Number.MAX_SAFE_INTEGER?ZeroArray:null:null,ZeroArray=class extends Array{constructor(size){super(size),this.fill(0);}},Stack=class _Stack{heap;length;static#constructing=!1;static create(max){let HeapCls=getUintArray(max);if(!HeapCls)return [];_Stack.#constructing=!0;let s10=new _Stack(max,HeapCls);return _Stack.#constructing=!1,s10}constructor(max,HeapCls){if(!_Stack.#constructing)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new HeapCls(max),this.length=0;}push(n10){this.heap[this.length++]=n10;}pop(){return this.heap[--this.length]}},LRUCache=class _LRUCache{#max;#maxSize;#dispose;#disposeAfter;#fetchMethod;#memoMethod;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#size;#calculatedSize;#keyMap;#keyList;#valList;#next;#prev;#head;#tail;#free;#disposed;#sizes;#starts;#ttls;#hasDispose;#hasFetchMethod;#hasDisposeAfter;static unsafeExposeInternals(c10){return {starts:c10.#starts,ttls:c10.#ttls,sizes:c10.#sizes,keyMap:c10.#keyMap,keyList:c10.#keyList,valList:c10.#valList,next:c10.#next,prev:c10.#prev,get head(){return c10.#head},get tail(){return c10.#tail},free:c10.#free,isBackgroundFetch:p7=>c10.#isBackgroundFetch(p7),backgroundFetch:(k13,index,options,context)=>c10.#backgroundFetch(k13,index,options,context),moveToTail:index=>c10.#moveToTail(index),indexes:options=>c10.#indexes(options),rindexes:options=>c10.#rindexes(options),isStale:index=>c10.#isStale(index)}}get max(){return this.#max}get maxSize(){return this.#maxSize}get calculatedSize(){return this.#calculatedSize}get size(){return this.#size}get fetchMethod(){return this.#fetchMethod}get memoMethod(){return this.#memoMethod}get dispose(){return this.#dispose}get disposeAfter(){return this.#disposeAfter}constructor(options){let{max=0,ttl:ttl2,ttlResolution=1,ttlAutopurge,updateAgeOnGet,updateAgeOnHas,allowStale,dispose,disposeAfter,noDisposeOnSet,noUpdateTTL,maxSize=0,maxEntrySize=0,sizeCalculation,fetchMethod,memoMethod,noDeleteOnFetchRejection,noDeleteOnStaleGet,allowStaleOnFetchRejection,allowStaleOnFetchAbort,ignoreFetchAbort}=options;if(max!==0&&!isPosInt(max))throw new TypeError("max option must be a nonnegative integer");let UintArray=max?getUintArray(max):Array;if(!UintArray)throw new Error("invalid max value: "+max);if(this.#max=max,this.#maxSize=maxSize,this.maxEntrySize=maxEntrySize||this.#maxSize,this.sizeCalculation=sizeCalculation,this.sizeCalculation){if(!this.#maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(memoMethod!==void 0&&typeof memoMethod!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#memoMethod=memoMethod,fetchMethod!==void 0&&typeof fetchMethod!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#fetchMethod=fetchMethod,this.#hasFetchMethod=!!fetchMethod,this.#keyMap=new Map,this.#keyList=new Array(max).fill(void 0),this.#valList=new Array(max).fill(void 0),this.#next=new UintArray(max),this.#prev=new UintArray(max),this.#head=0,this.#tail=0,this.#free=Stack.create(max),this.#size=0,this.#calculatedSize=0,typeof dispose=="function"&&(this.#dispose=dispose),typeof disposeAfter=="function"?(this.#disposeAfter=disposeAfter,this.#disposed=[]):(this.#disposeAfter=void 0,this.#disposed=void 0),this.#hasDispose=!!this.#dispose,this.#hasDisposeAfter=!!this.#disposeAfter,this.noDisposeOnSet=!!noDisposeOnSet,this.noUpdateTTL=!!noUpdateTTL,this.noDeleteOnFetchRejection=!!noDeleteOnFetchRejection,this.allowStaleOnFetchRejection=!!allowStaleOnFetchRejection,this.allowStaleOnFetchAbort=!!allowStaleOnFetchAbort,this.ignoreFetchAbort=!!ignoreFetchAbort,this.maxEntrySize!==0){if(this.#maxSize!==0&&!isPosInt(this.#maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!isPosInt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#initializeSizeTracking();}if(this.allowStale=!!allowStale,this.noDeleteOnStaleGet=!!noDeleteOnStaleGet,this.updateAgeOnGet=!!updateAgeOnGet,this.updateAgeOnHas=!!updateAgeOnHas,this.ttlResolution=isPosInt(ttlResolution)||ttlResolution===0?ttlResolution:1,this.ttlAutopurge=!!ttlAutopurge,this.ttl=ttl2||0,this.ttl){if(!isPosInt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#initializeTTLTracking();}if(this.#max===0&&this.ttl===0&&this.#maxSize===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#max&&!this.#maxSize){let code="LRU_CACHE_UNBOUNDED";shouldWarn(code)&&(warned.add(code),emitWarning("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",code,_LRUCache));}}getRemainingTTL(key){return this.#keyMap.has(key)?1/0:0}#initializeTTLTracking(){let ttls=new ZeroArray(this.#max),starts=new ZeroArray(this.#max);this.#ttls=ttls,this.#starts=starts,this.#setItemTTL=(index,ttl2,start=perf.now())=>{if(starts[index]=ttl2!==0?start:0,ttls[index]=ttl2,ttl2!==0&&this.ttlAutopurge){let t18=setTimeout(()=>{this.#isStale(index)&&this.#delete(this.#keyList[index],"expire");},ttl2+1);t18.unref&&t18.unref();}},this.#updateItemAge=index=>{starts[index]=ttls[index]!==0?perf.now():0;},this.#statusTTL=(status,index)=>{if(ttls[index]){let ttl2=ttls[index],start=starts[index];if(!ttl2||!start)return;status.ttl=ttl2,status.start=start,status.now=cachedNow||getNow();let age=status.now-start;status.remainingTTL=ttl2-age;}};let cachedNow=0,getNow=()=>{let n10=perf.now();if(this.ttlResolution>0){cachedNow=n10;let t18=setTimeout(()=>cachedNow=0,this.ttlResolution);t18.unref&&t18.unref();}return n10};this.getRemainingTTL=key=>{let index=this.#keyMap.get(key);if(index===void 0)return 0;let ttl2=ttls[index],start=starts[index];if(!ttl2||!start)return 1/0;let age=(cachedNow||getNow())-start;return ttl2-age},this.#isStale=index=>{let s10=starts[index],t18=ttls[index];return !!t18&&!!s10&&(cachedNow||getNow())-s10>t18};}#updateItemAge=()=>{};#statusTTL=()=>{};#setItemTTL=()=>{};#isStale=()=>!1;#initializeSizeTracking(){let sizes=new ZeroArray(this.#max);this.#calculatedSize=0,this.#sizes=sizes,this.#removeItemSize=index=>{this.#calculatedSize-=sizes[index],sizes[index]=0;},this.#requireSize=(k13,v12,size,sizeCalculation)=>{if(this.#isBackgroundFetch(v12))return 0;if(!isPosInt(size))if(sizeCalculation){if(typeof sizeCalculation!="function")throw new TypeError("sizeCalculation must be a function");if(size=sizeCalculation(v12,k13),!isPosInt(size))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return size},this.#addItemSize=(index,size,status)=>{if(sizes[index]=size,this.#maxSize){let maxSize=this.#maxSize-sizes[index];for(;this.#calculatedSize>maxSize;)this.#evict(!0);}this.#calculatedSize+=sizes[index],status&&(status.entrySize=size,status.totalCalculatedSize=this.#calculatedSize);};}#removeItemSize=_i3=>{};#addItemSize=(_i3,_s3,_st)=>{};#requireSize=(_k2,_v2,size,sizeCalculation)=>{if(size||sizeCalculation)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#indexes({allowStale=this.allowStale}={}){if(this.#size)for(let i7=this.#tail;!(!this.#isValidIndex(i7)||((allowStale||!this.#isStale(i7))&&(yield i7),i7===this.#head));)i7=this.#prev[i7];}*#rindexes({allowStale=this.allowStale}={}){if(this.#size)for(let i7=this.#head;!(!this.#isValidIndex(i7)||((allowStale||!this.#isStale(i7))&&(yield i7),i7===this.#tail));)i7=this.#next[i7];}#isValidIndex(index){return index!==void 0&&this.#keyMap.get(this.#keyList[index])===index}*entries(){for(let i7 of this.#indexes())this.#valList[i7]!==void 0&&this.#keyList[i7]!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield [this.#keyList[i7],this.#valList[i7]]);}*rentries(){for(let i7 of this.#rindexes())this.#valList[i7]!==void 0&&this.#keyList[i7]!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield [this.#keyList[i7],this.#valList[i7]]);}*keys(){for(let i7 of this.#indexes()){let k13=this.#keyList[i7];k13!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield k13);}}*rkeys(){for(let i7 of this.#rindexes()){let k13=this.#keyList[i7];k13!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield k13);}}*values(){for(let i7 of this.#indexes())this.#valList[i7]!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield this.#valList[i7]);}*rvalues(){for(let i7 of this.#rindexes())this.#valList[i7]!==void 0&&!this.#isBackgroundFetch(this.#valList[i7])&&(yield this.#valList[i7]);}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(fn5,getOptions={}){for(let i7 of this.#indexes()){let v12=this.#valList[i7],value2=this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12;if(value2!==void 0&&fn5(value2,this.#keyList[i7],this))return this.get(this.#keyList[i7],getOptions)}}forEach(fn5,thisp=this){for(let i7 of this.#indexes()){let v12=this.#valList[i7],value2=this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12;value2!==void 0&&fn5.call(thisp,value2,this.#keyList[i7],this);}}rforEach(fn5,thisp=this){for(let i7 of this.#rindexes()){let v12=this.#valList[i7],value2=this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12;value2!==void 0&&fn5.call(thisp,value2,this.#keyList[i7],this);}}purgeStale(){let deleted=!1;for(let i7 of this.#rindexes({allowStale:!0}))this.#isStale(i7)&&(this.#delete(this.#keyList[i7],"expire"),deleted=!0);return deleted}info(key){let i7=this.#keyMap.get(key);if(i7===void 0)return;let v12=this.#valList[i7],value2=this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12;if(value2===void 0)return;let entry={value:value2};if(this.#ttls&&this.#starts){let ttl2=this.#ttls[i7],start=this.#starts[i7];if(ttl2&&start){let remain=ttl2-(perf.now()-start);entry.ttl=remain,entry.start=Date.now();}}return this.#sizes&&(entry.size=this.#sizes[i7]),entry}dump(){let arr=[];for(let i7 of this.#indexes({allowStale:!0})){let key=this.#keyList[i7],v12=this.#valList[i7],value2=this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12;if(value2===void 0||key===void 0)continue;let entry={value:value2};if(this.#ttls&&this.#starts){entry.ttl=this.#ttls[i7];let age=perf.now()-this.#starts[i7];entry.start=Math.floor(Date.now()-age);}this.#sizes&&(entry.size=this.#sizes[i7]),arr.unshift([key,entry]);}return arr}load(arr){this.clear();for(let[key,entry]of arr){if(entry.start){let age=Date.now()-entry.start;entry.start=perf.now()-age;}this.set(key,entry.value,entry);}}set(k13,v12,setOptions={}){if(v12===void 0)return this.delete(k13),this;let{ttl:ttl2=this.ttl,start,noDisposeOnSet=this.noDisposeOnSet,sizeCalculation=this.sizeCalculation,status}=setOptions,{noUpdateTTL=this.noUpdateTTL}=setOptions,size=this.#requireSize(k13,v12,setOptions.size||0,sizeCalculation);if(this.maxEntrySize&&size>this.maxEntrySize)return status&&(status.set="miss",status.maxEntrySizeExceeded=!0),this.#delete(k13,"set"),this;let index=this.#size===0?void 0:this.#keyMap.get(k13);if(index===void 0)index=this.#size===0?this.#tail:this.#free.length!==0?this.#free.pop():this.#size===this.#max?this.#evict(!1):this.#size,this.#keyList[index]=k13,this.#valList[index]=v12,this.#keyMap.set(k13,index),this.#next[this.#tail]=index,this.#prev[index]=this.#tail,this.#tail=index,this.#size++,this.#addItemSize(index,size,status),status&&(status.set="add"),noUpdateTTL=!1;else {this.#moveToTail(index);let oldVal=this.#valList[index];if(v12!==oldVal){if(this.#hasFetchMethod&&this.#isBackgroundFetch(oldVal)){oldVal.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:s10}=oldVal;s10!==void 0&&!noDisposeOnSet&&(this.#hasDispose&&this.#dispose?.(s10,k13,"set"),this.#hasDisposeAfter&&this.#disposed?.push([s10,k13,"set"]));}else noDisposeOnSet||(this.#hasDispose&&this.#dispose?.(oldVal,k13,"set"),this.#hasDisposeAfter&&this.#disposed?.push([oldVal,k13,"set"]));if(this.#removeItemSize(index),this.#addItemSize(index,size,status),this.#valList[index]=v12,status){status.set="replace";let oldValue=oldVal&&this.#isBackgroundFetch(oldVal)?oldVal.__staleWhileFetching:oldVal;oldValue!==void 0&&(status.oldValue=oldValue);}}else status&&(status.set="update");}if(ttl2!==0&&!this.#ttls&&this.#initializeTTLTracking(),this.#ttls&&(noUpdateTTL||this.#setItemTTL(index,ttl2,start),status&&this.#statusTTL(status,index)),!noDisposeOnSet&&this.#hasDisposeAfter&&this.#disposed){let dt4=this.#disposed,task;for(;task=dt4?.shift();)this.#disposeAfter?.(...task);}return this}pop(){try{for(;this.#size;){let val=this.#valList[this.#head];if(this.#evict(!0),this.#isBackgroundFetch(val)){if(val.__staleWhileFetching)return val.__staleWhileFetching}else if(val!==void 0)return val}}finally{if(this.#hasDisposeAfter&&this.#disposed){let dt4=this.#disposed,task;for(;task=dt4?.shift();)this.#disposeAfter?.(...task);}}}#evict(free){let head=this.#head,k13=this.#keyList[head],v12=this.#valList[head];return this.#hasFetchMethod&&this.#isBackgroundFetch(v12)?v12.__abortController.abort(new Error("evicted")):(this.#hasDispose||this.#hasDisposeAfter)&&(this.#hasDispose&&this.#dispose?.(v12,k13,"evict"),this.#hasDisposeAfter&&this.#disposed?.push([v12,k13,"evict"])),this.#removeItemSize(head),free&&(this.#keyList[head]=void 0,this.#valList[head]=void 0,this.#free.push(head)),this.#size===1?(this.#head=this.#tail=0,this.#free.length=0):this.#head=this.#next[head],this.#keyMap.delete(k13),this.#size--,head}has(k13,hasOptions={}){let{updateAgeOnHas=this.updateAgeOnHas,status}=hasOptions,index=this.#keyMap.get(k13);if(index!==void 0){let v12=this.#valList[index];if(this.#isBackgroundFetch(v12)&&v12.__staleWhileFetching===void 0)return !1;if(this.#isStale(index))status&&(status.has="stale",this.#statusTTL(status,index));else return updateAgeOnHas&&this.#updateItemAge(index),status&&(status.has="hit",this.#statusTTL(status,index)),!0}else status&&(status.has="miss");return !1}peek(k13,peekOptions={}){let{allowStale=this.allowStale}=peekOptions,index=this.#keyMap.get(k13);if(index===void 0||!allowStale&&this.#isStale(index))return;let v12=this.#valList[index];return this.#isBackgroundFetch(v12)?v12.__staleWhileFetching:v12}#backgroundFetch(k13,index,options,context){let v12=index===void 0?void 0:this.#valList[index];if(this.#isBackgroundFetch(v12))return v12;let ac2=new AC2,{signal}=options;signal?.addEventListener("abort",()=>ac2.abort(signal.reason),{signal:ac2.signal});let fetchOpts={signal:ac2.signal,options,context},cb3=(v13,updateCache=!1)=>{let{aborted}=ac2.signal,ignoreAbort=options.ignoreFetchAbort&&v13!==void 0;if(options.status&&(aborted&&!updateCache?(options.status.fetchAborted=!0,options.status.fetchError=ac2.signal.reason,ignoreAbort&&(options.status.fetchAbortIgnored=!0)):options.status.fetchResolved=!0),aborted&&!ignoreAbort&&!updateCache)return fetchFail(ac2.signal.reason);let bf4=p7;return this.#valList[index]===p7&&(v13===void 0?bf4.__staleWhileFetching?this.#valList[index]=bf4.__staleWhileFetching:this.#delete(k13,"fetch"):(options.status&&(options.status.fetchUpdated=!0),this.set(k13,v13,fetchOpts.options))),v13},eb2=er6=>(options.status&&(options.status.fetchRejected=!0,options.status.fetchError=er6),fetchFail(er6)),fetchFail=er6=>{let{aborted}=ac2.signal,allowStaleAborted=aborted&&options.allowStaleOnFetchAbort,allowStale=allowStaleAborted||options.allowStaleOnFetchRejection,noDelete=allowStale||options.noDeleteOnFetchRejection,bf4=p7;if(this.#valList[index]===p7&&(!noDelete||bf4.__staleWhileFetching===void 0?this.#delete(k13,"fetch"):allowStaleAborted||(this.#valList[index]=bf4.__staleWhileFetching)),allowStale)return options.status&&bf4.__staleWhileFetching!==void 0&&(options.status.returnedStale=!0),bf4.__staleWhileFetching;if(bf4.__returned===bf4)throw er6},pcall=(res,rej)=>{let fmp=this.#fetchMethod?.(k13,v12,fetchOpts);fmp&&fmp instanceof Promise&&fmp.then(v13=>res(v13===void 0?void 0:v13),rej),ac2.signal.addEventListener("abort",()=>{(!options.ignoreFetchAbort||options.allowStaleOnFetchAbort)&&(res(void 0),options.allowStaleOnFetchAbort&&(res=v13=>cb3(v13,!0)));});};options.status&&(options.status.fetchDispatched=!0);let p7=new Promise(pcall).then(cb3,eb2),bf3=Object.assign(p7,{__abortController:ac2,__staleWhileFetching:v12,__returned:void 0});return index===void 0?(this.set(k13,bf3,{...fetchOpts.options,status:void 0}),index=this.#keyMap.get(k13)):this.#valList[index]=bf3,bf3}#isBackgroundFetch(p7){if(!this.#hasFetchMethod)return !1;let b8=p7;return !!b8&&b8 instanceof Promise&&b8.hasOwnProperty("__staleWhileFetching")&&b8.__abortController instanceof AC2}async fetch(k13,fetchOptions={}){let{allowStale=this.allowStale,updateAgeOnGet=this.updateAgeOnGet,noDeleteOnStaleGet=this.noDeleteOnStaleGet,ttl:ttl2=this.ttl,noDisposeOnSet=this.noDisposeOnSet,size=0,sizeCalculation=this.sizeCalculation,noUpdateTTL=this.noUpdateTTL,noDeleteOnFetchRejection=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection=this.allowStaleOnFetchRejection,ignoreFetchAbort=this.ignoreFetchAbort,allowStaleOnFetchAbort=this.allowStaleOnFetchAbort,context,forceRefresh=!1,status,signal}=fetchOptions;if(!this.#hasFetchMethod)return status&&(status.fetch="get"),this.get(k13,{allowStale,updateAgeOnGet,noDeleteOnStaleGet,status});let options={allowStale,updateAgeOnGet,noDeleteOnStaleGet,ttl:ttl2,noDisposeOnSet,size,sizeCalculation,noUpdateTTL,noDeleteOnFetchRejection,allowStaleOnFetchRejection,allowStaleOnFetchAbort,ignoreFetchAbort,status,signal},index=this.#keyMap.get(k13);if(index===void 0){status&&(status.fetch="miss");let p7=this.#backgroundFetch(k13,index,options,context);return p7.__returned=p7}else {let v12=this.#valList[index];if(this.#isBackgroundFetch(v12)){let stale=allowStale&&v12.__staleWhileFetching!==void 0;return status&&(status.fetch="inflight",stale&&(status.returnedStale=!0)),stale?v12.__staleWhileFetching:v12.__returned=v12}let isStale=this.#isStale(index);if(!forceRefresh&&!isStale)return status&&(status.fetch="hit"),this.#moveToTail(index),updateAgeOnGet&&this.#updateItemAge(index),status&&this.#statusTTL(status,index),v12;let p7=this.#backgroundFetch(k13,index,options,context),staleVal=p7.__staleWhileFetching!==void 0&&allowStale;return status&&(status.fetch=isStale?"stale":"refresh",staleVal&&isStale&&(status.returnedStale=!0)),staleVal?p7.__staleWhileFetching:p7.__returned=p7}}async forceFetch(k13,fetchOptions={}){let v12=await this.fetch(k13,fetchOptions);if(v12===void 0)throw new Error("fetch() returned undefined");return v12}memo(k13,memoOptions={}){let memoMethod=this.#memoMethod;if(!memoMethod)throw new Error("no memoMethod provided to constructor");let{context,forceRefresh,...options}=memoOptions,v12=this.get(k13,options);if(!forceRefresh&&v12!==void 0)return v12;let vv4=memoMethod(k13,v12,{options,context});return this.set(k13,vv4,options),vv4}get(k13,getOptions={}){let{allowStale=this.allowStale,updateAgeOnGet=this.updateAgeOnGet,noDeleteOnStaleGet=this.noDeleteOnStaleGet,status}=getOptions,index=this.#keyMap.get(k13);if(index!==void 0){let value2=this.#valList[index],fetching=this.#isBackgroundFetch(value2);return status&&this.#statusTTL(status,index),this.#isStale(index)?(status&&(status.get="stale"),fetching?(status&&allowStale&&value2.__staleWhileFetching!==void 0&&(status.returnedStale=!0),allowStale?value2.__staleWhileFetching:void 0):(noDeleteOnStaleGet||this.#delete(k13,"expire"),status&&allowStale&&(status.returnedStale=!0),allowStale?value2:void 0)):(status&&(status.get="hit"),fetching?value2.__staleWhileFetching:(this.#moveToTail(index),updateAgeOnGet&&this.#updateItemAge(index),value2))}else status&&(status.get="miss");}#connect(p7,n10){this.#prev[n10]=p7,this.#next[p7]=n10;}#moveToTail(index){index!==this.#tail&&(index===this.#head?this.#head=this.#next[index]:this.#connect(this.#prev[index],this.#next[index]),this.#connect(this.#tail,index),this.#tail=index);}delete(k13){return this.#delete(k13,"delete")}#delete(k13,reason){let deleted=!1;if(this.#size!==0){let index=this.#keyMap.get(k13);if(index!==void 0)if(deleted=!0,this.#size===1)this.#clear(reason);else {this.#removeItemSize(index);let v12=this.#valList[index];if(this.#isBackgroundFetch(v12)?v12.__abortController.abort(new Error("deleted")):(this.#hasDispose||this.#hasDisposeAfter)&&(this.#hasDispose&&this.#dispose?.(v12,k13,reason),this.#hasDisposeAfter&&this.#disposed?.push([v12,k13,reason])),this.#keyMap.delete(k13),this.#keyList[index]=void 0,this.#valList[index]=void 0,index===this.#tail)this.#tail=this.#prev[index];else if(index===this.#head)this.#head=this.#next[index];else {let pi4=this.#prev[index];this.#next[pi4]=this.#next[index];let ni8=this.#next[index];this.#prev[ni8]=this.#prev[index];}this.#size--,this.#free.push(index);}}if(this.#hasDisposeAfter&&this.#disposed?.length){let dt4=this.#disposed,task;for(;task=dt4?.shift();)this.#disposeAfter?.(...task);}return deleted}clear(){return this.#clear("delete")}#clear(reason){for(let index of this.#rindexes({allowStale:!0})){let v12=this.#valList[index];if(this.#isBackgroundFetch(v12))v12.__abortController.abort(new Error("deleted"));else {let k13=this.#keyList[index];this.#hasDispose&&this.#dispose?.(v12,k13,reason),this.#hasDisposeAfter&&this.#disposed?.push([v12,k13,reason]);}}if(this.#keyMap.clear(),this.#valList.fill(void 0),this.#keyList.fill(void 0),this.#ttls&&this.#starts&&(this.#ttls.fill(0),this.#starts.fill(0)),this.#sizes&&this.#sizes.fill(0),this.#head=0,this.#tail=0,this.#free.length=0,this.#calculatedSize=0,this.#size=0,this.#hasDisposeAfter&&this.#disposed){let dt4=this.#disposed,task;for(;task=dt4?.shift();)this.#disposeAfter?.(...task);}}};var proc=typeof process=="object"&&process?process:{stdout:null,stderr:null},isStream2=s10=>!!s10&&typeof s10=="object"&&(s10 instanceof Minipass||s10 instanceof Zl3||isReadable(s10)||isWritable(s10)),isReadable=s10=>!!s10&&typeof s10=="object"&&s10 instanceof EventEmitter&&typeof s10.pipe=="function"&&s10.pipe!==Zl3.Writable.prototype.pipe,isWritable=s10=>!!s10&&typeof s10=="object"&&s10 instanceof EventEmitter&&typeof s10.write=="function"&&typeof s10.end=="function",EOF=Symbol("EOF"),MAYBE_EMIT_END=Symbol("maybeEmitEnd"),EMITTED_END=Symbol("emittedEnd"),EMITTING_END=Symbol("emittingEnd"),EMITTED_ERROR=Symbol("emittedError"),CLOSED=Symbol("closed"),READ=Symbol("read"),FLUSH=Symbol("flush"),FLUSHCHUNK=Symbol("flushChunk"),ENCODING=Symbol("encoding"),DECODER=Symbol("decoder"),FLOWING=Symbol("flowing"),PAUSED=Symbol("paused"),RESUME=Symbol("resume"),BUFFER=Symbol("buffer"),PIPES=Symbol("pipes"),BUFFERLENGTH=Symbol("bufferLength"),BUFFERPUSH=Symbol("bufferPush"),BUFFERSHIFT=Symbol("bufferShift"),OBJECTMODE=Symbol("objectMode"),DESTROYED=Symbol("destroyed"),ERROR=Symbol("error"),EMITDATA=Symbol("emitData"),EMITEND=Symbol("emitEnd"),EMITEND2=Symbol("emitEnd2"),ASYNC=Symbol("async"),ABORT=Symbol("abort"),ABORTED=Symbol("aborted"),SIGNAL=Symbol("signal"),DATALISTENERS=Symbol("dataListeners"),DISCARDED=Symbol("discarded"),defer=fn5=>Promise.resolve().then(fn5),nodefer=fn5=>fn5(),isEndish=ev2=>ev2==="end"||ev2==="finish"||ev2==="prefinish",isArrayBufferLike=b8=>b8 instanceof ArrayBuffer||!!b8&&typeof b8=="object"&&b8.constructor&&b8.constructor.name==="ArrayBuffer"&&b8.byteLength>=0,isArrayBufferView=b8=>!Buffer.isBuffer(b8)&&ArrayBuffer.isView(b8),Pipe=class{src;dest;opts;ondrain;constructor(src,dest,opts){this.src=src,this.dest=dest,this.opts=opts,this.ondrain=()=>src[RESUME](),this.dest.on("drain",this.ondrain);}unpipe(){this.dest.removeListener("drain",this.ondrain);}proxyErrors(_er){}end(){this.unpipe(),this.opts.end&&this.dest.end();}},PipeProxyErrors=class extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe();}constructor(src,dest,opts){super(src,dest,opts),this.proxyErrors=er6=>dest.emit("error",er6),src.on("error",this.proxyErrors);}},isObjectModeOptions=o10=>!!o10.objectMode,isEncodingOptions=o10=>!o10.objectMode&&!!o10.encoding&&o10.encoding!=="buffer",Minipass=class extends EventEmitter{[FLOWING]=!1;[PAUSED]=!1;[PIPES]=[];[BUFFER]=[];[OBJECTMODE];[ENCODING];[ASYNC];[DECODER];[EOF]=!1;[EMITTED_END]=!1;[EMITTING_END]=!1;[CLOSED]=!1;[EMITTED_ERROR]=null;[BUFFERLENGTH]=0;[DESTROYED]=!1;[SIGNAL];[ABORTED]=!1;[DATALISTENERS]=0;[DISCARDED]=!1;writable=!0;readable=!0;constructor(...args){let options=args[0]||{};if(super(),options.objectMode&&typeof options.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");isObjectModeOptions(options)?(this[OBJECTMODE]=!0,this[ENCODING]=null):isEncodingOptions(options)?(this[ENCODING]=options.encoding,this[OBJECTMODE]=!1):(this[OBJECTMODE]=!1,this[ENCODING]=null),this[ASYNC]=!!options.async,this[DECODER]=this[ENCODING]?new StringDecoder(this[ENCODING]):null,options&&options.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[BUFFER]}),options&&options.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[PIPES]});let{signal}=options;signal&&(this[SIGNAL]=signal,signal.aborted?this[ABORT]():signal.addEventListener("abort",()=>this[ABORT]()));}get bufferLength(){return this[BUFFERLENGTH]}get encoding(){return this[ENCODING]}set encoding(_enc){throw new Error("Encoding must be set at instantiation time")}setEncoding(_enc){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[OBJECTMODE]}set objectMode(_om){throw new Error("objectMode must be set at instantiation time")}get async(){return this[ASYNC]}set async(a5){this[ASYNC]=this[ASYNC]||!!a5;}[ABORT](){this[ABORTED]=!0,this.emit("abort",this[SIGNAL]?.reason),this.destroy(this[SIGNAL]?.reason);}get aborted(){return this[ABORTED]}set aborted(_11){}write(chunk,encoding,cb3){if(this[ABORTED])return !1;if(this[EOF])throw new Error("write after end");if(this[DESTROYED])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof encoding=="function"&&(cb3=encoding,encoding="utf8"),encoding||(encoding="utf8");let fn5=this[ASYNC]?defer:nodefer;if(!this[OBJECTMODE]&&!Buffer.isBuffer(chunk)){if(isArrayBufferView(chunk))chunk=Buffer.from(chunk.buffer,chunk.byteOffset,chunk.byteLength);else if(isArrayBufferLike(chunk))chunk=Buffer.from(chunk);else if(typeof chunk!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[OBJECTMODE]?(this[FLOWING]&&this[BUFFERLENGTH]!==0&&this[FLUSH](!0),this[FLOWING]?this.emit("data",chunk):this[BUFFERPUSH](chunk),this[BUFFERLENGTH]!==0&&this.emit("readable"),cb3&&fn5(cb3),this[FLOWING]):chunk.length?(typeof chunk=="string"&&!(encoding===this[ENCODING]&&!this[DECODER]?.lastNeed)&&(chunk=Buffer.from(chunk,encoding)),Buffer.isBuffer(chunk)&&this[ENCODING]&&(chunk=this[DECODER].write(chunk)),this[FLOWING]&&this[BUFFERLENGTH]!==0&&this[FLUSH](!0),this[FLOWING]?this.emit("data",chunk):this[BUFFERPUSH](chunk),this[BUFFERLENGTH]!==0&&this.emit("readable"),cb3&&fn5(cb3),this[FLOWING]):(this[BUFFERLENGTH]!==0&&this.emit("readable"),cb3&&fn5(cb3),this[FLOWING])}read(n10){if(this[DESTROYED])return null;if(this[DISCARDED]=!1,this[BUFFERLENGTH]===0||n10===0||n10&&n10>this[BUFFERLENGTH])return this[MAYBE_EMIT_END](),null;this[OBJECTMODE]&&(n10=null),this[BUFFER].length>1&&!this[OBJECTMODE]&&(this[BUFFER]=[this[ENCODING]?this[BUFFER].join(""):Buffer.concat(this[BUFFER],this[BUFFERLENGTH])]);let ret=this[READ](n10||null,this[BUFFER][0]);return this[MAYBE_EMIT_END](),ret}[READ](n10,chunk){if(this[OBJECTMODE])this[BUFFERSHIFT]();else {let c10=chunk;n10===c10.length||n10===null?this[BUFFERSHIFT]():typeof c10=="string"?(this[BUFFER][0]=c10.slice(n10),chunk=c10.slice(0,n10),this[BUFFERLENGTH]-=n10):(this[BUFFER][0]=c10.subarray(n10),chunk=c10.subarray(0,n10),this[BUFFERLENGTH]-=n10);}return this.emit("data",chunk),!this[BUFFER].length&&!this[EOF]&&this.emit("drain"),chunk}end(chunk,encoding,cb3){return typeof chunk=="function"&&(cb3=chunk,chunk=void 0),typeof encoding=="function"&&(cb3=encoding,encoding="utf8"),chunk!==void 0&&this.write(chunk,encoding),cb3&&this.once("end",cb3),this[EOF]=!0,this.writable=!1,(this[FLOWING]||!this[PAUSED])&&this[MAYBE_EMIT_END](),this}[RESUME](){this[DESTROYED]||(!this[DATALISTENERS]&&!this[PIPES].length&&(this[DISCARDED]=!0),this[PAUSED]=!1,this[FLOWING]=!0,this.emit("resume"),this[BUFFER].length?this[FLUSH]():this[EOF]?this[MAYBE_EMIT_END]():this.emit("drain"));}resume(){return this[RESUME]()}pause(){this[FLOWING]=!1,this[PAUSED]=!0,this[DISCARDED]=!1;}get destroyed(){return this[DESTROYED]}get flowing(){return this[FLOWING]}get paused(){return this[PAUSED]}[BUFFERPUSH](chunk){this[OBJECTMODE]?this[BUFFERLENGTH]+=1:this[BUFFERLENGTH]+=chunk.length,this[BUFFER].push(chunk);}[BUFFERSHIFT](){return this[OBJECTMODE]?this[BUFFERLENGTH]-=1:this[BUFFERLENGTH]-=this[BUFFER][0].length,this[BUFFER].shift()}[FLUSH](noDrain=!1){do;while(this[FLUSHCHUNK](this[BUFFERSHIFT]())&&this[BUFFER].length);!noDrain&&!this[BUFFER].length&&!this[EOF]&&this.emit("drain");}[FLUSHCHUNK](chunk){return this.emit("data",chunk),this[FLOWING]}pipe(dest,opts){if(this[DESTROYED])return dest;this[DISCARDED]=!1;let ended=this[EMITTED_END];return opts=opts||{},dest===proc.stdout||dest===proc.stderr?opts.end=!1:opts.end=opts.end!==!1,opts.proxyErrors=!!opts.proxyErrors,ended?opts.end&&dest.end():(this[PIPES].push(opts.proxyErrors?new PipeProxyErrors(this,dest,opts):new Pipe(this,dest,opts)),this[ASYNC]?defer(()=>this[RESUME]()):this[RESUME]()),dest}unpipe(dest){let p7=this[PIPES].find(p8=>p8.dest===dest);p7&&(this[PIPES].length===1?(this[FLOWING]&&this[DATALISTENERS]===0&&(this[FLOWING]=!1),this[PIPES]=[]):this[PIPES].splice(this[PIPES].indexOf(p7),1),p7.unpipe());}addListener(ev2,handler){return this.on(ev2,handler)}on(ev2,handler){let ret=super.on(ev2,handler);if(ev2==="data")this[DISCARDED]=!1,this[DATALISTENERS]++,!this[PIPES].length&&!this[FLOWING]&&this[RESUME]();else if(ev2==="readable"&&this[BUFFERLENGTH]!==0)super.emit("readable");else if(isEndish(ev2)&&this[EMITTED_END])super.emit(ev2),this.removeAllListeners(ev2);else if(ev2==="error"&&this[EMITTED_ERROR]){let h8=handler;this[ASYNC]?defer(()=>h8.call(this,this[EMITTED_ERROR])):h8.call(this,this[EMITTED_ERROR]);}return ret}removeListener(ev2,handler){return this.off(ev2,handler)}off(ev2,handler){let ret=super.off(ev2,handler);return ev2==="data"&&(this[DATALISTENERS]=this.listeners("data").length,this[DATALISTENERS]===0&&!this[DISCARDED]&&!this[PIPES].length&&(this[FLOWING]=!1)),ret}removeAllListeners(ev2){let ret=super.removeAllListeners(ev2);return (ev2==="data"||ev2===void 0)&&(this[DATALISTENERS]=0,!this[DISCARDED]&&!this[PIPES].length&&(this[FLOWING]=!1)),ret}get emittedEnd(){return this[EMITTED_END]}[MAYBE_EMIT_END](){!this[EMITTING_END]&&!this[EMITTED_END]&&!this[DESTROYED]&&this[BUFFER].length===0&&this[EOF]&&(this[EMITTING_END]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[CLOSED]&&this.emit("close"),this[EMITTING_END]=!1);}emit(ev2,...args){let data=args[0];if(ev2!=="error"&&ev2!=="close"&&ev2!==DESTROYED&&this[DESTROYED])return !1;if(ev2==="data")return !this[OBJECTMODE]&&!data?!1:this[ASYNC]?(defer(()=>this[EMITDATA](data)),!0):this[EMITDATA](data);if(ev2==="end")return this[EMITEND]();if(ev2==="close"){if(this[CLOSED]=!0,!this[EMITTED_END]&&!this[DESTROYED])return !1;let ret2=super.emit("close");return this.removeAllListeners("close"),ret2}else if(ev2==="error"){this[EMITTED_ERROR]=data,super.emit(ERROR,data);let ret2=!this[SIGNAL]||this.listeners("error").length?super.emit("error",data):!1;return this[MAYBE_EMIT_END](),ret2}else if(ev2==="resume"){let ret2=super.emit("resume");return this[MAYBE_EMIT_END](),ret2}else if(ev2==="finish"||ev2==="prefinish"){let ret2=super.emit(ev2);return this.removeAllListeners(ev2),ret2}let ret=super.emit(ev2,...args);return this[MAYBE_EMIT_END](),ret}[EMITDATA](data){for(let p7 of this[PIPES])p7.dest.write(data)===!1&&this.pause();let ret=this[DISCARDED]?!1:super.emit("data",data);return this[MAYBE_EMIT_END](),ret}[EMITEND](){return this[EMITTED_END]?!1:(this[EMITTED_END]=!0,this.readable=!1,this[ASYNC]?(defer(()=>this[EMITEND2]()),!0):this[EMITEND2]())}[EMITEND2](){if(this[DECODER]){let data=this[DECODER].end();if(data){for(let p7 of this[PIPES])p7.dest.write(data);this[DISCARDED]||super.emit("data",data);}}for(let p7 of this[PIPES])p7.end();let ret=super.emit("end");return this.removeAllListeners("end"),ret}async collect(){let buf=Object.assign([],{dataLength:0});this[OBJECTMODE]||(buf.dataLength=0);let p7=this.promise();return this.on("data",c10=>{buf.push(c10),this[OBJECTMODE]||(buf.dataLength+=c10.length);}),await p7,buf}async concat(){if(this[OBJECTMODE])throw new Error("cannot concat in objectMode");let buf=await this.collect();return this[ENCODING]?buf.join(""):Buffer.concat(buf,buf.dataLength)}async promise(){return new Promise((resolve9,reject)=>{this.on(DESTROYED,()=>reject(new Error("stream destroyed"))),this.on("error",er6=>reject(er6)),this.on("end",()=>resolve9());})}[Symbol.asyncIterator](){this[DISCARDED]=!1;let stopped=!1,stop=async()=>(this.pause(),stopped=!0,{value:void 0,done:!0});return {next:()=>{if(stopped)return stop();let res=this.read();if(res!==null)return Promise.resolve({done:!1,value:res});if(this[EOF])return stop();let resolve9,reject,onerr=er6=>{this.off("data",ondata),this.off("end",onend),this.off(DESTROYED,ondestroy),stop(),reject(er6);},ondata=value2=>{this.off("error",onerr),this.off("end",onend),this.off(DESTROYED,ondestroy),this.pause(),resolve9({value:value2,done:!!this[EOF]});},onend=()=>{this.off("error",onerr),this.off("data",ondata),this.off(DESTROYED,ondestroy),stop(),resolve9({done:!0,value:void 0});},ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise((res2,rej)=>{reject=rej,resolve9=res2,this.once(DESTROYED,ondestroy),this.once("error",onerr),this.once("end",onend),this.once("data",ondata);})},throw:stop,return:stop,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[DISCARDED]=!1;let stopped=!1,stop=()=>(this.pause(),this.off(ERROR,stop),this.off(DESTROYED,stop),this.off("end",stop),stopped=!0,{done:!0,value:void 0}),next=()=>{if(stopped)return stop();let value2=this.read();return value2===null?stop():{done:!1,value:value2}};return this.once("end",stop),this.once(ERROR,stop),this.once(DESTROYED,stop),{next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(er6){if(this[DESTROYED])return er6?this.emit("error",er6):this.emit(DESTROYED),this;this[DESTROYED]=!0,this[DISCARDED]=!0,this[BUFFER].length=0,this[BUFFERLENGTH]=0;let wc4=this;return typeof wc4.close=="function"&&!this[CLOSED]&&wc4.close(),er6?this.emit("error",er6):this.emit(DESTROYED),this}static get isStream(){return isStream2}};var realpathSync=realpathSync$1.native,defaultFS={lstatSync,readdir:readdir$1,readdirSync: readdirSync$1,readlinkSync,realpathSync,promises:{lstat,readdir,readlink,realpath}},fsFromOption=fsOption=>!fsOption||fsOption===defaultFS||fsOption===tn6?defaultFS:{...defaultFS,...fsOption,promises:{...defaultFS.promises,...fsOption.promises||{}}},uncDriveRegexp=/^\\\\\?\\([a-z]:)\\?$/i,uncToDrive=rootPath=>rootPath.replace(/\//g,"\\").replace(uncDriveRegexp,"$1\\"),eitherSep=/[\\\/]/,UNKNOWN=0,IFIFO=1,IFCHR=2,IFDIR=4,IFBLK=6,IFREG=8,IFLNK=10,IFSOCK=12,IFMT=15,IFMT_UNKNOWN=~IFMT,READDIR_CALLED=16,LSTAT_CALLED=32,ENOTDIR=64,ENOENT=128,ENOREADLINK=256,ENOREALPATH=512,ENOCHILD=ENOTDIR|ENOENT|ENOREALPATH,TYPEMASK=1023,entToType=s10=>s10.isFile()?IFREG:s10.isDirectory()?IFDIR:s10.isSymbolicLink()?IFLNK:s10.isCharacterDevice()?IFCHR:s10.isBlockDevice()?IFBLK:s10.isSocket()?IFSOCK:s10.isFIFO()?IFIFO:UNKNOWN,normalizeCache=new Map,normalize=s10=>{let c10=normalizeCache.get(s10);if(c10)return c10;let n10=s10.normalize("NFKD");return normalizeCache.set(s10,n10),n10},normalizeNocaseCache=new Map,normalizeNocase=s10=>{let c10=normalizeNocaseCache.get(s10);if(c10)return c10;let n10=normalize(s10.toLowerCase());return normalizeNocaseCache.set(s10,n10),n10},ResolveCache=class extends LRUCache{constructor(){super({max:256});}},ChildrenCache=class extends LRUCache{constructor(maxSize=16*1024){super({maxSize,sizeCalculation:a5=>a5.length+1});}},setAsCwd=Symbol("PathScurry setAsCwd"),PathBase=class{name;root;roots;parent;nocase;isCWD=!1;#fs;#dev;get dev(){return this.#dev}#mode;get mode(){return this.#mode}#nlink;get nlink(){return this.#nlink}#uid;get uid(){return this.#uid}#gid;get gid(){return this.#gid}#rdev;get rdev(){return this.#rdev}#blksize;get blksize(){return this.#blksize}#ino;get ino(){return this.#ino}#size;get size(){return this.#size}#blocks;get blocks(){return this.#blocks}#atimeMs;get atimeMs(){return this.#atimeMs}#mtimeMs;get mtimeMs(){return this.#mtimeMs}#ctimeMs;get ctimeMs(){return this.#ctimeMs}#birthtimeMs;get birthtimeMs(){return this.#birthtimeMs}#atime;get atime(){return this.#atime}#mtime;get mtime(){return this.#mtime}#ctime;get ctime(){return this.#ctime}#birthtime;get birthtime(){return this.#birthtime}#matchName;#depth;#fullpath;#fullpathPosix;#relative;#relativePosix;#type;#children;#linkTarget;#realpath;get parentPath(){return (this.parent||this).fullpath()}get path(){return this.parentPath}constructor(name,type=UNKNOWN,root,roots,nocase,children,opts){this.name=name,this.#matchName=nocase?normalizeNocase(name):normalize(name),this.#type=type&TYPEMASK,this.nocase=nocase,this.roots=roots,this.root=root||this,this.#children=children,this.#fullpath=opts.fullpath,this.#relative=opts.relative,this.#relativePosix=opts.relativePosix,this.parent=opts.parent,this.parent?this.#fs=this.parent.#fs:this.#fs=fsFromOption(opts.fs);}depth(){return this.#depth!==void 0?this.#depth:this.parent?this.#depth=this.parent.depth()+1:this.#depth=0}childrenCache(){return this.#children}resolve(path12){if(!path12)return this;let rootPath=this.getRootString(path12),dirParts=path12.substring(rootPath.length).split(this.splitSep);return rootPath?this.getRoot(rootPath).#resolveParts(dirParts):this.#resolveParts(dirParts)}#resolveParts(dirParts){let p7=this;for(let part of dirParts)p7=p7.child(part);return p7}children(){let cached=this.#children.get(this);if(cached)return cached;let children=Object.assign([],{provisional:0});return this.#children.set(this,children),this.#type&=~READDIR_CALLED,children}child(pathPart,opts){if(pathPart===""||pathPart===".")return this;if(pathPart==="..")return this.parent||this;let children=this.children(),name=this.nocase?normalizeNocase(pathPart):normalize(pathPart);for(let p7 of children)if(p7.#matchName===name)return p7;let s10=this.parent?this.sep:"",fullpath=this.#fullpath?this.#fullpath+s10+pathPart:void 0,pchild=this.newChild(pathPart,UNKNOWN,{...opts,parent:this,fullpath});return this.canReaddir()||(pchild.#type|=ENOENT),children.push(pchild),pchild}relative(){if(this.isCWD)return "";if(this.#relative!==void 0)return this.#relative;let name=this.name,p7=this.parent;if(!p7)return this.#relative=this.name;let pv4=p7.relative();return pv4+(!pv4||!p7.parent?"":this.sep)+name}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return "";if(this.#relativePosix!==void 0)return this.#relativePosix;let name=this.name,p7=this.parent;if(!p7)return this.#relativePosix=this.fullpathPosix();let pv4=p7.relativePosix();return pv4+(!pv4||!p7.parent?"":"/")+name}fullpath(){if(this.#fullpath!==void 0)return this.#fullpath;let name=this.name,p7=this.parent;if(!p7)return this.#fullpath=this.name;let fp5=p7.fullpath()+(p7.parent?this.sep:"")+name;return this.#fullpath=fp5}fullpathPosix(){if(this.#fullpathPosix!==void 0)return this.#fullpathPosix;if(this.sep==="/")return this.#fullpathPosix=this.fullpath();if(!this.parent){let p8=this.fullpath().replace(/\\/g,"/");return /^[a-z]:\//i.test(p8)?this.#fullpathPosix=`//?/${p8}`:this.#fullpathPosix=p8}let p7=this.parent,pfpp=p7.fullpathPosix(),fpp=pfpp+(!pfpp||!p7.parent?"":"/")+this.name;return this.#fullpathPosix=fpp}isUnknown(){return (this.#type&IFMT)===UNKNOWN}isType(type){return this[`is${type}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return (this.#type&IFMT)===IFREG}isDirectory(){return (this.#type&IFMT)===IFDIR}isCharacterDevice(){return (this.#type&IFMT)===IFCHR}isBlockDevice(){return (this.#type&IFMT)===IFBLK}isFIFO(){return (this.#type&IFMT)===IFIFO}isSocket(){return (this.#type&IFMT)===IFSOCK}isSymbolicLink(){return (this.#type&IFLNK)===IFLNK}lstatCached(){return this.#type&LSTAT_CALLED?this:void 0}readlinkCached(){return this.#linkTarget}realpathCached(){return this.#realpath}readdirCached(){let children=this.children();return children.slice(0,children.provisional)}canReadlink(){if(this.#linkTarget)return !0;if(!this.parent)return !1;let ifmt=this.#type&IFMT;return !(ifmt!==UNKNOWN&&ifmt!==IFLNK||this.#type&ENOREADLINK||this.#type&ENOENT)}calledReaddir(){return !!(this.#type&READDIR_CALLED)}isENOENT(){return !!(this.#type&ENOENT)}isNamed(n10){return this.nocase?this.#matchName===normalizeNocase(n10):this.#matchName===normalize(n10)}async readlink(){let target=this.#linkTarget;if(target)return target;if(this.canReadlink()&&this.parent)try{let read=await this.#fs.promises.readlink(this.fullpath()),linkTarget=(await this.parent.realpath())?.resolve(read);if(linkTarget)return this.#linkTarget=linkTarget}catch(er6){this.#readlinkFail(er6.code);return}}readlinkSync(){let target=this.#linkTarget;if(target)return target;if(this.canReadlink()&&this.parent)try{let read=this.#fs.readlinkSync(this.fullpath()),linkTarget=this.parent.realpathSync()?.resolve(read);if(linkTarget)return this.#linkTarget=linkTarget}catch(er6){this.#readlinkFail(er6.code);return}}#readdirSuccess(children){this.#type|=READDIR_CALLED;for(let p7=children.provisional;p7<children.length;p7++){let c10=children[p7];c10&&c10.#markENOENT();}}#markENOENT(){this.#type&ENOENT||(this.#type=(this.#type|ENOENT)&IFMT_UNKNOWN,this.#markChildrenENOENT());}#markChildrenENOENT(){let children=this.children();children.provisional=0;for(let p7 of children)p7.#markENOENT();}#markENOREALPATH(){this.#type|=ENOREALPATH,this.#markENOTDIR();}#markENOTDIR(){if(this.#type&ENOTDIR)return;let t18=this.#type;(t18&IFMT)===IFDIR&&(t18&=IFMT_UNKNOWN),this.#type=t18|ENOTDIR,this.#markChildrenENOENT();}#readdirFail(code=""){code==="ENOTDIR"||code==="EPERM"?this.#markENOTDIR():code==="ENOENT"?this.#markENOENT():this.children().provisional=0;}#lstatFail(code=""){code==="ENOTDIR"?this.parent.#markENOTDIR():code==="ENOENT"&&this.#markENOENT();}#readlinkFail(code=""){let ter=this.#type;ter|=ENOREADLINK,code==="ENOENT"&&(ter|=ENOENT),(code==="EINVAL"||code==="UNKNOWN")&&(ter&=IFMT_UNKNOWN),this.#type=ter,code==="ENOTDIR"&&this.parent&&this.parent.#markENOTDIR();}#readdirAddChild(e5,c10){return this.#readdirMaybePromoteChild(e5,c10)||this.#readdirAddNewChild(e5,c10)}#readdirAddNewChild(e5,c10){let type=entToType(e5),child=this.newChild(e5.name,type,{parent:this}),ifmt=child.#type&IFMT;return ifmt!==IFDIR&&ifmt!==IFLNK&&ifmt!==UNKNOWN&&(child.#type|=ENOTDIR),c10.unshift(child),c10.provisional++,child}#readdirMaybePromoteChild(e5,c10){for(let p7=c10.provisional;p7<c10.length;p7++){let pchild=c10[p7];if((this.nocase?normalizeNocase(e5.name):normalize(e5.name))===pchild.#matchName)return this.#readdirPromoteChild(e5,pchild,p7,c10)}}#readdirPromoteChild(e5,p7,index,c10){let v12=p7.name;return p7.#type=p7.#type&IFMT_UNKNOWN|entToType(e5),v12!==e5.name&&(p7.name=e5.name),index!==c10.provisional&&(index===c10.length-1?c10.pop():c10.splice(index,1),c10.unshift(p7)),c10.provisional++,p7}async lstat(){if((this.#type&ENOENT)===0)try{return this.#applyStat(await this.#fs.promises.lstat(this.fullpath())),this}catch(er6){this.#lstatFail(er6.code);}}lstatSync(){if((this.#type&ENOENT)===0)try{return this.#applyStat(this.#fs.lstatSync(this.fullpath())),this}catch(er6){this.#lstatFail(er6.code);}}#applyStat(st9){let{atime,atimeMs,birthtime,birthtimeMs,blksize,blocks,ctime,ctimeMs,dev,gid,ino,mode,mtime,mtimeMs,nlink,rdev,size,uid}=st9;this.#atime=atime,this.#atimeMs=atimeMs,this.#birthtime=birthtime,this.#birthtimeMs=birthtimeMs,this.#blksize=blksize,this.#blocks=blocks,this.#ctime=ctime,this.#ctimeMs=ctimeMs,this.#dev=dev,this.#gid=gid,this.#ino=ino,this.#mode=mode,this.#mtime=mtime,this.#mtimeMs=mtimeMs,this.#nlink=nlink,this.#rdev=rdev,this.#size=size,this.#uid=uid;let ifmt=entToType(st9);this.#type=this.#type&IFMT_UNKNOWN|ifmt|LSTAT_CALLED,ifmt!==UNKNOWN&&ifmt!==IFDIR&&ifmt!==IFLNK&&(this.#type|=ENOTDIR);}#onReaddirCB=[];#readdirCBInFlight=!1;#callOnReaddirCB(children){this.#readdirCBInFlight=!1;let cbs=this.#onReaddirCB.slice();this.#onReaddirCB.length=0,cbs.forEach(cb3=>cb3(null,children));}readdirCB(cb3,allowZalgo=!1){if(!this.canReaddir()){allowZalgo?cb3(null,[]):queueMicrotask(()=>cb3(null,[]));return}let children=this.children();if(this.calledReaddir()){let c10=children.slice(0,children.provisional);allowZalgo?cb3(null,c10):queueMicrotask(()=>cb3(null,c10));return}if(this.#onReaddirCB.push(cb3),this.#readdirCBInFlight)return;this.#readdirCBInFlight=!0;let fullpath=this.fullpath();this.#fs.readdir(fullpath,{withFileTypes:!0},(er6,entries2)=>{if(er6)this.#readdirFail(er6.code),children.provisional=0;else {for(let e5 of entries2)this.#readdirAddChild(e5,children);this.#readdirSuccess(children);}this.#callOnReaddirCB(children.slice(0,children.provisional));});}#asyncReaddirInFlight;async readdir(){if(!this.canReaddir())return [];let children=this.children();if(this.calledReaddir())return children.slice(0,children.provisional);let fullpath=this.fullpath();if(this.#asyncReaddirInFlight)await this.#asyncReaddirInFlight;else {let resolve9=()=>{};this.#asyncReaddirInFlight=new Promise(res=>resolve9=res);try{for(let e5 of await this.#fs.promises.readdir(fullpath,{withFileTypes:!0}))this.#readdirAddChild(e5,children);this.#readdirSuccess(children);}catch(er6){this.#readdirFail(er6.code),children.provisional=0;}this.#asyncReaddirInFlight=void 0,resolve9();}return children.slice(0,children.provisional)}readdirSync(){if(!this.canReaddir())return [];let children=this.children();if(this.calledReaddir())return children.slice(0,children.provisional);let fullpath=this.fullpath();try{for(let e5 of this.#fs.readdirSync(fullpath,{withFileTypes:!0}))this.#readdirAddChild(e5,children);this.#readdirSuccess(children);}catch(er6){this.#readdirFail(er6.code),children.provisional=0;}return children.slice(0,children.provisional)}canReaddir(){if(this.#type&ENOCHILD)return !1;let ifmt=IFMT&this.#type;return ifmt===UNKNOWN||ifmt===IFDIR||ifmt===IFLNK}shouldWalk(dirs,walkFilter){return (this.#type&IFDIR)===IFDIR&&!(this.#type&ENOCHILD)&&!dirs.has(this)&&(!walkFilter||walkFilter(this))}async realpath(){if(this.#realpath)return this.#realpath;if(!((ENOREALPATH|ENOREADLINK|ENOENT)&this.#type))try{let rp4=await this.#fs.promises.realpath(this.fullpath());return this.#realpath=this.resolve(rp4)}catch{this.#markENOREALPATH();}}realpathSync(){if(this.#realpath)return this.#realpath;if(!((ENOREALPATH|ENOREADLINK|ENOENT)&this.#type))try{let rp4=this.#fs.realpathSync(this.fullpath());return this.#realpath=this.resolve(rp4)}catch{this.#markENOREALPATH();}}[setAsCwd](oldCwd){if(oldCwd===this)return;oldCwd.isCWD=!1,this.isCWD=!0;let changed=new Set([]),rp4=[],p7=this;for(;p7&&p7.parent;)changed.add(p7),p7.#relative=rp4.join(this.sep),p7.#relativePosix=rp4.join("/"),p7=p7.parent,rp4.push("..");for(p7=oldCwd;p7&&p7.parent&&!changed.has(p7);)p7.#relative=void 0,p7.#relativePosix=void 0,p7=p7.parent;}},PathWin32=class _PathWin32 extends PathBase{sep="\\";splitSep=eitherSep;constructor(name,type=UNKNOWN,root,roots,nocase,children,opts){super(name,type,root,roots,nocase,children,opts);}newChild(name,type=UNKNOWN,opts={}){return new _PathWin32(name,type,this.root,this.roots,this.nocase,this.childrenCache(),opts)}getRootString(path12){return win32.parse(path12).root}getRoot(rootPath){if(rootPath=uncToDrive(rootPath.toUpperCase()),rootPath===this.root.name)return this.root;for(let[compare,root]of Object.entries(this.roots))if(this.sameRoot(rootPath,compare))return this.roots[rootPath]=root;return this.roots[rootPath]=new PathScurryWin32(rootPath,this).root}sameRoot(rootPath,compare=this.root.name){return rootPath=rootPath.toUpperCase().replace(/\//g,"\\").replace(uncDriveRegexp,"$1\\"),rootPath===compare}},PathPosix=class _PathPosix extends PathBase{splitSep="/";sep="/";constructor(name,type=UNKNOWN,root,roots,nocase,children,opts){super(name,type,root,roots,nocase,children,opts);}getRootString(path12){return path12.startsWith("/")?"/":""}getRoot(_rootPath){return this.root}newChild(name,type=UNKNOWN,opts={}){return new _PathPosix(name,type,this.root,this.roots,this.nocase,this.childrenCache(),opts)}},PathScurryBase=class{root;rootPath;roots;cwd;#resolveCache;#resolvePosixCache;#children;nocase;#fs;constructor(cwd2=process.cwd(),pathImpl,sep4,{nocase,childrenCacheSize=16*1024,fs:fs13=defaultFS}={}){this.#fs=fsFromOption(fs13),(cwd2 instanceof URL||cwd2.startsWith("file://"))&&(cwd2=fileURLToPath(cwd2));let cwdPath=pathImpl.resolve(cwd2);this.roots=Object.create(null),this.rootPath=this.parseRootPath(cwdPath),this.#resolveCache=new ResolveCache,this.#resolvePosixCache=new ResolveCache,this.#children=new ChildrenCache(childrenCacheSize);let split=cwdPath.substring(this.rootPath.length).split(sep4);if(split.length===1&&!split[0]&&split.pop(),nocase===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=nocase,this.root=this.newRoot(this.#fs),this.roots[this.rootPath]=this.root;let prev=this.root,len=split.length-1,joinSep=pathImpl.sep,abs=this.rootPath,sawFirst=!1;for(let part of split){let l7=len--;prev=prev.child(part,{relative:new Array(l7).fill("..").join(joinSep),relativePosix:new Array(l7).fill("..").join("/"),fullpath:abs+=(sawFirst?"":joinSep)+part}),sawFirst=!0;}this.cwd=prev;}depth(path12=this.cwd){return typeof path12=="string"&&(path12=this.cwd.resolve(path12)),path12.depth()}childrenCache(){return this.#children}resolve(...paths){let r5="";for(let i7=paths.length-1;i7>=0;i7--){let p7=paths[i7];if(!(!p7||p7===".")&&(r5=r5?`${p7}/${r5}`:p7,this.isAbsolute(p7)))break}let cached=this.#resolveCache.get(r5);if(cached!==void 0)return cached;let result=this.cwd.resolve(r5).fullpath();return this.#resolveCache.set(r5,result),result}resolvePosix(...paths){let r5="";for(let i7=paths.length-1;i7>=0;i7--){let p7=paths[i7];if(!(!p7||p7===".")&&(r5=r5?`${p7}/${r5}`:p7,this.isAbsolute(p7)))break}let cached=this.#resolvePosixCache.get(r5);if(cached!==void 0)return cached;let result=this.cwd.resolve(r5).fullpathPosix();return this.#resolvePosixCache.set(r5,result),result}relative(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),entry.relative()}relativePosix(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),entry.relativePosix()}basename(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),entry.name}dirname(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),(entry.parent||entry).fullpath()}async readdir(entry=this.cwd,opts={withFileTypes:!0}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes}=opts;if(entry.canReaddir()){let p7=await entry.readdir();return withFileTypes?p7:p7.map(e5=>e5.name)}else return []}readdirSync(entry=this.cwd,opts={withFileTypes:!0}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0}=opts;return entry.canReaddir()?withFileTypes?entry.readdirSync():entry.readdirSync().map(e5=>e5.name):[]}async lstat(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),entry.lstat()}lstatSync(entry=this.cwd){return typeof entry=="string"&&(entry=this.cwd.resolve(entry)),entry.lstatSync()}async readlink(entry=this.cwd,{withFileTypes}={withFileTypes:!1}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(withFileTypes=entry.withFileTypes,entry=this.cwd);let e5=await entry.readlink();return withFileTypes?e5:e5?.fullpath()}readlinkSync(entry=this.cwd,{withFileTypes}={withFileTypes:!1}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(withFileTypes=entry.withFileTypes,entry=this.cwd);let e5=entry.readlinkSync();return withFileTypes?e5:e5?.fullpath()}async realpath(entry=this.cwd,{withFileTypes}={withFileTypes:!1}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(withFileTypes=entry.withFileTypes,entry=this.cwd);let e5=await entry.realpath();return withFileTypes?e5:e5?.fullpath()}realpathSync(entry=this.cwd,{withFileTypes}={withFileTypes:!1}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(withFileTypes=entry.withFileTypes,entry=this.cwd);let e5=entry.realpathSync();return withFileTypes?e5:e5?.fullpath()}async walk(entry=this.cwd,opts={}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0,follow=!1,filter:filter2,walkFilter}=opts,results=[];(!filter2||filter2(entry))&&results.push(withFileTypes?entry:entry.fullpath());let dirs=new Set,walk=(dir,cb3)=>{dirs.add(dir),dir.readdirCB((er6,entries2)=>{if(er6)return cb3(er6);let len=entries2.length;if(!len)return cb3();let next=()=>{--len===0&&cb3();};for(let e5 of entries2)(!filter2||filter2(e5))&&results.push(withFileTypes?e5:e5.fullpath()),follow&&e5.isSymbolicLink()?e5.realpath().then(r5=>r5?.isUnknown()?r5.lstat():r5).then(r5=>r5?.shouldWalk(dirs,walkFilter)?walk(r5,next):next()):e5.shouldWalk(dirs,walkFilter)?walk(e5,next):next();},!0);},start=entry;return new Promise((res,rej)=>{walk(start,er6=>{if(er6)return rej(er6);res(results);});})}walkSync(entry=this.cwd,opts={}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0,follow=!1,filter:filter2,walkFilter}=opts,results=[];(!filter2||filter2(entry))&&results.push(withFileTypes?entry:entry.fullpath());let dirs=new Set([entry]);for(let dir of dirs){let entries2=dir.readdirSync();for(let e5 of entries2){(!filter2||filter2(e5))&&results.push(withFileTypes?e5:e5.fullpath());let r5=e5;if(e5.isSymbolicLink()){if(!(follow&&(r5=e5.realpathSync())))continue;r5.isUnknown()&&r5.lstatSync();}r5.shouldWalk(dirs,walkFilter)&&dirs.add(r5);}}return results}[Symbol.asyncIterator](){return this.iterate()}iterate(entry=this.cwd,options={}){return typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(options=entry,entry=this.cwd),this.stream(entry,options)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(entry=this.cwd,opts={}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0,follow=!1,filter:filter2,walkFilter}=opts;(!filter2||filter2(entry))&&(yield withFileTypes?entry:entry.fullpath());let dirs=new Set([entry]);for(let dir of dirs){let entries2=dir.readdirSync();for(let e5 of entries2){(!filter2||filter2(e5))&&(yield withFileTypes?e5:e5.fullpath());let r5=e5;if(e5.isSymbolicLink()){if(!(follow&&(r5=e5.realpathSync())))continue;r5.isUnknown()&&r5.lstatSync();}r5.shouldWalk(dirs,walkFilter)&&dirs.add(r5);}}}stream(entry=this.cwd,opts={}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0,follow=!1,filter:filter2,walkFilter}=opts,results=new Minipass({objectMode:!0});(!filter2||filter2(entry))&&results.write(withFileTypes?entry:entry.fullpath());let dirs=new Set,queue=[entry],processing=0,process12=()=>{let paused=!1;for(;!paused;){let dir=queue.shift();if(!dir){processing===0&&results.end();return}processing++,dirs.add(dir);let onReaddir=(er6,entries2,didRealpaths=!1)=>{if(er6)return results.emit("error",er6);if(follow&&!didRealpaths){let promises=[];for(let e5 of entries2)e5.isSymbolicLink()&&promises.push(e5.realpath().then(r5=>r5?.isUnknown()?r5.lstat():r5));if(promises.length){Promise.all(promises).then(()=>onReaddir(null,entries2,!0));return}}for(let e5 of entries2)e5&&(!filter2||filter2(e5))&&(results.write(withFileTypes?e5:e5.fullpath())||(paused=!0));processing--;for(let e5 of entries2){let r5=e5.realpathCached()||e5;r5.shouldWalk(dirs,walkFilter)&&queue.push(r5);}paused&&!results.flowing?results.once("drain",process12):sync2||process12();},sync2=!0;dir.readdirCB(onReaddir,!0),sync2=!1;}};return process12(),results}streamSync(entry=this.cwd,opts={}){typeof entry=="string"?entry=this.cwd.resolve(entry):entry instanceof PathBase||(opts=entry,entry=this.cwd);let{withFileTypes=!0,follow=!1,filter:filter2,walkFilter}=opts,results=new Minipass({objectMode:!0}),dirs=new Set;(!filter2||filter2(entry))&&results.write(withFileTypes?entry:entry.fullpath());let queue=[entry],processing=0,process12=()=>{let paused=!1;for(;!paused;){let dir=queue.shift();if(!dir){processing===0&&results.end();return}processing++,dirs.add(dir);let entries2=dir.readdirSync();for(let e5 of entries2)(!filter2||filter2(e5))&&(results.write(withFileTypes?e5:e5.fullpath())||(paused=!0));processing--;for(let e5 of entries2){let r5=e5;if(e5.isSymbolicLink()){if(!(follow&&(r5=e5.realpathSync())))continue;r5.isUnknown()&&r5.lstatSync();}r5.shouldWalk(dirs,walkFilter)&&queue.push(r5);}}paused&&!results.flowing&&results.once("drain",process12);};return process12(),results}chdir(path12=this.cwd){let oldCwd=this.cwd;this.cwd=typeof path12=="string"?this.cwd.resolve(path12):path12,this.cwd[setAsCwd](oldCwd);}},PathScurryWin32=class extends PathScurryBase{sep="\\";constructor(cwd2=process.cwd(),opts={}){let{nocase=!0}=opts;super(cwd2,win32,"\\",{...opts,nocase}),this.nocase=nocase;for(let p7=this.cwd;p7;p7=p7.parent)p7.nocase=this.nocase;}parseRootPath(dir){return win32.parse(dir).root.toUpperCase()}newRoot(fs13){return new PathWin32(this.rootPath,IFDIR,void 0,this.roots,this.nocase,this.childrenCache(),{fs:fs13})}isAbsolute(p7){return p7.startsWith("/")||p7.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(p7)}},PathScurryPosix=class extends PathScurryBase{sep="/";constructor(cwd2=process.cwd(),opts={}){let{nocase=!1}=opts;super(cwd2,posix,"/",{...opts,nocase}),this.nocase=nocase;}parseRootPath(_dir){return "/"}newRoot(fs13){return new PathPosix(this.rootPath,IFDIR,void 0,this.roots,this.nocase,this.childrenCache(),{fs:fs13})}isAbsolute(p7){return p7.startsWith("/")}},PathScurryDarwin=class extends PathScurryPosix{constructor(cwd2=process.cwd(),opts={}){let{nocase=!0}=opts;super(cwd2,{...opts,nocase});}};process.platform==="win32"?PathWin32:PathPosix;var PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix;var isPatternList=pl2=>pl2.length>=1,isGlobList=gl=>gl.length>=1,Pattern=class _Pattern{#patternList;#globList;#index;length;#platform;#rest;#globString;#isDrive;#isUNC;#isAbsolute;#followGlobstar=!0;constructor(patternList,globList,index,platform5){if(!isPatternList(patternList))throw new TypeError("empty pattern list");if(!isGlobList(globList))throw new TypeError("empty glob list");if(globList.length!==patternList.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=patternList.length,index<0||index>=this.length)throw new TypeError("index out of range");if(this.#patternList=patternList,this.#globList=globList,this.#index=index,this.#platform=platform5,this.#index===0){if(this.isUNC()){let[p03,p12,p22,p32,...prest]=this.#patternList,[g03,g12,g22,g32,...grest]=this.#globList;prest[0]===""&&(prest.shift(),grest.shift());let p7=[p03,p12,p22,p32,""].join("/"),g5=[g03,g12,g22,g32,""].join("/");this.#patternList=[p7,...prest],this.#globList=[g5,...grest],this.length=this.#patternList.length;}else if(this.isDrive()||this.isAbsolute()){let[p12,...prest]=this.#patternList,[g12,...grest]=this.#globList;prest[0]===""&&(prest.shift(),grest.shift());let p7=p12+"/",g5=g12+"/";this.#patternList=[p7,...prest],this.#globList=[g5,...grest],this.length=this.#patternList.length;}}}pattern(){return this.#patternList[this.#index]}isString(){return typeof this.#patternList[this.#index]=="string"}isGlobstar(){return this.#patternList[this.#index]===GLOBSTAR}isRegExp(){return this.#patternList[this.#index]instanceof RegExp}globString(){return this.#globString=this.#globString||(this.#index===0?this.isAbsolute()?this.#globList[0]+this.#globList.slice(1).join("/"):this.#globList.join("/"):this.#globList.slice(this.#index).join("/"))}hasMore(){return this.length>this.#index+1}rest(){return this.#rest!==void 0?this.#rest:this.hasMore()?(this.#rest=new _Pattern(this.#patternList,this.#globList,this.#index+1,this.#platform),this.#rest.#isAbsolute=this.#isAbsolute,this.#rest.#isUNC=this.#isUNC,this.#rest.#isDrive=this.#isDrive,this.#rest):this.#rest=null}isUNC(){let pl2=this.#patternList;return this.#isUNC!==void 0?this.#isUNC:this.#isUNC=this.#platform==="win32"&&this.#index===0&&pl2[0]===""&&pl2[1]===""&&typeof pl2[2]=="string"&&!!pl2[2]&&typeof pl2[3]=="string"&&!!pl2[3]}isDrive(){let pl2=this.#patternList;return this.#isDrive!==void 0?this.#isDrive:this.#isDrive=this.#platform==="win32"&&this.#index===0&&this.length>1&&typeof pl2[0]=="string"&&/^[a-z]:$/i.test(pl2[0])}isAbsolute(){let pl2=this.#patternList;return this.#isAbsolute!==void 0?this.#isAbsolute:this.#isAbsolute=pl2[0]===""&&pl2.length>1||this.isDrive()||this.isUNC()}root(){let p7=this.#patternList[0];return typeof p7=="string"&&this.isAbsolute()&&this.#index===0?p7:""}checkFollowGlobstar(){return !(this.#index===0||!this.isGlobstar()||!this.#followGlobstar)}markFollowGlobstar(){return this.#index===0||!this.isGlobstar()||!this.#followGlobstar?!1:(this.#followGlobstar=!1,!0)}};var defaultPlatform2=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Ignore=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(ignored,{nobrace,nocase,noext,noglobstar,platform:platform5=defaultPlatform2}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=platform5,this.mmopts={dot:!0,nobrace,nocase,noext,noglobstar,optimizationLevel:2,platform:platform5,nocomment:!0,nonegate:!0};for(let ign of ignored)this.add(ign);}add(ign){let mm2=new Minimatch(ign,this.mmopts);for(let i7=0;i7<mm2.set.length;i7++){let parsed=mm2.set[i7],globParts=mm2.globParts[i7];if(!parsed||!globParts)throw new Error("invalid pattern object");for(;parsed[0]==="."&&globParts[0]===".";)parsed.shift(),globParts.shift();let p7=new Pattern(parsed,globParts,0,this.platform),m7=new Minimatch(p7.globString(),this.mmopts),children=globParts[globParts.length-1]==="**",absolute=p7.isAbsolute();absolute?this.absolute.push(m7):this.relative.push(m7),children&&(absolute?this.absoluteChildren.push(m7):this.relativeChildren.push(m7));}}ignored(p7){let fullpath=p7.fullpath(),fullpaths=`${fullpath}/`,relative4=p7.relative()||".",relatives=`${relative4}/`;for(let m7 of this.relative)if(m7.match(relative4)||m7.match(relatives))return !0;for(let m7 of this.absolute)if(m7.match(fullpath)||m7.match(fullpaths))return !0;return !1}childrenIgnored(p7){let fullpath=p7.fullpath()+"/",relative4=(p7.relative()||".")+"/";for(let m7 of this.relativeChildren)if(m7.match(relative4))return !0;for(let m7 of this.absoluteChildren)if(m7.match(fullpath))return !0;return !1}};var HasWalkedCache=class _HasWalkedCache{store;constructor(store=new Map){this.store=store;}copy(){return new _HasWalkedCache(new Map(this.store))}hasWalked(target,pattern){return this.store.get(target.fullpath())?.has(pattern.globString())}storeWalked(target,pattern){let fullpath=target.fullpath(),cached=this.store.get(fullpath);cached?cached.add(pattern.globString()):this.store.set(fullpath,new Set([pattern.globString()]));}},MatchRecord=class{store=new Map;add(target,absolute,ifDir){let n10=(absolute?2:0)|(ifDir?1:0),current=this.store.get(target);this.store.set(target,current===void 0?n10:n10&current);}entries(){return [...this.store.entries()].map(([path12,n10])=>[path12,!!(n10&2),!!(n10&1)])}},SubWalks=class{store=new Map;add(target,pattern){if(!target.canReaddir())return;let subs=this.store.get(target);subs?subs.find(p7=>p7.globString()===pattern.globString())||subs.push(pattern):this.store.set(target,[pattern]);}get(target){let subs=this.store.get(target);if(!subs)throw new Error("attempting to walk unknown path");return subs}entries(){return this.keys().map(k13=>[k13,this.store.get(k13)])}keys(){return [...this.store.keys()].filter(t18=>t18.canReaddir())}},Processor=class _Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(opts,hasWalkedCache){this.opts=opts,this.follow=!!opts.follow,this.dot=!!opts.dot,this.hasWalkedCache=hasWalkedCache?hasWalkedCache.copy():new HasWalkedCache;}processPatterns(target,patterns){this.patterns=patterns;let processingSet=patterns.map(p7=>[target,p7]);for(let[t18,pattern]of processingSet){this.hasWalkedCache.storeWalked(t18,pattern);let root=pattern.root(),absolute=pattern.isAbsolute()&&this.opts.absolute!==!1;if(root){t18=t18.resolve(root==="/"&&this.opts.root!==void 0?this.opts.root:root);let rest2=pattern.rest();if(rest2)pattern=rest2;else {this.matches.add(t18,!0,!1);continue}}if(t18.isENOENT())continue;let p7,rest,changed=!1;for(;typeof(p7=pattern.pattern())=="string"&&(rest=pattern.rest());)t18=t18.resolve(p7),pattern=rest,changed=!0;if(p7=pattern.pattern(),rest=pattern.rest(),changed){if(this.hasWalkedCache.hasWalked(t18,pattern))continue;this.hasWalkedCache.storeWalked(t18,pattern);}if(typeof p7=="string"){let ifDir=p7===".."||p7===""||p7===".";this.matches.add(t18.resolve(p7),absolute,ifDir);continue}else if(p7===GLOBSTAR){(!t18.isSymbolicLink()||this.follow||pattern.checkFollowGlobstar())&&this.subwalks.add(t18,pattern);let rp4=rest?.pattern(),rrest=rest?.rest();if(!rest||(rp4===""||rp4===".")&&!rrest)this.matches.add(t18,absolute,rp4===""||rp4===".");else if(rp4===".."){let tp2=t18.parent||t18;rrest?this.hasWalkedCache.hasWalked(tp2,rrest)||this.subwalks.add(tp2,rrest):this.matches.add(tp2,absolute,!0);}}else p7 instanceof RegExp&&this.subwalks.add(t18,pattern);}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new _Processor(this.opts,this.hasWalkedCache)}filterEntries(parent,entries2){let patterns=this.subwalks.get(parent),results=this.child();for(let e5 of entries2)for(let pattern of patterns){let absolute=pattern.isAbsolute(),p7=pattern.pattern(),rest=pattern.rest();p7===GLOBSTAR?results.testGlobstar(e5,pattern,rest,absolute):p7 instanceof RegExp?results.testRegExp(e5,p7,rest,absolute):results.testString(e5,p7,rest,absolute);}return results}testGlobstar(e5,pattern,rest,absolute){if((this.dot||!e5.name.startsWith("."))&&(pattern.hasMore()||this.matches.add(e5,absolute,!1),e5.canReaddir()&&(this.follow||!e5.isSymbolicLink()?this.subwalks.add(e5,pattern):e5.isSymbolicLink()&&(rest&&pattern.checkFollowGlobstar()?this.subwalks.add(e5,rest):pattern.markFollowGlobstar()&&this.subwalks.add(e5,pattern)))),rest){let rp4=rest.pattern();if(typeof rp4=="string"&&rp4!==".."&&rp4!==""&&rp4!==".")this.testString(e5,rp4,rest.rest(),absolute);else if(rp4===".."){let ep2=e5.parent||e5;this.subwalks.add(ep2,rest);}else rp4 instanceof RegExp&&this.testRegExp(e5,rp4,rest.rest(),absolute);}}testRegExp(e5,p7,rest,absolute){p7.test(e5.name)&&(rest?this.subwalks.add(e5,rest):this.matches.add(e5,absolute,!1));}testString(e5,p7,rest,absolute){e5.isNamed(p7)&&(rest?this.subwalks.add(e5,rest):this.matches.add(e5,absolute,!1));}};var makeIgnore=(ignore,opts)=>typeof ignore=="string"?new Ignore([ignore],opts):Array.isArray(ignore)?new Ignore(ignore,opts):ignore,GlobUtil=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#onResume=[];#ignore;#sep;signal;maxDepth;includeChildMatches;constructor(patterns,path12,opts){if(this.patterns=patterns,this.path=path12,this.opts=opts,this.#sep=!opts.posix&&opts.platform==="win32"?"\\":"/",this.includeChildMatches=opts.includeChildMatches!==!1,(opts.ignore||!this.includeChildMatches)&&(this.#ignore=makeIgnore(opts.ignore??[],opts),!this.includeChildMatches&&typeof this.#ignore.add!="function")){let m7="cannot ignore child matches, ignore lacks add() method.";throw new Error(m7)}this.maxDepth=opts.maxDepth||1/0,opts.signal&&(this.signal=opts.signal,this.signal.addEventListener("abort",()=>{this.#onResume.length=0;}));}#ignored(path12){return this.seen.has(path12)||!!this.#ignore?.ignored?.(path12)}#childrenIgnored(path12){return !!this.#ignore?.childrenIgnored?.(path12)}pause(){this.paused=!0;}resume(){if(this.signal?.aborted)return;this.paused=!1;let fn5;for(;!this.paused&&(fn5=this.#onResume.shift());)fn5();}onResume(fn5){this.signal?.aborted||(this.paused?this.#onResume.push(fn5):fn5());}async matchCheck(e5,ifDir){if(ifDir&&this.opts.nodir)return;let rpc;if(this.opts.realpath){if(rpc=e5.realpathCached()||await e5.realpath(),!rpc)return;e5=rpc;}let s10=e5.isUnknown()||this.opts.stat?await e5.lstat():e5;if(this.opts.follow&&this.opts.nodir&&s10?.isSymbolicLink()){let target=await s10.realpath();target&&(target.isUnknown()||this.opts.stat)&&await target.lstat();}return this.matchCheckTest(s10,ifDir)}matchCheckTest(e5,ifDir){return e5&&(this.maxDepth===1/0||e5.depth()<=this.maxDepth)&&(!ifDir||e5.canReaddir())&&(!this.opts.nodir||!e5.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e5.isSymbolicLink()||!e5.realpathCached()?.isDirectory())&&!this.#ignored(e5)?e5:void 0}matchCheckSync(e5,ifDir){if(ifDir&&this.opts.nodir)return;let rpc;if(this.opts.realpath){if(rpc=e5.realpathCached()||e5.realpathSync(),!rpc)return;e5=rpc;}let s10=e5.isUnknown()||this.opts.stat?e5.lstatSync():e5;if(this.opts.follow&&this.opts.nodir&&s10?.isSymbolicLink()){let target=s10.realpathSync();target&&(target?.isUnknown()||this.opts.stat)&&target.lstatSync();}return this.matchCheckTest(s10,ifDir)}matchFinish(e5,absolute){if(this.#ignored(e5))return;if(!this.includeChildMatches&&this.#ignore?.add){let ign=`${e5.relativePosix()}/**`;this.#ignore.add(ign);}let abs=this.opts.absolute===void 0?absolute:this.opts.absolute;this.seen.add(e5);let mark=this.opts.mark&&e5.isDirectory()?this.#sep:"";if(this.opts.withFileTypes)this.matchEmit(e5);else if(abs){let abs2=this.opts.posix?e5.fullpathPosix():e5.fullpath();this.matchEmit(abs2+mark);}else {let rel=this.opts.posix?e5.relativePosix():e5.relative(),pre2=this.opts.dotRelative&&!rel.startsWith(".."+this.#sep)?"."+this.#sep:"";this.matchEmit(rel?pre2+rel+mark:"."+mark);}}async match(e5,absolute,ifDir){let p7=await this.matchCheck(e5,ifDir);p7&&this.matchFinish(p7,absolute);}matchSync(e5,absolute,ifDir){let p7=this.matchCheckSync(e5,ifDir);p7&&this.matchFinish(p7,absolute);}walkCB(target,patterns,cb3){this.signal?.aborted&&cb3(),this.walkCB2(target,patterns,new Processor(this.opts),cb3);}walkCB2(target,patterns,processor,cb3){if(this.#childrenIgnored(target))return cb3();if(this.signal?.aborted&&cb3(),this.paused){this.onResume(()=>this.walkCB2(target,patterns,processor,cb3));return}processor.processPatterns(target,patterns);let tasks2=1,next=()=>{--tasks2===0&&cb3();};for(let[m7,absolute,ifDir]of processor.matches.entries())this.#ignored(m7)||(tasks2++,this.match(m7,absolute,ifDir).then(()=>next()));for(let t18 of processor.subwalkTargets()){if(this.maxDepth!==1/0&&t18.depth()>=this.maxDepth)continue;tasks2++;let childrenCached=t18.readdirCached();t18.calledReaddir()?this.walkCB3(t18,childrenCached,processor,next):t18.readdirCB((_11,entries2)=>this.walkCB3(t18,entries2,processor,next),!0);}next();}walkCB3(target,entries2,processor,cb3){processor=processor.filterEntries(target,entries2);let tasks2=1,next=()=>{--tasks2===0&&cb3();};for(let[m7,absolute,ifDir]of processor.matches.entries())this.#ignored(m7)||(tasks2++,this.match(m7,absolute,ifDir).then(()=>next()));for(let[target2,patterns]of processor.subwalks.entries())tasks2++,this.walkCB2(target2,patterns,processor.child(),next);next();}walkCBSync(target,patterns,cb3){this.signal?.aborted&&cb3(),this.walkCB2Sync(target,patterns,new Processor(this.opts),cb3);}walkCB2Sync(target,patterns,processor,cb3){if(this.#childrenIgnored(target))return cb3();if(this.signal?.aborted&&cb3(),this.paused){this.onResume(()=>this.walkCB2Sync(target,patterns,processor,cb3));return}processor.processPatterns(target,patterns);let tasks2=1,next=()=>{--tasks2===0&&cb3();};for(let[m7,absolute,ifDir]of processor.matches.entries())this.#ignored(m7)||this.matchSync(m7,absolute,ifDir);for(let t18 of processor.subwalkTargets()){if(this.maxDepth!==1/0&&t18.depth()>=this.maxDepth)continue;tasks2++;let children=t18.readdirSync();this.walkCB3Sync(t18,children,processor,next);}next();}walkCB3Sync(target,entries2,processor,cb3){processor=processor.filterEntries(target,entries2);let tasks2=1,next=()=>{--tasks2===0&&cb3();};for(let[m7,absolute,ifDir]of processor.matches.entries())this.#ignored(m7)||this.matchSync(m7,absolute,ifDir);for(let[target2,patterns]of processor.subwalks.entries())tasks2++,this.walkCB2Sync(target2,patterns,processor.child(),next);next();}},GlobWalker=class extends GlobUtil{matches=new Set;constructor(patterns,path12,opts){super(patterns,path12,opts);}matchEmit(e5){this.matches.add(e5);}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((res,rej)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?rej(this.signal.reason):res(this.matches);});}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},GlobStream=class extends GlobUtil{results;constructor(patterns,path12,opts){super(patterns,path12,opts),this.results=new Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume());}matchEmit(e5){this.results.write(e5),this.results.flowing||this.pause();}stream(){let target=this.path;return target.isUnknown()?target.lstat().then(()=>{this.walkCB(target,this.patterns,()=>this.results.end());}):this.walkCB(target,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var defaultPlatform3=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Glob=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(pattern,opts){if(!opts)throw new TypeError("glob options required");if(this.withFileTypes=!!opts.withFileTypes,this.signal=opts.signal,this.follow=!!opts.follow,this.dot=!!opts.dot,this.dotRelative=!!opts.dotRelative,this.nodir=!!opts.nodir,this.mark=!!opts.mark,opts.cwd?(opts.cwd instanceof URL||opts.cwd.startsWith("file://"))&&(opts.cwd=fileURLToPath(opts.cwd)):this.cwd="",this.cwd=opts.cwd||"",this.root=opts.root,this.magicalBraces=!!opts.magicalBraces,this.nobrace=!!opts.nobrace,this.noext=!!opts.noext,this.realpath=!!opts.realpath,this.absolute=opts.absolute,this.includeChildMatches=opts.includeChildMatches!==!1,this.noglobstar=!!opts.noglobstar,this.matchBase=!!opts.matchBase,this.maxDepth=typeof opts.maxDepth=="number"?opts.maxDepth:1/0,this.stat=!!opts.stat,this.ignore=opts.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof pattern=="string"&&(pattern=[pattern]),this.windowsPathsNoEscape=!!opts.windowsPathsNoEscape||opts.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(pattern=pattern.map(p7=>p7.replace(/\\/g,"/"))),this.matchBase){if(opts.noglobstar)throw new TypeError("base matching requires globstar");pattern=pattern.map(p7=>p7.includes("/")?p7:`./**/${p7}`);}if(this.pattern=pattern,this.platform=opts.platform||defaultPlatform3,this.opts={...opts,platform:this.platform},opts.scurry){if(this.scurry=opts.scurry,opts.nocase!==void 0&&opts.nocase!==opts.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else {let Scurry=opts.platform==="win32"?PathScurryWin32:opts.platform==="darwin"?PathScurryDarwin:opts.platform?PathScurryPosix:PathScurry;this.scurry=new Scurry(this.cwd,{nocase:opts.nocase,fs:opts.fs});}this.nocase=this.scurry.nocase;let nocaseMagicOnly=this.platform==="darwin"||this.platform==="win32",mmo={...opts,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},mms=this.pattern.map(p7=>new Minimatch(p7,mmo)),[matchSet,globParts]=mms.reduce((set2,m7)=>(set2[0].push(...m7.set),set2[1].push(...m7.globParts),set2),[[],[]]);this.patterns=matchSet.map((set2,i7)=>{let g5=globParts[i7];if(!g5)throw new Error("invalid pattern object");return new Pattern(set2,g5,0,this.platform)});}async walk(){return [...await new GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return [...new GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};var hasMagic=(pattern,options={})=>{Array.isArray(pattern)||(pattern=[pattern]);for(let p7 of pattern)if(new Minimatch(p7,options).hasMagic())return !0;return !1};function globStreamSync(pattern,options={}){return new Glob(pattern,options).streamSync()}function globStream(pattern,options={}){return new Glob(pattern,options).stream()}function globSync(pattern,options={}){return new Glob(pattern,options).walkSync()}async function glob_(pattern,options={}){return new Glob(pattern,options).walk()}function globIterateSync(pattern,options={}){return new Glob(pattern,options).iterateSync()}function globIterate(pattern,options={}){return new Glob(pattern,options).iterate()}var streamSync=globStreamSync,stream=Object.assign(globStream,{sync:globStreamSync}),iterateSync=globIterateSync,iterate=Object.assign(globIterate,{sync:globIterateSync}),sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync}),glob=Object.assign(glob_,{glob:glob_,globSync,sync,globStream,stream,globStreamSync,streamSync,globIterate,iterate,globIterateSync,iterateSync,Glob,hasMagic,escape:escape2,unescape:unescape2});glob.glob=glob;var FileSystemCache=class{constructor(options={}){this.prefix=(options.ns||options.prefix||"")+"-",this.hash_alg=options.hash_alg||"sha256",this.cache_dir=options.basePath||join(tmpdir(),randomBytes(15).toString("base64").replace(/\//g,"-")),this.ttl=options.ttl||0,createHash(this.hash_alg),mkdirSync(this.cache_dir,{recursive:!0});}generateHash(name){return join(this.cache_dir,this.prefix+createHash(this.hash_alg).update(name).digest("hex"))}isExpired(parsed,now){return parsed.ttl!=null&&now>parsed.ttl}parseCacheData(data,fallback){let parsed=JSON.parse(data);return this.isExpired(parsed,Date.now())?fallback:parsed.content}parseSetData(key,data,opts={}){let ttl2=opts.ttl??this.ttl;return JSON.stringify({key,content:data,...ttl2&&{ttl:Date.now()+ttl2*1e3}})}async get(name,fallback){try{let data=await readFile(this.generateHash(name),"utf8");return this.parseCacheData(data,fallback)}catch{return fallback}}getSync(name,fallback){try{let data=readFileSync(this.generateHash(name),"utf8");return this.parseCacheData(data,fallback)}catch{return fallback}}async set(name,data,orgOpts={}){let opts=typeof orgOpts=="number"?{ttl:orgOpts}:orgOpts;mkdirSync(this.cache_dir,{recursive:!0}),await writeFile(this.generateHash(name),this.parseSetData(name,data,opts),{encoding:opts.encoding||"utf8"});}setSync(name,data,orgOpts={}){let opts=typeof orgOpts=="number"?{ttl:orgOpts}:orgOpts;mkdirSync(this.cache_dir,{recursive:!0}),writeFileSync(this.generateHash(name),this.parseSetData(name,data,opts),{encoding:opts.encoding||"utf8"});}async setMany(items,options){await Promise.all(items.map(item=>this.set(item.key,item.content??item.value,options)));}setManySync(items,options){items.forEach(item=>this.setSync(item.key,item.content??item.value,options));}async remove(name){await rm$1(this.generateHash(name),{force:!0});}removeSync(name){rmSync(this.generateHash(name),{force:!0});}async clear(){let files=await readdir(this.cache_dir);await Promise.all(files.filter(f11=>f11.startsWith(this.prefix)).map(f11=>rm$1(join(this.cache_dir,f11),{force:!0})));}clearSync(){readdirSync(this.cache_dir).filter(f11=>f11.startsWith(this.prefix)).forEach(f11=>rmSync(join(this.cache_dir,f11),{force:!0}));}async getAll(){let now=Date.now(),files=await readdir(this.cache_dir);return (await Promise.all(files.filter(f11=>f11.startsWith(this.prefix)).map(f11=>readFile(join(this.cache_dir,f11),"utf8")))).map(data=>JSON.parse(data)).filter(entry=>entry.content&&!this.isExpired(entry,now))}async load(){return {files:(await this.getAll()).map(entry=>({path:this.generateHash(entry.key),value:entry.content,key:entry.key}))}}};function createFileSystemCache(options){return new FileSystemCache(options)}var import_common_path_prefix=__toESM(require_common_path_prefix(),1);var toPath3=urlOrPath=>urlOrPath instanceof URL?fileURLToPath(urlOrPath):urlOrPath,findUpStop2=Symbol("findUpStop");function findUpMultipleSync2(name,options={}){let directory=path2.resolve(toPath3(options.cwd)||""),{root}=path2.parse(directory),stopAt=options.stopAt||root,limit=options.limit||Number.POSITIVE_INFINITY,paths=[name].flat(),runMatcher=locateOptions=>{if(typeof name!="function")return locatePathSync(paths,locateOptions);let foundPath=name(locateOptions.cwd);return typeof foundPath=="string"?locatePathSync([foundPath],locateOptions):foundPath},matches=[];for(;;){let foundPath=runMatcher({...options,cwd:directory});if(foundPath===findUpStop2||(foundPath&&matches.push(path2.resolve(directory,foundPath)),directory===stopAt||matches.length>=limit))break;directory=path2.dirname(directory);}return matches}function findUpSync2(name,options={}){return findUpMultipleSync2(name,{...options,limit:1})[0]}function packageDirectorySync({cwd:cwd2}={}){let filePath=findUpSync2("package.json",{cwd:cwd2});return filePath&&path2.dirname(filePath)}var{env,cwd}=Q,isWritable2=path12=>{try{return tn6__default.accessSync(path12,tn6__default.constants.W_OK),!0}catch{return !1}};function useDirectory(directory,options){return options.create&&tn6__default.mkdirSync(directory,{recursive:!0}),directory}function getNodeModuleDirectory(directory){let nodeModules=path2.join(directory,"node_modules");if(!(!isWritable2(nodeModules)&&(tn6__default.existsSync(nodeModules)||!isWritable2(path2.join(directory)))))return nodeModules}function findCacheDirectory(options={}){if(env.CACHE_DIR&&!["true","false","1","0"].includes(env.CACHE_DIR))return useDirectory(path2.join(env.CACHE_DIR,options.name),options);let{cwd:directory=cwd(),files}=options;if(files){if(!Array.isArray(files))throw new TypeError(`Expected \`files\` option to be an array, got \`${typeof files}\`.`);directory=(0, import_common_path_prefix.default)(files.map(file=>path2.resolve(directory,file)));}if(directory=packageDirectorySync({cwd:directory}),!(!directory||!getNodeModuleDirectory(directory)))return useDirectory(path2.join(directory,"node_modules",".cache",options.name),options)}function resolvePathInStorybookCache(fileOrDirectoryName,sub="default"){let cacheDirectory=findCacheDirectory({name:"storybook"});return cacheDirectory||=join(process.cwd(),"node_modules",".cache","storybook"),join(cacheDirectory,sub,fileOrDirectoryName)}var import_picocolors2=__toESM(require_picocolors(),1);var isProduction=process.env.NODE_ENV==="production",prefix="Invariant failed";function invariant(condition,message){if(!condition){if(isProduction)throw new Error(prefix);var provided=typeof message=="function"?message():message,value2=provided?"".concat(prefix,": ").concat(provided):prefix;throw new Error(value2)}}var HandledError=class extends Error{constructor(error2){super(String(error2));this.handled=!0;typeof error2!="string"&&(this.cause=error2);}};var COMMON_ENV_VARS={COREPACK_ENABLE_STRICT:"0",COREPACK_ENABLE_AUTO_PIN:"0",NO_UPDATE_NOTIFIER:"true"};function getPackageDetails(pkg){let idx=pkg.lastIndexOf("@");if(idx<=0)return [pkg,void 0];let packageName=pkg.slice(0,idx),packageVersion=pkg.slice(idx+1);return [packageName,packageVersion]}var JsPackageManager=class _JsPackageManager{static{this.latestVersionCache=new Map;}static{this.installedVersionCache=new Map;}constructor(options){this.cwd=options?.cwd||process.cwd(),this.instanceDir=options?.configDir?isAbsolute(options?.configDir)?dirname(options?.configDir):dirname(join(this.cwd,options?.configDir)):this.cwd,this.packageJsonPaths=_JsPackageManager.listAllPackageJsonPaths(this.instanceDir,options?.storiesPaths),this.primaryPackageJson=this.#getPrimaryPackageJson();}isStorybookInMonorepo(){let turboJsonPath=findUpSync("turbo.json",{stopAt:getProjectRoot()}),rushJsonPath=findUpSync("rush.json",{stopAt:getProjectRoot()}),nxJsonPath=findUpSync("nx.json",{stopAt:getProjectRoot()});if(turboJsonPath||rushJsonPath||nxJsonPath)return !0;let packageJsonPaths=findUpMultipleSync("package.json",{stopAt:getProjectRoot()});if(packageJsonPaths.length===0)return !1;for(let packageJsonPath of packageJsonPaths){let packageJsonFile=readFileSync(packageJsonPath,"utf8");if(JSON.parse(packageJsonFile).workspaces)return !0}return !1}async installDependencies(options){await oE.executeTask(()=>this.runInstall(options),{id:"install-dependencies",intro:"Installing dependencies...",error:"An error occurred while installing dependencies.",success:"Dependencies installed"}),this.clearInstalledVersionCache();}async dedupeDependencies(options){await oE.executeTask(()=>this.runInternalCommand("dedupe",[...options?.force?["--force"]:[]],this.cwd),{id:"dedupe-dependencies",intro:"Deduplicating dependencies...",error:"An error occurred while deduplicating dependencies.",success:"Dependencies deduplicated"}),this.clearInstalledVersionCache();}static getPackageJson(packageJsonPath){let jsonContent=readFileSync(packageJsonPath,"utf8"),packageJSON=JSON.parse(jsonContent);return {...packageJSON,dependencies:{...packageJSON.dependencies},devDependencies:{...packageJSON.devDependencies},peerDependencies:{...packageJSON.peerDependencies}}}writePackageJson(packageJson,directory=this.cwd){let packageJsonToWrite={...packageJson};["dependencies","devDependencies","peerDependencies"].forEach(type=>{packageJsonToWrite[type]&&Object.keys(packageJsonToWrite[type]).length===0&&delete packageJsonToWrite[type];});let content=`${JSON.stringify(packageJsonToWrite,null,2)}
2689
2690
  `;writeFileSync(resolve(directory,"package.json"),content,"utf8");}getAllDependencies(){let allDependencies={};for(let packageJsonPath of this.packageJsonPaths){let packageJson=_JsPackageManager.getPackageJson(packageJsonPath),{dependencies,devDependencies,peerDependencies}=packageJson;Object.assign(allDependencies,dependencies,devDependencies,peerDependencies);}return allDependencies}isDependencyInstalled(dependency){return Object.keys(this.getAllDependencies()).includes(dependency)}async addDependencies(options,dependencies){let{skipInstall,writeOutputToFile=!0,packageJsonInfo=this.primaryPackageJson}=options;if(skipInstall){let{operationDir,packageJson}=packageJsonInfo,dependenciesMap={};for(let dep of dependencies){let[packageName,packageVersion]=getPackageDetails(dep),latestVersion=await this.getVersion(packageName);dependenciesMap[packageName]=packageVersion??latestVersion;}let targetDeps=packageJson[options.type];Object.assign(targetDeps,dependenciesMap),this.writePackageJson(packageJson,operationDir);}else try{let result=this.runAddDeps(dependencies,options.type==="devDependencies",writeOutputToFile);return this.clearInstalledVersionCache(),result}catch(e5){throw DE.error(`
@@ -2716,7 +2717,8 @@ An error occurred while installing dependencies:`),DE.log(e5.message),new Handle
2716
2717
  `).map(line=>exec(line,columns,options)).join(`
2717
2718
  `)}__toESM(require_cli_boxes(),1);var NEWLINE=`
2718
2719
  `,PAD=" ",NONE="none",terminalColumns=()=>{let{env:env3,stdout,stderr}=Q;return stdout?.columns?stdout.columns:stderr?.columns?stderr.columns:env3.COLUMNS?Number.parseInt(env3.COLUMNS,10):80},getObject=detail=>typeof detail=="number"?{top:detail,right:detail*3,bottom:detail,left:detail*3}:{top:0,right:0,bottom:0,left:0,...detail},getBorderWidth=borderStyle=>borderStyle===NONE?0:2,getBorderChars=borderStyle=>{let sides=["topLeft","topRight","bottomRight","bottomLeft","left","right","top","bottom"],characters;if(borderStyle===NONE){borderStyle={};for(let side of sides)borderStyle[side]="";}if(typeof borderStyle=="string"){if(characters=import_cli_boxes.default[borderStyle],!characters)throw new TypeError(`Invalid border style: ${borderStyle}`)}else {typeof borderStyle?.vertical=="string"&&(borderStyle.left=borderStyle.vertical,borderStyle.right=borderStyle.vertical),typeof borderStyle?.horizontal=="string"&&(borderStyle.top=borderStyle.horizontal,borderStyle.bottom=borderStyle.horizontal);for(let side of sides)if(borderStyle[side]===null||typeof borderStyle[side]!="string")throw new TypeError(`Invalid border style: ${side}`);characters=borderStyle;}return characters},makeTitle=(text,horizontal,alignment)=>{let title="",textWidth=stringWidth(text);switch(alignment){case"left":{title=text+horizontal.slice(textWidth);break}case"right":{title=horizontal.slice(textWidth)+text;break}default:{horizontal=horizontal.slice(textWidth),horizontal.length%2===1?(horizontal=horizontal.slice(Math.floor(horizontal.length/2)),title=horizontal.slice(1)+text+horizontal):(horizontal=horizontal.slice(horizontal.length/2),title=horizontal+text+horizontal);break}}return title},makeContentText=(text,{padding,width,textAlignment,height})=>{text=(0, import_ansi_align.default)(text,{align:textAlignment});let lines=text.split(NEWLINE),textWidth=widestLine(text),max=width-padding.left-padding.right;if(textWidth>max){let newLines=[];for(let line of lines){let createdLines=wrapAnsi(line,max,{hard:!0}),alignedLinesArray=(0, import_ansi_align.default)(createdLines,{align:textAlignment}).split(`
2719
- `),longestLength=Math.max(...alignedLinesArray.map(s10=>stringWidth(s10)));for(let alignedLine of alignedLinesArray){let paddedLine;switch(textAlignment){case"center":{paddedLine=PAD.repeat((max-longestLength)/2)+alignedLine;break}case"right":{paddedLine=PAD.repeat(max-longestLength)+alignedLine;break}default:{paddedLine=alignedLine;break}}newLines.push(paddedLine);}}lines=newLines;}textAlignment==="center"&&textWidth<max?lines=lines.map(line=>PAD.repeat((max-textWidth)/2)+line):textAlignment==="right"&&textWidth<max&&(lines=lines.map(line=>PAD.repeat(max-textWidth)+line));let paddingLeft=PAD.repeat(padding.left),paddingRight=PAD.repeat(padding.right);return lines=lines.map(line=>paddingLeft+line+paddingRight),lines=lines.map(line=>{if(width-stringWidth(line)>0)switch(textAlignment){case"center":return line+PAD.repeat(width-stringWidth(line));case"right":return line+PAD.repeat(width-stringWidth(line));default:return line+PAD.repeat(width-stringWidth(line))}return line}),padding.top>0&&(lines=[...Array.from({length:padding.top}).fill(PAD.repeat(width)),...lines]),padding.bottom>0&&(lines=[...lines,...Array.from({length:padding.bottom}).fill(PAD.repeat(width))]),height&&lines.length>height?lines=lines.slice(0,height):height&&lines.length<height&&(lines=[...lines,...Array.from({length:height-lines.length}).fill(PAD.repeat(width))]),lines.join(NEWLINE)},boxContent=(content,contentWidth,options)=>{let colorizeBorder=border=>{let newBorder=options.borderColor?getColorFn(options.borderColor)(border):border;return options.dimBorder?source_default.dim(newBorder):newBorder},colorizeContent=content2=>options.backgroundColor?getBGColorFn(options.backgroundColor)(content2):content2,chars=getBorderChars(options.borderStyle),columns=terminalColumns(),marginLeft=PAD.repeat(options.margin.left);if(options.float==="center"){let marginWidth=Math.max((columns-contentWidth-getBorderWidth(options.borderStyle))/2,0);marginLeft=PAD.repeat(marginWidth);}else if(options.float==="right"){let marginWidth=Math.max(columns-contentWidth-options.margin.right-getBorderWidth(options.borderStyle),0);marginLeft=PAD.repeat(marginWidth);}let result="";options.margin.top&&(result+=NEWLINE.repeat(options.margin.top)),(options.borderStyle!==NONE||options.title)&&(result+=colorizeBorder(marginLeft+chars.topLeft+(options.title?makeTitle(options.title,chars.top.repeat(contentWidth),options.titleAlignment):chars.top.repeat(contentWidth))+chars.topRight)+NEWLINE);let lines=content.split(NEWLINE);return result+=lines.map(line=>marginLeft+colorizeBorder(chars.left)+colorizeContent(line)+colorizeBorder(chars.right)).join(NEWLINE),options.borderStyle!==NONE&&(result+=NEWLINE+colorizeBorder(marginLeft+chars.bottomLeft+chars.bottom.repeat(contentWidth)+chars.bottomRight)),options.margin.bottom&&(result+=NEWLINE.repeat(options.margin.bottom)),result},sanitizeOptions=options=>{if(options.fullscreen&&Q?.stdout){let newDimensions=[Q.stdout.columns,Q.stdout.rows];typeof options.fullscreen=="function"&&(newDimensions=options.fullscreen(...newDimensions)),options.width||(options.width=newDimensions[0]),options.height||(options.height=newDimensions[1]);}return options.width&&(options.width=Math.max(1,options.width-getBorderWidth(options.borderStyle))),options.height&&(options.height=Math.max(1,options.height-getBorderWidth(options.borderStyle))),options},formatTitle=(title,borderStyle)=>borderStyle===NONE?title:` ${title} `,determineDimensions=(text,options)=>{options=sanitizeOptions(options);let widthOverride=options.width!==void 0,columns=terminalColumns(),borderWidth=getBorderWidth(options.borderStyle),maxWidth=columns-options.margin.left-options.margin.right-borderWidth,widest=widestLine(wrapAnsi(text,columns-borderWidth,{hard:!0,trim:!1}))+options.padding.left+options.padding.right;if(options.title&&widthOverride?(options.title=options.title.slice(0,Math.max(0,options.width-2)),options.title&&(options.title=formatTitle(options.title,options.borderStyle))):options.title&&(options.title=options.title.slice(0,Math.max(0,maxWidth-2)),options.title&&(options.title=formatTitle(options.title,options.borderStyle),stringWidth(options.title)>widest&&(options.width=stringWidth(options.title)))),options.width=options.width?options.width:widest,!widthOverride){if(options.margin.left&&options.margin.right&&options.width>maxWidth){let multiplier=(columns-options.width-borderWidth)/(options.margin.left+options.margin.right);options.margin.left=Math.max(0,Math.floor(options.margin.left*multiplier)),options.margin.right=Math.max(0,Math.floor(options.margin.right*multiplier));}options.width=Math.min(options.width,columns-borderWidth-options.margin.left-options.margin.right);}return options.width-(options.padding.left+options.padding.right)<=0&&(options.padding.left=0,options.padding.right=0),options.height&&options.height-(options.padding.top+options.padding.bottom)<=0&&(options.padding.top=0,options.padding.bottom=0),options},isHex=color=>color.match(/^#(?:[0-f]{3}){1,2}$/i),isColorValid=color=>typeof color=="string"&&(source_default[color]??isHex(color)),getColorFn=color=>isHex(color)?source_default.hex(color):source_default[color],getBGColorFn=color=>isHex(color)?source_default.bgHex(color):source_default[camelCase(["bg",color])];function boxen(text,options){if(options={padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left",...options},options.align&&(options.textAlignment=options.align),options.borderColor&&!isColorValid(options.borderColor))throw new Error(`${options.borderColor} is not a valid borderColor`);if(options.backgroundColor&&!isColorValid(options.backgroundColor))throw new Error(`${options.backgroundColor} is not a valid backgroundColor`);return options.padding=getObject(options.padding),options.margin=getObject(options.margin),options=determineDimensions(text,options),text=makeContentText(text,options),boxContent(text,options.width,options)}var import_picocolors8=__toESM(require_picocolors(),1),import_prompts7=__toESM(require_prompts3(),1);var babel_exports={};__export(babel_exports,{BabelFileClass:()=>BabelFileClass,babelParse:()=>babelParse,babelParseExpression:()=>babelParseExpression,babelPrint:()=>babelPrint,core:()=>core,generate:()=>generate,parser:()=>parser2,parserOptions:()=>parserOptions,recast:()=>recast2,transformSync:()=>import_core2.transformSync,traverse:()=>traverse,types:()=>types2});var import_core2=__toESM(require_lib28(),1),core=__toESM(require_lib28(),1),import_core3=__toESM(require_lib28(),1),import_generator=__toESM(require_lib10(),1),parser2=__toESM(require_lib6(),1),import_traverse=__toESM(require_lib11(),1),types2=__toESM(require_lib5(),1),recast2=__toESM(require_main2(),1);var parser=__toESM(require_lib6(),1),recast=__toESM(require_main2(),1);function parseWithFlowOrTypescript(source,parserOptions2){let parserPlugins=/^\s*\/\/\s*@flow/.test(source)?["flow"]:["typescript"],mergedParserOptions={...parserOptions2,plugins:[...parserOptions2.plugins??[],...parserPlugins]};return parser.parse(source,mergedParserOptions)}var parserOptions={sourceType:"module",plugins:["jsx","decorators-legacy","classProperties"],tokens:!0},babelParse=code=>recast.parse(code,{parser:{parse(source){return parseWithFlowOrTypescript(source,parserOptions)}}}),babelPrint=ast=>recast.print(ast,{quote:"single",trailingComma:!0,tabWidth:2,wrapColumn:80,arrowParensAlways:!0}).code,babelParseExpression=code=>parser.parseExpression(code,parserOptions);var traverse=import_traverse.default.default||import_traverse.default,generate=import_generator.default.default||import_generator.default,BabelFileClass=import_core3.File;var import_prompts=__toESM(require_prompts3(),1);var import_pump=__toESM(require_pump(),1),import_tar_fs=__toESM(require_tar_fs(),1),import_gunzip_maybe=__toESM(require_gunzip_maybe(),1);var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require2=(x8=>typeof __require<"u"?__require:typeof Proxy<"u"?new Proxy(x8,{get:(a5,b8)=>(typeof __require<"u"?__require:a5)[b8]}):x8)(function(x8){if(typeof __require<"u")return __require.apply(this,arguments);throw new Error('Dynamic require of "'+x8+'" is not supported')}),__commonJS2=(cb3,mod)=>function(){return mod||(0, cb3[__getOwnPropNames(cb3)[0]])((mod={exports:{}}).exports,mod),mod.exports},__copyProps=(to6,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to6,key)&&key!==except&&__defProp(to6,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to6},__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),require_source=__commonJS2({"node_modules/.pnpm/defer-to-connect@2.0.1/node_modules/defer-to-connect/dist/source/index.js"(exports,module2){Object.defineProperty(exports,"__esModule",{value:!0});function isTLSSocket(socket){return socket.encrypted}var deferToConnect2=(socket,fn5)=>{let listeners;typeof fn5=="function"?listeners={connect:fn5}:listeners=fn5;let hasConnectListener=typeof listeners.connect=="function",hasSecureConnectListener=typeof listeners.secureConnect=="function",hasCloseListener=typeof listeners.close=="function",onConnect=()=>{hasConnectListener&&listeners.connect(),isTLSSocket(socket)&&hasSecureConnectListener&&(socket.authorized?listeners.secureConnect():socket.authorizationError||socket.once("secureConnect",listeners.secureConnect)),hasCloseListener&&socket.once("close",listeners.close);};socket.writable&&!socket.connecting?onConnect():socket.connecting?socket.once("connect",onConnect):socket.destroyed&&hasCloseListener&&listeners.close(socket._hadError);};exports.default=deferToConnect2,module2.exports=deferToConnect2,module2.exports.default=deferToConnect2;}}),require_buffer_stream=__commonJS2({"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports,module2){var{PassThrough:PassThroughStream2}=__require2("stream");module2.exports=options=>{options={...options};let{array}=options,{encoding}=options,isBuffer=encoding==="buffer",objectMode=!1;array?objectMode=!(encoding||isBuffer):encoding=encoding||"utf8",isBuffer&&(encoding=null);let stream22=new PassThroughStream2({objectMode});encoding&&stream22.setEncoding(encoding);let length=0,chunks=[];return stream22.on("data",chunk=>{chunks.push(chunk),objectMode?length=chunks.length:length+=chunk.length;}),stream22.getBufferedValue=()=>array?chunks:isBuffer?Buffer.concat(chunks,length):chunks.join(""),stream22.getBufferedLength=()=>length,stream22};}}),require_get_stream=__commonJS2({"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports,module2){var{constants:BufferConstants}=__require2("buffer"),stream22=__require2("stream"),{promisify:promisify4}=__require2("util"),bufferStream=require_buffer_stream(),streamPipelinePromisified=promisify4(stream22.pipeline),MaxBufferError2=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}};async function getStream2(inputStream,options){if(!inputStream)throw new Error("Expected a stream");options={maxBuffer:1/0,...options};let{maxBuffer}=options,stream3=bufferStream(options);return await new Promise((resolve9,reject)=>{let rejectPromise=error2=>{error2&&stream3.getBufferedLength()<=BufferConstants.MAX_LENGTH&&(error2.bufferedData=stream3.getBufferedValue()),reject(error2);};(async()=>{try{await streamPipelinePromisified(inputStream,stream3),resolve9();}catch(error2){rejectPromise(error2);}})(),stream3.on("data",()=>{stream3.getBufferedLength()>maxBuffer&&rejectPromise(new MaxBufferError2);});}),stream3.getBufferedValue()}module2.exports=getStream2,module2.exports.buffer=(stream3,options)=>getStream2(stream3,{...options,encoding:"buffer"}),module2.exports.array=(stream3,options)=>getStream2(stream3,{...options,array:!0}),module2.exports.MaxBufferError=MaxBufferError2;}}),require_http_cache_semantics=__commonJS2({"node_modules/.pnpm/http-cache-semantics@4.1.1/node_modules/http-cache-semantics/index.js"(exports,module2){var statusCodeCacheableByDefault=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),understoodStatuses=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),errorStatusCodes=new Set([500,502,503,504]),hopByHopHeaders={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},excludedFromRevalidationUpdate={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function toNumberOrZero(s10){let n10=parseInt(s10,10);return isFinite(n10)?n10:0}function isErrorResponse(response){return response?errorStatusCodes.has(response.status):!0}function parseCacheControl(header){let cc2={};if(!header)return cc2;let parts=header.trim().split(/,/);for(let part of parts){let[k13,v12]=part.split(/=/,2);cc2[k13.trim()]=v12===void 0?!0:v12.trim().replace(/^"|"$/g,"");}return cc2}function formatCacheControl(cc2){let parts=[];for(let k13 in cc2){let v12=cc2[k13];parts.push(v12===!0?k13:k13+"="+v12);}if(parts.length)return parts.join(", ")}module2.exports=class{constructor(req,res,{shared,cacheHeuristic,immutableMinTimeToLive,ignoreCargoCult,_fromObject}={}){if(_fromObject){this._fromObject(_fromObject);return}if(!res||!res.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(req),this._responseTime=this.now(),this._isShared=shared!==!1,this._cacheHeuristic=cacheHeuristic!==void 0?cacheHeuristic:.1,this._immutableMinTtl=immutableMinTimeToLive!==void 0?immutableMinTimeToLive:24*3600*1e3,this._status="status"in res?res.status:200,this._resHeaders=res.headers,this._rescc=parseCacheControl(res.headers["cache-control"]),this._method="method"in req?req.method:"GET",this._url=req.url,this._host=req.headers.host,this._noAuthorization=!req.headers.authorization,this._reqHeaders=res.headers.vary?req.headers:null,this._reqcc=parseCacheControl(req.headers["cache-control"]),ignoreCargoCult&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),res.headers["cache-control"]==null&&/no-cache/.test(res.headers.pragma)&&(this._rescc["no-cache"]=!0);}now(){return Date.now()}storable(){return !!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&understoodStatuses.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||statusCodeCacheableByDefault.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(req){if(!req||!req.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(req){this._assertRequestHasHeaders(req);let requestCC=parseCacheControl(req.headers["cache-control"]);return requestCC["no-cache"]||/no-cache/.test(req.headers.pragma)||requestCC["max-age"]&&this.age()>requestCC["max-age"]||requestCC["min-fresh"]&&this.timeToLive()<1e3*requestCC["min-fresh"]||this.stale()&&!(requestCC["max-stale"]&&!this._rescc["must-revalidate"]&&(requestCC["max-stale"]===!0||requestCC["max-stale"]>this.age()-this.maxAge()))?!1:this._requestMatches(req,!1)}_requestMatches(req,allowHeadMethod){return (!this._url||this._url===req.url)&&this._host===req.headers.host&&(!req.method||this._method===req.method||allowHeadMethod&&req.method==="HEAD")&&this._varyMatches(req)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(req){if(!this._resHeaders.vary)return !0;if(this._resHeaders.vary==="*")return !1;let fields=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(let name of fields)if(req.headers[name]!==this._reqHeaders[name])return !1;return !0}_copyWithoutHopByHopHeaders(inHeaders){let headers={};for(let name in inHeaders)hopByHopHeaders[name]||(headers[name]=inHeaders[name]);if(inHeaders.connection){let tokens=inHeaders.connection.trim().split(/\s*,\s*/);for(let name of tokens)delete headers[name];}if(headers.warning){let warnings=headers.warning.split(/,/).filter(warning=>!/^\s*1[0-9][0-9]/.test(warning));warnings.length?headers.warning=warnings.join(",").trim():delete headers.warning;}return headers}responseHeaders(){let headers=this._copyWithoutHopByHopHeaders(this._resHeaders),age=this.age();return age>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(headers.warning=(headers.warning?`${headers.warning}, `:"")+'113 - "rfc7234 5.5.4"'),headers.age=`${Math.round(age)}`,headers.date=new Date(this.now()).toUTCString(),headers}date(){let serverDate=Date.parse(this._resHeaders.date);return isFinite(serverDate)?serverDate:this._responseTime}age(){let age=this._ageValue(),residentTime=(this.now()-this._responseTime)/1e3;return age+residentTime}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return toNumberOrZero(this._rescc["s-maxage"])}if(this._rescc["max-age"])return toNumberOrZero(this._rescc["max-age"]);let defaultMinTtl=this._rescc.immutable?this._immutableMinTtl:0,serverDate=this.date();if(this._resHeaders.expires){let expires=Date.parse(this._resHeaders.expires);return Number.isNaN(expires)||expires<serverDate?0:Math.max(defaultMinTtl,(expires-serverDate)/1e3)}if(this._resHeaders["last-modified"]){let lastModified=Date.parse(this._resHeaders["last-modified"]);if(isFinite(lastModified)&&serverDate>lastModified)return Math.max(defaultMinTtl,(serverDate-lastModified)/1e3*this._cacheHeuristic)}return defaultMinTtl}timeToLive(){let age=this.maxAge()-this.age(),staleIfErrorAge=age+toNumberOrZero(this._rescc["stale-if-error"]),staleWhileRevalidateAge=age+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.max(0,age,staleIfErrorAge,staleWhileRevalidateAge)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+toNumberOrZero(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(obj){return new this(void 0,void 0,{_fromObject:obj})}_fromObject(obj){if(this._responseTime)throw Error("Reinitialized");if(!obj||obj.v!==1)throw Error("Invalid serialization");this._responseTime=obj.t,this._isShared=obj.sh,this._cacheHeuristic=obj.ch,this._immutableMinTtl=obj.imm!==void 0?obj.imm:24*3600*1e3,this._status=obj.st,this._resHeaders=obj.resh,this._rescc=obj.rescc,this._method=obj.m,this._url=obj.u,this._host=obj.h,this._noAuthorization=obj.a,this._reqHeaders=obj.reqh,this._reqcc=obj.reqcc;}toObject(){return {v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(incomingReq){this._assertRequestHasHeaders(incomingReq);let headers=this._copyWithoutHopByHopHeaders(incomingReq.headers);if(delete headers["if-range"],!this._requestMatches(incomingReq,!0)||!this.storable())return delete headers["if-none-match"],delete headers["if-modified-since"],headers;if(this._resHeaders.etag&&(headers["if-none-match"]=headers["if-none-match"]?`${headers["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),headers["accept-ranges"]||headers["if-match"]||headers["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete headers["if-modified-since"],headers["if-none-match"]){let etags=headers["if-none-match"].split(/,/).filter(etag=>!/^\s*W\//.test(etag));etags.length?headers["if-none-match"]=etags.join(",").trim():delete headers["if-none-match"];}}else this._resHeaders["last-modified"]&&!headers["if-modified-since"]&&(headers["if-modified-since"]=this._resHeaders["last-modified"]);return headers}revalidatedPolicy(request,response){if(this._assertRequestHasHeaders(request),this._useStaleIfError()&&isErrorResponse(response))return {modified:!1,matches:!1,policy:this};if(!response||!response.headers)throw Error("Response headers missing");let matches=!1;if(response.status!==void 0&&response.status!=304?matches=!1:response.headers.etag&&!/^\s*W\//.test(response.headers.etag)?matches=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===response.headers.etag:this._resHeaders.etag&&response.headers.etag?matches=this._resHeaders.etag.replace(/^\s*W\//,"")===response.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?matches=this._resHeaders["last-modified"]===response.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!response.headers.etag&&!response.headers["last-modified"]&&(matches=!0),!matches)return {policy:new this.constructor(request,response),modified:response.status!=304,matches:!1};let headers={};for(let k13 in this._resHeaders)headers[k13]=k13 in response.headers&&!excludedFromRevalidationUpdate[k13]?response.headers[k13]:this._resHeaders[k13];let newResponse=Object.assign({},response,{status:this._status,method:this._method,headers});return {policy:new this.constructor(request,newResponse,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:!1,matches:!0}}};}}),require_json_buffer=__commonJS2({"node_modules/.pnpm/json-buffer@3.0.1/node_modules/json-buffer/index.js"(exports){exports.stringify=function stringify(o10){if(typeof o10>"u")return o10;if(o10&&Buffer.isBuffer(o10))return JSON.stringify(":base64:"+o10.toString("base64"));if(o10&&o10.toJSON&&(o10=o10.toJSON()),o10&&typeof o10=="object"){var s10="",array=Array.isArray(o10);s10=array?"[":"{";var first=!0;for(var k13 in o10){var ignore=typeof o10[k13]=="function"||!array&&typeof o10[k13]>"u";Object.hasOwnProperty.call(o10,k13)&&!ignore&&(first||(s10+=","),first=!1,array?o10[k13]==null?s10+="null":s10+=stringify(o10[k13]):o10[k13]!==void 0&&(s10+=stringify(k13)+":"+stringify(o10[k13])));}return s10+=array?"]":"}",s10}else return typeof o10=="string"?JSON.stringify(/^:/.test(o10)?":"+o10:o10):typeof o10>"u"?"null":JSON.stringify(o10)},exports.parse=function(s10){return JSON.parse(s10,function(key,value2){return typeof value2=="string"?/^:base64:/.test(value2)?Buffer.from(value2.substring(8),"base64"):/^:/.test(value2)?value2.substring(1):value2:value2})};}}),require_src2=__commonJS2({"node_modules/.pnpm/keyv@4.5.2/node_modules/keyv/src/index.js"(exports,module2){var EventEmitter32=__require2("events"),JSONB=require_json_buffer(),loadStore=options=>{let adapters={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(options.adapter||options.uri){let adapter=options.adapter||/^[^:+]*/.exec(options.uri)[0];return new(__require2(adapters[adapter]))(options)}return new Map},iterableAdapters=["sqlite","postgres","mysql","mongo","redis","tiered"],Keyv2=class extends EventEmitter32{constructor(uri,{emitErrors=!0,...options}={}){if(super(),this.opts={namespace:"keyv",serialize:JSONB.stringify,deserialize:JSONB.parse,...typeof uri=="string"?{uri}:uri,...options},!this.opts.store){let adapterOptions={...this.opts};this.opts.store=loadStore(adapterOptions);}if(this.opts.compression){let compression=this.opts.compression;this.opts.serialize=compression.serialize.bind(compression),this.opts.deserialize=compression.deserialize.bind(compression);}typeof this.opts.store.on=="function"&&emitErrors&&this.opts.store.on("error",error2=>this.emit("error",error2)),this.opts.store.namespace=this.opts.namespace;let generateIterator=iterator=>async function*(){for await(let[key,raw]of typeof iterator=="function"?iterator(this.opts.store.namespace):iterator){let data=this.opts.deserialize(raw);if(!(this.opts.store.namespace&&!key.includes(this.opts.store.namespace))){if(typeof data.expires=="number"&&Date.now()>data.expires){this.delete(key);continue}yield [this._getKeyUnprefix(key),data.value];}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=generateIterator(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=generateIterator(this.opts.store.iterator.bind(this.opts.store)));}_checkIterableAdaptar(){return iterableAdapters.includes(this.opts.store.opts.dialect)||iterableAdapters.findIndex(element=>this.opts.store.opts.url.includes(element))>=0}_getKeyPrefix(key){return `${this.opts.namespace}:${key}`}_getKeyPrefixArray(keys){return keys.map(key=>`${this.opts.namespace}:${key}`)}_getKeyUnprefix(key){return key.split(":").splice(1).join(":")}get(key,options){let{store}=this.opts,isArray=Array.isArray(key),keyPrefixed=isArray?this._getKeyPrefixArray(key):this._getKeyPrefix(key);if(isArray&&store.getMany===void 0){let promises=[];for(let key2 of keyPrefixed)promises.push(Promise.resolve().then(()=>store.get(key2)).then(data=>typeof data=="string"?this.opts.deserialize(data):this.opts.compression?this.opts.deserialize(data):data).then(data=>{if(data!=null)return typeof data.expires=="number"&&Date.now()>data.expires?this.delete(key2).then(()=>{}):options&&options.raw?data:data.value}));return Promise.allSettled(promises).then(values=>{let data=[];for(let value2 of values)data.push(value2.value);return data})}return Promise.resolve().then(()=>isArray?store.getMany(keyPrefixed):store.get(keyPrefixed)).then(data=>typeof data=="string"?this.opts.deserialize(data):this.opts.compression?this.opts.deserialize(data):data).then(data=>{if(data!=null){if(isArray){let result=[];for(let row of data){if(typeof row=="string"&&(row=this.opts.deserialize(row)),row==null){result.push(void 0);continue}typeof row.expires=="number"&&Date.now()>row.expires?(this.delete(key).then(()=>{}),result.push(void 0)):result.push(options&&options.raw?row:row.value);}return result}return typeof data.expires=="number"&&Date.now()>data.expires?this.delete(key).then(()=>{}):options&&options.raw?data:data.value}})}set(key,value2,ttl2){let keyPrefixed=this._getKeyPrefix(key);typeof ttl2>"u"&&(ttl2=this.opts.ttl),ttl2===0&&(ttl2=void 0);let{store}=this.opts;return Promise.resolve().then(()=>{let expires=typeof ttl2=="number"?Date.now()+ttl2:null;return typeof value2=="symbol"&&this.emit("error","symbol cannot be serialized"),value2={value:value2,expires},this.opts.serialize(value2)}).then(value22=>store.set(keyPrefixed,value22,ttl2)).then(()=>!0)}delete(key){let{store}=this.opts;if(Array.isArray(key)){let keyPrefixed2=this._getKeyPrefixArray(key);if(store.deleteMany===void 0){let promises=[];for(let key2 of keyPrefixed2)promises.push(store.delete(key2));return Promise.allSettled(promises).then(values=>values.every(x8=>x8.value===!0))}return Promise.resolve().then(()=>store.deleteMany(keyPrefixed2))}let keyPrefixed=this._getKeyPrefix(key);return Promise.resolve().then(()=>store.delete(keyPrefixed))}clear(){let{store}=this.opts;return Promise.resolve().then(()=>store.clear())}has(key){let keyPrefixed=this._getKeyPrefix(key),{store}=this.opts;return Promise.resolve().then(async()=>typeof store.has=="function"?store.has(keyPrefixed):await store.get(keyPrefixed)!==void 0)}disconnect(){let{store}=this.opts;if(typeof store.disconnect=="function")return store.disconnect()}};module2.exports=Keyv2;}}),require_mimic_response=__commonJS2({"node_modules/.pnpm/mimic-response@3.1.0/node_modules/mimic-response/index.js"(exports,module2){var knownProperties2=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];module2.exports=(fromStream,toStream)=>{if(toStream._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let fromProperties=new Set(Object.keys(fromStream).concat(knownProperties2)),properties={};for(let property of fromProperties)property in toStream||(properties[property]={get(){let value2=fromStream[property];return typeof value2=="function"?value2.bind(fromStream):value2},set(value2){fromStream[property]=value2;},enumerable:!0,configurable:!1});return Object.defineProperties(toStream,properties),fromStream.once("aborted",()=>{toStream.destroy(),toStream.emit("aborted");}),fromStream.once("close",()=>{fromStream.complete&&toStream.readable?toStream.once("end",()=>{toStream.emit("close");}):toStream.emit("close");}),toStream};}}),require_decompress_response=__commonJS2({"node_modules/.pnpm/decompress-response@6.0.0/node_modules/decompress-response/index.js"(exports,module2){var{Transform,PassThrough}=__require2("stream"),zlib=__require2("zlib"),mimicResponse2=require_mimic_response();module2.exports=response=>{let contentEncoding=(response.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(contentEncoding))return response;let isBrotli=contentEncoding==="br";if(isBrotli&&typeof zlib.createBrotliDecompress!="function")return response.destroy(new Error("Brotli is not supported on Node.js < 12")),response;let isEmpty=!0,checker=new Transform({transform(data,_encoding,callback){isEmpty=!1,callback(null,data);},flush(callback){callback();}}),finalStream=new PassThrough({autoDestroy:!1,destroy(error2,callback){response.destroy(),callback(error2);}}),decompressStream=isBrotli?zlib.createBrotliDecompress():zlib.createUnzip();return decompressStream.once("error",error2=>{if(isEmpty&&!response.readable){finalStream.end();return}finalStream.destroy(error2);}),mimicResponse2(response,finalStream),response.pipe(checker).pipe(decompressStream).pipe(finalStream),finalStream};}}),require_quick_lru=__commonJS2({"node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.js"(exports,module2){var QuickLRU=class{constructor(options={}){if(!(options.maxSize&&options.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=options.maxSize,this.onEviction=options.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0;}_set(key,value2){if(this.cache.set(key,value2),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(let[key2,value22]of this.oldCache.entries())this.onEviction(key2,value22);this.oldCache=this.cache,this.cache=new Map;}}get(key){if(this.cache.has(key))return this.cache.get(key);if(this.oldCache.has(key)){let value2=this.oldCache.get(key);return this.oldCache.delete(key),this._set(key,value2),value2}}set(key,value2){return this.cache.has(key)?this.cache.set(key,value2):this._set(key,value2),this}has(key){return this.cache.has(key)||this.oldCache.has(key)}peek(key){if(this.cache.has(key))return this.cache.get(key);if(this.oldCache.has(key))return this.oldCache.get(key)}delete(key){let deleted=this.cache.delete(key);return deleted&&this._size--,this.oldCache.delete(key)||deleted}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0;}*keys(){for(let[key]of this)yield key;}*values(){for(let[,value2]of this)yield value2;}*[Symbol.iterator](){for(let item of this.cache)yield item;for(let item of this.oldCache){let[key]=item;this.cache.has(key)||(yield item);}}get size(){let oldCacheSize=0;for(let key of this.oldCache.keys())this.cache.has(key)||oldCacheSize++;return Math.min(this._size+oldCacheSize,this.maxSize)}};module2.exports=QuickLRU;}}),require_delay_async_destroy=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/delay-async-destroy.js"(exports,module2){module2.exports=stream22=>{if(stream22.listenerCount("error")!==0)return stream22;stream22.__destroy=stream22._destroy,stream22._destroy=(...args)=>{let callback=args.pop();stream22.__destroy(...args,async error2=>{await Promise.resolve(),callback(error2);});};let onError=error2=>{Promise.resolve().then(()=>{stream22.emit("error",error2);});};return stream22.once("error",onError),Promise.resolve().then(()=>{stream22.off("error",onError);}),stream22};}}),require_agent=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/agent.js"(exports,module2){var{URL:URL4}=__require2("url"),EventEmitter32=__require2("events"),tls=__require2("tls"),http22=__require2("http2"),QuickLRU=require_quick_lru(),delayAsyncDestroy=require_delay_async_destroy(),kCurrentStreamCount=Symbol("currentStreamCount"),kRequest=Symbol("request"),kOriginSet=Symbol("cachedOriginSet"),kGracefullyClosing=Symbol("gracefullyClosing"),kLength=Symbol("length"),nameKeys=["createConnection","maxDeflateDynamicTableSize","maxSettings","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","peerMaxConcurrentStreams","settings","family","localAddress","rejectUnauthorized","pskCallback","minDHSize","path","socket","ca","cert","sigalgs","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","honorCipherOrder","key","privateKeyEngine","privateKeyIdentifier","maxVersion","minVersion","pfx","secureOptions","secureProtocol","sessionIdContext","ticketKeys"],getSortedIndex=(array,value2,compare)=>{let low=0,high=array.length;for(;low<high;){let mid=low+high>>>1;compare(array[mid],value2)?low=mid+1:high=mid;}return low},compareSessions=(a5,b8)=>a5.remoteSettings.maxConcurrentStreams>b8.remoteSettings.maxConcurrentStreams,closeCoveredSessions=(where,session)=>{for(let index=0;index<where.length;index++){let coveredSession=where[index];coveredSession[kOriginSet].length>0&&coveredSession[kOriginSet].length<session[kOriginSet].length&&coveredSession[kOriginSet].every(origin=>session[kOriginSet].includes(origin))&&coveredSession[kCurrentStreamCount]+session[kCurrentStreamCount]<=session.remoteSettings.maxConcurrentStreams&&gracefullyClose(coveredSession);}},closeSessionIfCovered=(where,coveredSession)=>{for(let index=0;index<where.length;index++){let session=where[index];if(coveredSession[kOriginSet].length>0&&coveredSession[kOriginSet].length<session[kOriginSet].length&&coveredSession[kOriginSet].every(origin=>session[kOriginSet].includes(origin))&&coveredSession[kCurrentStreamCount]+session[kCurrentStreamCount]<=session.remoteSettings.maxConcurrentStreams)return gracefullyClose(coveredSession),!0}return !1},gracefullyClose=session=>{session[kGracefullyClosing]=!0,session[kCurrentStreamCount]===0&&session.close();},Agent=class extends EventEmitter32{constructor({timeout=0,maxSessions=Number.POSITIVE_INFINITY,maxEmptySessions=10,maxCachedTlsSessions=100}={}){super(),this.sessions={},this.queue={},this.timeout=timeout,this.maxSessions=maxSessions,this.maxEmptySessions=maxEmptySessions,this._emptySessionCount=0,this._sessionCount=0,this.settings={enablePush:!1,initialWindowSize:1024*1024*32},this.tlsSessionCache=new QuickLRU({maxSize:maxCachedTlsSessions});}get protocol(){return "https:"}normalizeOptions(options){let normalized="";for(let index=0;index<nameKeys.length;index++){let key=nameKeys[index];normalized+=":",options&&options[key]!==void 0&&(normalized+=options[key]);}return normalized}_processQueue(){if(this._sessionCount>=this.maxSessions){this.closeEmptySessions(this.maxSessions-this._sessionCount+1);return}for(let normalizedOptions in this.queue)for(let normalizedOrigin in this.queue[normalizedOptions]){let item=this.queue[normalizedOptions][normalizedOrigin];item.completed||(item.completed=!0,item());}}_isBetterSession(thisStreamCount,thatStreamCount){return thisStreamCount>thatStreamCount}_accept(session,listeners,normalizedOrigin,options){let index=0;for(;index<listeners.length&&session[kCurrentStreamCount]<session.remoteSettings.maxConcurrentStreams;)listeners[index].resolve(session),index++;listeners.splice(0,index),listeners.length>0&&(this.getSession(normalizedOrigin,options,listeners),listeners.length=0);}getSession(origin,options,listeners){return new Promise((resolve9,reject)=>{Array.isArray(listeners)&&listeners.length>0?(listeners=[...listeners],resolve9()):listeners=[{resolve:resolve9,reject}];try{if(typeof origin=="string")origin=new URL4(origin);else if(!(origin instanceof URL4))throw new TypeError("The `origin` argument needs to be a string or an URL object");if(options){let{servername}=options,{hostname}=origin;if(servername&&hostname!==servername)throw new Error(`Origin ${hostname} differs from servername ${servername}`)}}catch(error2){for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);return}let normalizedOptions=this.normalizeOptions(options),normalizedOrigin=origin.origin;if(normalizedOptions in this.sessions){let sessions=this.sessions[normalizedOptions],maxConcurrentStreams=-1,currentStreamsCount=-1,optimalSession;for(let index=0;index<sessions.length;index++){let session=sessions[index],sessionMaxConcurrentStreams=session.remoteSettings.maxConcurrentStreams;if(sessionMaxConcurrentStreams<maxConcurrentStreams)break;if(!session[kOriginSet].includes(normalizedOrigin))continue;let sessionCurrentStreamsCount=session[kCurrentStreamCount];sessionCurrentStreamsCount>=sessionMaxConcurrentStreams||session[kGracefullyClosing]||session.destroyed||(optimalSession||(maxConcurrentStreams=sessionMaxConcurrentStreams),this._isBetterSession(sessionCurrentStreamsCount,currentStreamsCount)&&(optimalSession=session,currentStreamsCount=sessionCurrentStreamsCount));}if(optimalSession){this._accept(optimalSession,listeners,normalizedOrigin,options);return}}if(normalizedOptions in this.queue){if(normalizedOrigin in this.queue[normalizedOptions]){this.queue[normalizedOptions][normalizedOrigin].listeners.push(...listeners);return}}else this.queue[normalizedOptions]={[kLength]:0};let removeFromQueue=()=>{normalizedOptions in this.queue&&this.queue[normalizedOptions][normalizedOrigin]===entry&&(delete this.queue[normalizedOptions][normalizedOrigin],--this.queue[normalizedOptions][kLength]===0&&delete this.queue[normalizedOptions]);},entry=async()=>{this._sessionCount++;let name=`${normalizedOrigin}:${normalizedOptions}`,receivedSettings=!1,socket;try{let computedOptions={...options};computedOptions.settings===void 0&&(computedOptions.settings=this.settings),computedOptions.session===void 0&&(computedOptions.session=this.tlsSessionCache.get(name)),socket=await(computedOptions.createConnection||this.createConnection).call(this,origin,computedOptions),computedOptions.createConnection=()=>socket;let session=http22.connect(origin,computedOptions);session[kCurrentStreamCount]=0,session[kGracefullyClosing]=!1;let getOriginSet=()=>{let{socket:socket2}=session,originSet;return socket2.servername===!1?(socket2.servername=socket2.remoteAddress,originSet=session.originSet,socket2.servername=!1):originSet=session.originSet,originSet},isFree=()=>session[kCurrentStreamCount]<session.remoteSettings.maxConcurrentStreams;session.socket.once("session",tlsSession=>{this.tlsSessionCache.set(name,tlsSession);}),session.once("error",error2=>{for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);this.tlsSessionCache.delete(name);}),session.setTimeout(this.timeout,()=>{session.destroy();}),session.once("close",()=>{if(this._sessionCount--,receivedSettings){this._emptySessionCount--;let where=this.sessions[normalizedOptions];where.length===1?delete this.sessions[normalizedOptions]:where.splice(where.indexOf(session),1);}else {removeFromQueue();let error2=new Error("Session closed without receiving a SETTINGS frame");error2.code="HTTP2WRAPPER_NOSETTINGS";for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);}this._processQueue();});let processListeners=()=>{let queue=this.queue[normalizedOptions];if(!queue)return;let originSet=session[kOriginSet];for(let index=0;index<originSet.length;index++){let origin2=originSet[index];if(origin2 in queue){let{listeners:listeners2,completed}=queue[origin2],index2=0;for(;index2<listeners2.length&&isFree();)listeners2[index2].resolve(session),index2++;if(queue[origin2].listeners.splice(0,index2),queue[origin2].listeners.length===0&&!completed&&(delete queue[origin2],--queue[kLength]===0)){delete this.queue[normalizedOptions];break}if(!isFree())break}}};session.on("origin",()=>{session[kOriginSet]=getOriginSet()||[],session[kGracefullyClosing]=!1,closeSessionIfCovered(this.sessions[normalizedOptions],session),!(session[kGracefullyClosing]||!isFree())&&(processListeners(),isFree()&&closeCoveredSessions(this.sessions[normalizedOptions],session));}),session.once("remoteSettings",()=>{if(entry.destroyed){let error2=new Error("Agent has been destroyed");for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);session.destroy();return}if(session.setLocalWindowSize&&session.setLocalWindowSize(1024*1024*4),session[kOriginSet]=getOriginSet()||[],session.socket.encrypted){let mainOrigin=session[kOriginSet][0];if(mainOrigin!==normalizedOrigin){let error2=new Error(`Requested origin ${normalizedOrigin} does not match server ${mainOrigin}`);for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);session.destroy();return}}removeFromQueue();{let where=this.sessions;if(normalizedOptions in where){let sessions=where[normalizedOptions];sessions.splice(getSortedIndex(sessions,session,compareSessions),0,session);}else where[normalizedOptions]=[session];}receivedSettings=!0,this._emptySessionCount++,this.emit("session",session),this._accept(session,listeners,normalizedOrigin,options),session[kCurrentStreamCount]===0&&this._emptySessionCount>this.maxEmptySessions&&this.closeEmptySessions(this._emptySessionCount-this.maxEmptySessions),session.on("remoteSettings",()=>{isFree()&&(processListeners(),isFree()&&closeCoveredSessions(this.sessions[normalizedOptions],session));});}),session[kRequest]=session.request,session.request=(headers,streamOptions)=>{if(session[kGracefullyClosing])throw new Error("The session is gracefully closing. No new streams are allowed.");let stream22=session[kRequest](headers,streamOptions);return session.ref(),session[kCurrentStreamCount]++===0&&this._emptySessionCount--,stream22.once("close",()=>{if(--session[kCurrentStreamCount]===0&&(this._emptySessionCount++,session.unref(),this._emptySessionCount>this.maxEmptySessions||session[kGracefullyClosing])){session.close();return}session.destroyed||session.closed||isFree()&&!closeSessionIfCovered(this.sessions[normalizedOptions],session)&&(closeCoveredSessions(this.sessions[normalizedOptions],session),processListeners(),session[kCurrentStreamCount]===0&&this._processQueue());}),stream22};}catch(error2){removeFromQueue(),this._sessionCount--;for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);}};entry.listeners=listeners,entry.completed=!1,entry.destroyed=!1,this.queue[normalizedOptions][normalizedOrigin]=entry,this.queue[normalizedOptions][kLength]++,this._processQueue();})}request(origin,options,headers,streamOptions){return new Promise((resolve9,reject)=>{this.getSession(origin,options,[{reject,resolve:session=>{try{let stream22=session.request(headers,streamOptions);delayAsyncDestroy(stream22),resolve9(stream22);}catch(error2){reject(error2);}}}]);})}async createConnection(origin,options){return Agent.connect(origin,options)}static connect(origin,options){options.ALPNProtocols=["h2"];let port=origin.port||443,host=origin.hostname;typeof options.servername>"u"&&(options.servername=host);let socket=tls.connect(port,host,options);return options.socket&&(socket._peername={family:void 0,address:void 0,port}),socket}closeEmptySessions(maxCount=Number.POSITIVE_INFINITY){let closedCount=0,{sessions}=this;for(let key in sessions){let thisSessions=sessions[key];for(let index=0;index<thisSessions.length;index++){let session=thisSessions[index];if(session[kCurrentStreamCount]===0&&(closedCount++,session.close(),closedCount>=maxCount))return closedCount}}return closedCount}destroy(reason){let{sessions,queue}=this;for(let key in sessions){let thisSessions=sessions[key];for(let index=0;index<thisSessions.length;index++)thisSessions[index].destroy(reason);}for(let normalizedOptions in queue){let entries2=queue[normalizedOptions];for(let normalizedOrigin in entries2)entries2[normalizedOrigin].destroyed=!0;}this.queue={},this.tlsSessionCache.clear();}get emptySessionCount(){return this._emptySessionCount}get pendingSessionCount(){return this._sessionCount-this._emptySessionCount}get sessionCount(){return this._sessionCount}};Agent.kCurrentStreamCount=kCurrentStreamCount,Agent.kGracefullyClosing=kGracefullyClosing,module2.exports={Agent,globalAgent:new Agent};}}),require_incoming_message=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/incoming-message.js"(exports,module2){var{Readable}=__require2("stream"),IncomingMessage=class extends Readable{constructor(socket,highWaterMark){super({emitClose:!1,autoDestroy:!0,highWaterMark}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=socket,this._dumped=!1;}get connection(){return this.socket}set connection(value2){this.socket=value2;}_destroy(error2,callback){this.readableEnded||(this.aborted=!0),callback(),this.req._request.destroy(error2);}setTimeout(ms3,callback){return this.req.setTimeout(ms3,callback),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume());}_read(){this.req&&this.req._request.resume();}};module2.exports=IncomingMessage;}}),require_proxy_events=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/proxy-events.js"(exports,module2){module2.exports=(from,to6,events)=>{for(let event of events)from.on(event,(...args)=>to6.emit(event,...args));};}}),require_errors3=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/errors.js"(exports,module2){var makeError2=(Base,key,getMessage)=>{module2.exports[key]=class extends Base{constructor(...args){super(typeof getMessage=="string"?getMessage:getMessage(args)),this.name=`${super.name} [${key}]`,this.code=key;}};};makeError2(TypeError,"ERR_INVALID_ARG_TYPE",args=>{let type=args[0].includes(".")?"property":"argument",valid=args[1],isManyTypes=Array.isArray(valid);return isManyTypes&&(valid=`${valid.slice(0,-1).join(", ")} or ${valid.slice(-1)}`),`The "${args[0]}" ${type} must be ${isManyTypes?"one of":"of"} type ${valid}. Received ${typeof args[2]}`}),makeError2(TypeError,"ERR_INVALID_PROTOCOL",args=>`Protocol "${args[0]}" not supported. Expected "${args[1]}"`),makeError2(Error,"ERR_HTTP_HEADERS_SENT",args=>`Cannot ${args[0]} headers after they are sent to the client`),makeError2(TypeError,"ERR_INVALID_HTTP_TOKEN",args=>`${args[0]} must be a valid HTTP token [${args[1]}]`),makeError2(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",args=>`Invalid value "${args[0]} for header "${args[1]}"`),makeError2(TypeError,"ERR_INVALID_CHAR",args=>`Invalid character in ${args[0]} [${args[1]}]`),makeError2(Error,"ERR_HTTP2_NO_SOCKET_MANIPULATION","HTTP/2 sockets should not be directly manipulated (e.g. read and written)");}}),require_is_request_pseudo_header=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js"(exports,module2){module2.exports=header=>{switch(header){case":method":case":scheme":case":authority":case":path":return !0;default:return !1}};}}),require_validate_header_name=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/validate-header-name.js"(exports,module2){var{ERR_INVALID_HTTP_TOKEN}=require_errors3(),isRequestPseudoHeader=require_is_request_pseudo_header(),isValidHttpToken=/^[\^`\-\w!#$%&*+.|~]+$/;module2.exports=name=>{if(typeof name!="string"||!isValidHttpToken.test(name)&&!isRequestPseudoHeader(name))throw new ERR_INVALID_HTTP_TOKEN("Header name",name)};}}),require_validate_header_value=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/validate-header-value.js"(exports,module2){var{ERR_HTTP_INVALID_HEADER_VALUE,ERR_INVALID_CHAR}=require_errors3(),isInvalidHeaderValue=/[^\t\u0020-\u007E\u0080-\u00FF]/;module2.exports=(name,value2)=>{if(typeof value2>"u")throw new ERR_HTTP_INVALID_HEADER_VALUE(value2,name);if(isInvalidHeaderValue.test(value2))throw new ERR_INVALID_CHAR("header content",name)};}}),require_proxy_socket_handler=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/proxy-socket-handler.js"(exports,module2){var{ERR_HTTP2_NO_SOCKET_MANIPULATION}=require_errors3(),proxySocketHandler={has(stream22,property){let reference=stream22.session===void 0?stream22:stream22.session.socket;return property in stream22||property in reference},get(stream22,property){switch(property){case"on":case"once":case"end":case"emit":case"destroy":return stream22[property].bind(stream22);case"writable":case"destroyed":return stream22[property];case"readable":return stream22.destroyed?!1:stream22.readable;case"setTimeout":{let{session}=stream22;return session!==void 0?session.setTimeout.bind(session):stream22.setTimeout.bind(stream22)}case"write":case"read":case"pause":case"resume":throw new ERR_HTTP2_NO_SOCKET_MANIPULATION;default:{let reference=stream22.session===void 0?stream22:stream22.session.socket,value2=reference[property];return typeof value2=="function"?value2.bind(reference):value2}}},getPrototypeOf(stream22){return stream22.session!==void 0?Reflect.getPrototypeOf(stream22.session.socket):Reflect.getPrototypeOf(stream22)},set(stream22,property,value2){switch(property){case"writable":case"readable":case"destroyed":case"on":case"once":case"end":case"emit":case"destroy":return stream22[property]=value2,!0;case"setTimeout":{let{session}=stream22;return session===void 0?stream22.setTimeout=value2:session.setTimeout=value2,!0}case"write":case"read":case"pause":case"resume":throw new ERR_HTTP2_NO_SOCKET_MANIPULATION;default:{let reference=stream22.session===void 0?stream22:stream22.session.socket;return reference[property]=value2,!0}}}};module2.exports=proxySocketHandler;}}),require_client_request=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/client-request.js"(exports,module2){var{URL:URL4,urlToHttpOptions}=__require2("url"),http22=__require2("http2"),{Writable}=__require2("stream"),{Agent,globalAgent}=require_agent(),IncomingMessage=require_incoming_message(),proxyEvents2=require_proxy_events(),{ERR_INVALID_ARG_TYPE,ERR_INVALID_PROTOCOL,ERR_HTTP_HEADERS_SENT}=require_errors3(),validateHeaderName=require_validate_header_name(),validateHeaderValue=require_validate_header_value(),proxySocketHandler=require_proxy_socket_handler(),{HTTP2_HEADER_STATUS,HTTP2_HEADER_METHOD,HTTP2_HEADER_PATH,HTTP2_HEADER_AUTHORITY,HTTP2_METHOD_CONNECT}=http22.constants,kHeaders=Symbol("headers"),kOrigin=Symbol("origin"),kSession=Symbol("session"),kOptions=Symbol("options"),kFlushedHeaders=Symbol("flushedHeaders"),kJobs=Symbol("jobs"),kPendingAgentPromise=Symbol("pendingAgentPromise"),ClientRequest=class extends Writable{constructor(input,options,callback){if(super({autoDestroy:!1,emitClose:!1}),typeof input=="string"?input=urlToHttpOptions(new URL4(input)):input instanceof URL4?input=urlToHttpOptions(input):input={...input},typeof options=="function"||options===void 0?(callback=options,options=input):options=Object.assign(input,options),options.h2session){if(this[kSession]=options.h2session,this[kSession].destroyed)throw new Error("The session has been closed already");this.protocol=this[kSession].socket.encrypted?"https:":"http:";}else if(options.agent===!1)this.agent=new Agent({maxEmptySessions:0});else if(typeof options.agent>"u"||options.agent===null)this.agent=globalAgent;else if(typeof options.agent.request=="function")this.agent=options.agent;else throw new ERR_INVALID_ARG_TYPE("options.agent",["http2wrapper.Agent-like Object","undefined","false"],options.agent);if(this.agent&&(this.protocol=this.agent.protocol),options.protocol&&options.protocol!==this.protocol)throw new ERR_INVALID_PROTOCOL(options.protocol,this.protocol);options.port||(options.port=options.defaultPort||this.agent&&this.agent.defaultPort||443),options.host=options.hostname||options.host||"localhost",delete options.hostname;let{timeout}=options;options.timeout=void 0,this[kHeaders]=Object.create(null),this[kJobs]=[],this[kPendingAgentPromise]=void 0,this.socket=null,this.connection=null,this.method=options.method||"GET",this.method==="CONNECT"&&(options.path==="/"||options.path===void 0)||(this.path=options.path),this.res=null,this.aborted=!1,this.reusedSocket=!1;let{headers}=options;if(headers)for(let header in headers)this.setHeader(header,headers[header]);options.auth&&!("authorization"in this[kHeaders])&&(this[kHeaders].authorization="Basic "+Buffer.from(options.auth).toString("base64")),options.session=options.tlsSession,options.path=options.socketPath,this[kOptions]=options,this[kOrigin]=new URL4(`${this.protocol}//${options.servername||options.host}:${options.port}`);let reuseSocket=options._reuseSocket;reuseSocket&&(options.createConnection=(...args)=>reuseSocket.destroyed?this.agent.createConnection(...args):reuseSocket,this.agent.getSession(this[kOrigin],this[kOptions]).catch(()=>{})),timeout&&this.setTimeout(timeout),callback&&this.once("response",callback),this[kFlushedHeaders]=!1;}get method(){return this[kHeaders][HTTP2_HEADER_METHOD]}set method(value2){value2&&(this[kHeaders][HTTP2_HEADER_METHOD]=value2.toUpperCase());}get path(){let header=this.method==="CONNECT"?HTTP2_HEADER_AUTHORITY:HTTP2_HEADER_PATH;return this[kHeaders][header]}set path(value2){if(value2){let header=this.method==="CONNECT"?HTTP2_HEADER_AUTHORITY:HTTP2_HEADER_PATH;this[kHeaders][header]=value2;}}get host(){return this[kOrigin].hostname}set host(_value){}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(chunk,encoding,callback){if(this._mustNotHaveABody){callback(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();let callWrite=()=>this._request.write(chunk,encoding,callback);this._request?callWrite():this[kJobs].push(callWrite);}_final(callback){this.flushHeaders();let callEnd=()=>{if(this._mustNotHaveABody||this.method==="CONNECT"){callback();return}this._request.end(callback);};this._request?callEnd():this[kJobs].push(callEnd);}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy());}async _destroy(error2,callback){this.res&&this.res._dump(),this._request?this._request.destroy():process.nextTick(()=>{this.emit("close");});try{await this[kPendingAgentPromise];}catch(internalError){this.aborted&&(error2=internalError);}callback(error2);}async flushHeaders(){if(this[kFlushedHeaders]||this.destroyed)return;this[kFlushedHeaders]=!0;let isConnectMethod=this.method===HTTP2_METHOD_CONNECT,onStream=stream22=>{if(this._request=stream22,this.destroyed){stream22.destroy();return}isConnectMethod||proxyEvents2(stream22,this,["timeout","continue"]),stream22.once("error",error2=>{this.destroy(error2);}),stream22.once("aborted",()=>{let{res}=this;res?(res.aborted=!0,res.emit("aborted"),res.destroy()):this.destroy(new Error("The server aborted the HTTP/2 stream"));});let onResponse=(headers,flags,rawHeaders)=>{let response=new IncomingMessage(this.socket,stream22.readableHighWaterMark);this.res=response,response.url=`${this[kOrigin].origin}${this.path}`,response.req=this,response.statusCode=headers[HTTP2_HEADER_STATUS],response.headers=headers,response.rawHeaders=rawHeaders,response.once("end",()=>{response.complete=!0,response.socket=null,response.connection=null;}),isConnectMethod?(response.upgrade=!0,this.emit("connect",response,stream22,Buffer.alloc(0))?this.emit("close"):stream22.destroy()):(stream22.on("data",chunk=>{!response._dumped&&!response.push(chunk)&&stream22.pause();}),stream22.once("end",()=>{this.aborted||response.push(null);}),this.emit("response",response)||response._dump());};stream22.once("response",onResponse),stream22.once("headers",headers=>this.emit("information",{statusCode:headers[HTTP2_HEADER_STATUS]})),stream22.once("trailers",(trailers,flags,rawTrailers)=>{let{res}=this;if(res===null){onResponse(trailers,flags,rawTrailers);return}res.trailers=trailers,res.rawTrailers=rawTrailers;}),stream22.once("close",()=>{let{aborted,res}=this;if(res){aborted&&(res.aborted=!0,res.emit("aborted"),res.destroy());let finish=()=>{res.emit("close"),this.destroy(),this.emit("close");};res.readable?res.once("end",finish):finish();return}if(!this.destroyed){this.destroy(new Error("The HTTP/2 stream has been early terminated")),this.emit("close");return}this.destroy(),this.emit("close");}),this.socket=new Proxy(stream22,proxySocketHandler);for(let job of this[kJobs])job();this[kJobs].length=0,this.emit("socket",this.socket);};if(!(HTTP2_HEADER_AUTHORITY in this[kHeaders])&&!isConnectMethod&&(this[kHeaders][HTTP2_HEADER_AUTHORITY]=this[kOrigin].host),this[kSession])try{onStream(this[kSession].request(this[kHeaders]));}catch(error2){this.destroy(error2);}else {this.reusedSocket=!0;try{let promise=this.agent.request(this[kOrigin],this[kOptions],this[kHeaders]);this[kPendingAgentPromise]=promise,onStream(await promise),this[kPendingAgentPromise]=!1;}catch(error2){this[kPendingAgentPromise]=!1,this.destroy(error2);}}}get connection(){return this.socket}set connection(value2){this.socket=value2;}getHeaderNames(){return Object.keys(this[kHeaders])}hasHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);return !!this[kHeaders][name.toLowerCase()]}getHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);return this[kHeaders][name.toLowerCase()]}get headersSent(){return this[kFlushedHeaders]}removeHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);if(this.headersSent)throw new ERR_HTTP_HEADERS_SENT("remove");delete this[kHeaders][name.toLowerCase()];}setHeader(name,value2){if(this.headersSent)throw new ERR_HTTP_HEADERS_SENT("set");validateHeaderName(name),validateHeaderValue(name,value2);let lowercased=name.toLowerCase();if(lowercased==="connection"){if(value2.toLowerCase()==="keep-alive")return;throw new Error(`Invalid 'connection' header: ${value2}`)}lowercased==="host"&&this.method==="CONNECT"?this[kHeaders][HTTP2_HEADER_AUTHORITY]=value2:this[kHeaders][lowercased]=value2;}setNoDelay(){}setSocketKeepAlive(){}setTimeout(ms3,callback){let applyTimeout=()=>this._request.setTimeout(ms3,callback);return this._request?applyTimeout():this[kJobs].push(applyTimeout),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(_value){}};module2.exports=ClientRequest;}}),require_resolve_alpn=__commonJS2({"node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.js"(exports,module2){var tls=__require2("tls");module2.exports=(options={},connect=tls.connect)=>new Promise((resolve9,reject)=>{let timeout=!1,socket,callback=async()=>{await socketPromise,socket.off("timeout",onTimeout),socket.off("error",reject),options.resolveSocket?(resolve9({alpnProtocol:socket.alpnProtocol,socket,timeout}),timeout&&(await Promise.resolve(),socket.emit("timeout"))):(socket.destroy(),resolve9({alpnProtocol:socket.alpnProtocol,timeout}));},onTimeout=async()=>{timeout=!0,callback();},socketPromise=(async()=>{try{socket=await connect(options,callback),socket.on("error",reject),socket.once("timeout",onTimeout);}catch(error2){reject(error2);}})();});}}),require_calculate_server_name=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/calculate-server-name.js"(exports,module2){var{isIP}=__require2("net"),assert2=__require2("assert"),getHost=host=>{if(host[0]==="["){let idx2=host.indexOf("]");return assert2(idx2!==-1),host.slice(1,idx2)}let idx=host.indexOf(":");return idx===-1?host:host.slice(0,idx)};module2.exports=host=>{let servername=getHost(host);return isIP(servername)?"":servername};}}),require_auto=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/auto.js"(exports,module2){var{URL:URL4,urlToHttpOptions}=__require2("url"),http3=__require2("http"),https2=__require2("https"),resolveALPN=require_resolve_alpn(),QuickLRU=require_quick_lru(),{Agent,globalAgent}=require_agent(),Http2ClientRequest=require_client_request(),calculateServerName=require_calculate_server_name(),delayAsyncDestroy=require_delay_async_destroy(),cache2=new QuickLRU({maxSize:100}),queue=new Map,installSocket=(agent2,socket,options)=>{socket._httpMessage={shouldKeepAlive:!0};let onFree=()=>{agent2.emit("free",socket,options);};socket.on("free",onFree);let onClose=()=>{agent2.removeSocket(socket,options);};socket.on("close",onClose);let onTimeout=()=>{let{freeSockets}=agent2;for(let sockets of Object.values(freeSockets))if(sockets.includes(socket)){socket.destroy();return}};socket.on("timeout",onTimeout);let onRemove=()=>{agent2.removeSocket(socket,options),socket.off("close",onClose),socket.off("free",onFree),socket.off("timeout",onTimeout),socket.off("agentRemove",onRemove);};socket.on("agentRemove",onRemove),agent2.emit("free",socket,options);},createResolveProtocol=(cache22,queue2=new Map,connect=void 0)=>async options=>{let name=`${options.host}:${options.port}:${options.ALPNProtocols.sort()}`;if(!cache22.has(name)){if(queue2.has(name))return {alpnProtocol:(await queue2.get(name)).alpnProtocol};let{path:path12}=options;options.path=options.socketPath;let resultPromise=resolveALPN(options,connect);queue2.set(name,resultPromise);try{let result=await resultPromise;return cache22.set(name,result.alpnProtocol),queue2.delete(name),options.path=path12,result}catch(error2){throw queue2.delete(name),options.path=path12,error2}}return {alpnProtocol:cache22.get(name)}},defaultResolveProtocol=createResolveProtocol(cache2,queue);module2.exports=async(input,options,callback)=>{if(typeof input=="string"?input=urlToHttpOptions(new URL4(input)):input instanceof URL4?input=urlToHttpOptions(input):input={...input},typeof options=="function"||options===void 0?(callback=options,options=input):options=Object.assign(input,options),options.ALPNProtocols=options.ALPNProtocols||["h2","http/1.1"],!Array.isArray(options.ALPNProtocols)||options.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");options.protocol=options.protocol||"https:";let isHttps=options.protocol==="https:";options.host=options.hostname||options.host||"localhost",options.session=options.tlsSession,options.servername=options.servername||calculateServerName(options.headers&&options.headers.host||options.host),options.port=options.port||(isHttps?443:80),options._defaultAgent=isHttps?https2.globalAgent:http3.globalAgent;let resolveProtocol=options.resolveProtocol||defaultResolveProtocol,{agent:agent2}=options;if(agent2!==void 0&&agent2!==!1&&agent2.constructor.name!=="Object")throw new Error("The `options.agent` can be only an object `http`, `https` or `http2` properties");if(isHttps){options.resolveSocket=!0;let{socket,alpnProtocol,timeout}=await resolveProtocol(options);if(timeout){socket&&socket.destroy();let error2=new Error(`Timed out resolving ALPN: ${options.timeout} ms`);throw error2.code="ETIMEDOUT",error2.ms=options.timeout,error2}socket&&options.createConnection&&(socket.destroy(),socket=void 0),delete options.resolveSocket;let isHttp2=alpnProtocol==="h2";if(agent2&&(agent2=isHttp2?agent2.http2:agent2.https,options.agent=agent2),agent2===void 0&&(agent2=isHttp2?globalAgent:https2.globalAgent),socket)if(agent2===!1)socket.destroy();else {let defaultCreateConnection=(isHttp2?Agent:https2.Agent).prototype.createConnection;agent2.createConnection===defaultCreateConnection?isHttp2?options._reuseSocket=socket:installSocket(agent2,socket,options):socket.destroy();}if(isHttp2)return delayAsyncDestroy(new Http2ClientRequest(options,callback))}else agent2&&(options.agent=agent2.http);return delayAsyncDestroy(http3.request(options,callback))},module2.exports.protocolCache=cache2,module2.exports.resolveProtocol=defaultResolveProtocol,module2.exports.createResolveProtocol=createResolveProtocol;}}),require_js_stream_socket=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/js-stream-socket.js"(exports,module2){var stream22=__require2("stream"),tls=__require2("tls"),JSStreamSocket=new tls.TLSSocket(new stream22.PassThrough)._handle._parentWrap.constructor;module2.exports=JSStreamSocket;}}),require_unexpected_status_code_error=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.js"(exports,module2){var UnexpectedStatusCodeError=class extends Error{constructor(statusCode,statusMessage=""){super(`The proxy server rejected the request with status code ${statusCode} (${statusMessage||"empty status message"})`),this.statusCode=statusCode,this.statusMessage=statusMessage;}};module2.exports=UnexpectedStatusCodeError;}}),require_check_type=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/check-type.js"(exports,module2){var checkType2=(name,value2,types22)=>{if(!types22.some(type=>typeof type==="string"?typeof value2===type:value2 instanceof type)){let names=types22.map(type=>typeof type=="string"?type:type.name);throw new TypeError(`Expected '${name}' to be a type of ${names.join(" or ")}, got ${typeof value2}`)}};module2.exports=checkType2;}}),require_initialize=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/initialize.js"(exports,module2){var{URL:URL4}=__require2("url"),checkType2=require_check_type();module2.exports=(self2,proxyOptions)=>{checkType2("proxyOptions",proxyOptions,["object"]),checkType2("proxyOptions.headers",proxyOptions.headers,["object","undefined"]),checkType2("proxyOptions.raw",proxyOptions.raw,["boolean","undefined"]),checkType2("proxyOptions.url",proxyOptions.url,[URL4,"string"]);let url=new URL4(proxyOptions.url);self2.proxyOptions={raw:!0,...proxyOptions,headers:{...proxyOptions.headers},url};};}}),require_get_auth_headers=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/get-auth-headers.js"(exports,module2){module2.exports=self2=>{let{username,password}=self2.proxyOptions.url;if(username||password){let data=`${username}:${password}`,authorization=`Basic ${Buffer.from(data).toString("base64")}`;return {"proxy-authorization":authorization,authorization}}return {}};}}),require_h1_over_h2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h1-over-h2.js"(exports,module2){var tls=__require2("tls"),http3=__require2("http"),https2=__require2("https"),JSStreamSocket=require_js_stream_socket(),{globalAgent}=require_agent(),UnexpectedStatusCodeError=require_unexpected_status_code_error(),initialize=require_initialize(),getAuthorizationHeaders=require_get_auth_headers(),createConnection=(self2,options,callback)=>{(async()=>{try{let{proxyOptions}=self2,{url,headers,raw}=proxyOptions,stream22=await globalAgent.request(url,proxyOptions,{...getAuthorizationHeaders(self2),...headers,":method":"CONNECT",":authority":`${options.host}:${options.port}`});stream22.once("error",callback),stream22.once("response",headers2=>{let statusCode=headers2[":status"];if(statusCode!==200){callback(new UnexpectedStatusCodeError(statusCode,""));return}let encrypted=self2 instanceof https2.Agent;if(raw&&encrypted){options.socket=stream22;let secureStream=tls.connect(options);secureStream.once("close",()=>{stream22.destroy();}),callback(null,secureStream);return}let socket=new JSStreamSocket(stream22);socket.encrypted=!1,socket._handle.getpeername=out=>{out.family=void 0,out.address=void 0,out.port=void 0;},callback(null,socket);});}catch(error2){callback(error2);}})();},HttpOverHttp2=class extends http3.Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}createConnection(options,callback){createConnection(this,options,callback);}},HttpsOverHttp2=class extends https2.Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}createConnection(options,callback){createConnection(this,options,callback);}};module2.exports={HttpOverHttp2,HttpsOverHttp2};}}),require_h2_over_hx=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-hx.js"(exports,module2){var{Agent}=require_agent(),JSStreamSocket=require_js_stream_socket(),UnexpectedStatusCodeError=require_unexpected_status_code_error(),initialize=require_initialize(),Http2OverHttpX=class extends Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}async createConnection(origin,options){let authority=`${origin.hostname}:${origin.port||443}`,[stream22,statusCode,statusMessage]=await this._getProxyStream(authority);if(statusCode!==200)throw new UnexpectedStatusCodeError(statusCode,statusMessage);if(this.proxyOptions.raw)options.socket=stream22;else {let socket=new JSStreamSocket(stream22);return socket.encrypted=!1,socket._handle.getpeername=out=>{out.family=void 0,out.address=void 0,out.port=void 0;},socket}return super.createConnection(origin,options)}};module2.exports=Http2OverHttpX;}}),require_h2_over_h2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-h2.js"(exports,module2){var{globalAgent}=require_agent(),Http2OverHttpX=require_h2_over_hx(),getAuthorizationHeaders=require_get_auth_headers(),getStatusCode=stream22=>new Promise((resolve9,reject)=>{stream22.once("error",reject),stream22.once("response",headers=>{stream22.off("error",reject),resolve9(headers[":status"]);});}),Http2OverHttp2=class extends Http2OverHttpX{async _getProxyStream(authority){let{proxyOptions}=this,headers={...getAuthorizationHeaders(this),...proxyOptions.headers,":method":"CONNECT",":authority":authority},stream22=await globalAgent.request(proxyOptions.url,proxyOptions,headers),statusCode=await getStatusCode(stream22);return [stream22,statusCode,""]}};module2.exports=Http2OverHttp2;}}),require_h2_over_h1=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-h1.js"(exports,module2){var http3=__require2("http"),https2=__require2("https"),Http2OverHttpX=require_h2_over_hx(),getAuthorizationHeaders=require_get_auth_headers(),getStream2=request=>new Promise((resolve9,reject)=>{let onConnect=(response,socket,head)=>{socket.unshift(head),request.off("error",reject),resolve9([socket,response.statusCode,response.statusMessage]);};request.once("error",reject),request.once("connect",onConnect);}),Http2OverHttp=class extends Http2OverHttpX{async _getProxyStream(authority){let{proxyOptions}=this,{url,headers}=this.proxyOptions,request=(url.protocol==="https:"?https2:http3).request({...proxyOptions,hostname:url.hostname,port:url.port,path:authority,headers:{...getAuthorizationHeaders(this),...headers,host:authority},method:"CONNECT"}).end();return getStream2(request)}};module2.exports={Http2OverHttp,Http2OverHttps:Http2OverHttp};}}),require_source2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/index.js"(exports,module2){var http22=__require2("http2"),{Agent,globalAgent}=require_agent(),ClientRequest=require_client_request(),IncomingMessage=require_incoming_message(),auto=require_auto(),{HttpOverHttp2,HttpsOverHttp2}=require_h1_over_h2(),Http2OverHttp2=require_h2_over_h2(),{Http2OverHttp,Http2OverHttps}=require_h2_over_h1(),validateHeaderName=require_validate_header_name(),validateHeaderValue=require_validate_header_value(),request=(url,options,callback)=>new ClientRequest(url,options,callback),get=(url,options,callback)=>{let req=new ClientRequest(url,options,callback);return req.end(),req};module2.exports={...http22,ClientRequest,IncomingMessage,Agent,globalAgent,request,get,auto,proxies:{HttpOverHttp2,HttpsOverHttp2,Http2OverHttp2,Http2OverHttp,Http2OverHttps},validateHeaderName,validateHeaderValue};}}),typedArrayTypeNames=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function isTypedArrayName(name){return typedArrayTypeNames.includes(name)}var objectTypeNames=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...typedArrayTypeNames];function isObjectTypeName(name){return objectTypeNames.includes(name)}var primitiveTypeNames=["null","undefined","string","number","bigint","boolean","symbol"];function isPrimitiveTypeName(name){return primitiveTypeNames.includes(name)}function isOfType(type){return value2=>typeof value2===type}var{toString}=Object.prototype,getObjectType=value2=>{let objectTypeName=toString.call(value2).slice(8,-1);if(/HTML\w+Element/.test(objectTypeName)&&is3.domElement(value2))return "HTMLElement";if(isObjectTypeName(objectTypeName))return objectTypeName},isObjectOfType=type=>value2=>getObjectType(value2)===type;function is3(value2){if(value2===null)return "null";switch(typeof value2){case"undefined":return "undefined";case"string":return "string";case"number":return Number.isNaN(value2)?"NaN":"number";case"boolean":return "boolean";case"function":return "Function";case"bigint":return "bigint";case"symbol":return "symbol";}if(is3.observable(value2))return "Observable";if(is3.array(value2))return "Array";if(is3.buffer(value2))return "Buffer";let tagType=getObjectType(value2);if(tagType)return tagType;if(value2 instanceof String||value2 instanceof Boolean||value2 instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return "Object"}is3.undefined=isOfType("undefined");is3.string=isOfType("string");var isNumberType=isOfType("number");is3.number=value2=>isNumberType(value2)&&!is3.nan(value2);is3.bigint=isOfType("bigint");is3.function_=isOfType("function");is3.null_=value2=>value2===null;is3.class_=value2=>is3.function_(value2)&&value2.toString().startsWith("class ");is3.boolean=value2=>value2===!0||value2===!1;is3.symbol=isOfType("symbol");is3.numericString=value2=>is3.string(value2)&&!is3.emptyStringOrWhitespace(value2)&&!Number.isNaN(Number(value2));is3.array=(value2,assertion)=>Array.isArray(value2)?is3.function_(assertion)?value2.every(element=>assertion(element)):!0:!1;is3.buffer=value2=>{var _a2,_b2;return ((_b2=(_a2=value2?.constructor)==null?void 0:_a2.isBuffer)==null?void 0:_b2.call(_a2,value2))??!1};is3.blob=value2=>isObjectOfType("Blob")(value2);is3.nullOrUndefined=value2=>is3.null_(value2)||is3.undefined(value2);is3.object=value2=>!is3.null_(value2)&&(typeof value2=="object"||is3.function_(value2));is3.iterable=value2=>is3.function_(value2?.[Symbol.iterator]);is3.asyncIterable=value2=>is3.function_(value2?.[Symbol.asyncIterator]);is3.generator=value2=>is3.iterable(value2)&&is3.function_(value2?.next)&&is3.function_(value2?.throw);is3.asyncGenerator=value2=>is3.asyncIterable(value2)&&is3.function_(value2.next)&&is3.function_(value2.throw);is3.nativePromise=value2=>isObjectOfType("Promise")(value2);var hasPromiseApi=value2=>is3.function_(value2?.then)&&is3.function_(value2?.catch);is3.promise=value2=>is3.nativePromise(value2)||hasPromiseApi(value2);is3.generatorFunction=isObjectOfType("GeneratorFunction");is3.asyncGeneratorFunction=value2=>getObjectType(value2)==="AsyncGeneratorFunction";is3.asyncFunction=value2=>getObjectType(value2)==="AsyncFunction";is3.boundFunction=value2=>is3.function_(value2)&&!value2.hasOwnProperty("prototype");is3.regExp=isObjectOfType("RegExp");is3.date=isObjectOfType("Date");is3.error=isObjectOfType("Error");is3.map=value2=>isObjectOfType("Map")(value2);is3.set=value2=>isObjectOfType("Set")(value2);is3.weakMap=value2=>isObjectOfType("WeakMap")(value2);is3.weakSet=value2=>isObjectOfType("WeakSet")(value2);is3.weakRef=value2=>isObjectOfType("WeakRef")(value2);is3.int8Array=isObjectOfType("Int8Array");is3.uint8Array=isObjectOfType("Uint8Array");is3.uint8ClampedArray=isObjectOfType("Uint8ClampedArray");is3.int16Array=isObjectOfType("Int16Array");is3.uint16Array=isObjectOfType("Uint16Array");is3.int32Array=isObjectOfType("Int32Array");is3.uint32Array=isObjectOfType("Uint32Array");is3.float32Array=isObjectOfType("Float32Array");is3.float64Array=isObjectOfType("Float64Array");is3.bigInt64Array=isObjectOfType("BigInt64Array");is3.bigUint64Array=isObjectOfType("BigUint64Array");is3.arrayBuffer=isObjectOfType("ArrayBuffer");is3.sharedArrayBuffer=isObjectOfType("SharedArrayBuffer");is3.dataView=isObjectOfType("DataView");is3.enumCase=(value2,targetEnum)=>Object.values(targetEnum).includes(value2);is3.directInstanceOf=(instance,class_)=>Object.getPrototypeOf(instance)===class_.prototype;is3.urlInstance=value2=>isObjectOfType("URL")(value2);is3.urlString=value2=>{if(!is3.string(value2))return !1;try{return new URL(value2),!0}catch{return !1}};is3.truthy=value2=>!!value2;is3.falsy=value2=>!value2;is3.nan=value2=>Number.isNaN(value2);is3.primitive=value2=>is3.null_(value2)||isPrimitiveTypeName(typeof value2);is3.integer=value2=>Number.isInteger(value2);is3.safeInteger=value2=>Number.isSafeInteger(value2);is3.plainObject=value2=>{if(typeof value2!="object"||value2===null)return !1;let prototype=Object.getPrototypeOf(value2);return (prototype===null||prototype===Object.prototype||Object.getPrototypeOf(prototype)===null)&&!(Symbol.toStringTag in value2)&&!(Symbol.iterator in value2)};is3.typedArray=value2=>isTypedArrayName(getObjectType(value2));var isValidLength=value2=>is3.safeInteger(value2)&&value2>=0;is3.arrayLike=value2=>!is3.nullOrUndefined(value2)&&!is3.function_(value2)&&isValidLength(value2.length);is3.inRange=(value2,range)=>{if(is3.number(range))return value2>=Math.min(0,range)&&value2<=Math.max(range,0);if(is3.array(range)&&range.length===2)return value2>=Math.min(...range)&&value2<=Math.max(...range);throw new TypeError(`Invalid range: ${JSON.stringify(range)}`)};var NODE_TYPE_ELEMENT=1,DOM_PROPERTIES_TO_CHECK=["innerHTML","ownerDocument","style","attributes","nodeValue"];is3.domElement=value2=>is3.object(value2)&&value2.nodeType===NODE_TYPE_ELEMENT&&is3.string(value2.nodeName)&&!is3.plainObject(value2)&&DOM_PROPERTIES_TO_CHECK.every(property=>property in value2);is3.observable=value2=>{var _a2,_b2;return value2?value2===((_a2=value2[Symbol.observable])==null?void 0:_a2.call(value2))||value2===((_b2=value2["@@observable"])==null?void 0:_b2.call(value2)):!1};is3.nodeStream=value2=>is3.object(value2)&&is3.function_(value2.pipe)&&!is3.observable(value2);is3.infinite=value2=>value2===Number.POSITIVE_INFINITY||value2===Number.NEGATIVE_INFINITY;var isAbsoluteMod2=remainder=>value2=>is3.integer(value2)&&Math.abs(value2%2)===remainder;is3.evenInteger=isAbsoluteMod2(0);is3.oddInteger=isAbsoluteMod2(1);is3.emptyArray=value2=>is3.array(value2)&&value2.length===0;is3.nonEmptyArray=value2=>is3.array(value2)&&value2.length>0;is3.emptyString=value2=>is3.string(value2)&&value2.length===0;var isWhiteSpaceString=value2=>is3.string(value2)&&!/\S/.test(value2);is3.emptyStringOrWhitespace=value2=>is3.emptyString(value2)||isWhiteSpaceString(value2);is3.nonEmptyString=value2=>is3.string(value2)&&value2.length>0;is3.nonEmptyStringAndNotWhitespace=value2=>is3.string(value2)&&!is3.emptyStringOrWhitespace(value2);is3.emptyObject=value2=>is3.object(value2)&&!is3.map(value2)&&!is3.set(value2)&&Object.keys(value2).length===0;is3.nonEmptyObject=value2=>is3.object(value2)&&!is3.map(value2)&&!is3.set(value2)&&Object.keys(value2).length>0;is3.emptySet=value2=>is3.set(value2)&&value2.size===0;is3.nonEmptySet=value2=>is3.set(value2)&&value2.size>0;is3.emptyMap=value2=>is3.map(value2)&&value2.size===0;is3.nonEmptyMap=value2=>is3.map(value2)&&value2.size>0;is3.propertyKey=value2=>is3.any([is3.string,is3.number,is3.symbol],value2);is3.formData=value2=>isObjectOfType("FormData")(value2);is3.urlSearchParams=value2=>isObjectOfType("URLSearchParams")(value2);var predicateOnArray=(method,predicate,values)=>{if(!is3.function_(predicate))throw new TypeError(`Invalid predicate: ${JSON.stringify(predicate)}`);if(values.length===0)throw new TypeError("Invalid number of values");return method.call(values,predicate)};is3.any=(predicate,...values)=>(is3.array(predicate)?predicate:[predicate]).some(singlePredicate=>predicateOnArray(Array.prototype.some,singlePredicate,values));is3.all=(predicate,...values)=>predicateOnArray(Array.prototype.every,predicate,values);var assertType=(condition,description,value2,options={})=>{if(!condition){let{multipleValues}=options,valuesMessage=multipleValues?`received values of types ${[...new Set(value2.map(singleValue=>`\`${is3(singleValue)}\``))].join(", ")}`:`received value of type \`${is3(value2)}\``;throw new TypeError(`Expected value which is \`${description}\`, ${valuesMessage}.`)}},assert={undefined:value2=>assertType(is3.undefined(value2),"undefined",value2),string:value2=>assertType(is3.string(value2),"string",value2),number:value2=>assertType(is3.number(value2),"number",value2),bigint:value2=>assertType(is3.bigint(value2),"bigint",value2),function_:value2=>assertType(is3.function_(value2),"Function",value2),null_:value2=>assertType(is3.null_(value2),"null",value2),class_:value2=>assertType(is3.class_(value2),"Class",value2),boolean:value2=>assertType(is3.boolean(value2),"boolean",value2),symbol:value2=>assertType(is3.symbol(value2),"symbol",value2),numericString:value2=>assertType(is3.numericString(value2),"string with a number",value2),array:(value2,assertion)=>{assertType(is3.array(value2),"Array",value2),assertion&&value2.forEach(assertion);},buffer:value2=>assertType(is3.buffer(value2),"Buffer",value2),blob:value2=>assertType(is3.blob(value2),"Blob",value2),nullOrUndefined:value2=>assertType(is3.nullOrUndefined(value2),"null or undefined",value2),object:value2=>assertType(is3.object(value2),"Object",value2),iterable:value2=>assertType(is3.iterable(value2),"Iterable",value2),asyncIterable:value2=>assertType(is3.asyncIterable(value2),"AsyncIterable",value2),generator:value2=>assertType(is3.generator(value2),"Generator",value2),asyncGenerator:value2=>assertType(is3.asyncGenerator(value2),"AsyncGenerator",value2),nativePromise:value2=>assertType(is3.nativePromise(value2),"native Promise",value2),promise:value2=>assertType(is3.promise(value2),"Promise",value2),generatorFunction:value2=>assertType(is3.generatorFunction(value2),"GeneratorFunction",value2),asyncGeneratorFunction:value2=>assertType(is3.asyncGeneratorFunction(value2),"AsyncGeneratorFunction",value2),asyncFunction:value2=>assertType(is3.asyncFunction(value2),"AsyncFunction",value2),boundFunction:value2=>assertType(is3.boundFunction(value2),"Function",value2),regExp:value2=>assertType(is3.regExp(value2),"RegExp",value2),date:value2=>assertType(is3.date(value2),"Date",value2),error:value2=>assertType(is3.error(value2),"Error",value2),map:value2=>assertType(is3.map(value2),"Map",value2),set:value2=>assertType(is3.set(value2),"Set",value2),weakMap:value2=>assertType(is3.weakMap(value2),"WeakMap",value2),weakSet:value2=>assertType(is3.weakSet(value2),"WeakSet",value2),weakRef:value2=>assertType(is3.weakRef(value2),"WeakRef",value2),int8Array:value2=>assertType(is3.int8Array(value2),"Int8Array",value2),uint8Array:value2=>assertType(is3.uint8Array(value2),"Uint8Array",value2),uint8ClampedArray:value2=>assertType(is3.uint8ClampedArray(value2),"Uint8ClampedArray",value2),int16Array:value2=>assertType(is3.int16Array(value2),"Int16Array",value2),uint16Array:value2=>assertType(is3.uint16Array(value2),"Uint16Array",value2),int32Array:value2=>assertType(is3.int32Array(value2),"Int32Array",value2),uint32Array:value2=>assertType(is3.uint32Array(value2),"Uint32Array",value2),float32Array:value2=>assertType(is3.float32Array(value2),"Float32Array",value2),float64Array:value2=>assertType(is3.float64Array(value2),"Float64Array",value2),bigInt64Array:value2=>assertType(is3.bigInt64Array(value2),"BigInt64Array",value2),bigUint64Array:value2=>assertType(is3.bigUint64Array(value2),"BigUint64Array",value2),arrayBuffer:value2=>assertType(is3.arrayBuffer(value2),"ArrayBuffer",value2),sharedArrayBuffer:value2=>assertType(is3.sharedArrayBuffer(value2),"SharedArrayBuffer",value2),dataView:value2=>assertType(is3.dataView(value2),"DataView",value2),enumCase:(value2,targetEnum)=>assertType(is3.enumCase(value2,targetEnum),"EnumCase",value2),urlInstance:value2=>assertType(is3.urlInstance(value2),"URL",value2),urlString:value2=>assertType(is3.urlString(value2),"string with a URL",value2),truthy:value2=>assertType(is3.truthy(value2),"truthy",value2),falsy:value2=>assertType(is3.falsy(value2),"falsy",value2),nan:value2=>assertType(is3.nan(value2),"NaN",value2),primitive:value2=>assertType(is3.primitive(value2),"primitive",value2),integer:value2=>assertType(is3.integer(value2),"integer",value2),safeInteger:value2=>assertType(is3.safeInteger(value2),"integer",value2),plainObject:value2=>assertType(is3.plainObject(value2),"plain object",value2),typedArray:value2=>assertType(is3.typedArray(value2),"TypedArray",value2),arrayLike:value2=>assertType(is3.arrayLike(value2),"array-like",value2),domElement:value2=>assertType(is3.domElement(value2),"HTMLElement",value2),observable:value2=>assertType(is3.observable(value2),"Observable",value2),nodeStream:value2=>assertType(is3.nodeStream(value2),"Node.js Stream",value2),infinite:value2=>assertType(is3.infinite(value2),"infinite number",value2),emptyArray:value2=>assertType(is3.emptyArray(value2),"empty array",value2),nonEmptyArray:value2=>assertType(is3.nonEmptyArray(value2),"non-empty array",value2),emptyString:value2=>assertType(is3.emptyString(value2),"empty string",value2),emptyStringOrWhitespace:value2=>assertType(is3.emptyStringOrWhitespace(value2),"empty string or whitespace",value2),nonEmptyString:value2=>assertType(is3.nonEmptyString(value2),"non-empty string",value2),nonEmptyStringAndNotWhitespace:value2=>assertType(is3.nonEmptyStringAndNotWhitespace(value2),"non-empty string and not whitespace",value2),emptyObject:value2=>assertType(is3.emptyObject(value2),"empty object",value2),nonEmptyObject:value2=>assertType(is3.nonEmptyObject(value2),"non-empty object",value2),emptySet:value2=>assertType(is3.emptySet(value2),"empty set",value2),nonEmptySet:value2=>assertType(is3.nonEmptySet(value2),"non-empty set",value2),emptyMap:value2=>assertType(is3.emptyMap(value2),"empty map",value2),nonEmptyMap:value2=>assertType(is3.nonEmptyMap(value2),"non-empty map",value2),propertyKey:value2=>assertType(is3.propertyKey(value2),"PropertyKey",value2),formData:value2=>assertType(is3.formData(value2),"FormData",value2),urlSearchParams:value2=>assertType(is3.urlSearchParams(value2),"URLSearchParams",value2),evenInteger:value2=>assertType(is3.evenInteger(value2),"even integer",value2),oddInteger:value2=>assertType(is3.oddInteger(value2),"odd integer",value2),directInstanceOf:(instance,class_)=>assertType(is3.directInstanceOf(instance,class_),"T",instance),inRange:(value2,range)=>assertType(is3.inRange(value2,range),"in range",value2),any:(predicate,...values)=>assertType(is3.any(predicate,...values),"predicate returns truthy for any value",values,{multipleValues:!0}),all:(predicate,...values)=>assertType(is3.all(predicate,...values),"predicate returns truthy for all values",values,{multipleValues:!0})};Object.defineProperties(is3,{class:{value:is3.class_},function:{value:is3.function_},null:{value:is3.null_}});Object.defineProperties(assert,{class:{value:assert.class_},function:{value:assert.function_},null:{value:assert.null_}});var dist_default=is3,CancelError=class extends Error{constructor(reason){super(reason||"Promise was canceled"),this.name="CancelError";}get isCanceled(){return !0}},PCancelable=class{static fn(userFunction){return (...arguments_)=>new PCancelable((resolve9,reject,onCancel)=>{arguments_.push(onCancel),userFunction(...arguments_).then(resolve9,reject);})}constructor(executor){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((resolve9,reject)=>{this._reject=reject;let onResolve=value2=>{(!this._isCanceled||!onCancel.shouldReject)&&(this._isPending=!1,resolve9(value2));},onReject=error2=>{this._isPending=!1,reject(error2);},onCancel=handler=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(handler);};Object.defineProperties(onCancel,{shouldReject:{get:()=>this._rejectOnCancel,set:boolean=>{this._rejectOnCancel=boolean;}}}),executor(onResolve,onReject,onCancel);});}then(onFulfilled,onRejected){return this._promise.then(onFulfilled,onRejected)}catch(onRejected){return this._promise.catch(onRejected)}finally(onFinally){return this._promise.finally(onFinally)}cancel(reason){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let handler of this._cancelHandlers)handler();}catch(error2){this._reject(error2);return}this._rejectOnCancel&&this._reject(new CancelError(reason));}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);function isRequest(x8){return dist_default.object(x8)&&"_onResponse"in x8}var RequestError=class extends Error{constructor(message,error2,self2){var _a2;if(super(message),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=error2.code??"ERR_GOT_REQUEST_ERROR",this.input=error2.input,isRequest(self2)?(Object.defineProperty(this,"request",{enumerable:!1,value:self2}),Object.defineProperty(this,"response",{enumerable:!1,value:self2.response}),this.options=self2.options):this.options=self2,this.timings=(_a2=this.request)==null?void 0:_a2.timings,dist_default.string(error2.stack)&&dist_default.string(this.stack)){let indexOfMessage=this.stack.indexOf(this.message)+this.message.length,thisStackTrace=this.stack.slice(indexOfMessage).split(`
2720
+ `),longestLength=Math.max(...alignedLinesArray.map(s10=>stringWidth(s10)));for(let alignedLine of alignedLinesArray){let paddedLine;switch(textAlignment){case"center":{paddedLine=PAD.repeat((max-longestLength)/2)+alignedLine;break}case"right":{paddedLine=PAD.repeat(max-longestLength)+alignedLine;break}default:{paddedLine=alignedLine;break}}newLines.push(paddedLine);}}lines=newLines;}textAlignment==="center"&&textWidth<max?lines=lines.map(line=>PAD.repeat((max-textWidth)/2)+line):textAlignment==="right"&&textWidth<max&&(lines=lines.map(line=>PAD.repeat(max-textWidth)+line));let paddingLeft=PAD.repeat(padding.left),paddingRight=PAD.repeat(padding.right);return lines=lines.map(line=>paddingLeft+line+paddingRight),lines=lines.map(line=>{if(width-stringWidth(line)>0)switch(textAlignment){case"center":return line+PAD.repeat(width-stringWidth(line));case"right":return line+PAD.repeat(width-stringWidth(line));default:return line+PAD.repeat(width-stringWidth(line))}return line}),padding.top>0&&(lines=[...Array.from({length:padding.top}).fill(PAD.repeat(width)),...lines]),padding.bottom>0&&(lines=[...lines,...Array.from({length:padding.bottom}).fill(PAD.repeat(width))]),height&&lines.length>height?lines=lines.slice(0,height):height&&lines.length<height&&(lines=[...lines,...Array.from({length:height-lines.length}).fill(PAD.repeat(width))]),lines.join(NEWLINE)},boxContent=(content,contentWidth,options)=>{let colorizeBorder=border=>{let newBorder=options.borderColor?getColorFn(options.borderColor)(border):border;return options.dimBorder?source_default.dim(newBorder):newBorder},colorizeContent=content2=>options.backgroundColor?getBGColorFn(options.backgroundColor)(content2):content2,chars=getBorderChars(options.borderStyle),columns=terminalColumns(),marginLeft=PAD.repeat(options.margin.left);if(options.float==="center"){let marginWidth=Math.max((columns-contentWidth-getBorderWidth(options.borderStyle))/2,0);marginLeft=PAD.repeat(marginWidth);}else if(options.float==="right"){let marginWidth=Math.max(columns-contentWidth-options.margin.right-getBorderWidth(options.borderStyle),0);marginLeft=PAD.repeat(marginWidth);}let result="";options.margin.top&&(result+=NEWLINE.repeat(options.margin.top)),(options.borderStyle!==NONE||options.title)&&(result+=colorizeBorder(marginLeft+chars.topLeft+(options.title?makeTitle(options.title,chars.top.repeat(contentWidth),options.titleAlignment):chars.top.repeat(contentWidth))+chars.topRight)+NEWLINE);let lines=content.split(NEWLINE);return result+=lines.map(line=>marginLeft+colorizeBorder(chars.left)+colorizeContent(line)+colorizeBorder(chars.right)).join(NEWLINE),options.borderStyle!==NONE&&(result+=NEWLINE+colorizeBorder(marginLeft+chars.bottomLeft+chars.bottom.repeat(contentWidth)+chars.bottomRight)),options.margin.bottom&&(result+=NEWLINE.repeat(options.margin.bottom)),result},sanitizeOptions=options=>{if(options.fullscreen&&Q?.stdout){let newDimensions=[Q.stdout.columns,Q.stdout.rows];typeof options.fullscreen=="function"&&(newDimensions=options.fullscreen(...newDimensions)),options.width||(options.width=newDimensions[0]),options.height||(options.height=newDimensions[1]);}return options.width&&(options.width=Math.max(1,options.width-getBorderWidth(options.borderStyle))),options.height&&(options.height=Math.max(1,options.height-getBorderWidth(options.borderStyle))),options},formatTitle=(title,borderStyle)=>borderStyle===NONE?title:` ${title} `,determineDimensions=(text,options)=>{options=sanitizeOptions(options);let widthOverride=options.width!==void 0,columns=terminalColumns(),borderWidth=getBorderWidth(options.borderStyle),maxWidth=columns-options.margin.left-options.margin.right-borderWidth,widest=widestLine(wrapAnsi(text,columns-borderWidth,{hard:!0,trim:!1}))+options.padding.left+options.padding.right;if(options.title&&widthOverride?(options.title=options.title.slice(0,Math.max(0,options.width-2)),options.title&&(options.title=formatTitle(options.title,options.borderStyle))):options.title&&(options.title=options.title.slice(0,Math.max(0,maxWidth-2)),options.title&&(options.title=formatTitle(options.title,options.borderStyle),stringWidth(options.title)>widest&&(options.width=stringWidth(options.title)))),options.width=options.width?options.width:widest,!widthOverride){if(options.margin.left&&options.margin.right&&options.width>maxWidth){let multiplier=(columns-options.width-borderWidth)/(options.margin.left+options.margin.right);options.margin.left=Math.max(0,Math.floor(options.margin.left*multiplier)),options.margin.right=Math.max(0,Math.floor(options.margin.right*multiplier));}options.width=Math.min(options.width,columns-borderWidth-options.margin.left-options.margin.right);}return options.width-(options.padding.left+options.padding.right)<=0&&(options.padding.left=0,options.padding.right=0),options.height&&options.height-(options.padding.top+options.padding.bottom)<=0&&(options.padding.top=0,options.padding.bottom=0),options},isHex=color=>color.match(/^#(?:[0-f]{3}){1,2}$/i),isColorValid=color=>typeof color=="string"&&(source_default[color]??isHex(color)),getColorFn=color=>isHex(color)?source_default.hex(color):source_default[color],getBGColorFn=color=>isHex(color)?source_default.bgHex(color):source_default[camelCase(["bg",color])];function boxen(text,options){if(options={padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left",...options},options.align&&(options.textAlignment=options.align),options.borderColor&&!isColorValid(options.borderColor))throw new Error(`${options.borderColor} is not a valid borderColor`);if(options.backgroundColor&&!isColorValid(options.backgroundColor))throw new Error(`${options.backgroundColor} is not a valid backgroundColor`);return options.padding=getObject(options.padding),options.margin=getObject(options.margin),options=determineDimensions(text,options),text=makeContentText(text,options),boxContent(text,options.width,options)}var import_picocolors8=__toESM(require_picocolors(),1);function getProcessInfo(pid){try{let output=execSync(`ps -p ${pid} -o pid=,ppid=,command=`,{encoding:"utf8",timeout:5e3}).trim();if(!output)return null;let[pidStr,ppidStr,...commandParts]=output.split(/\s+/),parsedPid=pidStr?parseInt(pidStr,10):NaN,parsedPpid=ppidStr?parseInt(ppidStr,10):NaN;return isNaN(parsedPid)||isNaN(parsedPpid)?null:{pid:parsedPid,ppid:parsedPpid,command:commandParts.join(" ")||void 0}}catch(error2){return error2 instanceof Error&&error2.message.includes("timeout")&&console.warn(`Process lookup timed out for PID ${pid}`),null}}function getAncestryUnix(startPid){let result=[],visited=new Set,currentPid=startPid,maxDepth=1e3;for(;currentPid&&maxDepth>0;){if(visited.has(currentPid)){console.warn(`Detected cycle in process tree at PID ${currentPid}`);break}visited.add(currentPid);let info2=getProcessInfo(currentPid);if(!info2||info2.ppid===0||info2.ppid===1)break;result.push(info2),currentPid=info2.ppid,maxDepth--;}return maxDepth===0&&console.warn(`Reached maximum depth limit while traversing process tree from PID ${startPid}`),result}function getProcessInfo2(pid){try{let output=execSync(`wmic process where (ProcessId=${pid}) get ProcessId,ParentProcessId,CommandLine /format:csv`,{encoding:"utf8",timeout:1e4});if(!output)return null;let fields=output.split(`
2721
+ `).filter(line=>line.trim()&&!line.startsWith("Node")).pop()?.split(",");if(!fields||fields.length<4)return null;let[_node,commandLine,parentPid,thisPid]=fields,parsedPid=thisPid?parseInt(thisPid.trim(),10):NaN,parsedPpid=parentPid?parseInt(parentPid.trim(),10):NaN;return isNaN(parsedPid)||isNaN(parsedPpid)?null:{pid:parsedPid,ppid:parsedPpid,command:commandLine?.trim()||void 0}}catch(error2){return error2 instanceof Error&&error2.message.includes("timeout")&&console.warn(`Process lookup timed out for PID ${pid}`),null}}function getAncestryWindows(startPid){let result=[],visited=new Set,currentPid=startPid,maxDepth=1e3;for(;currentPid&&maxDepth>0;){if(visited.has(currentPid)){console.warn(`Detected cycle in process tree at PID ${currentPid}`);break}visited.add(currentPid);let info2=getProcessInfo2(currentPid);if(!info2||info2.ppid===0||info2.ppid===4)break;result.push(info2),currentPid=info2.ppid,maxDepth--;}return maxDepth===0&&console.warn(`Reached maximum depth limit while traversing process tree from PID ${startPid}`),result}function getProcessAncestry(pid=process.pid){if(typeof pid!="number"||!Number.isInteger(pid)||pid<=0)throw new Error("PID must be a positive integer");return os7.platform()==="win32"?getAncestryWindows(pid):getAncestryUnix(pid)}var import_prompts7=__toESM(require_prompts3(),1);var babel_exports={};__export(babel_exports,{BabelFileClass:()=>BabelFileClass,babelParse:()=>babelParse,babelParseExpression:()=>babelParseExpression,babelPrint:()=>babelPrint,core:()=>core,generate:()=>generate,parser:()=>parser2,parserOptions:()=>parserOptions,recast:()=>recast2,transformSync:()=>import_core2.transformSync,traverse:()=>traverse,types:()=>types2});var import_core2=__toESM(require_lib28(),1),core=__toESM(require_lib28(),1),import_core3=__toESM(require_lib28(),1),import_generator=__toESM(require_lib10(),1),parser2=__toESM(require_lib6(),1),import_traverse=__toESM(require_lib11(),1),types2=__toESM(require_lib5(),1),recast2=__toESM(require_main2(),1);var parser=__toESM(require_lib6(),1),recast=__toESM(require_main2(),1);function parseWithFlowOrTypescript(source,parserOptions2){let parserPlugins=/^\s*\/\/\s*@flow/.test(source)?["flow"]:["typescript"],mergedParserOptions={...parserOptions2,plugins:[...parserOptions2.plugins??[],...parserPlugins]};return parser.parse(source,mergedParserOptions)}var parserOptions={sourceType:"module",plugins:["jsx","decorators-legacy","classProperties"],tokens:!0},babelParse=code=>recast.parse(code,{parser:{parse(source){return parseWithFlowOrTypescript(source,parserOptions)}}}),babelPrint=ast=>recast.print(ast,{quote:"single",trailingComma:!0,tabWidth:2,wrapColumn:80,arrowParensAlways:!0}).code,babelParseExpression=code=>parser.parseExpression(code,parserOptions);var traverse=import_traverse.default.default||import_traverse.default,generate=import_generator.default.default||import_generator.default,BabelFileClass=import_core3.File;var import_prompts=__toESM(require_prompts3(),1);var import_pump=__toESM(require_pump(),1),import_tar_fs=__toESM(require_tar_fs(),1),import_gunzip_maybe=__toESM(require_gunzip_maybe(),1);var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require2=(x8=>typeof __require<"u"?__require:typeof Proxy<"u"?new Proxy(x8,{get:(a5,b8)=>(typeof __require<"u"?__require:a5)[b8]}):x8)(function(x8){if(typeof __require<"u")return __require.apply(this,arguments);throw new Error('Dynamic require of "'+x8+'" is not supported')}),__commonJS2=(cb3,mod)=>function(){return mod||(0, cb3[__getOwnPropNames(cb3)[0]])((mod={exports:{}}).exports,mod),mod.exports},__copyProps=(to6,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to6,key)&&key!==except&&__defProp(to6,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to6},__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),require_source=__commonJS2({"node_modules/.pnpm/defer-to-connect@2.0.1/node_modules/defer-to-connect/dist/source/index.js"(exports,module2){Object.defineProperty(exports,"__esModule",{value:!0});function isTLSSocket(socket){return socket.encrypted}var deferToConnect2=(socket,fn5)=>{let listeners;typeof fn5=="function"?listeners={connect:fn5}:listeners=fn5;let hasConnectListener=typeof listeners.connect=="function",hasSecureConnectListener=typeof listeners.secureConnect=="function",hasCloseListener=typeof listeners.close=="function",onConnect=()=>{hasConnectListener&&listeners.connect(),isTLSSocket(socket)&&hasSecureConnectListener&&(socket.authorized?listeners.secureConnect():socket.authorizationError||socket.once("secureConnect",listeners.secureConnect)),hasCloseListener&&socket.once("close",listeners.close);};socket.writable&&!socket.connecting?onConnect():socket.connecting?socket.once("connect",onConnect):socket.destroyed&&hasCloseListener&&listeners.close(socket._hadError);};exports.default=deferToConnect2,module2.exports=deferToConnect2,module2.exports.default=deferToConnect2;}}),require_buffer_stream=__commonJS2({"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports,module2){var{PassThrough:PassThroughStream2}=__require2("stream");module2.exports=options=>{options={...options};let{array}=options,{encoding}=options,isBuffer=encoding==="buffer",objectMode=!1;array?objectMode=!(encoding||isBuffer):encoding=encoding||"utf8",isBuffer&&(encoding=null);let stream22=new PassThroughStream2({objectMode});encoding&&stream22.setEncoding(encoding);let length=0,chunks=[];return stream22.on("data",chunk=>{chunks.push(chunk),objectMode?length=chunks.length:length+=chunk.length;}),stream22.getBufferedValue=()=>array?chunks:isBuffer?Buffer.concat(chunks,length):chunks.join(""),stream22.getBufferedLength=()=>length,stream22};}}),require_get_stream=__commonJS2({"node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports,module2){var{constants:BufferConstants}=__require2("buffer"),stream22=__require2("stream"),{promisify:promisify4}=__require2("util"),bufferStream=require_buffer_stream(),streamPipelinePromisified=promisify4(stream22.pipeline),MaxBufferError2=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}};async function getStream2(inputStream,options){if(!inputStream)throw new Error("Expected a stream");options={maxBuffer:1/0,...options};let{maxBuffer}=options,stream3=bufferStream(options);return await new Promise((resolve9,reject)=>{let rejectPromise=error2=>{error2&&stream3.getBufferedLength()<=BufferConstants.MAX_LENGTH&&(error2.bufferedData=stream3.getBufferedValue()),reject(error2);};(async()=>{try{await streamPipelinePromisified(inputStream,stream3),resolve9();}catch(error2){rejectPromise(error2);}})(),stream3.on("data",()=>{stream3.getBufferedLength()>maxBuffer&&rejectPromise(new MaxBufferError2);});}),stream3.getBufferedValue()}module2.exports=getStream2,module2.exports.buffer=(stream3,options)=>getStream2(stream3,{...options,encoding:"buffer"}),module2.exports.array=(stream3,options)=>getStream2(stream3,{...options,array:!0}),module2.exports.MaxBufferError=MaxBufferError2;}}),require_http_cache_semantics=__commonJS2({"node_modules/.pnpm/http-cache-semantics@4.1.1/node_modules/http-cache-semantics/index.js"(exports,module2){var statusCodeCacheableByDefault=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),understoodStatuses=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),errorStatusCodes=new Set([500,502,503,504]),hopByHopHeaders={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},excludedFromRevalidationUpdate={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function toNumberOrZero(s10){let n10=parseInt(s10,10);return isFinite(n10)?n10:0}function isErrorResponse(response){return response?errorStatusCodes.has(response.status):!0}function parseCacheControl(header){let cc2={};if(!header)return cc2;let parts=header.trim().split(/,/);for(let part of parts){let[k13,v12]=part.split(/=/,2);cc2[k13.trim()]=v12===void 0?!0:v12.trim().replace(/^"|"$/g,"");}return cc2}function formatCacheControl(cc2){let parts=[];for(let k13 in cc2){let v12=cc2[k13];parts.push(v12===!0?k13:k13+"="+v12);}if(parts.length)return parts.join(", ")}module2.exports=class{constructor(req,res,{shared,cacheHeuristic,immutableMinTimeToLive,ignoreCargoCult,_fromObject}={}){if(_fromObject){this._fromObject(_fromObject);return}if(!res||!res.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(req),this._responseTime=this.now(),this._isShared=shared!==!1,this._cacheHeuristic=cacheHeuristic!==void 0?cacheHeuristic:.1,this._immutableMinTtl=immutableMinTimeToLive!==void 0?immutableMinTimeToLive:24*3600*1e3,this._status="status"in res?res.status:200,this._resHeaders=res.headers,this._rescc=parseCacheControl(res.headers["cache-control"]),this._method="method"in req?req.method:"GET",this._url=req.url,this._host=req.headers.host,this._noAuthorization=!req.headers.authorization,this._reqHeaders=res.headers.vary?req.headers:null,this._reqcc=parseCacheControl(req.headers["cache-control"]),ignoreCargoCult&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),res.headers["cache-control"]==null&&/no-cache/.test(res.headers.pragma)&&(this._rescc["no-cache"]=!0);}now(){return Date.now()}storable(){return !!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&understoodStatuses.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||statusCodeCacheableByDefault.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(req){if(!req||!req.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(req){this._assertRequestHasHeaders(req);let requestCC=parseCacheControl(req.headers["cache-control"]);return requestCC["no-cache"]||/no-cache/.test(req.headers.pragma)||requestCC["max-age"]&&this.age()>requestCC["max-age"]||requestCC["min-fresh"]&&this.timeToLive()<1e3*requestCC["min-fresh"]||this.stale()&&!(requestCC["max-stale"]&&!this._rescc["must-revalidate"]&&(requestCC["max-stale"]===!0||requestCC["max-stale"]>this.age()-this.maxAge()))?!1:this._requestMatches(req,!1)}_requestMatches(req,allowHeadMethod){return (!this._url||this._url===req.url)&&this._host===req.headers.host&&(!req.method||this._method===req.method||allowHeadMethod&&req.method==="HEAD")&&this._varyMatches(req)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(req){if(!this._resHeaders.vary)return !0;if(this._resHeaders.vary==="*")return !1;let fields=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(let name of fields)if(req.headers[name]!==this._reqHeaders[name])return !1;return !0}_copyWithoutHopByHopHeaders(inHeaders){let headers={};for(let name in inHeaders)hopByHopHeaders[name]||(headers[name]=inHeaders[name]);if(inHeaders.connection){let tokens=inHeaders.connection.trim().split(/\s*,\s*/);for(let name of tokens)delete headers[name];}if(headers.warning){let warnings=headers.warning.split(/,/).filter(warning=>!/^\s*1[0-9][0-9]/.test(warning));warnings.length?headers.warning=warnings.join(",").trim():delete headers.warning;}return headers}responseHeaders(){let headers=this._copyWithoutHopByHopHeaders(this._resHeaders),age=this.age();return age>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(headers.warning=(headers.warning?`${headers.warning}, `:"")+'113 - "rfc7234 5.5.4"'),headers.age=`${Math.round(age)}`,headers.date=new Date(this.now()).toUTCString(),headers}date(){let serverDate=Date.parse(this._resHeaders.date);return isFinite(serverDate)?serverDate:this._responseTime}age(){let age=this._ageValue(),residentTime=(this.now()-this._responseTime)/1e3;return age+residentTime}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return toNumberOrZero(this._rescc["s-maxage"])}if(this._rescc["max-age"])return toNumberOrZero(this._rescc["max-age"]);let defaultMinTtl=this._rescc.immutable?this._immutableMinTtl:0,serverDate=this.date();if(this._resHeaders.expires){let expires=Date.parse(this._resHeaders.expires);return Number.isNaN(expires)||expires<serverDate?0:Math.max(defaultMinTtl,(expires-serverDate)/1e3)}if(this._resHeaders["last-modified"]){let lastModified=Date.parse(this._resHeaders["last-modified"]);if(isFinite(lastModified)&&serverDate>lastModified)return Math.max(defaultMinTtl,(serverDate-lastModified)/1e3*this._cacheHeuristic)}return defaultMinTtl}timeToLive(){let age=this.maxAge()-this.age(),staleIfErrorAge=age+toNumberOrZero(this._rescc["stale-if-error"]),staleWhileRevalidateAge=age+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.max(0,age,staleIfErrorAge,staleWhileRevalidateAge)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+toNumberOrZero(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(obj){return new this(void 0,void 0,{_fromObject:obj})}_fromObject(obj){if(this._responseTime)throw Error("Reinitialized");if(!obj||obj.v!==1)throw Error("Invalid serialization");this._responseTime=obj.t,this._isShared=obj.sh,this._cacheHeuristic=obj.ch,this._immutableMinTtl=obj.imm!==void 0?obj.imm:24*3600*1e3,this._status=obj.st,this._resHeaders=obj.resh,this._rescc=obj.rescc,this._method=obj.m,this._url=obj.u,this._host=obj.h,this._noAuthorization=obj.a,this._reqHeaders=obj.reqh,this._reqcc=obj.reqcc;}toObject(){return {v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(incomingReq){this._assertRequestHasHeaders(incomingReq);let headers=this._copyWithoutHopByHopHeaders(incomingReq.headers);if(delete headers["if-range"],!this._requestMatches(incomingReq,!0)||!this.storable())return delete headers["if-none-match"],delete headers["if-modified-since"],headers;if(this._resHeaders.etag&&(headers["if-none-match"]=headers["if-none-match"]?`${headers["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),headers["accept-ranges"]||headers["if-match"]||headers["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete headers["if-modified-since"],headers["if-none-match"]){let etags=headers["if-none-match"].split(/,/).filter(etag=>!/^\s*W\//.test(etag));etags.length?headers["if-none-match"]=etags.join(",").trim():delete headers["if-none-match"];}}else this._resHeaders["last-modified"]&&!headers["if-modified-since"]&&(headers["if-modified-since"]=this._resHeaders["last-modified"]);return headers}revalidatedPolicy(request,response){if(this._assertRequestHasHeaders(request),this._useStaleIfError()&&isErrorResponse(response))return {modified:!1,matches:!1,policy:this};if(!response||!response.headers)throw Error("Response headers missing");let matches=!1;if(response.status!==void 0&&response.status!=304?matches=!1:response.headers.etag&&!/^\s*W\//.test(response.headers.etag)?matches=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===response.headers.etag:this._resHeaders.etag&&response.headers.etag?matches=this._resHeaders.etag.replace(/^\s*W\//,"")===response.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?matches=this._resHeaders["last-modified"]===response.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!response.headers.etag&&!response.headers["last-modified"]&&(matches=!0),!matches)return {policy:new this.constructor(request,response),modified:response.status!=304,matches:!1};let headers={};for(let k13 in this._resHeaders)headers[k13]=k13 in response.headers&&!excludedFromRevalidationUpdate[k13]?response.headers[k13]:this._resHeaders[k13];let newResponse=Object.assign({},response,{status:this._status,method:this._method,headers});return {policy:new this.constructor(request,newResponse,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:!1,matches:!0}}};}}),require_json_buffer=__commonJS2({"node_modules/.pnpm/json-buffer@3.0.1/node_modules/json-buffer/index.js"(exports){exports.stringify=function stringify(o10){if(typeof o10>"u")return o10;if(o10&&Buffer.isBuffer(o10))return JSON.stringify(":base64:"+o10.toString("base64"));if(o10&&o10.toJSON&&(o10=o10.toJSON()),o10&&typeof o10=="object"){var s10="",array=Array.isArray(o10);s10=array?"[":"{";var first=!0;for(var k13 in o10){var ignore=typeof o10[k13]=="function"||!array&&typeof o10[k13]>"u";Object.hasOwnProperty.call(o10,k13)&&!ignore&&(first||(s10+=","),first=!1,array?o10[k13]==null?s10+="null":s10+=stringify(o10[k13]):o10[k13]!==void 0&&(s10+=stringify(k13)+":"+stringify(o10[k13])));}return s10+=array?"]":"}",s10}else return typeof o10=="string"?JSON.stringify(/^:/.test(o10)?":"+o10:o10):typeof o10>"u"?"null":JSON.stringify(o10)},exports.parse=function(s10){return JSON.parse(s10,function(key,value2){return typeof value2=="string"?/^:base64:/.test(value2)?Buffer.from(value2.substring(8),"base64"):/^:/.test(value2)?value2.substring(1):value2:value2})};}}),require_src2=__commonJS2({"node_modules/.pnpm/keyv@4.5.2/node_modules/keyv/src/index.js"(exports,module2){var EventEmitter32=__require2("events"),JSONB=require_json_buffer(),loadStore=options=>{let adapters={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(options.adapter||options.uri){let adapter=options.adapter||/^[^:+]*/.exec(options.uri)[0];return new(__require2(adapters[adapter]))(options)}return new Map},iterableAdapters=["sqlite","postgres","mysql","mongo","redis","tiered"],Keyv2=class extends EventEmitter32{constructor(uri,{emitErrors=!0,...options}={}){if(super(),this.opts={namespace:"keyv",serialize:JSONB.stringify,deserialize:JSONB.parse,...typeof uri=="string"?{uri}:uri,...options},!this.opts.store){let adapterOptions={...this.opts};this.opts.store=loadStore(adapterOptions);}if(this.opts.compression){let compression=this.opts.compression;this.opts.serialize=compression.serialize.bind(compression),this.opts.deserialize=compression.deserialize.bind(compression);}typeof this.opts.store.on=="function"&&emitErrors&&this.opts.store.on("error",error2=>this.emit("error",error2)),this.opts.store.namespace=this.opts.namespace;let generateIterator=iterator=>async function*(){for await(let[key,raw]of typeof iterator=="function"?iterator(this.opts.store.namespace):iterator){let data=this.opts.deserialize(raw);if(!(this.opts.store.namespace&&!key.includes(this.opts.store.namespace))){if(typeof data.expires=="number"&&Date.now()>data.expires){this.delete(key);continue}yield [this._getKeyUnprefix(key),data.value];}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=generateIterator(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=generateIterator(this.opts.store.iterator.bind(this.opts.store)));}_checkIterableAdaptar(){return iterableAdapters.includes(this.opts.store.opts.dialect)||iterableAdapters.findIndex(element=>this.opts.store.opts.url.includes(element))>=0}_getKeyPrefix(key){return `${this.opts.namespace}:${key}`}_getKeyPrefixArray(keys){return keys.map(key=>`${this.opts.namespace}:${key}`)}_getKeyUnprefix(key){return key.split(":").splice(1).join(":")}get(key,options){let{store}=this.opts,isArray=Array.isArray(key),keyPrefixed=isArray?this._getKeyPrefixArray(key):this._getKeyPrefix(key);if(isArray&&store.getMany===void 0){let promises=[];for(let key2 of keyPrefixed)promises.push(Promise.resolve().then(()=>store.get(key2)).then(data=>typeof data=="string"?this.opts.deserialize(data):this.opts.compression?this.opts.deserialize(data):data).then(data=>{if(data!=null)return typeof data.expires=="number"&&Date.now()>data.expires?this.delete(key2).then(()=>{}):options&&options.raw?data:data.value}));return Promise.allSettled(promises).then(values=>{let data=[];for(let value2 of values)data.push(value2.value);return data})}return Promise.resolve().then(()=>isArray?store.getMany(keyPrefixed):store.get(keyPrefixed)).then(data=>typeof data=="string"?this.opts.deserialize(data):this.opts.compression?this.opts.deserialize(data):data).then(data=>{if(data!=null){if(isArray){let result=[];for(let row of data){if(typeof row=="string"&&(row=this.opts.deserialize(row)),row==null){result.push(void 0);continue}typeof row.expires=="number"&&Date.now()>row.expires?(this.delete(key).then(()=>{}),result.push(void 0)):result.push(options&&options.raw?row:row.value);}return result}return typeof data.expires=="number"&&Date.now()>data.expires?this.delete(key).then(()=>{}):options&&options.raw?data:data.value}})}set(key,value2,ttl2){let keyPrefixed=this._getKeyPrefix(key);typeof ttl2>"u"&&(ttl2=this.opts.ttl),ttl2===0&&(ttl2=void 0);let{store}=this.opts;return Promise.resolve().then(()=>{let expires=typeof ttl2=="number"?Date.now()+ttl2:null;return typeof value2=="symbol"&&this.emit("error","symbol cannot be serialized"),value2={value:value2,expires},this.opts.serialize(value2)}).then(value22=>store.set(keyPrefixed,value22,ttl2)).then(()=>!0)}delete(key){let{store}=this.opts;if(Array.isArray(key)){let keyPrefixed2=this._getKeyPrefixArray(key);if(store.deleteMany===void 0){let promises=[];for(let key2 of keyPrefixed2)promises.push(store.delete(key2));return Promise.allSettled(promises).then(values=>values.every(x8=>x8.value===!0))}return Promise.resolve().then(()=>store.deleteMany(keyPrefixed2))}let keyPrefixed=this._getKeyPrefix(key);return Promise.resolve().then(()=>store.delete(keyPrefixed))}clear(){let{store}=this.opts;return Promise.resolve().then(()=>store.clear())}has(key){let keyPrefixed=this._getKeyPrefix(key),{store}=this.opts;return Promise.resolve().then(async()=>typeof store.has=="function"?store.has(keyPrefixed):await store.get(keyPrefixed)!==void 0)}disconnect(){let{store}=this.opts;if(typeof store.disconnect=="function")return store.disconnect()}};module2.exports=Keyv2;}}),require_mimic_response=__commonJS2({"node_modules/.pnpm/mimic-response@3.1.0/node_modules/mimic-response/index.js"(exports,module2){var knownProperties2=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];module2.exports=(fromStream,toStream)=>{if(toStream._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let fromProperties=new Set(Object.keys(fromStream).concat(knownProperties2)),properties={};for(let property of fromProperties)property in toStream||(properties[property]={get(){let value2=fromStream[property];return typeof value2=="function"?value2.bind(fromStream):value2},set(value2){fromStream[property]=value2;},enumerable:!0,configurable:!1});return Object.defineProperties(toStream,properties),fromStream.once("aborted",()=>{toStream.destroy(),toStream.emit("aborted");}),fromStream.once("close",()=>{fromStream.complete&&toStream.readable?toStream.once("end",()=>{toStream.emit("close");}):toStream.emit("close");}),toStream};}}),require_decompress_response=__commonJS2({"node_modules/.pnpm/decompress-response@6.0.0/node_modules/decompress-response/index.js"(exports,module2){var{Transform,PassThrough}=__require2("stream"),zlib=__require2("zlib"),mimicResponse2=require_mimic_response();module2.exports=response=>{let contentEncoding=(response.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(contentEncoding))return response;let isBrotli=contentEncoding==="br";if(isBrotli&&typeof zlib.createBrotliDecompress!="function")return response.destroy(new Error("Brotli is not supported on Node.js < 12")),response;let isEmpty=!0,checker=new Transform({transform(data,_encoding,callback){isEmpty=!1,callback(null,data);},flush(callback){callback();}}),finalStream=new PassThrough({autoDestroy:!1,destroy(error2,callback){response.destroy(),callback(error2);}}),decompressStream=isBrotli?zlib.createBrotliDecompress():zlib.createUnzip();return decompressStream.once("error",error2=>{if(isEmpty&&!response.readable){finalStream.end();return}finalStream.destroy(error2);}),mimicResponse2(response,finalStream),response.pipe(checker).pipe(decompressStream).pipe(finalStream),finalStream};}}),require_quick_lru=__commonJS2({"node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.js"(exports,module2){var QuickLRU=class{constructor(options={}){if(!(options.maxSize&&options.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=options.maxSize,this.onEviction=options.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0;}_set(key,value2){if(this.cache.set(key,value2),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(let[key2,value22]of this.oldCache.entries())this.onEviction(key2,value22);this.oldCache=this.cache,this.cache=new Map;}}get(key){if(this.cache.has(key))return this.cache.get(key);if(this.oldCache.has(key)){let value2=this.oldCache.get(key);return this.oldCache.delete(key),this._set(key,value2),value2}}set(key,value2){return this.cache.has(key)?this.cache.set(key,value2):this._set(key,value2),this}has(key){return this.cache.has(key)||this.oldCache.has(key)}peek(key){if(this.cache.has(key))return this.cache.get(key);if(this.oldCache.has(key))return this.oldCache.get(key)}delete(key){let deleted=this.cache.delete(key);return deleted&&this._size--,this.oldCache.delete(key)||deleted}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0;}*keys(){for(let[key]of this)yield key;}*values(){for(let[,value2]of this)yield value2;}*[Symbol.iterator](){for(let item of this.cache)yield item;for(let item of this.oldCache){let[key]=item;this.cache.has(key)||(yield item);}}get size(){let oldCacheSize=0;for(let key of this.oldCache.keys())this.cache.has(key)||oldCacheSize++;return Math.min(this._size+oldCacheSize,this.maxSize)}};module2.exports=QuickLRU;}}),require_delay_async_destroy=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/delay-async-destroy.js"(exports,module2){module2.exports=stream22=>{if(stream22.listenerCount("error")!==0)return stream22;stream22.__destroy=stream22._destroy,stream22._destroy=(...args)=>{let callback=args.pop();stream22.__destroy(...args,async error2=>{await Promise.resolve(),callback(error2);});};let onError=error2=>{Promise.resolve().then(()=>{stream22.emit("error",error2);});};return stream22.once("error",onError),Promise.resolve().then(()=>{stream22.off("error",onError);}),stream22};}}),require_agent=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/agent.js"(exports,module2){var{URL:URL4}=__require2("url"),EventEmitter32=__require2("events"),tls=__require2("tls"),http22=__require2("http2"),QuickLRU=require_quick_lru(),delayAsyncDestroy=require_delay_async_destroy(),kCurrentStreamCount=Symbol("currentStreamCount"),kRequest=Symbol("request"),kOriginSet=Symbol("cachedOriginSet"),kGracefullyClosing=Symbol("gracefullyClosing"),kLength=Symbol("length"),nameKeys=["createConnection","maxDeflateDynamicTableSize","maxSettings","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","peerMaxConcurrentStreams","settings","family","localAddress","rejectUnauthorized","pskCallback","minDHSize","path","socket","ca","cert","sigalgs","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","honorCipherOrder","key","privateKeyEngine","privateKeyIdentifier","maxVersion","minVersion","pfx","secureOptions","secureProtocol","sessionIdContext","ticketKeys"],getSortedIndex=(array,value2,compare)=>{let low=0,high=array.length;for(;low<high;){let mid=low+high>>>1;compare(array[mid],value2)?low=mid+1:high=mid;}return low},compareSessions=(a5,b8)=>a5.remoteSettings.maxConcurrentStreams>b8.remoteSettings.maxConcurrentStreams,closeCoveredSessions=(where,session)=>{for(let index=0;index<where.length;index++){let coveredSession=where[index];coveredSession[kOriginSet].length>0&&coveredSession[kOriginSet].length<session[kOriginSet].length&&coveredSession[kOriginSet].every(origin=>session[kOriginSet].includes(origin))&&coveredSession[kCurrentStreamCount]+session[kCurrentStreamCount]<=session.remoteSettings.maxConcurrentStreams&&gracefullyClose(coveredSession);}},closeSessionIfCovered=(where,coveredSession)=>{for(let index=0;index<where.length;index++){let session=where[index];if(coveredSession[kOriginSet].length>0&&coveredSession[kOriginSet].length<session[kOriginSet].length&&coveredSession[kOriginSet].every(origin=>session[kOriginSet].includes(origin))&&coveredSession[kCurrentStreamCount]+session[kCurrentStreamCount]<=session.remoteSettings.maxConcurrentStreams)return gracefullyClose(coveredSession),!0}return !1},gracefullyClose=session=>{session[kGracefullyClosing]=!0,session[kCurrentStreamCount]===0&&session.close();},Agent=class extends EventEmitter32{constructor({timeout=0,maxSessions=Number.POSITIVE_INFINITY,maxEmptySessions=10,maxCachedTlsSessions=100}={}){super(),this.sessions={},this.queue={},this.timeout=timeout,this.maxSessions=maxSessions,this.maxEmptySessions=maxEmptySessions,this._emptySessionCount=0,this._sessionCount=0,this.settings={enablePush:!1,initialWindowSize:1024*1024*32},this.tlsSessionCache=new QuickLRU({maxSize:maxCachedTlsSessions});}get protocol(){return "https:"}normalizeOptions(options){let normalized="";for(let index=0;index<nameKeys.length;index++){let key=nameKeys[index];normalized+=":",options&&options[key]!==void 0&&(normalized+=options[key]);}return normalized}_processQueue(){if(this._sessionCount>=this.maxSessions){this.closeEmptySessions(this.maxSessions-this._sessionCount+1);return}for(let normalizedOptions in this.queue)for(let normalizedOrigin in this.queue[normalizedOptions]){let item=this.queue[normalizedOptions][normalizedOrigin];item.completed||(item.completed=!0,item());}}_isBetterSession(thisStreamCount,thatStreamCount){return thisStreamCount>thatStreamCount}_accept(session,listeners,normalizedOrigin,options){let index=0;for(;index<listeners.length&&session[kCurrentStreamCount]<session.remoteSettings.maxConcurrentStreams;)listeners[index].resolve(session),index++;listeners.splice(0,index),listeners.length>0&&(this.getSession(normalizedOrigin,options,listeners),listeners.length=0);}getSession(origin,options,listeners){return new Promise((resolve9,reject)=>{Array.isArray(listeners)&&listeners.length>0?(listeners=[...listeners],resolve9()):listeners=[{resolve:resolve9,reject}];try{if(typeof origin=="string")origin=new URL4(origin);else if(!(origin instanceof URL4))throw new TypeError("The `origin` argument needs to be a string or an URL object");if(options){let{servername}=options,{hostname}=origin;if(servername&&hostname!==servername)throw new Error(`Origin ${hostname} differs from servername ${servername}`)}}catch(error2){for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);return}let normalizedOptions=this.normalizeOptions(options),normalizedOrigin=origin.origin;if(normalizedOptions in this.sessions){let sessions=this.sessions[normalizedOptions],maxConcurrentStreams=-1,currentStreamsCount=-1,optimalSession;for(let index=0;index<sessions.length;index++){let session=sessions[index],sessionMaxConcurrentStreams=session.remoteSettings.maxConcurrentStreams;if(sessionMaxConcurrentStreams<maxConcurrentStreams)break;if(!session[kOriginSet].includes(normalizedOrigin))continue;let sessionCurrentStreamsCount=session[kCurrentStreamCount];sessionCurrentStreamsCount>=sessionMaxConcurrentStreams||session[kGracefullyClosing]||session.destroyed||(optimalSession||(maxConcurrentStreams=sessionMaxConcurrentStreams),this._isBetterSession(sessionCurrentStreamsCount,currentStreamsCount)&&(optimalSession=session,currentStreamsCount=sessionCurrentStreamsCount));}if(optimalSession){this._accept(optimalSession,listeners,normalizedOrigin,options);return}}if(normalizedOptions in this.queue){if(normalizedOrigin in this.queue[normalizedOptions]){this.queue[normalizedOptions][normalizedOrigin].listeners.push(...listeners);return}}else this.queue[normalizedOptions]={[kLength]:0};let removeFromQueue=()=>{normalizedOptions in this.queue&&this.queue[normalizedOptions][normalizedOrigin]===entry&&(delete this.queue[normalizedOptions][normalizedOrigin],--this.queue[normalizedOptions][kLength]===0&&delete this.queue[normalizedOptions]);},entry=async()=>{this._sessionCount++;let name=`${normalizedOrigin}:${normalizedOptions}`,receivedSettings=!1,socket;try{let computedOptions={...options};computedOptions.settings===void 0&&(computedOptions.settings=this.settings),computedOptions.session===void 0&&(computedOptions.session=this.tlsSessionCache.get(name)),socket=await(computedOptions.createConnection||this.createConnection).call(this,origin,computedOptions),computedOptions.createConnection=()=>socket;let session=http22.connect(origin,computedOptions);session[kCurrentStreamCount]=0,session[kGracefullyClosing]=!1;let getOriginSet=()=>{let{socket:socket2}=session,originSet;return socket2.servername===!1?(socket2.servername=socket2.remoteAddress,originSet=session.originSet,socket2.servername=!1):originSet=session.originSet,originSet},isFree=()=>session[kCurrentStreamCount]<session.remoteSettings.maxConcurrentStreams;session.socket.once("session",tlsSession=>{this.tlsSessionCache.set(name,tlsSession);}),session.once("error",error2=>{for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);this.tlsSessionCache.delete(name);}),session.setTimeout(this.timeout,()=>{session.destroy();}),session.once("close",()=>{if(this._sessionCount--,receivedSettings){this._emptySessionCount--;let where=this.sessions[normalizedOptions];where.length===1?delete this.sessions[normalizedOptions]:where.splice(where.indexOf(session),1);}else {removeFromQueue();let error2=new Error("Session closed without receiving a SETTINGS frame");error2.code="HTTP2WRAPPER_NOSETTINGS";for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);}this._processQueue();});let processListeners=()=>{let queue=this.queue[normalizedOptions];if(!queue)return;let originSet=session[kOriginSet];for(let index=0;index<originSet.length;index++){let origin2=originSet[index];if(origin2 in queue){let{listeners:listeners2,completed}=queue[origin2],index2=0;for(;index2<listeners2.length&&isFree();)listeners2[index2].resolve(session),index2++;if(queue[origin2].listeners.splice(0,index2),queue[origin2].listeners.length===0&&!completed&&(delete queue[origin2],--queue[kLength]===0)){delete this.queue[normalizedOptions];break}if(!isFree())break}}};session.on("origin",()=>{session[kOriginSet]=getOriginSet()||[],session[kGracefullyClosing]=!1,closeSessionIfCovered(this.sessions[normalizedOptions],session),!(session[kGracefullyClosing]||!isFree())&&(processListeners(),isFree()&&closeCoveredSessions(this.sessions[normalizedOptions],session));}),session.once("remoteSettings",()=>{if(entry.destroyed){let error2=new Error("Agent has been destroyed");for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);session.destroy();return}if(session.setLocalWindowSize&&session.setLocalWindowSize(1024*1024*4),session[kOriginSet]=getOriginSet()||[],session.socket.encrypted){let mainOrigin=session[kOriginSet][0];if(mainOrigin!==normalizedOrigin){let error2=new Error(`Requested origin ${normalizedOrigin} does not match server ${mainOrigin}`);for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);session.destroy();return}}removeFromQueue();{let where=this.sessions;if(normalizedOptions in where){let sessions=where[normalizedOptions];sessions.splice(getSortedIndex(sessions,session,compareSessions),0,session);}else where[normalizedOptions]=[session];}receivedSettings=!0,this._emptySessionCount++,this.emit("session",session),this._accept(session,listeners,normalizedOrigin,options),session[kCurrentStreamCount]===0&&this._emptySessionCount>this.maxEmptySessions&&this.closeEmptySessions(this._emptySessionCount-this.maxEmptySessions),session.on("remoteSettings",()=>{isFree()&&(processListeners(),isFree()&&closeCoveredSessions(this.sessions[normalizedOptions],session));});}),session[kRequest]=session.request,session.request=(headers,streamOptions)=>{if(session[kGracefullyClosing])throw new Error("The session is gracefully closing. No new streams are allowed.");let stream22=session[kRequest](headers,streamOptions);return session.ref(),session[kCurrentStreamCount]++===0&&this._emptySessionCount--,stream22.once("close",()=>{if(--session[kCurrentStreamCount]===0&&(this._emptySessionCount++,session.unref(),this._emptySessionCount>this.maxEmptySessions||session[kGracefullyClosing])){session.close();return}session.destroyed||session.closed||isFree()&&!closeSessionIfCovered(this.sessions[normalizedOptions],session)&&(closeCoveredSessions(this.sessions[normalizedOptions],session),processListeners(),session[kCurrentStreamCount]===0&&this._processQueue());}),stream22};}catch(error2){removeFromQueue(),this._sessionCount--;for(let index=0;index<listeners.length;index++)listeners[index].reject(error2);}};entry.listeners=listeners,entry.completed=!1,entry.destroyed=!1,this.queue[normalizedOptions][normalizedOrigin]=entry,this.queue[normalizedOptions][kLength]++,this._processQueue();})}request(origin,options,headers,streamOptions){return new Promise((resolve9,reject)=>{this.getSession(origin,options,[{reject,resolve:session=>{try{let stream22=session.request(headers,streamOptions);delayAsyncDestroy(stream22),resolve9(stream22);}catch(error2){reject(error2);}}}]);})}async createConnection(origin,options){return Agent.connect(origin,options)}static connect(origin,options){options.ALPNProtocols=["h2"];let port=origin.port||443,host=origin.hostname;typeof options.servername>"u"&&(options.servername=host);let socket=tls.connect(port,host,options);return options.socket&&(socket._peername={family:void 0,address:void 0,port}),socket}closeEmptySessions(maxCount=Number.POSITIVE_INFINITY){let closedCount=0,{sessions}=this;for(let key in sessions){let thisSessions=sessions[key];for(let index=0;index<thisSessions.length;index++){let session=thisSessions[index];if(session[kCurrentStreamCount]===0&&(closedCount++,session.close(),closedCount>=maxCount))return closedCount}}return closedCount}destroy(reason){let{sessions,queue}=this;for(let key in sessions){let thisSessions=sessions[key];for(let index=0;index<thisSessions.length;index++)thisSessions[index].destroy(reason);}for(let normalizedOptions in queue){let entries2=queue[normalizedOptions];for(let normalizedOrigin in entries2)entries2[normalizedOrigin].destroyed=!0;}this.queue={},this.tlsSessionCache.clear();}get emptySessionCount(){return this._emptySessionCount}get pendingSessionCount(){return this._sessionCount-this._emptySessionCount}get sessionCount(){return this._sessionCount}};Agent.kCurrentStreamCount=kCurrentStreamCount,Agent.kGracefullyClosing=kGracefullyClosing,module2.exports={Agent,globalAgent:new Agent};}}),require_incoming_message=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/incoming-message.js"(exports,module2){var{Readable}=__require2("stream"),IncomingMessage=class extends Readable{constructor(socket,highWaterMark){super({emitClose:!1,autoDestroy:!0,highWaterMark}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=socket,this._dumped=!1;}get connection(){return this.socket}set connection(value2){this.socket=value2;}_destroy(error2,callback){this.readableEnded||(this.aborted=!0),callback(),this.req._request.destroy(error2);}setTimeout(ms3,callback){return this.req.setTimeout(ms3,callback),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume());}_read(){this.req&&this.req._request.resume();}};module2.exports=IncomingMessage;}}),require_proxy_events=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/proxy-events.js"(exports,module2){module2.exports=(from,to6,events)=>{for(let event of events)from.on(event,(...args)=>to6.emit(event,...args));};}}),require_errors3=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/errors.js"(exports,module2){var makeError2=(Base,key,getMessage)=>{module2.exports[key]=class extends Base{constructor(...args){super(typeof getMessage=="string"?getMessage:getMessage(args)),this.name=`${super.name} [${key}]`,this.code=key;}};};makeError2(TypeError,"ERR_INVALID_ARG_TYPE",args=>{let type=args[0].includes(".")?"property":"argument",valid=args[1],isManyTypes=Array.isArray(valid);return isManyTypes&&(valid=`${valid.slice(0,-1).join(", ")} or ${valid.slice(-1)}`),`The "${args[0]}" ${type} must be ${isManyTypes?"one of":"of"} type ${valid}. Received ${typeof args[2]}`}),makeError2(TypeError,"ERR_INVALID_PROTOCOL",args=>`Protocol "${args[0]}" not supported. Expected "${args[1]}"`),makeError2(Error,"ERR_HTTP_HEADERS_SENT",args=>`Cannot ${args[0]} headers after they are sent to the client`),makeError2(TypeError,"ERR_INVALID_HTTP_TOKEN",args=>`${args[0]} must be a valid HTTP token [${args[1]}]`),makeError2(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",args=>`Invalid value "${args[0]} for header "${args[1]}"`),makeError2(TypeError,"ERR_INVALID_CHAR",args=>`Invalid character in ${args[0]} [${args[1]}]`),makeError2(Error,"ERR_HTTP2_NO_SOCKET_MANIPULATION","HTTP/2 sockets should not be directly manipulated (e.g. read and written)");}}),require_is_request_pseudo_header=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js"(exports,module2){module2.exports=header=>{switch(header){case":method":case":scheme":case":authority":case":path":return !0;default:return !1}};}}),require_validate_header_name=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/validate-header-name.js"(exports,module2){var{ERR_INVALID_HTTP_TOKEN}=require_errors3(),isRequestPseudoHeader=require_is_request_pseudo_header(),isValidHttpToken=/^[\^`\-\w!#$%&*+.|~]+$/;module2.exports=name=>{if(typeof name!="string"||!isValidHttpToken.test(name)&&!isRequestPseudoHeader(name))throw new ERR_INVALID_HTTP_TOKEN("Header name",name)};}}),require_validate_header_value=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/validate-header-value.js"(exports,module2){var{ERR_HTTP_INVALID_HEADER_VALUE,ERR_INVALID_CHAR}=require_errors3(),isInvalidHeaderValue=/[^\t\u0020-\u007E\u0080-\u00FF]/;module2.exports=(name,value2)=>{if(typeof value2>"u")throw new ERR_HTTP_INVALID_HEADER_VALUE(value2,name);if(isInvalidHeaderValue.test(value2))throw new ERR_INVALID_CHAR("header content",name)};}}),require_proxy_socket_handler=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/proxy-socket-handler.js"(exports,module2){var{ERR_HTTP2_NO_SOCKET_MANIPULATION}=require_errors3(),proxySocketHandler={has(stream22,property){let reference=stream22.session===void 0?stream22:stream22.session.socket;return property in stream22||property in reference},get(stream22,property){switch(property){case"on":case"once":case"end":case"emit":case"destroy":return stream22[property].bind(stream22);case"writable":case"destroyed":return stream22[property];case"readable":return stream22.destroyed?!1:stream22.readable;case"setTimeout":{let{session}=stream22;return session!==void 0?session.setTimeout.bind(session):stream22.setTimeout.bind(stream22)}case"write":case"read":case"pause":case"resume":throw new ERR_HTTP2_NO_SOCKET_MANIPULATION;default:{let reference=stream22.session===void 0?stream22:stream22.session.socket,value2=reference[property];return typeof value2=="function"?value2.bind(reference):value2}}},getPrototypeOf(stream22){return stream22.session!==void 0?Reflect.getPrototypeOf(stream22.session.socket):Reflect.getPrototypeOf(stream22)},set(stream22,property,value2){switch(property){case"writable":case"readable":case"destroyed":case"on":case"once":case"end":case"emit":case"destroy":return stream22[property]=value2,!0;case"setTimeout":{let{session}=stream22;return session===void 0?stream22.setTimeout=value2:session.setTimeout=value2,!0}case"write":case"read":case"pause":case"resume":throw new ERR_HTTP2_NO_SOCKET_MANIPULATION;default:{let reference=stream22.session===void 0?stream22:stream22.session.socket;return reference[property]=value2,!0}}}};module2.exports=proxySocketHandler;}}),require_client_request=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/client-request.js"(exports,module2){var{URL:URL4,urlToHttpOptions}=__require2("url"),http22=__require2("http2"),{Writable}=__require2("stream"),{Agent,globalAgent}=require_agent(),IncomingMessage=require_incoming_message(),proxyEvents2=require_proxy_events(),{ERR_INVALID_ARG_TYPE,ERR_INVALID_PROTOCOL,ERR_HTTP_HEADERS_SENT}=require_errors3(),validateHeaderName=require_validate_header_name(),validateHeaderValue=require_validate_header_value(),proxySocketHandler=require_proxy_socket_handler(),{HTTP2_HEADER_STATUS,HTTP2_HEADER_METHOD,HTTP2_HEADER_PATH,HTTP2_HEADER_AUTHORITY,HTTP2_METHOD_CONNECT}=http22.constants,kHeaders=Symbol("headers"),kOrigin=Symbol("origin"),kSession=Symbol("session"),kOptions=Symbol("options"),kFlushedHeaders=Symbol("flushedHeaders"),kJobs=Symbol("jobs"),kPendingAgentPromise=Symbol("pendingAgentPromise"),ClientRequest=class extends Writable{constructor(input,options,callback){if(super({autoDestroy:!1,emitClose:!1}),typeof input=="string"?input=urlToHttpOptions(new URL4(input)):input instanceof URL4?input=urlToHttpOptions(input):input={...input},typeof options=="function"||options===void 0?(callback=options,options=input):options=Object.assign(input,options),options.h2session){if(this[kSession]=options.h2session,this[kSession].destroyed)throw new Error("The session has been closed already");this.protocol=this[kSession].socket.encrypted?"https:":"http:";}else if(options.agent===!1)this.agent=new Agent({maxEmptySessions:0});else if(typeof options.agent>"u"||options.agent===null)this.agent=globalAgent;else if(typeof options.agent.request=="function")this.agent=options.agent;else throw new ERR_INVALID_ARG_TYPE("options.agent",["http2wrapper.Agent-like Object","undefined","false"],options.agent);if(this.agent&&(this.protocol=this.agent.protocol),options.protocol&&options.protocol!==this.protocol)throw new ERR_INVALID_PROTOCOL(options.protocol,this.protocol);options.port||(options.port=options.defaultPort||this.agent&&this.agent.defaultPort||443),options.host=options.hostname||options.host||"localhost",delete options.hostname;let{timeout}=options;options.timeout=void 0,this[kHeaders]=Object.create(null),this[kJobs]=[],this[kPendingAgentPromise]=void 0,this.socket=null,this.connection=null,this.method=options.method||"GET",this.method==="CONNECT"&&(options.path==="/"||options.path===void 0)||(this.path=options.path),this.res=null,this.aborted=!1,this.reusedSocket=!1;let{headers}=options;if(headers)for(let header in headers)this.setHeader(header,headers[header]);options.auth&&!("authorization"in this[kHeaders])&&(this[kHeaders].authorization="Basic "+Buffer.from(options.auth).toString("base64")),options.session=options.tlsSession,options.path=options.socketPath,this[kOptions]=options,this[kOrigin]=new URL4(`${this.protocol}//${options.servername||options.host}:${options.port}`);let reuseSocket=options._reuseSocket;reuseSocket&&(options.createConnection=(...args)=>reuseSocket.destroyed?this.agent.createConnection(...args):reuseSocket,this.agent.getSession(this[kOrigin],this[kOptions]).catch(()=>{})),timeout&&this.setTimeout(timeout),callback&&this.once("response",callback),this[kFlushedHeaders]=!1;}get method(){return this[kHeaders][HTTP2_HEADER_METHOD]}set method(value2){value2&&(this[kHeaders][HTTP2_HEADER_METHOD]=value2.toUpperCase());}get path(){let header=this.method==="CONNECT"?HTTP2_HEADER_AUTHORITY:HTTP2_HEADER_PATH;return this[kHeaders][header]}set path(value2){if(value2){let header=this.method==="CONNECT"?HTTP2_HEADER_AUTHORITY:HTTP2_HEADER_PATH;this[kHeaders][header]=value2;}}get host(){return this[kOrigin].hostname}set host(_value){}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(chunk,encoding,callback){if(this._mustNotHaveABody){callback(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();let callWrite=()=>this._request.write(chunk,encoding,callback);this._request?callWrite():this[kJobs].push(callWrite);}_final(callback){this.flushHeaders();let callEnd=()=>{if(this._mustNotHaveABody||this.method==="CONNECT"){callback();return}this._request.end(callback);};this._request?callEnd():this[kJobs].push(callEnd);}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy());}async _destroy(error2,callback){this.res&&this.res._dump(),this._request?this._request.destroy():process.nextTick(()=>{this.emit("close");});try{await this[kPendingAgentPromise];}catch(internalError){this.aborted&&(error2=internalError);}callback(error2);}async flushHeaders(){if(this[kFlushedHeaders]||this.destroyed)return;this[kFlushedHeaders]=!0;let isConnectMethod=this.method===HTTP2_METHOD_CONNECT,onStream=stream22=>{if(this._request=stream22,this.destroyed){stream22.destroy();return}isConnectMethod||proxyEvents2(stream22,this,["timeout","continue"]),stream22.once("error",error2=>{this.destroy(error2);}),stream22.once("aborted",()=>{let{res}=this;res?(res.aborted=!0,res.emit("aborted"),res.destroy()):this.destroy(new Error("The server aborted the HTTP/2 stream"));});let onResponse=(headers,flags,rawHeaders)=>{let response=new IncomingMessage(this.socket,stream22.readableHighWaterMark);this.res=response,response.url=`${this[kOrigin].origin}${this.path}`,response.req=this,response.statusCode=headers[HTTP2_HEADER_STATUS],response.headers=headers,response.rawHeaders=rawHeaders,response.once("end",()=>{response.complete=!0,response.socket=null,response.connection=null;}),isConnectMethod?(response.upgrade=!0,this.emit("connect",response,stream22,Buffer.alloc(0))?this.emit("close"):stream22.destroy()):(stream22.on("data",chunk=>{!response._dumped&&!response.push(chunk)&&stream22.pause();}),stream22.once("end",()=>{this.aborted||response.push(null);}),this.emit("response",response)||response._dump());};stream22.once("response",onResponse),stream22.once("headers",headers=>this.emit("information",{statusCode:headers[HTTP2_HEADER_STATUS]})),stream22.once("trailers",(trailers,flags,rawTrailers)=>{let{res}=this;if(res===null){onResponse(trailers,flags,rawTrailers);return}res.trailers=trailers,res.rawTrailers=rawTrailers;}),stream22.once("close",()=>{let{aborted,res}=this;if(res){aborted&&(res.aborted=!0,res.emit("aborted"),res.destroy());let finish=()=>{res.emit("close"),this.destroy(),this.emit("close");};res.readable?res.once("end",finish):finish();return}if(!this.destroyed){this.destroy(new Error("The HTTP/2 stream has been early terminated")),this.emit("close");return}this.destroy(),this.emit("close");}),this.socket=new Proxy(stream22,proxySocketHandler);for(let job of this[kJobs])job();this[kJobs].length=0,this.emit("socket",this.socket);};if(!(HTTP2_HEADER_AUTHORITY in this[kHeaders])&&!isConnectMethod&&(this[kHeaders][HTTP2_HEADER_AUTHORITY]=this[kOrigin].host),this[kSession])try{onStream(this[kSession].request(this[kHeaders]));}catch(error2){this.destroy(error2);}else {this.reusedSocket=!0;try{let promise=this.agent.request(this[kOrigin],this[kOptions],this[kHeaders]);this[kPendingAgentPromise]=promise,onStream(await promise),this[kPendingAgentPromise]=!1;}catch(error2){this[kPendingAgentPromise]=!1,this.destroy(error2);}}}get connection(){return this.socket}set connection(value2){this.socket=value2;}getHeaderNames(){return Object.keys(this[kHeaders])}hasHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);return !!this[kHeaders][name.toLowerCase()]}getHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);return this[kHeaders][name.toLowerCase()]}get headersSent(){return this[kFlushedHeaders]}removeHeader(name){if(typeof name!="string")throw new ERR_INVALID_ARG_TYPE("name","string",name);if(this.headersSent)throw new ERR_HTTP_HEADERS_SENT("remove");delete this[kHeaders][name.toLowerCase()];}setHeader(name,value2){if(this.headersSent)throw new ERR_HTTP_HEADERS_SENT("set");validateHeaderName(name),validateHeaderValue(name,value2);let lowercased=name.toLowerCase();if(lowercased==="connection"){if(value2.toLowerCase()==="keep-alive")return;throw new Error(`Invalid 'connection' header: ${value2}`)}lowercased==="host"&&this.method==="CONNECT"?this[kHeaders][HTTP2_HEADER_AUTHORITY]=value2:this[kHeaders][lowercased]=value2;}setNoDelay(){}setSocketKeepAlive(){}setTimeout(ms3,callback){let applyTimeout=()=>this._request.setTimeout(ms3,callback);return this._request?applyTimeout():this[kJobs].push(applyTimeout),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(_value){}};module2.exports=ClientRequest;}}),require_resolve_alpn=__commonJS2({"node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.js"(exports,module2){var tls=__require2("tls");module2.exports=(options={},connect=tls.connect)=>new Promise((resolve9,reject)=>{let timeout=!1,socket,callback=async()=>{await socketPromise,socket.off("timeout",onTimeout),socket.off("error",reject),options.resolveSocket?(resolve9({alpnProtocol:socket.alpnProtocol,socket,timeout}),timeout&&(await Promise.resolve(),socket.emit("timeout"))):(socket.destroy(),resolve9({alpnProtocol:socket.alpnProtocol,timeout}));},onTimeout=async()=>{timeout=!0,callback();},socketPromise=(async()=>{try{socket=await connect(options,callback),socket.on("error",reject),socket.once("timeout",onTimeout);}catch(error2){reject(error2);}})();});}}),require_calculate_server_name=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/calculate-server-name.js"(exports,module2){var{isIP}=__require2("net"),assert2=__require2("assert"),getHost=host=>{if(host[0]==="["){let idx2=host.indexOf("]");return assert2(idx2!==-1),host.slice(1,idx2)}let idx=host.indexOf(":");return idx===-1?host:host.slice(0,idx)};module2.exports=host=>{let servername=getHost(host);return isIP(servername)?"":servername};}}),require_auto=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/auto.js"(exports,module2){var{URL:URL4,urlToHttpOptions}=__require2("url"),http3=__require2("http"),https2=__require2("https"),resolveALPN=require_resolve_alpn(),QuickLRU=require_quick_lru(),{Agent,globalAgent}=require_agent(),Http2ClientRequest=require_client_request(),calculateServerName=require_calculate_server_name(),delayAsyncDestroy=require_delay_async_destroy(),cache2=new QuickLRU({maxSize:100}),queue=new Map,installSocket=(agent2,socket,options)=>{socket._httpMessage={shouldKeepAlive:!0};let onFree=()=>{agent2.emit("free",socket,options);};socket.on("free",onFree);let onClose=()=>{agent2.removeSocket(socket,options);};socket.on("close",onClose);let onTimeout=()=>{let{freeSockets}=agent2;for(let sockets of Object.values(freeSockets))if(sockets.includes(socket)){socket.destroy();return}};socket.on("timeout",onTimeout);let onRemove=()=>{agent2.removeSocket(socket,options),socket.off("close",onClose),socket.off("free",onFree),socket.off("timeout",onTimeout),socket.off("agentRemove",onRemove);};socket.on("agentRemove",onRemove),agent2.emit("free",socket,options);},createResolveProtocol=(cache22,queue2=new Map,connect=void 0)=>async options=>{let name=`${options.host}:${options.port}:${options.ALPNProtocols.sort()}`;if(!cache22.has(name)){if(queue2.has(name))return {alpnProtocol:(await queue2.get(name)).alpnProtocol};let{path:path12}=options;options.path=options.socketPath;let resultPromise=resolveALPN(options,connect);queue2.set(name,resultPromise);try{let result=await resultPromise;return cache22.set(name,result.alpnProtocol),queue2.delete(name),options.path=path12,result}catch(error2){throw queue2.delete(name),options.path=path12,error2}}return {alpnProtocol:cache22.get(name)}},defaultResolveProtocol=createResolveProtocol(cache2,queue);module2.exports=async(input,options,callback)=>{if(typeof input=="string"?input=urlToHttpOptions(new URL4(input)):input instanceof URL4?input=urlToHttpOptions(input):input={...input},typeof options=="function"||options===void 0?(callback=options,options=input):options=Object.assign(input,options),options.ALPNProtocols=options.ALPNProtocols||["h2","http/1.1"],!Array.isArray(options.ALPNProtocols)||options.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");options.protocol=options.protocol||"https:";let isHttps=options.protocol==="https:";options.host=options.hostname||options.host||"localhost",options.session=options.tlsSession,options.servername=options.servername||calculateServerName(options.headers&&options.headers.host||options.host),options.port=options.port||(isHttps?443:80),options._defaultAgent=isHttps?https2.globalAgent:http3.globalAgent;let resolveProtocol=options.resolveProtocol||defaultResolveProtocol,{agent:agent2}=options;if(agent2!==void 0&&agent2!==!1&&agent2.constructor.name!=="Object")throw new Error("The `options.agent` can be only an object `http`, `https` or `http2` properties");if(isHttps){options.resolveSocket=!0;let{socket,alpnProtocol,timeout}=await resolveProtocol(options);if(timeout){socket&&socket.destroy();let error2=new Error(`Timed out resolving ALPN: ${options.timeout} ms`);throw error2.code="ETIMEDOUT",error2.ms=options.timeout,error2}socket&&options.createConnection&&(socket.destroy(),socket=void 0),delete options.resolveSocket;let isHttp2=alpnProtocol==="h2";if(agent2&&(agent2=isHttp2?agent2.http2:agent2.https,options.agent=agent2),agent2===void 0&&(agent2=isHttp2?globalAgent:https2.globalAgent),socket)if(agent2===!1)socket.destroy();else {let defaultCreateConnection=(isHttp2?Agent:https2.Agent).prototype.createConnection;agent2.createConnection===defaultCreateConnection?isHttp2?options._reuseSocket=socket:installSocket(agent2,socket,options):socket.destroy();}if(isHttp2)return delayAsyncDestroy(new Http2ClientRequest(options,callback))}else agent2&&(options.agent=agent2.http);return delayAsyncDestroy(http3.request(options,callback))},module2.exports.protocolCache=cache2,module2.exports.resolveProtocol=defaultResolveProtocol,module2.exports.createResolveProtocol=createResolveProtocol;}}),require_js_stream_socket=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/js-stream-socket.js"(exports,module2){var stream22=__require2("stream"),tls=__require2("tls"),JSStreamSocket=new tls.TLSSocket(new stream22.PassThrough)._handle._parentWrap.constructor;module2.exports=JSStreamSocket;}}),require_unexpected_status_code_error=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.js"(exports,module2){var UnexpectedStatusCodeError=class extends Error{constructor(statusCode,statusMessage=""){super(`The proxy server rejected the request with status code ${statusCode} (${statusMessage||"empty status message"})`),this.statusCode=statusCode,this.statusMessage=statusMessage;}};module2.exports=UnexpectedStatusCodeError;}}),require_check_type=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/utils/check-type.js"(exports,module2){var checkType2=(name,value2,types22)=>{if(!types22.some(type=>typeof type==="string"?typeof value2===type:value2 instanceof type)){let names=types22.map(type=>typeof type=="string"?type:type.name);throw new TypeError(`Expected '${name}' to be a type of ${names.join(" or ")}, got ${typeof value2}`)}};module2.exports=checkType2;}}),require_initialize=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/initialize.js"(exports,module2){var{URL:URL4}=__require2("url"),checkType2=require_check_type();module2.exports=(self2,proxyOptions)=>{checkType2("proxyOptions",proxyOptions,["object"]),checkType2("proxyOptions.headers",proxyOptions.headers,["object","undefined"]),checkType2("proxyOptions.raw",proxyOptions.raw,["boolean","undefined"]),checkType2("proxyOptions.url",proxyOptions.url,[URL4,"string"]);let url=new URL4(proxyOptions.url);self2.proxyOptions={raw:!0,...proxyOptions,headers:{...proxyOptions.headers},url};};}}),require_get_auth_headers=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/get-auth-headers.js"(exports,module2){module2.exports=self2=>{let{username,password}=self2.proxyOptions.url;if(username||password){let data=`${username}:${password}`,authorization=`Basic ${Buffer.from(data).toString("base64")}`;return {"proxy-authorization":authorization,authorization}}return {}};}}),require_h1_over_h2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h1-over-h2.js"(exports,module2){var tls=__require2("tls"),http3=__require2("http"),https2=__require2("https"),JSStreamSocket=require_js_stream_socket(),{globalAgent}=require_agent(),UnexpectedStatusCodeError=require_unexpected_status_code_error(),initialize=require_initialize(),getAuthorizationHeaders=require_get_auth_headers(),createConnection=(self2,options,callback)=>{(async()=>{try{let{proxyOptions}=self2,{url,headers,raw}=proxyOptions,stream22=await globalAgent.request(url,proxyOptions,{...getAuthorizationHeaders(self2),...headers,":method":"CONNECT",":authority":`${options.host}:${options.port}`});stream22.once("error",callback),stream22.once("response",headers2=>{let statusCode=headers2[":status"];if(statusCode!==200){callback(new UnexpectedStatusCodeError(statusCode,""));return}let encrypted=self2 instanceof https2.Agent;if(raw&&encrypted){options.socket=stream22;let secureStream=tls.connect(options);secureStream.once("close",()=>{stream22.destroy();}),callback(null,secureStream);return}let socket=new JSStreamSocket(stream22);socket.encrypted=!1,socket._handle.getpeername=out=>{out.family=void 0,out.address=void 0,out.port=void 0;},callback(null,socket);});}catch(error2){callback(error2);}})();},HttpOverHttp2=class extends http3.Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}createConnection(options,callback){createConnection(this,options,callback);}},HttpsOverHttp2=class extends https2.Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}createConnection(options,callback){createConnection(this,options,callback);}};module2.exports={HttpOverHttp2,HttpsOverHttp2};}}),require_h2_over_hx=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-hx.js"(exports,module2){var{Agent}=require_agent(),JSStreamSocket=require_js_stream_socket(),UnexpectedStatusCodeError=require_unexpected_status_code_error(),initialize=require_initialize(),Http2OverHttpX=class extends Agent{constructor(options){super(options),initialize(this,options.proxyOptions);}async createConnection(origin,options){let authority=`${origin.hostname}:${origin.port||443}`,[stream22,statusCode,statusMessage]=await this._getProxyStream(authority);if(statusCode!==200)throw new UnexpectedStatusCodeError(statusCode,statusMessage);if(this.proxyOptions.raw)options.socket=stream22;else {let socket=new JSStreamSocket(stream22);return socket.encrypted=!1,socket._handle.getpeername=out=>{out.family=void 0,out.address=void 0,out.port=void 0;},socket}return super.createConnection(origin,options)}};module2.exports=Http2OverHttpX;}}),require_h2_over_h2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-h2.js"(exports,module2){var{globalAgent}=require_agent(),Http2OverHttpX=require_h2_over_hx(),getAuthorizationHeaders=require_get_auth_headers(),getStatusCode=stream22=>new Promise((resolve9,reject)=>{stream22.once("error",reject),stream22.once("response",headers=>{stream22.off("error",reject),resolve9(headers[":status"]);});}),Http2OverHttp2=class extends Http2OverHttpX{async _getProxyStream(authority){let{proxyOptions}=this,headers={...getAuthorizationHeaders(this),...proxyOptions.headers,":method":"CONNECT",":authority":authority},stream22=await globalAgent.request(proxyOptions.url,proxyOptions,headers),statusCode=await getStatusCode(stream22);return [stream22,statusCode,""]}};module2.exports=Http2OverHttp2;}}),require_h2_over_h1=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/proxies/h2-over-h1.js"(exports,module2){var http3=__require2("http"),https2=__require2("https"),Http2OverHttpX=require_h2_over_hx(),getAuthorizationHeaders=require_get_auth_headers(),getStream2=request=>new Promise((resolve9,reject)=>{let onConnect=(response,socket,head)=>{socket.unshift(head),request.off("error",reject),resolve9([socket,response.statusCode,response.statusMessage]);};request.once("error",reject),request.once("connect",onConnect);}),Http2OverHttp=class extends Http2OverHttpX{async _getProxyStream(authority){let{proxyOptions}=this,{url,headers}=this.proxyOptions,request=(url.protocol==="https:"?https2:http3).request({...proxyOptions,hostname:url.hostname,port:url.port,path:authority,headers:{...getAuthorizationHeaders(this),...headers,host:authority},method:"CONNECT"}).end();return getStream2(request)}};module2.exports={Http2OverHttp,Http2OverHttps:Http2OverHttp};}}),require_source2=__commonJS2({"node_modules/.pnpm/http2-wrapper@2.2.0/node_modules/http2-wrapper/source/index.js"(exports,module2){var http22=__require2("http2"),{Agent,globalAgent}=require_agent(),ClientRequest=require_client_request(),IncomingMessage=require_incoming_message(),auto=require_auto(),{HttpOverHttp2,HttpsOverHttp2}=require_h1_over_h2(),Http2OverHttp2=require_h2_over_h2(),{Http2OverHttp,Http2OverHttps}=require_h2_over_h1(),validateHeaderName=require_validate_header_name(),validateHeaderValue=require_validate_header_value(),request=(url,options,callback)=>new ClientRequest(url,options,callback),get=(url,options,callback)=>{let req=new ClientRequest(url,options,callback);return req.end(),req};module2.exports={...http22,ClientRequest,IncomingMessage,Agent,globalAgent,request,get,auto,proxies:{HttpOverHttp2,HttpsOverHttp2,Http2OverHttp2,Http2OverHttp,Http2OverHttps},validateHeaderName,validateHeaderValue};}}),typedArrayTypeNames=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function isTypedArrayName(name){return typedArrayTypeNames.includes(name)}var objectTypeNames=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...typedArrayTypeNames];function isObjectTypeName(name){return objectTypeNames.includes(name)}var primitiveTypeNames=["null","undefined","string","number","bigint","boolean","symbol"];function isPrimitiveTypeName(name){return primitiveTypeNames.includes(name)}function isOfType(type){return value2=>typeof value2===type}var{toString}=Object.prototype,getObjectType=value2=>{let objectTypeName=toString.call(value2).slice(8,-1);if(/HTML\w+Element/.test(objectTypeName)&&is3.domElement(value2))return "HTMLElement";if(isObjectTypeName(objectTypeName))return objectTypeName},isObjectOfType=type=>value2=>getObjectType(value2)===type;function is3(value2){if(value2===null)return "null";switch(typeof value2){case"undefined":return "undefined";case"string":return "string";case"number":return Number.isNaN(value2)?"NaN":"number";case"boolean":return "boolean";case"function":return "Function";case"bigint":return "bigint";case"symbol":return "symbol";}if(is3.observable(value2))return "Observable";if(is3.array(value2))return "Array";if(is3.buffer(value2))return "Buffer";let tagType=getObjectType(value2);if(tagType)return tagType;if(value2 instanceof String||value2 instanceof Boolean||value2 instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return "Object"}is3.undefined=isOfType("undefined");is3.string=isOfType("string");var isNumberType=isOfType("number");is3.number=value2=>isNumberType(value2)&&!is3.nan(value2);is3.bigint=isOfType("bigint");is3.function_=isOfType("function");is3.null_=value2=>value2===null;is3.class_=value2=>is3.function_(value2)&&value2.toString().startsWith("class ");is3.boolean=value2=>value2===!0||value2===!1;is3.symbol=isOfType("symbol");is3.numericString=value2=>is3.string(value2)&&!is3.emptyStringOrWhitespace(value2)&&!Number.isNaN(Number(value2));is3.array=(value2,assertion)=>Array.isArray(value2)?is3.function_(assertion)?value2.every(element=>assertion(element)):!0:!1;is3.buffer=value2=>{var _a2,_b2;return ((_b2=(_a2=value2?.constructor)==null?void 0:_a2.isBuffer)==null?void 0:_b2.call(_a2,value2))??!1};is3.blob=value2=>isObjectOfType("Blob")(value2);is3.nullOrUndefined=value2=>is3.null_(value2)||is3.undefined(value2);is3.object=value2=>!is3.null_(value2)&&(typeof value2=="object"||is3.function_(value2));is3.iterable=value2=>is3.function_(value2?.[Symbol.iterator]);is3.asyncIterable=value2=>is3.function_(value2?.[Symbol.asyncIterator]);is3.generator=value2=>is3.iterable(value2)&&is3.function_(value2?.next)&&is3.function_(value2?.throw);is3.asyncGenerator=value2=>is3.asyncIterable(value2)&&is3.function_(value2.next)&&is3.function_(value2.throw);is3.nativePromise=value2=>isObjectOfType("Promise")(value2);var hasPromiseApi=value2=>is3.function_(value2?.then)&&is3.function_(value2?.catch);is3.promise=value2=>is3.nativePromise(value2)||hasPromiseApi(value2);is3.generatorFunction=isObjectOfType("GeneratorFunction");is3.asyncGeneratorFunction=value2=>getObjectType(value2)==="AsyncGeneratorFunction";is3.asyncFunction=value2=>getObjectType(value2)==="AsyncFunction";is3.boundFunction=value2=>is3.function_(value2)&&!value2.hasOwnProperty("prototype");is3.regExp=isObjectOfType("RegExp");is3.date=isObjectOfType("Date");is3.error=isObjectOfType("Error");is3.map=value2=>isObjectOfType("Map")(value2);is3.set=value2=>isObjectOfType("Set")(value2);is3.weakMap=value2=>isObjectOfType("WeakMap")(value2);is3.weakSet=value2=>isObjectOfType("WeakSet")(value2);is3.weakRef=value2=>isObjectOfType("WeakRef")(value2);is3.int8Array=isObjectOfType("Int8Array");is3.uint8Array=isObjectOfType("Uint8Array");is3.uint8ClampedArray=isObjectOfType("Uint8ClampedArray");is3.int16Array=isObjectOfType("Int16Array");is3.uint16Array=isObjectOfType("Uint16Array");is3.int32Array=isObjectOfType("Int32Array");is3.uint32Array=isObjectOfType("Uint32Array");is3.float32Array=isObjectOfType("Float32Array");is3.float64Array=isObjectOfType("Float64Array");is3.bigInt64Array=isObjectOfType("BigInt64Array");is3.bigUint64Array=isObjectOfType("BigUint64Array");is3.arrayBuffer=isObjectOfType("ArrayBuffer");is3.sharedArrayBuffer=isObjectOfType("SharedArrayBuffer");is3.dataView=isObjectOfType("DataView");is3.enumCase=(value2,targetEnum)=>Object.values(targetEnum).includes(value2);is3.directInstanceOf=(instance,class_)=>Object.getPrototypeOf(instance)===class_.prototype;is3.urlInstance=value2=>isObjectOfType("URL")(value2);is3.urlString=value2=>{if(!is3.string(value2))return !1;try{return new URL(value2),!0}catch{return !1}};is3.truthy=value2=>!!value2;is3.falsy=value2=>!value2;is3.nan=value2=>Number.isNaN(value2);is3.primitive=value2=>is3.null_(value2)||isPrimitiveTypeName(typeof value2);is3.integer=value2=>Number.isInteger(value2);is3.safeInteger=value2=>Number.isSafeInteger(value2);is3.plainObject=value2=>{if(typeof value2!="object"||value2===null)return !1;let prototype=Object.getPrototypeOf(value2);return (prototype===null||prototype===Object.prototype||Object.getPrototypeOf(prototype)===null)&&!(Symbol.toStringTag in value2)&&!(Symbol.iterator in value2)};is3.typedArray=value2=>isTypedArrayName(getObjectType(value2));var isValidLength=value2=>is3.safeInteger(value2)&&value2>=0;is3.arrayLike=value2=>!is3.nullOrUndefined(value2)&&!is3.function_(value2)&&isValidLength(value2.length);is3.inRange=(value2,range)=>{if(is3.number(range))return value2>=Math.min(0,range)&&value2<=Math.max(range,0);if(is3.array(range)&&range.length===2)return value2>=Math.min(...range)&&value2<=Math.max(...range);throw new TypeError(`Invalid range: ${JSON.stringify(range)}`)};var NODE_TYPE_ELEMENT=1,DOM_PROPERTIES_TO_CHECK=["innerHTML","ownerDocument","style","attributes","nodeValue"];is3.domElement=value2=>is3.object(value2)&&value2.nodeType===NODE_TYPE_ELEMENT&&is3.string(value2.nodeName)&&!is3.plainObject(value2)&&DOM_PROPERTIES_TO_CHECK.every(property=>property in value2);is3.observable=value2=>{var _a2,_b2;return value2?value2===((_a2=value2[Symbol.observable])==null?void 0:_a2.call(value2))||value2===((_b2=value2["@@observable"])==null?void 0:_b2.call(value2)):!1};is3.nodeStream=value2=>is3.object(value2)&&is3.function_(value2.pipe)&&!is3.observable(value2);is3.infinite=value2=>value2===Number.POSITIVE_INFINITY||value2===Number.NEGATIVE_INFINITY;var isAbsoluteMod2=remainder=>value2=>is3.integer(value2)&&Math.abs(value2%2)===remainder;is3.evenInteger=isAbsoluteMod2(0);is3.oddInteger=isAbsoluteMod2(1);is3.emptyArray=value2=>is3.array(value2)&&value2.length===0;is3.nonEmptyArray=value2=>is3.array(value2)&&value2.length>0;is3.emptyString=value2=>is3.string(value2)&&value2.length===0;var isWhiteSpaceString=value2=>is3.string(value2)&&!/\S/.test(value2);is3.emptyStringOrWhitespace=value2=>is3.emptyString(value2)||isWhiteSpaceString(value2);is3.nonEmptyString=value2=>is3.string(value2)&&value2.length>0;is3.nonEmptyStringAndNotWhitespace=value2=>is3.string(value2)&&!is3.emptyStringOrWhitespace(value2);is3.emptyObject=value2=>is3.object(value2)&&!is3.map(value2)&&!is3.set(value2)&&Object.keys(value2).length===0;is3.nonEmptyObject=value2=>is3.object(value2)&&!is3.map(value2)&&!is3.set(value2)&&Object.keys(value2).length>0;is3.emptySet=value2=>is3.set(value2)&&value2.size===0;is3.nonEmptySet=value2=>is3.set(value2)&&value2.size>0;is3.emptyMap=value2=>is3.map(value2)&&value2.size===0;is3.nonEmptyMap=value2=>is3.map(value2)&&value2.size>0;is3.propertyKey=value2=>is3.any([is3.string,is3.number,is3.symbol],value2);is3.formData=value2=>isObjectOfType("FormData")(value2);is3.urlSearchParams=value2=>isObjectOfType("URLSearchParams")(value2);var predicateOnArray=(method,predicate,values)=>{if(!is3.function_(predicate))throw new TypeError(`Invalid predicate: ${JSON.stringify(predicate)}`);if(values.length===0)throw new TypeError("Invalid number of values");return method.call(values,predicate)};is3.any=(predicate,...values)=>(is3.array(predicate)?predicate:[predicate]).some(singlePredicate=>predicateOnArray(Array.prototype.some,singlePredicate,values));is3.all=(predicate,...values)=>predicateOnArray(Array.prototype.every,predicate,values);var assertType=(condition,description,value2,options={})=>{if(!condition){let{multipleValues}=options,valuesMessage=multipleValues?`received values of types ${[...new Set(value2.map(singleValue=>`\`${is3(singleValue)}\``))].join(", ")}`:`received value of type \`${is3(value2)}\``;throw new TypeError(`Expected value which is \`${description}\`, ${valuesMessage}.`)}},assert={undefined:value2=>assertType(is3.undefined(value2),"undefined",value2),string:value2=>assertType(is3.string(value2),"string",value2),number:value2=>assertType(is3.number(value2),"number",value2),bigint:value2=>assertType(is3.bigint(value2),"bigint",value2),function_:value2=>assertType(is3.function_(value2),"Function",value2),null_:value2=>assertType(is3.null_(value2),"null",value2),class_:value2=>assertType(is3.class_(value2),"Class",value2),boolean:value2=>assertType(is3.boolean(value2),"boolean",value2),symbol:value2=>assertType(is3.symbol(value2),"symbol",value2),numericString:value2=>assertType(is3.numericString(value2),"string with a number",value2),array:(value2,assertion)=>{assertType(is3.array(value2),"Array",value2),assertion&&value2.forEach(assertion);},buffer:value2=>assertType(is3.buffer(value2),"Buffer",value2),blob:value2=>assertType(is3.blob(value2),"Blob",value2),nullOrUndefined:value2=>assertType(is3.nullOrUndefined(value2),"null or undefined",value2),object:value2=>assertType(is3.object(value2),"Object",value2),iterable:value2=>assertType(is3.iterable(value2),"Iterable",value2),asyncIterable:value2=>assertType(is3.asyncIterable(value2),"AsyncIterable",value2),generator:value2=>assertType(is3.generator(value2),"Generator",value2),asyncGenerator:value2=>assertType(is3.asyncGenerator(value2),"AsyncGenerator",value2),nativePromise:value2=>assertType(is3.nativePromise(value2),"native Promise",value2),promise:value2=>assertType(is3.promise(value2),"Promise",value2),generatorFunction:value2=>assertType(is3.generatorFunction(value2),"GeneratorFunction",value2),asyncGeneratorFunction:value2=>assertType(is3.asyncGeneratorFunction(value2),"AsyncGeneratorFunction",value2),asyncFunction:value2=>assertType(is3.asyncFunction(value2),"AsyncFunction",value2),boundFunction:value2=>assertType(is3.boundFunction(value2),"Function",value2),regExp:value2=>assertType(is3.regExp(value2),"RegExp",value2),date:value2=>assertType(is3.date(value2),"Date",value2),error:value2=>assertType(is3.error(value2),"Error",value2),map:value2=>assertType(is3.map(value2),"Map",value2),set:value2=>assertType(is3.set(value2),"Set",value2),weakMap:value2=>assertType(is3.weakMap(value2),"WeakMap",value2),weakSet:value2=>assertType(is3.weakSet(value2),"WeakSet",value2),weakRef:value2=>assertType(is3.weakRef(value2),"WeakRef",value2),int8Array:value2=>assertType(is3.int8Array(value2),"Int8Array",value2),uint8Array:value2=>assertType(is3.uint8Array(value2),"Uint8Array",value2),uint8ClampedArray:value2=>assertType(is3.uint8ClampedArray(value2),"Uint8ClampedArray",value2),int16Array:value2=>assertType(is3.int16Array(value2),"Int16Array",value2),uint16Array:value2=>assertType(is3.uint16Array(value2),"Uint16Array",value2),int32Array:value2=>assertType(is3.int32Array(value2),"Int32Array",value2),uint32Array:value2=>assertType(is3.uint32Array(value2),"Uint32Array",value2),float32Array:value2=>assertType(is3.float32Array(value2),"Float32Array",value2),float64Array:value2=>assertType(is3.float64Array(value2),"Float64Array",value2),bigInt64Array:value2=>assertType(is3.bigInt64Array(value2),"BigInt64Array",value2),bigUint64Array:value2=>assertType(is3.bigUint64Array(value2),"BigUint64Array",value2),arrayBuffer:value2=>assertType(is3.arrayBuffer(value2),"ArrayBuffer",value2),sharedArrayBuffer:value2=>assertType(is3.sharedArrayBuffer(value2),"SharedArrayBuffer",value2),dataView:value2=>assertType(is3.dataView(value2),"DataView",value2),enumCase:(value2,targetEnum)=>assertType(is3.enumCase(value2,targetEnum),"EnumCase",value2),urlInstance:value2=>assertType(is3.urlInstance(value2),"URL",value2),urlString:value2=>assertType(is3.urlString(value2),"string with a URL",value2),truthy:value2=>assertType(is3.truthy(value2),"truthy",value2),falsy:value2=>assertType(is3.falsy(value2),"falsy",value2),nan:value2=>assertType(is3.nan(value2),"NaN",value2),primitive:value2=>assertType(is3.primitive(value2),"primitive",value2),integer:value2=>assertType(is3.integer(value2),"integer",value2),safeInteger:value2=>assertType(is3.safeInteger(value2),"integer",value2),plainObject:value2=>assertType(is3.plainObject(value2),"plain object",value2),typedArray:value2=>assertType(is3.typedArray(value2),"TypedArray",value2),arrayLike:value2=>assertType(is3.arrayLike(value2),"array-like",value2),domElement:value2=>assertType(is3.domElement(value2),"HTMLElement",value2),observable:value2=>assertType(is3.observable(value2),"Observable",value2),nodeStream:value2=>assertType(is3.nodeStream(value2),"Node.js Stream",value2),infinite:value2=>assertType(is3.infinite(value2),"infinite number",value2),emptyArray:value2=>assertType(is3.emptyArray(value2),"empty array",value2),nonEmptyArray:value2=>assertType(is3.nonEmptyArray(value2),"non-empty array",value2),emptyString:value2=>assertType(is3.emptyString(value2),"empty string",value2),emptyStringOrWhitespace:value2=>assertType(is3.emptyStringOrWhitespace(value2),"empty string or whitespace",value2),nonEmptyString:value2=>assertType(is3.nonEmptyString(value2),"non-empty string",value2),nonEmptyStringAndNotWhitespace:value2=>assertType(is3.nonEmptyStringAndNotWhitespace(value2),"non-empty string and not whitespace",value2),emptyObject:value2=>assertType(is3.emptyObject(value2),"empty object",value2),nonEmptyObject:value2=>assertType(is3.nonEmptyObject(value2),"non-empty object",value2),emptySet:value2=>assertType(is3.emptySet(value2),"empty set",value2),nonEmptySet:value2=>assertType(is3.nonEmptySet(value2),"non-empty set",value2),emptyMap:value2=>assertType(is3.emptyMap(value2),"empty map",value2),nonEmptyMap:value2=>assertType(is3.nonEmptyMap(value2),"non-empty map",value2),propertyKey:value2=>assertType(is3.propertyKey(value2),"PropertyKey",value2),formData:value2=>assertType(is3.formData(value2),"FormData",value2),urlSearchParams:value2=>assertType(is3.urlSearchParams(value2),"URLSearchParams",value2),evenInteger:value2=>assertType(is3.evenInteger(value2),"even integer",value2),oddInteger:value2=>assertType(is3.oddInteger(value2),"odd integer",value2),directInstanceOf:(instance,class_)=>assertType(is3.directInstanceOf(instance,class_),"T",instance),inRange:(value2,range)=>assertType(is3.inRange(value2,range),"in range",value2),any:(predicate,...values)=>assertType(is3.any(predicate,...values),"predicate returns truthy for any value",values,{multipleValues:!0}),all:(predicate,...values)=>assertType(is3.all(predicate,...values),"predicate returns truthy for all values",values,{multipleValues:!0})};Object.defineProperties(is3,{class:{value:is3.class_},function:{value:is3.function_},null:{value:is3.null_}});Object.defineProperties(assert,{class:{value:assert.class_},function:{value:assert.function_},null:{value:assert.null_}});var dist_default=is3,CancelError=class extends Error{constructor(reason){super(reason||"Promise was canceled"),this.name="CancelError";}get isCanceled(){return !0}},PCancelable=class{static fn(userFunction){return (...arguments_)=>new PCancelable((resolve9,reject,onCancel)=>{arguments_.push(onCancel),userFunction(...arguments_).then(resolve9,reject);})}constructor(executor){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((resolve9,reject)=>{this._reject=reject;let onResolve=value2=>{(!this._isCanceled||!onCancel.shouldReject)&&(this._isPending=!1,resolve9(value2));},onReject=error2=>{this._isPending=!1,reject(error2);},onCancel=handler=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(handler);};Object.defineProperties(onCancel,{shouldReject:{get:()=>this._rejectOnCancel,set:boolean=>{this._rejectOnCancel=boolean;}}}),executor(onResolve,onReject,onCancel);});}then(onFulfilled,onRejected){return this._promise.then(onFulfilled,onRejected)}catch(onRejected){return this._promise.catch(onRejected)}finally(onFinally){return this._promise.finally(onFinally)}cancel(reason){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let handler of this._cancelHandlers)handler();}catch(error2){this._reject(error2);return}this._rejectOnCancel&&this._reject(new CancelError(reason));}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);function isRequest(x8){return dist_default.object(x8)&&"_onResponse"in x8}var RequestError=class extends Error{constructor(message,error2,self2){var _a2;if(super(message),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=error2.code??"ERR_GOT_REQUEST_ERROR",this.input=error2.input,isRequest(self2)?(Object.defineProperty(this,"request",{enumerable:!1,value:self2}),Object.defineProperty(this,"response",{enumerable:!1,value:self2.response}),this.options=self2.options):this.options=self2,this.timings=(_a2=this.request)==null?void 0:_a2.timings,dist_default.string(error2.stack)&&dist_default.string(this.stack)){let indexOfMessage=this.stack.indexOf(this.message)+this.message.length,thisStackTrace=this.stack.slice(indexOfMessage).split(`
2720
2722
  `).reverse(),errorStackTrace=error2.stack.slice(error2.stack.indexOf(error2.message)+error2.message.length).split(`
2721
2723
  `).reverse();for(;errorStackTrace.length>0&&errorStackTrace[0]===thisStackTrace[0];)thisStackTrace.shift();this.stack=`${this.stack.slice(0,indexOfMessage)}${thisStackTrace.reverse().join(`
2722
2724
  `)}${errorStackTrace.reverse().join(`
@@ -2732,7 +2734,7 @@ We were not able to detect the right builder for your project. Please select one
2732
2734
  `)});}n10[0]=n10[0].replace(/^\r?\n/,"");var a5=n10[0];return e5.forEach(function(c10,p7){var l7=a5.match(/(?:^|\n)( *)$/),f11=l7?l7[1]:"",x8=c10;typeof c10=="string"&&c10.includes(`
2733
2735
  `)&&(x8=String(c10).split(`
2734
2736
  `).map(function(w8,_11){return _11===0?w8:""+f11+w8}).join(`
2735
- `)),a5+=x8+n10[p7+1];}),a5}o5(Tn4,"dedent"),Le9.dedent=Tn4,Le9.default=Tn4;}),Me9=I10(C11=>{Object.defineProperty(C11,"__esModule",{value:!0}),C11.getParsedType=C11.ZodParsedType=C11.objectUtil=C11.util=void 0;var Qt7;(function(t18){t18.assertEqual=s10=>s10;function e5(s10){}o5(e5,"assertIs"),t18.assertIs=e5;function r5(s10){throw new Error}o5(r5,"assertNever"),t18.assertNever=r5,t18.arrayToEnum=s10=>{let i7={};for(let a5 of s10)i7[a5]=a5;return i7},t18.getValidEnumValues=s10=>{let i7=t18.objectKeys(s10).filter(c10=>typeof s10[s10[c10]]!="number"),a5={};for(let c10 of i7)a5[c10]=s10[c10];return t18.objectValues(a5)},t18.objectValues=s10=>t18.objectKeys(s10).map(function(i7){return s10[i7]}),t18.objectKeys=typeof Object.keys=="function"?s10=>Object.keys(s10):s10=>{let i7=[];for(let a5 in s10)Object.prototype.hasOwnProperty.call(s10,a5)&&i7.push(a5);return i7},t18.find=(s10,i7)=>{for(let a5 of s10)if(i7(a5))return a5},t18.isInteger=typeof Number.isInteger=="function"?s10=>Number.isInteger(s10):s10=>typeof s10=="number"&&isFinite(s10)&&Math.floor(s10)===s10;function n10(s10,i7=" | "){return s10.map(a5=>typeof a5=="string"?`'${a5}'`:a5).join(i7)}o5(n10,"joinValues"),t18.joinValues=n10,t18.jsonStringifyReplacer=(s10,i7)=>typeof i7=="bigint"?i7.toString():i7;})(Qt7||(C11.util=Qt7={}));var Sn5;((function(t18){t18.mergeShapes=(e5,r5)=>({...e5,...r5});}))(Sn5||(C11.objectUtil=Sn5={})),C11.ZodParsedType=Qt7.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);var Qo7=o5(t18=>{switch(typeof t18){case"undefined":return C11.ZodParsedType.undefined;case"string":return C11.ZodParsedType.string;case"number":return isNaN(t18)?C11.ZodParsedType.nan:C11.ZodParsedType.number;case"boolean":return C11.ZodParsedType.boolean;case"function":return C11.ZodParsedType.function;case"bigint":return C11.ZodParsedType.bigint;case"symbol":return C11.ZodParsedType.symbol;case"object":return Array.isArray(t18)?C11.ZodParsedType.array:t18===null?C11.ZodParsedType.null:t18.then&&typeof t18.then=="function"&&t18.catch&&typeof t18.catch=="function"?C11.ZodParsedType.promise:typeof Map<"u"&&t18 instanceof Map?C11.ZodParsedType.map:typeof Set<"u"&&t18 instanceof Set?C11.ZodParsedType.set:typeof Date<"u"&&t18 instanceof Date?C11.ZodParsedType.date:C11.ZodParsedType.object;default:return C11.ZodParsedType.unknown}},"getParsedType");C11.getParsedType=Qo7;}),lt5=I10(K13=>{Object.defineProperty(K13,"__esModule",{value:!0}),K13.ZodError=K13.quotelessJson=K13.ZodIssueCode=void 0;var Cn6=Me9();K13.ZodIssueCode=Cn6.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);var ea3=o5(t18=>JSON.stringify(t18,null,2).replace(/"([^"]+)":/g,"$1:"),"quotelessJson");K13.quotelessJson=ea3;var Ue8=class t18 extends Error{static{o5(this,"ZodError");}get errors(){return this.issues}constructor(e5){super(),this.issues=[],this.addIssue=n10=>{this.issues=[...this.issues,n10];},this.addIssues=(n10=[])=>{this.issues=[...this.issues,...n10];};let r5=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r5):this.__proto__=r5,this.name="ZodError",this.issues=e5;}format(e5){let r5=e5||function(i7){return i7.message},n10={_errors:[]},s10=o5(i7=>{for(let a5 of i7.issues)if(a5.code==="invalid_union")a5.unionErrors.map(s10);else if(a5.code==="invalid_return_type")s10(a5.returnTypeError);else if(a5.code==="invalid_arguments")s10(a5.argumentsError);else if(a5.path.length===0)n10._errors.push(r5(a5));else {let c10=n10,p7=0;for(;p7<a5.path.length;){let l7=a5.path[p7];p7===a5.path.length-1?(c10[l7]=c10[l7]||{_errors:[]},c10[l7]._errors.push(r5(a5))):c10[l7]=c10[l7]||{_errors:[]},c10=c10[l7],p7++;}}},"processError");return s10(this),n10}static assert(e5){if(!(e5 instanceof t18))throw new Error(`Not a ZodError: ${e5}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Cn6.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e5=r5=>r5.message){let r5={},n10=[];for(let s10 of this.issues)s10.path.length>0?(r5[s10.path[0]]=r5[s10.path[0]]||[],r5[s10.path[0]].push(e5(s10))):n10.push(e5(s10));return {formErrors:n10,fieldErrors:r5}}get formErrors(){return this.flatten()}};K13.ZodError=Ue8,Ue8.create=t18=>new Ue8(t18);}),tr7=I10(er6=>{Object.defineProperty(er6,"__esModule",{value:!0});var te8=Me9(),A11=lt5(),ta3=o5((t18,e5)=>{let r5;switch(t18.code){case A11.ZodIssueCode.invalid_type:t18.received===te8.ZodParsedType.undefined?r5="Required":r5=`Expected ${t18.expected}, received ${t18.received}`;break;case A11.ZodIssueCode.invalid_literal:r5=`Invalid literal value, expected ${JSON.stringify(t18.expected,te8.util.jsonStringifyReplacer)}`;break;case A11.ZodIssueCode.unrecognized_keys:r5=`Unrecognized key(s) in object: ${te8.util.joinValues(t18.keys,", ")}`;break;case A11.ZodIssueCode.invalid_union:r5="Invalid input";break;case A11.ZodIssueCode.invalid_union_discriminator:r5=`Invalid discriminator value. Expected ${te8.util.joinValues(t18.options)}`;break;case A11.ZodIssueCode.invalid_enum_value:r5=`Invalid enum value. Expected ${te8.util.joinValues(t18.options)}, received '${t18.received}'`;break;case A11.ZodIssueCode.invalid_arguments:r5="Invalid function arguments";break;case A11.ZodIssueCode.invalid_return_type:r5="Invalid function return type";break;case A11.ZodIssueCode.invalid_date:r5="Invalid date";break;case A11.ZodIssueCode.invalid_string:typeof t18.validation=="object"?"includes"in t18.validation?(r5=`Invalid input: must include "${t18.validation.includes}"`,typeof t18.validation.position=="number"&&(r5=`${r5} at one or more positions greater than or equal to ${t18.validation.position}`)):"startsWith"in t18.validation?r5=`Invalid input: must start with "${t18.validation.startsWith}"`:"endsWith"in t18.validation?r5=`Invalid input: must end with "${t18.validation.endsWith}"`:te8.util.assertNever(t18.validation):t18.validation!=="regex"?r5=`Invalid ${t18.validation}`:r5="Invalid";break;case A11.ZodIssueCode.too_small:t18.type==="array"?r5=`Array must contain ${t18.exact?"exactly":t18.inclusive?"at least":"more than"} ${t18.minimum} element(s)`:t18.type==="string"?r5=`String must contain ${t18.exact?"exactly":t18.inclusive?"at least":"over"} ${t18.minimum} character(s)`:t18.type==="number"?r5=`Number must be ${t18.exact?"exactly equal to ":t18.inclusive?"greater than or equal to ":"greater than "}${t18.minimum}`:t18.type==="date"?r5=`Date must be ${t18.exact?"exactly equal to ":t18.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t18.minimum))}`:r5="Invalid input";break;case A11.ZodIssueCode.too_big:t18.type==="array"?r5=`Array must contain ${t18.exact?"exactly":t18.inclusive?"at most":"less than"} ${t18.maximum} element(s)`:t18.type==="string"?r5=`String must contain ${t18.exact?"exactly":t18.inclusive?"at most":"under"} ${t18.maximum} character(s)`:t18.type==="number"?r5=`Number must be ${t18.exact?"exactly":t18.inclusive?"less than or equal to":"less than"} ${t18.maximum}`:t18.type==="bigint"?r5=`BigInt must be ${t18.exact?"exactly":t18.inclusive?"less than or equal to":"less than"} ${t18.maximum}`:t18.type==="date"?r5=`Date must be ${t18.exact?"exactly":t18.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t18.maximum))}`:r5="Invalid input";break;case A11.ZodIssueCode.custom:r5="Invalid input";break;case A11.ZodIssueCode.invalid_intersection_types:r5="Intersection results could not be merged";break;case A11.ZodIssueCode.not_multiple_of:r5=`Number must be a multiple of ${t18.multipleOf}`;break;case A11.ZodIssueCode.not_finite:r5="Number must be finite";break;default:r5=e5.defaultError,te8.util.assertNever(t18);}return {message:r5}},"errorMap");er6.default=ta3;}),pt5=I10(V13=>{var ra3=V13&&V13.__importDefault||function(t18){return t18&&t18.__esModule?t18:{default:t18}};Object.defineProperty(V13,"__esModule",{value:!0}),V13.getErrorMap=V13.setErrorMap=V13.defaultErrorMap=void 0;var Pn5=ra3(tr7());V13.defaultErrorMap=Pn5.default;var En6=Pn5.default;function na2(t18){En6=t18;}o5(na2,"setErrorMap"),V13.setErrorMap=na2;function sa2(){return En6}o5(sa2,"getErrorMap"),V13.getErrorMap=sa2;}),nr6=I10(T11=>{var ia2=T11&&T11.__importDefault||function(t18){return t18&&t18.__esModule?t18:{default:t18}};Object.defineProperty(T11,"__esModule",{value:!0}),T11.isAsync=T11.isValid=T11.isDirty=T11.isAborted=T11.OK=T11.DIRTY=T11.INVALID=T11.ParseStatus=T11.addIssueToContext=T11.EMPTY_PATH=T11.makeIssue=void 0;var oa2=pt5(),jn8=ia2(tr7()),aa2=o5(t18=>{let{data:e5,path:r5,errorMaps:n10,issueData:s10}=t18,i7=[...r5,...s10.path||[]],a5={...s10,path:i7};if(s10.message!==void 0)return {...s10,path:i7,message:s10.message};let c10="",p7=n10.filter(l7=>!!l7).slice().reverse();for(let l7 of p7)c10=l7(a5,{data:e5,defaultError:c10}).message;return {...s10,path:i7,message:c10}},"makeIssue");T11.makeIssue=aa2,T11.EMPTY_PATH=[];function ca4(t18,e5){let r5=(0, oa2.getErrorMap)(),n10=(0, T11.makeIssue)({issueData:e5,data:t18.data,path:t18.path,errorMaps:[t18.common.contextualErrorMap,t18.schemaErrorMap,r5,r5===jn8.default?void 0:jn8.default].filter(s10=>!!s10)});t18.common.issues.push(n10);}o5(ca4,"addIssueToContext"),T11.addIssueToContext=ca4;var rr8=class t18{static{o5(this,"ParseStatus");}constructor(){this.value="valid";}dirty(){this.value==="valid"&&(this.value="dirty");}abort(){this.value!=="aborted"&&(this.value="aborted");}static mergeArray(e5,r5){let n10=[];for(let s10 of r5){if(s10.status==="aborted")return T11.INVALID;s10.status==="dirty"&&e5.dirty(),n10.push(s10.value);}return {status:e5.value,value:n10}}static async mergeObjectAsync(e5,r5){let n10=[];for(let s10 of r5){let i7=await s10.key,a5=await s10.value;n10.push({key:i7,value:a5});}return t18.mergeObjectSync(e5,n10)}static mergeObjectSync(e5,r5){let n10={};for(let s10 of r5){let{key:i7,value:a5}=s10;if(i7.status==="aborted"||a5.status==="aborted")return T11.INVALID;i7.status==="dirty"&&e5.dirty(),a5.status==="dirty"&&e5.dirty(),i7.value!=="__proto__"&&(typeof a5.value<"u"||s10.alwaysSet)&&(n10[i7.value]=a5.value);}return {status:e5.value,value:n10}}};T11.ParseStatus=rr8,T11.INVALID=Object.freeze({status:"aborted"});var da3=o5(t18=>({status:"dirty",value:t18}),"DIRTY");T11.DIRTY=da3;var ua3=o5(t18=>({status:"valid",value:t18}),"OK");T11.OK=ua3;var la3=o5(t18=>t18.status==="aborted","isAborted");T11.isAborted=la3;var pa3=o5(t18=>t18.status==="dirty","isDirty");T11.isDirty=pa3;var fa3=o5(t18=>t18.status==="valid","isValid");T11.isValid=fa3;var ma3=o5(t18=>typeof Promise<"u"&&t18 instanceof Promise,"isAsync");T11.isAsync=ma3;}),On4=I10(An7=>{Object.defineProperty(An7,"__esModule",{value:!0});}),Nn6=I10(ft4=>{Object.defineProperty(ft4,"__esModule",{value:!0}),ft4.errorUtil=void 0;var Zn5;(function(t18){t18.errToObj=e5=>typeof e5=="string"?{message:e5}:e5||{},t18.toString=e5=>typeof e5=="string"?e5:e5?.message;})(Zn5||(ft4.errorUtil=Zn5={}));}),Wn5=I10(d7=>{var ht5=d7&&d7.__classPrivateFieldGet||function(t18,e5,r5,n10){if(r5==="a"&&!n10)throw new TypeError("Private accessor was defined without a getter");if(typeof e5=="function"?t18!==e5||!n10:!e5.has(t18))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r5==="m"?n10:r5==="a"?n10.call(t18):n10?n10.value:e5.get(t18)},Ln7=d7&&d7.__classPrivateFieldSet||function(t18,e5,r5,n10,s10){if(n10==="m")throw new TypeError("Private method is not writable");if(n10==="a"&&!s10)throw new TypeError("Private accessor was defined without a setter");if(typeof e5=="function"?t18!==e5||!s10:!e5.has(t18))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n10==="a"?s10.call(t18,r5):s10?s10.value=r5:e5.set(t18,r5),r5},$e6,Ve9;Object.defineProperty(d7,"__esModule",{value:!0}),d7.boolean=d7.bigint=d7.array=d7.any=d7.coerce=d7.ZodFirstPartyTypeKind=d7.late=d7.ZodSchema=d7.Schema=d7.custom=d7.ZodReadonly=d7.ZodPipeline=d7.ZodBranded=d7.BRAND=d7.ZodNaN=d7.ZodCatch=d7.ZodDefault=d7.ZodNullable=d7.ZodOptional=d7.ZodTransformer=d7.ZodEffects=d7.ZodPromise=d7.ZodNativeEnum=d7.ZodEnum=d7.ZodLiteral=d7.ZodLazy=d7.ZodFunction=d7.ZodSet=d7.ZodMap=d7.ZodRecord=d7.ZodTuple=d7.ZodIntersection=d7.ZodDiscriminatedUnion=d7.ZodUnion=d7.ZodObject=d7.ZodArray=d7.ZodVoid=d7.ZodNever=d7.ZodUnknown=d7.ZodAny=d7.ZodNull=d7.ZodUndefined=d7.ZodSymbol=d7.ZodDate=d7.ZodBoolean=d7.ZodBigInt=d7.ZodNumber=d7.ZodString=d7.datetimeRegex=d7.ZodType=void 0,d7.NEVER=d7.void=d7.unknown=d7.union=d7.undefined=d7.tuple=d7.transformer=d7.symbol=d7.string=d7.strictObject=d7.set=d7.record=d7.promise=d7.preprocess=d7.pipeline=d7.ostring=d7.optional=d7.onumber=d7.oboolean=d7.object=d7.number=d7.nullable=d7.null=d7.never=d7.nativeEnum=d7.nan=d7.map=d7.literal=d7.lazy=d7.intersection=d7.instanceof=d7.function=d7.enum=d7.effect=d7.discriminatedUnion=d7.date=void 0;var mt5=pt5(),y7=Nn6(),u5=nr6(),h8=Me9(),m7=lt5(),L11=class{static{o5(this,"ParseInputLazyPath");}constructor(e5,r5,n10,s10){this._cachedPath=[],this.parent=e5,this.data=r5,this._path=n10,this._key=s10;}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Rn5=o5((t18,e5)=>{if((0, u5.isValid)(e5))return {success:!0,data:e5.value};if(!t18.common.issues.length)throw new Error("Validation failed but no issues detected.");return {success:!1,get error(){if(this._error)return this._error;let r5=new m7.ZodError(t18.common.issues);return this._error=r5,this._error}}},"handleResult");function v12(t18){if(!t18)return {};let{errorMap:e5,invalid_type_error:r5,required_error:n10,description:s10}=t18;if(e5&&(r5||n10))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e5?{errorMap:e5,description:s10}:{errorMap:o5((a5,c10)=>{var p7,l7;let{message:f11}=t18;return a5.code==="invalid_enum_value"?{message:f11??c10.defaultError}:typeof c10.data>"u"?{message:(p7=f11??n10)!==null&&p7!==void 0?p7:c10.defaultError}:a5.code!=="invalid_type"?{message:c10.defaultError}:{message:(l7=f11??r5)!==null&&l7!==void 0?l7:c10.defaultError}},"customMap"),description:s10}}o5(v12,"processCreateParams");var b8=class{static{o5(this,"ZodType");}get description(){return this._def.description}_getType(e5){return (0, h8.getParsedType)(e5.data)}_getOrReturnCtx(e5,r5){return r5||{common:e5.parent.common,data:e5.data,parsedType:(0, h8.getParsedType)(e5.data),schemaErrorMap:this._def.errorMap,path:e5.path,parent:e5.parent}}_processInputParams(e5){return {status:new u5.ParseStatus,ctx:{common:e5.parent.common,data:e5.data,parsedType:(0, h8.getParsedType)(e5.data),schemaErrorMap:this._def.errorMap,path:e5.path,parent:e5.parent}}}_parseSync(e5){let r5=this._parse(e5);if((0, u5.isAsync)(r5))throw new Error("Synchronous parse encountered promise.");return r5}_parseAsync(e5){let r5=this._parse(e5);return Promise.resolve(r5)}parse(e5,r5){let n10=this.safeParse(e5,r5);if(n10.success)return n10.data;throw n10.error}safeParse(e5,r5){var n10;let s10={common:{issues:[],async:(n10=r5?.async)!==null&&n10!==void 0?n10:!1,contextualErrorMap:r5?.errorMap},path:r5?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)},i7=this._parseSync({data:e5,path:s10.path,parent:s10});return Rn5(s10,i7)}"~validate"(e5){var r5,n10;let s10={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)};if(!this["~standard"].async)try{let i7=this._parseSync({data:e5,path:[],parent:s10});return (0,u5.isValid)(i7)?{value:i7.value}:{issues:s10.common.issues}}catch(i7){!((n10=(r5=i7?.message)===null||r5===void 0?void 0:r5.toLowerCase())===null||n10===void 0)&&n10.includes("encountered")&&(this["~standard"].async=!0),s10.common={issues:[],async:!0};}return this._parseAsync({data:e5,path:[],parent:s10}).then(i7=>(0, u5.isValid)(i7)?{value:i7.value}:{issues:s10.common.issues})}async parseAsync(e5,r5){let n10=await this.safeParseAsync(e5,r5);if(n10.success)return n10.data;throw n10.error}async safeParseAsync(e5,r5){let n10={common:{issues:[],contextualErrorMap:r5?.errorMap,async:!0},path:r5?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)},s10=this._parse({data:e5,path:n10.path,parent:n10}),i7=await((0, u5.isAsync)(s10)?s10:Promise.resolve(s10));return Rn5(n10,i7)}refine(e5,r5){let n10=o5(s10=>typeof r5=="string"||typeof r5>"u"?{message:r5}:typeof r5=="function"?r5(s10):r5,"getIssueProperties");return this._refinement((s10,i7)=>{let a5=e5(s10),c10=o5(()=>i7.addIssue({code:m7.ZodIssueCode.custom,...n10(s10)}),"setError");return typeof Promise<"u"&&a5 instanceof Promise?a5.then(p7=>p7?!0:(c10(),!1)):a5?!0:(c10(),!1)})}refinement(e5,r5){return this._refinement((n10,s10)=>e5(n10)?!0:(s10.addIssue(typeof r5=="function"?r5(n10,s10):r5),!1))}_refinement(e5){return new R10({schema:this,typeName:g5.ZodEffects,effect:{type:"refinement",refinement:e5}})}superRefine(e5){return this._refinement(e5)}constructor(e5){this.spa=this.safeParseAsync,this._def=e5,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:o5(r5=>this["~validate"](r5),"validate")};}optional(){return D10.create(this,this._def)}nullable(){return B11.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J13.create(this)}promise(){return Q12.create(this,this._def)}or(e5){return ce6.create([this,e5],this._def)}and(e5){return de8.create(this,e5,this._def)}transform(e5){return new R10({...v12(this._def),schema:this,typeName:g5.ZodEffects,effect:{type:"transform",transform:e5}})}default(e5){let r5=typeof e5=="function"?e5:()=>e5;return new me9({...v12(this._def),innerType:this,defaultValue:r5,typeName:g5.ZodDefault})}brand(){return new Fe7({typeName:g5.ZodBranded,type:this,...v12(this._def)})}catch(e5){let r5=typeof e5=="function"?e5:()=>e5;return new he5({...v12(this._def),innerType:this,catchValue:r5,typeName:g5.ZodCatch})}describe(e5){let r5=this.constructor;return new r5({...this._def,description:e5})}pipe(e5){return Be7.create(this,e5)}readonly(){return ye7.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};d7.ZodType=b8,d7.Schema=b8,d7.ZodSchema=b8;var ha3=/^c[^\s-]{8,}$/i,ya2=/^[0-9a-z]+$/,ga2=/^[0-9A-HJKMNP-TV-Z]{26}$/i,xa2=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,va3=/^[a-z0-9_-]{21}$/i,ba3=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,_a2=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,wa2=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,ka3="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",sr6,Ta=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ia4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Sa2=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Ca3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Pa3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Ea3=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Mn7="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",ja2=new RegExp(`^${Mn7}$`);function Un6(t18){let e5="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t18.precision?e5=`${e5}\\.\\d{${t18.precision}}`:t18.precision==null&&(e5=`${e5}(\\.\\d+)?`),e5}o5(Un6,"timeRegexSource");function Aa2(t18){return new RegExp(`^${Un6(t18)}$`)}o5(Aa2,"timeRegex");function $n5(t18){let e5=`${Mn7}T${Un6(t18)}`,r5=[];return r5.push(t18.local?"Z?":"Z"),t18.offset&&r5.push("([+-]\\d{2}:?\\d{2})"),e5=`${e5}(${r5.join("|")})`,new RegExp(`^${e5}$`)}o5($n5,"datetimeRegex"),d7.datetimeRegex=$n5;function Oa4(t18,e5){return !!((e5==="v4"||!e5)&&Ta.test(t18)||(e5==="v6"||!e5)&&Sa2.test(t18))}o5(Oa4,"isValidIP");function Za2(t18,e5){if(!ba3.test(t18))return !1;try{let[r5]=t18.split("."),n10=r5.replace(/-/g,"+").replace(/_/g,"/").padEnd(r5.length+(4-r5.length%4)%4,"="),s10=JSON.parse(atob(n10));return !(typeof s10!="object"||s10===null||!s10.typ||!s10.alg||e5&&s10.alg!==e5)}catch{return !1}}o5(Za2,"isValidJWT");function Na3(t18,e5){return !!((e5==="v4"||!e5)&&Ia4.test(t18)||(e5==="v6"||!e5)&&Ca3.test(t18))}o5(Na3,"isValidCidr");var Y12=class t18 extends b8{static{o5(this,"ZodString");}_parse(e5){if(this._def.coerce&&(e5.data=String(e5.data)),this._getType(e5)!==h8.ZodParsedType.string){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.string,received:i7.parsedType}),u5.INVALID}let n10=new u5.ParseStatus,s10;for(let i7 of this._def.checks)if(i7.kind==="min")e5.data.length<i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"string",inclusive:!0,exact:!1,message:i7.message}),n10.dirty());else if(i7.kind==="max")e5.data.length>i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"string",inclusive:!0,exact:!1,message:i7.message}),n10.dirty());else if(i7.kind==="length"){let a5=e5.data.length>i7.value,c10=e5.data.length<i7.value;(a5||c10)&&(s10=this._getOrReturnCtx(e5,s10),a5?(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"string",inclusive:!0,exact:!0,message:i7.message}):c10&&(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"string",inclusive:!0,exact:!0,message:i7.message}),n10.dirty());}else if(i7.kind==="email")wa2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"email",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="emoji")sr6||(sr6=new RegExp(ka3,"u")),sr6.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"emoji",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="uuid")xa2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"uuid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="nanoid")va3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"nanoid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="cuid")ha3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cuid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="cuid2")ya2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cuid2",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="ulid")ga2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"ulid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="url")try{new URL(e5.data);}catch{s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"url",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty();}else i7.kind==="regex"?(i7.regex.lastIndex=0,i7.regex.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"regex",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty())):i7.kind==="trim"?e5.data=e5.data.trim():i7.kind==="includes"?e5.data.includes(i7.value,i7.position)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{includes:i7.value,position:i7.position},message:i7.message}),n10.dirty()):i7.kind==="toLowerCase"?e5.data=e5.data.toLowerCase():i7.kind==="toUpperCase"?e5.data=e5.data.toUpperCase():i7.kind==="startsWith"?e5.data.startsWith(i7.value)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{startsWith:i7.value},message:i7.message}),n10.dirty()):i7.kind==="endsWith"?e5.data.endsWith(i7.value)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{endsWith:i7.value},message:i7.message}),n10.dirty()):i7.kind==="datetime"?$n5(i7).test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"datetime",message:i7.message}),n10.dirty()):i7.kind==="date"?ja2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"date",message:i7.message}),n10.dirty()):i7.kind==="time"?Aa2(i7).test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"time",message:i7.message}),n10.dirty()):i7.kind==="duration"?_a2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"duration",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="ip"?Oa4(e5.data,i7.version)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"ip",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="jwt"?Za2(e5.data,i7.alg)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"jwt",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="cidr"?Na3(e5.data,i7.version)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cidr",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="base64"?Pa3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"base64",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="base64url"?Ea3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"base64url",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):h8.util.assertNever(i7);return {status:n10.value,value:e5.data}}_regex(e5,r5,n10){return this.refinement(s10=>e5.test(s10),{validation:r5,code:m7.ZodIssueCode.invalid_string,...y7.errorUtil.errToObj(n10)})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}email(e5){return this._addCheck({kind:"email",...y7.errorUtil.errToObj(e5)})}url(e5){return this._addCheck({kind:"url",...y7.errorUtil.errToObj(e5)})}emoji(e5){return this._addCheck({kind:"emoji",...y7.errorUtil.errToObj(e5)})}uuid(e5){return this._addCheck({kind:"uuid",...y7.errorUtil.errToObj(e5)})}nanoid(e5){return this._addCheck({kind:"nanoid",...y7.errorUtil.errToObj(e5)})}cuid(e5){return this._addCheck({kind:"cuid",...y7.errorUtil.errToObj(e5)})}cuid2(e5){return this._addCheck({kind:"cuid2",...y7.errorUtil.errToObj(e5)})}ulid(e5){return this._addCheck({kind:"ulid",...y7.errorUtil.errToObj(e5)})}base64(e5){return this._addCheck({kind:"base64",...y7.errorUtil.errToObj(e5)})}base64url(e5){return this._addCheck({kind:"base64url",...y7.errorUtil.errToObj(e5)})}jwt(e5){return this._addCheck({kind:"jwt",...y7.errorUtil.errToObj(e5)})}ip(e5){return this._addCheck({kind:"ip",...y7.errorUtil.errToObj(e5)})}cidr(e5){return this._addCheck({kind:"cidr",...y7.errorUtil.errToObj(e5)})}datetime(e5){var r5,n10;return typeof e5=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e5}):this._addCheck({kind:"datetime",precision:typeof e5?.precision>"u"?null:e5?.precision,offset:(r5=e5?.offset)!==null&&r5!==void 0?r5:!1,local:(n10=e5?.local)!==null&&n10!==void 0?n10:!1,...y7.errorUtil.errToObj(e5?.message)})}date(e5){return this._addCheck({kind:"date",message:e5})}time(e5){return typeof e5=="string"?this._addCheck({kind:"time",precision:null,message:e5}):this._addCheck({kind:"time",precision:typeof e5?.precision>"u"?null:e5?.precision,...y7.errorUtil.errToObj(e5?.message)})}duration(e5){return this._addCheck({kind:"duration",...y7.errorUtil.errToObj(e5)})}regex(e5,r5){return this._addCheck({kind:"regex",regex:e5,...y7.errorUtil.errToObj(r5)})}includes(e5,r5){return this._addCheck({kind:"includes",value:e5,position:r5?.position,...y7.errorUtil.errToObj(r5?.message)})}startsWith(e5,r5){return this._addCheck({kind:"startsWith",value:e5,...y7.errorUtil.errToObj(r5)})}endsWith(e5,r5){return this._addCheck({kind:"endsWith",value:e5,...y7.errorUtil.errToObj(r5)})}min(e5,r5){return this._addCheck({kind:"min",value:e5,...y7.errorUtil.errToObj(r5)})}max(e5,r5){return this._addCheck({kind:"max",value:e5,...y7.errorUtil.errToObj(r5)})}length(e5,r5){return this._addCheck({kind:"length",value:e5,...y7.errorUtil.errToObj(r5)})}nonempty(e5){return this.min(1,y7.errorUtil.errToObj(e5))}trim(){return new t18({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t18({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t18({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return !!this._def.checks.find(e5=>e5.kind==="datetime")}get isDate(){return !!this._def.checks.find(e5=>e5.kind==="date")}get isTime(){return !!this._def.checks.find(e5=>e5.kind==="time")}get isDuration(){return !!this._def.checks.find(e5=>e5.kind==="duration")}get isEmail(){return !!this._def.checks.find(e5=>e5.kind==="email")}get isURL(){return !!this._def.checks.find(e5=>e5.kind==="url")}get isEmoji(){return !!this._def.checks.find(e5=>e5.kind==="emoji")}get isUUID(){return !!this._def.checks.find(e5=>e5.kind==="uuid")}get isNANOID(){return !!this._def.checks.find(e5=>e5.kind==="nanoid")}get isCUID(){return !!this._def.checks.find(e5=>e5.kind==="cuid")}get isCUID2(){return !!this._def.checks.find(e5=>e5.kind==="cuid2")}get isULID(){return !!this._def.checks.find(e5=>e5.kind==="ulid")}get isIP(){return !!this._def.checks.find(e5=>e5.kind==="ip")}get isCIDR(){return !!this._def.checks.find(e5=>e5.kind==="cidr")}get isBase64(){return !!this._def.checks.find(e5=>e5.kind==="base64")}get isBase64url(){return !!this._def.checks.find(e5=>e5.kind==="base64url")}get minLength(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxLength(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}};d7.ZodString=Y12,Y12.create=t18=>{var e5;return new Y12({checks:[],typeName:g5.ZodString,coerce:(e5=t18?.coerce)!==null&&e5!==void 0?e5:!1,...v12(t18)})};function Ra3(t18,e5){let r5=(t18.toString().split(".")[1]||"").length,n10=(e5.toString().split(".")[1]||"").length,s10=r5>n10?r5:n10,i7=parseInt(t18.toFixed(s10).replace(".","")),a5=parseInt(e5.toFixed(s10).replace(".",""));return i7%a5/Math.pow(10,s10)}o5(Ra3,"floatSafeRemainder");var re7=class t18 extends b8{static{o5(this,"ZodNumber");}constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf;}_parse(e5){if(this._def.coerce&&(e5.data=Number(e5.data)),this._getType(e5)!==h8.ZodParsedType.number){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.number,received:i7.parsedType}),u5.INVALID}let n10,s10=new u5.ParseStatus;for(let i7 of this._def.checks)i7.kind==="int"?h8.util.isInteger(e5.data)||(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:i7.message}),s10.dirty()):i7.kind==="min"?(i7.inclusive?e5.data<i7.value:e5.data<=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"number",inclusive:i7.inclusive,exact:!1,message:i7.message}),s10.dirty()):i7.kind==="max"?(i7.inclusive?e5.data>i7.value:e5.data>=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"number",inclusive:i7.inclusive,exact:!1,message:i7.message}),s10.dirty()):i7.kind==="multipleOf"?Ra3(e5.data,i7.value)!==0&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_multiple_of,multipleOf:i7.value,message:i7.message}),s10.dirty()):i7.kind==="finite"?Number.isFinite(e5.data)||(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_finite,message:i7.message}),s10.dirty()):h8.util.assertNever(i7);return {status:s10.value,value:e5.data}}gte(e5,r5){return this.setLimit("min",e5,!0,y7.errorUtil.toString(r5))}gt(e5,r5){return this.setLimit("min",e5,!1,y7.errorUtil.toString(r5))}lte(e5,r5){return this.setLimit("max",e5,!0,y7.errorUtil.toString(r5))}lt(e5,r5){return this.setLimit("max",e5,!1,y7.errorUtil.toString(r5))}setLimit(e5,r5,n10,s10){return new t18({...this._def,checks:[...this._def.checks,{kind:e5,value:r5,inclusive:n10,message:y7.errorUtil.toString(s10)}]})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}int(e5){return this._addCheck({kind:"int",message:y7.errorUtil.toString(e5)})}positive(e5){return this._addCheck({kind:"min",value:0,inclusive:!1,message:y7.errorUtil.toString(e5)})}negative(e5){return this._addCheck({kind:"max",value:0,inclusive:!1,message:y7.errorUtil.toString(e5)})}nonpositive(e5){return this._addCheck({kind:"max",value:0,inclusive:!0,message:y7.errorUtil.toString(e5)})}nonnegative(e5){return this._addCheck({kind:"min",value:0,inclusive:!0,message:y7.errorUtil.toString(e5)})}multipleOf(e5,r5){return this._addCheck({kind:"multipleOf",value:e5,message:y7.errorUtil.toString(r5)})}finite(e5){return this._addCheck({kind:"finite",message:y7.errorUtil.toString(e5)})}safe(e5){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:y7.errorUtil.toString(e5)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:y7.errorUtil.toString(e5)})}get minValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}get isInt(){return !!this._def.checks.find(e5=>e5.kind==="int"||e5.kind==="multipleOf"&&h8.util.isInteger(e5.value))}get isFinite(){let e5=null,r5=null;for(let n10 of this._def.checks){if(n10.kind==="finite"||n10.kind==="int"||n10.kind==="multipleOf")return !0;n10.kind==="min"?(r5===null||n10.value>r5)&&(r5=n10.value):n10.kind==="max"&&(e5===null||n10.value<e5)&&(e5=n10.value);}return Number.isFinite(r5)&&Number.isFinite(e5)}};d7.ZodNumber=re7,re7.create=t18=>new re7({checks:[],typeName:g5.ZodNumber,coerce:t18?.coerce||!1,...v12(t18)});var ne6=class t18 extends b8{static{o5(this,"ZodBigInt");}constructor(){super(...arguments),this.min=this.gte,this.max=this.lte;}_parse(e5){if(this._def.coerce)try{e5.data=BigInt(e5.data);}catch{return this._getInvalidInput(e5)}if(this._getType(e5)!==h8.ZodParsedType.bigint)return this._getInvalidInput(e5);let n10,s10=new u5.ParseStatus;for(let i7 of this._def.checks)i7.kind==="min"?(i7.inclusive?e5.data<i7.value:e5.data<=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,type:"bigint",minimum:i7.value,inclusive:i7.inclusive,message:i7.message}),s10.dirty()):i7.kind==="max"?(i7.inclusive?e5.data>i7.value:e5.data>=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,type:"bigint",maximum:i7.value,inclusive:i7.inclusive,message:i7.message}),s10.dirty()):i7.kind==="multipleOf"?e5.data%i7.value!==BigInt(0)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_multiple_of,multipleOf:i7.value,message:i7.message}),s10.dirty()):h8.util.assertNever(i7);return {status:s10.value,value:e5.data}}_getInvalidInput(e5){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.bigint,received:r5.parsedType}),u5.INVALID}gte(e5,r5){return this.setLimit("min",e5,!0,y7.errorUtil.toString(r5))}gt(e5,r5){return this.setLimit("min",e5,!1,y7.errorUtil.toString(r5))}lte(e5,r5){return this.setLimit("max",e5,!0,y7.errorUtil.toString(r5))}lt(e5,r5){return this.setLimit("max",e5,!1,y7.errorUtil.toString(r5))}setLimit(e5,r5,n10,s10){return new t18({...this._def,checks:[...this._def.checks,{kind:e5,value:r5,inclusive:n10,message:y7.errorUtil.toString(s10)}]})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}positive(e5){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:y7.errorUtil.toString(e5)})}negative(e5){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:y7.errorUtil.toString(e5)})}nonpositive(e5){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:y7.errorUtil.toString(e5)})}nonnegative(e5){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:y7.errorUtil.toString(e5)})}multipleOf(e5,r5){return this._addCheck({kind:"multipleOf",value:e5,message:y7.errorUtil.toString(r5)})}get minValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}};d7.ZodBigInt=ne6,ne6.create=t18=>{var e5;return new ne6({checks:[],typeName:g5.ZodBigInt,coerce:(e5=t18?.coerce)!==null&&e5!==void 0?e5:!1,...v12(t18)})};var se6=class extends b8{static{o5(this,"ZodBoolean");}_parse(e5){if(this._def.coerce&&(e5.data=!!e5.data),this._getType(e5)!==h8.ZodParsedType.boolean){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.boolean,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodBoolean=se6,se6.create=t18=>new se6({typeName:g5.ZodBoolean,coerce:t18?.coerce||!1,...v12(t18)});var ie8=class t18 extends b8{static{o5(this,"ZodDate");}_parse(e5){if(this._def.coerce&&(e5.data=new Date(e5.data)),this._getType(e5)!==h8.ZodParsedType.date){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.date,received:i7.parsedType}),u5.INVALID}if(isNaN(e5.data.getTime())){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_date}),u5.INVALID}let n10=new u5.ParseStatus,s10;for(let i7 of this._def.checks)i7.kind==="min"?e5.data.getTime()<i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,message:i7.message,inclusive:!0,exact:!1,minimum:i7.value,type:"date"}),n10.dirty()):i7.kind==="max"?e5.data.getTime()>i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,message:i7.message,inclusive:!0,exact:!1,maximum:i7.value,type:"date"}),n10.dirty()):h8.util.assertNever(i7);return {status:n10.value,value:new Date(e5.data.getTime())}}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}min(e5,r5){return this._addCheck({kind:"min",value:e5.getTime(),message:y7.errorUtil.toString(r5)})}max(e5,r5){return this._addCheck({kind:"max",value:e5.getTime(),message:y7.errorUtil.toString(r5)})}get minDate(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5!=null?new Date(e5):null}get maxDate(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5!=null?new Date(e5):null}};d7.ZodDate=ie8,ie8.create=t18=>new ie8({checks:[],coerce:t18?.coerce||!1,typeName:g5.ZodDate,...v12(t18)});var we6=class extends b8{static{o5(this,"ZodSymbol");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.symbol){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.symbol,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodSymbol=we6,we6.create=t18=>new we6({typeName:g5.ZodSymbol,...v12(t18)});var oe6=class extends b8{static{o5(this,"ZodUndefined");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.undefined){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.undefined,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodUndefined=oe6,oe6.create=t18=>new oe6({typeName:g5.ZodUndefined,...v12(t18)});var ae6=class extends b8{static{o5(this,"ZodNull");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.null){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.null,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodNull=ae6,ae6.create=t18=>new ae6({typeName:g5.ZodNull,...v12(t18)});var X13=class extends b8{static{o5(this,"ZodAny");}constructor(){super(...arguments),this._any=!0;}_parse(e5){return (0, u5.OK)(e5.data)}};d7.ZodAny=X13,X13.create=t18=>new X13({typeName:g5.ZodAny,...v12(t18)});var W12=class extends b8{static{o5(this,"ZodUnknown");}constructor(){super(...arguments),this._unknown=!0;}_parse(e5){return (0, u5.OK)(e5.data)}};d7.ZodUnknown=W12,W12.create=t18=>new W12({typeName:g5.ZodUnknown,...v12(t18)});var U12=class extends b8{static{o5(this,"ZodNever");}_parse(e5){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.never,received:r5.parsedType}),u5.INVALID}};d7.ZodNever=U12,U12.create=t18=>new U12({typeName:g5.ZodNever,...v12(t18)});var ke10=class extends b8{static{o5(this,"ZodVoid");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.undefined){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.void,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodVoid=ke10,ke10.create=t18=>new ke10({typeName:g5.ZodVoid,...v12(t18)});var J13=class t18 extends b8{static{o5(this,"ZodArray");}_parse(e5){let{ctx:r5,status:n10}=this._processInputParams(e5),s10=this._def;if(r5.parsedType!==h8.ZodParsedType.array)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.array,received:r5.parsedType}),u5.INVALID;if(s10.exactLength!==null){let a5=r5.data.length>s10.exactLength.value,c10=r5.data.length<s10.exactLength.value;(a5||c10)&&((0, u5.addIssueToContext)(r5,{code:a5?m7.ZodIssueCode.too_big:m7.ZodIssueCode.too_small,minimum:c10?s10.exactLength.value:void 0,maximum:a5?s10.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s10.exactLength.message}),n10.dirty());}if(s10.minLength!==null&&r5.data.length<s10.minLength.value&&((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.too_small,minimum:s10.minLength.value,type:"array",inclusive:!0,exact:!1,message:s10.minLength.message}),n10.dirty()),s10.maxLength!==null&&r5.data.length>s10.maxLength.value&&((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.too_big,maximum:s10.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s10.maxLength.message}),n10.dirty()),r5.common.async)return Promise.all([...r5.data].map((a5,c10)=>s10.type._parseAsync(new L11(r5,a5,r5.path,c10)))).then(a5=>u5.ParseStatus.mergeArray(n10,a5));let i7=[...r5.data].map((a5,c10)=>s10.type._parseSync(new L11(r5,a5,r5.path,c10)));return u5.ParseStatus.mergeArray(n10,i7)}get element(){return this._def.type}min(e5,r5){return new t18({...this._def,minLength:{value:e5,message:y7.errorUtil.toString(r5)}})}max(e5,r5){return new t18({...this._def,maxLength:{value:e5,message:y7.errorUtil.toString(r5)}})}length(e5,r5){return new t18({...this._def,exactLength:{value:e5,message:y7.errorUtil.toString(r5)}})}nonempty(e5){return this.min(1,e5)}};d7.ZodArray=J13,J13.create=(t18,e5)=>new J13({type:t18,minLength:null,maxLength:null,exactLength:null,typeName:g5.ZodArray,...v12(e5)});function _e7(t18){if(t18 instanceof Z14){let e5={};for(let r5 in t18.shape){let n10=t18.shape[r5];e5[r5]=D10.create(_e7(n10));}return new Z14({...t18._def,shape:o5(()=>e5,"shape")})}else return t18 instanceof J13?new J13({...t18._def,type:_e7(t18.element)}):t18 instanceof D10?D10.create(_e7(t18.unwrap())):t18 instanceof B11?B11.create(_e7(t18.unwrap())):t18 instanceof F8?F8.create(t18.items.map(e5=>_e7(e5))):t18}o5(_e7,"deepPartialify");var Z14=class t18 extends b8{static{o5(this,"ZodObject");}constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend;}_getCached(){if(this._cached!==null)return this._cached;let e5=this._def.shape(),r5=h8.util.objectKeys(e5);return this._cached={shape:e5,keys:r5}}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.object){let l7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(l7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:l7.parsedType}),u5.INVALID}let{status:n10,ctx:s10}=this._processInputParams(e5),{shape:i7,keys:a5}=this._getCached(),c10=[];if(!(this._def.catchall instanceof U12&&this._def.unknownKeys==="strip"))for(let l7 in s10.data)a5.includes(l7)||c10.push(l7);let p7=[];for(let l7 of a5){let f11=i7[l7],x8=s10.data[l7];p7.push({key:{status:"valid",value:l7},value:f11._parse(new L11(s10,x8,s10.path,l7)),alwaysSet:l7 in s10.data});}if(this._def.catchall instanceof U12){let l7=this._def.unknownKeys;if(l7==="passthrough")for(let f11 of c10)p7.push({key:{status:"valid",value:f11},value:{status:"valid",value:s10.data[f11]}});else if(l7==="strict")c10.length>0&&((0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.unrecognized_keys,keys:c10}),n10.dirty());else if(l7!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else {let l7=this._def.catchall;for(let f11 of c10){let x8=s10.data[f11];p7.push({key:{status:"valid",value:f11},value:l7._parse(new L11(s10,x8,s10.path,f11)),alwaysSet:f11 in s10.data});}}return s10.common.async?Promise.resolve().then(async()=>{let l7=[];for(let f11 of p7){let x8=await f11.key,w8=await f11.value;l7.push({key:x8,value:w8,alwaysSet:f11.alwaysSet});}return l7}).then(l7=>u5.ParseStatus.mergeObjectSync(n10,l7)):u5.ParseStatus.mergeObjectSync(n10,p7)}get shape(){return this._def.shape()}strict(e5){return y7.errorUtil.errToObj,new t18({...this._def,unknownKeys:"strict",...e5!==void 0?{errorMap:o5((r5,n10)=>{var s10,i7,a5,c10;let p7=(a5=(i7=(s10=this._def).errorMap)===null||i7===void 0?void 0:i7.call(s10,r5,n10).message)!==null&&a5!==void 0?a5:n10.defaultError;return r5.code==="unrecognized_keys"?{message:(c10=y7.errorUtil.errToObj(e5).message)!==null&&c10!==void 0?c10:p7}:{message:p7}},"errorMap")}:{}})}strip(){return new t18({...this._def,unknownKeys:"strip"})}passthrough(){return new t18({...this._def,unknownKeys:"passthrough"})}extend(e5){return new t18({...this._def,shape:o5(()=>({...this._def.shape(),...e5}),"shape")})}merge(e5){return new t18({unknownKeys:e5._def.unknownKeys,catchall:e5._def.catchall,shape:o5(()=>({...this._def.shape(),...e5._def.shape()}),"shape"),typeName:g5.ZodObject})}setKey(e5,r5){return this.augment({[e5]:r5})}catchall(e5){return new t18({...this._def,catchall:e5})}pick(e5){let r5={};return h8.util.objectKeys(e5).forEach(n10=>{e5[n10]&&this.shape[n10]&&(r5[n10]=this.shape[n10]);}),new t18({...this._def,shape:o5(()=>r5,"shape")})}omit(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{e5[n10]||(r5[n10]=this.shape[n10]);}),new t18({...this._def,shape:o5(()=>r5,"shape")})}deepPartial(){return _e7(this)}partial(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{let s10=this.shape[n10];e5&&!e5[n10]?r5[n10]=s10:r5[n10]=s10.optional();}),new t18({...this._def,shape:o5(()=>r5,"shape")})}required(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{if(e5&&!e5[n10])r5[n10]=this.shape[n10];else {let i7=this.shape[n10];for(;i7 instanceof D10;)i7=i7._def.innerType;r5[n10]=i7;}}),new t18({...this._def,shape:o5(()=>r5,"shape")})}keyof(){return Vn4(h8.util.objectKeys(this.shape))}};d7.ZodObject=Z14,Z14.create=(t18,e5)=>new Z14({shape:o5(()=>t18,"shape"),unknownKeys:"strip",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)}),Z14.strictCreate=(t18,e5)=>new Z14({shape:o5(()=>t18,"shape"),unknownKeys:"strict",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)}),Z14.lazycreate=(t18,e5)=>new Z14({shape:t18,unknownKeys:"strip",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)});var ce6=class extends b8{static{o5(this,"ZodUnion");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=this._def.options;function s10(i7){for(let c10 of i7)if(c10.result.status==="valid")return c10.result;for(let c10 of i7)if(c10.result.status==="dirty")return r5.common.issues.push(...c10.ctx.common.issues),c10.result;let a5=i7.map(c10=>new m7.ZodError(c10.ctx.common.issues));return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union,unionErrors:a5}),u5.INVALID}if(o5(s10,"handleResults"),r5.common.async)return Promise.all(n10.map(async i7=>{let a5={...r5,common:{...r5.common,issues:[]},parent:null};return {result:await i7._parseAsync({data:r5.data,path:r5.path,parent:a5}),ctx:a5}})).then(s10);{let i7,a5=[];for(let p7 of n10){let l7={...r5,common:{...r5.common,issues:[]},parent:null},f11=p7._parseSync({data:r5.data,path:r5.path,parent:l7});if(f11.status==="valid")return f11;f11.status==="dirty"&&!i7&&(i7={result:f11,ctx:l7}),l7.common.issues.length&&a5.push(l7.common.issues);}if(i7)return r5.common.issues.push(...i7.ctx.common.issues),i7.result;let c10=a5.map(p7=>new m7.ZodError(p7));return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union,unionErrors:c10}),u5.INVALID}}get options(){return this._def.options}};d7.ZodUnion=ce6,ce6.create=(t18,e5)=>new ce6({options:t18,typeName:g5.ZodUnion,...v12(e5)});var G13=o5(t18=>t18 instanceof ue7?G13(t18.schema):t18 instanceof R10?G13(t18.innerType()):t18 instanceof le7?[t18.value]:t18 instanceof pe6?t18.options:t18 instanceof fe6?h8.util.objectValues(t18.enum):t18 instanceof me9?G13(t18._def.innerType):t18 instanceof oe6?[void 0]:t18 instanceof ae6?[null]:t18 instanceof D10?[void 0,...G13(t18.unwrap())]:t18 instanceof B11?[null,...G13(t18.unwrap())]:t18 instanceof Fe7||t18 instanceof ye7?G13(t18.unwrap()):t18 instanceof he5?G13(t18._def.innerType):[],"getDiscriminator"),yt8=class t18 extends b8{static{o5(this,"ZodDiscriminatedUnion");}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.object)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:r5.parsedType}),u5.INVALID;let n10=this.discriminator,s10=r5.data[n10],i7=this.optionsMap.get(s10);return i7?r5.common.async?i7._parseAsync({data:r5.data,path:r5.path,parent:r5}):i7._parseSync({data:r5.data,path:r5.path,parent:r5}):((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n10]}),u5.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e5,r5,n10){let s10=new Map;for(let i7 of r5){let a5=G13(i7.shape[e5]);if(!a5.length)throw new Error(`A discriminator value for key \`${e5}\` could not be extracted from all schema options`);for(let c10 of a5){if(s10.has(c10))throw new Error(`Discriminator property ${String(e5)} has duplicate value ${String(c10)}`);s10.set(c10,i7);}}return new t18({typeName:g5.ZodDiscriminatedUnion,discriminator:e5,options:r5,optionsMap:s10,...v12(n10)})}};d7.ZodDiscriminatedUnion=yt8;function ir6(t18,e5){let r5=(0, h8.getParsedType)(t18),n10=(0, h8.getParsedType)(e5);if(t18===e5)return {valid:!0,data:t18};if(r5===h8.ZodParsedType.object&&n10===h8.ZodParsedType.object){let s10=h8.util.objectKeys(e5),i7=h8.util.objectKeys(t18).filter(c10=>s10.indexOf(c10)!==-1),a5={...t18,...e5};for(let c10 of i7){let p7=ir6(t18[c10],e5[c10]);if(!p7.valid)return {valid:!1};a5[c10]=p7.data;}return {valid:!0,data:a5}}else if(r5===h8.ZodParsedType.array&&n10===h8.ZodParsedType.array){if(t18.length!==e5.length)return {valid:!1};let s10=[];for(let i7=0;i7<t18.length;i7++){let a5=t18[i7],c10=e5[i7],p7=ir6(a5,c10);if(!p7.valid)return {valid:!1};s10.push(p7.data);}return {valid:!0,data:s10}}else return r5===h8.ZodParsedType.date&&n10===h8.ZodParsedType.date&&+t18==+e5?{valid:!0,data:t18}:{valid:!1}}o5(ir6,"mergeValues");var de8=class extends b8{static{o5(this,"ZodIntersection");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5),s10=o5((i7,a5)=>{if((0, u5.isAborted)(i7)||(0, u5.isAborted)(a5))return u5.INVALID;let c10=ir6(i7.value,a5.value);return c10.valid?(((0, u5.isDirty)(i7)||(0, u5.isDirty)(a5))&&r5.dirty(),{status:r5.value,value:c10.data}):((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_intersection_types}),u5.INVALID)},"handleParsed");return n10.common.async?Promise.all([this._def.left._parseAsync({data:n10.data,path:n10.path,parent:n10}),this._def.right._parseAsync({data:n10.data,path:n10.path,parent:n10})]).then(([i7,a5])=>s10(i7,a5)):s10(this._def.left._parseSync({data:n10.data,path:n10.path,parent:n10}),this._def.right._parseSync({data:n10.data,path:n10.path,parent:n10}))}};d7.ZodIntersection=de8,de8.create=(t18,e5,r5)=>new de8({left:t18,right:e5,typeName:g5.ZodIntersection,...v12(r5)});var F8=class t18 extends b8{static{o5(this,"ZodTuple");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.array)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.array,received:n10.parsedType}),u5.INVALID;if(n10.data.length<this._def.items.length)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),u5.INVALID;!this._def.rest&&n10.data.length>this._def.items.length&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r5.dirty());let i7=[...n10.data].map((a5,c10)=>{let p7=this._def.items[c10]||this._def.rest;return p7?p7._parse(new L11(n10,a5,n10.path,c10)):null}).filter(a5=>!!a5);return n10.common.async?Promise.all(i7).then(a5=>u5.ParseStatus.mergeArray(r5,a5)):u5.ParseStatus.mergeArray(r5,i7)}get items(){return this._def.items}rest(e5){return new t18({...this._def,rest:e5})}};d7.ZodTuple=F8,F8.create=(t18,e5)=>{if(!Array.isArray(t18))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new F8({items:t18,typeName:g5.ZodTuple,rest:null,...v12(e5)})};var gt6=class t18 extends b8{static{o5(this,"ZodRecord");}get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.object)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:n10.parsedType}),u5.INVALID;let s10=[],i7=this._def.keyType,a5=this._def.valueType;for(let c10 in n10.data)s10.push({key:i7._parse(new L11(n10,c10,n10.path,c10)),value:a5._parse(new L11(n10,n10.data[c10],n10.path,c10)),alwaysSet:c10 in n10.data});return n10.common.async?u5.ParseStatus.mergeObjectAsync(r5,s10):u5.ParseStatus.mergeObjectSync(r5,s10)}get element(){return this._def.valueType}static create(e5,r5,n10){return r5 instanceof b8?new t18({keyType:e5,valueType:r5,typeName:g5.ZodRecord,...v12(n10)}):new t18({keyType:Y12.create(),valueType:e5,typeName:g5.ZodRecord,...v12(r5)})}};d7.ZodRecord=gt6;var Te8=class extends b8{static{o5(this,"ZodMap");}get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.map)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.map,received:n10.parsedType}),u5.INVALID;let s10=this._def.keyType,i7=this._def.valueType,a5=[...n10.data.entries()].map(([c10,p7],l7)=>({key:s10._parse(new L11(n10,c10,n10.path,[l7,"key"])),value:i7._parse(new L11(n10,p7,n10.path,[l7,"value"]))}));if(n10.common.async){let c10=new Map;return Promise.resolve().then(async()=>{for(let p7 of a5){let l7=await p7.key,f11=await p7.value;if(l7.status==="aborted"||f11.status==="aborted")return u5.INVALID;(l7.status==="dirty"||f11.status==="dirty")&&r5.dirty(),c10.set(l7.value,f11.value);}return {status:r5.value,value:c10}})}else {let c10=new Map;for(let p7 of a5){let l7=p7.key,f11=p7.value;if(l7.status==="aborted"||f11.status==="aborted")return u5.INVALID;(l7.status==="dirty"||f11.status==="dirty")&&r5.dirty(),c10.set(l7.value,f11.value);}return {status:r5.value,value:c10}}}};d7.ZodMap=Te8,Te8.create=(t18,e5,r5)=>new Te8({valueType:e5,keyType:t18,typeName:g5.ZodMap,...v12(r5)});var Ie9=class t18 extends b8{static{o5(this,"ZodSet");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.set)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.set,received:n10.parsedType}),u5.INVALID;let s10=this._def;s10.minSize!==null&&n10.data.size<s10.minSize.value&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:s10.minSize.value,type:"set",inclusive:!0,exact:!1,message:s10.minSize.message}),r5.dirty()),s10.maxSize!==null&&n10.data.size>s10.maxSize.value&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:s10.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s10.maxSize.message}),r5.dirty());let i7=this._def.valueType;function a5(p7){let l7=new Set;for(let f11 of p7){if(f11.status==="aborted")return u5.INVALID;f11.status==="dirty"&&r5.dirty(),l7.add(f11.value);}return {status:r5.value,value:l7}}o5(a5,"finalizeSet");let c10=[...n10.data.values()].map((p7,l7)=>i7._parse(new L11(n10,p7,n10.path,l7)));return n10.common.async?Promise.all(c10).then(p7=>a5(p7)):a5(c10)}min(e5,r5){return new t18({...this._def,minSize:{value:e5,message:y7.errorUtil.toString(r5)}})}max(e5,r5){return new t18({...this._def,maxSize:{value:e5,message:y7.errorUtil.toString(r5)}})}size(e5,r5){return this.min(e5,r5).max(e5,r5)}nonempty(e5){return this.min(1,e5)}};d7.ZodSet=Ie9,Ie9.create=(t18,e5)=>new Ie9({valueType:t18,minSize:null,maxSize:null,typeName:g5.ZodSet,...v12(e5)});var xt7=class t18 extends b8{static{o5(this,"ZodFunction");}constructor(){super(...arguments),this.validate=this.implement;}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.function)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.function,received:r5.parsedType}),u5.INVALID;function n10(c10,p7){return (0, u5.makeIssue)({data:c10,path:r5.path,errorMaps:[r5.common.contextualErrorMap,r5.schemaErrorMap,(0, mt5.getErrorMap)(),mt5.defaultErrorMap].filter(l7=>!!l7),issueData:{code:m7.ZodIssueCode.invalid_arguments,argumentsError:p7}})}o5(n10,"makeArgsIssue");function s10(c10,p7){return (0, u5.makeIssue)({data:c10,path:r5.path,errorMaps:[r5.common.contextualErrorMap,r5.schemaErrorMap,(0, mt5.getErrorMap)(),mt5.defaultErrorMap].filter(l7=>!!l7),issueData:{code:m7.ZodIssueCode.invalid_return_type,returnTypeError:p7}})}o5(s10,"makeReturnsIssue");let i7={errorMap:r5.common.contextualErrorMap},a5=r5.data;if(this._def.returns instanceof Q12){let c10=this;return (0, u5.OK)(async function(...p7){let l7=new m7.ZodError([]),f11=await c10._def.args.parseAsync(p7,i7).catch(_11=>{throw l7.addIssue(n10(p7,_11)),l7}),x8=await Reflect.apply(a5,this,f11);return await c10._def.returns._def.type.parseAsync(x8,i7).catch(_11=>{throw l7.addIssue(s10(x8,_11)),l7})})}else {let c10=this;return (0, u5.OK)(function(...p7){let l7=c10._def.args.safeParse(p7,i7);if(!l7.success)throw new m7.ZodError([n10(p7,l7.error)]);let f11=Reflect.apply(a5,this,l7.data),x8=c10._def.returns.safeParse(f11,i7);if(!x8.success)throw new m7.ZodError([s10(f11,x8.error)]);return x8.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e5){return new t18({...this._def,args:F8.create(e5).rest(W12.create())})}returns(e5){return new t18({...this._def,returns:e5})}implement(e5){return this.parse(e5)}strictImplement(e5){return this.parse(e5)}static create(e5,r5,n10){return new t18({args:e5||F8.create([]).rest(W12.create()),returns:r5||W12.create(),typeName:g5.ZodFunction,...v12(n10)})}};d7.ZodFunction=xt7;var ue7=class extends b8{static{o5(this,"ZodLazy");}get schema(){return this._def.getter()}_parse(e5){let{ctx:r5}=this._processInputParams(e5);return this._def.getter()._parse({data:r5.data,path:r5.path,parent:r5})}};d7.ZodLazy=ue7,ue7.create=(t18,e5)=>new ue7({getter:t18,typeName:g5.ZodLazy,...v12(e5)});var le7=class extends b8{static{o5(this,"ZodLiteral");}_parse(e5){if(e5.data!==this._def.value){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{received:r5.data,code:m7.ZodIssueCode.invalid_literal,expected:this._def.value}),u5.INVALID}return {status:"valid",value:e5.data}}get value(){return this._def.value}};d7.ZodLiteral=le7,le7.create=(t18,e5)=>new le7({value:t18,typeName:g5.ZodLiteral,...v12(e5)});function Vn4(t18,e5){return new pe6({values:t18,typeName:g5.ZodEnum,...v12(e5)})}o5(Vn4,"createZodEnum");var pe6=class t18 extends b8{static{o5(this,"ZodEnum");}constructor(){super(...arguments),$e6.set(this,void 0);}_parse(e5){if(typeof e5.data!="string"){let r5=this._getOrReturnCtx(e5),n10=this._def.values;return (0, u5.addIssueToContext)(r5,{expected:h8.util.joinValues(n10),received:r5.parsedType,code:m7.ZodIssueCode.invalid_type}),u5.INVALID}if(ht5(this,$e6,"f")||Ln7(this,$e6,new Set(this._def.values),"f"),!ht5(this,$e6,"f").has(e5.data)){let r5=this._getOrReturnCtx(e5),n10=this._def.values;return (0, u5.addIssueToContext)(r5,{received:r5.data,code:m7.ZodIssueCode.invalid_enum_value,options:n10}),u5.INVALID}return (0, u5.OK)(e5.data)}get options(){return this._def.values}get enum(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}get Values(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}get Enum(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}extract(e5,r5=this._def){return t18.create(e5,{...this._def,...r5})}exclude(e5,r5=this._def){return t18.create(this.options.filter(n10=>!e5.includes(n10)),{...this._def,...r5})}};d7.ZodEnum=pe6,$e6=new WeakMap,pe6.create=Vn4;var fe6=class extends b8{static{o5(this,"ZodNativeEnum");}constructor(){super(...arguments),Ve9.set(this,void 0);}_parse(e5){let r5=h8.util.getValidEnumValues(this._def.values),n10=this._getOrReturnCtx(e5);if(n10.parsedType!==h8.ZodParsedType.string&&n10.parsedType!==h8.ZodParsedType.number){let s10=h8.util.objectValues(r5);return (0, u5.addIssueToContext)(n10,{expected:h8.util.joinValues(s10),received:n10.parsedType,code:m7.ZodIssueCode.invalid_type}),u5.INVALID}if(ht5(this,Ve9,"f")||Ln7(this,Ve9,new Set(h8.util.getValidEnumValues(this._def.values)),"f"),!ht5(this,Ve9,"f").has(e5.data)){let s10=h8.util.objectValues(r5);return (0, u5.addIssueToContext)(n10,{received:n10.data,code:m7.ZodIssueCode.invalid_enum_value,options:s10}),u5.INVALID}return (0, u5.OK)(e5.data)}get enum(){return this._def.values}};d7.ZodNativeEnum=fe6,Ve9=new WeakMap,fe6.create=(t18,e5)=>new fe6({values:t18,typeName:g5.ZodNativeEnum,...v12(e5)});var Q12=class extends b8{static{o5(this,"ZodPromise");}unwrap(){return this._def.type}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.promise&&r5.common.async===!1)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.promise,received:r5.parsedType}),u5.INVALID;let n10=r5.parsedType===h8.ZodParsedType.promise?r5.data:Promise.resolve(r5.data);return (0, u5.OK)(n10.then(s10=>this._def.type.parseAsync(s10,{path:r5.path,errorMap:r5.common.contextualErrorMap})))}};d7.ZodPromise=Q12,Q12.create=(t18,e5)=>new Q12({type:t18,typeName:g5.ZodPromise,...v12(e5)});var R10=class extends b8{static{o5(this,"ZodEffects");}innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===g5.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5),s10=this._def.effect||null,i7={addIssue:o5(a5=>{(0, u5.addIssueToContext)(n10,a5),a5.fatal?r5.abort():r5.dirty();},"addIssue"),get path(){return n10.path}};if(i7.addIssue=i7.addIssue.bind(i7),s10.type==="preprocess"){let a5=s10.transform(n10.data,i7);if(n10.common.async)return Promise.resolve(a5).then(async c10=>{if(r5.value==="aborted")return u5.INVALID;let p7=await this._def.schema._parseAsync({data:c10,path:n10.path,parent:n10});return p7.status==="aborted"?u5.INVALID:p7.status==="dirty"||r5.value==="dirty"?(0, u5.DIRTY)(p7.value):p7});{if(r5.value==="aborted")return u5.INVALID;let c10=this._def.schema._parseSync({data:a5,path:n10.path,parent:n10});return c10.status==="aborted"?u5.INVALID:c10.status==="dirty"||r5.value==="dirty"?(0, u5.DIRTY)(c10.value):c10}}if(s10.type==="refinement"){let a5=o5(c10=>{let p7=s10.refinement(c10,i7);if(n10.common.async)return Promise.resolve(p7);if(p7 instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c10},"executeRefinement");if(n10.common.async===!1){let c10=this._def.schema._parseSync({data:n10.data,path:n10.path,parent:n10});return c10.status==="aborted"?u5.INVALID:(c10.status==="dirty"&&r5.dirty(),a5(c10.value),{status:r5.value,value:c10.value})}else return this._def.schema._parseAsync({data:n10.data,path:n10.path,parent:n10}).then(c10=>c10.status==="aborted"?u5.INVALID:(c10.status==="dirty"&&r5.dirty(),a5(c10.value).then(()=>({status:r5.value,value:c10.value}))))}if(s10.type==="transform")if(n10.common.async===!1){let a5=this._def.schema._parseSync({data:n10.data,path:n10.path,parent:n10});if(!(0, u5.isValid)(a5))return a5;let c10=s10.transform(a5.value,i7);if(c10 instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return {status:r5.value,value:c10}}else return this._def.schema._parseAsync({data:n10.data,path:n10.path,parent:n10}).then(a5=>(0, u5.isValid)(a5)?Promise.resolve(s10.transform(a5.value,i7)).then(c10=>({status:r5.value,value:c10})):a5);h8.util.assertNever(s10);}};d7.ZodEffects=R10,d7.ZodTransformer=R10,R10.create=(t18,e5,r5)=>new R10({schema:t18,typeName:g5.ZodEffects,effect:e5,...v12(r5)}),R10.createWithPreprocess=(t18,e5,r5)=>new R10({schema:e5,effect:{type:"preprocess",transform:t18},typeName:g5.ZodEffects,...v12(r5)});var D10=class extends b8{static{o5(this,"ZodOptional");}_parse(e5){return this._getType(e5)===h8.ZodParsedType.undefined?(0, u5.OK)(void 0):this._def.innerType._parse(e5)}unwrap(){return this._def.innerType}};d7.ZodOptional=D10,D10.create=(t18,e5)=>new D10({innerType:t18,typeName:g5.ZodOptional,...v12(e5)});var B11=class extends b8{static{o5(this,"ZodNullable");}_parse(e5){return this._getType(e5)===h8.ZodParsedType.null?(0, u5.OK)(null):this._def.innerType._parse(e5)}unwrap(){return this._def.innerType}};d7.ZodNullable=B11,B11.create=(t18,e5)=>new B11({innerType:t18,typeName:g5.ZodNullable,...v12(e5)});var me9=class extends b8{static{o5(this,"ZodDefault");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=r5.data;return r5.parsedType===h8.ZodParsedType.undefined&&(n10=this._def.defaultValue()),this._def.innerType._parse({data:n10,path:r5.path,parent:r5})}removeDefault(){return this._def.innerType}};d7.ZodDefault=me9,me9.create=(t18,e5)=>new me9({innerType:t18,typeName:g5.ZodDefault,defaultValue:typeof e5.default=="function"?e5.default:()=>e5.default,...v12(e5)});var he5=class extends b8{static{o5(this,"ZodCatch");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10={...r5,common:{...r5.common,issues:[]}},s10=this._def.innerType._parse({data:n10.data,path:n10.path,parent:{...n10}});return (0, u5.isAsync)(s10)?s10.then(i7=>({status:"valid",value:i7.status==="valid"?i7.value:this._def.catchValue({get error(){return new m7.ZodError(n10.common.issues)},input:n10.data})})):{status:"valid",value:s10.status==="valid"?s10.value:this._def.catchValue({get error(){return new m7.ZodError(n10.common.issues)},input:n10.data})}}removeCatch(){return this._def.innerType}};d7.ZodCatch=he5,he5.create=(t18,e5)=>new he5({innerType:t18,typeName:g5.ZodCatch,catchValue:typeof e5.catch=="function"?e5.catch:()=>e5.catch,...v12(e5)});var Se7=class extends b8{static{o5(this,"ZodNaN");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.nan){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.nan,received:n10.parsedType}),u5.INVALID}return {status:"valid",value:e5.data}}};d7.ZodNaN=Se7,Se7.create=t18=>new Se7({typeName:g5.ZodNaN,...v12(t18)}),d7.BRAND=Symbol("zod_brand");var Fe7=class extends b8{static{o5(this,"ZodBranded");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=r5.data;return this._def.type._parse({data:n10,path:r5.path,parent:r5})}unwrap(){return this._def.type}};d7.ZodBranded=Fe7;var Be7=class t18 extends b8{static{o5(this,"ZodPipeline");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.common.async)return o5(async()=>{let i7=await this._def.in._parseAsync({data:n10.data,path:n10.path,parent:n10});return i7.status==="aborted"?u5.INVALID:i7.status==="dirty"?(r5.dirty(),(0, u5.DIRTY)(i7.value)):this._def.out._parseAsync({data:i7.value,path:n10.path,parent:n10})},"handleAsync")();{let s10=this._def.in._parseSync({data:n10.data,path:n10.path,parent:n10});return s10.status==="aborted"?u5.INVALID:s10.status==="dirty"?(r5.dirty(),{status:"dirty",value:s10.value}):this._def.out._parseSync({data:s10.value,path:n10.path,parent:n10})}}static create(e5,r5){return new t18({in:e5,out:r5,typeName:g5.ZodPipeline})}};d7.ZodPipeline=Be7;var ye7=class extends b8{static{o5(this,"ZodReadonly");}_parse(e5){let r5=this._def.innerType._parse(e5),n10=o5(s10=>((0, u5.isValid)(s10)&&(s10.value=Object.freeze(s10.value)),s10),"freeze");return (0, u5.isAsync)(r5)?r5.then(s10=>n10(s10)):n10(r5)}unwrap(){return this._def.innerType}};d7.ZodReadonly=ye7,ye7.create=(t18,e5)=>new ye7({innerType:t18,typeName:g5.ZodReadonly,...v12(e5)});function Dn7(t18,e5){let r5=typeof t18=="function"?t18(e5):typeof t18=="string"?{message:t18}:t18;return typeof r5=="string"?{message:r5}:r5}o5(Dn7,"cleanParams");function Fn6(t18,e5={},r5){return t18?X13.create().superRefine((n10,s10)=>{var i7,a5;let c10=t18(n10);if(c10 instanceof Promise)return c10.then(p7=>{var l7,f11;if(!p7){let x8=Dn7(e5,n10),w8=(f11=(l7=x8.fatal)!==null&&l7!==void 0?l7:r5)!==null&&f11!==void 0?f11:!0;s10.addIssue({code:"custom",...x8,fatal:w8});}});if(!c10){let p7=Dn7(e5,n10),l7=(a5=(i7=p7.fatal)!==null&&i7!==void 0?i7:r5)!==null&&a5!==void 0?a5:!0;s10.addIssue({code:"custom",...p7,fatal:l7});}}):X13.create()}o5(Fn6,"custom"),d7.custom=Fn6,d7.late={object:Z14.lazycreate};var g5;(function(t18){t18.ZodString="ZodString",t18.ZodNumber="ZodNumber",t18.ZodNaN="ZodNaN",t18.ZodBigInt="ZodBigInt",t18.ZodBoolean="ZodBoolean",t18.ZodDate="ZodDate",t18.ZodSymbol="ZodSymbol",t18.ZodUndefined="ZodUndefined",t18.ZodNull="ZodNull",t18.ZodAny="ZodAny",t18.ZodUnknown="ZodUnknown",t18.ZodNever="ZodNever",t18.ZodVoid="ZodVoid",t18.ZodArray="ZodArray",t18.ZodObject="ZodObject",t18.ZodUnion="ZodUnion",t18.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t18.ZodIntersection="ZodIntersection",t18.ZodTuple="ZodTuple",t18.ZodRecord="ZodRecord",t18.ZodMap="ZodMap",t18.ZodSet="ZodSet",t18.ZodFunction="ZodFunction",t18.ZodLazy="ZodLazy",t18.ZodLiteral="ZodLiteral",t18.ZodEnum="ZodEnum",t18.ZodEffects="ZodEffects",t18.ZodNativeEnum="ZodNativeEnum",t18.ZodOptional="ZodOptional",t18.ZodNullable="ZodNullable",t18.ZodDefault="ZodDefault",t18.ZodCatch="ZodCatch",t18.ZodPromise="ZodPromise",t18.ZodBranded="ZodBranded",t18.ZodPipeline="ZodPipeline",t18.ZodReadonly="ZodReadonly";})(g5||(d7.ZodFirstPartyTypeKind=g5={}));var Da4=o5((t18,e5={message:`Input not instance of ${t18.name}`})=>Fn6(r5=>r5 instanceof t18,e5),"instanceOfType");d7.instanceof=Da4;var Bn6=Y12.create;d7.string=Bn6;var qn6=re7.create;d7.number=qn6;var La5=Se7.create;d7.nan=La5;var Ma3=ne6.create;d7.bigint=Ma3;var zn5=se6.create;d7.boolean=zn5;var Ua2=ie8.create;d7.date=Ua2;var $a=we6.create;d7.symbol=$a;var Va=oe6.create;d7.undefined=Va;var Fa4=ae6.create;d7.null=Fa4;var Ba3=X13.create;d7.any=Ba3;var qa=W12.create;d7.unknown=qa;var za=U12.create;d7.never=za;var Ga2=ke10.create;d7.void=Ga2;var Wa=J13.create;d7.array=Wa;var Ja2=Z14.create;d7.object=Ja2;var Ha=Z14.strictCreate;d7.strictObject=Ha;var Ka3=ce6.create;d7.union=Ka3;var Ya=yt8.create;d7.discriminatedUnion=Ya;var Xa2=de8.create;d7.intersection=Xa2;var Qa3=F8.create;d7.tuple=Qa3;var ec=gt6.create;d7.record=ec;var tc3=Te8.create;d7.map=tc3;var rc3=Ie9.create;d7.set=rc3;var nc2=xt7.create;d7.function=nc2;var sc3=ue7.create;d7.lazy=sc3;var ic2=le7.create;d7.literal=ic2;var oc3=pe6.create;d7.enum=oc3;var ac2=fe6.create;d7.nativeEnum=ac2;var cc2=Q12.create;d7.promise=cc2;var Gn6=R10.create;d7.effect=Gn6,d7.transformer=Gn6;var dc3=D10.create;d7.optional=dc3;var uc3=B11.create;d7.nullable=uc3;var lc2=R10.createWithPreprocess;d7.preprocess=lc2;var pc=Be7.create;d7.pipeline=pc;var fc=o5(()=>Bn6().optional(),"ostring");d7.ostring=fc;var mc=o5(()=>qn6().optional(),"onumber");d7.onumber=mc;var hc3=o5(()=>zn5().optional(),"oboolean");d7.oboolean=hc3,d7.coerce={string:o5(t18=>Y12.create({...t18,coerce:!0}),"string"),number:o5(t18=>re7.create({...t18,coerce:!0}),"number"),boolean:o5(t18=>se6.create({...t18,coerce:!0}),"boolean"),bigint:o5(t18=>ne6.create({...t18,coerce:!0}),"bigint"),date:o5(t18=>ie8.create({...t18,coerce:!0}),"date")},d7.NEVER=u5.INVALID;}),or6=I10(M13=>{var yc3=M13&&M13.__createBinding||(Object.create?function(t18,e5,r5,n10){n10===void 0&&(n10=r5);var s10=Object.getOwnPropertyDescriptor(e5,r5);(!s10||("get"in s10?!e5.__esModule:s10.writable||s10.configurable))&&(s10={enumerable:!0,get:o5(function(){return e5[r5]},"get")}),Object.defineProperty(t18,n10,s10);}:function(t18,e5,r5,n10){n10===void 0&&(n10=r5),t18[n10]=e5[r5];}),Ce3=M13&&M13.__exportStar||function(t18,e5){for(var r5 in t18)r5!=="default"&&!Object.prototype.hasOwnProperty.call(e5,r5)&&yc3(e5,t18,r5);};Object.defineProperty(M13,"__esModule",{value:!0}),Ce3(pt5(),M13),Ce3(nr6(),M13),Ce3(On4(),M13),Ce3(Me9(),M13),Ce3(Wn5(),M13),Ce3(lt5(),M13);}),Kn6=I10(N13=>{var Jn5=N13&&N13.__createBinding||(Object.create?function(t18,e5,r5,n10){n10===void 0&&(n10=r5);var s10=Object.getOwnPropertyDescriptor(e5,r5);(!s10||("get"in s10?!e5.__esModule:s10.writable||s10.configurable))&&(s10={enumerable:!0,get:o5(function(){return e5[r5]},"get")}),Object.defineProperty(t18,n10,s10);}:function(t18,e5,r5,n10){n10===void 0&&(n10=r5),t18[n10]=e5[r5];}),gc2=N13&&N13.__setModuleDefault||(Object.create?function(t18,e5){Object.defineProperty(t18,"default",{enumerable:!0,value:e5});}:function(t18,e5){t18.default=e5;}),xc=N13&&N13.__importStar||function(t18){if(t18&&t18.__esModule)return t18;var e5={};if(t18!=null)for(var r5 in t18)r5!=="default"&&Object.prototype.hasOwnProperty.call(t18,r5)&&Jn5(e5,t18,r5);return gc2(e5,t18),e5},vc=N13&&N13.__exportStar||function(t18,e5){for(var r5 in t18)r5!=="default"&&!Object.prototype.hasOwnProperty.call(e5,r5)&&Jn5(e5,t18,r5);};Object.defineProperty(N13,"__esModule",{value:!0}),N13.z=void 0;var Hn4=xc(or6());N13.z=Hn4,vc(or6(),N13),N13.default=Hn4;}),ns3=I10((Op3,rs3)=>{rs3.exports=ts4,ts4.sync=Cc;var Qn5=O10("fs");function Sc(t18,e5){var r5=e5.pathExt!==void 0?e5.pathExt:process.env.PATHEXT;if(!r5||(r5=r5.split(";"),r5.indexOf("")!==-1))return !0;for(var n10=0;n10<r5.length;n10++){var s10=r5[n10].toLowerCase();if(s10&&t18.substr(-s10.length).toLowerCase()===s10)return !0}return !1}o5(Sc,"checkPathExt");function es4(t18,e5,r5){return !t18.isSymbolicLink()&&!t18.isFile()?!1:Sc(e5,r5)}o5(es4,"checkStat");function ts4(t18,e5,r5){Qn5.stat(t18,function(n10,s10){r5(n10,n10?!1:es4(s10,t18,e5));});}o5(ts4,"isexe");function Cc(t18,e5){return es4(Qn5.statSync(t18),t18,e5)}o5(Cc,"sync");}),cs3=I10((Np4,as3)=>{as3.exports=is4,is4.sync=Pc2;var ss3=O10("fs");function is4(t18,e5,r5){ss3.stat(t18,function(n10,s10){r5(n10,n10?!1:os8(s10,e5));});}o5(is4,"isexe");function Pc2(t18,e5){return os8(ss3.statSync(t18),e5)}o5(Pc2,"sync");function os8(t18,e5){return t18.isFile()&&Ec2(t18,e5)}o5(os8,"checkStat");function Ec2(t18,e5){var r5=t18.mode,n10=t18.uid,s10=t18.gid,i7=e5.uid!==void 0?e5.uid:process.getuid&&process.getuid(),a5=e5.gid!==void 0?e5.gid:process.getgid&&process.getgid(),c10=parseInt("100",8),p7=parseInt("010",8),l7=parseInt("001",8),f11=c10|p7,x8=r5&l7||r5&p7&&s10===a5||r5&c10&&n10===i7||r5&f11&&i7===0;return x8}o5(Ec2,"checkMode");}),us3=I10((Lp4,ds4)=>{O10("fs");var bt8;process.platform==="win32"||global.TESTING_WINDOWS?bt8=ns3():bt8=cs3(),ds4.exports=cr4,cr4.sync=jc2;function cr4(t18,e5,r5){if(typeof e5=="function"&&(r5=e5,e5={}),!r5){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n10,s10){cr4(t18,e5||{},function(i7,a5){i7?s10(i7):n10(a5);});})}bt8(t18,e5||{},function(n10,s10){n10&&(n10.code==="EACCES"||e5&&e5.ignoreErrors)&&(n10=null,s10=!1),r5(n10,s10);});}o5(cr4,"isexe");function jc2(t18,e5){try{return bt8.sync(t18,e5||{})}catch(r5){if(e5&&e5.ignoreErrors||r5.code==="EACCES")return !1;throw r5}}o5(jc2,"sync");}),gs2=I10((Up4,ys3)=>{var je8=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",ls3=O10("path"),Ac=je8?";":":",ps4=us3(),fs13=o5(t18=>Object.assign(new Error(`not found: ${t18}`),{code:"ENOENT"}),"getNotFoundError"),ms3=o5((t18,e5)=>{let r5=e5.colon||Ac,n10=t18.match(/\//)||je8&&t18.match(/\\/)?[""]:[...je8?[process.cwd()]:[],...(e5.path||process.env.PATH||"").split(r5)],s10=je8?e5.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i7=je8?s10.split(r5):[""];return je8&&t18.indexOf(".")!==-1&&i7[0]!==""&&i7.unshift(""),{pathEnv:n10,pathExt:i7,pathExtExe:s10}},"getPathInfo"),hs2=o5((t18,e5,r5)=>{typeof e5=="function"&&(r5=e5,e5={}),e5||(e5={});let{pathEnv:n10,pathExt:s10,pathExtExe:i7}=ms3(t18,e5),a5=[],c10=o5(l7=>new Promise((f11,x8)=>{if(l7===n10.length)return e5.all&&a5.length?f11(a5):x8(fs13(t18));let w8=n10[l7],_11=/^".*"$/.test(w8)?w8.slice(1,-1):w8,P14=ls3.join(_11,t18),S8=!_11&&/^\.[\\\/]/.test(t18)?t18.slice(0,2)+P14:P14;f11(p7(S8,l7,0));}),"step"),p7=o5((l7,f11,x8)=>new Promise((w8,_11)=>{if(x8===s10.length)return w8(c10(f11+1));let P14=s10[x8];ps4(l7+P14,{pathExt:i7},(S8,E5)=>{if(!S8&&E5)if(e5.all)a5.push(l7+P14);else return w8(l7+P14);return w8(p7(l7,f11,x8+1))});}),"subStep");return r5?c10(0).then(l7=>r5(null,l7),r5):c10(0)},"which"),Oc2=o5((t18,e5)=>{e5=e5||{};let{pathEnv:r5,pathExt:n10,pathExtExe:s10}=ms3(t18,e5),i7=[];for(let a5=0;a5<r5.length;a5++){let c10=r5[a5],p7=/^".*"$/.test(c10)?c10.slice(1,-1):c10,l7=ls3.join(p7,t18),f11=!p7&&/^\.[\\\/]/.test(t18)?t18.slice(0,2)+l7:l7;for(let x8=0;x8<n10.length;x8++){let w8=f11+n10[x8];try{if(ps4.sync(w8,{pathExt:s10}))if(e5.all)i7.push(w8);else return w8}catch{}}}if(e5.all&&i7.length)return i7;if(e5.nothrow)return null;throw fs13(t18)},"whichSync");ys3.exports=hs2,hs2.sync=Oc2;}),vs4=I10((Vp4,dr5)=>{var xs4=o5((t18={})=>{let e5=t18.env||process.env;return (t18.platform||process.platform)!=="win32"?"PATH":Object.keys(e5).reverse().find(n10=>n10.toUpperCase()==="PATH")||"Path"},"pathKey");dr5.exports=xs4,dr5.exports.default=xs4;}),ks3=I10((Bp4,ws3)=>{var bs4=O10("path"),Zc2=gs2(),Nc2=vs4();function _s3(t18,e5){let r5=t18.options.env||process.env,n10=process.cwd(),s10=t18.options.cwd!=null,i7=s10&&process.chdir!==void 0&&!process.chdir.disabled;if(i7)try{process.chdir(t18.options.cwd);}catch{}let a5;try{a5=Zc2.sync(t18.command,{path:r5[Nc2({env:r5})],pathExt:e5?bs4.delimiter:void 0});}catch{}finally{i7&&process.chdir(n10);}return a5&&(a5=bs4.resolve(s10?t18.options.cwd:"",a5)),a5}o5(_s3,"resolveCommandAttempt");function Rc(t18){return _s3(t18)||_s3(t18,!0)}o5(Rc,"resolveCommand"),ws3.exports=Rc;}),Ts4=I10((zp4,lr6)=>{var ur5=/([()\][%!^"`<>&|;, *?])/g;function Dc(t18){return t18=t18.replace(ur5,"^$1"),t18}o5(Dc,"escapeCommand");function Lc(t18,e5){return t18=`${t18}`,t18=t18.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),t18=t18.replace(/(?=(\\+?)?)\1$/,"$1$1"),t18=`"${t18}"`,t18=t18.replace(ur5,"^$1"),e5&&(t18=t18.replace(ur5,"^$1")),t18}o5(Lc,"escapeArgument"),lr6.exports.command=Dc,lr6.exports.argument=Lc;}),Ss3=I10((Wp3,Is3)=>{Is3.exports=/^#!(.*)/;}),Ps3=I10((Jp5,Cs3)=>{var Mc=Ss3();Cs3.exports=(t18="")=>{let e5=t18.match(Mc);if(!e5)return null;let[r5,n10]=e5[0].replace(/#! ?/,"").split(" "),s10=r5.split("/").pop();return s10==="env"?n10:n10?`${s10} ${n10}`:s10};}),js4=I10((Hp4,Es2)=>{var pr5=O10("fs"),Uc2=Ps3();function $c(t18){let r5=Buffer.alloc(150),n10;try{n10=pr5.openSync(t18,"r"),pr5.readSync(n10,r5,0,150,0),pr5.closeSync(n10);}catch{}return Uc2(r5.toString())}o5($c,"readShebang"),Es2.exports=$c;}),Ns4=I10((Yp3,Zs6)=>{var Vc=O10("path"),As2=ks3(),Os5=Ts4(),Fc=js4(),Bc=process.platform==="win32",qc=/\.(?:com|exe)$/i,zc2=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Gc(t18){t18.file=As2(t18);let e5=t18.file&&Fc(t18.file);return e5?(t18.args.unshift(t18.file),t18.command=e5,As2(t18)):t18.file}o5(Gc,"detectShebang");function Wc2(t18){if(!Bc)return t18;let e5=Gc(t18),r5=!qc.test(e5);if(t18.options.forceShell||r5){let n10=zc2.test(e5);t18.command=Vc.normalize(t18.command),t18.command=Os5.command(t18.command),t18.args=t18.args.map(i7=>Os5.argument(i7,n10));let s10=[t18.command].concat(t18.args).join(" ");t18.args=["/d","/s","/c",`"${s10}"`],t18.command=process.env.comspec||"cmd.exe",t18.options.windowsVerbatimArguments=!0;}return t18}o5(Wc2,"parseNonShell");function Jc(t18,e5,r5){e5&&!Array.isArray(e5)&&(r5=e5,e5=null),e5=e5?e5.slice(0):[],r5=Object.assign({},r5);let n10={command:t18,args:e5,options:r5,file:void 0,original:{command:t18,args:e5}};return r5.shell?n10:Wc2(n10)}o5(Jc,"parse"),Zs6.exports=Jc;}),Ls3=I10((Qp3,Ds2)=>{var fr6=process.platform==="win32";function mr5(t18,e5){return Object.assign(new Error(`${e5} ${t18.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e5} ${t18.command}`,path:t18.command,spawnargs:t18.args})}o5(mr5,"notFoundError");function Hc(t18,e5){if(!fr6)return;let r5=t18.emit;t18.emit=function(n10,s10){if(n10==="exit"){let i7=Rs4(s10,e5);if(i7)return r5.call(t18,"error",i7)}return r5.apply(t18,arguments)};}o5(Hc,"hookChildProcess");function Rs4(t18,e5){return fr6&&t18===1&&!e5.file?mr5(e5.original,"spawn"):null}o5(Rs4,"verifyENOENT");function Kc(t18,e5){return fr6&&t18===1&&!e5.file?mr5(e5.original,"spawnSync"):null}o5(Kc,"verifyENOENTSync"),Ds2.exports={hookChildProcess:Hc,verifyENOENT:Rs4,verifyENOENTSync:Kc,notFoundError:mr5};}),$s5=I10((tf4,Ae7)=>{var Ms3=O10("child_process"),hr6=Ns4(),yr7=Ls3();function Us5(t18,e5,r5){let n10=hr6(t18,e5,r5),s10=Ms3.spawn(n10.command,n10.args,n10.options);return yr7.hookChildProcess(s10,n10),s10}o5(Us5,"spawn");function Yc(t18,e5,r5){let n10=hr6(t18,e5,r5),s10=Ms3.spawnSync(n10.command,n10.args,n10.options);return s10.error=s10.error||yr7.verifyENOENTSync(s10.status,n10),s10}o5(Yc,"spawnSync"),Ae7.exports=Us5,Ae7.exports.spawn=Us5,Ae7.exports.sync=Yc,Ae7.exports._parse=hr6,Ae7.exports._enoent=yr7;}),fi4=I10((Pm2,pi4)=>{var{PassThrough:Hd2}=O10("stream");pi4.exports=function(){var t18=[],e5=new Hd2({objectMode:!0});return e5.setMaxListeners(0),e5.add=r5,e5.isEmpty=n10,e5.on("unpipe",s10),Array.prototype.slice.call(arguments).forEach(r5),e5;function r5(i7){return Array.isArray(i7)?(i7.forEach(r5),this):(t18.push(i7),i7.once("end",s10.bind(null,i7)),i7.once("error",e5.emit.bind(e5,"error")),i7.pipe(e5,{end:!1}),this)}function n10(){return t18.length==0}function s10(i7){t18=t18.filter(function(a5){return a5!==i7}),!t18.length&&e5.readable&&e5.end();}};});function Fr8(t18){return t18.startsWith("\\\\?\\")?t18:t18.replace(/\\/g,"/")}var Oi3=dn6(()=>{o5(Fr8,"slash");}),Ui3=I10((Th4,Mi)=>{var{sep:Iu4}=O10("path"),Su2=o5(t18=>{for(let e5 of t18){let r5=/(\/|\\)/.exec(e5);if(r5!==null)return r5[0]}return Iu4},"determineSeparator");Mi.exports=o5(function(e5,r5=Su2(e5)){let[n10="",...s10]=e5;if(n10===""||s10.length===0)return "";let i7=n10.split(r5),a5=i7.length;for(let p7 of s10){let l7=p7.split(r5);for(let f11=0;f11<a5;f11++)l7[f11]!==i7[f11]&&(a5=f11);if(a5===0)return ""}let c10=i7.slice(0,a5).join(r5);return c10.endsWith(r5)?c10:c10+r5},"commonPathPrefix");}),zr7,Ke6,$i=dn6(()=>{zr7=class{static{o5(this,"Node");}value;next;constructor(e5){this.value=e5;}},Ke6=class{static{o5(this,"Queue");}#r;#t;#e;constructor(){this.clear();}enqueue(e5){let r5=new zr7(e5);this.#r?(this.#t.next=r5,this.#t=r5):(this.#r=r5,this.#t=r5),this.#e++;}dequeue(){let e5=this.#r;if(e5)return this.#r=this.#r.next,this.#e--,e5.value}peek(){if(this.#r)return this.#r.value}clear(){this.#r=void 0,this.#t=void 0,this.#e=0;}get size(){return this.#e}*[Symbol.iterator](){let e5=this.#r;for(;e5;)yield e5.value,e5=e5.next;}*drain(){for(;this.#r;)yield this.dequeue();}};}),Io6=I10((Bx,To5)=>{To5.exports=function(t18,e5){if(e5=e5||{},typeof t18!="function")throw new ee7("fetch must be a function");if(typeof e5!="object")throw new ee7("defaults must be an object");if(e5.retries!==void 0&&!Wt5(e5.retries))throw new ee7("retries must be a positive integer");if(e5.retryDelay!==void 0&&!Wt5(e5.retryDelay)&&typeof e5.retryDelay!="function")throw new ee7("retryDelay must be a positive integer or a function returning a positive integer");if(e5.retryOn!==void 0&&!Array.isArray(e5.retryOn)&&typeof e5.retryOn!="function")throw new ee7("retryOn property expects an array or function");var r5={retries:3,retryDelay:1e3,retryOn:[]};return e5=Object.assign(r5,e5),o5(function(s10,i7){var a5=e5.retries,c10=e5.retryDelay,p7=e5.retryOn;if(i7&&i7.retries!==void 0)if(Wt5(i7.retries))a5=i7.retries;else throw new ee7("retries must be a positive integer");if(i7&&i7.retryDelay!==void 0)if(Wt5(i7.retryDelay)||typeof i7.retryDelay=="function")c10=i7.retryDelay;else throw new ee7("retryDelay must be a positive integer or a function returning a positive integer");if(i7&&i7.retryOn)if(Array.isArray(i7.retryOn)||typeof i7.retryOn=="function")p7=i7.retryOn;else throw new ee7("retryOn property expects an array or function");return new Promise(function(l7,f11){var x8=o5(function(_11){var P14=typeof Request<"u"&&s10 instanceof Request?s10.clone():s10;t18(P14,i7).then(function(S8){if(Array.isArray(p7)&&p7.indexOf(S8.status)===-1)l7(S8);else if(typeof p7=="function")try{return Promise.resolve(p7(_11,null,S8)).then(function(E5){E5?w8(_11,null,S8):l7(S8);}).catch(f11)}catch(E5){f11(E5);}else _11<a5?w8(_11,null,S8):l7(S8);}).catch(function(S8){if(typeof p7=="function")try{Promise.resolve(p7(_11,S8,null)).then(function(E5){E5?w8(_11,S8,null):f11(S8);}).catch(function(E5){f11(E5);});}catch(E5){f11(E5);}else _11<a5?w8(_11,S8,null):f11(S8);});},"wrappedFetch");function w8(_11,P14,S8){var E5=typeof c10=="function"?c10(_11,P14,S8):c10;setTimeout(function(){x8(++_11);},E5);}o5(w8,"retry"),x8(0);})},"fetchRetry")};function Wt5(t18){return Number.isInteger(t18)&&t18>=0}o5(Wt5,"isPositiveInteger");function ee7(t18){this.name="ArgumentError",this.message=t18;}o5(ee7,"ArgumentError");}),hn7=H7(pn5(),1),mn7="telemetry-notification-date",yn5=o5(async()=>{await jj2.get(mn7,null)||(jj2.set(mn7,Date.now()),DE.log(`${hu.info("Attention:")} Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features.`),DE.log("You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:"),DE.log(hn7.default.cyan("https://storybook.js.org/telemetry")),DE.log(""));},"notify");function gn7(t18){return t18.replace(/[-[/{}()*+?.\\^$|]/g,"\\$&")}o5(gn7,"regexpEscape");function xn8(t18=""){return t18.replace(/\u001B\[[0-9;]*m/g,"")}o5(xn8,"removeAnsiEscapeCodes");function De7(t18,e5=path2.sep){if(!t18)return t18;let r5=process.cwd().split(e5);for(;r5.length>1;){let n10=r5.join(e5),s10=new RegExp(gn7(n10),"gi");t18=t18.replace(s10,"$SNIP");let i7=r5.join(e5+e5),a5=new RegExp(gn7(i7),"gi");t18=t18.replace(a5,"$SNIP"),r5.pop();}return t18}o5(De7,"cleanPaths");function ct5(t18,e5=path2.sep){try{t18={...JSON.parse(JSON.stringify(t18)),message:xn8(t18.message),stack:xn8(t18.stack),cause:t18.cause,name:t18.name};let r5=De7(JSON.stringify(t18),e5);return JSON.parse(r5)}catch(r5){return `Sanitization error: ${r5?.message}`}}o5(ct5,"sanitizeError");var wn6=H7(_n7(),1);async function Yo4(t18){try{return (await stat(t18)).isFile()}catch{return !1}}o5(Yo4,"fileExists");async function Xt6(t18){for(let e5 of (0, wn6.walkUp)(t18)){let r5=resolve(e5,"package.json");if(await Yo4(r5))return r5}return null}o5(Xt6,"findPackagePath");async function kn5(t18){let e5=await Xt6(t18);if(!e5)return null;try{let r5=await readFile(e5,{encoding:"utf8"});return JSON.parse(r5)}catch{return null}}o5(kn5,"findPackage");var ut8="9.1.5",Yn5=H7(In7(),1),Ee7=H7(Kn6(),1),kc=join(homedir(),".storybook","settings.json"),Tc=1,Ic=Ee7.z.object({version:Ee7.z.number(),userSince:Ee7.z.number().optional(),init:Ee7.z.object({skipOnboarding:Ee7.z.boolean().optional()}).optional()}),Pe6;async function Xn5(t18=kc){if(Pe6)return Pe6;try{let e5=await fs6__default.readFile(t18,"utf8"),r5=Ic.parse(JSON.parse(e5));Pe6=new vt6(t18,r5);}catch{Pe6=new vt6(t18,{version:Tc,userSince:Date.now()}),await Pe6.save();}return Pe6}o5(Xn5,"globalSettings");var vt6=class{static{o5(this,"Settings");}constructor(e5,r5){this.filePath=e5,this.value=r5;}async save(){try{await fs6__default.mkdir(dirname(this.filePath),{recursive:!0}),await fs6__default.writeFile(this.filePath,JSON.stringify(this.value,null,2));}catch(e5){console.warn(Yn5.dedent`
2737
+ `)),a5+=x8+n10[p7+1];}),a5}o5(Tn4,"dedent"),Le9.dedent=Tn4,Le9.default=Tn4;}),Me9=I10(C11=>{Object.defineProperty(C11,"__esModule",{value:!0}),C11.getParsedType=C11.ZodParsedType=C11.objectUtil=C11.util=void 0;var Qt7;(function(t18){t18.assertEqual=s10=>s10;function e5(s10){}o5(e5,"assertIs"),t18.assertIs=e5;function r5(s10){throw new Error}o5(r5,"assertNever"),t18.assertNever=r5,t18.arrayToEnum=s10=>{let i7={};for(let a5 of s10)i7[a5]=a5;return i7},t18.getValidEnumValues=s10=>{let i7=t18.objectKeys(s10).filter(c10=>typeof s10[s10[c10]]!="number"),a5={};for(let c10 of i7)a5[c10]=s10[c10];return t18.objectValues(a5)},t18.objectValues=s10=>t18.objectKeys(s10).map(function(i7){return s10[i7]}),t18.objectKeys=typeof Object.keys=="function"?s10=>Object.keys(s10):s10=>{let i7=[];for(let a5 in s10)Object.prototype.hasOwnProperty.call(s10,a5)&&i7.push(a5);return i7},t18.find=(s10,i7)=>{for(let a5 of s10)if(i7(a5))return a5},t18.isInteger=typeof Number.isInteger=="function"?s10=>Number.isInteger(s10):s10=>typeof s10=="number"&&isFinite(s10)&&Math.floor(s10)===s10;function n10(s10,i7=" | "){return s10.map(a5=>typeof a5=="string"?`'${a5}'`:a5).join(i7)}o5(n10,"joinValues"),t18.joinValues=n10,t18.jsonStringifyReplacer=(s10,i7)=>typeof i7=="bigint"?i7.toString():i7;})(Qt7||(C11.util=Qt7={}));var Sn5;((function(t18){t18.mergeShapes=(e5,r5)=>({...e5,...r5});}))(Sn5||(C11.objectUtil=Sn5={})),C11.ZodParsedType=Qt7.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);var Qo7=o5(t18=>{switch(typeof t18){case"undefined":return C11.ZodParsedType.undefined;case"string":return C11.ZodParsedType.string;case"number":return isNaN(t18)?C11.ZodParsedType.nan:C11.ZodParsedType.number;case"boolean":return C11.ZodParsedType.boolean;case"function":return C11.ZodParsedType.function;case"bigint":return C11.ZodParsedType.bigint;case"symbol":return C11.ZodParsedType.symbol;case"object":return Array.isArray(t18)?C11.ZodParsedType.array:t18===null?C11.ZodParsedType.null:t18.then&&typeof t18.then=="function"&&t18.catch&&typeof t18.catch=="function"?C11.ZodParsedType.promise:typeof Map<"u"&&t18 instanceof Map?C11.ZodParsedType.map:typeof Set<"u"&&t18 instanceof Set?C11.ZodParsedType.set:typeof Date<"u"&&t18 instanceof Date?C11.ZodParsedType.date:C11.ZodParsedType.object;default:return C11.ZodParsedType.unknown}},"getParsedType");C11.getParsedType=Qo7;}),lt5=I10(K13=>{Object.defineProperty(K13,"__esModule",{value:!0}),K13.ZodError=K13.quotelessJson=K13.ZodIssueCode=void 0;var Cn6=Me9();K13.ZodIssueCode=Cn6.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);var ea3=o5(t18=>JSON.stringify(t18,null,2).replace(/"([^"]+)":/g,"$1:"),"quotelessJson");K13.quotelessJson=ea3;var Ue8=class t18 extends Error{static{o5(this,"ZodError");}get errors(){return this.issues}constructor(e5){super(),this.issues=[],this.addIssue=n10=>{this.issues=[...this.issues,n10];},this.addIssues=(n10=[])=>{this.issues=[...this.issues,...n10];};let r5=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r5):this.__proto__=r5,this.name="ZodError",this.issues=e5;}format(e5){let r5=e5||function(i7){return i7.message},n10={_errors:[]},s10=o5(i7=>{for(let a5 of i7.issues)if(a5.code==="invalid_union")a5.unionErrors.map(s10);else if(a5.code==="invalid_return_type")s10(a5.returnTypeError);else if(a5.code==="invalid_arguments")s10(a5.argumentsError);else if(a5.path.length===0)n10._errors.push(r5(a5));else {let c10=n10,p7=0;for(;p7<a5.path.length;){let l7=a5.path[p7];p7===a5.path.length-1?(c10[l7]=c10[l7]||{_errors:[]},c10[l7]._errors.push(r5(a5))):c10[l7]=c10[l7]||{_errors:[]},c10=c10[l7],p7++;}}},"processError");return s10(this),n10}static assert(e5){if(!(e5 instanceof t18))throw new Error(`Not a ZodError: ${e5}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Cn6.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e5=r5=>r5.message){let r5={},n10=[];for(let s10 of this.issues)s10.path.length>0?(r5[s10.path[0]]=r5[s10.path[0]]||[],r5[s10.path[0]].push(e5(s10))):n10.push(e5(s10));return {formErrors:n10,fieldErrors:r5}}get formErrors(){return this.flatten()}};K13.ZodError=Ue8,Ue8.create=t18=>new Ue8(t18);}),tr7=I10(er6=>{Object.defineProperty(er6,"__esModule",{value:!0});var te8=Me9(),A11=lt5(),ta3=o5((t18,e5)=>{let r5;switch(t18.code){case A11.ZodIssueCode.invalid_type:t18.received===te8.ZodParsedType.undefined?r5="Required":r5=`Expected ${t18.expected}, received ${t18.received}`;break;case A11.ZodIssueCode.invalid_literal:r5=`Invalid literal value, expected ${JSON.stringify(t18.expected,te8.util.jsonStringifyReplacer)}`;break;case A11.ZodIssueCode.unrecognized_keys:r5=`Unrecognized key(s) in object: ${te8.util.joinValues(t18.keys,", ")}`;break;case A11.ZodIssueCode.invalid_union:r5="Invalid input";break;case A11.ZodIssueCode.invalid_union_discriminator:r5=`Invalid discriminator value. Expected ${te8.util.joinValues(t18.options)}`;break;case A11.ZodIssueCode.invalid_enum_value:r5=`Invalid enum value. Expected ${te8.util.joinValues(t18.options)}, received '${t18.received}'`;break;case A11.ZodIssueCode.invalid_arguments:r5="Invalid function arguments";break;case A11.ZodIssueCode.invalid_return_type:r5="Invalid function return type";break;case A11.ZodIssueCode.invalid_date:r5="Invalid date";break;case A11.ZodIssueCode.invalid_string:typeof t18.validation=="object"?"includes"in t18.validation?(r5=`Invalid input: must include "${t18.validation.includes}"`,typeof t18.validation.position=="number"&&(r5=`${r5} at one or more positions greater than or equal to ${t18.validation.position}`)):"startsWith"in t18.validation?r5=`Invalid input: must start with "${t18.validation.startsWith}"`:"endsWith"in t18.validation?r5=`Invalid input: must end with "${t18.validation.endsWith}"`:te8.util.assertNever(t18.validation):t18.validation!=="regex"?r5=`Invalid ${t18.validation}`:r5="Invalid";break;case A11.ZodIssueCode.too_small:t18.type==="array"?r5=`Array must contain ${t18.exact?"exactly":t18.inclusive?"at least":"more than"} ${t18.minimum} element(s)`:t18.type==="string"?r5=`String must contain ${t18.exact?"exactly":t18.inclusive?"at least":"over"} ${t18.minimum} character(s)`:t18.type==="number"?r5=`Number must be ${t18.exact?"exactly equal to ":t18.inclusive?"greater than or equal to ":"greater than "}${t18.minimum}`:t18.type==="date"?r5=`Date must be ${t18.exact?"exactly equal to ":t18.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t18.minimum))}`:r5="Invalid input";break;case A11.ZodIssueCode.too_big:t18.type==="array"?r5=`Array must contain ${t18.exact?"exactly":t18.inclusive?"at most":"less than"} ${t18.maximum} element(s)`:t18.type==="string"?r5=`String must contain ${t18.exact?"exactly":t18.inclusive?"at most":"under"} ${t18.maximum} character(s)`:t18.type==="number"?r5=`Number must be ${t18.exact?"exactly":t18.inclusive?"less than or equal to":"less than"} ${t18.maximum}`:t18.type==="bigint"?r5=`BigInt must be ${t18.exact?"exactly":t18.inclusive?"less than or equal to":"less than"} ${t18.maximum}`:t18.type==="date"?r5=`Date must be ${t18.exact?"exactly":t18.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t18.maximum))}`:r5="Invalid input";break;case A11.ZodIssueCode.custom:r5="Invalid input";break;case A11.ZodIssueCode.invalid_intersection_types:r5="Intersection results could not be merged";break;case A11.ZodIssueCode.not_multiple_of:r5=`Number must be a multiple of ${t18.multipleOf}`;break;case A11.ZodIssueCode.not_finite:r5="Number must be finite";break;default:r5=e5.defaultError,te8.util.assertNever(t18);}return {message:r5}},"errorMap");er6.default=ta3;}),pt5=I10(V13=>{var ra3=V13&&V13.__importDefault||function(t18){return t18&&t18.__esModule?t18:{default:t18}};Object.defineProperty(V13,"__esModule",{value:!0}),V13.getErrorMap=V13.setErrorMap=V13.defaultErrorMap=void 0;var Pn5=ra3(tr7());V13.defaultErrorMap=Pn5.default;var En6=Pn5.default;function na2(t18){En6=t18;}o5(na2,"setErrorMap"),V13.setErrorMap=na2;function sa2(){return En6}o5(sa2,"getErrorMap"),V13.getErrorMap=sa2;}),nr6=I10(T11=>{var ia2=T11&&T11.__importDefault||function(t18){return t18&&t18.__esModule?t18:{default:t18}};Object.defineProperty(T11,"__esModule",{value:!0}),T11.isAsync=T11.isValid=T11.isDirty=T11.isAborted=T11.OK=T11.DIRTY=T11.INVALID=T11.ParseStatus=T11.addIssueToContext=T11.EMPTY_PATH=T11.makeIssue=void 0;var oa2=pt5(),jn8=ia2(tr7()),aa2=o5(t18=>{let{data:e5,path:r5,errorMaps:n10,issueData:s10}=t18,i7=[...r5,...s10.path||[]],a5={...s10,path:i7};if(s10.message!==void 0)return {...s10,path:i7,message:s10.message};let c10="",p7=n10.filter(l7=>!!l7).slice().reverse();for(let l7 of p7)c10=l7(a5,{data:e5,defaultError:c10}).message;return {...s10,path:i7,message:c10}},"makeIssue");T11.makeIssue=aa2,T11.EMPTY_PATH=[];function ca4(t18,e5){let r5=(0, oa2.getErrorMap)(),n10=(0, T11.makeIssue)({issueData:e5,data:t18.data,path:t18.path,errorMaps:[t18.common.contextualErrorMap,t18.schemaErrorMap,r5,r5===jn8.default?void 0:jn8.default].filter(s10=>!!s10)});t18.common.issues.push(n10);}o5(ca4,"addIssueToContext"),T11.addIssueToContext=ca4;var rr8=class t18{static{o5(this,"ParseStatus");}constructor(){this.value="valid";}dirty(){this.value==="valid"&&(this.value="dirty");}abort(){this.value!=="aborted"&&(this.value="aborted");}static mergeArray(e5,r5){let n10=[];for(let s10 of r5){if(s10.status==="aborted")return T11.INVALID;s10.status==="dirty"&&e5.dirty(),n10.push(s10.value);}return {status:e5.value,value:n10}}static async mergeObjectAsync(e5,r5){let n10=[];for(let s10 of r5){let i7=await s10.key,a5=await s10.value;n10.push({key:i7,value:a5});}return t18.mergeObjectSync(e5,n10)}static mergeObjectSync(e5,r5){let n10={};for(let s10 of r5){let{key:i7,value:a5}=s10;if(i7.status==="aborted"||a5.status==="aborted")return T11.INVALID;i7.status==="dirty"&&e5.dirty(),a5.status==="dirty"&&e5.dirty(),i7.value!=="__proto__"&&(typeof a5.value<"u"||s10.alwaysSet)&&(n10[i7.value]=a5.value);}return {status:e5.value,value:n10}}};T11.ParseStatus=rr8,T11.INVALID=Object.freeze({status:"aborted"});var da3=o5(t18=>({status:"dirty",value:t18}),"DIRTY");T11.DIRTY=da3;var ua3=o5(t18=>({status:"valid",value:t18}),"OK");T11.OK=ua3;var la3=o5(t18=>t18.status==="aborted","isAborted");T11.isAborted=la3;var pa3=o5(t18=>t18.status==="dirty","isDirty");T11.isDirty=pa3;var fa3=o5(t18=>t18.status==="valid","isValid");T11.isValid=fa3;var ma3=o5(t18=>typeof Promise<"u"&&t18 instanceof Promise,"isAsync");T11.isAsync=ma3;}),On4=I10(An7=>{Object.defineProperty(An7,"__esModule",{value:!0});}),Nn6=I10(ft4=>{Object.defineProperty(ft4,"__esModule",{value:!0}),ft4.errorUtil=void 0;var Zn5;(function(t18){t18.errToObj=e5=>typeof e5=="string"?{message:e5}:e5||{},t18.toString=e5=>typeof e5=="string"?e5:e5?.message;})(Zn5||(ft4.errorUtil=Zn5={}));}),Wn5=I10(d7=>{var ht5=d7&&d7.__classPrivateFieldGet||function(t18,e5,r5,n10){if(r5==="a"&&!n10)throw new TypeError("Private accessor was defined without a getter");if(typeof e5=="function"?t18!==e5||!n10:!e5.has(t18))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r5==="m"?n10:r5==="a"?n10.call(t18):n10?n10.value:e5.get(t18)},Ln7=d7&&d7.__classPrivateFieldSet||function(t18,e5,r5,n10,s10){if(n10==="m")throw new TypeError("Private method is not writable");if(n10==="a"&&!s10)throw new TypeError("Private accessor was defined without a setter");if(typeof e5=="function"?t18!==e5||!s10:!e5.has(t18))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n10==="a"?s10.call(t18,r5):s10?s10.value=r5:e5.set(t18,r5),r5},$e6,Ve9;Object.defineProperty(d7,"__esModule",{value:!0}),d7.boolean=d7.bigint=d7.array=d7.any=d7.coerce=d7.ZodFirstPartyTypeKind=d7.late=d7.ZodSchema=d7.Schema=d7.custom=d7.ZodReadonly=d7.ZodPipeline=d7.ZodBranded=d7.BRAND=d7.ZodNaN=d7.ZodCatch=d7.ZodDefault=d7.ZodNullable=d7.ZodOptional=d7.ZodTransformer=d7.ZodEffects=d7.ZodPromise=d7.ZodNativeEnum=d7.ZodEnum=d7.ZodLiteral=d7.ZodLazy=d7.ZodFunction=d7.ZodSet=d7.ZodMap=d7.ZodRecord=d7.ZodTuple=d7.ZodIntersection=d7.ZodDiscriminatedUnion=d7.ZodUnion=d7.ZodObject=d7.ZodArray=d7.ZodVoid=d7.ZodNever=d7.ZodUnknown=d7.ZodAny=d7.ZodNull=d7.ZodUndefined=d7.ZodSymbol=d7.ZodDate=d7.ZodBoolean=d7.ZodBigInt=d7.ZodNumber=d7.ZodString=d7.datetimeRegex=d7.ZodType=void 0,d7.NEVER=d7.void=d7.unknown=d7.union=d7.undefined=d7.tuple=d7.transformer=d7.symbol=d7.string=d7.strictObject=d7.set=d7.record=d7.promise=d7.preprocess=d7.pipeline=d7.ostring=d7.optional=d7.onumber=d7.oboolean=d7.object=d7.number=d7.nullable=d7.null=d7.never=d7.nativeEnum=d7.nan=d7.map=d7.literal=d7.lazy=d7.intersection=d7.instanceof=d7.function=d7.enum=d7.effect=d7.discriminatedUnion=d7.date=void 0;var mt5=pt5(),y7=Nn6(),u5=nr6(),h8=Me9(),m7=lt5(),L11=class{static{o5(this,"ParseInputLazyPath");}constructor(e5,r5,n10,s10){this._cachedPath=[],this.parent=e5,this.data=r5,this._path=n10,this._key=s10;}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Rn5=o5((t18,e5)=>{if((0, u5.isValid)(e5))return {success:!0,data:e5.value};if(!t18.common.issues.length)throw new Error("Validation failed but no issues detected.");return {success:!1,get error(){if(this._error)return this._error;let r5=new m7.ZodError(t18.common.issues);return this._error=r5,this._error}}},"handleResult");function v12(t18){if(!t18)return {};let{errorMap:e5,invalid_type_error:r5,required_error:n10,description:s10}=t18;if(e5&&(r5||n10))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e5?{errorMap:e5,description:s10}:{errorMap:o5((a5,c10)=>{var p7,l7;let{message:f11}=t18;return a5.code==="invalid_enum_value"?{message:f11??c10.defaultError}:typeof c10.data>"u"?{message:(p7=f11??n10)!==null&&p7!==void 0?p7:c10.defaultError}:a5.code!=="invalid_type"?{message:c10.defaultError}:{message:(l7=f11??r5)!==null&&l7!==void 0?l7:c10.defaultError}},"customMap"),description:s10}}o5(v12,"processCreateParams");var b8=class{static{o5(this,"ZodType");}get description(){return this._def.description}_getType(e5){return (0, h8.getParsedType)(e5.data)}_getOrReturnCtx(e5,r5){return r5||{common:e5.parent.common,data:e5.data,parsedType:(0, h8.getParsedType)(e5.data),schemaErrorMap:this._def.errorMap,path:e5.path,parent:e5.parent}}_processInputParams(e5){return {status:new u5.ParseStatus,ctx:{common:e5.parent.common,data:e5.data,parsedType:(0, h8.getParsedType)(e5.data),schemaErrorMap:this._def.errorMap,path:e5.path,parent:e5.parent}}}_parseSync(e5){let r5=this._parse(e5);if((0, u5.isAsync)(r5))throw new Error("Synchronous parse encountered promise.");return r5}_parseAsync(e5){let r5=this._parse(e5);return Promise.resolve(r5)}parse(e5,r5){let n10=this.safeParse(e5,r5);if(n10.success)return n10.data;throw n10.error}safeParse(e5,r5){var n10;let s10={common:{issues:[],async:(n10=r5?.async)!==null&&n10!==void 0?n10:!1,contextualErrorMap:r5?.errorMap},path:r5?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)},i7=this._parseSync({data:e5,path:s10.path,parent:s10});return Rn5(s10,i7)}"~validate"(e5){var r5,n10;let s10={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)};if(!this["~standard"].async)try{let i7=this._parseSync({data:e5,path:[],parent:s10});return (0,u5.isValid)(i7)?{value:i7.value}:{issues:s10.common.issues}}catch(i7){!((n10=(r5=i7?.message)===null||r5===void 0?void 0:r5.toLowerCase())===null||n10===void 0)&&n10.includes("encountered")&&(this["~standard"].async=!0),s10.common={issues:[],async:!0};}return this._parseAsync({data:e5,path:[],parent:s10}).then(i7=>(0, u5.isValid)(i7)?{value:i7.value}:{issues:s10.common.issues})}async parseAsync(e5,r5){let n10=await this.safeParseAsync(e5,r5);if(n10.success)return n10.data;throw n10.error}async safeParseAsync(e5,r5){let n10={common:{issues:[],contextualErrorMap:r5?.errorMap,async:!0},path:r5?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e5,parsedType:(0, h8.getParsedType)(e5)},s10=this._parse({data:e5,path:n10.path,parent:n10}),i7=await((0, u5.isAsync)(s10)?s10:Promise.resolve(s10));return Rn5(n10,i7)}refine(e5,r5){let n10=o5(s10=>typeof r5=="string"||typeof r5>"u"?{message:r5}:typeof r5=="function"?r5(s10):r5,"getIssueProperties");return this._refinement((s10,i7)=>{let a5=e5(s10),c10=o5(()=>i7.addIssue({code:m7.ZodIssueCode.custom,...n10(s10)}),"setError");return typeof Promise<"u"&&a5 instanceof Promise?a5.then(p7=>p7?!0:(c10(),!1)):a5?!0:(c10(),!1)})}refinement(e5,r5){return this._refinement((n10,s10)=>e5(n10)?!0:(s10.addIssue(typeof r5=="function"?r5(n10,s10):r5),!1))}_refinement(e5){return new R10({schema:this,typeName:g5.ZodEffects,effect:{type:"refinement",refinement:e5}})}superRefine(e5){return this._refinement(e5)}constructor(e5){this.spa=this.safeParseAsync,this._def=e5,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:o5(r5=>this["~validate"](r5),"validate")};}optional(){return D10.create(this,this._def)}nullable(){return B11.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J13.create(this)}promise(){return Q12.create(this,this._def)}or(e5){return ce6.create([this,e5],this._def)}and(e5){return de8.create(this,e5,this._def)}transform(e5){return new R10({...v12(this._def),schema:this,typeName:g5.ZodEffects,effect:{type:"transform",transform:e5}})}default(e5){let r5=typeof e5=="function"?e5:()=>e5;return new me9({...v12(this._def),innerType:this,defaultValue:r5,typeName:g5.ZodDefault})}brand(){return new Fe7({typeName:g5.ZodBranded,type:this,...v12(this._def)})}catch(e5){let r5=typeof e5=="function"?e5:()=>e5;return new he5({...v12(this._def),innerType:this,catchValue:r5,typeName:g5.ZodCatch})}describe(e5){let r5=this.constructor;return new r5({...this._def,description:e5})}pipe(e5){return Be7.create(this,e5)}readonly(){return ye7.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};d7.ZodType=b8,d7.Schema=b8,d7.ZodSchema=b8;var ha3=/^c[^\s-]{8,}$/i,ya2=/^[0-9a-z]+$/,ga2=/^[0-9A-HJKMNP-TV-Z]{26}$/i,xa2=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,va3=/^[a-z0-9_-]{21}$/i,ba3=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,_a2=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,wa2=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,ka3="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",sr6,Ta=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ia4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Sa2=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Ca3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Pa3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Ea3=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Mn7="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",ja2=new RegExp(`^${Mn7}$`);function Un6(t18){let e5="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t18.precision?e5=`${e5}\\.\\d{${t18.precision}}`:t18.precision==null&&(e5=`${e5}(\\.\\d+)?`),e5}o5(Un6,"timeRegexSource");function Aa2(t18){return new RegExp(`^${Un6(t18)}$`)}o5(Aa2,"timeRegex");function $n5(t18){let e5=`${Mn7}T${Un6(t18)}`,r5=[];return r5.push(t18.local?"Z?":"Z"),t18.offset&&r5.push("([+-]\\d{2}:?\\d{2})"),e5=`${e5}(${r5.join("|")})`,new RegExp(`^${e5}$`)}o5($n5,"datetimeRegex"),d7.datetimeRegex=$n5;function Oa4(t18,e5){return !!((e5==="v4"||!e5)&&Ta.test(t18)||(e5==="v6"||!e5)&&Sa2.test(t18))}o5(Oa4,"isValidIP");function Za2(t18,e5){if(!ba3.test(t18))return !1;try{let[r5]=t18.split("."),n10=r5.replace(/-/g,"+").replace(/_/g,"/").padEnd(r5.length+(4-r5.length%4)%4,"="),s10=JSON.parse(atob(n10));return !(typeof s10!="object"||s10===null||!s10.typ||!s10.alg||e5&&s10.alg!==e5)}catch{return !1}}o5(Za2,"isValidJWT");function Na3(t18,e5){return !!((e5==="v4"||!e5)&&Ia4.test(t18)||(e5==="v6"||!e5)&&Ca3.test(t18))}o5(Na3,"isValidCidr");var Y12=class t18 extends b8{static{o5(this,"ZodString");}_parse(e5){if(this._def.coerce&&(e5.data=String(e5.data)),this._getType(e5)!==h8.ZodParsedType.string){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.string,received:i7.parsedType}),u5.INVALID}let n10=new u5.ParseStatus,s10;for(let i7 of this._def.checks)if(i7.kind==="min")e5.data.length<i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"string",inclusive:!0,exact:!1,message:i7.message}),n10.dirty());else if(i7.kind==="max")e5.data.length>i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"string",inclusive:!0,exact:!1,message:i7.message}),n10.dirty());else if(i7.kind==="length"){let a5=e5.data.length>i7.value,c10=e5.data.length<i7.value;(a5||c10)&&(s10=this._getOrReturnCtx(e5,s10),a5?(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"string",inclusive:!0,exact:!0,message:i7.message}):c10&&(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"string",inclusive:!0,exact:!0,message:i7.message}),n10.dirty());}else if(i7.kind==="email")wa2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"email",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="emoji")sr6||(sr6=new RegExp(ka3,"u")),sr6.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"emoji",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="uuid")xa2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"uuid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="nanoid")va3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"nanoid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="cuid")ha3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cuid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="cuid2")ya2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cuid2",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="ulid")ga2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"ulid",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty());else if(i7.kind==="url")try{new URL(e5.data);}catch{s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"url",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty();}else i7.kind==="regex"?(i7.regex.lastIndex=0,i7.regex.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"regex",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty())):i7.kind==="trim"?e5.data=e5.data.trim():i7.kind==="includes"?e5.data.includes(i7.value,i7.position)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{includes:i7.value,position:i7.position},message:i7.message}),n10.dirty()):i7.kind==="toLowerCase"?e5.data=e5.data.toLowerCase():i7.kind==="toUpperCase"?e5.data=e5.data.toUpperCase():i7.kind==="startsWith"?e5.data.startsWith(i7.value)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{startsWith:i7.value},message:i7.message}),n10.dirty()):i7.kind==="endsWith"?e5.data.endsWith(i7.value)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:{endsWith:i7.value},message:i7.message}),n10.dirty()):i7.kind==="datetime"?$n5(i7).test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"datetime",message:i7.message}),n10.dirty()):i7.kind==="date"?ja2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"date",message:i7.message}),n10.dirty()):i7.kind==="time"?Aa2(i7).test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.invalid_string,validation:"time",message:i7.message}),n10.dirty()):i7.kind==="duration"?_a2.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"duration",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="ip"?Oa4(e5.data,i7.version)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"ip",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="jwt"?Za2(e5.data,i7.alg)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"jwt",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="cidr"?Na3(e5.data,i7.version)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"cidr",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="base64"?Pa3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"base64",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):i7.kind==="base64url"?Ea3.test(e5.data)||(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{validation:"base64url",code:m7.ZodIssueCode.invalid_string,message:i7.message}),n10.dirty()):h8.util.assertNever(i7);return {status:n10.value,value:e5.data}}_regex(e5,r5,n10){return this.refinement(s10=>e5.test(s10),{validation:r5,code:m7.ZodIssueCode.invalid_string,...y7.errorUtil.errToObj(n10)})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}email(e5){return this._addCheck({kind:"email",...y7.errorUtil.errToObj(e5)})}url(e5){return this._addCheck({kind:"url",...y7.errorUtil.errToObj(e5)})}emoji(e5){return this._addCheck({kind:"emoji",...y7.errorUtil.errToObj(e5)})}uuid(e5){return this._addCheck({kind:"uuid",...y7.errorUtil.errToObj(e5)})}nanoid(e5){return this._addCheck({kind:"nanoid",...y7.errorUtil.errToObj(e5)})}cuid(e5){return this._addCheck({kind:"cuid",...y7.errorUtil.errToObj(e5)})}cuid2(e5){return this._addCheck({kind:"cuid2",...y7.errorUtil.errToObj(e5)})}ulid(e5){return this._addCheck({kind:"ulid",...y7.errorUtil.errToObj(e5)})}base64(e5){return this._addCheck({kind:"base64",...y7.errorUtil.errToObj(e5)})}base64url(e5){return this._addCheck({kind:"base64url",...y7.errorUtil.errToObj(e5)})}jwt(e5){return this._addCheck({kind:"jwt",...y7.errorUtil.errToObj(e5)})}ip(e5){return this._addCheck({kind:"ip",...y7.errorUtil.errToObj(e5)})}cidr(e5){return this._addCheck({kind:"cidr",...y7.errorUtil.errToObj(e5)})}datetime(e5){var r5,n10;return typeof e5=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e5}):this._addCheck({kind:"datetime",precision:typeof e5?.precision>"u"?null:e5?.precision,offset:(r5=e5?.offset)!==null&&r5!==void 0?r5:!1,local:(n10=e5?.local)!==null&&n10!==void 0?n10:!1,...y7.errorUtil.errToObj(e5?.message)})}date(e5){return this._addCheck({kind:"date",message:e5})}time(e5){return typeof e5=="string"?this._addCheck({kind:"time",precision:null,message:e5}):this._addCheck({kind:"time",precision:typeof e5?.precision>"u"?null:e5?.precision,...y7.errorUtil.errToObj(e5?.message)})}duration(e5){return this._addCheck({kind:"duration",...y7.errorUtil.errToObj(e5)})}regex(e5,r5){return this._addCheck({kind:"regex",regex:e5,...y7.errorUtil.errToObj(r5)})}includes(e5,r5){return this._addCheck({kind:"includes",value:e5,position:r5?.position,...y7.errorUtil.errToObj(r5?.message)})}startsWith(e5,r5){return this._addCheck({kind:"startsWith",value:e5,...y7.errorUtil.errToObj(r5)})}endsWith(e5,r5){return this._addCheck({kind:"endsWith",value:e5,...y7.errorUtil.errToObj(r5)})}min(e5,r5){return this._addCheck({kind:"min",value:e5,...y7.errorUtil.errToObj(r5)})}max(e5,r5){return this._addCheck({kind:"max",value:e5,...y7.errorUtil.errToObj(r5)})}length(e5,r5){return this._addCheck({kind:"length",value:e5,...y7.errorUtil.errToObj(r5)})}nonempty(e5){return this.min(1,y7.errorUtil.errToObj(e5))}trim(){return new t18({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t18({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t18({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return !!this._def.checks.find(e5=>e5.kind==="datetime")}get isDate(){return !!this._def.checks.find(e5=>e5.kind==="date")}get isTime(){return !!this._def.checks.find(e5=>e5.kind==="time")}get isDuration(){return !!this._def.checks.find(e5=>e5.kind==="duration")}get isEmail(){return !!this._def.checks.find(e5=>e5.kind==="email")}get isURL(){return !!this._def.checks.find(e5=>e5.kind==="url")}get isEmoji(){return !!this._def.checks.find(e5=>e5.kind==="emoji")}get isUUID(){return !!this._def.checks.find(e5=>e5.kind==="uuid")}get isNANOID(){return !!this._def.checks.find(e5=>e5.kind==="nanoid")}get isCUID(){return !!this._def.checks.find(e5=>e5.kind==="cuid")}get isCUID2(){return !!this._def.checks.find(e5=>e5.kind==="cuid2")}get isULID(){return !!this._def.checks.find(e5=>e5.kind==="ulid")}get isIP(){return !!this._def.checks.find(e5=>e5.kind==="ip")}get isCIDR(){return !!this._def.checks.find(e5=>e5.kind==="cidr")}get isBase64(){return !!this._def.checks.find(e5=>e5.kind==="base64")}get isBase64url(){return !!this._def.checks.find(e5=>e5.kind==="base64url")}get minLength(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxLength(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}};d7.ZodString=Y12,Y12.create=t18=>{var e5;return new Y12({checks:[],typeName:g5.ZodString,coerce:(e5=t18?.coerce)!==null&&e5!==void 0?e5:!1,...v12(t18)})};function Ra3(t18,e5){let r5=(t18.toString().split(".")[1]||"").length,n10=(e5.toString().split(".")[1]||"").length,s10=r5>n10?r5:n10,i7=parseInt(t18.toFixed(s10).replace(".","")),a5=parseInt(e5.toFixed(s10).replace(".",""));return i7%a5/Math.pow(10,s10)}o5(Ra3,"floatSafeRemainder");var re7=class t18 extends b8{static{o5(this,"ZodNumber");}constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf;}_parse(e5){if(this._def.coerce&&(e5.data=Number(e5.data)),this._getType(e5)!==h8.ZodParsedType.number){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.number,received:i7.parsedType}),u5.INVALID}let n10,s10=new u5.ParseStatus;for(let i7 of this._def.checks)i7.kind==="int"?h8.util.isInteger(e5.data)||(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:i7.message}),s10.dirty()):i7.kind==="min"?(i7.inclusive?e5.data<i7.value:e5.data<=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:i7.value,type:"number",inclusive:i7.inclusive,exact:!1,message:i7.message}),s10.dirty()):i7.kind==="max"?(i7.inclusive?e5.data>i7.value:e5.data>=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:i7.value,type:"number",inclusive:i7.inclusive,exact:!1,message:i7.message}),s10.dirty()):i7.kind==="multipleOf"?Ra3(e5.data,i7.value)!==0&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_multiple_of,multipleOf:i7.value,message:i7.message}),s10.dirty()):i7.kind==="finite"?Number.isFinite(e5.data)||(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_finite,message:i7.message}),s10.dirty()):h8.util.assertNever(i7);return {status:s10.value,value:e5.data}}gte(e5,r5){return this.setLimit("min",e5,!0,y7.errorUtil.toString(r5))}gt(e5,r5){return this.setLimit("min",e5,!1,y7.errorUtil.toString(r5))}lte(e5,r5){return this.setLimit("max",e5,!0,y7.errorUtil.toString(r5))}lt(e5,r5){return this.setLimit("max",e5,!1,y7.errorUtil.toString(r5))}setLimit(e5,r5,n10,s10){return new t18({...this._def,checks:[...this._def.checks,{kind:e5,value:r5,inclusive:n10,message:y7.errorUtil.toString(s10)}]})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}int(e5){return this._addCheck({kind:"int",message:y7.errorUtil.toString(e5)})}positive(e5){return this._addCheck({kind:"min",value:0,inclusive:!1,message:y7.errorUtil.toString(e5)})}negative(e5){return this._addCheck({kind:"max",value:0,inclusive:!1,message:y7.errorUtil.toString(e5)})}nonpositive(e5){return this._addCheck({kind:"max",value:0,inclusive:!0,message:y7.errorUtil.toString(e5)})}nonnegative(e5){return this._addCheck({kind:"min",value:0,inclusive:!0,message:y7.errorUtil.toString(e5)})}multipleOf(e5,r5){return this._addCheck({kind:"multipleOf",value:e5,message:y7.errorUtil.toString(r5)})}finite(e5){return this._addCheck({kind:"finite",message:y7.errorUtil.toString(e5)})}safe(e5){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:y7.errorUtil.toString(e5)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:y7.errorUtil.toString(e5)})}get minValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}get isInt(){return !!this._def.checks.find(e5=>e5.kind==="int"||e5.kind==="multipleOf"&&h8.util.isInteger(e5.value))}get isFinite(){let e5=null,r5=null;for(let n10 of this._def.checks){if(n10.kind==="finite"||n10.kind==="int"||n10.kind==="multipleOf")return !0;n10.kind==="min"?(r5===null||n10.value>r5)&&(r5=n10.value):n10.kind==="max"&&(e5===null||n10.value<e5)&&(e5=n10.value);}return Number.isFinite(r5)&&Number.isFinite(e5)}};d7.ZodNumber=re7,re7.create=t18=>new re7({checks:[],typeName:g5.ZodNumber,coerce:t18?.coerce||!1,...v12(t18)});var ne6=class t18 extends b8{static{o5(this,"ZodBigInt");}constructor(){super(...arguments),this.min=this.gte,this.max=this.lte;}_parse(e5){if(this._def.coerce)try{e5.data=BigInt(e5.data);}catch{return this._getInvalidInput(e5)}if(this._getType(e5)!==h8.ZodParsedType.bigint)return this._getInvalidInput(e5);let n10,s10=new u5.ParseStatus;for(let i7 of this._def.checks)i7.kind==="min"?(i7.inclusive?e5.data<i7.value:e5.data<=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,type:"bigint",minimum:i7.value,inclusive:i7.inclusive,message:i7.message}),s10.dirty()):i7.kind==="max"?(i7.inclusive?e5.data>i7.value:e5.data>=i7.value)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,type:"bigint",maximum:i7.value,inclusive:i7.inclusive,message:i7.message}),s10.dirty()):i7.kind==="multipleOf"?e5.data%i7.value!==BigInt(0)&&(n10=this._getOrReturnCtx(e5,n10),(0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.not_multiple_of,multipleOf:i7.value,message:i7.message}),s10.dirty()):h8.util.assertNever(i7);return {status:s10.value,value:e5.data}}_getInvalidInput(e5){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.bigint,received:r5.parsedType}),u5.INVALID}gte(e5,r5){return this.setLimit("min",e5,!0,y7.errorUtil.toString(r5))}gt(e5,r5){return this.setLimit("min",e5,!1,y7.errorUtil.toString(r5))}lte(e5,r5){return this.setLimit("max",e5,!0,y7.errorUtil.toString(r5))}lt(e5,r5){return this.setLimit("max",e5,!1,y7.errorUtil.toString(r5))}setLimit(e5,r5,n10,s10){return new t18({...this._def,checks:[...this._def.checks,{kind:e5,value:r5,inclusive:n10,message:y7.errorUtil.toString(s10)}]})}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}positive(e5){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:y7.errorUtil.toString(e5)})}negative(e5){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:y7.errorUtil.toString(e5)})}nonpositive(e5){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:y7.errorUtil.toString(e5)})}nonnegative(e5){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:y7.errorUtil.toString(e5)})}multipleOf(e5,r5){return this._addCheck({kind:"multipleOf",value:e5,message:y7.errorUtil.toString(r5)})}get minValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5}get maxValue(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5}};d7.ZodBigInt=ne6,ne6.create=t18=>{var e5;return new ne6({checks:[],typeName:g5.ZodBigInt,coerce:(e5=t18?.coerce)!==null&&e5!==void 0?e5:!1,...v12(t18)})};var se6=class extends b8{static{o5(this,"ZodBoolean");}_parse(e5){if(this._def.coerce&&(e5.data=!!e5.data),this._getType(e5)!==h8.ZodParsedType.boolean){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.boolean,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodBoolean=se6,se6.create=t18=>new se6({typeName:g5.ZodBoolean,coerce:t18?.coerce||!1,...v12(t18)});var ie8=class t18 extends b8{static{o5(this,"ZodDate");}_parse(e5){if(this._def.coerce&&(e5.data=new Date(e5.data)),this._getType(e5)!==h8.ZodParsedType.date){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.date,received:i7.parsedType}),u5.INVALID}if(isNaN(e5.data.getTime())){let i7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(i7,{code:m7.ZodIssueCode.invalid_date}),u5.INVALID}let n10=new u5.ParseStatus,s10;for(let i7 of this._def.checks)i7.kind==="min"?e5.data.getTime()<i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_small,message:i7.message,inclusive:!0,exact:!1,minimum:i7.value,type:"date"}),n10.dirty()):i7.kind==="max"?e5.data.getTime()>i7.value&&(s10=this._getOrReturnCtx(e5,s10),(0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.too_big,message:i7.message,inclusive:!0,exact:!1,maximum:i7.value,type:"date"}),n10.dirty()):h8.util.assertNever(i7);return {status:n10.value,value:new Date(e5.data.getTime())}}_addCheck(e5){return new t18({...this._def,checks:[...this._def.checks,e5]})}min(e5,r5){return this._addCheck({kind:"min",value:e5.getTime(),message:y7.errorUtil.toString(r5)})}max(e5,r5){return this._addCheck({kind:"max",value:e5.getTime(),message:y7.errorUtil.toString(r5)})}get minDate(){let e5=null;for(let r5 of this._def.checks)r5.kind==="min"&&(e5===null||r5.value>e5)&&(e5=r5.value);return e5!=null?new Date(e5):null}get maxDate(){let e5=null;for(let r5 of this._def.checks)r5.kind==="max"&&(e5===null||r5.value<e5)&&(e5=r5.value);return e5!=null?new Date(e5):null}};d7.ZodDate=ie8,ie8.create=t18=>new ie8({checks:[],coerce:t18?.coerce||!1,typeName:g5.ZodDate,...v12(t18)});var we6=class extends b8{static{o5(this,"ZodSymbol");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.symbol){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.symbol,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodSymbol=we6,we6.create=t18=>new we6({typeName:g5.ZodSymbol,...v12(t18)});var oe6=class extends b8{static{o5(this,"ZodUndefined");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.undefined){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.undefined,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodUndefined=oe6,oe6.create=t18=>new oe6({typeName:g5.ZodUndefined,...v12(t18)});var ae6=class extends b8{static{o5(this,"ZodNull");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.null){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.null,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodNull=ae6,ae6.create=t18=>new ae6({typeName:g5.ZodNull,...v12(t18)});var X13=class extends b8{static{o5(this,"ZodAny");}constructor(){super(...arguments),this._any=!0;}_parse(e5){return (0, u5.OK)(e5.data)}};d7.ZodAny=X13,X13.create=t18=>new X13({typeName:g5.ZodAny,...v12(t18)});var W12=class extends b8{static{o5(this,"ZodUnknown");}constructor(){super(...arguments),this._unknown=!0;}_parse(e5){return (0, u5.OK)(e5.data)}};d7.ZodUnknown=W12,W12.create=t18=>new W12({typeName:g5.ZodUnknown,...v12(t18)});var U12=class extends b8{static{o5(this,"ZodNever");}_parse(e5){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.never,received:r5.parsedType}),u5.INVALID}};d7.ZodNever=U12,U12.create=t18=>new U12({typeName:g5.ZodNever,...v12(t18)});var ke10=class extends b8{static{o5(this,"ZodVoid");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.undefined){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.void,received:n10.parsedType}),u5.INVALID}return (0, u5.OK)(e5.data)}};d7.ZodVoid=ke10,ke10.create=t18=>new ke10({typeName:g5.ZodVoid,...v12(t18)});var J13=class t18 extends b8{static{o5(this,"ZodArray");}_parse(e5){let{ctx:r5,status:n10}=this._processInputParams(e5),s10=this._def;if(r5.parsedType!==h8.ZodParsedType.array)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.array,received:r5.parsedType}),u5.INVALID;if(s10.exactLength!==null){let a5=r5.data.length>s10.exactLength.value,c10=r5.data.length<s10.exactLength.value;(a5||c10)&&((0, u5.addIssueToContext)(r5,{code:a5?m7.ZodIssueCode.too_big:m7.ZodIssueCode.too_small,minimum:c10?s10.exactLength.value:void 0,maximum:a5?s10.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s10.exactLength.message}),n10.dirty());}if(s10.minLength!==null&&r5.data.length<s10.minLength.value&&((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.too_small,minimum:s10.minLength.value,type:"array",inclusive:!0,exact:!1,message:s10.minLength.message}),n10.dirty()),s10.maxLength!==null&&r5.data.length>s10.maxLength.value&&((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.too_big,maximum:s10.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s10.maxLength.message}),n10.dirty()),r5.common.async)return Promise.all([...r5.data].map((a5,c10)=>s10.type._parseAsync(new L11(r5,a5,r5.path,c10)))).then(a5=>u5.ParseStatus.mergeArray(n10,a5));let i7=[...r5.data].map((a5,c10)=>s10.type._parseSync(new L11(r5,a5,r5.path,c10)));return u5.ParseStatus.mergeArray(n10,i7)}get element(){return this._def.type}min(e5,r5){return new t18({...this._def,minLength:{value:e5,message:y7.errorUtil.toString(r5)}})}max(e5,r5){return new t18({...this._def,maxLength:{value:e5,message:y7.errorUtil.toString(r5)}})}length(e5,r5){return new t18({...this._def,exactLength:{value:e5,message:y7.errorUtil.toString(r5)}})}nonempty(e5){return this.min(1,e5)}};d7.ZodArray=J13,J13.create=(t18,e5)=>new J13({type:t18,minLength:null,maxLength:null,exactLength:null,typeName:g5.ZodArray,...v12(e5)});function _e7(t18){if(t18 instanceof Z14){let e5={};for(let r5 in t18.shape){let n10=t18.shape[r5];e5[r5]=D10.create(_e7(n10));}return new Z14({...t18._def,shape:o5(()=>e5,"shape")})}else return t18 instanceof J13?new J13({...t18._def,type:_e7(t18.element)}):t18 instanceof D10?D10.create(_e7(t18.unwrap())):t18 instanceof B11?B11.create(_e7(t18.unwrap())):t18 instanceof F8?F8.create(t18.items.map(e5=>_e7(e5))):t18}o5(_e7,"deepPartialify");var Z14=class t18 extends b8{static{o5(this,"ZodObject");}constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend;}_getCached(){if(this._cached!==null)return this._cached;let e5=this._def.shape(),r5=h8.util.objectKeys(e5);return this._cached={shape:e5,keys:r5}}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.object){let l7=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(l7,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:l7.parsedType}),u5.INVALID}let{status:n10,ctx:s10}=this._processInputParams(e5),{shape:i7,keys:a5}=this._getCached(),c10=[];if(!(this._def.catchall instanceof U12&&this._def.unknownKeys==="strip"))for(let l7 in s10.data)a5.includes(l7)||c10.push(l7);let p7=[];for(let l7 of a5){let f11=i7[l7],x8=s10.data[l7];p7.push({key:{status:"valid",value:l7},value:f11._parse(new L11(s10,x8,s10.path,l7)),alwaysSet:l7 in s10.data});}if(this._def.catchall instanceof U12){let l7=this._def.unknownKeys;if(l7==="passthrough")for(let f11 of c10)p7.push({key:{status:"valid",value:f11},value:{status:"valid",value:s10.data[f11]}});else if(l7==="strict")c10.length>0&&((0, u5.addIssueToContext)(s10,{code:m7.ZodIssueCode.unrecognized_keys,keys:c10}),n10.dirty());else if(l7!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else {let l7=this._def.catchall;for(let f11 of c10){let x8=s10.data[f11];p7.push({key:{status:"valid",value:f11},value:l7._parse(new L11(s10,x8,s10.path,f11)),alwaysSet:f11 in s10.data});}}return s10.common.async?Promise.resolve().then(async()=>{let l7=[];for(let f11 of p7){let x8=await f11.key,w8=await f11.value;l7.push({key:x8,value:w8,alwaysSet:f11.alwaysSet});}return l7}).then(l7=>u5.ParseStatus.mergeObjectSync(n10,l7)):u5.ParseStatus.mergeObjectSync(n10,p7)}get shape(){return this._def.shape()}strict(e5){return y7.errorUtil.errToObj,new t18({...this._def,unknownKeys:"strict",...e5!==void 0?{errorMap:o5((r5,n10)=>{var s10,i7,a5,c10;let p7=(a5=(i7=(s10=this._def).errorMap)===null||i7===void 0?void 0:i7.call(s10,r5,n10).message)!==null&&a5!==void 0?a5:n10.defaultError;return r5.code==="unrecognized_keys"?{message:(c10=y7.errorUtil.errToObj(e5).message)!==null&&c10!==void 0?c10:p7}:{message:p7}},"errorMap")}:{}})}strip(){return new t18({...this._def,unknownKeys:"strip"})}passthrough(){return new t18({...this._def,unknownKeys:"passthrough"})}extend(e5){return new t18({...this._def,shape:o5(()=>({...this._def.shape(),...e5}),"shape")})}merge(e5){return new t18({unknownKeys:e5._def.unknownKeys,catchall:e5._def.catchall,shape:o5(()=>({...this._def.shape(),...e5._def.shape()}),"shape"),typeName:g5.ZodObject})}setKey(e5,r5){return this.augment({[e5]:r5})}catchall(e5){return new t18({...this._def,catchall:e5})}pick(e5){let r5={};return h8.util.objectKeys(e5).forEach(n10=>{e5[n10]&&this.shape[n10]&&(r5[n10]=this.shape[n10]);}),new t18({...this._def,shape:o5(()=>r5,"shape")})}omit(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{e5[n10]||(r5[n10]=this.shape[n10]);}),new t18({...this._def,shape:o5(()=>r5,"shape")})}deepPartial(){return _e7(this)}partial(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{let s10=this.shape[n10];e5&&!e5[n10]?r5[n10]=s10:r5[n10]=s10.optional();}),new t18({...this._def,shape:o5(()=>r5,"shape")})}required(e5){let r5={};return h8.util.objectKeys(this.shape).forEach(n10=>{if(e5&&!e5[n10])r5[n10]=this.shape[n10];else {let i7=this.shape[n10];for(;i7 instanceof D10;)i7=i7._def.innerType;r5[n10]=i7;}}),new t18({...this._def,shape:o5(()=>r5,"shape")})}keyof(){return Vn4(h8.util.objectKeys(this.shape))}};d7.ZodObject=Z14,Z14.create=(t18,e5)=>new Z14({shape:o5(()=>t18,"shape"),unknownKeys:"strip",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)}),Z14.strictCreate=(t18,e5)=>new Z14({shape:o5(()=>t18,"shape"),unknownKeys:"strict",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)}),Z14.lazycreate=(t18,e5)=>new Z14({shape:t18,unknownKeys:"strip",catchall:U12.create(),typeName:g5.ZodObject,...v12(e5)});var ce6=class extends b8{static{o5(this,"ZodUnion");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=this._def.options;function s10(i7){for(let c10 of i7)if(c10.result.status==="valid")return c10.result;for(let c10 of i7)if(c10.result.status==="dirty")return r5.common.issues.push(...c10.ctx.common.issues),c10.result;let a5=i7.map(c10=>new m7.ZodError(c10.ctx.common.issues));return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union,unionErrors:a5}),u5.INVALID}if(o5(s10,"handleResults"),r5.common.async)return Promise.all(n10.map(async i7=>{let a5={...r5,common:{...r5.common,issues:[]},parent:null};return {result:await i7._parseAsync({data:r5.data,path:r5.path,parent:a5}),ctx:a5}})).then(s10);{let i7,a5=[];for(let p7 of n10){let l7={...r5,common:{...r5.common,issues:[]},parent:null},f11=p7._parseSync({data:r5.data,path:r5.path,parent:l7});if(f11.status==="valid")return f11;f11.status==="dirty"&&!i7&&(i7={result:f11,ctx:l7}),l7.common.issues.length&&a5.push(l7.common.issues);}if(i7)return r5.common.issues.push(...i7.ctx.common.issues),i7.result;let c10=a5.map(p7=>new m7.ZodError(p7));return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union,unionErrors:c10}),u5.INVALID}}get options(){return this._def.options}};d7.ZodUnion=ce6,ce6.create=(t18,e5)=>new ce6({options:t18,typeName:g5.ZodUnion,...v12(e5)});var G13=o5(t18=>t18 instanceof ue7?G13(t18.schema):t18 instanceof R10?G13(t18.innerType()):t18 instanceof le7?[t18.value]:t18 instanceof pe6?t18.options:t18 instanceof fe6?h8.util.objectValues(t18.enum):t18 instanceof me9?G13(t18._def.innerType):t18 instanceof oe6?[void 0]:t18 instanceof ae6?[null]:t18 instanceof D10?[void 0,...G13(t18.unwrap())]:t18 instanceof B11?[null,...G13(t18.unwrap())]:t18 instanceof Fe7||t18 instanceof ye7?G13(t18.unwrap()):t18 instanceof he5?G13(t18._def.innerType):[],"getDiscriminator"),yt8=class t18 extends b8{static{o5(this,"ZodDiscriminatedUnion");}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.object)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:r5.parsedType}),u5.INVALID;let n10=this.discriminator,s10=r5.data[n10],i7=this.optionsMap.get(s10);return i7?r5.common.async?i7._parseAsync({data:r5.data,path:r5.path,parent:r5}):i7._parseSync({data:r5.data,path:r5.path,parent:r5}):((0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n10]}),u5.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e5,r5,n10){let s10=new Map;for(let i7 of r5){let a5=G13(i7.shape[e5]);if(!a5.length)throw new Error(`A discriminator value for key \`${e5}\` could not be extracted from all schema options`);for(let c10 of a5){if(s10.has(c10))throw new Error(`Discriminator property ${String(e5)} has duplicate value ${String(c10)}`);s10.set(c10,i7);}}return new t18({typeName:g5.ZodDiscriminatedUnion,discriminator:e5,options:r5,optionsMap:s10,...v12(n10)})}};d7.ZodDiscriminatedUnion=yt8;function ir6(t18,e5){let r5=(0, h8.getParsedType)(t18),n10=(0, h8.getParsedType)(e5);if(t18===e5)return {valid:!0,data:t18};if(r5===h8.ZodParsedType.object&&n10===h8.ZodParsedType.object){let s10=h8.util.objectKeys(e5),i7=h8.util.objectKeys(t18).filter(c10=>s10.indexOf(c10)!==-1),a5={...t18,...e5};for(let c10 of i7){let p7=ir6(t18[c10],e5[c10]);if(!p7.valid)return {valid:!1};a5[c10]=p7.data;}return {valid:!0,data:a5}}else if(r5===h8.ZodParsedType.array&&n10===h8.ZodParsedType.array){if(t18.length!==e5.length)return {valid:!1};let s10=[];for(let i7=0;i7<t18.length;i7++){let a5=t18[i7],c10=e5[i7],p7=ir6(a5,c10);if(!p7.valid)return {valid:!1};s10.push(p7.data);}return {valid:!0,data:s10}}else return r5===h8.ZodParsedType.date&&n10===h8.ZodParsedType.date&&+t18==+e5?{valid:!0,data:t18}:{valid:!1}}o5(ir6,"mergeValues");var de8=class extends b8{static{o5(this,"ZodIntersection");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5),s10=o5((i7,a5)=>{if((0, u5.isAborted)(i7)||(0, u5.isAborted)(a5))return u5.INVALID;let c10=ir6(i7.value,a5.value);return c10.valid?(((0, u5.isDirty)(i7)||(0, u5.isDirty)(a5))&&r5.dirty(),{status:r5.value,value:c10.data}):((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_intersection_types}),u5.INVALID)},"handleParsed");return n10.common.async?Promise.all([this._def.left._parseAsync({data:n10.data,path:n10.path,parent:n10}),this._def.right._parseAsync({data:n10.data,path:n10.path,parent:n10})]).then(([i7,a5])=>s10(i7,a5)):s10(this._def.left._parseSync({data:n10.data,path:n10.path,parent:n10}),this._def.right._parseSync({data:n10.data,path:n10.path,parent:n10}))}};d7.ZodIntersection=de8,de8.create=(t18,e5,r5)=>new de8({left:t18,right:e5,typeName:g5.ZodIntersection,...v12(r5)});var F8=class t18 extends b8{static{o5(this,"ZodTuple");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.array)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.array,received:n10.parsedType}),u5.INVALID;if(n10.data.length<this._def.items.length)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),u5.INVALID;!this._def.rest&&n10.data.length>this._def.items.length&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r5.dirty());let i7=[...n10.data].map((a5,c10)=>{let p7=this._def.items[c10]||this._def.rest;return p7?p7._parse(new L11(n10,a5,n10.path,c10)):null}).filter(a5=>!!a5);return n10.common.async?Promise.all(i7).then(a5=>u5.ParseStatus.mergeArray(r5,a5)):u5.ParseStatus.mergeArray(r5,i7)}get items(){return this._def.items}rest(e5){return new t18({...this._def,rest:e5})}};d7.ZodTuple=F8,F8.create=(t18,e5)=>{if(!Array.isArray(t18))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new F8({items:t18,typeName:g5.ZodTuple,rest:null,...v12(e5)})};var gt6=class t18 extends b8{static{o5(this,"ZodRecord");}get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.object)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.object,received:n10.parsedType}),u5.INVALID;let s10=[],i7=this._def.keyType,a5=this._def.valueType;for(let c10 in n10.data)s10.push({key:i7._parse(new L11(n10,c10,n10.path,c10)),value:a5._parse(new L11(n10,n10.data[c10],n10.path,c10)),alwaysSet:c10 in n10.data});return n10.common.async?u5.ParseStatus.mergeObjectAsync(r5,s10):u5.ParseStatus.mergeObjectSync(r5,s10)}get element(){return this._def.valueType}static create(e5,r5,n10){return r5 instanceof b8?new t18({keyType:e5,valueType:r5,typeName:g5.ZodRecord,...v12(n10)}):new t18({keyType:Y12.create(),valueType:e5,typeName:g5.ZodRecord,...v12(r5)})}};d7.ZodRecord=gt6;var Te8=class extends b8{static{o5(this,"ZodMap");}get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.map)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.map,received:n10.parsedType}),u5.INVALID;let s10=this._def.keyType,i7=this._def.valueType,a5=[...n10.data.entries()].map(([c10,p7],l7)=>({key:s10._parse(new L11(n10,c10,n10.path,[l7,"key"])),value:i7._parse(new L11(n10,p7,n10.path,[l7,"value"]))}));if(n10.common.async){let c10=new Map;return Promise.resolve().then(async()=>{for(let p7 of a5){let l7=await p7.key,f11=await p7.value;if(l7.status==="aborted"||f11.status==="aborted")return u5.INVALID;(l7.status==="dirty"||f11.status==="dirty")&&r5.dirty(),c10.set(l7.value,f11.value);}return {status:r5.value,value:c10}})}else {let c10=new Map;for(let p7 of a5){let l7=p7.key,f11=p7.value;if(l7.status==="aborted"||f11.status==="aborted")return u5.INVALID;(l7.status==="dirty"||f11.status==="dirty")&&r5.dirty(),c10.set(l7.value,f11.value);}return {status:r5.value,value:c10}}}};d7.ZodMap=Te8,Te8.create=(t18,e5,r5)=>new Te8({valueType:e5,keyType:t18,typeName:g5.ZodMap,...v12(r5)});var Ie9=class t18 extends b8{static{o5(this,"ZodSet");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.parsedType!==h8.ZodParsedType.set)return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.set,received:n10.parsedType}),u5.INVALID;let s10=this._def;s10.minSize!==null&&n10.data.size<s10.minSize.value&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_small,minimum:s10.minSize.value,type:"set",inclusive:!0,exact:!1,message:s10.minSize.message}),r5.dirty()),s10.maxSize!==null&&n10.data.size>s10.maxSize.value&&((0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.too_big,maximum:s10.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s10.maxSize.message}),r5.dirty());let i7=this._def.valueType;function a5(p7){let l7=new Set;for(let f11 of p7){if(f11.status==="aborted")return u5.INVALID;f11.status==="dirty"&&r5.dirty(),l7.add(f11.value);}return {status:r5.value,value:l7}}o5(a5,"finalizeSet");let c10=[...n10.data.values()].map((p7,l7)=>i7._parse(new L11(n10,p7,n10.path,l7)));return n10.common.async?Promise.all(c10).then(p7=>a5(p7)):a5(c10)}min(e5,r5){return new t18({...this._def,minSize:{value:e5,message:y7.errorUtil.toString(r5)}})}max(e5,r5){return new t18({...this._def,maxSize:{value:e5,message:y7.errorUtil.toString(r5)}})}size(e5,r5){return this.min(e5,r5).max(e5,r5)}nonempty(e5){return this.min(1,e5)}};d7.ZodSet=Ie9,Ie9.create=(t18,e5)=>new Ie9({valueType:t18,minSize:null,maxSize:null,typeName:g5.ZodSet,...v12(e5)});var xt7=class t18 extends b8{static{o5(this,"ZodFunction");}constructor(){super(...arguments),this.validate=this.implement;}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.function)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.function,received:r5.parsedType}),u5.INVALID;function n10(c10,p7){return (0, u5.makeIssue)({data:c10,path:r5.path,errorMaps:[r5.common.contextualErrorMap,r5.schemaErrorMap,(0, mt5.getErrorMap)(),mt5.defaultErrorMap].filter(l7=>!!l7),issueData:{code:m7.ZodIssueCode.invalid_arguments,argumentsError:p7}})}o5(n10,"makeArgsIssue");function s10(c10,p7){return (0, u5.makeIssue)({data:c10,path:r5.path,errorMaps:[r5.common.contextualErrorMap,r5.schemaErrorMap,(0, mt5.getErrorMap)(),mt5.defaultErrorMap].filter(l7=>!!l7),issueData:{code:m7.ZodIssueCode.invalid_return_type,returnTypeError:p7}})}o5(s10,"makeReturnsIssue");let i7={errorMap:r5.common.contextualErrorMap},a5=r5.data;if(this._def.returns instanceof Q12){let c10=this;return (0, u5.OK)(async function(...p7){let l7=new m7.ZodError([]),f11=await c10._def.args.parseAsync(p7,i7).catch(_11=>{throw l7.addIssue(n10(p7,_11)),l7}),x8=await Reflect.apply(a5,this,f11);return await c10._def.returns._def.type.parseAsync(x8,i7).catch(_11=>{throw l7.addIssue(s10(x8,_11)),l7})})}else {let c10=this;return (0, u5.OK)(function(...p7){let l7=c10._def.args.safeParse(p7,i7);if(!l7.success)throw new m7.ZodError([n10(p7,l7.error)]);let f11=Reflect.apply(a5,this,l7.data),x8=c10._def.returns.safeParse(f11,i7);if(!x8.success)throw new m7.ZodError([s10(f11,x8.error)]);return x8.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e5){return new t18({...this._def,args:F8.create(e5).rest(W12.create())})}returns(e5){return new t18({...this._def,returns:e5})}implement(e5){return this.parse(e5)}strictImplement(e5){return this.parse(e5)}static create(e5,r5,n10){return new t18({args:e5||F8.create([]).rest(W12.create()),returns:r5||W12.create(),typeName:g5.ZodFunction,...v12(n10)})}};d7.ZodFunction=xt7;var ue7=class extends b8{static{o5(this,"ZodLazy");}get schema(){return this._def.getter()}_parse(e5){let{ctx:r5}=this._processInputParams(e5);return this._def.getter()._parse({data:r5.data,path:r5.path,parent:r5})}};d7.ZodLazy=ue7,ue7.create=(t18,e5)=>new ue7({getter:t18,typeName:g5.ZodLazy,...v12(e5)});var le7=class extends b8{static{o5(this,"ZodLiteral");}_parse(e5){if(e5.data!==this._def.value){let r5=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(r5,{received:r5.data,code:m7.ZodIssueCode.invalid_literal,expected:this._def.value}),u5.INVALID}return {status:"valid",value:e5.data}}get value(){return this._def.value}};d7.ZodLiteral=le7,le7.create=(t18,e5)=>new le7({value:t18,typeName:g5.ZodLiteral,...v12(e5)});function Vn4(t18,e5){return new pe6({values:t18,typeName:g5.ZodEnum,...v12(e5)})}o5(Vn4,"createZodEnum");var pe6=class t18 extends b8{static{o5(this,"ZodEnum");}constructor(){super(...arguments),$e6.set(this,void 0);}_parse(e5){if(typeof e5.data!="string"){let r5=this._getOrReturnCtx(e5),n10=this._def.values;return (0, u5.addIssueToContext)(r5,{expected:h8.util.joinValues(n10),received:r5.parsedType,code:m7.ZodIssueCode.invalid_type}),u5.INVALID}if(ht5(this,$e6,"f")||Ln7(this,$e6,new Set(this._def.values),"f"),!ht5(this,$e6,"f").has(e5.data)){let r5=this._getOrReturnCtx(e5),n10=this._def.values;return (0, u5.addIssueToContext)(r5,{received:r5.data,code:m7.ZodIssueCode.invalid_enum_value,options:n10}),u5.INVALID}return (0, u5.OK)(e5.data)}get options(){return this._def.values}get enum(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}get Values(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}get Enum(){let e5={};for(let r5 of this._def.values)e5[r5]=r5;return e5}extract(e5,r5=this._def){return t18.create(e5,{...this._def,...r5})}exclude(e5,r5=this._def){return t18.create(this.options.filter(n10=>!e5.includes(n10)),{...this._def,...r5})}};d7.ZodEnum=pe6,$e6=new WeakMap,pe6.create=Vn4;var fe6=class extends b8{static{o5(this,"ZodNativeEnum");}constructor(){super(...arguments),Ve9.set(this,void 0);}_parse(e5){let r5=h8.util.getValidEnumValues(this._def.values),n10=this._getOrReturnCtx(e5);if(n10.parsedType!==h8.ZodParsedType.string&&n10.parsedType!==h8.ZodParsedType.number){let s10=h8.util.objectValues(r5);return (0, u5.addIssueToContext)(n10,{expected:h8.util.joinValues(s10),received:n10.parsedType,code:m7.ZodIssueCode.invalid_type}),u5.INVALID}if(ht5(this,Ve9,"f")||Ln7(this,Ve9,new Set(h8.util.getValidEnumValues(this._def.values)),"f"),!ht5(this,Ve9,"f").has(e5.data)){let s10=h8.util.objectValues(r5);return (0, u5.addIssueToContext)(n10,{received:n10.data,code:m7.ZodIssueCode.invalid_enum_value,options:s10}),u5.INVALID}return (0, u5.OK)(e5.data)}get enum(){return this._def.values}};d7.ZodNativeEnum=fe6,Ve9=new WeakMap,fe6.create=(t18,e5)=>new fe6({values:t18,typeName:g5.ZodNativeEnum,...v12(e5)});var Q12=class extends b8{static{o5(this,"ZodPromise");}unwrap(){return this._def.type}_parse(e5){let{ctx:r5}=this._processInputParams(e5);if(r5.parsedType!==h8.ZodParsedType.promise&&r5.common.async===!1)return (0, u5.addIssueToContext)(r5,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.promise,received:r5.parsedType}),u5.INVALID;let n10=r5.parsedType===h8.ZodParsedType.promise?r5.data:Promise.resolve(r5.data);return (0, u5.OK)(n10.then(s10=>this._def.type.parseAsync(s10,{path:r5.path,errorMap:r5.common.contextualErrorMap})))}};d7.ZodPromise=Q12,Q12.create=(t18,e5)=>new Q12({type:t18,typeName:g5.ZodPromise,...v12(e5)});var R10=class extends b8{static{o5(this,"ZodEffects");}innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===g5.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5),s10=this._def.effect||null,i7={addIssue:o5(a5=>{(0, u5.addIssueToContext)(n10,a5),a5.fatal?r5.abort():r5.dirty();},"addIssue"),get path(){return n10.path}};if(i7.addIssue=i7.addIssue.bind(i7),s10.type==="preprocess"){let a5=s10.transform(n10.data,i7);if(n10.common.async)return Promise.resolve(a5).then(async c10=>{if(r5.value==="aborted")return u5.INVALID;let p7=await this._def.schema._parseAsync({data:c10,path:n10.path,parent:n10});return p7.status==="aborted"?u5.INVALID:p7.status==="dirty"||r5.value==="dirty"?(0, u5.DIRTY)(p7.value):p7});{if(r5.value==="aborted")return u5.INVALID;let c10=this._def.schema._parseSync({data:a5,path:n10.path,parent:n10});return c10.status==="aborted"?u5.INVALID:c10.status==="dirty"||r5.value==="dirty"?(0, u5.DIRTY)(c10.value):c10}}if(s10.type==="refinement"){let a5=o5(c10=>{let p7=s10.refinement(c10,i7);if(n10.common.async)return Promise.resolve(p7);if(p7 instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c10},"executeRefinement");if(n10.common.async===!1){let c10=this._def.schema._parseSync({data:n10.data,path:n10.path,parent:n10});return c10.status==="aborted"?u5.INVALID:(c10.status==="dirty"&&r5.dirty(),a5(c10.value),{status:r5.value,value:c10.value})}else return this._def.schema._parseAsync({data:n10.data,path:n10.path,parent:n10}).then(c10=>c10.status==="aborted"?u5.INVALID:(c10.status==="dirty"&&r5.dirty(),a5(c10.value).then(()=>({status:r5.value,value:c10.value}))))}if(s10.type==="transform")if(n10.common.async===!1){let a5=this._def.schema._parseSync({data:n10.data,path:n10.path,parent:n10});if(!(0, u5.isValid)(a5))return a5;let c10=s10.transform(a5.value,i7);if(c10 instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return {status:r5.value,value:c10}}else return this._def.schema._parseAsync({data:n10.data,path:n10.path,parent:n10}).then(a5=>(0, u5.isValid)(a5)?Promise.resolve(s10.transform(a5.value,i7)).then(c10=>({status:r5.value,value:c10})):a5);h8.util.assertNever(s10);}};d7.ZodEffects=R10,d7.ZodTransformer=R10,R10.create=(t18,e5,r5)=>new R10({schema:t18,typeName:g5.ZodEffects,effect:e5,...v12(r5)}),R10.createWithPreprocess=(t18,e5,r5)=>new R10({schema:e5,effect:{type:"preprocess",transform:t18},typeName:g5.ZodEffects,...v12(r5)});var D10=class extends b8{static{o5(this,"ZodOptional");}_parse(e5){return this._getType(e5)===h8.ZodParsedType.undefined?(0, u5.OK)(void 0):this._def.innerType._parse(e5)}unwrap(){return this._def.innerType}};d7.ZodOptional=D10,D10.create=(t18,e5)=>new D10({innerType:t18,typeName:g5.ZodOptional,...v12(e5)});var B11=class extends b8{static{o5(this,"ZodNullable");}_parse(e5){return this._getType(e5)===h8.ZodParsedType.null?(0, u5.OK)(null):this._def.innerType._parse(e5)}unwrap(){return this._def.innerType}};d7.ZodNullable=B11,B11.create=(t18,e5)=>new B11({innerType:t18,typeName:g5.ZodNullable,...v12(e5)});var me9=class extends b8{static{o5(this,"ZodDefault");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=r5.data;return r5.parsedType===h8.ZodParsedType.undefined&&(n10=this._def.defaultValue()),this._def.innerType._parse({data:n10,path:r5.path,parent:r5})}removeDefault(){return this._def.innerType}};d7.ZodDefault=me9,me9.create=(t18,e5)=>new me9({innerType:t18,typeName:g5.ZodDefault,defaultValue:typeof e5.default=="function"?e5.default:()=>e5.default,...v12(e5)});var he5=class extends b8{static{o5(this,"ZodCatch");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10={...r5,common:{...r5.common,issues:[]}},s10=this._def.innerType._parse({data:n10.data,path:n10.path,parent:{...n10}});return (0, u5.isAsync)(s10)?s10.then(i7=>({status:"valid",value:i7.status==="valid"?i7.value:this._def.catchValue({get error(){return new m7.ZodError(n10.common.issues)},input:n10.data})})):{status:"valid",value:s10.status==="valid"?s10.value:this._def.catchValue({get error(){return new m7.ZodError(n10.common.issues)},input:n10.data})}}removeCatch(){return this._def.innerType}};d7.ZodCatch=he5,he5.create=(t18,e5)=>new he5({innerType:t18,typeName:g5.ZodCatch,catchValue:typeof e5.catch=="function"?e5.catch:()=>e5.catch,...v12(e5)});var Se7=class extends b8{static{o5(this,"ZodNaN");}_parse(e5){if(this._getType(e5)!==h8.ZodParsedType.nan){let n10=this._getOrReturnCtx(e5);return (0, u5.addIssueToContext)(n10,{code:m7.ZodIssueCode.invalid_type,expected:h8.ZodParsedType.nan,received:n10.parsedType}),u5.INVALID}return {status:"valid",value:e5.data}}};d7.ZodNaN=Se7,Se7.create=t18=>new Se7({typeName:g5.ZodNaN,...v12(t18)}),d7.BRAND=Symbol("zod_brand");var Fe7=class extends b8{static{o5(this,"ZodBranded");}_parse(e5){let{ctx:r5}=this._processInputParams(e5),n10=r5.data;return this._def.type._parse({data:n10,path:r5.path,parent:r5})}unwrap(){return this._def.type}};d7.ZodBranded=Fe7;var Be7=class t18 extends b8{static{o5(this,"ZodPipeline");}_parse(e5){let{status:r5,ctx:n10}=this._processInputParams(e5);if(n10.common.async)return o5(async()=>{let i7=await this._def.in._parseAsync({data:n10.data,path:n10.path,parent:n10});return i7.status==="aborted"?u5.INVALID:i7.status==="dirty"?(r5.dirty(),(0, u5.DIRTY)(i7.value)):this._def.out._parseAsync({data:i7.value,path:n10.path,parent:n10})},"handleAsync")();{let s10=this._def.in._parseSync({data:n10.data,path:n10.path,parent:n10});return s10.status==="aborted"?u5.INVALID:s10.status==="dirty"?(r5.dirty(),{status:"dirty",value:s10.value}):this._def.out._parseSync({data:s10.value,path:n10.path,parent:n10})}}static create(e5,r5){return new t18({in:e5,out:r5,typeName:g5.ZodPipeline})}};d7.ZodPipeline=Be7;var ye7=class extends b8{static{o5(this,"ZodReadonly");}_parse(e5){let r5=this._def.innerType._parse(e5),n10=o5(s10=>((0, u5.isValid)(s10)&&(s10.value=Object.freeze(s10.value)),s10),"freeze");return (0, u5.isAsync)(r5)?r5.then(s10=>n10(s10)):n10(r5)}unwrap(){return this._def.innerType}};d7.ZodReadonly=ye7,ye7.create=(t18,e5)=>new ye7({innerType:t18,typeName:g5.ZodReadonly,...v12(e5)});function Dn7(t18,e5){let r5=typeof t18=="function"?t18(e5):typeof t18=="string"?{message:t18}:t18;return typeof r5=="string"?{message:r5}:r5}o5(Dn7,"cleanParams");function Fn6(t18,e5={},r5){return t18?X13.create().superRefine((n10,s10)=>{var i7,a5;let c10=t18(n10);if(c10 instanceof Promise)return c10.then(p7=>{var l7,f11;if(!p7){let x8=Dn7(e5,n10),w8=(f11=(l7=x8.fatal)!==null&&l7!==void 0?l7:r5)!==null&&f11!==void 0?f11:!0;s10.addIssue({code:"custom",...x8,fatal:w8});}});if(!c10){let p7=Dn7(e5,n10),l7=(a5=(i7=p7.fatal)!==null&&i7!==void 0?i7:r5)!==null&&a5!==void 0?a5:!0;s10.addIssue({code:"custom",...p7,fatal:l7});}}):X13.create()}o5(Fn6,"custom"),d7.custom=Fn6,d7.late={object:Z14.lazycreate};var g5;(function(t18){t18.ZodString="ZodString",t18.ZodNumber="ZodNumber",t18.ZodNaN="ZodNaN",t18.ZodBigInt="ZodBigInt",t18.ZodBoolean="ZodBoolean",t18.ZodDate="ZodDate",t18.ZodSymbol="ZodSymbol",t18.ZodUndefined="ZodUndefined",t18.ZodNull="ZodNull",t18.ZodAny="ZodAny",t18.ZodUnknown="ZodUnknown",t18.ZodNever="ZodNever",t18.ZodVoid="ZodVoid",t18.ZodArray="ZodArray",t18.ZodObject="ZodObject",t18.ZodUnion="ZodUnion",t18.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t18.ZodIntersection="ZodIntersection",t18.ZodTuple="ZodTuple",t18.ZodRecord="ZodRecord",t18.ZodMap="ZodMap",t18.ZodSet="ZodSet",t18.ZodFunction="ZodFunction",t18.ZodLazy="ZodLazy",t18.ZodLiteral="ZodLiteral",t18.ZodEnum="ZodEnum",t18.ZodEffects="ZodEffects",t18.ZodNativeEnum="ZodNativeEnum",t18.ZodOptional="ZodOptional",t18.ZodNullable="ZodNullable",t18.ZodDefault="ZodDefault",t18.ZodCatch="ZodCatch",t18.ZodPromise="ZodPromise",t18.ZodBranded="ZodBranded",t18.ZodPipeline="ZodPipeline",t18.ZodReadonly="ZodReadonly";})(g5||(d7.ZodFirstPartyTypeKind=g5={}));var Da4=o5((t18,e5={message:`Input not instance of ${t18.name}`})=>Fn6(r5=>r5 instanceof t18,e5),"instanceOfType");d7.instanceof=Da4;var Bn6=Y12.create;d7.string=Bn6;var qn6=re7.create;d7.number=qn6;var La5=Se7.create;d7.nan=La5;var Ma3=ne6.create;d7.bigint=Ma3;var zn5=se6.create;d7.boolean=zn5;var Ua2=ie8.create;d7.date=Ua2;var $a=we6.create;d7.symbol=$a;var Va=oe6.create;d7.undefined=Va;var Fa4=ae6.create;d7.null=Fa4;var Ba3=X13.create;d7.any=Ba3;var qa=W12.create;d7.unknown=qa;var za=U12.create;d7.never=za;var Ga2=ke10.create;d7.void=Ga2;var Wa=J13.create;d7.array=Wa;var Ja2=Z14.create;d7.object=Ja2;var Ha=Z14.strictCreate;d7.strictObject=Ha;var Ka3=ce6.create;d7.union=Ka3;var Ya=yt8.create;d7.discriminatedUnion=Ya;var Xa2=de8.create;d7.intersection=Xa2;var Qa3=F8.create;d7.tuple=Qa3;var ec=gt6.create;d7.record=ec;var tc3=Te8.create;d7.map=tc3;var rc3=Ie9.create;d7.set=rc3;var nc2=xt7.create;d7.function=nc2;var sc3=ue7.create;d7.lazy=sc3;var ic2=le7.create;d7.literal=ic2;var oc3=pe6.create;d7.enum=oc3;var ac2=fe6.create;d7.nativeEnum=ac2;var cc2=Q12.create;d7.promise=cc2;var Gn6=R10.create;d7.effect=Gn6,d7.transformer=Gn6;var dc3=D10.create;d7.optional=dc3;var uc3=B11.create;d7.nullable=uc3;var lc2=R10.createWithPreprocess;d7.preprocess=lc2;var pc=Be7.create;d7.pipeline=pc;var fc=o5(()=>Bn6().optional(),"ostring");d7.ostring=fc;var mc=o5(()=>qn6().optional(),"onumber");d7.onumber=mc;var hc3=o5(()=>zn5().optional(),"oboolean");d7.oboolean=hc3,d7.coerce={string:o5(t18=>Y12.create({...t18,coerce:!0}),"string"),number:o5(t18=>re7.create({...t18,coerce:!0}),"number"),boolean:o5(t18=>se6.create({...t18,coerce:!0}),"boolean"),bigint:o5(t18=>ne6.create({...t18,coerce:!0}),"bigint"),date:o5(t18=>ie8.create({...t18,coerce:!0}),"date")},d7.NEVER=u5.INVALID;}),or6=I10(M13=>{var yc3=M13&&M13.__createBinding||(Object.create?function(t18,e5,r5,n10){n10===void 0&&(n10=r5);var s10=Object.getOwnPropertyDescriptor(e5,r5);(!s10||("get"in s10?!e5.__esModule:s10.writable||s10.configurable))&&(s10={enumerable:!0,get:o5(function(){return e5[r5]},"get")}),Object.defineProperty(t18,n10,s10);}:function(t18,e5,r5,n10){n10===void 0&&(n10=r5),t18[n10]=e5[r5];}),Ce3=M13&&M13.__exportStar||function(t18,e5){for(var r5 in t18)r5!=="default"&&!Object.prototype.hasOwnProperty.call(e5,r5)&&yc3(e5,t18,r5);};Object.defineProperty(M13,"__esModule",{value:!0}),Ce3(pt5(),M13),Ce3(nr6(),M13),Ce3(On4(),M13),Ce3(Me9(),M13),Ce3(Wn5(),M13),Ce3(lt5(),M13);}),Kn6=I10(N13=>{var Jn5=N13&&N13.__createBinding||(Object.create?function(t18,e5,r5,n10){n10===void 0&&(n10=r5);var s10=Object.getOwnPropertyDescriptor(e5,r5);(!s10||("get"in s10?!e5.__esModule:s10.writable||s10.configurable))&&(s10={enumerable:!0,get:o5(function(){return e5[r5]},"get")}),Object.defineProperty(t18,n10,s10);}:function(t18,e5,r5,n10){n10===void 0&&(n10=r5),t18[n10]=e5[r5];}),gc2=N13&&N13.__setModuleDefault||(Object.create?function(t18,e5){Object.defineProperty(t18,"default",{enumerable:!0,value:e5});}:function(t18,e5){t18.default=e5;}),xc=N13&&N13.__importStar||function(t18){if(t18&&t18.__esModule)return t18;var e5={};if(t18!=null)for(var r5 in t18)r5!=="default"&&Object.prototype.hasOwnProperty.call(t18,r5)&&Jn5(e5,t18,r5);return gc2(e5,t18),e5},vc=N13&&N13.__exportStar||function(t18,e5){for(var r5 in t18)r5!=="default"&&!Object.prototype.hasOwnProperty.call(e5,r5)&&Jn5(e5,t18,r5);};Object.defineProperty(N13,"__esModule",{value:!0}),N13.z=void 0;var Hn4=xc(or6());N13.z=Hn4,vc(or6(),N13),N13.default=Hn4;}),ns3=I10((Op3,rs3)=>{rs3.exports=ts4,ts4.sync=Cc;var Qn5=O10("fs");function Sc(t18,e5){var r5=e5.pathExt!==void 0?e5.pathExt:process.env.PATHEXT;if(!r5||(r5=r5.split(";"),r5.indexOf("")!==-1))return !0;for(var n10=0;n10<r5.length;n10++){var s10=r5[n10].toLowerCase();if(s10&&t18.substr(-s10.length).toLowerCase()===s10)return !0}return !1}o5(Sc,"checkPathExt");function es4(t18,e5,r5){return !t18.isSymbolicLink()&&!t18.isFile()?!1:Sc(e5,r5)}o5(es4,"checkStat");function ts4(t18,e5,r5){Qn5.stat(t18,function(n10,s10){r5(n10,n10?!1:es4(s10,t18,e5));});}o5(ts4,"isexe");function Cc(t18,e5){return es4(Qn5.statSync(t18),t18,e5)}o5(Cc,"sync");}),cs3=I10((Np4,as3)=>{as3.exports=is4,is4.sync=Pc2;var ss3=O10("fs");function is4(t18,e5,r5){ss3.stat(t18,function(n10,s10){r5(n10,n10?!1:os9(s10,e5));});}o5(is4,"isexe");function Pc2(t18,e5){return os9(ss3.statSync(t18),e5)}o5(Pc2,"sync");function os9(t18,e5){return t18.isFile()&&Ec2(t18,e5)}o5(os9,"checkStat");function Ec2(t18,e5){var r5=t18.mode,n10=t18.uid,s10=t18.gid,i7=e5.uid!==void 0?e5.uid:process.getuid&&process.getuid(),a5=e5.gid!==void 0?e5.gid:process.getgid&&process.getgid(),c10=parseInt("100",8),p7=parseInt("010",8),l7=parseInt("001",8),f11=c10|p7,x8=r5&l7||r5&p7&&s10===a5||r5&c10&&n10===i7||r5&f11&&i7===0;return x8}o5(Ec2,"checkMode");}),us3=I10((Lp4,ds4)=>{O10("fs");var bt8;process.platform==="win32"||global.TESTING_WINDOWS?bt8=ns3():bt8=cs3(),ds4.exports=cr4,cr4.sync=jc2;function cr4(t18,e5,r5){if(typeof e5=="function"&&(r5=e5,e5={}),!r5){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n10,s10){cr4(t18,e5||{},function(i7,a5){i7?s10(i7):n10(a5);});})}bt8(t18,e5||{},function(n10,s10){n10&&(n10.code==="EACCES"||e5&&e5.ignoreErrors)&&(n10=null,s10=!1),r5(n10,s10);});}o5(cr4,"isexe");function jc2(t18,e5){try{return bt8.sync(t18,e5||{})}catch(r5){if(e5&&e5.ignoreErrors||r5.code==="EACCES")return !1;throw r5}}o5(jc2,"sync");}),gs2=I10((Up4,ys3)=>{var je8=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",ls3=O10("path"),Ac=je8?";":":",ps4=us3(),fs13=o5(t18=>Object.assign(new Error(`not found: ${t18}`),{code:"ENOENT"}),"getNotFoundError"),ms3=o5((t18,e5)=>{let r5=e5.colon||Ac,n10=t18.match(/\//)||je8&&t18.match(/\\/)?[""]:[...je8?[process.cwd()]:[],...(e5.path||process.env.PATH||"").split(r5)],s10=je8?e5.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i7=je8?s10.split(r5):[""];return je8&&t18.indexOf(".")!==-1&&i7[0]!==""&&i7.unshift(""),{pathEnv:n10,pathExt:i7,pathExtExe:s10}},"getPathInfo"),hs2=o5((t18,e5,r5)=>{typeof e5=="function"&&(r5=e5,e5={}),e5||(e5={});let{pathEnv:n10,pathExt:s10,pathExtExe:i7}=ms3(t18,e5),a5=[],c10=o5(l7=>new Promise((f11,x8)=>{if(l7===n10.length)return e5.all&&a5.length?f11(a5):x8(fs13(t18));let w8=n10[l7],_11=/^".*"$/.test(w8)?w8.slice(1,-1):w8,P14=ls3.join(_11,t18),S8=!_11&&/^\.[\\\/]/.test(t18)?t18.slice(0,2)+P14:P14;f11(p7(S8,l7,0));}),"step"),p7=o5((l7,f11,x8)=>new Promise((w8,_11)=>{if(x8===s10.length)return w8(c10(f11+1));let P14=s10[x8];ps4(l7+P14,{pathExt:i7},(S8,E5)=>{if(!S8&&E5)if(e5.all)a5.push(l7+P14);else return w8(l7+P14);return w8(p7(l7,f11,x8+1))});}),"subStep");return r5?c10(0).then(l7=>r5(null,l7),r5):c10(0)},"which"),Oc2=o5((t18,e5)=>{e5=e5||{};let{pathEnv:r5,pathExt:n10,pathExtExe:s10}=ms3(t18,e5),i7=[];for(let a5=0;a5<r5.length;a5++){let c10=r5[a5],p7=/^".*"$/.test(c10)?c10.slice(1,-1):c10,l7=ls3.join(p7,t18),f11=!p7&&/^\.[\\\/]/.test(t18)?t18.slice(0,2)+l7:l7;for(let x8=0;x8<n10.length;x8++){let w8=f11+n10[x8];try{if(ps4.sync(w8,{pathExt:s10}))if(e5.all)i7.push(w8);else return w8}catch{}}}if(e5.all&&i7.length)return i7;if(e5.nothrow)return null;throw fs13(t18)},"whichSync");ys3.exports=hs2,hs2.sync=Oc2;}),vs4=I10((Vp4,dr5)=>{var xs4=o5((t18={})=>{let e5=t18.env||process.env;return (t18.platform||process.platform)!=="win32"?"PATH":Object.keys(e5).reverse().find(n10=>n10.toUpperCase()==="PATH")||"Path"},"pathKey");dr5.exports=xs4,dr5.exports.default=xs4;}),ks3=I10((Bp4,ws3)=>{var bs4=O10("path"),Zc2=gs2(),Nc2=vs4();function _s3(t18,e5){let r5=t18.options.env||process.env,n10=process.cwd(),s10=t18.options.cwd!=null,i7=s10&&process.chdir!==void 0&&!process.chdir.disabled;if(i7)try{process.chdir(t18.options.cwd);}catch{}let a5;try{a5=Zc2.sync(t18.command,{path:r5[Nc2({env:r5})],pathExt:e5?bs4.delimiter:void 0});}catch{}finally{i7&&process.chdir(n10);}return a5&&(a5=bs4.resolve(s10?t18.options.cwd:"",a5)),a5}o5(_s3,"resolveCommandAttempt");function Rc(t18){return _s3(t18)||_s3(t18,!0)}o5(Rc,"resolveCommand"),ws3.exports=Rc;}),Ts4=I10((zp4,lr6)=>{var ur5=/([()\][%!^"`<>&|;, *?])/g;function Dc(t18){return t18=t18.replace(ur5,"^$1"),t18}o5(Dc,"escapeCommand");function Lc(t18,e5){return t18=`${t18}`,t18=t18.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),t18=t18.replace(/(?=(\\+?)?)\1$/,"$1$1"),t18=`"${t18}"`,t18=t18.replace(ur5,"^$1"),e5&&(t18=t18.replace(ur5,"^$1")),t18}o5(Lc,"escapeArgument"),lr6.exports.command=Dc,lr6.exports.argument=Lc;}),Ss3=I10((Wp3,Is3)=>{Is3.exports=/^#!(.*)/;}),Ps3=I10((Jp5,Cs3)=>{var Mc=Ss3();Cs3.exports=(t18="")=>{let e5=t18.match(Mc);if(!e5)return null;let[r5,n10]=e5[0].replace(/#! ?/,"").split(" "),s10=r5.split("/").pop();return s10==="env"?n10:n10?`${s10} ${n10}`:s10};}),js4=I10((Hp4,Es2)=>{var pr5=O10("fs"),Uc2=Ps3();function $c(t18){let r5=Buffer.alloc(150),n10;try{n10=pr5.openSync(t18,"r"),pr5.readSync(n10,r5,0,150,0),pr5.closeSync(n10);}catch{}return Uc2(r5.toString())}o5($c,"readShebang"),Es2.exports=$c;}),Ns4=I10((Yp3,Zs6)=>{var Vc=O10("path"),As2=ks3(),Os5=Ts4(),Fc=js4(),Bc=process.platform==="win32",qc=/\.(?:com|exe)$/i,zc2=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Gc(t18){t18.file=As2(t18);let e5=t18.file&&Fc(t18.file);return e5?(t18.args.unshift(t18.file),t18.command=e5,As2(t18)):t18.file}o5(Gc,"detectShebang");function Wc2(t18){if(!Bc)return t18;let e5=Gc(t18),r5=!qc.test(e5);if(t18.options.forceShell||r5){let n10=zc2.test(e5);t18.command=Vc.normalize(t18.command),t18.command=Os5.command(t18.command),t18.args=t18.args.map(i7=>Os5.argument(i7,n10));let s10=[t18.command].concat(t18.args).join(" ");t18.args=["/d","/s","/c",`"${s10}"`],t18.command=process.env.comspec||"cmd.exe",t18.options.windowsVerbatimArguments=!0;}return t18}o5(Wc2,"parseNonShell");function Jc(t18,e5,r5){e5&&!Array.isArray(e5)&&(r5=e5,e5=null),e5=e5?e5.slice(0):[],r5=Object.assign({},r5);let n10={command:t18,args:e5,options:r5,file:void 0,original:{command:t18,args:e5}};return r5.shell?n10:Wc2(n10)}o5(Jc,"parse"),Zs6.exports=Jc;}),Ls3=I10((Qp3,Ds2)=>{var fr6=process.platform==="win32";function mr5(t18,e5){return Object.assign(new Error(`${e5} ${t18.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e5} ${t18.command}`,path:t18.command,spawnargs:t18.args})}o5(mr5,"notFoundError");function Hc(t18,e5){if(!fr6)return;let r5=t18.emit;t18.emit=function(n10,s10){if(n10==="exit"){let i7=Rs4(s10,e5);if(i7)return r5.call(t18,"error",i7)}return r5.apply(t18,arguments)};}o5(Hc,"hookChildProcess");function Rs4(t18,e5){return fr6&&t18===1&&!e5.file?mr5(e5.original,"spawn"):null}o5(Rs4,"verifyENOENT");function Kc(t18,e5){return fr6&&t18===1&&!e5.file?mr5(e5.original,"spawnSync"):null}o5(Kc,"verifyENOENTSync"),Ds2.exports={hookChildProcess:Hc,verifyENOENT:Rs4,verifyENOENTSync:Kc,notFoundError:mr5};}),$s5=I10((tf4,Ae7)=>{var Ms3=O10("child_process"),hr6=Ns4(),yr7=Ls3();function Us5(t18,e5,r5){let n10=hr6(t18,e5,r5),s10=Ms3.spawn(n10.command,n10.args,n10.options);return yr7.hookChildProcess(s10,n10),s10}o5(Us5,"spawn");function Yc(t18,e5,r5){let n10=hr6(t18,e5,r5),s10=Ms3.spawnSync(n10.command,n10.args,n10.options);return s10.error=s10.error||yr7.verifyENOENTSync(s10.status,n10),s10}o5(Yc,"spawnSync"),Ae7.exports=Us5,Ae7.exports.spawn=Us5,Ae7.exports.sync=Yc,Ae7.exports._parse=hr6,Ae7.exports._enoent=yr7;}),fi4=I10((Pm2,pi4)=>{var{PassThrough:Hd2}=O10("stream");pi4.exports=function(){var t18=[],e5=new Hd2({objectMode:!0});return e5.setMaxListeners(0),e5.add=r5,e5.isEmpty=n10,e5.on("unpipe",s10),Array.prototype.slice.call(arguments).forEach(r5),e5;function r5(i7){return Array.isArray(i7)?(i7.forEach(r5),this):(t18.push(i7),i7.once("end",s10.bind(null,i7)),i7.once("error",e5.emit.bind(e5,"error")),i7.pipe(e5,{end:!1}),this)}function n10(){return t18.length==0}function s10(i7){t18=t18.filter(function(a5){return a5!==i7}),!t18.length&&e5.readable&&e5.end();}};});function Fr8(t18){return t18.startsWith("\\\\?\\")?t18:t18.replace(/\\/g,"/")}var Oi3=dn6(()=>{o5(Fr8,"slash");}),Ui3=I10((Th4,Mi)=>{var{sep:Iu4}=O10("path"),Su2=o5(t18=>{for(let e5 of t18){let r5=/(\/|\\)/.exec(e5);if(r5!==null)return r5[0]}return Iu4},"determineSeparator");Mi.exports=o5(function(e5,r5=Su2(e5)){let[n10="",...s10]=e5;if(n10===""||s10.length===0)return "";let i7=n10.split(r5),a5=i7.length;for(let p7 of s10){let l7=p7.split(r5);for(let f11=0;f11<a5;f11++)l7[f11]!==i7[f11]&&(a5=f11);if(a5===0)return ""}let c10=i7.slice(0,a5).join(r5);return c10.endsWith(r5)?c10:c10+r5},"commonPathPrefix");}),zr7,Ke6,$i=dn6(()=>{zr7=class{static{o5(this,"Node");}value;next;constructor(e5){this.value=e5;}},Ke6=class{static{o5(this,"Queue");}#r;#t;#e;constructor(){this.clear();}enqueue(e5){let r5=new zr7(e5);this.#r?(this.#t.next=r5,this.#t=r5):(this.#r=r5,this.#t=r5),this.#e++;}dequeue(){let e5=this.#r;if(e5)return this.#r=this.#r.next,this.#e--,e5.value}peek(){if(this.#r)return this.#r.value}clear(){this.#r=void 0,this.#t=void 0,this.#e=0;}get size(){return this.#e}*[Symbol.iterator](){let e5=this.#r;for(;e5;)yield e5.value,e5=e5.next;}*drain(){for(;this.#r;)yield this.dequeue();}};}),Io6=I10((Bx,To5)=>{To5.exports=function(t18,e5){if(e5=e5||{},typeof t18!="function")throw new ee7("fetch must be a function");if(typeof e5!="object")throw new ee7("defaults must be an object");if(e5.retries!==void 0&&!Wt5(e5.retries))throw new ee7("retries must be a positive integer");if(e5.retryDelay!==void 0&&!Wt5(e5.retryDelay)&&typeof e5.retryDelay!="function")throw new ee7("retryDelay must be a positive integer or a function returning a positive integer");if(e5.retryOn!==void 0&&!Array.isArray(e5.retryOn)&&typeof e5.retryOn!="function")throw new ee7("retryOn property expects an array or function");var r5={retries:3,retryDelay:1e3,retryOn:[]};return e5=Object.assign(r5,e5),o5(function(s10,i7){var a5=e5.retries,c10=e5.retryDelay,p7=e5.retryOn;if(i7&&i7.retries!==void 0)if(Wt5(i7.retries))a5=i7.retries;else throw new ee7("retries must be a positive integer");if(i7&&i7.retryDelay!==void 0)if(Wt5(i7.retryDelay)||typeof i7.retryDelay=="function")c10=i7.retryDelay;else throw new ee7("retryDelay must be a positive integer or a function returning a positive integer");if(i7&&i7.retryOn)if(Array.isArray(i7.retryOn)||typeof i7.retryOn=="function")p7=i7.retryOn;else throw new ee7("retryOn property expects an array or function");return new Promise(function(l7,f11){var x8=o5(function(_11){var P14=typeof Request<"u"&&s10 instanceof Request?s10.clone():s10;t18(P14,i7).then(function(S8){if(Array.isArray(p7)&&p7.indexOf(S8.status)===-1)l7(S8);else if(typeof p7=="function")try{return Promise.resolve(p7(_11,null,S8)).then(function(E5){E5?w8(_11,null,S8):l7(S8);}).catch(f11)}catch(E5){f11(E5);}else _11<a5?w8(_11,null,S8):l7(S8);}).catch(function(S8){if(typeof p7=="function")try{Promise.resolve(p7(_11,S8,null)).then(function(E5){E5?w8(_11,S8,null):f11(S8);}).catch(function(E5){f11(E5);});}catch(E5){f11(E5);}else _11<a5?w8(_11,S8,null):f11(S8);});},"wrappedFetch");function w8(_11,P14,S8){var E5=typeof c10=="function"?c10(_11,P14,S8):c10;setTimeout(function(){x8(++_11);},E5);}o5(w8,"retry"),x8(0);})},"fetchRetry")};function Wt5(t18){return Number.isInteger(t18)&&t18>=0}o5(Wt5,"isPositiveInteger");function ee7(t18){this.name="ArgumentError",this.message=t18;}o5(ee7,"ArgumentError");}),hn7=H7(pn5(),1),mn7="telemetry-notification-date",yn5=o5(async()=>{await jj2.get(mn7,null)||(jj2.set(mn7,Date.now()),DE.log(`${hu.info("Attention:")} Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features.`),DE.log("You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:"),DE.log(hn7.default.cyan("https://storybook.js.org/telemetry")),DE.log(""));},"notify");function gn7(t18){return t18.replace(/[-[/{}()*+?.\\^$|]/g,"\\$&")}o5(gn7,"regexpEscape");function xn8(t18=""){return t18.replace(/\u001B\[[0-9;]*m/g,"")}o5(xn8,"removeAnsiEscapeCodes");function De7(t18,e5=path2.sep){if(!t18)return t18;let r5=process.cwd().split(e5);for(;r5.length>1;){let n10=r5.join(e5),s10=new RegExp(gn7(n10),"gi");t18=t18.replace(s10,"$SNIP");let i7=r5.join(e5+e5),a5=new RegExp(gn7(i7),"gi");t18=t18.replace(a5,"$SNIP"),r5.pop();}return t18}o5(De7,"cleanPaths");function ct5(t18,e5=path2.sep){try{t18={...JSON.parse(JSON.stringify(t18)),message:xn8(t18.message),stack:xn8(t18.stack),cause:t18.cause,name:t18.name};let r5=De7(JSON.stringify(t18),e5);return JSON.parse(r5)}catch(r5){return `Sanitization error: ${r5?.message}`}}o5(ct5,"sanitizeError");var wn6=H7(_n7(),1);async function Yo4(t18){try{return (await stat(t18)).isFile()}catch{return !1}}o5(Yo4,"fileExists");async function Xt6(t18){for(let e5 of (0, wn6.walkUp)(t18)){let r5=resolve(e5,"package.json");if(await Yo4(r5))return r5}return null}o5(Xt6,"findPackagePath");async function kn5(t18){let e5=await Xt6(t18);if(!e5)return null;try{let r5=await readFile(e5,{encoding:"utf8"});return JSON.parse(r5)}catch{return null}}o5(kn5,"findPackage");var ut8="9.1.7",Yn5=H7(In7(),1),Ee7=H7(Kn6(),1),kc=join(homedir(),".storybook","settings.json"),Tc=1,Ic=Ee7.z.object({version:Ee7.z.number(),userSince:Ee7.z.number().optional(),init:Ee7.z.object({skipOnboarding:Ee7.z.boolean().optional()}).optional()}),Pe6;async function Xn5(t18=kc){if(Pe6)return Pe6;try{let e5=await fs6__default.readFile(t18,"utf8"),r5=Ic.parse(JSON.parse(e5));Pe6=new vt6(t18,r5);}catch{Pe6=new vt6(t18,{version:Tc,userSince:Date.now()}),await Pe6.save();}return Pe6}o5(Xn5,"globalSettings");var vt6=class{static{o5(this,"Settings");}constructor(e5,r5){this.filePath=e5,this.value=r5;}async save(){try{await fs6__default.mkdir(dirname(this.filePath),{recursive:!0}),await fs6__default.writeFile(this.filePath,JSON.stringify(this.value,null,2));}catch(e5){console.warn(Yn5.dedent`
2736
2738
  Unable to save global settings file to ${this.filePath}
2737
2739
  ${e5&&`Reason: ${e5.message??e5}`}`);}}},Pi2=H7($s5(),1);function gr6(t18){let e5=typeof t18=="string"?`
2738
2740
  `:10,r5=typeof t18=="string"?"\r":13;return t18[t18.length-1]===e5&&(t18=t18.slice(0,-1)),t18[t18.length-1]===r5&&(t18=t18.slice(0,-1)),t18}o5(gr6,"stripFinalNewline");function _t6(t18={}){let{env:e5=process.env,platform:r5=process.platform}=t18;return r5!=="win32"?"PATH":Object.keys(e5).reverse().find(n10=>n10.toUpperCase()==="PATH")||"Path"}o5(_t6,"pathKey");var Xc=o5(({cwd:t18=Q.cwd(),path:e5=Q.env[_t6()],preferLocal:r5=!0,execPath:n10=Q.execPath,addExecPath:s10=!0}={})=>{let i7=t18 instanceof URL?fileURLToPath(t18):t18,a5=path2.resolve(i7),c10=[];return r5&&Qc(c10,a5),s10&&ed(c10,n10,a5),[...c10,e5].join(path2.delimiter)},"npmRunPath"),Qc=o5((t18,e5)=>{let r5;for(;r5!==e5;)t18.push(path2.join(e5,"node_modules/.bin")),r5=e5,e5=path2.resolve(e5,"..");},"applyPreferLocal"),ed=o5((t18,e5,r5)=>{let n10=e5 instanceof URL?fileURLToPath(e5):e5;t18.push(path2.resolve(r5,n10,".."));},"applyExecPath"),Fs4=o5(({env:t18=Q.env,...e5}={})=>{t18={...t18};let r5=_t6({env:t18});return e5.path=t18[r5],t18[r5]=Xc(e5),t18},"npmRunPathEnv"),td4=o5((t18,e5,r5,n10)=>{if(r5==="length"||r5==="prototype"||r5==="arguments"||r5==="caller")return;let s10=Object.getOwnPropertyDescriptor(t18,r5),i7=Object.getOwnPropertyDescriptor(e5,r5);!rd(s10,i7)&&n10||Object.defineProperty(t18,r5,i7);},"copyProperty"),rd=o5(function(t18,e5){return t18===void 0||t18.configurable||t18.writable===e5.writable&&t18.enumerable===e5.enumerable&&t18.configurable===e5.configurable&&(t18.writable||t18.value===e5.value)},"canCopyProperty"),nd3=o5((t18,e5)=>{let r5=Object.getPrototypeOf(e5);r5!==Object.getPrototypeOf(t18)&&Object.setPrototypeOf(t18,r5);},"changePrototype"),sd=o5((t18,e5)=>`/* Wrapped ${t18}*/
@@ -2857,7 +2859,7 @@ More info: ${page}
2857
2859
 
2858
2860
  Continuing with Storybook installation...
2859
2861
  `,{title:import_picocolors7.default.bold("\u2705 Success!"),padding:1,borderStyle:"double",borderColor:"green"})),logger.line(1);},FILES_TO_IGNORE=[".git",".gitignore",".DS_Store",".cache","node_modules",".yarnrc.yml",".yarn"],currentDirectoryIsEmpty=()=>{let cwdFolderEntries=readdirSync(process.cwd());return cwdFolderEntries.length===0||cwdFolderEntries.every(entry=>FILES_TO_IGNORE.includes(entry))};var ONBOARDING_PROJECT_TYPES=["REACT","REACT_SCRIPTS","REACT_NATIVE_WEB","REACT_PROJECT","WEBPACK_REACT","NEXTJS","VUE3","ANGULAR"],installStorybook=async(projectType,packageManager,options)=>{let npmOptions={type:"devDependencies",skipInstall:options.skipInstall},language=await detectLanguage(packageManager),pnp=await detectPnp(),generatorOptions={language,builder:options.builder,linkable:!!options.linkable,pnp:pnp||options.usePnp,yes:options.yes,projectType,features:options.features||[]},runGenerator=async()=>{switch(projectType){case"REACT_SCRIPTS":return REACT_SCRIPTS_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Create React App" based project'));case"REACT":return REACT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "React" app'));case"REACT_NATIVE":return REACT_NATIVE_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "React Native" app'));case"REACT_NATIVE_WEB":return REACT_NATIVE_WEB_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "React Native" app'));case"REACT_NATIVE_AND_RNW":return commandLog('Adding Storybook support to your "React Native" app'),await REACT_NATIVE_default(packageManager,npmOptions,generatorOptions),REACT_NATIVE_WEB_default(packageManager,npmOptions,generatorOptions);case"QWIK":return QWIK_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Qwik" app'));case"WEBPACK_REACT":return WEBPACK_REACT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Webpack React" app'));case"REACT_PROJECT":return REACT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "React" library'));case"NEXTJS":return NEXTJS_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Next" app'));case"VUE3":return VUE3_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Vue 3" app'));case"NUXT":return NUXT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Nuxt" app'));case"ANGULAR":return commandLog('Adding Storybook support to your "Angular" app'),ANGULAR_default(packageManager,npmOptions,generatorOptions,options);case"EMBER":return EMBER_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Ember" app'));case"HTML":return HTML_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "HTML" app'));case"WEB_COMPONENTS":return WEB_COMPONENTS_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "web components" app'));case"PREACT":return PREACT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Preact" app'));case"SVELTE":return SVELTE_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Svelte" app'));case"SVELTEKIT":return SVELTEKIT_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "SvelteKit" app'));case"SERVER":return SERVER_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "Server" app'));case"NX":throw new NxProjectDetectedError;case"SOLID":return SOLID_default(packageManager,npmOptions,generatorOptions).then(commandLog('Adding Storybook support to your "SolidJS" app'));case"UNSUPPORTED":return paddedLog("We detected a project type that we don't support yet."),paddedLog("If you'd like your framework to be supported, please let use know about it at https://github.com/storybookjs/storybook/issues"),logger.log(""),Promise.resolve();default:return paddedLog(`We couldn't detect your project type. (code: ${projectType})`),paddedLog("You can specify a project type explicitly via `storybook init --type <type>`, see our docs on how to configure Storybook for your framework: https://storybook.js.org/docs/get-started/install"),logger.log(""),projectTypeInquirer(options,packageManager)}};try{return await runGenerator()}catch(err){throw err?.message!=="Canceled by the user"&&err?.stack&&logger.error(`
2860
- ${import_picocolors8.default.red(err.stack)}`),new HandledError(err)}},projectTypeInquirer=async(options,packageManager)=>{let manualAnswer=options.yes?!0:await(0, import_prompts7.default)([{type:"confirm",name:"manual",message:"Do you want to manually choose a Storybook project type to install?",initial:!0}]);if(manualAnswer!==!0&&manualAnswer.manual){let{manualFramework}=await(0, import_prompts7.default)([{type:"select",name:"manualFramework",message:"Please choose a project type from the following list:",choices:installableProjectTypes.map(type=>({title:type,value:type.toUpperCase()}))}]);if(manualFramework)return installStorybook(manualFramework,packageManager,options)}logger.log(""),logger.log("For more information about installing Storybook: https://storybook.js.org/docs"),process.exit(0);},promptNewUser=async({settings:settings2,skipPrompt,disableTelemetry})=>{let{skipOnboarding}=settings2.value.init||{};if(!skipPrompt&&!skipOnboarding){let{newUser:newUser2}=await(0, import_prompts7.default)({type:"select",name:"newUser",message:"New to Storybook?",choices:[{title:`${import_picocolors8.default.bold("Yes:")} Help me with onboarding`,value:!0},{title:`${import_picocolors8.default.bold("No:")} Skip onboarding & don't ask again`,value:!1}]});if(typeof newUser2>"u")return newUser2;settings2.value.init||={},settings2.value.init.skipOnboarding=!newUser2;}else settings2.value.init||={},settings2.value.init.skipOnboarding=!!skipOnboarding;let newUser=!settings2.value.init.skipOnboarding;return disableTelemetry||await telemetry("init-step",{step:"new-user-check",newUser}),newUser},promptInstallType=async({skipPrompt,disableTelemetry,projectType})=>{let installType="recommended";if(!skipPrompt&&projectType!=="REACT_NATIVE"){let{configuration}=await(0, import_prompts7.default)({type:"select",name:"configuration",message:"What configuration should we install?",choices:[{title:`${import_picocolors8.default.bold("Recommended:")} Component dev, docs, test`,value:"recommended"},{title:`${import_picocolors8.default.bold("Minimal:")} Component dev only`,value:"light"}]});if(typeof configuration>"u")return configuration;installType=configuration;}return disableTelemetry||await telemetry("init-step",{step:"install-type",installType}),installType};async function doInitiate(options){let{packageManager:pkgMgr}=options,isEmptyDirProject=options.force!==!0&&currentDirectoryIsEmpty(),packageManagerType=JsPackageManagerFactory.getPackageManagerType();isEmptyDirProject&&(packageManagerType==="yarn1"&&(packageManagerType="npm"),await scaffoldNewProject(packageManagerType,options),invalidateProjectRootCache());let packageManager=JsPackageManagerFactory.getPackageManager({force:pkgMgr});options.skipInstall||await packageManager.installDependencies();let latestVersion=await packageManager.latestVersion("storybook"),currentVersion=versions_default.storybook,isPrerelease=prerelease(currentVersion),isOutdated=lt$1(currentVersion,latestVersion),borderColor=isOutdated?"#FC521F":"#F1618C",messages={welcome:`Adding Storybook version ${import_picocolors8.default.bold(currentVersion)} to your project..`,notLatest:import_picocolors8.default.red(dedent`
2862
+ ${import_picocolors8.default.red(err.stack)}`),new HandledError(err)}},projectTypeInquirer=async(options,packageManager)=>{let manualAnswer=options.yes?!0:await(0, import_prompts7.default)([{type:"confirm",name:"manual",message:"Do you want to manually choose a Storybook project type to install?",initial:!0}]);if(manualAnswer!==!0&&manualAnswer.manual){let{manualFramework}=await(0, import_prompts7.default)([{type:"select",name:"manualFramework",message:"Please choose a project type from the following list:",choices:installableProjectTypes.map(type=>({title:type,value:type.toUpperCase()}))}]);if(manualFramework)return installStorybook(manualFramework,packageManager,options)}logger.log(""),logger.log("For more information about installing Storybook: https://storybook.js.org/docs"),process.exit(0);},promptNewUser=async({settings:settings2,skipPrompt,disableTelemetry})=>{let{skipOnboarding}=settings2.value.init||{};if(!skipPrompt&&!skipOnboarding){let{newUser:newUser2}=await(0, import_prompts7.default)({type:"select",name:"newUser",message:"New to Storybook?",choices:[{title:`${import_picocolors8.default.bold("Yes:")} Help me with onboarding`,value:!0},{title:`${import_picocolors8.default.bold("No:")} Skip onboarding & don't ask again`,value:!1}]});if(typeof newUser2>"u")return newUser2;settings2.value.init||={},settings2.value.init.skipOnboarding=!newUser2;}else settings2.value.init||={},settings2.value.init.skipOnboarding=!!skipOnboarding;let newUser=!settings2.value.init.skipOnboarding;return disableTelemetry||await telemetry("init-step",{step:"new-user-check",newUser}),newUser},promptInstallType=async({skipPrompt,disableTelemetry,projectType})=>{let installType="recommended";if(!skipPrompt&&projectType!=="REACT_NATIVE"){let{configuration}=await(0, import_prompts7.default)({type:"select",name:"configuration",message:"What configuration should we install?",choices:[{title:`${import_picocolors8.default.bold("Recommended:")} Component dev, docs, test`,value:"recommended"},{title:`${import_picocolors8.default.bold("Minimal:")} Component dev only`,value:"light"}]});if(typeof configuration>"u")return configuration;installType=configuration;}return disableTelemetry||await telemetry("init-step",{step:"install-type",installType}),installType};function getStorybookVersionFromAncestry(ancestry){for(let ancestor of ancestry.toReversed()){let match2=ancestor.command?.match(/\s(?:create-storybook|storybook)@([^\s]+)/);if(match2)return match2[1]}}function getCliIntegrationFromAncestry(ancestry){for(let ancestor of ancestry.toReversed()){let match2=ancestor.command?.match(/\s(sv(@[^ ]+)? create|sv(@[^ ]+)? add)/i);if(match2)return match2[1].includes("add")?"sv add":"sv create"}}async function doInitiate(options){let{packageManager:pkgMgr}=options,isEmptyDirProject=options.force!==!0&&currentDirectoryIsEmpty(),packageManagerType=JsPackageManagerFactory.getPackageManagerType();isEmptyDirProject&&(packageManagerType==="yarn1"&&(packageManagerType="npm"),await scaffoldNewProject(packageManagerType,options),invalidateProjectRootCache());let packageManager=JsPackageManagerFactory.getPackageManager({force:pkgMgr});options.skipInstall||await packageManager.installDependencies();let latestVersion=await packageManager.latestVersion("storybook"),currentVersion=versions_default.storybook,isPrerelease=prerelease(currentVersion),isOutdated=lt$1(currentVersion,latestVersion),borderColor=isOutdated?"#FC521F":"#F1618C",versionSpecifier,cliIntegration;try{let ancestry=getProcessAncestry();versionSpecifier=getStorybookVersionFromAncestry(ancestry),cliIntegration=getCliIntegrationFromAncestry(ancestry);}catch{}let messages={welcome:`Adding Storybook version ${import_picocolors8.default.bold(currentVersion)} to your project..`,notLatest:import_picocolors8.default.red(dedent`
2861
2863
  This version is behind the latest release, which is: ${import_picocolors8.default.bold(latestVersion)}!
2862
2864
  You likely ran the init command through npx, which can use a locally cached version, to get the latest please run:
2863
2865
  ${import_picocolors8.default.bold("npx storybook@latest init")}
@@ -2874,7 +2876,7 @@ The project types currently supported by Storybook are:
2874
2876
  ${vitestConfigFilesData.reasons.join(`
2875
2877
  `)}
2876
2878
  Do you want to continue without Storybook's testing features?
2877
- `}]):{ignoreVitestConfigFiles:!0};ignoreVitestConfigFiles?selectedFeatures.delete("test"):process.exit(0);}}selectedFeatures.has("onboarding")&&!ONBOARDING_PROJECT_TYPES.includes(projectType)&&selectedFeatures.delete("onboarding"),options.features=Array.from(selectedFeatures);let installResult=await installStorybook(projectType,packageManager,options);if(selectedFeatures=new Set(options.features),options.skipInstall||await packageManager.installDependencies(),options.disableTelemetry||await telemetry("init",{projectType,features:telemetryFeatures,newUser}),["REACT_NATIVE","REACT_NATIVE_AND_RNW"].includes(projectType))return logger.log(dedent`
2879
+ `}]):{ignoreVitestConfigFiles:!0};ignoreVitestConfigFiles?selectedFeatures.delete("test"):process.exit(0);}}selectedFeatures.has("onboarding")&&!ONBOARDING_PROJECT_TYPES.includes(projectType)&&selectedFeatures.delete("onboarding"),options.features=Array.from(selectedFeatures);let installResult=await installStorybook(projectType,packageManager,options);if(selectedFeatures=new Set(options.features),options.skipInstall||await packageManager.installDependencies(),options.disableTelemetry||await telemetry("init",{projectType,features:telemetryFeatures,newUser,versionSpecifier,cliIntegration}),["REACT_NATIVE","REACT_NATIVE_AND_RNW"].includes(projectType))return logger.log(dedent`
2878
2880
  ${import_picocolors8.default.yellow("React Native (RN) Storybook installation is not 100% automated.")}
2879
2881
 
2880
2882
  To run RN Storybook, you will need to: