MCPcopy
hub / github.com/vercel/next.js / usagePure

Function usagePure

packages/next/src/compiled/babel-packages/packages-bundle.js:3–3  ·  view source on GitHub ↗
(e,r,t)

Source from the content-addressed store, hash-verified

1(()=>{var e={3430:(e,r,t)=>{"use strict";r.__esModule=true;r.presetEnvSilentDebugHeader=void 0;r.stringifyTargets=stringifyTargets;r.stringifyTargetsMultiline=stringifyTargetsMultiline;var s=t(3924);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(/"\}$/,'" }')}},9464:(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 ImportsCachedInjector{constructor(e,r){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e;this._getPreferredIndex=r}storeAnonymous(e,r,t,s){const n=this._normalizeKey(e,r);const o=this._ensure(this._anonymousImports,e,Set);if(o.has(n))return;const i=s(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)));o.add(n);this._injectImport(e,i,t)}storeNamed(e,r,t,s,n){const o=this._normalizeKey(e,r,t);const i=this._ensure(this._imports,e,Map);if(!i.has(o)){const{node:l,name:c}=n(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)),a.identifier(t));i.set(o,c);this._injectImport(e,l,s)}return a.identifier(i.get(o))}_injectImport(e,r,t){var s;const a=this._getPreferredIndex(t);const n=(s=this._lastImports.get(e))!=null?s:[];const isPathStillValid=r=>r.node&&r.parent===e.node&&r.container===e.node.body;let o;if(a===Infinity){if(n.length>0){o=n[n.length-1].path;if(!isPathStillValid(o))o=undefined}}else{for(const[e,t]of n.entries()){const{path:s,index:i}=t;if(isPathStillValid(s)){if(a<i){const[t]=s.insertBefore(r);n.splice(e,0,{path:t,index:a});return}o=s}}}if(o){const[e]=o.insertAfter(r);n.push({path:e,index:a})}else{const[t]=e.unshiftContainer("body",r);this._lastImports.set(e,[{path:t,index: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"]=ImportsCachedInjector},6970:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=definePolyfillProvider;var s=t(9045);var a=_interopRequireWildcard(t(3924));var n=t(7523);var o=_interopRequireDefault(t(9464));var i=t(3430);var l=t(3116);var c=_interopRequireWildcard(t(3642));var d=_interopRequireWildcard(t(6820));var u=_interopRequireDefault(t(233));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<s.length;n++){a=s[n];if(r.indexOf(a)>=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 ["<plugin name>", { 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);let v,j;let w;let E;let _;const S=(0,n.createUtilsGetter)(new o.default((e=>d.resolve(s,e,x)),(e=>{var r,t;return(r=(t=E)==null?void 0:t.get(e))!=null?r:Infinity})));const k=new Map;const D={babel:c,getUtils:S,method:r.method,targets:y,createMetaResolver:u.default,shouldInjectPolyfill(r){if(E===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!E.has(r)){console.warn(`Internal error in the ${P} provider: `+`unknown polyfill "${r}".`)}if(_&&!_(r))return false;let t=(0,a.isRequired)(r,y,{compatData:w,includes:v,excludes:j});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(P))return;i().polyfills.add(e);(t=(r=i()).polyfillsSupport)!=null?t:r.polyfillsSupport=w},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 C=e(D,b,s);const P=C.name||e.name;if(typeof C[f]!=="function"){throw new Error(`The "${P}" provider doesn't support the "${p}" polyfilling method.`)}if(Array.isArray(C.polyfills)){E=new Map(C.polyfills.map(((e,r)=>[e,r])));_=C.filterPolyfills}else if(C.polyfills){E=new Map(Object.keys(C.polyfills).map(((e,r)=>[e,r])));w=C.polyfills;_=C.filterPolyfills}else{E=new Map}({include:v,exclude:j}=(0,l.validateIncludeExclude)(P,E,b.include||[],b.exclude||[]));let I;if(f==="usageGlobal"){I=(e,r)=>{var t;const s=S(r);return(t=C[f](e,s,r))!=null?t:false}}else{I=(e,r)=>{const t=S(r);C[f](e,t,r);return false}}return{debug:g,method:p,targets:y,provider:C,providerName:P,callProvider:I}}function definePolyfillProvider(e){return(0,s.declare)(((r,t,s)=>{r.assertVersion("^7.0.0 || ^8.0.0-alpha.0");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}},233:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=createMetaResolver;var s=t(7523);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}`}}}}}},6820:(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(7059));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()}},3116:(e,r,t)=>{"use strict";r.__esModule=true;r.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;r.validateIncludeExclude=validateIncludeExclude;var s=t(7523);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.keys()){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}}},7523:(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 resolve(e,r=new Set){if(r.has(e))return;r.add(e);if(e.isVariableDeclarator()){if(e.get("id").isIdentifier()){return resolve(e.get("init"),r)}}else if(e.isReferencedIdentifier()){const t=e.scope.getBinding(e.node.name);if(!t)return e;if(!t.constant)return;return resolve(t.path,r)}return e}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const r=resolve(e);if(r!=null&&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):e.isPure()){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 t=resolve(e);switch(t==null?void 0:t.type){case"RegExpLiteral":return{id:"RegExp",placement:"prototype"};case"FunctionExpression":return{id:"Function",placement:"prototype"};case"StringLiteral":return{id:"String",placement:"prototype"};case"NumberLiteral":return{id:"Number",placement:"prototype"};case"BooleanLiteral":return{id:"Boolean",placement:"prototype"};case"ObjectExpression":return{id:"Object",placement:"prototype"};case"ArrayExpression":return{id:"Array",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,s){e.storeAnonymous(t,r,s,((e,r)=>e?n.statement.ast`require(${r})`:a.importDeclaration([],r)))},injectNamedImport(r,s,o=s,i){return e.storeNamed(t,r,s,i,((e,r,s)=>{const i=t.scope.generateUidIdentifier(o);return{node:e?hoist(n.statement.ast`
2 var ${i} = require(${r}).${s}
3 `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r,o){return e.storeNamed(t,r,"default",o,((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}}))}}}}},2623:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(7523);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},3642:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(3735));r.usage=s.default;var a=_interopRequireDefault(t(2623));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},3735:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(7523);function isRemoved(e){if(e.removed)return true;if(!e.parentPath)return false;if(e.listKey){var r;if(!((r=e.parentPath.node)!=null&&(r=r[e.listKey])!=null&&r.includes(e.node)))return true}else{if(e.parentPath.node[e.key]!==e.node)return true}return isRemoved(e.parentPath)}var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}function handleReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)}function analyzeMemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);return{key:r,handleAsMemberExpression:!!r&&r!=="prototype"}}return{ReferencedIdentifier(e){const{parentPath:r}=e;if(r.isMemberExpression({object:e.node})&&analyzeMemberExpression(r).handleAsMemberExpression){return}handleReferencedIdentifier(e)},"MemberExpression|OptionalMemberExpression"(e){const{key:r,handleAsMemberExpression:t}=analyzeMemberExpression(e);if(!t)return;const a=e.get("object");let n=a.isIdentifier();if(n){const e=a.scope.getBinding(a.node.name);if(e){if(e.path.isImportNamespaceSpecifier())return;n=false}}const o=(0,s.resolveSource)(a);let i=property(o.id,r,o.placement,e);i||(i=!n||e.shouldSkip||a.shouldSkip||isRemoved(a));if(!i)handleReferencedIdentifier(a)},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},1870:(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},1228:(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},964:(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},9239:(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},983:(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},7554:(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},2712:(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},9417:(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},6883:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _extends(){_extends=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t){if(Object.prototype.hasOwnProperty.call(t,s)){e[s]=t[s]}}}return e};return _extends.apply(this,arguments)}const t={"web.timers":{},"web.immediate":{},"web.dom.iterable":{}};const s={"es6.parse-float":{},"es6.parse-int":{},"es7.string.at":{}};function _default(e,r,a){const n=Object.keys(e);const o=!n.length;const i=n.some((e=>e!=="node"));return _extends({},a,r==="usage-pure"?s:null,o||i?t:null)}},8384:(e,r,t)=>{"use strict";r.__esModule=true;r.StaticProperties=r.InstanceProperties=r.CommonIterators=r.BuiltIns=void 0;var s=_interopRequireDefault(t(4048));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const define=(e,r,t=[],s)=>({name:e,pure:r,global:t,meta:s});const pureAndGlobal=(e,r,t=null)=>define(r[0],e,r,{minRuntimeVersion:t});const globalOnly=e=>define(e[0],null,e);const pureOnly=(e,r)=>define(r,e,[]);const a=["es6.object.to-string","es6.array.iterator","web.dom.iterable"];const n=["es6.string.iterator",...a];r.CommonIterators=n;const o=["es6.object.to-string","es6.promise"];const i={DataView:globalOnly(["es6.typed.data-view"]),Float32Array:globalOnly(["es6.typed.float32-array"]),Float64Array:globalOnly(["es6.typed.float64-array"]),Int8Array:globalOnly(["es6.typed.int8-array"]),Int16Array:globalOnly(["es6.typed.int16-array"]),Int32Array:globalOnly(["es6.typed.int32-array"]),Map:pureAndGlobal("map",["es6.map",...n]),Number:globalOnly(["es6.number.constructor"]),Promise:pureAndGlobal("promise",o),RegExp:globalOnly(["es6.regexp.constructor"]),Set:pureAndGlobal("set",["es6.set",...n]),Symbol:pureAndGlobal("symbol/index",["es6.symbol"]),Uint8Array:globalOnly(["es6.typed.uint8-array"]),Uint8ClampedArray:globalOnly(["es6.typed.uint8-clamped-array"]),Uint16Array:globalOnly(["es6.typed.uint16-array"]),Uint32Array:globalOnly(["es6.typed.uint32-array"]),WeakMap:pureAndGlobal("weak-map",["es6.weak-map",...n]),WeakSet:pureAndGlobal("weak-set",["es6.weak-set",...n]),setImmediate:pureOnly("set-immediate","web.immediate"),clearImmediate:pureOnly("clear-immediate","web.immediate"),parseFloat:pureOnly("parse-float","es6.parse-float"),parseInt:pureOnly("parse-int","es6.parse-int")};r.BuiltIns=i;const l={__defineGetter__:globalOnly(["es7.object.define-getter"]),__defineSetter__:globalOnly(["es7.object.define-setter"]),__lookupGetter__:globalOnly(["es7.object.lookup-getter"]),__lookupSetter__:globalOnly(["es7.object.lookup-setter"]),anchor:globalOnly(["es6.string.anchor"]),big:globalOnly(["es6.string.big"]),bind:globalOnly(["es6.function.bind"]),blink:globalOnly(["es6.string.blink"]),bold:globalOnly(["es6.string.bold"]),codePointAt:globalOnly(["es6.string.code-point-at"]),copyWithin:globalOnly(["es6.array.copy-within"]),endsWith:globalOnly(["es6.string.ends-with"]),entries:globalOnly(a),every:globalOnly(["es6.array.every"]),fill:globalOnly(["es6.array.fill"]),filter:globalOnly(["es6.array.filter"]),finally:globalOnly(["es7.promise.finally",...o]),find:globalOnly(["es6.array.find"]),findIndex:globalOnly(["es6.array.find-index"]),fixed:globalOnly(["es6.string.fixed"]),flags:globalOnly(["es6.regexp.flags"]),flatMap:globalOnly(["es7.array.flat-map"]),fontcolor:globalOnly(["es6.string.fontcolor"]),fontsize:globalOnly(["es6.string.fontsize"]),forEach:globalOnly(["es6.array.for-each"]),includes:globalOnly(["es6.string.includes","es7.array.includes"]),indexOf:globalOnly(["es6.array.index-of"]),italics:globalOnly(["es6.string.italics"]),keys:globalOnly(a),lastIndexOf:globalOnly(["es6.array.last-index-of"]),link:globalOnly(["es6.string.link"]),map:globalOnly(["es6.array.map"]),match:globalOnly(["es6.regexp.match"]),name:globalOnly(["es6.function.name"]),padStart:globalOnly(["es7.string.pad-start"]),padEnd:globalOnly(["es7.string.pad-end"]),reduce:globalOnly(["es6.array.reduce"]),reduceRight:globalOnly(["es6.array.reduce-right"]),repeat:globalOnly(["es6.string.repeat"]),replace:globalOnly(["es6.regexp.replace"]),search:globalOnly(["es6.regexp.search"]),small:globalOnly(["es6.string.small"]),some:globalOnly(["es6.array.some"]),sort:globalOnly(["es6.array.sort"]),split:globalOnly(["es6.regexp.split"]),startsWith:globalOnly(["es6.string.starts-with"]),strike:globalOnly(["es6.string.strike"]),sub:globalOnly(["es6.string.sub"]),sup:globalOnly(["es6.string.sup"]),toISOString:globalOnly(["es6.date.to-iso-string"]),toJSON:globalOnly(["es6.date.to-json"]),toString:globalOnly(["es6.object.to-string","es6.date.to-string","es6.regexp.to-string"]),trim:globalOnly(["es6.string.trim"]),trimEnd:globalOnly(["es7.string.trim-right"]),trimLeft:globalOnly(["es7.string.trim-left"]),trimRight:globalOnly(["es7.string.trim-right"]),trimStart:globalOnly(["es7.string.trim-left"]),values:globalOnly(a)};r.InstanceProperties=l;if("es6.array.slice"in s.default){l.slice=globalOnly(["es6.array.slice"])}const c={Array:{from:pureAndGlobal("array/from",["es6.symbol","es6.array.from",...n]),isArray:pureAndGlobal("array/is-array",["es6.array.is-array"]),of:pureAndGlobal("array/of",["es6.array.of"])},Date:{now:pureAndGlobal("date/now",["es6.date.now"])},JSON:{stringify:pureOnly("json/stringify","es6.symbol")},Math:{acosh:pureAndGlobal("math/acosh",["es6.math.acosh"],"7.0.1"),asinh:pureAndGlobal("math/asinh",["es6.math.asinh"],"7.0.1"),atanh:pureAndGlobal("math/atanh",["es6.math.atanh"],"7.0.1"),cbrt:pureAndGlobal("math/cbrt",["es6.math.cbrt"],"7.0.1"),clz32:pureAndGlobal("math/clz32",["es6.math.clz32"],"7.0.1"),cosh:pureAndGlobal("math/cosh",["es6.math.cosh"],"7.0.1"),expm1:pureAndGlobal("math/expm1",["es6.math.expm1"],"7.0.1"),fround:pureAndGlobal("math/fround",["es6.math.fround"],"7.0.1"),hypot:pureAndGlobal("math/hypot",["es6.math.hypot"],"7.0.1"),imul:pureAndGlobal("math/imul",["es6.math.imul"],"7.0.1"),log1p:pureAndGlobal("math/log1p",["es6.math.log1p"],"7.0.1"),log10:pureAndGlobal("math/log10",["es6.math.log10"],"7.0.1"),log2:pureAndGlobal("math/log2",["es6.math.log2"],"7.0.1"),sign:pureAndGlobal("math/sign",["es6.math.sign"],"7.0.1"),sinh:pureAndGlobal("math/sinh",["es6.math.sinh"],"7.0.1"),tanh:pureAndGlobal("math/tanh",["es6.math.tanh"],"7.0.1"),trunc:pureAndGlobal("math/trunc",["es6.math.trunc"],"7.0.1")},Number:{EPSILON:pureAndGlobal("number/epsilon",["es6.number.epsilon"]),MIN_SAFE_INTEGER:pureAndGlobal("number/min-safe-integer",["es6.number.min-safe-integer"]),MAX_SAFE_INTEGER:pureAndGlobal("number/max-safe-integer",["es6.number.max-safe-integer"]),isFinite:pureAndGlobal("number/is-finite",["es6.number.is-finite"]),isInteger:pureAndGlobal("number/is-integer",["es6.number.is-integer"]),isSafeInteger:pureAndGlobal("number/is-safe-integer",["es6.number.is-safe-integer"]),isNaN:pureAndGlobal("number/is-nan",["es6.number.is-nan"]),parseFloat:pureAndGlobal("number/parse-float",["es6.number.parse-float"]),parseInt:pureAndGlobal("number/parse-int",["es6.number.parse-int"])},Object:{assign:pureAndGlobal("object/assign",["es6.object.assign"]),create:pureAndGlobal("object/create",["es6.object.create"]),defineProperties:pureAndGlobal("object/define-properties",["es6.object.define-properties"]),defineProperty:pureAndGlobal("object/define-property",["es6.object.define-property"]),entries:pureAndGlobal("object/entries",["es7.object.entries"]),freeze:pureAndGlobal("object/freeze",["es6.object.freeze"]),getOwnPropertyDescriptor:pureAndGlobal("object/get-own-property-descriptor",["es6.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:pureAndGlobal("object/get-own-property-descriptors",["es7.object.get-own-property-descriptors"]),getOwnPropertyNames:pureAndGlobal("object/get-own-property-names",["es6.object.get-own-property-names"]),getOwnPropertySymbols:pureAndGlobal("object/get-own-property-symbols",["es6.symbol"]),getPrototypeOf:pureAndGlobal("object/get-prototype-of",["es6.object.get-prototype-of"]),is:pureAndGlobal("object/is",["es6.object.is"]),isExtensible:pureAndGlobal("object/is-extensible",["es6.object.is-extensible"]),isFrozen:pureAndGlobal("object/is-frozen",["es6.object.is-frozen"]),isSealed:pureAndGlobal("object/is-sealed",["es6.object.is-sealed"]),keys:pureAndGlobal("object/keys",["es6.object.keys"]),preventExtensions:pureAndGlobal("object/prevent-extensions",["es6.object.prevent-extensions"]),seal:pureAndGlobal("object/seal",["es6.object.seal"]),setPrototypeOf:pureAndGlobal("object/set-prototype-of",["es6.object.set-prototype-of"]),values:pureAndGlobal("object/values",["es7.object.values"])},Promise:{all:globalOnly(n),race:globalOnly(n)},Reflect:{apply:pureAndGlobal("reflect/apply",["es6.reflect.apply"]),construct:pureAndGlobal("reflect/construct",["es6.reflect.construct"]),defineProperty:pureAndGlobal("reflect/define-property",["es6.reflect.define-property"]),deleteProperty:pureAndGlobal("reflect/delete-property",["es6.reflect.delete-property"]),get:pureAndGlobal("reflect/get",["es6.reflect.get"]),getOwnPropertyDescriptor:pureAndGlobal("reflect/get-own-property-descriptor",["es6.reflect.get-own-property-descriptor"]),getPrototypeOf:pureAndGlobal("reflect/get-prototype-of",["es6.reflect.get-prototype-of"]),has:pureAndGlobal("reflect/has",["es6.reflect.has"]),isExtensible:pureAndGlobal("reflect/is-extensible",["es6.reflect.is-extensible"]),ownKeys:pureAndGlobal("reflect/own-keys",["es6.reflect.own-keys"]),preventExtensions:pureAndGlobal("reflect/prevent-extensions",["es6.reflect.prevent-extensions"]),set:pureAndGlobal("reflect/set",["es6.reflect.set"]),setPrototypeOf:pureAndGlobal("reflect/set-prototype-of",["es6.reflect.set-prototype-of"])},String:{at:pureOnly("string/at","es7.string.at"),fromCodePoint:pureAndGlobal("string/from-code-point",["es6.string.from-code-point"]),raw:pureAndGlobal("string/raw",["es6.string.raw"])},Symbol:{asyncIterator:globalOnly(["es6.symbol","es7.symbol.async-iterator"]),for:pureOnly("symbol/for","es6.symbol"),hasInstance:pureOnly("symbol/has-instance","es6.symbol"),isConcatSpreadable:pureOnly("symbol/is-concat-spreadable","es6.symbol"),iterator:define("es6.symbol","symbol/iterator",n),keyFor:pureOnly("symbol/key-for","es6.symbol"),match:pureAndGlobal("symbol/match",["es6.regexp.match"]),replace:pureOnly("symbol/replace","es6.symbol"),search:pureOnly("symbol/search","es6.symbol"),species:pureOnly("symbol/species","es6.symbol"),split:pureOnly("symbol/split","es6.symbol"),toPrimitive:pureOnly("symbol/to-primitive","es6.symbol"),toStringTag:pureOnly("symbol/to-string-tag","es6.symbol"),unscopables:pureOnly("symbol/unscopables","es6.symbol")}};r.StaticProperties=c},5050:(e,r,t)=>{"use strict";r.__esModule=true;r.hasMinVersion=hasMinVersion;var s=_interopRequireDefault(t(7849));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasMinVersion(e,r){if(!r||!e)return true;r=String(r);if(s.default.valid(r))r=`^${r}`;return!s.default.intersects(`<${e}`,r)&&!s.default.intersects(`>=8.0.0`,r)}},2612:(e,r,t)=>{"use strict";var s;s=true;r.Z=void 0;var a=_interopRequireDefault(t(4048));var n=t(8384);var o=_interopRequireDefault(t(6883));var i=t(5050);var l=_interopRequireDefault(t(6970));var c=_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}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{types:d}=c.default||c;const u="@babel/runtime-corejs2";const p="#__secret_key__@babel/preset-env__compatibility";const f="#__secret_key__@babel/runtime__compatibility";const y=Function.call.bind(Object.hasOwnProperty);var g=(0,l.default)((function(e,{[p]:{entryInjectRegenerator:r=false,noRuntimeName:t=false}={},[f]:{useBabelRuntime:s=false,runtimeVersion:l="",ext:c=".js"}={}}){const g=e.createMetaResolver({global:n.BuiltIns,static:n.StaticProperties,instance:n.InstanceProperties});const{debug:h,shouldInjectPolyfill:b,method:x}=e;const v=(0,o.default)(e.targets,x,a.default);const j=s?`${u}/core-js`:x==="usage-pure"?"core-js/library/fn":"core-js/modules";function inject(e,r){if(typeof e==="string"){if(y(v,e)&&b(e)){h(e);r.injectGlobalImport(`${j}/${e}.js`)}return}e.forEach((e=>inject(e,r)))}function maybeInjectPure(e,r,t){let{pure:a,meta:n,name:o}=e;if(!a||!b(o))return;if(l&&n&&n.minRuntimeVersion&&!(0,i.hasMinVersion)(n&&n.minRuntimeVersion,l)){return}if(s&&a==="symbol/index")a="symbol";return t.injectDefaultImport(`${j}/${a}${c}`,r)}return{name:"corejs2",runtimeName:t?null:u,polyfills:v,entryGlobal(e,t,s){if(e.kind==="import"&&e.source==="core-js"){h(null);inject(Object.keys(v),t);if(r){t.injectGlobalImport("regenerator-runtime/runtime.js")}s.remove()}},usageGlobal(e,r){const t=g(e);if(!t)return;let s=t.desc.global;if(t.kind!=="global"&&"object"in e&&e.object&&e.placement==="prototype"){const r=e.object.toLowerCase();s=s.filter((e=>e.includes(r)))}inject(s,r)},usagePure(e,r,t){if(e.kind==="in"){if(e.key==="Symbol.iterator"){t.replaceWith(d.callExpression(r.injectDefaultImport(`${j}/is-iterable${c}`,"isIterable"),[t.node.right]))}return}if(t.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!t.isMemberExpression())return;if(!t.isReferenced())return;if(e.key==="Symbol.iterator"&&b("es6.symbol")&&t.parentPath.isCallExpression({callee:t.node})&&t.parentPath.node.arguments.length===0){t.parentPath.replaceWith(d.callExpression(r.injectDefaultImport(`${j}/get-iterator${c}`,"getIterator"),[t.node.object]));t.skip();return}}const s=g(e);if(!s)return;const a=maybeInjectPure(s.desc,s.name,r);if(a)t.replaceWith(a)},visitor:x==="usage-global"&&{YieldExpression(r){if(r.node.delegate){inject("web.dom.iterable",e.getUtils(r))}},"ForOfStatement|ArrayPattern"(r){n.CommonIterators.forEach((t=>inject(t,e.getUtils(r))))}}}}));r.Z=g},4157:(e,r,t)=>{e.exports=t(1333)},9218:(e,r,t)=>{e.exports=t(3804)},676:(e,r,t)=>{e.exports=t(7252)},164:(e,r)=>{"use strict";r.__esModule=true;r.stable=r.proposals=void 0;const t=new Set(["array","array/from","array/is-array","array/of","clear-immediate","date/now","instance/bind","instance/code-point-at","instance/concat","instance/copy-within","instance/ends-with","instance/entries","instance/every","instance/fill","instance/filter","instance/find","instance/find-index","instance/flags","instance/flat","instance/flat-map","instance/for-each","instance/includes","instance/index-of","instance/keys","instance/last-index-of","instance/map","instance/pad-end","instance/pad-start","instance/reduce","instance/reduce-right","instance/repeat","instance/reverse","instance/slice","instance/some","instance/sort","instance/splice","instance/starts-with","instance/trim","instance/trim-end","instance/trim-left","instance/trim-right","instance/trim-start","instance/values","json/stringify","map","math/acosh","math/asinh","math/atanh","math/cbrt","math/clz32","math/cosh","math/expm1","math/fround","math/hypot","math/imul","math/log10","math/log1p","math/log2","math/sign","math/sinh","math/tanh","math/trunc","number/epsilon","number/is-finite","number/is-integer","number/is-nan","number/is-safe-integer","number/max-safe-integer","number/min-safe-integer","number/parse-float","number/parse-int","object/assign","object/create","object/define-properties","object/define-property","object/entries","object/freeze","object/from-entries","object/get-own-property-descriptor","object/get-own-property-descriptors","object/get-own-property-names","object/get-own-property-symbols","object/get-prototype-of","object/is","object/is-extensible","object/is-frozen","object/is-sealed","object/keys","object/prevent-extensions","object/seal","object/set-prototype-of","object/values","parse-float","parse-int","promise","queue-microtask","reflect/apply","reflect/construct","reflect/define-property","reflect/delete-property","reflect/get","reflect/get-own-property-descriptor","reflect/get-prototype-of","reflect/has","reflect/is-extensible","reflect/own-keys","reflect/prevent-extensions","reflect/set","reflect/set-prototype-of","set","set-immediate","set-interval","set-timeout","string/from-code-point","string/raw","symbol","symbol/async-iterator","symbol/for","symbol/has-instance","symbol/is-concat-spreadable","symbol/iterator","symbol/key-for","symbol/match","symbol/replace","symbol/search","symbol/species","symbol/split","symbol/to-primitive","symbol/to-string-tag","symbol/unscopables","url","url-search-params","weak-map","weak-set"]);r.stable=t;const s=new Set([...t,"aggregate-error","composite-key","composite-symbol","global-this","instance/at","instance/code-points","instance/match-all","instance/replace-all","math/clamp","math/degrees","math/deg-per-rad","math/fscale","math/iaddh","math/imulh","math/isubh","math/rad-per-deg","math/radians","math/scale","math/seeded-prng","math/signbit","math/umulh","number/from-string","observable","reflect/define-metadata","reflect/delete-metadata","reflect/get-metadata","reflect/get-metadata-keys","reflect/get-own-metadata","reflect/get-own-metadata-keys","reflect/has-metadata","reflect/has-own-metadata","reflect/metadata","symbol/dispose","symbol/observable","symbol/pattern-match"]);r.proposals=s},9693:(e,r,t)=>{"use strict";r.__esModule=true;r.StaticProperties=r.PromiseDependenciesWithIterators=r.PromiseDependencies=r.InstanceProperties=r.DecoratorMetadataDependencies=r.CommonIterators=r.BuiltIns=void 0;var s=_interopRequireDefault(t(4157));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t){if(Object.prototype.hasOwnProperty.call(t,s)){e[s]=t[s]}}}return e};return _extends.apply(this,arguments)}const a={};Object.keys(s.default).forEach(((e,r)=>{a[e]=r}));const define=(e,r,t=r[0],s)=>({name:t,pure:e,global:r.sort(((e,r)=>a[e]-a[r])),exclude:s});const typed=(...e)=>define(null,[...e,...p]);const n=["es.array.iterator","web.dom-collections.iterator"];const o=["es.string.iterator",...n];r.CommonIterators=o;const i=["es.object.to-string",...n];const l=["es.object.to-string",...o];const c=["es.error.cause","es.error.to-string"];const d=["esnext.suppressed-error.constructor",...c];const u=["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.array-buffer.detached","es.array-buffer.transfer","es.array-buffer.transfer-to-fixed-length","es.object.to-string"];const p=["es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.object.to-string","es.array.iterator","esnext.typed-array.filter-reject","esnext.typed-array.group-by","esnext.typed-array.to-spliced","esnext.typed-array.unique-by",...u];const f=["es.promise","es.object.to-string"];r.PromiseDependencies=f;const y=[...f,...o];r.PromiseDependenciesWithIterators=y;const g=["es.symbol","es.symbol.description","es.object.to-string"];const h=["es.map","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.get-or-insert","esnext.map.get-or-insert-computed","esnext.map.includes","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update",...l];const b=["es.set","es.set.difference.v2","es.set.intersection.v2","es.set.is-disjoint-from.v2","es.set.is-subset-of.v2","es.set.is-superset-of.v2","es.set.symmetric-difference.v2","es.set.union.v2","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union",...l];const x=["es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.emplace","esnext.weak-map.get-or-insert","esnext.weak-map.get-or-insert-computed",...l];const v=["es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all",...l];const j=["web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","es.error.to-string"];const w=["web.url-search-params","web.url-search-params.delete","web.url-search-params.has","web.url-search-params.size",...l];const E=["esnext.async-iterator.constructor",...f];const _=["esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some"];const S=["es.iterator.constructor","es.object.to-string"];const k=["esnext.symbol.metadata","esnext.function.metadata"];r.DecoratorMetadataDependencies=k;const TypedArrayStaticMethods=e=>({from:define(null,["es.typed-array.from",e,...p]),fromAsync:define(null,["esnext.typed-array.from-async",e,...y,...p]),of:define(null,["es.typed-array.of",e,...p])});const D=["es.data-view",...u];const C={AsyncDisposableStack:define("async-disposable-stack/index",["esnext.async-disposable-stack.constructor","es.object.to-string","esnext.async-iterator.async-dispose","esnext.iterator.dispose",...f,...d]),AsyncIterator:define("async-iterator/index",E),AggregateError:define("aggregate-error",["es.aggregate-error",...c,...l,"es.aggregate-error.cause"]),ArrayBuffer:define(null,u),DataView:define(null,D),Date:define(null,["es.date.to-string"]),DOMException:define("dom-exception/index",j),DisposableStack:define("disposable-stack/index",["esnext.disposable-stack.constructor","es.object.to-string","esnext.iterator.dispose",...d]),Error:define(null,c),EvalError:define(null,c),Float32Array:typed("es.typed-array.float32-array"),Float64Array:typed("es.typed-array.float64-array"),Int8Array:typed("es.typed-array.int8-array"),Int16Array:typed("es.typed-array.int16-array"),Int32Array:typed("es.typed-array.int32-array"),Iterator:define("iterator/index",S),Uint8Array:typed("es.typed-array.uint8-array","esnext.uint8-array.set-from-base64","esnext.uint8-array.set-from-hex","esnext.uint8-array.to-base64","esnext.uint8-array.to-hex"),Uint8ClampedArray:typed("es.typed-array.uint8-clamped-array"),Uint16Array:typed("es.typed-array.uint16-array"),Uint32Array:typed("es.typed-array.uint32-array"),Map:define("map/index",h),Number:define(null,["es.number.constructor"]),Observable:define("observable/index",["esnext.observable","esnext.symbol.observable","es.object.to-string",...l]),Promise:define("promise/index",f),RangeError:define(null,c),ReferenceError:define(null,c),Reflect:define(null,["es.reflect.to-string-tag","es.object.to-string"]),RegExp:define(null,["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky","es.regexp.to-string"]),Set:define("set/index",b),SuppressedError:define("suppressed-error",d),Symbol:define("symbol/index",g),SyntaxError:define(null,c),TypeError:define(null,c),URIError:define(null,c),URL:define("url/index",["web.url","web.url.to-json",...w]),URLSearchParams:define("url-search-params/index",w),WeakMap:define("weak-map/index",x),WeakSet:define("weak-set/index",v),atob:define("atob",["web.atob",...j]),btoa:define("btoa",["web.btoa",...j]),clearImmediate:define("clear-immediate",["web.immediate"]),compositeKey:define("composite-key",["esnext.composite-key"]),compositeSymbol:define("composite-symbol",["esnext.composite-symbol"]),escape:define("escape",["es.escape"]),fetch:define(null,f),globalThis:define("global-this",["es.global-this"]),parseFloat:define("parse-float",["es.parse-float"]),parseInt:define("parse-int",["es.parse-int"]),queueMicrotask:define("queue-microtask",["web.queue-microtask"]),self:define("self",["web.self"]),setImmediate:define("set-immediate",["web.immediate"]),setInterval:define("set-interval",["web.timers"]),setTimeout:define("set-timeout",["web.timers"]),structuredClone:define("structured-clone",["web.structured-clone",...j,"es.array.iterator","es.object.keys","es.object.to-string","es.map","es.set"]),unescape:define("unescape",["es.unescape"])};r.BuiltIns=C;const P={AsyncIterator:{from:define("async-iterator/from",["esnext.async-iterator.from",...E,..._,...o])},Array:{from:define("array/from",["es.array.from","es.string.iterator"]),fromAsync:define("array/from-async",["esnext.array.from-async",...y]),isArray:define("array/is-array",["es.array.is-array"]),isTemplateObject:define("array/is-template-object",["esnext.array.is-template-object"]),of:define("array/of",["es.array.of"])},ArrayBuffer:{isView:define(null,["es.array-buffer.is-view"])},BigInt:{range:define("bigint/range",["esnext.bigint.range","es.object.to-string"])},Date:{now:define("date/now",["es.date.now"])},Error:{isError:define("error/is-error",["esnext.error.is-error","es.object.create"])},Function:{isCallable:define("function/is-callable",["esnext.function.is-callable"]),isConstructor:define("function/is-constructor",["esnext.function.is-constructor"])},Iterator:{concat:define("iterator/concat",["esnext.iterator.concat",...S,...o]),from:define("iterator/from",["es.iterator.from",...S,...o]),range:define("iterator/range",["esnext.iterator.range",...S,"es.object.to-string"])},JSON:{isRawJSON:define("json/is-raw-json",["esnext.json.is-raw-json"]),parse:define("json/parse",["esnext.json.parse","es.object.keys"]),rawJSON:define("json/raw-json",["esnext.json.raw-json","es.object.create","es.object.freeze"]),stringify:define("json/stringify",["es.json.stringify","es.date.to-json"],"es.symbol")},Math:{DEG_PER_RAD:define("math/deg-per-rad",["esnext.math.deg-per-rad"]),RAD_PER_DEG:define("math/rad-per-deg",["esnext.math.rad-per-deg"]),acosh:define("math/acosh",["es.math.acosh"]),asinh:define("math/asinh",["es.math.asinh"]),atanh:define("math/atanh",["es.math.atanh"]),cbrt:define("math/cbrt",["es.math.cbrt"]),clamp:define("math/clamp",["esnext.math.clamp"]),clz32:define("math/clz32",["es.math.clz32"]),cosh:define("math/cosh",["es.math.cosh"]),degrees:define("math/degrees",["esnext.math.degrees"]),expm1:define("math/expm1",["es.math.expm1"]),fround:define("math/fround",["es.math.fround"]),f16round:define("math/f16round",["esnext.math.f16round"]),fscale:define("math/fscale",["esnext.math.fscale"]),hypot:define("math/hypot",["es.math.hypot"]),iaddh:define("math/iaddh",["esnext.math.iaddh"]),imul:define("math/imul",["es.math.imul"]),imulh:define("math/imulh",["esnext.math.imulh"]),isubh:define("math/isubh",["esnext.math.isubh"]),log10:define("math/log10",["es.math.log10"]),log1p:define("math/log1p",["es.math.log1p"]),log2:define("math/log2",["es.math.log2"]),radians:define("math/radians",["esnext.math.radians"]),scale:define("math/scale",["esnext.math.scale"]),seededPRNG:define("math/seeded-prng",["esnext.math.seeded-prng"]),sign:define("math/sign",["es.math.sign"]),signbit:define("math/signbit",["esnext.math.signbit"]),sinh:define("math/sinh",["es.math.sinh"]),sumPrecise:define("math/sum-precise",["esnext.math.sum-precise","es.array.iterator"]),tanh:define("math/tanh",["es.math.tanh"]),trunc:define("math/trunc",["es.math.trunc"]),umulh:define("math/umulh",["esnext.math.umulh"])},Map:{from:define("map/from",["esnext.map.from",...h]),groupBy:define("map/group-by",["es.map.group-by",...h]),keyBy:define("map/key-by",["esnext.map.key-by",...h]),of:define("map/of",["esnext.map.of",...h])},Number:{EPSILON:define("number/epsilon",["es.number.epsilon"]),MAX_SAFE_INTEGER:define("number/max-safe-integer",["es.number.max-safe-integer"]),MIN_SAFE_INTEGER:define("number/min-safe-integer",["es.number.min-safe-integer"]),fromString:define("number/from-string",["esnext.number.from-string"]),isFinite:define("number/is-finite",["es.number.is-finite"]),isInteger:define("number/is-integer",["es.number.is-integer"]),isNaN:define("number/is-nan",["es.number.is-nan"]),isSafeInteger:define("number/is-safe-integer",["es.number.is-safe-integer"]),parseFloat:define("number/parse-float",["es.number.parse-float"]),parseInt:define("number/parse-int",["es.number.parse-int"]),range:define("number/range",["esnext.number.range","es.object.to-string"])},Object:{assign:define("object/assign",["es.object.assign"]),create:define("object/create",["es.object.create"]),defineProperties:define("object/define-properties",["es.object.define-properties"]),defineProperty:define("object/define-property",["es.object.define-property"]),entries:define("object/entries",["es.object.entries"]),freeze:define("object/freeze",["es.object.freeze"]),fromEntries:define("object/from-entries",["es.object.from-entries","es.array.iterator"]),getOwnPropertyDescriptor:define("object/get-own-property-descriptor",["es.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:define("object/get-own-property-descriptors",["es.object.get-own-property-descriptors"]),getOwnPropertyNames:define("object/get-own-property-names",["es.object.get-own-property-names"]),getOwnPropertySymbols:define("object/get-own-property-symbols",["es.symbol"]),getPrototypeOf:define("object/get-prototype-of",["es.object.get-prototype-of"]),groupBy:define("object/group-by",["es.object.group-by","es.object.create"]),hasOwn:define("object/has-own",["es.object.has-own"]),is:define("object/is",["es.object.is"]),isExtensible:define("object/is-extensible",["es.object.is-extensible"]),isFrozen:define("object/is-frozen",["es.object.is-frozen"]),isSealed:define("object/is-sealed",["es.object.is-sealed"]),keys:define("object/keys",["es.object.keys"]),preventExtensions:define("object/prevent-extensions",["es.object.prevent-extensions"]),seal:define("object/seal",["es.object.seal"]),setPrototypeOf:define("object/set-prototype-of",["es.object.set-prototype-of"]),values:define("object/values",["es.object.values"])},Promise:{all:define(null,y),allSettled:define("promise/all-settled",["es.promise.all-settled",...y]),any:define("promise/any",["es.promise.any","es.aggregate-error",...y]),race:define(null,y),try:define("promise/try",["es.promise.try",...f]),withResolvers:define("promise/with-resolvers",["es.promise.with-resolvers",...f])},Reflect:{apply:define("reflect/apply",["es.reflect.apply"]),construct:define("reflect/construct",["es.reflect.construct"]),defineMetadata:define("reflect/define-metadata",["esnext.reflect.define-metadata"]),defineProperty:define("reflect/define-property",["es.reflect.define-property"]),deleteMetadata:define("reflect/delete-metadata",["esnext.reflect.delete-metadata"]),deleteProperty:define("reflect/delete-property",["es.reflect.delete-property"]),get:define("reflect/get",["es.reflect.get"]),getMetadata:define("reflect/get-metadata",["esnext.reflect.get-metadata"]),getMetadataKeys:define("reflect/get-metadata-keys",["esnext.reflect.get-metadata-keys"]),getOwnMetadata:define("reflect/get-own-metadata",["esnext.reflect.get-own-metadata"]),getOwnMetadataKeys:define("reflect/get-own-metadata-keys",["esnext.reflect.get-own-metadata-keys"]),getOwnPropertyDescriptor:define("reflect/get-own-property-descriptor",["es.reflect.get-own-property-descriptor"]),getPrototypeOf:define("reflect/get-prototype-of",["es.reflect.get-prototype-of"]),has:define("reflect/has",["es.reflect.has"]),hasMetadata:define("reflect/has-metadata",["esnext.reflect.has-metadata"]),hasOwnMetadata:define("reflect/has-own-metadata",["esnext.reflect.has-own-metadata"]),isExtensible:define("reflect/is-extensible",["es.reflect.is-extensible"]),metadata:define("reflect/metadata",["esnext.reflect.metadata"]),ownKeys:define("reflect/own-keys",["es.reflect.own-keys"]),preventExtensions:define("reflect/prevent-extensions",["es.reflect.prevent-extensions"]),set:define("reflect/set",["es.reflect.set"]),setPrototypeOf:define("reflect/set-prototype-of",["es.reflect.set-prototype-of"])},RegExp:{escape:define("regexp/escape",["esnext.regexp.escape"])},Set:{from:define("set/from",["esnext.set.from",...b]),of:define("set/of",["esnext.set.of",...b])},String:{cooked:define("string/cooked",["esnext.string.cooked"]),dedent:define("string/dedent",["esnext.string.dedent","es.string.from-code-point","es.weak-map"]),fromCodePoint:define("string/from-code-point",["es.string.from-code-point"]),raw:define("string/raw",["es.string.raw"])},Symbol:{asyncDispose:define("symbol/async-dispose",["esnext.symbol.async-dispose","esnext.async-iterator.async-dispose"]),asyncIterator:define("symbol/async-iterator",["es.symbol.async-iterator"]),customMatcher:define("symbol/custom-matcher",["esnext.symbol.custom-matcher"]),dispose:define("symbol/dispose",["esnext.symbol.dispose","esnext.iterator.dispose"]),for:define("symbol/for",[],"es.symbol"),hasInstance:define("symbol/has-instance",["es.symbol.has-instance","es.function.has-instance"]),isConcatSpreadable:define("symbol/is-concat-spreadable",["es.symbol.is-concat-spreadable","es.array.concat"]),isRegistered:define("symbol/is-registered",["esnext.symbol.is-registered","es.symbol"]),isRegisteredSymbol:define("symbol/is-registered-symbol",["esnext.symbol.is-registered-symbol","es.symbol"]),isWellKnown:define("symbol/is-well-known",["esnext.symbol.is-well-known","es.symbol"]),isWellKnownSymbol:define("symbol/is-well-known-symbol",["esnext.symbol.is-well-known-symbol","es.symbol"]),iterator:define("symbol/iterator",["es.symbol.iterator",...l]),keyFor:define("symbol/key-for",[],"es.symbol"),match:define("symbol/match",["es.symbol.match","es.string.match"]),matcher:define("symbol/matcher",["esnext.symbol.matcher"]),matchAll:define("symbol/match-all",["es.symbol.match-all","es.string.match-all"]),metadata:define("symbol/metadata",k),metadataKey:define("symbol/metadata-key",["esnext.symbol.metadata-key"]),observable:define("symbol/observable",["esnext.symbol.observable"]),patternMatch:define("symbol/pattern-match",["esnext.symbol.pattern-match"]),replace:define("symbol/replace",["es.symbol.replace","es.string.replace"]),search:define("symbol/search",["es.symbol.search","es.string.search"]),species:define("symbol/species",["es.symbol.species","es.array.species"]),split:define("symbol/split",["es.symbol.split","es.string.split"]),toPrimitive:define("symbol/to-primitive",["es.symbol.to-primitive","es.date.to-primitive"]),toStringTag:define("symbol/to-string-tag",["es.symbol.to-string-tag","es.object.to-string","es.math.to-string-tag","es.json.to-string-tag"]),unscopables:define("symbol/unscopables",["es.symbol.unscopables"])},URL:{canParse:define("url/can-parse",["web.url.can-parse","web.url"]),parse:define("url/parse",["web.url.parse","web.url"])},WeakMap:{from:define("weak-map/from",["esnext.weak-map.from",...x]),of:define("weak-map/of",["esnext.weak-map.of",...x])},WeakSet:{from:define("weak-set/from",["esnext.weak-set.from",...v]),of:define("weak-set/of",["esnext.weak-set.of",...v])},Int8Array:TypedArrayStaticMethods("es.typed-array.int8-array"),Uint8Array:_extends({fromBase64:define(null,["esnext.uint8-array.from-base64",...p]),fromHex:define(null,["esnext.uint8-array.from-hex",...p])},TypedArrayStaticMethods("es.typed-array.uint8-array")),Uint8ClampedArray:TypedArrayStaticMethods("es.typed-array.uint8-clamped-array"),Int16Array:TypedArrayStaticMethods("es.typed-array.int16-array"),Uint16Array:TypedArrayStaticMethods("es.typed-array.uint16-array"),Int32Array:TypedArrayStaticMethods("es.typed-array.int32-array"),Uint32Array:TypedArrayStaticMethods("es.typed-array.uint32-array"),Float32Array:TypedArrayStaticMethods("es.typed-array.float32-array"),Float64Array:TypedArrayStaticMethods("es.typed-array.float64-array"),WebAssembly:{CompileError:define(null,c),LinkError:define(null,c),RuntimeError:define(null,c)}};r.StaticProperties=P;["AggregateError","EvalError","RangeError","ReferenceError","SuppressedError","SyntaxError","TypeError","URIError"].forEach((e=>{P[e]=P.Error}));const I={asIndexedPairs:define(null,["esnext.async-iterator.as-indexed-pairs",...E,"esnext.iterator.as-indexed-pairs",...S]),at:define("instance/at",["esnext.string.at","es.string.at-alternative","es.array.at"]),anchor:define(null,["es.string.anchor"]),big:define(null,["es.string.big"]),bind:define("instance/bind",["es.function.bind"]),blink:define(null,["es.string.blink"]),bold:define(null,["es.string.bold"]),codePointAt:define("instance/code-point-at",["es.string.code-point-at"]),codePoints:define("instance/code-points",["esnext.string.code-points"]),concat:define("instance/concat",["es.array.concat"],undefined,["String"]),copyWithin:define("instance/copy-within",["es.array.copy-within"]),demethodize:define("instance/demethodize",["esnext.function.demethodize"]),description:define(null,["es.symbol","es.symbol.description"]),dotAll:define(null,["es.regexp.dot-all"]),drop:define(null,["es.iterator.drop",...S,"esnext.async-iterator.drop",...E]),endsWith:define("instance/ends-with",["es.string.ends-with"]),entries:define("instance/entries",i),every:define("instance/every",["es.array.every","es.iterator.every",...S]),exec:define(null,["es.regexp.exec"]),fill:define("instance/fill",["es.array.fill"]),filter:define("instance/filter",["es.array.filter","es.iterator.filter",...S]),filterReject:define("instance/filterReject",["esnext.array.filter-reject"]),finally:define(null,["es.promise.finally",...f]),find:define("instance/find",["es.array.find","es.iterator.find",...S]),findIndex:define("instance/find-index",["es.array.find-index"]),findLast:define("instance/find-last",["es.array.find-last"]),findLastIndex:define("instance/find-last-index",["es.array.find-last-index"]),fixed:define(null,["es.string.fixed"]),flags:define("instance/flags",["es.regexp.flags"]),flatMap:define("instance/flat-map",["es.array.flat-map","es.array.unscopables.flat-map","es.iterator.flat-map",...S]),flat:define("instance/flat",["es.array.flat","es.array.unscopables.flat"]),getFloat16:define(null,["esnext.data-view.get-float16",...D]),getUint8Clamped:define(null,["esnext.data-view.get-uint8-clamped",...D]),getYear:define(null,["es.date.get-year"]),group:define("instance/group",["esnext.array.group"]),groupBy:define("instance/group-by",["esnext.array.group-by"]),groupByToMap:define("instance/group-by-to-map",["esnext.array.group-by-to-map","es.map","es.object.to-string"]),groupToMap:define("instance/group-to-map",["esnext.array.group-to-map","es.map","es.object.to-string"]),fontcolor:define(null,["es.string.fontcolor"]),fontsize:define(null,["es.string.fontsize"]),forEach:define("instance/for-each",["es.array.for-each","es.iterator.for-each",...S,"web.dom-collections.for-each"]),includes:define("instance/includes",["es.array.includes","es.string.includes"]),indexed:define(null,["esnext.async-iterator.indexed",...E,"esnext.iterator.indexed",...S]),indexOf:define("instance/index-of",["es.array.index-of"]),isWellFormed:define("instance/is-well-formed",["es.string.is-well-formed"]),italic:define(null,["es.string.italics"]),join:define(null,["es.array.join"]),keys:define("instance/keys",i),lastIndex:define(null,["esnext.array.last-index"]),lastIndexOf:define("instance/last-index-of",["es.array.last-index-of"]),lastItem:define(null,["esnext.array.last-item"]),link:define(null,["es.string.link"]),map:define("instance/map",["es.array.map","es.iterator.map",...S]),match:define(null,["es.string.match","es.regexp.exec"]),matchAll:define("instance/match-all",["es.string.match-all","es.regexp.exec"]),name:define(null,["es.function.name"]),padEnd:define("instance/pad-end",["es.string.pad-end"]),padStart:define("instance/pad-start",["es.string.pad-start"]),push:define("instance/push",["es.array.push"]),reduce:define("instance/reduce",["es.array.reduce","es.iterator.reduce",...S]),reduceRight:define("instance/reduce-right",["es.array.reduce-right"]),repeat:define("instance/repeat",["es.string.repeat"]),replace:define(null,["es.string.replace","es.regexp.exec"]),replaceAll:define("instance/replace-all",["es.string.replace-all","es.string.replace","es.regexp.exec"]),reverse:define("instance/reverse",["es.array.reverse"]),search:define(null,["es.string.search","es.regexp.exec"]),setFloat16:define(null,["esnext.data-view.set-float16",...D]),setUint8Clamped:define(null,["esnext.data-view.set-uint8-clamped",...D]),setYear:define(null,["es.date.set-year"]),slice:define("instance/slice",["es.array.slice"]),small:define(null,["es.string.small"]),some:define("instance/some",["es.array.some","es.iterator.some",...S]),sort:define("instance/sort",["es.array.sort"]),splice:define("instance/splice",["es.array.splice"]),split:define(null,["es.string.split","es.regexp.exec"]),startsWith:define("instance/starts-with",["es.string.starts-with"]),sticky:define(null,["es.regexp.sticky"]),strike:define(null,["es.string.strike"]),sub:define(null,["es.string.sub"]),substr:define(null,["es.string.substr"]),sup:define(null,["es.string.sup"]),take:define(null,["es.iterator.take",...S,"esnext.async-iterator.take",...E]),test:define(null,["es.regexp.test","es.regexp.exec"]),toArray:define(null,["es.iterator.to-array",...S,"esnext.async-iterator.to-array",...E]),toAsync:define(null,["esnext.iterator.to-async",...S,...E,..._]),toExponential:define(null,["es.number.to-exponential"]),toFixed:define(null,["es.number.to-fixed"]),toGMTString:define(null,["es.date.to-gmt-string"]),toISOString:define(null,["es.date.to-iso-string"]),toJSON:define(null,["es.date.to-json"]),toPrecision:define(null,["es.number.to-precision"]),toReversed:define("instance/to-reversed",["es.array.to-reversed"]),toSorted:define("instance/to-sorted",["es.array.to-sorted","es.array.sort"]),toSpliced:define("instance/to-spliced",["es.array.to-spliced"]),toString:define(null,["es.object.to-string","es.error.to-string","es.date.to-string","es.regexp.to-string"]),toWellFormed:define("instance/to-well-formed",["es.string.to-well-formed"]),trim:define("instance/trim",["es.string.trim"]),trimEnd:define("instance/trim-end",["es.string.trim-end"]),trimLeft:define("instance/trim-left",["es.string.trim-start"]),trimRight:define("instance/trim-right",["es.string.trim-end"]),trimStart:define("instance/trim-start",["es.string.trim-start"]),uniqueBy:define("instance/unique-by",["esnext.array.unique-by","es.map"]),unshift:define("instance/unshift",["es.array.unshift"]),unThis:define("instance/un-this",["esnext.function.un-this"]),values:define("instance/values",i),with:define("instance/with",["es.array.with"]),__defineGetter__:define(null,["es.object.define-getter"]),__defineSetter__:define(null,["es.object.define-setter"]),__lookupGetter__:define(null,["es.object.lookup-getter"]),__lookupSetter__:define(null,["es.object.lookup-setter"]),["__proto__"]:define(null,["es.object.proto"])};r.InstanceProperties=I},4988:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireDefault(t(4157));var a=_interopRequireDefault(t(2613));var n=_interopRequireDefault(t(676));var o=t(9693);var i=_interopRequireWildcard(t(164));var l=_interopRequireDefault(t(5279));var c=_interopRequireWildcard(t(8304));var d=t(9967);var u=_interopRequireDefault(t(6970));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 _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t){if(Object.prototype.hasOwnProperty.call(t,s)){e[s]=t[s]}}}return e};return _extends.apply(this,arguments)}const{types:p,template:f}=c.default||c;const y="#__secret_key__@babel/preset-env__compatibility";const g="#__secret_key__@babel/runtime__compatibility";const h=["array","string","iterator","async-iterator","dom-collections"].map((e=>new RegExp(`[a-z]*\\.${e}\\..*`)));const esnextFallback=(e,r)=>{if(r(e))return true;if(!e.startsWith("es."))return false;const t=`esnext.${e.slice(3)}`;if(!s.default[t])return false;return r(t)};var b=(0,u.default)((function({getUtils:e,method:r,shouldInjectPolyfill:t,createMetaResolver:c,debug:u,babel:b},{version:x=3,proposals:v,shippedProposals:j,[y]:{noRuntimeName:w=false}={},[g]:{useBabelRuntime:E=false,ext:_=".js"}={}}){const S=b.caller((e=>(e==null?void 0:e.name)==="babel-loader"));const k=c({global:o.BuiltIns,static:o.StaticProperties,instance:o.InstanceProperties});const D=new Set((0,n.default)(x));function getCoreJSPureBase(e){return E?e?`${d.BABEL_RUNTIME}/core-js`:`${d.BABEL_RUNTIME}/core-js-stable`:e?"core-js-pure/features":"core-js-pure/stable"}function maybeInjectGlobalImpl(e,r){if(t(e)){u(e);r.injectGlobalImport((0,d.coreJSModule)(e),e);return true}return false}function maybeInjectGlobal(e,r,t=true){for(const s of e){if(t){esnextFallback(s,(e=>maybeInjectGlobalImpl(e,r)))}else{maybeInjectGlobalImpl(s,r)}}}function maybeInjectPure(e,r,s,a){if(e.pure&&!(a&&e.exclude&&e.exclude.includes(a))&&esnextFallback(e.name,t)){const{name:t}=e;let a=false;if(v||j&&t.startsWith("esnext.")){a=true}else if(t.startsWith("es.")&&!D.has(t)){a=true}if(E&&!(a?i.proposals:i.stable).has(e.pure)){return}const n=getCoreJSPureBase(a);return s.injectDefaultImport(`${n}/${e.pure}${_}`,r)}}function isFeatureStable(e){if(e.startsWith("esnext.")){const r=`es.${e.slice(7)}`;return r in s.default}return true}return{name:"corejs3",runtimeName:w?null:d.BABEL_RUNTIME,polyfills:s.default,filterPolyfills(e){if(!D.has(e))return false;if(v||r==="entry-global")return true;if(j&&a.default.has(e)){return true}return isFeatureStable(e)},entryGlobal(e,r,s){if(e.kind!=="import")return;const a=(0,d.isCoreJSSource)(e.source);if(!a)return;if(a.length===1&&e.source===(0,d.coreJSModule)(a[0])&&t(a[0])){u(null);return}const n=new Set(a);const o=a.filter((e=>{if(!e.startsWith("esnext."))return true;const r=e.replace("esnext.","es.");if(n.has(r)&&t(r)){return false}return true}));maybeInjectGlobal(o,r,false);s.remove()},usageGlobal(e,r,t){const s=k(e);if(!s)return;if((0,l.default)(s.desc,t))return;let a=s.desc.global;if(s.kind!=="global"&&"object"in e&&e.object&&e.placement==="prototype"){const r=e.object.toLowerCase();a=a.filter((e=>h.some((r=>r.test(e)))?e.includes(r):true))}maybeInjectGlobal(a,r);return true},usagePure(e,r,s){if(e.kind==="in"){if(e.key==="Symbol.iterator"){s.replaceWith(p.callExpression(r.injectDefaultImport((0,d.coreJSPureHelper)("is-iterable",E,_),"isIterable"),[s.node.right]))}return}if(s.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!s.isMemberExpression()&&!s.isOptionalMemberExpression()){return}if(!s.isReferenced())return;if(s.parentPath.isUpdateExpression())return;if(p.isSuper(s.node.object)){return}if(e.key==="Symbol.iterator"){if(!t("es.symbol.iterator"))return;const{parent:e,node:a}=s;if(p.isCallExpression(e,{callee:a})){if(e.arguments.length===0){s.parentPath.replaceWith(p.callExpression(r.injectDefaultImport((0,d.coreJSPureHelper)("get-iterator",E,_),"getIterator"),[a.object]));s.skip()}else{(0,d.callMethod)(s,r.injectDefaultImport((0,d.coreJSPureHelper)("get-iterator-method",E,_),"getIteratorMethod"))}}else{s.replaceWith(p.callExpression(r.injectDefaultImport((0,d.coreJSPureHelper)("get-iterator-method",E,_),"getIteratorMethod"),[s.node.object]))}return}}let a=k(e);if(!a)return;if((0,l.default)(a.desc,s))return;if(E&&a.desc.pure&&a.desc.pure.slice(-6)==="/index"){a=_extends({},a,{desc:_extends({},a.desc,{pure:a.desc.pure.slice(0,-6)})})}if(a.kind==="global"){const e=maybeInjectPure(a.desc,a.name,r);if(e)s.replaceWith(e)}else if(a.kind==="static"){const t=maybeInjectPure(a.desc,a.name,r,e.object);if(t){s.replaceWith(t);let{parentPath:e}=s;if(e.isOptionalMemberExpression()||e.isOptionalCallExpression()){do{const r=e;r.type=r.node.type=e.type==="OptionalMemberExpression"?"MemberExpression":"CallExpression";delete r.node.optional;({parentPath:e}=e)}while((e.isOptionalMemberExpression()||e.isOptionalCallExpression())&&!e.node.optional)}}}else if(a.kind==="instance"){const t=maybeInjectPure(a.desc,`${a.name}InstanceProperty`,r,e.object);if(!t)return;const{node:n,parent:o}=s;if(p.isOptionalCallExpression(o)&&o.callee===n){const e=o.optional;o.optional=!e;if(!e){const e=(0,d.extractOptionalCheck)(s.scope,n);const[r,a]=(0,d.maybeMemoizeContext)(n,s.scope);s.replaceWith(e(f.expression.ast`
4 Function.call.bind(${t}(${r}), ${a})
5 `))}else if(p.isOptionalMemberExpression(n)){const e=(0,d.extractOptionalCheck)(s.scope,n);(0,d.callMethod)(s,t,true,e)}else{(0,d.callMethod)(s,t,true)}}else if(p.isCallExpression(o)&&o.callee===n){(0,d.callMethod)(s,t,false)}else if(p.isOptionalMemberExpression(n)){const e=(0,d.extractOptionalCheck)(s.scope,n);s.replaceWith(e(p.callExpression(t,[n.object])));if(p.isOptionalMemberExpression(o))o.optional=true}else{s.replaceWith(p.callExpression(t,[n.object]))}}},visitor:r==="usage-global"&&{CallExpression(r){if(r.get("callee").isImport()){const t=e(r);if(S){maybeInjectGlobal(o.PromiseDependenciesWithIterators,t)}else{maybeInjectGlobal(o.PromiseDependencies,t)}}},Function(r){if(r.node.async){maybeInjectGlobal(o.PromiseDependencies,e(r))}},"ForOfStatement|ArrayPattern"(r){maybeInjectGlobal(o.CommonIterators,e(r))},SpreadElement(r){if(!r.parentPath.isObjectExpression()){maybeInjectGlobal(o.CommonIterators,e(r))}},YieldExpression(r){if(r.node.delegate){maybeInjectGlobal(o.CommonIterators,e(r))}},Class(r){var t;const s=((t=r.node.decorators)==null?void 0:t.length)||r.node.body.body.some((e=>{var r;return(r=e.decorators)==null?void 0:r.length}));if(s){maybeInjectGlobal(o.DecoratorMetadataDependencies,e(r))}}}}}));r["default"]=b},2613:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var t=new Set(["esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.group","esnext.array.group-to-map","esnext.data-view.get-float16","esnext.data-view.set-float16","esnext.error.is-error","esnext.iterator.dispose","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.math.f16round","esnext.regexp.escape","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.metadata","esnext.uint8-array.from-base64","esnext.uint8-array.from-hex","esnext.uint8-array.set-from-base64","esnext.uint8-array.set-from-hex","esnext.uint8-array.to-base64","esnext.uint8-array.to-hex"]);r["default"]=t},5279:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=canSkipPolyfill;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;function canSkipPolyfill(e,r){const{node:t,parent:s}=r;switch(e.name){case"es.string.split":{if(!a.isCallExpression(s,{callee:t}))return false;if(s.arguments.length<1)return true;const e=s.arguments[0];return a.isStringLiteral(e)||a.isTemplateLiteral(e)}}}},9967:(e,r,t)=>{"use strict";r.__esModule=true;r.BABEL_RUNTIME=void 0;r.callMethod=callMethod;r.coreJSModule=coreJSModule;r.coreJSPureHelper=coreJSPureHelper;r.extractOptionalCheck=extractOptionalCheck;r.isCoreJSSource=isCoreJSSource;r.maybeMemoizeContext=maybeMemoizeContext;var s=_interopRequireWildcard(t(8304));var a=_interopRequireDefault(t(9218));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}const{types:n}=s.default||s;const o="@babel/runtime-corejs3";r.BABEL_RUNTIME=o;function callMethod(e,r,t,s){const[a,o]=maybeMemoizeContext(e.node,e.scope);let i=n.callExpression(r,[a]);if(s)i=s(i);const l=n.identifier("call");e.replaceWith(t?n.optionalMemberExpression(i,l,false,true):n.memberExpression(i,l));e.parentPath.unshiftContainer("arguments",o)}function maybeMemoizeContext(e,r){const{object:t}=e;let s,a;if(n.isIdentifier(t)){a=t;s=n.cloneNode(t)}else{a=r.generateDeclaredUidIdentifier("context");s=n.assignmentExpression("=",n.cloneNode(a),t)}return[s,a]}function extractOptionalCheck(e,r){let t=r;while(!t.optional&&n.isOptionalMemberExpression(t.object)){t=t.object}t.optional=false;const s=e.generateDeclaredUidIdentifier("context");const a=n.assignmentExpression("=",s,t.object);t.object=n.cloneNode(s);return e=>n.conditionalExpression(n.binaryExpression("==",a,n.nullLiteral()),n.unaryExpression("void",n.numericLiteral(0)),e)}function isCoreJSSource(e){if(typeof e==="string"){e=e.replace(/\\/g,"/").replace(/(\/(index)?)?(\.js)?$/i,"").toLowerCase()}return Object.prototype.hasOwnProperty.call(a.default,e)&&a.default[e]}function coreJSModule(e){return`core-js/modules/${e}.js`}function coreJSPureHelper(e,r,t){return r?`${o}/core-js/${e}${t}`:`core-js-pure/features/${e}.js`}},3825:(e,r,t)=>{"use strict";var s;s=true;r.Z=void 0;var a=_interopRequireDefault(t(6970));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n="#__secret_key__@babel/runtime__compatibility";var o=(0,a.default)((({debug:e,targets:r,babel:t},s)=>{if(!shallowEqual(r,t.targets())){throw new Error("This plugin does not use the targets option. Only preset-env's targets"+" or top-level targets need to be configured for this plugin to work."+" See https://github.com/babel/babel-polyfills/issues/36 for more"+" details.")}const{[n]:{moduleName:a=null,useBabelRuntime:o=false}={}}=s;return{name:"regenerator",polyfills:["regenerator-runtime"],usageGlobal(r,t){if(isRegenerator(r)){e("regenerator-runtime");t.injectGlobalImport("regenerator-runtime/runtime.js")}},usagePure(e,r,t){if(isRegenerator(e)){let e="regenerator-runtime";if(o){var s;const r=(s=a!=null?a:t.hub.file.get("runtimeHelpersModuleName"))!=null?s:"@babel/runtime";e=`${r}/regenerator`}t.replaceWith(r.injectDefaultImport(e,"regenerator-runtime"))}}}}));r.Z=o;const isRegenerator=e=>e.kind==="global"&&e.name==="regeneratorRuntime";function shallowEqual(e,r){return JSON.stringify(e)===JSON.stringify(r)}},2099:(e,r,t)=>{"use strict";const s=t(6491);const{get:a,has:n,find:o}=t(5536);const getSortedObjectPaths=e=>{if(!e){return[]}return s(e).paths().filter((e=>e.length)).map((e=>e.join("."))).sort(((e,r)=>r.length-e.length))};const replaceAndEvaluateNode=(e,r,t)=>{r.replaceWith(e(t));if(r.parentPath.isBinaryExpression()){const t=r.parentPath.evaluate();if(t.confident){r.parentPath.replaceWith(e(t.value))}}};const processNode=(e,r,t,s)=>{const i=o(getSortedObjectPaths(e),(e=>s(r,e)));if(n(e,i)){replaceAndEvaluateNode(t,r,a(e,i))}};const memberExpressionComparator=(e,r)=>e.matchesPattern(r);const identifierComparator=(e,r)=>e.node.name===r;const unaryExpressionComparator=(e,r)=>e.node.argument.name===r;const i="typeof ";const plugin=function({types:e}){return{visitor:{MemberExpression(r,t){processNode(t.opts,r,e.valueToNode,memberExpressionComparator)},Identifier(r,t){processNode(t.opts,r,e.valueToNode,identifierComparator)},UnaryExpression(r,t){if(r.node.operator!=="typeof"){return}const{opts:s}=t;const a=Object.keys(s);const n={};a.forEach((e=>{if(e.substring(0,i.length)===i){n[e.substring(i.length)]=s[e]}}));processNode(n,r,e.valueToNode,unaryExpressionComparator)}}}};e.exports=plugin;e.exports["default"]=plugin;e.exports.getSortedObjectPaths=getSortedObjectPaths},9282:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=_interopRequireDefault(t(8504));var a=_interopRequireDefault(t(5259));var n=_interopRequireDefault(t(9616));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};var s=Object.keys(t);if(typeof Object.getOwnPropertySymbols==="function"){s=s.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))}s.forEach((function(r){_defineProperty(e,r,t[r])}))}return e}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function isPathReactClass(e,r){var t=e.node;var s=r.classNameMatchers;if(e.matchesPattern("React.Component")||e.matchesPattern("React.PureComponent")){return true}if(t&&(t.name==="Component"||t.name==="PureComponent")){return true}if(t&&s&&s.test(t.name)){return true}return false}function isReactClass(e,r,t){if(!e.node){return false}var s=false;if(isPathReactClass(e,t)){s=true}else if(e.node.name){var a=e.node.name;var n=r.getBinding(a);if(!n){s=false}else{var o=n.path.get("superClass");if(isPathReactClass(o,t)){s=true}}}return s}function areSetsEqual(e,r){if(e===r){return true}if(e.size!==r.size){return false}return!Array.from(e).some((function(e){return!r.has(e)}))}function memberExpressionRootIdentifier(e){var r=e.findParent((function(e){return!e.isMemberExpression()}));var t=r.node.type;var s;if(t==="ObjectProperty"){s=r.get("value")}if(!s||s.type!=="MemberExpression"){return null}while(s.node.object.type==="MemberExpression"){s=s.get("object")}return s.get("object")}function _default(e){var r=e.template,t=e.types,o=e.traverse;var i=new Set;var l=new WeakSet;var c={Identifier:function Identifier(e){if(e.parent.type==="MemberExpression"){var r=memberExpressionRootIdentifier(e);if(r){i.add(r.node.name)}return}if(e.parent.type==="ObjectProperty"&&(e.parent.key===e.node||e.parent.shorthand)){return}i.add(e.node.name)}};return{visitor:{Program:function Program(d,u){var p;var f;if(u.opts.ignoreFilenames){p=new RegExp(u.opts.ignoreFilenames.join("|"),"i")}else{p=undefined}if(u.opts.classNameMatchers){f=new RegExp(u.opts.classNameMatchers.join("|"))}else{f=undefined}var y={visitedKey:"transform-react-remove-prop-types".concat(Date.now()),unsafeWrapTemplate:r('\n if (process.env.NODE_ENV !== "production") {\n NODE;\n }\n ',{placeholderPattern:/^NODE$/}),wrapTemplate:function wrapTemplate(e){var s=e.LEFT,a=e.RIGHT;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.as,i=o===void 0?"assignmentExpression":o;var l=r.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:a});switch(i){case"variableDeclarator":return t.variableDeclarator(s,l);case"assignmentExpression":return t.assignmentExpression("=",s,l);default:throw new Error("unrecognized template type ".concat(i))}},mode:u.opts.mode||"remove",ignoreFilenames:p,types:t,removeImport:u.opts.removeImport||false,libraries:(u.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:f,createReactClassName:u.opts.createReactClassName||"createReactClass"};if(u.opts.plugins){var g=u;var h=u.opts.plugins.map((function(r){var t=typeof r==="string"?r:r[0];if(typeof r!=="string"){g.opts=_objectSpread({},g.opts,r[1])}var s=require(t);if(typeof s!=="function"){s=s.default}return s(e).visitor}));o(d.parent,o.visitors.merge(h),d.scope,g,d.parentPath)}d.traverse({ObjectProperty:{exit:function exit(e){var r=e.node;if(r.computed||r.key.name!=="propTypes"){return}var t=e.findParent((function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===y.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"}));if(t){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var r=e.node,t=e.scope;if(r.key.name==="propTypes"){var s=t.path;if(isReactClass(s.get("superClass"),t,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"class static",pathClassDeclaration:s})}}},AssignmentExpression:function AssignmentExpression(e){var r=e.node,t=e.scope;if(r.left.computed||!r.left.property||r.left.property.name!=="propTypes"){return}var o=(0,s.default)(e.node.left);if(o){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"});return}var i=r.left.object.name;var d=t.getBinding(i);if(!d){return}if(d.path.isClassDeclaration()){var u=d.path.get("superClass");if(isReactClass(u,t,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}else if((0,a.default)(d.path)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}});var b=0;var x={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var r=e.node.id.name;if(!i.has(r)){return}var t=e.scope.getBinding(r),s=t.referencePaths;var a=s.some((function(e){var r=e.find((function(e){return l.has(e)}));return!r}));if(a){b+=1;return}l.add(e);i.delete(r);e.get("init").traverse(c);(0,n.default)(e,y,{type:"declarator"})}};var v=new Set;while(!areSetsEqual(i,v)&&i.size>0&&b<i.size){v=new Set(i);b=0;d.scope.crawl();d.traverse(x)}if(y.removeImport){if(y.mode==="remove"){d.scope.crawl();d.traverse({ImportDeclaration:function ImportDeclaration(e){var r=e.node,t=r.source,s=r.specifiers;var a=y.libraries.some((function(e){if(e instanceof RegExp){return e.test(t.value)}return t.value===e}));if(!a){return}var n=s.some((function(r){var t=r.local.name;var s=e.scope.getBinding(t),a=s.referencePaths;return a.length>0}));if(!n){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},8504:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var r=e.trailingComments||[];return Boolean(r.find((function(e){var r=e.value;return r.trim()==="remove-proptypes"})))}},5259:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isStatelessComponent;var t=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var r=false;e.traverse({CallExpression:function CallExpression(e){var t=e.get("callee");if(t.matchesPattern("React.createElement")||t.matchesPattern("React.cloneElement")||t.node.name==="cloneElement"){r=true}},JSXElement:function JSXElement(){r=true}});return r}function isReturningJSXElement(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(r>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var s=false;e.traverse({ReturnStatement:function ReturnStatement(a){if(s){return}var n=a.get("argument");if(!n.node){return}if(isJSXElementOrReactCreateElement(a)){s=true;return}if(n.node.type==="CallExpression"){var o=n.get("callee").node.name;var i=e.scope.getBinding(o);if(!i){return}if(i.path[t]){return}i.path[t]=true;if(isReturningJSXElement(i.path,r+1)){s=true}}}});return s}var s=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(s.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},9616:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=remove;function isInside(e,r){if(!e.hub.file.opts){return true}var t=e.hub.file.opts.filename;if(!t){return true}if(!r){return false}return r.test(t)}function remove(e,r,t){var s=r.visitedKey,a=r.unsafeWrapTemplate,n=r.wrapTemplate,o=r.mode,i=r.ignoreFilenames,l=r.types;if(i&&isInside(e.scope,i)){return}if(e.node[s]){return}e.node[s]=true;if(o==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(o==="wrap"||o==="unsafe-wrap"){switch(t.type){case"createClass":break;case"class static":{var c;var d=t.pathClassDeclaration;if(!d.isClassExpression()&&d.node.id){c=d.node.id}else{return}var u=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(c,e.node.key),e.node.value));if(d.parentPath.isExportDeclaration()){d=d.parentPath}d.insertAfter(u);e.remove();break}case"assign":if(o==="unsafe-wrap"){e.replaceWith(a({NODE:e.node}))}else{e.replaceWith(n({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[s]=true;break;case"declarator":e.replaceWith(n({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[s]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(o,"."))}},4494:(e,r,t)=>{"use strict";const s=t(529);class Definition{constructor(e,r,t,s,a,n){this.type=e;this.name=r;this.node=t;this.parent=s;this.index=a;this.kind=n}}class ParameterDefinition extends Definition{constructor(e,r,t,a){super(s.Parameter,e,r,null,t,null);this.rest=a}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},2836:(e,r,t)=>{"use strict";const s=t(9491);const a=t(680);const n=t(8648);const o=t(1621);const i=t(529);const l=t(8802).Scope;const c=t(3348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,r){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const t in r){if(Object.prototype.hasOwnProperty.call(r,t)){const s=r[t];if(isHashObject(s)){if(isHashObject(e[t])){updateDeeply(e[t],s)}else{e[t]=updateDeeply({},s)}}else{e[t]=s}}}return e}function analyze(e,r){const t=updateDeeply(defaultOptions(),r);const o=new a(t);const i=new n(t,o);i.visit(e);s(o.__currentScope===null,"currentScope should be null.");return o}e.exports={version:c,Reference:o,Variable:i,Scope:l,ScopeManager:a,analyze:analyze}},2999:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1396);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends a.Visitor{static isPattern(e){const r=e.type;return r===s.Identifier||r===s.ObjectPattern||r===s.ArrayPattern||r===s.SpreadElement||r===s.RestElement||r===s.AssignmentPattern}constructor(e,r,t){super(null,e);this.rootPattern=r;this.callback=t;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const r=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:r!==null&&r!==undefined&&r.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let r=0,t=e.elements.length;r<t;++r){const t=e.elements[r];this.visit(t)}}AssignmentPattern(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}RestElement(e){this.restElements.push(e);this.visit(e.argument);this.restElements.pop()}MemberExpression(e){if(e.computed){this.rightHandNodes.push(e.property)}this.rightHandNodes.push(e.object)}SpreadElement(e){this.visit(e.argument)}ArrayExpression(e){e.elements.forEach(this.visit,this)}AssignmentExpression(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}CallExpression(e){e.arguments.forEach((e=>{this.rightHandNodes.push(e)}));this.visit(e.callee)}}e.exports=PatternVisitor},1621:e=>{"use strict";const r=1;const t=2;const s=r|t;class Reference{constructor(e,r,t,s,a,n,o){this.identifier=e;this.from=r;this.tainted=false;this.resolved=null;this.flag=t;if(this.isWrite()){this.writeExpr=s;this.partial=n;this.init=o}this.__maybeImplicitGlobal=a}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=r;Reference.WRITE=t;Reference.RW=s;e.exports=Reference},8648:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1396);const n=t(1621);const o=t(529);const i=t(2999);const l=t(4494);const c=t(9491);const d=l.ParameterDefinition;const u=l.Definition;function traverseIdentifierInPattern(e,r,t,s){const a=new i(e,r,s);a.visit(r);if(t!==null&&t!==undefined){a.rightHandNodes.forEach(t.visit,t)}}class Importer extends a.Visitor{constructor(e,r){super(null,r.options);this.declaration=e;this.referencer=r}visitImport(e,r){this.referencer.visitPattern(e,(e=>{this.referencer.currentScope().__define(e,new u(o.ImportBinding,e,r,this.declaration,null,null))}))}ImportNamespaceSpecifier(e){const r=e.local||e.id;if(r){this.visitImport(r,e)}}ImportDefaultSpecifier(e){const r=e.local||e.id;this.visitImport(r,e)}ImportSpecifier(e){const r=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(r,e)}}}class Referencer extends a.Visitor{constructor(e,r){super(null,e);this.options=e;this.scopeManager=r;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(e){while(this.currentScope()&&e===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(e){const r=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return r}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,r,t,s){const a=this.currentScope();r.forEach((r=>{a.__referencing(e,n.WRITE,r.right,t,e!==r.left,s)}))}visitPattern(e,r,t){let s=r;let a=t;if(typeof r==="function"){a=r;s={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,s.processRightHandNodes?this:null,a)}visitFunction(e){let r,t;if(e.type===s.FunctionDeclaration){this.currentScope().__define(e.id,new u(o.FunctionName,e.id,e,null,null,null))}if(e.type===s.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const a=this;function visitPatternCallback(t,s){a.currentScope().__define(t,new d(t,e,r,s.rest));a.referencingDefaultValue(t,s.assignments,null,true)}for(r=0,t=e.params.length;r<t;++r){this.visitPattern(e.params[r],{processRightHandNodes:true},visitPatternCallback)}if(e.rest){this.visitPattern({type:"RestElement",argument:e.rest},(r=>{this.currentScope().__define(r,new d(r,e,e.params.length,true))}))}if(e.body){if(e.body.type===s.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===s.ClassDeclaration){this.currentScope().__define(e.id,new u(o.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new u(o.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let r;if(e.computed){this.visit(e.key)}const t=e.type===s.MethodDefinition;if(t){r=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(t){this.popInnerMethodDefinition(r)}}visitForIn(e){if(e.left.type===s.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===s.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,(r=>{this.currentScope().__referencing(r,n.WRITE,e.right,null,true,true)}))}else{this.visitPattern(e.left,{processRightHandNodes:true},((r,t)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:r,node:e}}this.referencingDefaultValue(r,t.assignments,s,false);this.currentScope().__referencing(r,n.WRITE,e.right,s,true,false)}))}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,r,t,s){const a=t.declarations[s];const o=a.init;this.visitPattern(a.id,{processRightHandNodes:true},((i,l)=>{e.__define(i,new u(r,i,a,t,s,t.kind));this.referencingDefaultValue(i,l.assignments,null,true);if(o){this.currentScope().__referencing(i,n.WRITE,o,null,!l.topLevel,true)}}))}AssignmentExpression(e){if(i.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},((r,t)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:r,node:e}}this.referencingDefaultValue(r,t.assignments,s,false);this.currentScope().__referencing(r,n.WRITE,e.right,s,!t.topLevel,false)}))}else{this.currentScope().__referencing(e.left,n.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},((r,t)=>{this.currentScope().__define(r,new u(o.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(r,t.assignments,null,true)}));this.visit(e.body);this.close(e)}Program(e){this.scopeManager.__nestGlobalScope(e);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(e,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(e)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(e);this.close(e)}Identifier(e){this.currentScope().__referencing(e)}UpdateExpression(e){if(i.isPattern(e.argument)){this.currentScope().__referencing(e.argument,n.RW,null)}else{this.visitChildren(e)}}MemberExpression(e){this.visit(e.object);if(e.computed){this.visit(e.property)}}Property(e){this.visitProperty(e)}MethodDefinition(e){this.visitProperty(e)}BreakStatement(){}ContinueStatement(){}LabeledStatement(e){this.visit(e.body)}ForStatement(e){if(e.init&&e.init.type===s.VariableDeclaration&&e.init.kind!=="var"){this.scopeManager.__nestForScope(e)}this.visitChildren(e);this.close(e)}ClassExpression(e){this.visitClass(e)}ClassDeclaration(e){this.visitClass(e)}CallExpression(e){if(!this.scopeManager.__ignoreEval()&&e.callee.type===s.Identifier&&e.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(e)}BlockStatement(e){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(e)}this.visitChildren(e);this.close(e)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(e){this.visit(e.object);this.scopeManager.__nestWithScope(e);this.visit(e.body);this.close(e)}VariableDeclaration(e){const r=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let t=0,s=e.declarations.length;t<s;++t){const s=e.declarations[t];this.visitVariableDeclaration(r,o.Variable,e,t);if(s.init){this.visit(s.init)}}}SwitchStatement(e){this.visit(e.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(e)}for(let r=0,t=e.cases.length;r<t;++r){this.visit(e.cases[r])}this.close(e)}FunctionDeclaration(e){this.visitFunction(e)}FunctionExpression(e){this.visitFunction(e)}ForOfStatement(e){this.visitForIn(e)}ForInStatement(e){this.visitForIn(e)}ArrowFunctionExpression(e){this.visitFunction(e)}ImportDeclaration(e){c(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");const r=new Importer(e,this);r.visit(e)}visitExportDeclaration(e){if(e.source){return}if(e.declaration){this.visit(e.declaration);return}this.visitChildren(e)}ExportDeclaration(e){this.visitExportDeclaration(e)}ExportAllDeclaration(e){this.visitExportDeclaration(e)}ExportDefaultDeclaration(e){this.visitExportDeclaration(e)}ExportNamedDeclaration(e){this.visitExportDeclaration(e)}ExportSpecifier(e){const r=e.id||e.local;this.visit(r)}MetaProperty(){}}e.exports=Referencer},680:(e,r,t)=>{"use strict";const s=t(8802);const a=t(9491);const n=s.GlobalScope;const o=s.CatchScope;const i=s.WithScope;const l=s.ModuleScope;const c=s.ClassScope;const d=s.SwitchScope;const u=s.FunctionScope;const p=s.ForScope;const f=s.FunctionExpressionNameScope;const y=s.BlockScope;class ScopeManager{constructor(e){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=e;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(e){return this.__nodeToScope.get(e)}getDeclaredVariables(e){return this.__declaredVariables.get(e)||[]}acquire(e,r){function predicate(e){if(e.type==="function"&&e.functionExpressionScope){return false}return true}const t=this.__get(e);if(!t||t.length===0){return null}if(t.length===1){return t[0]}if(r){for(let e=t.length-1;e>=0;--e){const r=t[e];if(predicate(r)){return r}}}else{for(let e=0,r=t.length;e<r;++e){const r=t[e];if(predicate(r)){return r}}}return null}acquireAll(e){return this.__get(e)}release(e,r){const t=this.__get(e);if(t&&t.length){const e=t[0].upper;if(!e){return null}return this.acquire(e.block,r)}return null}attach(){}detach(){}__nestScope(e){if(e instanceof n){a(this.__currentScope===null);this.globalScope=e}this.__currentScope=e;return e}__nestGlobalScope(e){return this.__nestScope(new n(this,e))}__nestBlockScope(e){return this.__nestScope(new y(this,this.__currentScope,e))}__nestFunctionScope(e,r){return this.__nestScope(new u(this,this.__currentScope,e,r))}__nestForScope(e){return this.__nestScope(new p(this,this.__currentScope,e))}__nestCatchScope(e){return this.__nestScope(new o(this,this.__currentScope,e))}__nestWithScope(e){return this.__nestScope(new i(this,this.__currentScope,e))}__nestClassScope(e){return this.__nestScope(new c(this,this.__currentScope,e))}__nestSwitchScope(e){return this.__nestScope(new d(this,this.__currentScope,e))}__nestModuleScope(e){return this.__nestScope(new l(this,this.__currentScope,e))}__nestFunctionExpressionNameScope(e){return this.__nestScope(new f(this,this.__currentScope,e))}__isES6(){return this.__options.ecmaVersion>=6}}e.exports=ScopeManager},8802:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1621);const n=t(529);const o=t(4494).Definition;const i=t(9491);function isStrictScope(e,r,t,a){let n;if(e.upper&&e.upper.isStrict){return true}if(t){return true}if(e.type==="class"||e.type==="module"){return true}if(e.type==="block"||e.type==="switch"){return false}if(e.type==="function"){if(r.type===s.ArrowFunctionExpression&&r.body.type!==s.BlockStatement){return false}if(r.type===s.Program){n=r}else{n=r.body}if(!n){return false}}else if(e.type==="global"){n=r}else{return false}if(a){for(let e=0,r=n.body.length;e<r;++e){const r=n.body[e];if(r.type!==s.DirectiveStatement){break}if(r.raw==='"use strict"'||r.raw==="'use strict'"){return true}}}else{for(let e=0,r=n.body.length;e<r;++e){const r=n.body[e];if(r.type!==s.ExpressionStatement){break}const t=r.expression;if(t.type!==s.Literal||typeof t.value!=="string"){break}if(t.raw!==null&&t.raw!==undefined){if(t.raw==='"use strict"'||t.raw==="'use strict'"){return true}}else{if(t.value==="use strict"){return true}}}}return false}function registerScope(e,r){e.scopes.push(r);const t=e.__nodeToScope.get(r.block);if(t){t.push(r)}else{e.__nodeToScope.set(r.block,[r])}}function shouldBeStatically(e){return e.type===n.ClassName||e.type===n.Variable&&e.parent.kind!=="var"}class Scope{constructor(e,r,t,s,a){this.type=r;this.set=new Map;this.taints=new Map;this.dynamic=this.type==="global"||this.type==="with";this.block=s;this.through=[];this.variables=[];this.references=[];this.variableScope=this.type==="global"||this.type==="function"||this.type==="module"?this:t.variableScope;this.functionExpressionScope=false;this.directCallToEvalScope=false;this.thisFound=false;this.__left=[];this.upper=t;this.isStrict=isStrictScope(this,s,a,e.__useDirective());this.childScopes=[];if(this.upper){this.upper.childScopes.push(this)}this.__declaredVariables=e.__declaredVariables;registerScope(e,this)}__shouldStaticallyClose(e){return!this.dynamic||e.__isOptimistic()}__shouldStaticallyCloseForGlobal(e){const r=e.identifier.name;if(!this.set.has(r)){return false}const t=this.set.get(r);const s=t.defs;return s.length>0&&s.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let r=this;do{r.through.push(e);r=r.upper}while(r)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let r;if(this.__shouldStaticallyClose(e)){r=this.__staticCloseRef}else if(this.type!=="global"){r=this.__dynamicCloseRef}else{r=this.__globalCloseRef}for(let e=0,t=this.__left.length;e<t;++e){const t=this.__left[e];r.call(this,t)}this.__left=null;return this.upper}__isValidResolution(e,r){return true}__resolve(e){const r=e.identifier.name;if(!this.set.has(r)){return false}const t=this.set.get(r);if(!this.__isValidResolution(e,t)){return false}t.references.push(e);t.stack=t.stack&&e.from.variableScope===this.variableScope;if(e.tainted){t.tainted=true;this.taints.set(t.name,true)}e.resolved=t;return true}__delegateToUpperScope(e){if(this.upper){this.upper.__left.push(e)}this.through.push(e)}__addDeclaredVariablesOfNode(e,r){if(r===null||r===undefined){return}let t=this.__declaredVariables.get(r);if(t===null||t===undefined){t=[];this.__declaredVariables.set(r,t)}if(t.indexOf(e)===-1){t.push(e)}}__defineGeneric(e,r,t,s,a){let o;o=r.get(e);if(!o){o=new n(e,this);r.set(e,o);t.push(o)}if(a){o.defs.push(a);this.__addDeclaredVariablesOfNode(o,a.node);this.__addDeclaredVariablesOfNode(o,a.parent)}if(s){o.identifiers.push(s)}}__define(e,r){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.set,this.variables,e,r)}}__referencing(e,r,t,n,o,i){if(!e||e.type!==s.Identifier){return}if(e.name==="super"){return}const l=new a(e,this,r||a.READ,t,n,!!o,!!i);this.references.push(l);this.__left.push(l)}__detectEval(){let e=this;this.directCallToEvalScope=true;do{e.dynamic=true;e=e.upper}while(e)}__detectThis(){this.thisFound=true}__isClosed(){return this.__left===null}resolve(e){let r,t,a;i(this.__isClosed(),"Scope should be closed.");i(e.type===s.Identifier,"Target should be identifier.");for(t=0,a=this.references.length;t<a;++t){r=this.references[t];if(r.identifier===e){return r}}return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return true}isThisMaterialized(){return true}isUsedName(e){if(this.set.has(e)){return true}for(let r=0,t=this.through.length;r<t;++r){if(this.through[r].identifier.name===e){return true}}return false}}class GlobalScope extends Scope{constructor(e,r){super(e,"global",null,r,false);this.implicit={set:new Map,variables:[],left:[]}}__close(e){const r=[];for(let e=0,t=this.__left.length;e<t;++e){const t=this.__left[e];if(t.__maybeImplicitGlobal&&!this.set.has(t.identifier.name)){r.push(t.__maybeImplicitGlobal)}}for(let e=0,t=r.length;e<t;++e){const t=r[e];this.__defineImplicit(t.pattern,new o(n.ImplicitGlobalVariable,t.pattern,t.node,null,null,null))}this.implicit.left=this.__left;return super.__close(e)}__defineImplicit(e,r){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.implicit.set,this.implicit.variables,e,r)}}}class ModuleScope extends Scope{constructor(e,r,t){super(e,"module",r,t,false)}}class FunctionExpressionNameScope extends Scope{constructor(e,r,t){super(e,"function-expression-name",r,t,false);this.__define(t.id,new o(n.FunctionName,t.id,t,null,null,null));this.functionExpressionScope=true}}class CatchScope extends Scope{constructor(e,r,t){super(e,"catch",r,t,false)}}class WithScope extends Scope{constructor(e,r,t){super(e,"with",r,t,false)}__close(e){if(this.__shouldStaticallyClose(e)){return super.__close(e)}for(let e=0,r=this.__left.length;e<r;++e){const r=this.__left[e];r.tainted=true;this.__delegateToUpperScope(r)}this.__left=null;return this.upper}}class BlockScope extends Scope{constructor(e,r,t){super(e,"block",r,t,false)}}class SwitchScope extends Scope{constructor(e,r,t){super(e,"switch",r,t,false)}}class FunctionScope extends Scope{constructor(e,r,t,a){super(e,"function",r,t,a);if(this.block.type!==s.ArrowFunctionExpression){this.__defineArguments()}}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression){return false}if(!this.isStatic()){return true}const e=this.set.get("arguments");i(e,"Always have arguments variable.");return e.tainted||e.references.length!==0}isThisMaterialized(){if(!this.isStatic()){return true}return this.thisFound}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null);this.taints.set("arguments",true)}__isValidResolution(e,r){if(this.block.type==="Program"){return true}const t=this.block.body.range[0];return!(r.scope===this&&e.identifier.range[0]<t&&r.defs.every((e=>e.name.range[0]>=t)))}}class ForScope extends Scope{constructor(e,r,t){super(e,"for",r,t,false)}}class ClassScope extends Scope{constructor(e,r,t){super(e,"class",r,t,false)}}e.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},529:e=>{"use strict";class Variable{constructor(e,r){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=r}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},3553:(e,r,t)=>{"use strict";const s=t(7137);const a=Object.freeze(Object.keys(s));for(const e of a){Object.freeze(s[e])}Object.freeze(s);const n=new Set(["parent","leadingComments","trailingComments"]);function filterKey(e){return!n.has(e)&&e[0]!=="_"}e.exports=Object.freeze({KEYS:s,getKeys(e){return Object.keys(e).filter(filterKey)},unionWith(e){const r=Object.assign({},s);for(const t of Object.keys(e)){if(r.hasOwnProperty(t)){const s=new Set(e[t]);for(const e of r[t]){s.add(e)}r[t]=Object.freeze(Array.from(s))}else{r[t]=Object.freeze(Array.from(e[t]))}}return Object.freeze(r)}})},1396:(e,r,t)=>{(function(){"use strict";var e=t(1731);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(r,t){return(r===e.Syntax.ObjectExpression||r===e.Syntax.ObjectPattern)&&t==="properties"}function Visitor(r,t){t=t||{};this.__visitor=r||this;this.__childVisitorKeys=t.childVisitorKeys?Object.assign({},e.VisitorKeys,t.childVisitorKeys):e.VisitorKeys;if(t.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof t.fallback==="function"){this.__fallback=t.fallback}}Visitor.prototype.visitChildren=function(r){var t,s,a,n,o,i,l;if(r==null){return}t=r.type||e.Syntax.Property;s=this.__childVisitorKeys[t];if(!s){if(this.__fallback){s=this.__fallback(r)}else{throw new Error("Unknown node type "+t+".")}}for(a=0,n=s.length;a<n;++a){l=r[s[a]];if(l){if(Array.isArray(l)){for(o=0,i=l.length;o<i;++o){if(l[o]){if(isNode(l[o])||isProperty(t,s[a])){this.visit(l[o])}}}}else if(isNode(l)){this.visit(l)}}}};Visitor.prototype.visit=function(r){var t;if(r==null){return}t=r.type||e.Syntax.Property;if(this.__visitor[t]){this.__visitor[t].call(this,r);return}this.visitChildren(r)};r.version=t(4730).version;r.Visitor=Visitor;r.visit=function(e,r,t){var s=new Visitor(r,t);s.visit(e)}})()},2205:(e,r,t)=>{(function clone(e){"use strict";var r,s,a,n,o,i;function deepCopy(e){var r={},t,s;for(t in e){if(e.hasOwnProperty(t)){s=e[t];if(typeof s==="object"&&s!==null){r[t]=deepCopy(s)}else{r[t]=s}}}return r}function upperBound(e,r){var t,s,a,n;s=e.length;a=0;while(s){t=s>>>1;n=a+t;if(r(e[n])){s=t}else{a=n+1;s-=t+1}}return a}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};a={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};n={};o={};i={};s={Break:n,Skip:o,Remove:i};function Reference(e,r){this.parent=e;this.key=r}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,r,t,s){this.node=e;this.path=r;this.wrap=t;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,r,t,s,a,n;function addToPath(e,r){if(Array.isArray(r)){for(t=0,s=r.length;t<s;++t){e.push(r[t])}}else{e.push(r)}}if(!this.__current.path){return null}a=[];for(e=2,r=this.__leavelist.length;e<r;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,r,t;t=[];for(e=1,r=this.__leavelist.length;e<r;++e){t.push(this.__leavelist[e].node)}return t};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,r){var t,s;s=undefined;t=this.__current;this.__current=r;this.__state=null;if(e){s=e.call(this,r.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=t;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(o)};Controller.prototype["break"]=function(){this.notify(n)};Controller.prototype.remove=function(){this.notify(i)};Controller.prototype.__initialize=function(e,r){this.visitor=r;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}this.__keys=a;if(r.keys){this.__keys=Object.assign(Object.create(this.__keys),r.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}Controller.prototype.traverse=function traverse(e,r){var t,s,a,i,l,c,d,u,p,f,y,g;this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;t.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(t.length){a=t.pop();if(a===g){a=s.pop();c=this.__execute(r.leave,a);if(this.__state===n||c===n){return}continue}if(a.node){c=this.__execute(r.enter,a);if(this.__state===n||c===n){return}t.push(g);s.push(a);if(this.__state===o||c===o){continue}i=a.node;l=i.type||a.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){d=f[u];y=i[d];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){a=new Element(y[p],[d,p],"Property",null)}else if(isNode(y[p])){a=new Element(y[p],[d,p],null,null)}else{continue}t.push(a)}}else if(isNode(y)){t.push(new Element(y,d,null,null))}}}}};Controller.prototype.replace=function replace(e,r){var t,s,a,l,c,d,u,p,f,y,g,h,b;function removeElem(e){var r,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;r=t.length;while(r--){a=t[r];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;h={root:e};d=new Element(e,null,null,new Reference(h,"root"));t.push(d);s.push(d);while(t.length){d=t.pop();if(d===g){d=s.pop();c=this.__execute(r.leave,d);if(c!==undefined&&c!==n&&c!==o&&c!==i){d.ref.replace(c)}if(this.__state===i||c===i){removeElem(d)}if(this.__state===n||c===n){return h.root}continue}c=this.__execute(r.enter,d);if(c!==undefined&&c!==n&&c!==o&&c!==i){d.ref.replace(c);d.node=c}if(this.__state===i||c===i){removeElem(d);d.node=null}if(this.__state===n||c===n){return h.root}a=d.node;if(!a){continue}t.push(g);s.push(d);if(this.__state===o||c===o){continue}l=a.type||d.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(a)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){b=f[u];y=a[b];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){d=new Element(y[p],[b,p],"Property",new Reference(y,p))}else if(isNode(y[p])){d=new Element(y[p],[b,p],null,new Reference(y,p))}else{continue}t.push(d)}}else if(isNode(y)){t.push(new Element(y,b,null,new Reference(a,b)))}}}return h.root};function traverse(e,r){var t=new Controller;return t.traverse(e,r)}function replace(e,r){var t=new Controller;return t.replace(e,r)}function extendCommentRange(e,r){var t;t=upperBound(r,(function search(r){return r.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(t!==r.length){e.extendedRange[1]=r[t].range[0]}t-=1;if(t>=0){e.extendedRange[0]=r[t].range[1]}return e}function attachComments(e,r,t){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!t.length){if(r.length){for(i=0,o=r.length;i<o;i+=1){n=deepCopy(r[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=r.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(r[i]),t))}l=0;traverse(e,{enter:function(e){var r;while(l<a.length){r=a[l];if(r.extendedRange[1]>e.range[0]){break}if(r.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});l=0;traverse(e,{leave:function(e){var r;while(l<a.length){r=a[l];if(e.range[1]<r.extendedRange[0]){break}if(e.range[1]===r.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});return e}e.version=t(1752).i8;e.Syntax=r;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=a;e.VisitorOption=s;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(r)},1731:(e,r)=>{(function clone(e){"use strict";var r,t,s,a,n,o;function deepCopy(e){var r={},t,s;for(t in e){if(e.hasOwnProperty(t)){s=e[t];if(typeof s==="object"&&s!==null){r[t]=deepCopy(s)}else{r[t]=s}}}return r}function upperBound(e,r){var t,s,a,n;s=e.length;a=0;while(s){t=s>>>1;n=a+t;if(r(e[n])){s=t}else{a=n+1;s-=t+1}}return a}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};a={};n={};o={};t={Break:a,Skip:n,Remove:o};function Reference(e,r){this.parent=e;this.key=r}Reference.prototype.replace=function replace(e){this.parent[this.key]=e};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(e,r,t,s){this.node=e;this.path=r;this.wrap=t;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,r,t,s,a,n;function addToPath(e,r){if(Array.isArray(r)){for(t=0,s=r.length;t<s;++t){e.push(r[t])}}else{e.push(r)}}if(!this.__current.path){return null}a=[];for(e=2,r=this.__leavelist.length;e<r;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,r,t;t=[];for(e=1,r=this.__leavelist.length;e<r;++e){t.push(this.__leavelist[e].node)}return t};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,r){var t,s;s=undefined;t=this.__current;this.__current=r;this.__state=null;if(e){s=e.call(this,r.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=t;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(n)};Controller.prototype["break"]=function(){this.notify(a)};Controller.prototype.remove=function(){this.notify(o)};Controller.prototype.__initialize=function(e,r){this.visitor=r;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}this.__keys=s;if(r.keys){this.__keys=Object.assign(Object.create(this.__keys),r.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}function candidateExistsInLeaveList(e,r){for(var t=e.length-1;t>=0;--t){if(e[t].node===r){return true}}return false}Controller.prototype.traverse=function traverse(e,r){var t,s,o,i,l,c,d,u,p,f,y,g;this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;t.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(t.length){o=t.pop();if(o===g){o=s.pop();c=this.__execute(r.leave,o);if(this.__state===a||c===a){return}continue}if(o.node){c=this.__execute(r.enter,o);if(this.__state===a||c===a){return}t.push(g);s.push(o);if(this.__state===n||c===n){continue}i=o.node;l=i.type||o.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){d=f[u];y=i[d];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(candidateExistsInLeaveList(s,y[p])){continue}if(isProperty(l,f[u])){o=new Element(y[p],[d,p],"Property",null)}else if(isNode(y[p])){o=new Element(y[p],[d,p],null,null)}else{continue}t.push(o)}}else if(isNode(y)){if(candidateExistsInLeaveList(s,y)){continue}t.push(new Element(y,d,null,null))}}}}};Controller.prototype.replace=function replace(e,r){var t,s,i,l,c,d,u,p,f,y,g,h,b;function removeElem(e){var r,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;r=t.length;while(r--){a=t[r];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;h={root:e};d=new Element(e,null,null,new Reference(h,"root"));t.push(d);s.push(d);while(t.length){d=t.pop();if(d===g){d=s.pop();c=this.__execute(r.leave,d);if(c!==undefined&&c!==a&&c!==n&&c!==o){d.ref.replace(c)}if(this.__state===o||c===o){removeElem(d)}if(this.__state===a||c===a){return h.root}continue}c=this.__execute(r.enter,d);if(c!==undefined&&c!==a&&c!==n&&c!==o){d.ref.replace(c);d.node=c}if(this.__state===o||c===o){removeElem(d);d.node=null}if(this.__state===a||c===a){return h.root}i=d.node;if(!i){continue}t.push(g);s.push(d);if(this.__state===n||c===n){continue}l=i.type||d.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){b=f[u];y=i[b];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){d=new Element(y[p],[b,p],"Property",new Reference(y,p))}else if(isNode(y[p])){d=new Element(y[p],[b,p],null,new Reference(y,p))}else{continue}t.push(d)}}else if(isNode(y)){t.push(new Element(y,b,null,new Reference(i,b)))}}}return h.root};function traverse(e,r){var t=new Controller;return t.traverse(e,r)}function replace(e,r){var t=new Controller;return t.replace(e,r)}function extendCommentRange(e,r){var t;t=upperBound(r,(function search(r){return r.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(t!==r.length){e.extendedRange[1]=r[t].range[0]}t-=1;if(t>=0){e.extendedRange[0]=r[t].range[1]}return e}function attachComments(e,r,s){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!s.length){if(r.length){for(i=0,o=r.length;i<o;i+=1){n=deepCopy(r[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=r.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(r[i]),s))}l=0;traverse(e,{enter:function(e){var r;while(l<a.length){r=a[l];if(r.extendedRange[1]>e.range[0]){break}if(r.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return t.Break}if(a[l].extendedRange[0]>e.range[1]){return t.Skip}}});l=0;traverse(e,{leave:function(e){var r;while(l<a.length){r=a[l];if(e.range[1]<r.extendedRange[0]){break}if(e.range[1]===r.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return t.Break}if(a[l].extendedRange[0]>e.range[1]){return t.Skip}}});return e}e.Syntax=r;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=t;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(r)},3136:e=>{"use strict";var r="Function.prototype.bind called on incompatible ";var t=Object.prototype.toString;var s=Math.max;var a="[object Function]";var n=function concatty(e,r){var t=[];for(var s=0;s<e.length;s+=1){t[s]=e[s]}for(var a=0;a<r.length;a+=1){t[a+e.length]=r[a]}return t};var o=function slicy(e,r){var t=[];for(var s=r||0,a=0;s<e.length;s+=1,a+=1){t[a]=e[s]}return t};var joiny=function(e,r){var t="";for(var s=0;s<e.length;s+=1){t+=e[s];if(s+1<e.length){t+=r}}return t};e.exports=function bind(e){var i=this;if(typeof i!=="function"||t.apply(i)!==a){throw new TypeError(r+i)}var l=o(arguments,1);var c;var binder=function(){if(this instanceof c){var r=i.apply(this,n(l,arguments));if(Object(r)===r){return r}return this}return i.apply(e,n(l,arguments))};var d=s(0,i.length-l.length);var u=[];for(var p=0;p<d;p++){u[p]="$"+p}c=Function("binder","return function ("+joiny(u,",")+"){ return binder.apply(this,arguments); }")(binder);if(i.prototype){var f=function Empty(){};f.prototype=i.prototype;c.prototype=new f;f.prototype=null}return c}},1212:(e,r,t)=>{"use strict";var s=t(3136);e.exports=Function.prototype.bind||s},6929:(e,r,t)=>{"use strict";e.exports=t(3676)},3270:(e,r,t)=>{"use strict";var s=Function.prototype.call;var a=Object.prototype.hasOwnProperty;var n=t(1212);e.exports=n.call(s,a)},2873:(e,r,t)=>{"use strict";var s=t(3270);function specifierIncluded(e,r){var t=e.split(".");var s=r.split(" ");var a=s.length>1?s[0]:"=";var n=(s.length>1?s[1]:s[0]).split(".");for(var o=0;o<3;++o){var i=parseInt(t[o]||0,10);var l=parseInt(n[o]||0,10);if(i===l){continue}if(a==="<"){return i<l}if(a===">="){return i>=l}return false}return a===">="}function matchesRange(e,r){var t=r.split(/ ?&& ?/);if(t.length===0){return false}for(var s=0;s<t.length;++s){if(!specifierIncluded(e,t[s])){return false}}return true}function versionIncluded(e,r){if(typeof r==="boolean"){return r}var t=typeof e==="undefined"?process.versions&&process.versions.node:e;if(typeof t!=="string"){throw new TypeError(typeof e==="undefined"?"Unable to determine current node version":"If provided, a valid node version is required")}if(r&&typeof r==="object"){for(var s=0;s<r.length;++s){if(matchesRange(t,r[s])){return true}}return false}return matchesRange(t,r)}var a=t(765);e.exports=function isCore(e,r){return s(a,e)&&versionIncluded(r,a[e])}},8874:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;r.matchToToken=function(e){var r={type:"invalid",value:e[0],closed:undefined};if(e[1])r.type="string",r.closed=!!(e[3]||e[4]);else if(e[5])r.type="comment";else if(e[6])r.type="comment",r.closed=!!e[7];else if(e[8])r.type="regex";else if(e[9])r.type="number";else if(e[10])r.type="name";else if(e[11])r.type="punctuator";else if(e[12])r.type="whitespace";return r}},3079:e=>{var r="Expected a function";var t=0/0;var s="[object Symbol]";var a=/^\s+|\s+$/g;var n=/^[-+]0x[0-9a-f]+$/i;var o=/^0b[01]+$/i;var i=/^0o[0-7]+$/i;var l=parseInt;var c=typeof global=="object"&&global&&global.Object===Object&&global;var d=typeof self=="object"&&self&&self.Object===Object&&self;var u=c||d||Function("return this")();var p=Object.prototype;var f=p.toString;var y=Math.max,g=Math.min;var now=function(){return u.Date.now()};function debounce(e,t,s){var a,n,o,i,l,c,d=0,u=false,p=false,f=true;if(typeof e!="function"){throw new TypeError(r)}t=toNumber(t)||0;if(isObject(s)){u=!!s.leading;p="maxWait"in s;o=p?y(toNumber(s.maxWait)||0,t):o;f="trailing"in s?!!s.trailing:f}function invokeFunc(r){var t=a,s=n;a=n=undefined;d=r;i=e.apply(s,t);return i}function leadingEdge(e){d=e;l=setTimeout(timerExpired,t);return u?invokeFunc(e):i}function remainingWait(e){var r=e-c,s=e-d,a=t-r;return p?g(a,o-s):a}function shouldInvoke(e){var r=e-c,s=e-d;return c===undefined||r>=t||r<0||p&&s>=o}function timerExpired(){var e=now();if(shouldInvoke(e)){return trailingEdge(e)}l=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){l=undefined;if(f&&a){return invokeFunc(e)}a=n=undefined;return i}function cancel(){if(l!==undefined){clearTimeout(l)}d=0;a=c=n=l=undefined}function flush(){return l===undefined?i:trailingEdge(now())}function debounced(){var e=now(),r=shouldInvoke(e);a=arguments;n=this;c=e;if(r){if(l===undefined){return leadingEdge(c)}if(p){l=setTimeout(timerExpired,t);return invokeFunc(c)}}if(l===undefined){l=setTimeout(timerExpired,t)}return i}debounced.cancel=cancel;debounced.flush=flush;return debounced}function isObject(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&f.call(e)==s}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return t}if(isObject(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(r)?r+"":r}if(typeof e!="string"){return e===0?e:+e}e=e.replace(a,"");var s=o.test(e);return s||i.test(e)?l(e.slice(2),s?2:8):n.test(e)?t:+e}e.exports=debounce},5536:function(e,r,t){e=t.nmd(e);
6/**

Callers

nothing calls this directly

Calls 12

replaceWithMethod · 0.80
bFunction · 0.70
gFunction · 0.70
maybeInjectPureFunction · 0.70
_extendsFunction · 0.70
isRegeneratorFunction · 0.70
getMethod · 0.65
tFunction · 0.50
kFunction · 0.50
eFunction · 0.50
sliceMethod · 0.45

Tested by

no test coverage detected