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

Method addHelper

packages/next/src/compiled/babel/bundle.js:215–215  ·  packages/next/src/compiled/babel/bundle.js::Hub.addHelper
()

Source from the content-addressed store, hash-verified

213 ${p}
214 })(${a} || (${n.types.cloneNode(a)} = ${d}));
215 `}},8782:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});var n=r(9045);var s=r(7687);r(2698);var i=r(7179);var a=r(3146);function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var o=_interopDefault(s);var l=_interopDefault(i);const c=new a.OptionValidator(class="st">"@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:r,onlyRemoveTypeImports:n}=e;const s={ignoreExtensions:class="st">"ignoreExtensions",allowNamespaces:class="st">"allowNamespaces",disallowAmbiguousJSXLike:class="st">"disallowAmbiguousJSXLike",jsxPragma:class="st">"jsxPragma",jsxPragmaFrag:class="st">"jsxPragmaFrag",onlyRemoveTypeImports:class="st">"onlyRemoveTypeImports",optimizeConstEnums:class="st">"optimizeConstEnums",rewriteImportExtensions:class="st">"rewriteImportExtensions",allExtensions:class="st">"allExtensions",isTSX:class="st">"isTSX"};const i=c.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,class="st">"React.Fragment");{var a=c.validateBooleanOption(s.allExtensions,e.allExtensions,false);var o=c.validateBooleanOption(s.isTSX,e.isTSX,false);if(o){c.invariant(a,class="st">"isTSX:true requires allExtensions:true")}}const l=c.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,false);const p=c.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,false);if(p){{c.invariant(a,class="st">"disallowAmbiguousJSXLike:true requires allExtensions:true")}}const u=c.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,false);const d=c.validateBooleanOption(s.rewriteImportExtensions,e.rewriteImportExtensions,false);const f={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:p,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:u,rewriteImportExtensions:d};{f.allExtensions=a;f.isTSX=o}return f}var p=n.declare((function({types:e,template:t}){function maybeReplace(r,n,s){if(!r)return;if(e.isStringLiteral(r)){if(/^\.\.?\class="cm">//.test(r.value)){r.value=r.value.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,(function(e,t,r,n,s){return t?class="st">".js":r&&(!n||!s)?e:r+n+class="st">"."+s.toLowerCase()+class="st">"js"}))}return}if(s.availableHelper(class="st">"tsRewriteRelativeImportExtensions")){n.replaceWith(e.callExpression(s.addHelper(class="st">"tsRewriteRelativeImportExtensions"),[r]))}else{n.replaceWith(t.expression.ast`(${r} + class="st">"").replace(/([\\/].*\.[mc]?)tsx?$/, class="st">"$1js")`)}}return{name:class="st">"preset-typescript/plugin-rewrite-ts-imports",visitor:{class="st">"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(t,r){const n=t.node;const s=e.isImportDeclaration(n)?n.importKind:n.exportKind;if(s===class="st">"value"){maybeReplace(n.source,t.get(class="st">"source"),r)}},CallExpression(t,r){if(e.isImport(t.node.callee)){maybeReplace(t.node.arguments[0],t.get(class="st">"arguments.0"),r)}},ImportExpression(e,t){maybeReplace(e.node.source,e.get(class="st">"source"),t)}}}}));var u=n.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:d,optimizeConstEnums:f,rewriteImportExtensions:h}=normalizeOptions(t);const pluginOptions=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:d,optimizeConstEnums:f});const getPlugins=(e,t)=>{{return[[o.default,Object.assign({isTSX:e},pluginOptions(t))]]}};const m=r||n;return{plugins:h?[p]:[],overrides:m?[{plugins:getPlugins(a,i)}]:[{test:/\.ts$/,plugins:getPlugins(false,false)},{test:/\.mts$/,sourceType:class="st">"module",plugins:getPlugins(false,true)},{test:/\.cts$/,sourceType:class="st">"unambiguous",plugins:[[l.default,{allowTopLevelThis:true}],[o.default,pluginOptions(true)]]},{test:/\.tsx$/,plugins:getPlugins(true,false)}]}}));t[class="st">"default"]=u},3725:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=createTemplateBuilder;var n=r(6657);var s=r(1510);var i=r(8671);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign(((t,...a)=>{if(typeof t===class="st">"string"){if(a.length>1)throw new Error(class="st">"Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t===class="st">"object"&&t){if(a.length>0)throw new Error(class="st">"Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t===class="st">"string"){if(r.length>1)throw new Error(class="st">"Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t=class="st">"";try{throw new Error}catch(e){if(e.stack){t=e.stack.split(class="st">"\n").slice(3).join(class="st">"\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},4792:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(3061);const{assertExpressionStatement:s}=n;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const i=t.smart=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));const a=t.statements=makeStatementFormatter((e=>e));const o=t.statement=makeStatementFormatter((e=>{if(e.length===0){throw new Error(class="st">"Found nothing to return.")}if(e.length>1){throw new Error(class="st">"Found multiple statements but wanted one")}return e[0]}));const l=t.expression={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error(class="st">"Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error(class="st">"Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;s(t);return t.expression}};const c=t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},5326:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t[class="st">"default"]=void 0;var n=r(4792);var s=r(3725);const i=t.smart=(0,s.default)(n.smart);const a=t.statement=(0,s.default)(n.statement);const o=t.statements=(0,s.default)(n.statements);const l=t.expression=(0,s.default)(n.expression);const c=t.program=(0,s.default)(n.program);var p=t[class="st">"default"]=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:c,ast:i.ast})},8671:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=literalTemplate;var n=r(6657);var s=r(2082);var i=r(9534);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[a[t]]=e}));return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach((e=>{if(hasOwnProperty.call(r,e)){throw new Error(class="st">"Unexpected replacement overlap.")}}))}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n=class="st">"BABEL_TPL$";const i=t.join(class="st">"");do{n=class="st">"$$"+n}while(i.includes(n));const{names:a,code:o}=buildTemplateCode(t,n);const l=(0,s.default)(e,e.code(o),{parser:r.parser,placeholderWhitelist:new Set(a.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders});return{metadata:l,names:a}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;r.push(i);n+=i+e[s]}return{names:r,code:n}}},6657:(e,t)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=[class="st">"placeholderWhitelist",class="st">"placeholderPattern",class="st">"preserveComments",class="st">"syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!==class="st">"object"){throw new Error(class="st">"Unknown template options.")}const t=e||{},{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=t,o=_objectWithoutPropertiesLoose(t,r);if(n!=null&&!(n instanceof Set)){throw new Error(class="st">"'.placeholderWhitelist' must be a Set, null, or undefined")}if(s!=null&&!(s instanceof RegExp)&&s!==false){throw new Error(class="st">"'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!==class="st">"boolean"){throw new Error(class="st">"'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!==class="st">"boolean"){throw new Error(class="st">"'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(n!=null||s!=null)){throw new Error(class="st">"'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+class="st">" with '.syntacticPlaceholders: true'")}return{parser:o,placeholderWhitelist:n||undefined,placeholderPattern:s==null?undefined:s,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e[class="st">"$"+r]=t;return e}),{})}else if(typeof e===class="st">"object"||e==null){return e||undefined}throw new Error(class="st">"Template replacements must be an array, object, null, or undefined")}},2082:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=parseAndBuildMetadata;var n=r(3061);var s=r(9849);var i=r(3554);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:p,isNewExpression:u,isPlaceholder:d,isStatement:f,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n;const g=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r;const o=parseWithCodeFrame(t,r.parser,a);m(o,{preserveComments:i});e.validate(o);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a};y(o,placeholderVisitorHandler,l);return Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,t,r){var n;let s;let i=r.syntactic.placeholders.length>0;if(d(e)){if(r.syntacticPlaceholders===false){throw new Error(class="st">"%%foo%%-style placeholders can't be used when "+class="st">"'.syntacticPlaceholders' is false.")}s=e.name.name;i=true}else if(i||r.syntacticPlaceholders){return}else if(c(e)||p(e)){s=e.name}else if(h(e)){s=e.value}else{return}if(i&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error(class="st">"'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+class="st">" with '.syntacticPlaceholders: true'")}if(!i&&(r.placeholderPattern===false||!(r.placeholderPattern||g).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s))){return}t=t.slice();const{node:m,key:y}=t[t.length-1];let b;if(h(e)||d(e,{expectedNode:class="st">"StringLiteral"})){b=class="st">"string"}else if(u(m)&&y===class="st">"arguments"||a(m)&&y===class="st">"arguments"||l(m)&&y===class="st">"params"){b=class="st">"param"}else if(o(m)&&!d(e)){b=class="st">"statement";t=t.slice(0,-1)}else if(f(e)&&d(e)){b=class="st">"statement"}else{b=class="st">"other"}const{placeholders:T,placeholderNames:S}=!i?r.legacy:r.syntactic;T.push({name:s,type:b,resolve:e=>resolveAncestors(e,t),isDuplicate:S.has(s)});S.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:s}=t[e];if(s===undefined){r=r[n]}else{r=r[n][s]}}const{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function parseWithCodeFrame(e,t,r){const n=(t.plugins||[]).slice();if(r!==false){n.push(class="st">"placeholders")}t=Object.assign({allowAwaitOutsideFunction:true,allowReturnOutsideFunction:true,allowNewTargetOutsideFunction:true,allowSuperOutsideMethod:true,allowYieldOutsideFunction:true,sourceType:class="st">"module"},t,{plugins:n});try{return(0,s.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+=class="st">"\n"+(0,i.codeFrameColumns)(e,{start:r});t.code=class="st">"BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},9534:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=populatePlaceholders;var n=r(3061);const{blockStatement:s,cloneNode:i,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:p,stringLiteral:u,validate:d}=n;function populatePlaceholders(e,t){const r=i(e.ast);if(t){e.placeholders.forEach((e=>{if(!hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for class="st">"${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set([class="st">'${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution class="st">"${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder class="st">"${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>i(e)))}else if(typeof r===class="st">"object"){r=i(r)}}const{parent:n,key:f,index:h}=e.resolve(t);if(e.type===class="st">"string"){if(typeof r===class="st">"string"){r=u(r)}if(!r||!p(r)){throw new Error(class="st">"Expected string substitution")}}else if(e.type===class="st">"statement"){if(h===undefined){if(!r){r=a()}else if(Array.isArray(r)){r=s(r)}else if(typeof r===class="st">"string"){r=o(l(r))}else if(!c(r)){r=o(r)}}else{if(r&&!Array.isArray(r)){if(typeof r===class="st">"string"){r=l(r)}if(!c(r)){r=o(r)}}}}else if(e.type===class="st">"param"){if(typeof r===class="st">"string"){r=l(r)}if(h===undefined)throw new Error(class="st">"Assertion failure.")}else{if(typeof r===class="st">"string"){r=l(r)}if(Array.isArray(r)){throw new Error(class="st">"Cannot replace single expression with an array.")}}function set(e,t,r){const n=e[t];e[t]=r;if(n.type===class="st">"Identifier"||n.type===class="st">"Placeholder"){if(n.typeAnnotation){r.typeAnnotation=n.typeAnnotation}if(n.optional){r.optional=n.optional}if(n.decorators){r.decorators=n.decorators}}}if(h===undefined){d(n,f,r);set(n,f,r)}else{const t=n[f].slice();if(e.type===class="st">"statement"||e.type===class="st">"param"){if(r==null){t.splice(h,1)}else if(Array.isArray(r)){t.splice(h,1,...r)}else{set(t,h,r)}}else{set(t,h,r)}d(n,f,t);n[f]=t}}},1510:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=stringTemplate;var n=r(6657);var s=r(2082);var i=r(9534);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},8099:(e,t)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.getCachedPaths=getCachedPaths;t.getOrCreateCachedPaths=getOrCreateCachedPaths;t.scope=t.path=void 0;let r=t.path=new WeakMap;let n=t.scope=new WeakMap;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}const s=Object.freeze({});function getCachedPaths(e,t){var n;{e=null}return(n=r.get(e!=null?e:s))==null?void 0:n.get(t)}function getOrCreateCachedPaths(e,t){{e=null}let n=r.get(e!=null?e:s);if(!n)r.set(e!=null?e:s,n=new WeakMap);let i=n.get(t);if(!i)n.set(t,i=new Map);return i}},5530:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=void 0;var n=r(9111);var s=r(3061);var i=r(4144);const{VISITOR_KEYS:a}=s;class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=a[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t]){return true}}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i&&this.shouldVisit(i)){n.push(this.create(t,e,s,r))}}return this.visitQueue(n)}visitSingle(e,t){if(this.shouldVisit(e[t])){return this.visitQueue([this.create(e,e,t)])}else{return false}}visitQueue(e){this.queue=e;this.priorityQueue=[];const t=new WeakSet;let r=false;let n=0;for(;n<e.length;){const s=e[n];n++;i.resync.call(s);if(s.contexts.length===0||s.contexts[s.contexts.length-1]!==this){i.pushContext.call(s,this)}if(s.key===null)continue;const{node:a}=s;if(t.has(a))continue;if(a)t.add(a);if(s.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(let t=0;t<n;t++){i.popContext.call(e[t])}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t[class="st">"default"]=TraversalContext},6903:(e,t)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t[class="st">"default"]=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error(class="st">"Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t[class="st">"default"]=Hub},8026:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});Object.defineProperty(t,class="st">"Hub",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,class="st">"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,class="st">"Scope",{enumerable:true,get:function(){return l.default}});t.visitors=t[class="st">"default"]=void 0;r(4144);var n=r(5621);t.visitors=n;var s=r(3061);var i=r(8099);var a=r(6265);var o=r(9111);var l=r(9877);var c=r(6903);const{VISITOR_KEYS:p,removeProperties:u,traverseFast:d}=s;function traverse(e,t={},r,s,i,o){if(!e)return;if(!t.noScope&&!r){if(e.type!==class="st">"Program"&&e.type!==class="st">"File"){throw new Error(class="st">"You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+class="st">"passing scope and parentPath.")}}if(!i&&o){throw new Error(class="st">"visitSelf can only be used when providing a NodePath.")}if(!p[e.type]){return}n.explode(t);(0,a.traverseNode)(e,t,r,s,i,null,o)}var f=t[class="st">"default"]=traverse;traverse.visitors=n;traverse.verify=n.verify;traverse.explode=n.explode;traverse.cheap=function(e,t){d(e,t);return};traverse.node=function(e,t,r,n,s,i){(0,a.traverseNode)(e,t,r,n,s,i)};traverse.clearNode=function(e,t){u(e,t)};traverse.removeProperties=function(e,t){d(e,traverse.clearNode,t);return e};traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;return d(e,(function(e){if(r!=null&&r.includes(e.type)){return d.skip}if(e.type===t){return d.stop}}))};traverse.cache=i},8073:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.find=find;t.findParent=findParent;t.getAncestry=getAncestry;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.inType=inType;t.isAncestor=isAncestor;t.isDescendant=isDescendant;var n=r(3061);const{VISITOR_KEYS:s}=n;function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent((e=>e.isFunction()))}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error(class="st">"File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let n;const i=s[e.type];for(const e of r){const r=e[t+1];if(!n){n=r;continue}if(r.listKey&&n.listKey===r.listKey){if(r.key<n.key){n=r;continue}}const s=i.indexOf(n.parentKey);const a=i.indexOf(r.parentKey);if(s>a){n=r}}return n}))}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.length<r){r=t.length}return t}));const a=i[0];e:for(let e=0;e<r;e++){const t=a[e];for(const r of i){if(r[e]!==t){break e}}n=e;s=t}if(s){if(t){return t(s,n,i)}else{return s}}else{throw new Error(class="st">"Couldn't find intersection")}}function getAncestry(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t}function isAncestor(e){return e.isDescendant(this)}function isDescendant(e){return!!this.findParent((t=>t===e))}function inType(...e){let t=this;while(t){if(e.includes(t.node.type))return true;t=t.parentPath}return false}},3162:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t.addComment=addComment;t.addComments=addComments;t.shareCommentsWithSiblings=shareCommentsWithSiblings;var n=r(3061);const{addComment:s,addComments:i}=n;function shareCommentsWithSiblings(){if(typeof this.key===class="st">"string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i){if(r){n.addComments(class="st">"trailing",removeIfExisting(r,n.node.trailingComments))}if(t&&!a)n.addComments(class="st">"trailing",t)}if(a){if(t){s.addComments(class="st">"leading",removeIfExisting(t,s.node.leadingComments))}if(r&&!i)s.addComments(class="st">"leading",r)}}function removeIfExisting(e,t){if(!(t!=null&&t.length))return e;const r=new Set(t);return e.filter((e=>!r.has(e)))}function addComment(e,t,r){s(this.node,e,t,r)}function addComments(e,t){i(this.node,e,t)}},4144:(e,t,r)=>{class="st">"use strict";Object.defineProperty(t,class="st">"__esModule",{value:true});t._call=_call;t._getQueueContexts=_getQueueContexts;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncParent=_resyncParent;t._resyncRemoved=_resyncRemoved;t.call=call;t.isDenylisted=isDenylisted;t.popContext=popContext;t.pushContext=pushContext;t.requeue=requeue;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;t.resync=resync;t.setContext=setContext;t.setKey=setKey;t.setScope=setScope;t.setup=setup;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.visit=visit;var n=r(6265);var s=r(9111);var i=r(6035);var a=r(3061);function call(e){const t=this.opts;this.debug(e);if(this.node){if(_call.call(this,t[e]))return true}if(this.node){var r;return _call.call(this,(r=t[this.node.type])==null?void 0:r[e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r===class="st">"object"&&typeof r.then===class="st">"function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If youclass="st">'re using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t==null?void 0:t.includes(this.node.type)}{t.isBlacklisted=isDenylisted}function restoreContext(e,t){if(e.context!==t){e.context=t;e.state=t.state;e.opts=t.opts}}function visit(){var e,t;if(!this.node){return false}if(this.isDenylisted()){return false}if((e=(t=this.opts).shouldSkip)!=null&&e.call(t,this)){return false}const r=this.context;if(this.shouldSkip||call.call(this,"enter")){this.debug("Skip...");return this.shouldStop}restoreContext(this,r);this.debug("Recursing into...");this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys);restoreContext(this,r);call.call(this,"exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){var e,t;if((e=this.opts)!=null&&e.noScope)return;let r=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement()){r=r.parentPath}let n;while(r&&!n){var s;if((s=r.opts)!=null&&s.noScope)return;n=r.scope;r=r.parentPath}this.scope=this.getScope(n);(t=this.scope)==null||t.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}setScope.call(this);return this}function resync(){if(this.removed)return;_resyncParent.call(this);_resyncList.call(this);_resyncKey.call(this)}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key]){return}if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++){if(this.container[e]===this.node){setKey.call(this,e);return}}}else{for(const e of Object.keys(this.container)){if(this.container[e]===this.node){setKey.call(this,e);return}}}this.key=null}function _resyncList(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null}function _resyncRemoved(){if(this.key==null||!this.container||this.container[this.key]!==this.node){i._markRemoved.call(this)}}function popContext(){this.contexts.pop();if(this.contexts.length>0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;setKey.call(this,n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function requeueComputedKeyAndDecorators(){const{context:e,node:t}=this;if(!a.isPrivate(t)&&t.computed){e.maybeQueue(this.get("key"))}if(t.decorators){for(const t of this.get("decorators")){e.maybeQueue(t)}}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},2919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrowFunctionToExpression=arrowFunctionToExpression;t.ensureBlock=ensureBlock;t.ensureFunctionName=ensureFunctionName;t.splitExportDeclaration=splitExportDeclaration;t.toComputedKey=toComputedKey;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;var n=r(3061);var s=r(5326);var i=r(5621);var a=r(4144);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:p,callExpression:u,conditionalExpression:d,expressionStatement:f,identifier:h,isIdentifier:m,jsxIdentifier:y,logicalExpression:g,LOGICAL_OPERATORS:b,memberExpression:T,metaProperty:S,numericLiteral:x,objectExpression:E,restElement:P,returnStatement:v,sequenceExpression:A,spreadElement:w,stringLiteral:I,super:C,thisExpression:O,toExpression:N,unaryExpression:k,toBindingIdentifierName:_,isFunction:D,isAssignmentPattern:M,isRestElement:L,getFunctionName:j,cloneNode:F,variableDeclaration:B,variableDeclarator:R,exportNamedDeclaration:U,exportSpecifier:K,inherits:V}=n;function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(m(e))e=I(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statementclass="st">")}if(!t){throw new Error("Canclass="st">'t convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let n="body";let s;let i;if(e.isStatement()){i="body";s=0;r.push(e.node)}else{n+=".body.0";if(this.isFunction()){s="argument";r.push(v(e.node))}else{s="expression";r.push(f(e.node))}}this.node.body=p(r);const o=this.get(n);a.setup.call(e,o,i?o.node[i]:o.node,i,s);return this.node}{t.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function setType(e,t){e.node.type=t}function arrowFunctionToExpression({allowInsertArrow:e=true,allowInsertArrowWithRest:t=e,noNewArrows:r=!(e=>(e=arguments[0])==null?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}let n=this;if(!r){var s;n=(s=n.ensureFunctionName(false))!=null?s:n}const{thisBinding:i,fnPath:a}=hoistFunctionEnvironment(n,r,e,t);a.ensureBlock();setType(a,"FunctionExpression");if(!r){const e=i?null:a.scope.generateUidIdentifier("arrowCheckId");if(e){a.parentPath.scope.push({id:e,init:E([])})}a.get("body").unshiftContainer("body",f(u(this.hub.addHelper("newArrowCheck"),[O(),e?h(e.name):h(i)])));a.replaceWith(u(T(a.node,h("bind")),[e?h(e.name):O()]));return a.get("callee.object")}return a}const W=(0,i.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){if(!e.get("callee").isSuper())return;t.push(e)}});function hoistFunctionEnvironment(e,t=true,r=true,n=true){let s;let i=e.findParent((e=>{if(e.isArrowFunctionExpression()){s!=null?s:s=e;return false}return e.isFunction()||e.isProgram()||e.isClassProperty({static:false})||e.isClassPrivateProperty({static:false})}));const a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty()){if(s){i=s}else if(r){e.replaceWith(u(o([],N(e.node)),[]));i=e.get("callee");e=i.get("body")}else{throw e.buildCodeFrameError("Unable to transform arrow inside class property")}}const{thisPaths:l,argumentsPaths:p,newTargetPaths:f,superProps:m,superCalls:g}=getScopeInformation(e);if(a&&g.length>0){if(!r){throw g[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functionsclass="st">', "+"it's not possible to compile `super()` in an arrow function without compiling classes.\nclass="st">"+"Please add class="st">'@babel/plugin-transform-classes' to your Babel configuration.class="st">")}if(!n){throw g[0].buildCodeFrameError("When using class="st">'@babel/plugin-transform-parameters', class="st">"+"itclass="st">'s not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\n"+"Please add '@babel/plugin-transform-classesclass="st">' to your Babel configuration.")}const e=[];i.traverse(W,{allSuperCalls:e});const t=getSuperBinding(i);e.forEach((e=>{const r=h(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)}))}if(p.length>0){const e=getBinding(i,"arguments",(()=>{const args=()=>h("arguments");if(i.scope.path.isProgram()){return d(c("===",k("typeof",args()),I("undefined")),i.scope.buildUndefinedNode(),args())}else{return args()}}));p.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(f.length>0){const e=getBinding(i,"newtarget",(()=>S(h("new"),h("target"))));f.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(m.length>0){if(!r){throw m[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functionsclass="st">', "+"it's not possible to compile `super.prop` in an arrow function without compiling classes.\nclass="st">"+"Please add class="st">'@babel/plugin-transform-classes' to your Babel configuration.class="st">")}const e=m.reduce(((e,t)=>e.concat(standardizeSuperProperty(t))),[]);e.forEach((e=>{const t=e.node.computed?"class="st">":e.get("propertyclass="st">").node.name;const r=e.parentPath;const n=r.isAssignmentExpression({left:e.node});const s=r.isCallExpression({callee:e.node});const a=r.isTaggedTemplateExpression({tag:e.node});const o=getSuperPropBinding(i,n,t);const c=[];if(e.node.computed){c.push(e.get("propertyclass="st">").node)}if(n){const e=r.node.right;c.push(e)}const p=u(h(o),c);if(s){r.unshiftContainer("argumentsclass="st">",O());e.replaceWith(T(p,h("callclass="st">")));l.push(r.get("arguments.0class="st">"))}else if(n){r.replaceWith(p)}else if(a){e.replaceWith(u(T(p,h("bindclass="st">"),false),[O()]));l.push(e.get("arguments.0class="st">"))}else{e.replaceWith(p)}}))}let b;if(l.length>0||!t){b=getThisBinding(i,a);if(t||a&&hasSuperClass(i)){l.forEach((e=>{const t=e.isJSX()?y(b):h(b);t.loc=e.node.loc;e.replaceWith(t)}));if(!t)b=null}}return{thisBinding:b,fnPath:e}}function isLogicalOp(e){return b.includes(e)}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="=class="st">"){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const n=t.node.right;const s=isLogicalOp(r);if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmpclass="st">");const a=e.node.object;const o=e.node.property;t.get("leftclass="st">").replaceWith(T(a,l("=class="st">",i,o),true));t.get("rightclass="st">").replaceWith(rightExpression(s?"=class="st">":r,T(a,h(i.name),true),n))}else{const i=e.node.object;const a=e.node.property;t.get("leftclass="st">").replaceWith(T(i,a));t.get("rightclass="st">").replaceWith(rightExpression(s?"=class="st">":r,T(i,h(a.name)),n))}if(s){t.replaceWith(g(r,t.node.left,t.node.right))}else{t.node.operator="=class="st">"}return[t.get("leftclass="st">"),t.get("rightclass="st">").get("leftclass="st">")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmpclass="st">");const n=e.node.computed?e.scope.generateDeclaredUidIdentifier("propclass="st">"):null;const s=[l("=class="st">",r,T(e.node.object,n?l("=class="st">",n,e.node.property):e.node.property,e.node.computed)),l("=class="st">",T(e.node.object,n?h(n.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],h(r.name),x(1)))];if(!e.parentPath.node.prefix){s.push(h(r.name))}t.replaceWith(A(s));const i=t.get("expressions.0.rightclass="st">");const a=t.get("expressions.1.leftclass="st">");return[i,a]}return[e];function rightExpression(e,t,r){if(e==="=class="st">"){return l("=class="st">",t,r)}else{return c(e,t,r)}}}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const $=(0,i.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:r}){if(!e.get("calleeclass="st">").isSuper())return;if(t.has(e.node))return;t.add(e.node);e.replaceWithMultiple([e.node,l("=class="st">",h(r),h("thisclass="st">"))])}});function getThisBinding(e,t){return getBinding(e,"thisclass="st">",(r=>{if(!t||!hasSuperClass(e))return O();e.traverse($,{supers:new WeakSet,thisBinding:r})}))}function getSuperBinding(e){return getBinding(e,"supercallclass="st">",(()=>{const t=e.scope.generateUidIdentifier("argsclass="st">");return o([P(t)],u(C(),[w(h(t.name))]))}))}function getSuperPropBinding(e,t,r){const n=t?"setclass="st">":"getclass="st">";return getBinding(e,`superprop_${n}:${r||"class="st">"}`,(()=>{const n=[];let s;if(r){s=T(C(),h(r))}else{const t=e.scope.generateUidIdentifier("propclass="st">");n.unshift(t);s=T(C(),h(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("valueclass="st">");n.push(t);s=l("=class="st">",s,h(t.name))}return o(n,s)}))}function getBinding(e,t,r){const n="binding:class="st">"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}const q=(0,i.environmentVisitor)({ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){if(e.node.name!=="thisclass="st">")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e,{superCalls:t}){if(e.get("calleeclass="st">").isSuper())t.push(e)},MemberExpression(e,{superProps:t}){if(e.get("objectclass="st">").isSuper())t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"argumentsclass="st">"}))return;let r=e.scope;do{if(r.hasOwnBinding("argumentsclass="st">")){r.rename("argumentsclass="st">");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){if(!e.get("metaclass="st">").isIdentifier({name:"newclass="st">"}))return;if(!e.get("propertyclass="st">").isIdentifier({name:"targetclass="st">"}))return;t.push(e)}});function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse(q,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}function splitExportDeclaration(){if(!this.isExportDeclaration()||this.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.class="st">")}if(this.isExportNamedDeclaration()&&this.get("specifiersclass="st">").length>0){throw new Error("It doesnclass="st">'t make sense to split exported specifiers.")}const e=this.get("declaration");if(this.isExportDefaultDeclaration()){const t=e.isFunctionDeclaration()||e.isClassDeclaration();const r=e.isFunctionExpression()||e.isClassExpression();const n=e.isScope()?e.scope.parent:e.scope;let s=e.node.id;let i=false;if(!s){i=true;s=n.generateUidIdentifier("default");if(t||r){e.node.id=F(s)}}else if(r&&n.hasBinding(s.name)){i=true;s=n.generateUidIdentifier(s.name)}const a=t?e.node:B("var",[R(F(s),e.node)]);const o=U(null,[K(F(s),h("default"))]);this.insertAfter(o);this.replaceWith(a);if(i){n.registerDeclaration(this)}return this}else if(this.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.class="st">")}const t=e.getOuterBindingIdentifiers();const r=Object.keys(t).map((e=>K(h(e),h(e))));const n=U(null,r);this.insertAfter(n);this.replaceWith(e.node);return this}const H={"ReferencedIdentifier|BindingIdentifierclass="st">"(e,t){if(e.node.name!==t.name)return;t.needsRename=true;e.stop()},Scope(e,t){if(e.scope.hasOwnBinding(t.name)){e.skip()}}};function ensureFunctionName(e){if(this.node.id)return this;const t=j(this.node,this.parent);if(t==null)return this;let{name:r}=t;if(!e&&/[\uD800-\uDFFF]/.test(r)){return null}if(r.startsWith("get class="st">")||r.startsWith("set class="st">")){return null}r=_(r.replace(/[/ ]/g,"_class="st">"));const n=h(r);V(n,t.originalNode);const i={needsRename:false,name:r};const{scope:a}=this;const o=a.getOwnBinding(r);if(o){if(o.kind==="paramclass="st">"){i.needsRename=true}else{}}else if(a.parent.hasBinding(r)||a.hasGlobal(r)){this.traverse(H,i)}if(!i.needsRename){this.node.id=n;a.getProgramParent().references[n.name]=true;return this}if(a.hasBinding(n.name)&&!a.hasGlobal(n.name)){a.rename(n.name);this.node.id=n;a.getProgramParent().references[n.name]=true;return this}if(!D(this.node))return null;const l=a.generateUidIdentifier(n.name);const c=[];for(let e=0,t=getFunctionArity(this.node);e<t;e++){c.push(a.generateUidIdentifier("x"))}const p=s.default.expression.ast`
216 (function (${l}) {
217 function ${n}(${c}) {
218 return ${F(l)}.apply(this, arguments);

Callers 15

addDecorateHelperFunction · 0.45
createToPropertyKeyCallFunction · 0.45
transformClassFunction · 0.45
createLocalsAssignmentFunction · 0.45
buildPrivateNamesNodesFunction · 0.45
buildCheckInRHSFunction · 0.45
readOnlyErrorFunction · 0.45
writeOnlyErrorFunction · 0.45
packages-bundle.jsFile · 0.45
destructureSetFunction · 0.45
getFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected