From b956d9104bba22cb21395863c67381e72368b967 Mon Sep 17 00:00:00 2001 From: devjiwonchoi Date: Tue, 24 Sep 2024 18:51:16 +0900 Subject: [PATCH] ncc compiled --- .../next/src/compiled/babel-packages/packages-bundle.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/src/compiled/babel-packages/packages-bundle.js b/packages/next/src/compiled/babel-packages/packages-bundle.js index 0382e1ba3488e..126b75d636b70 100644 --- a/packages/next/src/compiled/babel-packages/packages-bundle.js +++ b/packages/next/src/compiled/babel-packages/packages-bundle.js @@ -1,6 +1,6 @@ (()=>{var e={2569:(e,r,t)=>{"use strict";r.__esModule=true;r.presetEnvSilentDebugHeader=void 0;r.stringifyTargets=stringifyTargets;r.stringifyTargetsMultiline=stringifyTargetsMultiline;var s=t(8522);const a="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";r.presetEnvSilentDebugHeader=a;function stringifyTargetsMultiline(e){return JSON.stringify((0,s.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},6429:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a}=s.default||s;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,r,t){const s=this._normalizeKey(e,r);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(s))return;const o=t(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)));n.add(s);this._injectImport(e,o)}storeNamed(e,r,t,s){const n=this._normalizeKey(e,r,t);const o=this._ensure(this._imports,e,Map);if(!o.has(n)){const{node:i,name:l}=s(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)),a.identifier(t));o.set(n,l);this._injectImport(e,i)}return a.identifier(o.get(n))}_injectImport(e,r){const t=this._lastImports.get(e);let s;if(t&&t.node&&t.parent===e.node&&t.container===e.node.body){s=t.insertAfter(r)}else{s=e.unshiftContainer("body",r)}const a=s[s.length-1];this._lastImports.set(e,a)}_ensure(e,r,t){let s=e.get(r);if(!s){s=new t;e.set(r,s)}return s}_normalizeKey(e,r,t=""){const{sourceType:s}=e.node;return`${t&&s}::${r}::${t}`}}r["default"]=ImportsCache},4992:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=definePolyfillProvider;var s=t(8863);var a=_interopRequireWildcard(t(8522));var n=t(3970);var o=_interopRequireDefault(t(6429));var i=t(2569);var l=t(9667);var c=_interopRequireWildcard(t(264));var d=_interopRequireWildcard(t(9275));var u=_interopRequireDefault(t(8926));const p=["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n=0)continue;t[a]=e[a]}return t}const f=a.default.default||a.default;function resolveOptions(e,r){const{method:t,targets:s,ignoreBrowserslistConfig:a,configPath:n,debug:o,shouldInjectPolyfill:i,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,p);if(isEmpty(e)){throw new Error(`This plugin requires options, for example:\n {\n "plugins": [\n ["", { method: "usage-pure" }]\n ]\n }\n\nSee more options at https://github.com/babel/babel-polyfills/blob/main/docs/usage.md`)}let d;if(t==="usage-global")d="usageGlobal";else if(t==="entry-global")d="entryGlobal";else if(t==="usage-pure")d="usagePure";else if(typeof t!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(t)})`)}if(typeof i==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(i!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(i)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let u;if(s||n||a){const e=typeof s==="string"||Array.isArray(s)?{browsers:s}:s;u=f(e,{ignoreBrowserslistConfig:a,configPath:n})}else{u=r.targets()}return{method:t,methodName:d,targets:u,absoluteImports:l!=null?l:false,shouldInjectPolyfill:i,debug:!!o,providerOptions:c}}function instantiateProvider(e,r,t,s,i,c){const{method:p,methodName:f,targets:y,debug:g,shouldInjectPolyfill:h,providerOptions:b,absoluteImports:x}=resolveOptions(r,c);const v=(0,n.createUtilsGetter)(new o.default((e=>d.resolve(s,e,x))));let j,w;let E;let _;let S;const k=new Map;const C={babel:c,getUtils:v,method:r.method,targets:y,createMetaResolver:u.default,shouldInjectPolyfill(r){if(_===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!_.has(r)){console.warn(`Internal error in the ${D} provider: `+`unknown polyfill "${r}".`)}if(S&&!S(r))return false;let t=(0,a.isRequired)(r,y,{compatData:E,includes:j,excludes:w});if(h){t=h(r,t);if(typeof t!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return t},debug(e){var r,t;i().found=true;if(!g||!e)return;if(i().polyfills.has(D))return;i().polyfills.add(e);(t=(r=i()).polyfillsSupport)!=null?t:r.polyfillsSupport=E},assertDependency(e,r="*"){if(t===false)return;if(x){return}const a=r==="*"?e:`${e}@^${r}`;const n=t.all?false:mapGetOr(k,`${e} :: ${s}`,(()=>d.has(s,e)));if(!n){i().missingDeps.add(a)}}};const P=e(C,b,s);const D=P.name||e.name;if(typeof P[f]!=="function"){throw new Error(`The "${D}" provider doesn't support the "${p}" polyfilling method.`)}if(Array.isArray(P.polyfills)){_=new Set(P.polyfills);S=P.filterPolyfills}else if(P.polyfills){_=new Set(Object.keys(P.polyfills));E=P.polyfills;S=P.filterPolyfills}else{_=new Set}({include:j,exclude:w}=(0,l.validateIncludeExclude)(D,_,b.include||[],b.exclude||[]));return{debug:g,method:p,targets:y,provider:P,providerName:D,callProvider(e,r){const t=v(r);P[f](e,t,r)}}}function definePolyfillProvider(e){return(0,s.declare)(((r,t,s)=>{r.assertVersion(7);const{traverse:n}=r;let o;const u=(0,l.applyMissingDependenciesDefaults)(t,r);const{debug:p,method:f,targets:y,provider:g,providerName:h,callProvider:b}=instantiateProvider(e,t,u,s,(()=>o),r);const x=f==="entry-global"?c.entry:c.usage;const v=g.visitor?n.visitors.merge([x(b),g.visitor]):x(b);if(p&&p!==i.presetEnvSilentDebugHeader){console.log(`${h}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,i.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}const{runtimeName:j}=g;return{name:"inject-polyfills",visitor:v,pre(e){var r;if(j){if(e.get("runtimeHelpersModuleName")&&e.get("runtimeHelpersModuleName")!==j){console.warn(`Two different polyfill providers`+` (${e.get("runtimeHelpersModuleProvider")}`+` and ${h}) are trying to define two`+` conflicting @babel/runtime alternatives:`+` ${e.get("runtimeHelpersModuleName")} and ${j}.`+` The second one will be ignored.`)}else{e.set("runtimeHelpersModuleName",j);e.set("runtimeHelpersModuleProvider",h)}}o={polyfills:new Set,polyfillsSupport:undefined,found:false,providers:new Set,missingDeps:new Set};(r=g.pre)==null?void 0:r.apply(this,arguments)},post(){var e;(e=g.post)==null?void 0:e.apply(this,arguments);if(u!==false){if(u.log==="per-file"){d.logMissing(o.missingDeps)}else{d.laterLogMissing(o.missingDeps)}}if(!p)return;if(this.filename)console.log(`\n[${this.filename}]`);if(o.polyfills.size===0){console.log(f==="entry-global"?o.found?`Based on your targets, the ${h} polyfill did not add any polyfill.`:`The entry point for the ${h} polyfill has not been found.`:`Based on your code and targets, the ${h} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${h} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${h} polyfill added the following polyfills:`)}for(const e of o.polyfills){var r;if((r=o.polyfillsSupport)!=null&&r[e]){const r=(0,a.getInclusionReasons)(e,y,o.polyfillsSupport);const t=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${t}`)}else{console.log(` ${e}`)}}}}}))}function mapGetOr(e,r,t){let s=e.get(r);if(s===undefined){s=t();e.set(r,s)}return s}function isEmpty(e){return Object.keys(e).length===0}},8926:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=createMetaResolver;var s=t(3970);const a=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:r,instance:t,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,s.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:o,object:i,key:l}=e;if(i&&o==="static"){if(n&&a.has(i)&&(0,s.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(r&&(0,s.has)(r,i)&&(0,s.has)(r[i],l)){return{kind:"static",desc:r[i][l],name:`${i}$${l}`}}}if(t&&(0,s.has)(t,l)){return{kind:"instance",desc:t[l],name:`${l}`}}}}}},9275:(e,r,t)=>{"use strict";r.__esModule=true;r.has=has;r.laterLogMissing=laterLogMissing;r.logMissing=logMissing;r.resolve=resolve;var s=_interopRequireDefault(t(1017));var a=_interopRequireDefault(t(3079));var n=_interopRequireDefault(t(5066));var o=t(8188);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=parseFloat(process.versions.node)>=8.9;function myResolve(e,r){if(i){return require.resolve(e,{paths:[r]}).replace(/\\/g,"/")}else{return n.default.sync(e,{basedir:r}).replace(/\\/g,"/")}}function resolve(e,r,t){if(t===false)return r;let a=e;if(typeof t==="string"){a=s.default.resolve(a,t)}try{return myResolve(r,a)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;throw Object.assign(new Error(`Failed to resolve "${r}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:r,dirname:e})}}function has(e,r){try{myResolve(r,e);return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const r=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${r}\n`+`\tyarn add ${r}\n`);process.exitCode=1}let l=new Set;const c=(0,a.default)((()=>{logMissing(l);l=new Set}),100);function laterLogMissing(e){if(e.size===0)return;e.forEach((e=>l.add(e)));c()}},9667:(e,r,t)=>{"use strict";r.__esModule=true;r.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;r.validateIncludeExclude=validateIncludeExclude;var s=t(3970);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,r){if(!r.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+r.map((e=>` ${String(e)}\n`)).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,(e=>` ${e}\n`)).join("")}function validateIncludeExclude(e,r,t,a){let n;const filter=e=>{const t=patternToRegExp(e);if(!t)return false;let s=false;for(const e of r){if(t.test(e)){s=true;n.add(e)}}return!s};const o=n=new Set;const i=Array.from(t).filter(filter);const l=n=new Set;const c=Array.from(a).filter(filter);const d=(0,s.intersection)(o,l);if(d.size>0||i.length>0||c.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",i)+buildUnusedError("exclude",c)+buldDuplicatesError(d))}return{include:o,exclude:l}}function applyMissingDependenciesDefaults(e,r){const{missingDependencies:t={}}=e;if(t===false)return false;const s=r.caller((e=>e==null?void 0:e.name));const{log:a="deferred",inject:n=(s==="rollup-plugin-babel"?"throw":"import"),all:o=false}=t;return{log:a,inject:n,all:o}}},3970:(e,r,t)=>{"use strict";r.__esModule=true;r.createUtilsGetter=createUtilsGetter;r.getImportSource=getImportSource;r.getRequireSource=getRequireSource;r.has=has;r.intersection=intersection;r.resolveKey=resolveKey;r.resolveSource=resolveSource;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a,template:n}=s.default||s;function intersection(e,r){const t=new Set;e.forEach((e=>r.has(e)&&t.add(e)));return t}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:r}=e.evaluate();if(r&&r.isIdentifier()){return r.node.name}}function resolveKey(e,r=false){const{scope:t}=e;if(e.isStringLiteral())return e.node.value;const s=e.isIdentifier();if(s&&!(r||e.parent.computed)){return e.node.name}if(r&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!t.hasBinding("Symbol",true)){const r=resolveKey(e.get("property"),e.node.computed);if(r)return"Symbol."+r}if(!s||t.hasBinding(e.node.name,true)){const{value:r}=e.evaluate();if(typeof r==="string")return r}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const r=resolveId(e.get("object"));if(r){return{id:r,placement:"prototype"}}return{id:null,placement:null}}const r=resolveId(e);if(r){return{id:r,placement:"static"}}const{value:t}=e.evaluate();if(t!==undefined){return{id:getType(t),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!a.isExpressionStatement(e))return;const{expression:r}=e;if(a.isCallExpression(r)&&a.isIdentifier(r.callee)&&r.callee.name==="require"&&r.arguments.length===1&&a.isStringLiteral(r.arguments[0])){return r.arguments[0].value}}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return r=>{const t=r.findParent((e=>e.isProgram()));return{injectGlobalImport(r){e.storeAnonymous(t,r,((e,r)=>e?n.statement.ast`require(${r})`:a.importDeclaration([],r)))},injectNamedImport(r,s,o=s){return e.storeNamed(t,r,s,((e,r,s)=>{const i=t.scope.generateUidIdentifier(o);return{node:e?hoist(n.statement.ast` var ${i} = require(${r}).${s} - `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r){return e.storeNamed(t,r,"default",((e,r)=>{const o=t.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${r})`):a.importDeclaration([a.importDefaultSpecifier(o)],r),name:o.name}}))}}}}},1919:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>({ImportDeclaration(r){const t=(0,s.getImportSource)(r);if(!t)return;e({kind:"import",source:t},r)},Program(r){r.get("body").forEach((r=>{const t=(0,s.getRequireSource)(r);if(!t)return;e({kind:"import",source:t},r)}))}});r["default"]=_default},264:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(8850));r.usage=s.default;var a=_interopRequireDefault(t(1919));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},8850:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}return{ReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)},MemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!r||r==="prototype")return;const t=e.get("object");if(t.isIdentifier()){const e=t.scope.getBinding(t.node.name);if(e&&e.path.isImportNamespaceSpecifier())return}const a=(0,s.resolveSource)(t);return property(a.id,r,a.placement,e)},ObjectPattern(e){const{parentPath:r,parent:t}=e;let a;if(r.isVariableDeclarator()){a=r.get("init")}else if(r.isAssignmentExpression()){a=r.get("right")}else if(r.isFunction()){const s=r.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===t){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const r of e.get("properties")){if(r.isObjectProperty()){const e=(0,s.resolveKey)(r.get("key"));if(e)property(n,e,o,r)}}},BinaryExpression(r){if(r.node.operator!=="in")return;const t=(0,s.resolveSource)(r.get("right"));const a=(0,s.resolveKey)(r.get("left"),true);if(!a)return;e({kind:"in",object:t.id,key:a,placement:t.placement},r)}}};r["default"]=_default},3975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,r){r.plugins.push("asyncGenerators")}}}));r["default"]=a},799:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,r){r.plugins.push("bigInt")}}}));r["default"]=a},3412:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));r["default"]=a},5491:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,r){r.plugins.push("classStaticBlock")}}}));r["default"]=a},7802:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,r){r.plugins.push("dynamicImport")}}}));r["default"]=a},301:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,r){r.plugins.push("exportNamespaceFrom")}}}));r["default"]=a},8845:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-meta",manipulateOptions(e,r){r.plugins.push("importMeta")}}}));r["default"]=a},915:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,r){r.plugins.push("jsonStrings")}}}));r["default"]=a},647:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,r){r.plugins.push("logicalAssignment")}}}));r["default"]=a},7779:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,r){r.plugins.push("nullishCoalescingOperator")}}}));r["default"]=a},4100:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,r){r.plugins.push("numericSeparator")}}}));r["default"]=a},3322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,r){r.plugins.push("objectRestSpread")}}}));r["default"]=a},3720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,r){r.plugins.push("optionalCatchBinding")}}}));r["default"]=a},9430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,r){r.plugins.push("optionalChaining")}}}));r["default"]=a},6775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,r){r.plugins.push("privateIn")}}}));r["default"]=a},1712:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,r){r.plugins.push("topLevelAwait")}}}));r["default"]=a},8256:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;const t={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(r){if(r.node.async&&r.findParent(e.isClassMethod)){r.arrowFunctionToExpression(t)}}}});r["default"]=_default;e.exports=r.default},4516:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>{const isArrowParent=r=>r.parentKey==="params"&&r.parentPath&&e.isArrowFunctionExpression(r.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(isArrowParent);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};r["default"]=_default;e.exports=r.default},3693:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(r){if(!r.node.id&&e.isIdentifier(r.parent.id)){const t=e.cloneNode(r.parent.id);const s=r.scope.getBinding(t.name);if(s==null?void 0:s.constantViolations.length){r.scope.rename(t.name)}r.node.id=t}}}}});r["default"]=_default;e.exports=r.default},3032:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(r){const t=r.parent.kind;if(t!=="let"&&t!=="const")return;const s=r.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(r.node.id);for(const t of Object.keys(a)){let s=r.scope;if(!s.hasOwnBinding(t))continue;while(s=s.parent){if(s.hasOwnBinding(t)){r.scope.rename(t);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=r.default},449:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const r=e.getFunctionParent();const{name:t}=e.node.declarations[0].id;if(r&&r.scope.hasOwnBinding(t)&&r.scope.getOwnBinding(t).kind==="param"){e.scope.rename(t)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});r["default"]=_default;e.exports=r.default},3057:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(r,t){let s=t.get("processed");if(!s){s=new WeakSet;t.set("processed",s)}if(s.has(r.node))return r.skip();const a=r.node.quasi.expressions;let n=t.get("identity");if(!n){n=r.scope.getProgramParent().generateDeclaredUidIdentifier("_");t.set("identity",n);const s=r.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(r.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=r.scope.getProgramParent().generateDeclaredUidIdentifier("t");r.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(r.node.tag,[l,...a]);r.replaceWith(c)}}});r["default"]=_default;e.exports=r.default},8684:function(e,r,t){e=t.nmd(e); + `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r){return e.storeNamed(t,r,"default",((e,r)=>{const o=t.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${r})`):a.importDeclaration([a.importDefaultSpecifier(o)],r),name:o.name}}))}}}}},1919:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>({ImportDeclaration(r){const t=(0,s.getImportSource)(r);if(!t)return;e({kind:"import",source:t},r)},Program(r){r.get("body").forEach((r=>{const t=(0,s.getRequireSource)(r);if(!t)return;e({kind:"import",source:t},r)}))}});r["default"]=_default},264:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(8850));r.usage=s.default;var a=_interopRequireDefault(t(1919));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},8850:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}return{ReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)},MemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!r||r==="prototype")return;const t=e.get("object");if(t.isIdentifier()){const e=t.scope.getBinding(t.node.name);if(e&&e.path.isImportNamespaceSpecifier())return}const a=(0,s.resolveSource)(t);return property(a.id,r,a.placement,e)},ObjectPattern(e){const{parentPath:r,parent:t}=e;let a;if(r.isVariableDeclarator()){a=r.get("init")}else if(r.isAssignmentExpression()){a=r.get("right")}else if(r.isFunction()){const s=r.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===t){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const r of e.get("properties")){if(r.isObjectProperty()){const e=(0,s.resolveKey)(r.get("key"));if(e)property(n,e,o,r)}}},BinaryExpression(r){if(r.node.operator!=="in")return;const t=(0,s.resolveSource)(r.get("right"));const a=(0,s.resolveKey)(r.get("left"),true);if(!a)return;e({kind:"in",object:t.id,key:a,placement:t.placement},r)}}};r["default"]=_default},3975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,r){r.plugins.push("asyncGenerators")}}}));r["default"]=a},799:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,r){r.plugins.push("bigInt")}}}));r["default"]=a},3412:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));r["default"]=a},5491:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,r){r.plugins.push("classStaticBlock")}}}));r["default"]=a},7802:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,r){r.plugins.push("dynamicImport")}}}));r["default"]=a},301:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,r){r.plugins.push("exportNamespaceFrom")}}}));r["default"]=a},8845:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-meta",manipulateOptions(e,r){r.plugins.push("importMeta")}}}));r["default"]=a},915:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,r){r.plugins.push("jsonStrings")}}}));r["default"]=a},647:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,r){r.plugins.push("logicalAssignment")}}}));r["default"]=a},7779:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,r){r.plugins.push("nullishCoalescingOperator")}}}));r["default"]=a},4100:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,r){r.plugins.push("numericSeparator")}}}));r["default"]=a},3322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,r){r.plugins.push("objectRestSpread")}}}));r["default"]=a},3720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,r){r.plugins.push("optionalCatchBinding")}}}));r["default"]=a},9430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,r){r.plugins.push("optionalChaining")}}}));r["default"]=a},6775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,r){r.plugins.push("privateIn")}}}));r["default"]=a},1712:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,r){r.plugins.push("topLevelAwait")}}}));r["default"]=a},8256:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;const t={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(r){if(r.node.async&&r.findParent(e.isClassMethod)){r.arrowFunctionToExpression(t)}}}});r["default"]=_default;e.exports=r.default},4516:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>{const isArrowParent=r=>r.parentKey==="params"&&r.parentPath&&e.isArrowFunctionExpression(r.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(isArrowParent);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};r["default"]=_default;e.exports=r.default},3693:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(r){if(!r.node.id&&e.isIdentifier(r.parent.id)){const t=e.cloneNode(r.parent.id);const s=r.scope.getBinding(t.name);if(s==null?void 0:s.constantViolations.length){r.scope.rename(t.name)}r.node.id=t}}}}});r["default"]=_default;e.exports=r.default},3032:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(r){const t=r.parent.kind;if(t!=="let"&&t!=="const")return;const s=r.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(r.node.id);for(const t of Object.keys(a)){let s=r.scope;if(!s.hasOwnBinding(t))continue;while(s=s.parent){if(s.hasOwnBinding(t)){r.scope.rename(t);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=r.default},449:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const r=e.getFunctionParent();const{name:t}=e.node.declarations[0].id;if(r&&r.scope.hasOwnBinding(t)&&r.scope.getOwnBinding(t).kind==="param"){e.scope.rename(t)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});r["default"]=_default;e.exports=r.default},3057:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(r,t){let s=t.get("processed");if(!s){s=new WeakSet;t.set("processed",s)}if(s.has(r.node))return r.skip();const a=r.node.quasi.expressions;let n=t.get("identity");if(!n){n=r.scope.getProgramParent().generateDeclaredUidIdentifier("_");t.set("identity",n);const s=r.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(r.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=r.scope.getProgramParent().generateDeclaredUidIdentifier("t");r.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(r.node.tag,[l,...a]);r.replaceWith(c)}}});r["default"]=_default;e.exports=r.default},8684:function(e,r,t){e=t.nmd(e); /*! * regjsgen 0.5.2 * Copyright 2014-2020 Benjamin Tan @@ -194,7 +194,7 @@ // writable is false by default value: ${i.name} }); - `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{ThisExpression(e,r){const t=e.findParent((e=>!(0,c.isTransparentExprWrapper)(e.node)));if(s.types.isUnaryExpression(t.node,{operator:"delete"})){e.parentPath.replaceWith(s.types.booleanLiteral(true));return}r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t,n,o,i,l){var c;const d={classRef:r,needsClassRef:false,innerBinding:l};const u=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:r,getSuperRef:t,getObjectRef(){d.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?r:s.types.memberExpression(r,s.types.identifier("prototype"))}});u.replace();if(o||e.isProperty()){e.traverse(g,d)}if(l!=null&&(c=d.classRef)!=null&&c.name&&d.classRef.name!==(l==null?void 0:l.name)){e.traverse(h,d)}return d.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,a,n,o,i,l,c){let u=false;let p;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=p)!=null?e:p=t[0].scope.generateUidIdentifierBasedOnNode(r);return p};for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const b=r.isPrivate();const x=!b;const v=r.isProperty();const j=!v;const w=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t||j&&b||w){const t=replaceThisContext(r,e,h,n,w,l,c);u=u||t}switch(true){case w:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(inheritPropComments(e[0],r))}else{f.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&b&&v&&i:u=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,a));break;case t&&b&&v&&!i:u=true;f.push(buildPrivateStaticFieldInitSpec(r,a));break;case t&&x&&v&&o:if(!isNameOrLength(r.node)){u=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&x&&v&&!o:u=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,n));break;case p&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,a));break;case p&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,a,n));break;case p&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,a,n));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&!i:u=true;f.unshift(buildPrivateStaticFieldInitSpec(r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&i:u=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,n,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(p){r.scope.push({id:s.types.cloneNode(p)});r.set("superClass",s.types.assignmentExpression("=",p,r.node.superClass))}if(!u)return r;if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else if(!r.node.id){r.node.id=e}return r}}}},7953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(7345);var n=t(7696);var o=t(7849);var i=t(2736);var l=t(7081);var c=t(4510);var d=t(2532);var u=t(3678);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.1");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.1")){e.set(p,"7.22.1")}},visitor:{Class(e,{file:t}){if(t.get(p)!=="7.22.1")return;if(!(0,d.shouldTransform)(e,t))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,d.isLoose)(t,r);let o;const f=(0,l.hasDecorators)(e.node);const y=[];const g=[];const h=[];const _=new Set;const S=e.get("body");for(const e of S.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){h.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(_.has(t)||_.has(r)&&!_.has(s)){throw e.buildCodeFrameError("Duplicate private field")}_.add(t).add(r)}else if(e.node.kind==="set"){if(_.has(s)||_.has(r)&&!_.has(t)){throw e.buildCodeFrameError("Duplicate private field")}_.add(s).add(r)}}else{if(_.has(r)&&!_.has(t)&&!_.has(s)||_.has(r)&&(_.has(t)||_.has(s))){throw e.buildCodeFrameError("Duplicate private field")}_.add(r)}}if(e.isClassMethod({kind:"constructor"})){o=e}else{g.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!f)return}const k=e.node.id;let C;if(!k||e.isClassExpression()){(0,a.default)(e);C=e.scope.generateUidIdentifier("class")}else{C=s.types.cloneNode(e.node.id)}const P=(0,i.buildPrivateNamesMap)(y);const D=(0,i.buildPrivateNamesNodes)(P,v!=null?v:n,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(C,e,P,{privateFieldsAsProperties:E!=null?E:n,noDocumentAll:w,innerBinding:k},t);let I,O,A,R,F;{if(f){O=R=I=[];({instanceNodes:A,wrapClass:F}=(0,l.buildDecoratedClass)(C,e,g,t))}else{I=(0,c.extractComputedKeys)(e,h,t);({staticNodes:O,pureStaticNodes:R,instanceNodes:A,wrapClass:F}=(0,i.buildFieldsInitNodes)(C,e.node.superClass,y,P,t,b!=null?b:n,E!=null?E:n,j!=null?j:n,k))}}if(A.length>0){(0,c.injectInitialization)(e,o,A,((e,r)=>{{if(f)return}for(const t of y){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const M=F(e);M.insertBefore([...D,...I]);if(O.length>0){M.insertAfter(O)}if(R.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.1")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},4510:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(6982);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},3678:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},9810:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},9626:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(9810);var l=t(8755);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.15");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.15")){s.set(c,"7.22.15")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},8755:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(9810);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},2161:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},176:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(2161);var l=t(4559);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.1");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.1")){s.set(c,"7.22.1")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},4559:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(2161);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},6982:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},8552:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},3336:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r["default"]=t},7345:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(789);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r["default"]=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(v.path.isPattern()){n.replaceWith(d(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:t})||_.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const C=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const P=v.maybeGenerateMemoised(C);const D=P!=null?P:C;const I=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>I;const O=a.isCallExpression({callee:t});k.replaceWith(toNonOptional(k,D));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let A=e.node;for(let r=e;r!==n;){const e=r.parentPath;if(e===n&&isOptionalCall()&&s.optional){A=e.node;break}A=toNonOptional(e,A);r=e}let R;const F=n.parentPath;if(y(A)&&F.isOptionalCallExpression({callee:n.node,optional:true})){const{object:r}=A;R=e.scope.maybeGenerateMemoised(r);if(R){A.object=i("=",R,r)}}let M=n;if(S){M=F;A=F.node}const N=P?i("=",u(D),u(C)):u(D);if(b){let e;if(r){e=l("!=",N,j())}else{e=x("&&",l("!==",N,j()),l("!==",u(D),v.buildUndefinedNode()))}M.replaceWith(x("&&",e,A))}else{let e;if(r){e=l("==",N,j())}else{e=x("||",l("===",N,j()),l("===",u(D),v.buildUndefinedNode()))}M.replaceWith(p(e,S?c(true):v.buildUndefinedNode(),A))}if(R){const e=F.node;F.replaceWith(w(E(e.callee,f("call"),false,true),[u(R),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(t);v.push({id:o});const l=[i("=",u(o),this.get(e))];if(n){l.push(S(r,u(o),n));const t=_(l);a.replaceWith(this.set(e,t));return}else{const s=v.generateUidIdentifierBasedOnNode(t);v.push({id:s});l.push(i("=",u(s),S(r,u(o),n)),u(o));const c=_(l);a.replaceWith(_([this.set(e,c),u(s)]));return}}if(a.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,right:t}=a.node;if(r==="="){a.replaceWith(this.set(e,t))}else{const s=r.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,t)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),t)))}}return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(v.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},6265:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r.default=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:n}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const b=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(n.path.isPattern()){b.replaceWith(d(o([],b.node),[]));return}const v=willPathCastToBoolean(b);const _=b.parentPath;if(_.isUpdateExpression({argument:t})){throw e.buildCodeFrameError(`can't handle update expression`)}const S=_.isAssignmentExpression({left:b.node});const k=_.isUnaryExpression({operator:"delete"});if(k&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let C=e;for(;;){if(C.isOptionalMemberExpression()){if(C.node.optional)break;C=C.get("object");continue}else if(C.isOptionalCallExpression()){if(C.node.optional)break;C=C.get("callee");continue}throw new Error(`Internal error: unexpected ${C.node.type}`)}const P=C.isOptionalMemberExpression()?C.node.object:C.node.callee;const D=n.maybeGenerateMemoised(P);const I=D!=null?D:P;const O=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>O;const A=a.isCallExpression({callee:t});C.replaceWith(toNonOptional(C,I));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let R=e.node;for(let r=e;r!==b;){const e=r.parentPath;if(e===b&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);r=e}let F;const M=b.parentPath;if(y(R)&&M.isOptionalCallExpression({callee:b.node,optional:true})){const{object:r}=R;F=e.scope.maybeGenerateMemoised(r);if(F){R.object=i("=",F,r)}}let N=b;if(k||S){N=M;R=M.node}const B=D?i("=",u(I),u(P)):u(I);if(v){let e;if(r){e=l("!=",B,j())}else{e=x("&&",l("!==",B,j()),l("!==",u(I),n.buildUndefinedNode()))}N.replaceWith(x("&&",e,R))}else{let e;if(r){e=l("==",B,j())}else{e=x("||",l("===",B,j()),l("===",u(I),n.buildUndefinedNode()))}N.replaceWith(p(e,k?c(true):n.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(w(E(e.callee,f("call"),false,true),[u(F),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:o}=s;this.memoise(e,2);const l=n.generateUidIdentifierBasedOnNode(t);n.push({id:l});const c=[i("=",u(l),this.get(e))];if(o){c.push(S(r,u(l),o));const t=_(c);a.replaceWith(this.set(e,t));return}else{const s=n.generateUidIdentifierBasedOnNode(t);n.push({id:s});c.push(i("=",u(s),S(r,u(l),o)),u(l));const d=_(c);a.replaceWith(_([this.set(e,d),u(s)]));return}}if(a.isAssignmentExpression({left:t})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(n.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,r,t){if(e.simpleSet){r.replaceWith(e.simpleSet(r));return}const{operator:s,right:a}=t.node;if(s==="="){t.replaceWith(e.set(r,a))}else{const o=s.slice(0,-1);if(n.includes(o)){e.memoise(r,1);t.replaceWith(x(o,e.get(r),e.set(r,a)))}else{e.memoise(r,2);t.replaceWith(e.set(r,l(o,e.get(r),a)))}}}function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},4835:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:d,importNamespaceSpecifier:u,importSpecifier:p,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,r,t){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=r;this._hub=t;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(r)];this._resultName=o(r);return this}default(e){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[d(r)];this._resultName=o(r);return this}named(e,r){if(r==="default")return this.default(e);const t=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[p(t,l(r))];this._resultName=o(t);return this}var(e){const r=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(r,t.expression)]);this._resultName=o(r);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=n(e,[r.expression])}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=n(e,[r.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=f(r.expression,l(e))}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=f(r.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+r.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}r["default"]=ImportBuilder},8539:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);var n=t(4835);var o=t(8089);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,r,t){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(r,t,true)}addDefault(e,r){return this.addNamed("default",e,r)}addNamed(e,r,t){s(typeof e==="string");return this._generateImport(this._applyDefaults(r,t),e)}addNamespace(e,r){return this._generateImport(this._applyDefaults(e,r),null)}addSideEffect(e,r){return this._generateImport(this._applyDefaults(e,r),void 0)}_applyDefaults(e,r,t=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},r)}else{s(!r,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!t&&r){if(r.nameHint!==undefined)a.nameHint=r.nameHint;if(r.blockHoist!==undefined)a.blockHoist=r.blockHoist}return a}_generateImport(e,r){const t=r==="default";const s=!!r&&!t;const a=r===null;const{importedSource:c,importedType:d,importedInterop:u,importingInterop:p,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||r;const v=(0,o.default)(this._programPath);const j=v&&p==="node";const w=v&&p==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const E=new n.default(c,this._programScope,this._hub);if(d==="es6"){if(!j&&!w){throw new Error("Cannot import an ES6 module from CommonJS")}E.import();if(a){E.namespace(g||c)}else if(t||s){E.named(x,r)}}else if(d!=="commonjs"){throw new Error(`Unexpected interopType "${d}"`)}else if(u==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;E.import();if(a){E.default(e).var(x||c).wildcardInterop()}else if(t){if(f){E.default(e).var(x||c).defaultInterop().read("default")}else{E.default(e).var(x).defaultInterop().prop(r)}}else if(s){E.default(e).read(r)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c).wildcardInterop()}else if((t||s)&&f){if(t){x=x!=="default"?x:c;E.var(x).read(r);E.defaultInterop()}else{E.var(c).read(r)}}else if(t){E.var(x).defaultInterop().prop(r)}else if(s){E.var(x).prop(r)}}}else if(u==="compiled"){if(j){E.import();if(a){E.default(x||c)}else if(t||s){E.default(c).read(x)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t||s){if(f){E.var(c).read(x)}else{E.prop(r).var(x)}}}}else if(u==="uncompiled"){if(t&&f){throw new Error("No live reference for commonjs default")}if(j){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.default(c).read(x)}}else if(w){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t){E.var(x)}else if(s){if(f){E.var(c).read(x)}else{E.var(x).prop(r)}}}}else{throw new Error(`Unknown importedInterop "${u}".`)}const{statements:_,resultName:S}=E.done();this._insertStatements(_,h,b);if((t||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,r="before",t=3){const s=this._programPath.get("body");if(r==="after"){for(let r=s.length-1;r>=0;r--){if(s[r].isImportDeclaration()){s[r].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=t}));const r=s.find((e=>{const r=e.node._blockHoist;return Number.isFinite(r)&&r<4}));if(r){r.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}r["default"]=ImportInjector},3380:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"ImportInjector",{enumerable:true,get:function(){return s.default}});r.addDefault=addDefault;r.addNamed=addNamed;r.addNamespace=addNamespace;r.addSideEffect=addSideEffect;Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return a.default}});var s=t(8539);var a=t(8089);function addDefault(e,r,t){return new s.default(e).addDefault(r,t)}function addNamed(e,r,t,a){return new s.default(e).addNamed(r,t,a)}function addNamespace(e,r,t){return new s.default(e).addNamespace(r,t)}function addSideEffect(e,r,t){return new s.default(e).addSideEffect(r,t)}},8089:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDynamicImport=buildDynamicImport;var s=t(8304);{r.getDynamicImportSource=function getDynamicImportSource(e){const[r]=e.arguments;return s.types.isStringLiteral(r)||s.types.isTemplateLiteral(r)?r:s.template.expression.ast`\`\${${r}}\``}}function buildDynamicImport(e,r,t,a){const n=s.types.isCallExpression(e)?e.arguments[0]:e.source;if(s.types.isStringLiteral(n)||s.types.isTemplateLiteral(n)&&n.quasis.length===0){if(r){return s.template.expression.ast` + `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{ThisExpression(e,r){const t=e.findParent((e=>!(0,c.isTransparentExprWrapper)(e.node)));if(s.types.isUnaryExpression(t.node,{operator:"delete"})){e.parentPath.replaceWith(s.types.booleanLiteral(true));return}r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t,n,o,i,l){var c;const d={classRef:r,needsClassRef:false,innerBinding:l};const u=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:r,getSuperRef:t,getObjectRef(){d.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?r:s.types.memberExpression(r,s.types.identifier("prototype"))}});u.replace();if(o||e.isProperty()){e.traverse(g,d)}if(l!=null&&(c=d.classRef)!=null&&c.name&&d.classRef.name!==(l==null?void 0:l.name)){e.traverse(h,d)}return d.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,a,n,o,i,l,c){let u=false;let p;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=p)!=null?e:p=t[0].scope.generateUidIdentifierBasedOnNode(r);return p};for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const b=r.isPrivate();const x=!b;const v=r.isProperty();const j=!v;const w=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t||j&&b||w){const t=replaceThisContext(r,e,h,n,w,l,c);u=u||t}switch(true){case w:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(inheritPropComments(e[0],r))}else{f.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&b&&v&&i:u=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,a));break;case t&&b&&v&&!i:u=true;f.push(buildPrivateStaticFieldInitSpec(r,a));break;case t&&x&&v&&o:if(!isNameOrLength(r.node)){u=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&x&&v&&!o:u=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,n));break;case p&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,a));break;case p&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,a,n));break;case p&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,a,n));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&!i:u=true;f.unshift(buildPrivateStaticFieldInitSpec(r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&i:u=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,n,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(p){r.scope.push({id:s.types.cloneNode(p)});r.set("superClass",s.types.assignmentExpression("=",p,r.node.superClass))}if(!u)return r;if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else if(!r.node.id){r.node.id=e}return r}}}},7953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(7345);var n=t(7696);var o=t(7849);var i=t(2736);var l=t(7081);var c=t(4510);var d=t(2532);var u=t(3678);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.1");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.1")){e.set(p,"7.22.1")}},visitor:{Class(e,{file:t}){if(t.get(p)!=="7.22.1")return;if(!(0,d.shouldTransform)(e,t))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,d.isLoose)(t,r);let o;const f=(0,l.hasDecorators)(e.node);const y=[];const g=[];const h=[];const _=new Set;const S=e.get("body");for(const e of S.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){h.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(_.has(t)||_.has(r)&&!_.has(s)){throw e.buildCodeFrameError("Duplicate private field")}_.add(t).add(r)}else if(e.node.kind==="set"){if(_.has(s)||_.has(r)&&!_.has(t)){throw e.buildCodeFrameError("Duplicate private field")}_.add(s).add(r)}}else{if(_.has(r)&&!_.has(t)&&!_.has(s)||_.has(r)&&(_.has(t)||_.has(s))){throw e.buildCodeFrameError("Duplicate private field")}_.add(r)}}if(e.isClassMethod({kind:"constructor"})){o=e}else{g.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!f)return}const k=e.node.id;let C;if(!k||e.isClassExpression()){(0,a.default)(e);C=e.scope.generateUidIdentifier("class")}else{C=s.types.cloneNode(e.node.id)}const P=(0,i.buildPrivateNamesMap)(y);const D=(0,i.buildPrivateNamesNodes)(P,v!=null?v:n,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(C,e,P,{privateFieldsAsProperties:E!=null?E:n,noDocumentAll:w,innerBinding:k},t);let I,O,A,R,F;{if(f){O=R=I=[];({instanceNodes:A,wrapClass:F}=(0,l.buildDecoratedClass)(C,e,g,t))}else{I=(0,c.extractComputedKeys)(e,h,t);({staticNodes:O,pureStaticNodes:R,instanceNodes:A,wrapClass:F}=(0,i.buildFieldsInitNodes)(C,e.node.superClass,y,P,t,b!=null?b:n,E!=null?E:n,j!=null?j:n,k))}}if(A.length>0){(0,c.injectInitialization)(e,o,A,((e,r)=>{{if(f)return}for(const t of y){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const M=F(e);M.insertBefore([...D,...I]);if(O.length>0){M.insertAfter(O)}if(R.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.1")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},4510:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(6982);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},3678:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},9810:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},9626:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(9810);var l=t(8755);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.15");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.15")){s.set(c,"7.22.15")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},8755:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(9810);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},27:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=r.FEATURES=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});const s=r.featuresKey="@babel/plugin-regexp-features/featuresKey";const a=r.runtimeKey="@babel/plugin-regexp-features/runtimeKey";function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},2269:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(27);var l=t(2910);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.24.7");return}}if(!s.get(c)||o.lt(s.get(c),"7.24.7")){s.set(c,"7.24.7")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},2910:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(27);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},6982:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},8552:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},3336:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r["default"]=t},7345:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(789);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r["default"]=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(v.path.isPattern()){n.replaceWith(d(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:t})||_.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const C=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const P=v.maybeGenerateMemoised(C);const D=P!=null?P:C;const I=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>I;const O=a.isCallExpression({callee:t});k.replaceWith(toNonOptional(k,D));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let A=e.node;for(let r=e;r!==n;){const e=r.parentPath;if(e===n&&isOptionalCall()&&s.optional){A=e.node;break}A=toNonOptional(e,A);r=e}let R;const F=n.parentPath;if(y(A)&&F.isOptionalCallExpression({callee:n.node,optional:true})){const{object:r}=A;R=e.scope.maybeGenerateMemoised(r);if(R){A.object=i("=",R,r)}}let M=n;if(S){M=F;A=F.node}const N=P?i("=",u(D),u(C)):u(D);if(b){let e;if(r){e=l("!=",N,j())}else{e=x("&&",l("!==",N,j()),l("!==",u(D),v.buildUndefinedNode()))}M.replaceWith(x("&&",e,A))}else{let e;if(r){e=l("==",N,j())}else{e=x("||",l("===",N,j()),l("===",u(D),v.buildUndefinedNode()))}M.replaceWith(p(e,S?c(true):v.buildUndefinedNode(),A))}if(R){const e=F.node;F.replaceWith(w(E(e.callee,f("call"),false,true),[u(R),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(t);v.push({id:o});const l=[i("=",u(o),this.get(e))];if(n){l.push(S(r,u(o),n));const t=_(l);a.replaceWith(this.set(e,t));return}else{const s=v.generateUidIdentifierBasedOnNode(t);v.push({id:s});l.push(i("=",u(s),S(r,u(o),n)),u(o));const c=_(l);a.replaceWith(_([this.set(e,c),u(s)]));return}}if(a.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,right:t}=a.node;if(r==="="){a.replaceWith(this.set(e,t))}else{const s=r.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,t)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),t)))}}return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(v.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},6265:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r.default=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:n}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const b=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(n.path.isPattern()){b.replaceWith(d(o([],b.node),[]));return}const v=willPathCastToBoolean(b);const _=b.parentPath;if(_.isUpdateExpression({argument:t})){throw e.buildCodeFrameError(`can't handle update expression`)}const S=_.isAssignmentExpression({left:b.node});const k=_.isUnaryExpression({operator:"delete"});if(k&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let C=e;for(;;){if(C.isOptionalMemberExpression()){if(C.node.optional)break;C=C.get("object");continue}else if(C.isOptionalCallExpression()){if(C.node.optional)break;C=C.get("callee");continue}throw new Error(`Internal error: unexpected ${C.node.type}`)}const P=C.isOptionalMemberExpression()?C.node.object:C.node.callee;const D=n.maybeGenerateMemoised(P);const I=D!=null?D:P;const O=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>O;const A=a.isCallExpression({callee:t});C.replaceWith(toNonOptional(C,I));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let R=e.node;for(let r=e;r!==b;){const e=r.parentPath;if(e===b&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);r=e}let F;const M=b.parentPath;if(y(R)&&M.isOptionalCallExpression({callee:b.node,optional:true})){const{object:r}=R;F=e.scope.maybeGenerateMemoised(r);if(F){R.object=i("=",F,r)}}let N=b;if(k||S){N=M;R=M.node}const B=D?i("=",u(I),u(P)):u(I);if(v){let e;if(r){e=l("!=",B,j())}else{e=x("&&",l("!==",B,j()),l("!==",u(I),n.buildUndefinedNode()))}N.replaceWith(x("&&",e,R))}else{let e;if(r){e=l("==",B,j())}else{e=x("||",l("===",B,j()),l("===",u(I),n.buildUndefinedNode()))}N.replaceWith(p(e,k?c(true):n.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(w(E(e.callee,f("call"),false,true),[u(F),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:o}=s;this.memoise(e,2);const l=n.generateUidIdentifierBasedOnNode(t);n.push({id:l});const c=[i("=",u(l),this.get(e))];if(o){c.push(S(r,u(l),o));const t=_(c);a.replaceWith(this.set(e,t));return}else{const s=n.generateUidIdentifierBasedOnNode(t);n.push({id:s});c.push(i("=",u(s),S(r,u(l),o)),u(l));const d=_(c);a.replaceWith(_([this.set(e,d),u(s)]));return}}if(a.isAssignmentExpression({left:t})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(n.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,r,t){if(e.simpleSet){r.replaceWith(e.simpleSet(r));return}const{operator:s,right:a}=t.node;if(s==="="){t.replaceWith(e.set(r,a))}else{const o=s.slice(0,-1);if(n.includes(o)){e.memoise(r,1);t.replaceWith(x(o,e.get(r),e.set(r,a)))}else{e.memoise(r,2);t.replaceWith(e.set(r,l(o,e.get(r),a)))}}}function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},4835:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:d,importNamespaceSpecifier:u,importSpecifier:p,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,r,t){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=r;this._hub=t;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(r)];this._resultName=o(r);return this}default(e){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[d(r)];this._resultName=o(r);return this}named(e,r){if(r==="default")return this.default(e);const t=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[p(t,l(r))];this._resultName=o(t);return this}var(e){const r=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(r,t.expression)]);this._resultName=o(r);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=n(e,[r.expression])}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=n(e,[r.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=f(r.expression,l(e))}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=f(r.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+r.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}r["default"]=ImportBuilder},8539:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);var n=t(4835);var o=t(8089);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,r,t){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(r,t,true)}addDefault(e,r){return this.addNamed("default",e,r)}addNamed(e,r,t){s(typeof e==="string");return this._generateImport(this._applyDefaults(r,t),e)}addNamespace(e,r){return this._generateImport(this._applyDefaults(e,r),null)}addSideEffect(e,r){return this._generateImport(this._applyDefaults(e,r),void 0)}_applyDefaults(e,r,t=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},r)}else{s(!r,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!t&&r){if(r.nameHint!==undefined)a.nameHint=r.nameHint;if(r.blockHoist!==undefined)a.blockHoist=r.blockHoist}return a}_generateImport(e,r){const t=r==="default";const s=!!r&&!t;const a=r===null;const{importedSource:c,importedType:d,importedInterop:u,importingInterop:p,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||r;const v=(0,o.default)(this._programPath);const j=v&&p==="node";const w=v&&p==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const E=new n.default(c,this._programScope,this._hub);if(d==="es6"){if(!j&&!w){throw new Error("Cannot import an ES6 module from CommonJS")}E.import();if(a){E.namespace(g||c)}else if(t||s){E.named(x,r)}}else if(d!=="commonjs"){throw new Error(`Unexpected interopType "${d}"`)}else if(u==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;E.import();if(a){E.default(e).var(x||c).wildcardInterop()}else if(t){if(f){E.default(e).var(x||c).defaultInterop().read("default")}else{E.default(e).var(x).defaultInterop().prop(r)}}else if(s){E.default(e).read(r)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c).wildcardInterop()}else if((t||s)&&f){if(t){x=x!=="default"?x:c;E.var(x).read(r);E.defaultInterop()}else{E.var(c).read(r)}}else if(t){E.var(x).defaultInterop().prop(r)}else if(s){E.var(x).prop(r)}}}else if(u==="compiled"){if(j){E.import();if(a){E.default(x||c)}else if(t||s){E.default(c).read(x)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t||s){if(f){E.var(c).read(x)}else{E.prop(r).var(x)}}}}else if(u==="uncompiled"){if(t&&f){throw new Error("No live reference for commonjs default")}if(j){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.default(c).read(x)}}else if(w){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t){E.var(x)}else if(s){if(f){E.var(c).read(x)}else{E.var(x).prop(r)}}}}else{throw new Error(`Unknown importedInterop "${u}".`)}const{statements:_,resultName:S}=E.done();this._insertStatements(_,h,b);if((t||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,r="before",t=3){const s=this._programPath.get("body");if(r==="after"){for(let r=s.length-1;r>=0;r--){if(s[r].isImportDeclaration()){s[r].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=t}));const r=s.find((e=>{const r=e.node._blockHoist;return Number.isFinite(r)&&r<4}));if(r){r.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}r["default"]=ImportInjector},3380:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"ImportInjector",{enumerable:true,get:function(){return s.default}});r.addDefault=addDefault;r.addNamed=addNamed;r.addNamespace=addNamespace;r.addSideEffect=addSideEffect;Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return a.default}});var s=t(8539);var a=t(8089);function addDefault(e,r,t){return new s.default(e).addDefault(r,t)}function addNamed(e,r,t,a){return new s.default(e).addNamed(r,t,a)}function addNamespace(e,r,t){return new s.default(e).addNamespace(r,t)}function addSideEffect(e,r,t){return new s.default(e).addSideEffect(r,t)}},8089:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDynamicImport=buildDynamicImport;var s=t(8304);{r.getDynamicImportSource=function getDynamicImportSource(e){const[r]=e.arguments;return s.types.isStringLiteral(r)||s.types.isTemplateLiteral(r)?r:s.template.expression.ast`\`\${${r}}\``}}function buildDynamicImport(e,r,t,a){const n=s.types.isCallExpression(e)?e.arguments[0]:e.source;if(s.types.isStringLiteral(n)||s.types.isTemplateLiteral(n)&&n.quasis.length===0){if(r){return s.template.expression.ast` Promise.resolve().then(() => ${a(n)}) `}else return a(n)}const o=s.types.isTemplateLiteral(n)?s.types.identifier("specifier"):s.types.templateLiteral([s.types.templateElement({raw:""}),s.types.templateElement({raw:""})],[s.types.identifier("specifier")]);if(r){return s.template.expression.ast` (specifier => @@ -266,7 +266,7 @@ function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() `])}else{return o.template.expression.ast` function () { throw new ReferenceError("'delete super.prop' is invalid"); }() - `}}};const v=Object.assign({},x,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return d(this.memoiser.get(r))}return d(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:p(u("Function"),u("prototype"))}else{var i;n=p((i=t())!=null?i:u("Object"),u("prototype"))}return p(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return i("=",p(g(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return p(g(),t,r)},call(e,r){return(0,n.default)(this.get(e),g(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),g(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return d(this.opts.superRef);if(this.opts.getSuperRef){return d(this.opts.getSuperRef())}}replace(){const{methodPath:e}=this;if(this.opts.refToPreserve){e.traverse(b,{refName:this.opts.refToPreserve.name})}const r=this.constantSuper?v:x;h.shouldSkip=r=>{if(r.parentPath===e){if(r.parentKey==="decorators"||r.parentKey==="key"){return true}}};(0,a.default)(e,h,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:r.get},r))}}r["default"]=ReplaceSupers},6118:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=simplifyAccess;var s=t(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:d,sequenceExpression:u,unaryExpression:p}=s;const f={AssignmentExpression:{exit(e){const{scope:r,seen:t,bindingNames:s}=this;if(e.node.operator==="=")return;if(t.has(e.node))return;t.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const d=l.node.name;if(!s.has(d))return;if(r.getBinding(d)!==e.scope.getBinding(d)){return}const u=e.node.operator.slice(0,-1);if(a.includes(u)){e.replaceWith(c(u,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(u,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:r,bindingNames:t}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!t.has(a))return;if(r.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const r=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(r,s.node,d(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],p("+",s.node),d(1))))}else{const r=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const t=r.name;e.scope.push({id:r});const a=o(e.node.operator[0],l(t),d(1));e.replaceWith(u([n("=",l(t),p("+",s.node)),n("=",i(s.node),a),l(t)]))}}}}function simplifyAccess(e,r){{var t;e.traverse(f,{scope:e.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:(t=arguments[2])!=null?t:true})}}},5385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9769:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9382:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},7696:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isScope()?r.scope.parent:r.scope;let d=r.node.id;let u=false;if(!d){u=true;d=s.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(d)}}const p=t?r.node:l("var",[c(a(d),r.node)]);const f=n(null,[o(a(d),i("default"))]);e.insertAfter(f);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4097:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},9053:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4387:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(4387);var a=t(4348)},4348:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},2916:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(2916);var a=t(9676)},9676:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},2445:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(7657);var a=t(3530)},7657:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},8112:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},4716:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(2729);var a=t(8112)},2729:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},1340:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=wrapFunction;var s=t(2528);var a=t(789);var n=t(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:d,isRestElement:u,returnStatement:p,isCallExpression:f}=n;const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const g=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const h=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,r){const t=e.node;const s=t.body;const a=l(null,[],o(s.body),true);s.body=[p(i(i(r,[a]),[]))];t.async=false;t.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,r,t,a){let n=e;let o;let l=null;const p=e.node.params;if(n.isArrowFunctionExpression()){{var b;n=(b=n.arrowFunctionToExpression({noNewArrows:t}))!=null?b:n}o=n.node}else{o=n.node}const x=d(o);let v=o;if(!f(o)){l=o.id;o.id=null;o.type="FunctionExpression";v=i(r,[o])}const j=[];for(const e of p){if(c(e)||u(e)){break}j.push(n.scope.generateUidIdentifier("x"))}const w={NAME:l||null,REF:n.scope.generateUidIdentifier(l?l.name:"ref"),FUNCTION:v,PARAMS:j};if(x){const e=h(w);n.replaceWith(e[0]);n.insertAfter(e[1])}else{let e;if(l){e=g(w)}else{e=y(w);const r=e.callee.body.body[1].argument;(0,s.default)({node:r,parent:n.parent,scope:n.scope});l=r.id}if(l||!a&&j.length){n.replaceWith(e)}else{n.replaceWith(v)}}}function wrapFunction(e,r,t=true,s=false){if(e.isMethod()){classOrObjectMethod(e,r)}else{plainFunction(e,r,t,s)}}},5771:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var s=t(8874);var a=t(5018);var n=_interopRequireWildcard(t(1437),true);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&{}.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(s,n,o):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}const o=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,n.createColors)(false):n.default;const compose=(e,r)=>t=>e(r(t));const i=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold)}}const l=/\r\n|[\n\r\u2028\u2029]/;const c=/^[()[\]{}]$/;let d;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(r,t,s){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||i.has(r.value)){return"keyword"}if(e.test(r.value)&&(s[t-1]==="<"||s.slice(t-2,t)==="r(e))).join("\n")}else{t+=a}}return t}function shouldHighlight(e){return o.isColorSupported||e.forceColor}let u=undefined;function getColors(e){if(e){var r;(r=u)!=null?r:u=(0,n.createColors)(true);return u}return o}function highlight(e,r={}){if(e!==""&&shouldHighlight(r)){const t=getDefs(getColors(r.forceColor));return highlightTokens(t,e)}else{return e}}{let e,s;r.getChalk=({forceColor:r})=>{var a;(a=e)!=null?a:e=t(6148);if(r){var n;(n=s)!=null?n:s=new e.constructor({enabled:true,level:1});return s}return e}}},3636:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);function shouldTransform(e){const{node:r}=e;const t=r.id;if(!t)return false;const s=t.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const r=shouldTransform(e);if(r){const{scope:t}=e;const s=t.generateUid(r);t.rename(r,s)}}}}}));r["default"]=a},3257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8220);var n=t(9769);var o=t(8304);function matchAffectedArguments(e){const r=e.findIndex((e=>o.types.isSpreadElement(e)));return r>=0&&r!==e.length-1}function shouldTransform(e){let r=e;const t=[];for(;;){if(r.isOptionalMemberExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("object"))}else if(r.isOptionalCallExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("callee"))}else{break}}for(let e=0;e{var r,t;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:false;const n=(t=e.assumption("pureGetters"))!=null?t:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));r["default"]=i},5806:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(7953);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4578:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(301);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:a}=t;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],t.source))}const l=a.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(d)],n.types.cloneNode(t.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=o},4206:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(4100);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=n},9050:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(6770);var a=t(3322);var n=t(8304);var o=t(7255);var i=t(8522);var l=t(8626);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(l);const{isObjectProperty:d,isArrayPattern:u,isObjectPattern:p,isAssignmentPattern:f,isRestElement:y,isIdentifier:g}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(u(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(p(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(d(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(f(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(y(e)){if(g(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:h,isObjectProperty:b}=n.types;{const e=n.types.identifier("a");const r=n.types.objectProperty(n.types.identifier("key"),e);const t=n.types.objectPattern([r]);var x=n.types.isReferenced(e,r,t)?1:0}var v=s.declare(((e,r)=>{var t,s,l,d;e.assertVersion(7);const u=e.targets();const p=!i.isRequired("es6.object.assign",u,{compatData:c["default"]});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(t=e.assumption("ignoreFunctionLength"))!=null?t:y;const v=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(l=e.assumption("pureGetters"))!=null?l:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(h(r)&&t==="right"||b(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(n.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let a=false;for(const e of r){if(n.types.isIdentifier(e.key)&&!e.computed){t.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){t.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){t.push(n.types.stringLiteral(String(e.key.value)))}else{t.push(n.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);t.push(a);e.replaceWith(n.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>x||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(r),[n.types.objectExpression([]),n.types.sequenceExpression([n.types.callExpression(r.addHelper("objectDestructuringEmpty"),[n.types.cloneNode(t)]),n.types.cloneNode(t)])])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!d&&!n.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=n.types.cloneNode(t)}}return[i,o.argument,n.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[n.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;re.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;se>=n-1||t.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(r,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(r)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;a=n.types.memberExpression(a,n.types.cloneNode(r.key),r.computed||n.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(n.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(r),n.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(t,r,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.expressionStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const a=r.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(n.types.variableDeclaration(r.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(n.types.variableDeclarator(t.node,s));t.replaceWith(n.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const a=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(n.types.variableDeclaration(a,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const r=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=n.types.callExpression(n.types.cloneNode(t),[s,...e?[n.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(n.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{a.push(r)}}if(a.length)make();e.replaceWith(s)}}}}));r["default"]=v},5579:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,r){r.plugins.push("importAssertions")}}}));r["default"]=a},4810:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,{deprecatedAssertSyntax:r})=>{e.assertVersion("^7.22.0");if(r!=null&&typeof r!=="boolean"){throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.")}return{name:"syntax-import-attributes",manipulateOptions({parserOpts:e,generatorOpts:t}){var s;(s=t.importAttributesKeyword)!=null?s:t.importAttributesKeyword="with";e.plugins.push(["importAttributes",{deprecatedAssertSyntax:Boolean(r)}])}}}));r["default"]=a},6085:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,r){{if(r.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}r.plugins.push("jsx")}}}));r["default"]=a},6141:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);{var removePlugin=function(e,r){const t=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===r){t.unshift(s)}}));for(const r of t){e.splice(r,1)}}}var a=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:t,dts:s}=r;{var{isTSX:a}=r}return{name:"syntax-typescript",manipulateOptions(e,r){{const{plugins:e}=r;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(a){e.push("jsx")}}r.plugins.push(["typescript",{disallowAmbiguousJSXLike:t,dts:s}])}}}));r["default"]=a},6237:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(176);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"syntax-unicode-sets-regex",feature:"unicodeSetsFlag_syntax",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},3628:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,r)=>{var t;e.assertVersion(7);const s=(t=e.assumption("noNewArrows"))!=null?t:!r.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;{e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}}));r["default"]=a},1971:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:r}){const{node:t,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=t.left;let d;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){d=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){d=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let u=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:r,OBJECT:t.right,STEP_KEY:s.types.cloneNode(i)});u=u.body.body;const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,node:u,declar:d,loop:y}}},4766:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(8304);var o=t(1971);var i=t(8552);var l=(0,s.declare)((e=>{e.assertVersion(7);const r=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},YieldExpression({node:e},r){if(!e.delegate)return;const t=n.types.callExpression(r.addHelper("asyncIterator"),[e.argument]);e.argument=n.types.callExpression(r.addHelper("asyncGeneratorDelegate"),[t,r.addHelper("awaitAsyncGenerator")])}},i.default]);const s=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},ForOfStatement(e,{file:r}){const{node:t}=e;if(!t.await)return;const s=(0,o.default)(e,{getAsyncIterator:r.addHelper("asyncIterator")});const{declar:a,loop:i}=s;const l=i.body;e.ensureBlock();if(a){l.body.push(a);if(e.node.body.body.length){l.body.push(n.types.blockStatement(e.node.body.body))}}else{l.body.push(...e.node.body.body)}n.types.inherits(i,t);n.types.inherits(i.body,t.body);const c=s.replaceParent?e.parentPath:e;c.replaceWithMultiple(s.node);c.scope.parent.crawl()}},i.default]);const l={Function(e,t){if(!e.node.async)return;e.traverse(s,t);if(!e.node.generator)return;e.traverse(r,t);(0,a.default)(e,{wrapAsync:t.addHelper("wrapAsyncGenerator"),wrapAwait:t.addHelper("awaitAsyncGenerator")})}};return{name:"transform-async-generator-functions",inherits:t(3975)["default"],visitor:{Program(e,r){e.traverse(l,r)}}}}));r["default"]=l},3055:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(3380);var o=t(8304);var i=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{method:i,module:l}=r;const c=(t=e.assumption("noNewArrows"))!=null?t:true;const d=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;let t=r.methodWrapper;if(t){t=o.types.cloneNode(t)}else{t=r.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:t},c,d)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:r.addHelper("asyncToGenerator")},c,d)}}}}));r["default"]=i},1242:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function transformStatementList(e){for(const r of e){if(!r.isFunctionDeclaration())continue;const e=r.node;const t=a.types.variableDeclaration("let",[a.types.variableDeclarator(e.id,a.types.toExpression(e))]);t._blockHoist=2;e.id=null;r.replaceWith(t)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:r,parent:t}=e;if(a.types.isFunction(t,{body:r})||a.types.isExportDeclaration(t)){return}transformStatementList(e.get("body"))},SwitchCase(e){transformStatementList(e.get("consequent"))}}}}));r["default"]=n},4700:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.annexB33FunctionsVisitor=void 0;r.isVarScope=isVarScope;var s=t(8304);const a={VariableDeclaration(e){if(isStrict(e))return;if(e.node.kind!=="var")return;const r=e.scope.getFunctionParent()||e.scope.getProgramParent();r.path.traverse(n,{names:Object.keys(e.getBindingIdentifiers())})},BlockStatement(e){if(isStrict(e))return;if(s.types.isFunction(e.parent,{body:e.node}))return;transformStatementList(e.get("body"))},SwitchCase(e){if(isStrict(e))return;transformStatementList(e.get("consequent"))}};r.annexB33FunctionsVisitor=a;function transformStatementList(e){e:for(const r of e){if(!r.isFunctionDeclaration())continue;if(r.node.async||r.node.generator)return;const{scope:e}=r.parentPath;if(isVarScope(e))return;const{name:t}=r.node.id;let s=e;do{if(s.parent.hasOwnBinding(t))continue e;s=s.parent}while(!isVarScope(s));maybeTransformBlockScopedFunction(r)}}function maybeTransformBlockScopedFunction(e){const{node:r,parentPath:{scope:t}}=e;const{id:a}=r;t.removeOwnBinding(a.name);r.id=null;const n=s.types.variableDeclaration("var",[s.types.variableDeclarator(a,s.types.toExpression(r))]);n._blockHoist=2;const[o]=e.replaceWith(n);t.registerDeclaration(o)}const n={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){maybeTransformBlockScopedFunction(r.path)}}},"Expression|Declaration"(e){e.skip()}};function isVarScope(e){return e.path.isFunctionParent()||e.path.isProgram()}function isStrict(e){return!!e.find((({node:e})=>{var r;if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(s.types.isClass(e)){return true}else if(!s.types.isBlockStatement(e)){return false}return(r=e.directives)==null?void 0:r.some((e=>e.value.value==="use strict"))}))}},6383:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(6713);var o=t(8643);var i=t(4700);var l=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{throwIfClosureRequired:t=false,tdz:s=false}=r;if(typeof t!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:a.traverse.visitors.merge([i.annexB33FunctionsVisitor,{Loop(e,r){const a=e.isForStatement();const o=a?e.get("init"):e.isForXStatement()?e.get("left"):null;let i=false;const markNeedsBodyWrap=()=>{if(t){throw e.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}i=true};const l=e.get("body");let c;if(l.isBlockStatement()){c=l.scope;const r=(0,n.getLoopBodyBindings)(e);for(const t of r){const{capturedInClosure:r}=(0,n.getUsageInBody)(t,e);if(r)markNeedsBodyWrap()}}const d=[];const u=new Map;if(o&&isBlockScoped(o.node)){const r=Object.keys(o.getBindingIdentifiers());const t=o.scope;for(let s of r){var p;if((p=c)!=null&&p.hasOwnBinding(s))continue;let r=t.getOwnBinding(s);if(!r){t.crawl();r=t.getOwnBinding(s)}const{usages:o,capturedInClosure:i,hasConstantViolations:l}=(0,n.getUsageInBody)(r,e);if(t.parent.hasBinding(s)||t.parent.hasGlobal(s)){const e=t.generateUid(s);t.rename(s,e);s=e}if(i){markNeedsBodyWrap();d.push(s)}if(a&&l){u.set(s,o)}}}if(i){const t=(0,n.wrapLoopBody)(e,d,u);if(o!=null&&o.isVariableDeclaration()){transformBlockScopedVariable(o,r,s)}t.get("declarations.0.init").unwrapFunctionEnvironment()}},VariableDeclaration(e,r){transformBlockScopedVariable(e,r,s)},ClassDeclaration(e){const{id:r}=e.node;if(!r)return;const{scope:t}=e.parentPath;if(!(0,i.isVarScope)(t)&&t.parent.hasBinding(r.name,{noUids:true})){e.scope.rename(r.name)}}}])}}));r["default"]=l;const c={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){e.scope.rename(t)}}},"Expression|Declaration"(e){e.skip()}};function transformBlockScopedVariable(e,r,t){if(!isBlockScoped(e.node))return;const s=(0,o.validateUsage)(e,r,t);e.node.kind="var";const i=Object.keys(e.getBindingIdentifiers());for(const r of i){const t=e.scope.getOwnBinding(r);if(!t)continue;t.kind="var"}if(isInLoop(e)&&!(0,n.isVarInLoopHead)(e)||s.length>0){for(const r of e.node.declarations){var l;(l=r.init)!=null?l:r.init=e.scope.buildUndefinedNode()}}const d=e.scope;const u=d.getFunctionParent()||d.getProgramParent();if(u!==d){for(const e of i){let r=e;if(d.parent.hasBinding(e,{noUids:true})||d.parent.hasGlobal(e)){r=d.generateUid(e);d.rename(e,r)}d.moveBindingTo(r,u)}}d.path.traverse(c,{names:i});for(const t of s){e.scope.push({id:a.types.identifier(t),init:r.addHelper("temporalUndefined")})}}function isLetOrConst(e){return e==="let"||e==="const"}function isInLoop(e){if(!e.parentPath)return false;if(e.parentPath.isLoop())return true;if(e.parentPath.isFunctionParent())return false;return isInLoop(e.parentPath)}function isBlockScoped(e){if(!a.types.isVariableDeclaration(e))return false;if(e[a.types.BLOCK_SCOPED_SYMBOL]){return true}if(!isLetOrConst(e.kind)&&e.kind!=="using"){return false}return true}},6713:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getLoopBodyBindings=getLoopBodyBindings;r.getUsageInBody=getUsageInBody;r.isVarInLoopHead=isVarInLoopHead;r.wrapLoopBody=wrapLoopBody;var s=t(8304);const a={"Expression|Declaration|Loop"(e){e.skip()},Scope(e,r){if(e.isFunctionParent())e.skip();const{bindings:t}=e.scope;for(const e of Object.keys(t)){const s=t[e];if(s.kind==="let"||s.kind==="const"||s.kind==="hoisted"){r.blockScoped.push(s)}}}};function getLoopBodyBindings(e){const r={blockScoped:[]};e.traverse(a,r);return r.blockScoped}function getUsageInBody(e,r){const t=new WeakSet;let s=false;const a=filterMap(e.constantViolations,(e=>{const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);const o=e.isUpdateExpression()?e.get("argument"):e.isAssignmentExpression()?e.get("left"):null;if(o)t.add(o.node);return o}));const n=filterMap(e.referencePaths,(e=>{if(t.has(e.node))return null;const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);return e}));return{capturedInClosure:s,hasConstantViolations:a.length>0,usages:n.concat(a)}}function relativeLoopLocation(e,r){const t=r.get("body");let s=false;for(let a=e;a;a=a.parentPath){if(a.isFunction()||a.isClass()||a.isMethod()){s=true}if(a===t){return{inBody:true,inClosure:s}}else if(a===r){return{inBody:false,inClosure:s}}}throw new Error("Internal Babel error: path is not in loop. Please report this as a bug.")}const n={Function(e){e.skip()},LabeledStatement:{enter({node:e},r){r.labelsStack.push(e.label.name)},exit({node:e},r){const t=r.labelsStack.pop();if(t!==e.label.name){throw new Error("Assertion failure. Please report this bug to Babel.")}}},Loop:{enter(e,r){r.labellessContinueTargets++;r.labellessBreakTargets++},exit(e,r){r.labellessContinueTargets--;r.labellessBreakTargets--}},SwitchStatement:{enter(e,r){r.labellessBreakTargets++},exit(e,r){r.labellessBreakTargets--}},"BreakStatement|ContinueStatement"(e,r){const{label:t}=e.node;if(t){if(r.labelsStack.includes(t.name))return}else if(e.isBreakStatement()?r.labellessBreakTargets>0:r.labellessContinueTargets>0){return}r.breaksContinues.push(e)},ReturnStatement(e,r){r.returns.push(e)},VariableDeclaration(e,r){if(e.parent===r.loopNode&&isVarInLoopHead(e))return;if(e.node.kind==="var")r.vars.push(e)}};function wrapLoopBody(e,r,t){const a=e.node;const o={breaksContinues:[],returns:[],labelsStack:[],labellessBreakTargets:0,labellessContinueTargets:0,vars:[],loopNode:a};e.traverse(n,o);const i=[];const l=[];const c=[];for(const[r,a]of t){i.push(s.types.identifier(r));const t=e.scope.generateUid(r);l.push(s.types.identifier(t));c.push(s.types.assignmentExpression("=",s.types.identifier(r),s.types.identifier(t)));for(const e of a)e.replaceWith(s.types.identifier(t))}for(const e of r){if(t.has(e))continue;i.push(s.types.identifier(e));l.push(s.types.identifier(e))}const d=e.scope.generateUid("loop");const u=s.types.functionExpression(null,l,s.types.toBlock(a.body));let p=s.types.callExpression(s.types.identifier(d),i);const f=e.findParent((e=>e.isFunction()));if(f){const{async:e,generator:r}=f.node;u.async=e;u.generator=r;if(r)p=s.types.yieldExpression(p,true);else if(e)p=s.types.awaitExpression(p)}const y=c.length>0?s.types.expressionStatement(s.types.sequenceExpression(c)):null;if(y)u.body.body.push(y);const[g]=e.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(d),u)]));const h=[];const b=[];for(const e of o.vars){const r=[];for(const t of e.node.declarations){b.push(...Object.keys(s.types.getBindingIdentifiers(t.id)));if(t.init){r.push(s.types.assignmentExpression("=",t.id,t.init))}}if(r.length>0){let t=r.length===1?r[0]:s.types.sequenceExpression(r);if(!s.types.isForStatement(e.parent,{init:e.node})&&!s.types.isForXStatement(e.parent,{left:e.node})){t=s.types.expressionStatement(t)}e.replaceWith(t)}else{e.remove()}}if(b.length){g.pushContainer("declarations",b.map((e=>s.types.variableDeclarator(s.types.identifier(e)))))}const x=o.breaksContinues.length;const v=o.returns.length;if(x+v===0){h.push(s.types.expressionStatement(p))}else if(x===1&&v===0){for(const e of o.breaksContinues){const{node:r}=e;const{type:t,label:a}=r;let n=t==="BreakStatement"?"break":"continue";if(a)n+=" "+a.name;e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(1)),"trailing"," "+n,true));if(y)e.insertBefore(s.types.cloneNode(y));h.push(s.template.statement.ast` + `}}};const v=Object.assign({},x,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return d(this.memoiser.get(r))}return d(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:p(u("Function"),u("prototype"))}else{var i;n=p((i=t())!=null?i:u("Object"),u("prototype"))}return p(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return i("=",p(g(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return p(g(),t,r)},call(e,r){return(0,n.default)(this.get(e),g(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),g(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return d(this.opts.superRef);if(this.opts.getSuperRef){return d(this.opts.getSuperRef())}}replace(){const{methodPath:e}=this;if(this.opts.refToPreserve){e.traverse(b,{refName:this.opts.refToPreserve.name})}const r=this.constantSuper?v:x;h.shouldSkip=r=>{if(r.parentPath===e){if(r.parentKey==="decorators"||r.parentKey==="key"){return true}}};(0,a.default)(e,h,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:r.get},r))}}r["default"]=ReplaceSupers},6118:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=simplifyAccess;var s=t(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:d,sequenceExpression:u,unaryExpression:p}=s;const f={AssignmentExpression:{exit(e){const{scope:r,seen:t,bindingNames:s}=this;if(e.node.operator==="=")return;if(t.has(e.node))return;t.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const d=l.node.name;if(!s.has(d))return;if(r.getBinding(d)!==e.scope.getBinding(d)){return}const u=e.node.operator.slice(0,-1);if(a.includes(u)){e.replaceWith(c(u,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(u,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:r,bindingNames:t}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!t.has(a))return;if(r.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const r=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(r,s.node,d(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],p("+",s.node),d(1))))}else{const r=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const t=r.name;e.scope.push({id:r});const a=o(e.node.operator[0],l(t),d(1));e.replaceWith(u([n("=",l(t),p("+",s.node)),n("=",i(s.node),a),l(t)]))}}}}function simplifyAccess(e,r){{var t;e.traverse(f,{scope:e.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:(t=arguments[2])!=null?t:true})}}},5385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9769:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9382:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},7696:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isScope()?r.scope.parent:r.scope;let d=r.node.id;let u=false;if(!d){u=true;d=s.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(d)}}const p=t?r.node:l("var",[c(a(d),r.node)]);const f=n(null,[o(a(d),i("default"))]);e.insertAfter(f);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4097:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},9053:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4387:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(4387);var a=t(4348)},4348:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},2916:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(2916);var a=t(9676)},9676:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},2445:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(7657);var a=t(3530)},7657:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},8112:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},4716:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(2729);var a=t(8112)},2729:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},1340:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=wrapFunction;var s=t(2528);var a=t(789);var n=t(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:d,isRestElement:u,returnStatement:p,isCallExpression:f}=n;const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const g=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const h=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,r){const t=e.node;const s=t.body;const a=l(null,[],o(s.body),true);s.body=[p(i(i(r,[a]),[]))];t.async=false;t.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,r,t,a){let n=e;let o;let l=null;const p=e.node.params;if(n.isArrowFunctionExpression()){{var b;n=(b=n.arrowFunctionToExpression({noNewArrows:t}))!=null?b:n}o=n.node}else{o=n.node}const x=d(o);let v=o;if(!f(o)){l=o.id;o.id=null;o.type="FunctionExpression";v=i(r,[o])}const j=[];for(const e of p){if(c(e)||u(e)){break}j.push(n.scope.generateUidIdentifier("x"))}const w={NAME:l||null,REF:n.scope.generateUidIdentifier(l?l.name:"ref"),FUNCTION:v,PARAMS:j};if(x){const e=h(w);n.replaceWith(e[0]);n.insertAfter(e[1])}else{let e;if(l){e=g(w)}else{e=y(w);const r=e.callee.body.body[1].argument;(0,s.default)({node:r,parent:n.parent,scope:n.scope});l=r.id}if(l||!a&&j.length){n.replaceWith(e)}else{n.replaceWith(v)}}}function wrapFunction(e,r,t=true,s=false){if(e.isMethod()){classOrObjectMethod(e,r)}else{plainFunction(e,r,t,s)}}},5771:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var s=t(8874);var a=t(5018);var n=_interopRequireWildcard(t(1437),true);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&{}.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(s,n,o):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}const o=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,n.createColors)(false):n.default;const compose=(e,r)=>t=>e(r(t));const i=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold)}}const l=/\r\n|[\n\r\u2028\u2029]/;const c=/^[()[\]{}]$/;let d;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(r,t,s){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||i.has(r.value)){return"keyword"}if(e.test(r.value)&&(s[t-1]==="<"||s.slice(t-2,t)==="r(e))).join("\n")}else{t+=a}}return t}function shouldHighlight(e){return o.isColorSupported||e.forceColor}let u=undefined;function getColors(e){if(e){var r;(r=u)!=null?r:u=(0,n.createColors)(true);return u}return o}function highlight(e,r={}){if(e!==""&&shouldHighlight(r)){const t=getDefs(getColors(r.forceColor));return highlightTokens(t,e)}else{return e}}{let e,s;r.getChalk=({forceColor:r})=>{var a;(a=e)!=null?a:e=t(6148);if(r){var n;(n=s)!=null?n:s=new e.constructor({enabled:true,level:1});return s}return e}}},3636:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);function shouldTransform(e){const{node:r}=e;const t=r.id;if(!t)return false;const s=t.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const r=shouldTransform(e);if(r){const{scope:t}=e;const s=t.generateUid(r);t.rename(r,s)}}}}}));r["default"]=a},3257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8220);var n=t(9769);var o=t(8304);function matchAffectedArguments(e){const r=e.findIndex((e=>o.types.isSpreadElement(e)));return r>=0&&r!==e.length-1}function shouldTransform(e){let r=e;const t=[];for(;;){if(r.isOptionalMemberExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("object"))}else if(r.isOptionalCallExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("callee"))}else{break}}for(let e=0;e{var r,t;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:false;const n=(t=e.assumption("pureGetters"))!=null?t:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));r["default"]=i},5806:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(7953);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4578:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(301);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:a}=t;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],t.source))}const l=a.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(d)],n.types.cloneNode(t.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=o},4206:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(4100);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=n},9050:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(6770);var a=t(3322);var n=t(8304);var o=t(7255);var i=t(8522);var l=t(8626);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(l);const{isObjectProperty:d,isArrayPattern:u,isObjectPattern:p,isAssignmentPattern:f,isRestElement:y,isIdentifier:g}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(u(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(p(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(d(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(f(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(y(e)){if(g(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:h,isObjectProperty:b}=n.types;{const e=n.types.identifier("a");const r=n.types.objectProperty(n.types.identifier("key"),e);const t=n.types.objectPattern([r]);var x=n.types.isReferenced(e,r,t)?1:0}var v=s.declare(((e,r)=>{var t,s,l,d;e.assertVersion(7);const u=e.targets();const p=!i.isRequired("es6.object.assign",u,{compatData:c["default"]});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(t=e.assumption("ignoreFunctionLength"))!=null?t:y;const v=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(l=e.assumption("pureGetters"))!=null?l:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(h(r)&&t==="right"||b(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(n.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let a=false;for(const e of r){if(n.types.isIdentifier(e.key)&&!e.computed){t.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){t.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){t.push(n.types.stringLiteral(String(e.key.value)))}else{t.push(n.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);t.push(a);e.replaceWith(n.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>x||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(r),[n.types.objectExpression([]),n.types.sequenceExpression([n.types.callExpression(r.addHelper("objectDestructuringEmpty"),[n.types.cloneNode(t)]),n.types.cloneNode(t)])])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!d&&!n.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=n.types.cloneNode(t)}}return[i,o.argument,n.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[n.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;re.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;se>=n-1||t.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(r,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(r)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;a=n.types.memberExpression(a,n.types.cloneNode(r.key),r.computed||n.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(n.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(r),n.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(t,r,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.expressionStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const a=r.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(n.types.variableDeclaration(r.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(n.types.variableDeclarator(t.node,s));t.replaceWith(n.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const a=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(n.types.variableDeclaration(a,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const r=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=n.types.callExpression(n.types.cloneNode(t),[s,...e?[n.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(n.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{a.push(r)}}if(a.length)make();e.replaceWith(s)}}}}));r["default"]=v},5579:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,r){r.plugins.push("importAssertions")}}}));r["default"]=a},4810:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,{deprecatedAssertSyntax:r})=>{e.assertVersion("^7.22.0");if(r!=null&&typeof r!=="boolean"){throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.")}return{name:"syntax-import-attributes",manipulateOptions({parserOpts:e,generatorOpts:t}){var s;(s=t.importAttributesKeyword)!=null?s:t.importAttributesKeyword="with";e.plugins.push(["importAttributes",{deprecatedAssertSyntax:Boolean(r)}])}}}));r["default"]=a},6085:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,r){{if(r.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}r.plugins.push("jsx")}}}));r["default"]=a},6141:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);{var removePlugin=function(e,r){const t=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===r){t.unshift(s)}}));for(const r of t){e.splice(r,1)}}}var a=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:t,dts:s}=r;{var{isTSX:a}=r}return{name:"syntax-typescript",manipulateOptions(e,r){{const{plugins:e}=r;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(a){e.push("jsx")}}r.plugins.push(["typescript",{disallowAmbiguousJSXLike:t,dts:s}])}}}));r["default"]=a},6237:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(2269);var a=t(8863);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"syntax-unicode-sets-regex",feature:"unicodeSetsFlag_syntax",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},3628:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,r)=>{var t;e.assertVersion(7);const s=(t=e.assumption("noNewArrows"))!=null?t:!r.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;{e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}}));r["default"]=a},1971:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:r}){const{node:t,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=t.left;let d;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){d=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){d=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let u=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:r,OBJECT:t.right,STEP_KEY:s.types.cloneNode(i)});u=u.body.body;const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,node:u,declar:d,loop:y}}},4766:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(8304);var o=t(1971);var i=t(8552);var l=(0,s.declare)((e=>{e.assertVersion(7);const r=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},YieldExpression({node:e},r){if(!e.delegate)return;const t=n.types.callExpression(r.addHelper("asyncIterator"),[e.argument]);e.argument=n.types.callExpression(r.addHelper("asyncGeneratorDelegate"),[t,r.addHelper("awaitAsyncGenerator")])}},i.default]);const s=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},ForOfStatement(e,{file:r}){const{node:t}=e;if(!t.await)return;const s=(0,o.default)(e,{getAsyncIterator:r.addHelper("asyncIterator")});const{declar:a,loop:i}=s;const l=i.body;e.ensureBlock();if(a){l.body.push(a);if(e.node.body.body.length){l.body.push(n.types.blockStatement(e.node.body.body))}}else{l.body.push(...e.node.body.body)}n.types.inherits(i,t);n.types.inherits(i.body,t.body);const c=s.replaceParent?e.parentPath:e;c.replaceWithMultiple(s.node);c.scope.parent.crawl()}},i.default]);const l={Function(e,t){if(!e.node.async)return;e.traverse(s,t);if(!e.node.generator)return;e.traverse(r,t);(0,a.default)(e,{wrapAsync:t.addHelper("wrapAsyncGenerator"),wrapAwait:t.addHelper("awaitAsyncGenerator")})}};return{name:"transform-async-generator-functions",inherits:t(3975)["default"],visitor:{Program(e,r){e.traverse(l,r)}}}}));r["default"]=l},3055:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(3380);var o=t(8304);var i=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{method:i,module:l}=r;const c=(t=e.assumption("noNewArrows"))!=null?t:true;const d=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;let t=r.methodWrapper;if(t){t=o.types.cloneNode(t)}else{t=r.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:t},c,d)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:r.addHelper("asyncToGenerator")},c,d)}}}}));r["default"]=i},1242:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function transformStatementList(e){for(const r of e){if(!r.isFunctionDeclaration())continue;const e=r.node;const t=a.types.variableDeclaration("let",[a.types.variableDeclarator(e.id,a.types.toExpression(e))]);t._blockHoist=2;e.id=null;r.replaceWith(t)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:r,parent:t}=e;if(a.types.isFunction(t,{body:r})||a.types.isExportDeclaration(t)){return}transformStatementList(e.get("body"))},SwitchCase(e){transformStatementList(e.get("consequent"))}}}}));r["default"]=n},4700:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.annexB33FunctionsVisitor=void 0;r.isVarScope=isVarScope;var s=t(8304);const a={VariableDeclaration(e){if(isStrict(e))return;if(e.node.kind!=="var")return;const r=e.scope.getFunctionParent()||e.scope.getProgramParent();r.path.traverse(n,{names:Object.keys(e.getBindingIdentifiers())})},BlockStatement(e){if(isStrict(e))return;if(s.types.isFunction(e.parent,{body:e.node}))return;transformStatementList(e.get("body"))},SwitchCase(e){if(isStrict(e))return;transformStatementList(e.get("consequent"))}};r.annexB33FunctionsVisitor=a;function transformStatementList(e){e:for(const r of e){if(!r.isFunctionDeclaration())continue;if(r.node.async||r.node.generator)return;const{scope:e}=r.parentPath;if(isVarScope(e))return;const{name:t}=r.node.id;let s=e;do{if(s.parent.hasOwnBinding(t))continue e;s=s.parent}while(!isVarScope(s));maybeTransformBlockScopedFunction(r)}}function maybeTransformBlockScopedFunction(e){const{node:r,parentPath:{scope:t}}=e;const{id:a}=r;t.removeOwnBinding(a.name);r.id=null;const n=s.types.variableDeclaration("var",[s.types.variableDeclarator(a,s.types.toExpression(r))]);n._blockHoist=2;const[o]=e.replaceWith(n);t.registerDeclaration(o)}const n={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){maybeTransformBlockScopedFunction(r.path)}}},"Expression|Declaration"(e){e.skip()}};function isVarScope(e){return e.path.isFunctionParent()||e.path.isProgram()}function isStrict(e){return!!e.find((({node:e})=>{var r;if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(s.types.isClass(e)){return true}else if(!s.types.isBlockStatement(e)){return false}return(r=e.directives)==null?void 0:r.some((e=>e.value.value==="use strict"))}))}},6383:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(6713);var o=t(8643);var i=t(4700);var l=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{throwIfClosureRequired:t=false,tdz:s=false}=r;if(typeof t!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:a.traverse.visitors.merge([i.annexB33FunctionsVisitor,{Loop(e,r){const a=e.isForStatement();const o=a?e.get("init"):e.isForXStatement()?e.get("left"):null;let i=false;const markNeedsBodyWrap=()=>{if(t){throw e.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}i=true};const l=e.get("body");let c;if(l.isBlockStatement()){c=l.scope;const r=(0,n.getLoopBodyBindings)(e);for(const t of r){const{capturedInClosure:r}=(0,n.getUsageInBody)(t,e);if(r)markNeedsBodyWrap()}}const d=[];const u=new Map;if(o&&isBlockScoped(o.node)){const r=Object.keys(o.getBindingIdentifiers());const t=o.scope;for(let s of r){var p;if((p=c)!=null&&p.hasOwnBinding(s))continue;let r=t.getOwnBinding(s);if(!r){t.crawl();r=t.getOwnBinding(s)}const{usages:o,capturedInClosure:i,hasConstantViolations:l}=(0,n.getUsageInBody)(r,e);if(t.parent.hasBinding(s)||t.parent.hasGlobal(s)){const e=t.generateUid(s);t.rename(s,e);s=e}if(i){markNeedsBodyWrap();d.push(s)}if(a&&l){u.set(s,o)}}}if(i){const t=(0,n.wrapLoopBody)(e,d,u);if(o!=null&&o.isVariableDeclaration()){transformBlockScopedVariable(o,r,s)}t.get("declarations.0.init").unwrapFunctionEnvironment()}},VariableDeclaration(e,r){transformBlockScopedVariable(e,r,s)},ClassDeclaration(e){const{id:r}=e.node;if(!r)return;const{scope:t}=e.parentPath;if(!(0,i.isVarScope)(t)&&t.parent.hasBinding(r.name,{noUids:true})){e.scope.rename(r.name)}}}])}}));r["default"]=l;const c={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){e.scope.rename(t)}}},"Expression|Declaration"(e){e.skip()}};function transformBlockScopedVariable(e,r,t){if(!isBlockScoped(e.node))return;const s=(0,o.validateUsage)(e,r,t);e.node.kind="var";const i=Object.keys(e.getBindingIdentifiers());for(const r of i){const t=e.scope.getOwnBinding(r);if(!t)continue;t.kind="var"}if(isInLoop(e)&&!(0,n.isVarInLoopHead)(e)||s.length>0){for(const r of e.node.declarations){var l;(l=r.init)!=null?l:r.init=e.scope.buildUndefinedNode()}}const d=e.scope;const u=d.getFunctionParent()||d.getProgramParent();if(u!==d){for(const e of i){let r=e;if(d.parent.hasBinding(e,{noUids:true})||d.parent.hasGlobal(e)){r=d.generateUid(e);d.rename(e,r)}d.moveBindingTo(r,u)}}d.path.traverse(c,{names:i});for(const t of s){e.scope.push({id:a.types.identifier(t),init:r.addHelper("temporalUndefined")})}}function isLetOrConst(e){return e==="let"||e==="const"}function isInLoop(e){if(!e.parentPath)return false;if(e.parentPath.isLoop())return true;if(e.parentPath.isFunctionParent())return false;return isInLoop(e.parentPath)}function isBlockScoped(e){if(!a.types.isVariableDeclaration(e))return false;if(e[a.types.BLOCK_SCOPED_SYMBOL]){return true}if(!isLetOrConst(e.kind)&&e.kind!=="using"){return false}return true}},6713:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getLoopBodyBindings=getLoopBodyBindings;r.getUsageInBody=getUsageInBody;r.isVarInLoopHead=isVarInLoopHead;r.wrapLoopBody=wrapLoopBody;var s=t(8304);const a={"Expression|Declaration|Loop"(e){e.skip()},Scope(e,r){if(e.isFunctionParent())e.skip();const{bindings:t}=e.scope;for(const e of Object.keys(t)){const s=t[e];if(s.kind==="let"||s.kind==="const"||s.kind==="hoisted"){r.blockScoped.push(s)}}}};function getLoopBodyBindings(e){const r={blockScoped:[]};e.traverse(a,r);return r.blockScoped}function getUsageInBody(e,r){const t=new WeakSet;let s=false;const a=filterMap(e.constantViolations,(e=>{const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);const o=e.isUpdateExpression()?e.get("argument"):e.isAssignmentExpression()?e.get("left"):null;if(o)t.add(o.node);return o}));const n=filterMap(e.referencePaths,(e=>{if(t.has(e.node))return null;const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);return e}));return{capturedInClosure:s,hasConstantViolations:a.length>0,usages:n.concat(a)}}function relativeLoopLocation(e,r){const t=r.get("body");let s=false;for(let a=e;a;a=a.parentPath){if(a.isFunction()||a.isClass()||a.isMethod()){s=true}if(a===t){return{inBody:true,inClosure:s}}else if(a===r){return{inBody:false,inClosure:s}}}throw new Error("Internal Babel error: path is not in loop. Please report this as a bug.")}const n={Function(e){e.skip()},LabeledStatement:{enter({node:e},r){r.labelsStack.push(e.label.name)},exit({node:e},r){const t=r.labelsStack.pop();if(t!==e.label.name){throw new Error("Assertion failure. Please report this bug to Babel.")}}},Loop:{enter(e,r){r.labellessContinueTargets++;r.labellessBreakTargets++},exit(e,r){r.labellessContinueTargets--;r.labellessBreakTargets--}},SwitchStatement:{enter(e,r){r.labellessBreakTargets++},exit(e,r){r.labellessBreakTargets--}},"BreakStatement|ContinueStatement"(e,r){const{label:t}=e.node;if(t){if(r.labelsStack.includes(t.name))return}else if(e.isBreakStatement()?r.labellessBreakTargets>0:r.labellessContinueTargets>0){return}r.breaksContinues.push(e)},ReturnStatement(e,r){r.returns.push(e)},VariableDeclaration(e,r){if(e.parent===r.loopNode&&isVarInLoopHead(e))return;if(e.node.kind==="var")r.vars.push(e)}};function wrapLoopBody(e,r,t){const a=e.node;const o={breaksContinues:[],returns:[],labelsStack:[],labellessBreakTargets:0,labellessContinueTargets:0,vars:[],loopNode:a};e.traverse(n,o);const i=[];const l=[];const c=[];for(const[r,a]of t){i.push(s.types.identifier(r));const t=e.scope.generateUid(r);l.push(s.types.identifier(t));c.push(s.types.assignmentExpression("=",s.types.identifier(r),s.types.identifier(t)));for(const e of a)e.replaceWith(s.types.identifier(t))}for(const e of r){if(t.has(e))continue;i.push(s.types.identifier(e));l.push(s.types.identifier(e))}const d=e.scope.generateUid("loop");const u=s.types.functionExpression(null,l,s.types.toBlock(a.body));let p=s.types.callExpression(s.types.identifier(d),i);const f=e.findParent((e=>e.isFunction()));if(f){const{async:e,generator:r}=f.node;u.async=e;u.generator=r;if(r)p=s.types.yieldExpression(p,true);else if(e)p=s.types.awaitExpression(p)}const y=c.length>0?s.types.expressionStatement(s.types.sequenceExpression(c)):null;if(y)u.body.body.push(y);const[g]=e.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(d),u)]));const h=[];const b=[];for(const e of o.vars){const r=[];for(const t of e.node.declarations){b.push(...Object.keys(s.types.getBindingIdentifiers(t.id)));if(t.init){r.push(s.types.assignmentExpression("=",t.id,t.init))}}if(r.length>0){let t=r.length===1?r[0]:s.types.sequenceExpression(r);if(!s.types.isForStatement(e.parent,{init:e.node})&&!s.types.isForXStatement(e.parent,{left:e.node})){t=s.types.expressionStatement(t)}e.replaceWith(t)}else{e.remove()}}if(b.length){g.pushContainer("declarations",b.map((e=>s.types.variableDeclarator(s.types.identifier(e)))))}const x=o.breaksContinues.length;const v=o.returns.length;if(x+v===0){h.push(s.types.expressionStatement(p))}else if(x===1&&v===0){for(const e of o.breaksContinues){const{node:r}=e;const{type:t,label:a}=r;let n=t==="BreakStatement"?"break":"continue";if(a)n+=" "+a.name;e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(1)),"trailing"," "+n,true));if(y)e.insertBefore(s.types.cloneNode(y));h.push(s.template.statement.ast` if (${p}) ${r} `)}}else{const r=e.scope.generateUid("ret");if(g.isVariableDeclaration()){g.pushContainer("declarations",[s.types.variableDeclarator(s.types.identifier(r))]);h.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(r),p)))}else{h.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(r),p)]))}const t=[];for(const e of o.breaksContinues){const{node:a}=e;const{type:n,label:o}=a;let i=n==="BreakStatement"?"break":"continue";if(o)i+=" "+o.name;let l=t.indexOf(i);const c=l!==-1;if(!c){t.push(i);l=t.length-1}e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(l)),"trailing"," "+i,true));if(y)e.insertBefore(s.types.cloneNode(y));if(c)continue;h.push(s.template.statement.ast` if (${s.types.identifier(r)} === ${s.types.numericLiteral(l)}) ${a}