pptclaw 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/BAtwhwpp.js +1 -0
  3. package/.output/public/_nuxt/BEQoYl5X.js +2616 -0
  4. package/.output/public/_nuxt/BMr1Z083.js +1 -0
  5. package/.output/public/_nuxt/BXBiPOBE.js +1 -0
  6. package/.output/public/_nuxt/BuUsXmAh.js +1 -0
  7. package/.output/public/_nuxt/CPsbnj8a.js +1 -0
  8. package/.output/public/_nuxt/D9BEMGXo.js +1 -0
  9. package/.output/public/_nuxt/DQNz2huy.js +1 -0
  10. package/.output/public/_nuxt/DQxlKO7N.js +1 -0
  11. package/.output/public/_nuxt/_id_.C3K2GZV8.css +1 -0
  12. package/.output/public/_nuxt/builds/latest.json +1 -0
  13. package/.output/public/_nuxt/builds/meta/e405cd67-1e23-4b39-85e1-217b00c69ec7.json +1 -0
  14. package/.output/public/_nuxt/entry.BqkL7BC_.css +1 -0
  15. package/.output/public/_nuxt/error-404.BzoSHD6c.css +1 -0
  16. package/.output/public/_nuxt/error-500.DwAqVzgo.css +1 -0
  17. package/.output/public/_nuxt/j2eJltcB.js +2614 -0
  18. package/.output/public/alipay.svg +27 -0
  19. package/.output/public/android-chrome-192x192.png +0 -0
  20. package/.output/public/android-chrome-512x512.png +0 -0
  21. package/.output/public/animations/arrow.lottie +0 -0
  22. package/.output/public/animations/cubes.lottie +0 -0
  23. package/.output/public/animations/stars.lottie +0 -0
  24. package/.output/public/apple-touch-icon.png +0 -0
  25. package/.output/public/auth-bg.svg +30 -0
  26. package/.output/public/auth-logo.svg +4 -0
  27. package/.output/public/cursor.png +0 -0
  28. package/.output/public/customerServiceQr.png +0 -0
  29. package/.output/public/favicon-16x16.png +0 -0
  30. package/.output/public/favicon-32x32.png +0 -0
  31. package/.output/public/favicon.ico +0 -0
  32. package/.output/public/logo.svg +4 -0
  33. package/.output/public/rect.svg +9 -0
  34. package/.output/public/site.webmanifest +1 -0
  35. package/.output/public/templates.json +1623 -0
  36. package/.output/public/watermark.svg +7 -0
  37. package/.output/public/wechat-pay-sm.svg +9 -0
  38. package/.output/public/wechat-pay.svg +21 -0
  39. package/.output/server/chunks/_/error-500.mjs +1 -0
  40. package/.output/server/chunks/_/shared.cjs.prod.mjs +1 -0
  41. package/.output/server/chunks/build/client.precomputed.mjs +1 -0
  42. package/.output/server/chunks/nitro/nitro.mjs +1 -0
  43. package/.output/server/chunks/routes/api/auth/_...path_.mjs +1 -0
  44. package/.output/server/chunks/routes/api/auth/login.post.mjs +1 -0
  45. package/.output/server/chunks/routes/api/auth/logout.post.mjs +1 -0
  46. package/.output/server/chunks/routes/api/auth/user.get.mjs +1 -0
  47. package/.output/server/chunks/routes/api/cloud/_...path_.mjs +1 -0
  48. package/.output/server/chunks/routes/api/credits/_...path_.mjs +1 -0
  49. package/.output/server/chunks/routes/api/images/_...path_.mjs +1 -0
  50. package/.output/server/chunks/routes/api/payments/_...path_.mjs +1 -0
  51. package/.output/server/chunks/routes/api/public/ping.mjs +1 -0
  52. package/.output/server/chunks/routes/api/public/test.mjs +1 -0
  53. package/.output/server/chunks/routes/api/sync/assets/_session/_...filename_.get.mjs +1 -0
  54. package/.output/server/chunks/routes/api/sync/close.post.mjs +1 -0
  55. package/.output/server/chunks/routes/api/sync/open.post.mjs +1 -0
  56. package/.output/server/chunks/routes/api/sync/sessions.get.mjs +1 -0
  57. package/.output/server/chunks/routes/api/sync/switch.post.mjs +1 -0
  58. package/.output/server/chunks/routes/api/sync/upload.post.mjs +1 -0
  59. package/.output/server/chunks/routes/api/sync/validate.post.mjs +1 -0
  60. package/.output/server/chunks/routes/api/sync/ws.mjs +1 -0
  61. package/.output/server/chunks/routes/renderer.mjs +1 -0
  62. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +1 -0
  63. package/.output/server/index.mjs +1 -0
  64. package/README.md +49 -0
  65. package/bin/pptclaw.mjs +165 -0
  66. package/package.json +130 -0
@@ -0,0 +1 @@
1
+ import e from"node:process";globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:e.env};import{G as t,H as s,I as r,J as i,K as n,L as o,M as a,e as c,h as l,N as p,O as h,P as u,Q as d}from"../nitro/nitro.mjs";import{s as A}from"../_/shared.cjs.prod.mjs";import"node:http";import"node:https";import"node:crypto";import"stream";import"events";import"http";import"crypto";import"buffer";import"zlib";import"https";import"net";import"tls";import"url";import"node:events";import"node:buffer";import"node:fs";import"node:path";import"node:fs/promises";import"fs";import"fs/promises";import"path";import"node:stream";import"os";import"node:os";import"node:url";function getModuleDependencies(e,t){if(t._dependencies[e])return t._dependencies[e];const s=t._dependencies[e]={scripts:{},styles:{},preload:{},prefetch:{}};if(!t.manifest)return s;const r=t.manifest[e];if(!r)return s;r.file&&(s.preload[e]=r,(r.isEntry||r.sideEffects)&&(s.scripts[e]=r));for(const e of r.css||[])s.styles[e]=s.preload[e]=s.prefetch[e]=t.manifest[e];for(const e of r.assets||[])s.preload[e]=s.prefetch[e]=t.manifest[e];for(const e of r.imports||[]){const r=getModuleDependencies(e,t);for(const e in r.styles)s.styles[e]=r.styles[e];for(const e in r.preload)s.preload[e]=r.preload[e];for(const e in r.prefetch)s.prefetch[e]=r.prefetch[e]}const i={};for(const e in s.preload){const t=s.preload[e];t.preload&&(i[e]=t)}return s.preload=i,s}function getRequestDependencies(e,t){if(e._requestDependencies)return e._requestDependencies;const s=function(e,t){let s="";const r=[...e].sort();for(let e=0;e<r.length;e++)e>0&&(s+=","),s+=r[e];if(t._dependencySets[s])return t._dependencySets[s];const i={scripts:{},styles:{},preload:{},prefetch:{}};for(const s of e){const e=getModuleDependencies(s,t);for(const t in e.scripts)i.scripts[t]=e.scripts[t];for(const t in e.styles)i.styles[t]=e.styles[t];for(const t in e.preload)i.preload[t]=e.preload[t];for(const t in e.prefetch)i.prefetch[t]=e.prefetch[t];for(const e of t.manifest?.[s]?.dynamicImports||[]){const s=getModuleDependencies(e,t);for(const e in s.scripts)i.prefetch[e]=s.scripts[e];for(const e in s.styles)i.prefetch[e]=s.styles[e];for(const e in s.preload)i.prefetch[e]=s.preload[e]}}const n={};for(const e in i.prefetch){const t=i.prefetch[e];t.prefetch&&(n[e]=t)}i.prefetch=n;for(const e in i.preload)delete i.prefetch[e];for(const e in i.styles)delete i.preload[e],delete i.prefetch[e];return t._dependencySets[s]=i,i}(new Set(Array.from([...t._entrypoints,...e.modules||e._registeredComponents||[]])),t);return e._requestDependencies=s,s}function renderStyles(e,t){const{styles:s}=getRequestDependencies(e,t);let r="";for(const e in s){const i=s[e];r+=`<link rel="stylesheet" href="${t.buildAssetsURL(i.file)}" crossorigin>`}return r}function renderResourceHints(e,t){const{preload:s,prefetch:r}=getRequestDependencies(e,t);let i="";for(const e in s){const r=s[e],n=t.buildAssetsURL(r.file),o=r.module?"modulepreload":"preload",a="style"===r.resourceType||"font"===r.resourceType||"script"===r.resourceType||r.module?" crossorigin":"";r.resourceType&&r.mimeType?i+=`<link rel="${o}" as="${r.resourceType}" type="${r.mimeType}"${a} href="${n}">`:r.resourceType?i+=`<link rel="${o}" as="${r.resourceType}"${a} href="${n}">`:i+=`<link rel="${o}"${a} href="${n}">`}for(const e in r){const s=r[e],n=t.buildAssetsURL(s.file),o="style"===s.resourceType||"font"===s.resourceType||"script"===s.resourceType||s.module?" crossorigin":"";s.resourceType&&s.mimeType?i+=`<link rel="prefetch" as="${s.resourceType}" type="${s.mimeType}"${o} href="${n}">`:s.resourceType?i+=`<link rel="prefetch" as="${s.resourceType}"${o} href="${n}">`:i+=`<link rel="prefetch"${o} href="${n}">`}return i}function renderResourceHeaders(e,t){const{preload:s,prefetch:r}=getRequestDependencies(e,t),i=[];for(const e in s){const r=s[e];let n=`<${t.buildAssetsURL(r.file)}>; rel="${r.module?"modulepreload":"preload"}"`;r.resourceType&&(n+=`; as="${r.resourceType}"`),r.mimeType&&(n+=`; type="${r.mimeType}"`),("style"===r.resourceType||"font"===r.resourceType||"script"===r.resourceType||r.module)&&(n+="; crossorigin"),i.push(n)}for(const e in r){const s=r[e];let n=`<${t.buildAssetsURL(s.file)}>; rel="prefetch"`;s.resourceType&&(n+=`; as="${s.resourceType}"`),s.mimeType&&(n+=`; type="${s.mimeType}"`),("style"===s.resourceType||"font"===s.resourceType||"script"===s.resourceType||s.module)&&(n+="; crossorigin"),i.push(n)}return{link:i.join(", ")}}function getPreloadLinks(e,t){const{preload:s}=getRequestDependencies(e,t),r=[];for(const e in s){const i=s[e];r.push({rel:i.module?"modulepreload":"preload",as:i.resourceType,type:i.mimeType??null,crossorigin:"style"===i.resourceType||"font"===i.resourceType||"script"===i.resourceType||i.module?"":null,href:t.buildAssetsURL(i.file)})}return r}function getPrefetchLinks(e,t){const{prefetch:s}=getRequestDependencies(e,t),r=[];for(const e in s){const i=s[e];r.push({rel:"prefetch",as:i.resourceType,type:i.mimeType??null,crossorigin:"style"===i.resourceType||"font"===i.resourceType||"script"===i.resourceType||i.module?"":null,href:t.buildAssetsURL(i.file)})}return r}function renderScripts(e,t){const{scripts:s}=getRequestDependencies(e,t);let r="";for(const e in s){const i=s[e];i.module?r+=`<script type="module" src="${t.buildAssetsURL(i.file)}" crossorigin><\/script>`:r+=`<script src="${t.buildAssetsURL(i.file)}" defer crossorigin><\/script>`}return r}function createRenderer$1(e,s){const r=function({manifest:e,precomputed:s,buildAssetsURL:r}){if(!e&&!s)throw new Error("Either manifest or precomputed data must be provided");const i={buildAssetsURL:r||t,manifest:e,precomputed:s,updateManifest:updateManifest,_dependencies:{},_dependencySets:{},_entrypoints:[]};function updateManifest(e){const t=Object.entries(e);i.manifest=e,i._dependencies={},i._dependencySets={},i._entrypoints=t.filter(e=>e[1].isEntry).map(([e])=>e)}return s?(i._dependencies=s.dependencies,i._entrypoints=s.entrypoints):e&&updateManifest(e),i}(s);return{rendererContext:r,async renderToString(t){t._registeredComponents=t._registeredComponents||new Set;const i=await Promise.resolve(e).then(e=>"default"in e?e.default:e),n=await i(t),wrap=e=>()=>e(t,r);return{html:await s.renderToString(n,t),renderResourceHeaders:wrap(renderResourceHeaders),renderResourceHints:wrap(renderResourceHints),renderStyles:wrap(renderStyles),renderScripts:wrap(renderScripts)}}}}function flatHooks(e,t={},s){for(const r in e){const i=e[r],n=s?`${s}:${r}`:r;"object"==typeof i&&null!==i?flatHooks(i,t,n):"function"==typeof i&&(t[n]=i)}return t}const m=(()=>{if(console.createTask)return console.createTask;const e={run:e=>e()};return()=>e})();function callHooks(e,t,s,r){for(let i=s;i<e.length;i+=1)try{const s=r?r.run(()=>e[i](...t)):e[i](...t);if(s instanceof Promise)return s.then(()=>callHooks(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function serialTaskCaller(e,t,s){if(e.length>0)return callHooks(e,t,0,m(s))}function parallelTaskCaller(e,t,s){if(e.length>0){const r=m(s);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function callEachWith(e,t){for(const s of[...e])s(t)}var f=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,s={}){if(!e||"function"!=typeof t)return()=>{};const r=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!s.allowDeprecated){let e=i.message;e||(e=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,_function=(...e)=>("function"==typeof s&&s(),s=void 0,_function=void 0,t(...e));return s=this.hook(e,_function),s}removeHook(e,t){const s=this._hooks[e];if(s){const r=s.indexOf(t);-1!==r&&s.splice(r,1),0===s.length&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const s=this._hooks[e]||[];this._hooks[e]=void 0;for(const t of s)this.hook(e,t)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=flatHooks(e),s=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of s)e();s.length=0}}removeHooks(e){const t=flatHooks(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(serialTaskCaller,e,t)}callHookParallel(e,...t){return this.callHookWith(parallelTaskCaller,e,t)}callHookWith(e,t,s){const r=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&callEachWith(this._before,r);const i=e(this._hooks[t]?[...this._hooks[t]]:[],s,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&callEachWith(this._after,r)}):(this._after&&r&&callEachWith(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};const g=new Set(["meta","link","base"]),y=new Set(["link","style","script","noscript"]),x=new Set(["title","titleTemplate","script","style","noscript"]),C=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),E=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),S=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),I=new Set(["templateParams","htmlAttrs","bodyAttrs"]),b=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),T=["name","property","http-equiv"],P=new Set(["viewport","description","keywords","robots"]);function dedupeKey(e){const{props:t,tag:s}=e;if(E.has(s))return s;if("link"===s&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const r of T)if(void 0!==t[r]){const i=t[r],n=i&&"string"==typeof i&&i.includes(":"),o=i&&P.has(i);return`${s}:${i}${!(n||o)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${s}:key:${e.key}`;if(t.id)return`${s}:id:${t.id}`;if(x.has(s)){const t=e.textContent||e.innerHTML;if(t)return`${s}:content:${t}`}}function walkResolver(e,t,s){"function"===typeof e&&(s&&("titleTemplate"===s||"o"===s[0]&&"n"===s[1])||(e=e()));const r=t?t(s,e):e;if(Array.isArray(r))return r.map(e=>walkResolver(e,t));if(r?.constructor===Object){const e={};for(const s of Object.keys(r))e[s]=walkResolver(r[s],t,s);return e}return r}function normalizeProps(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([s,r])=>{if(null===r)return void(e.props[s]=null);if("class"===s||"style"===s)return void(e.props[s]=function(e,t){const s="style"===e?new Map:new Set;function processValue(t){if(null==t||void 0===t)return;const r=String(t).trim();if(r)if("style"===e){const[e,...t]=r.split(":").map(e=>e?e.trim():"");e&&t.length&&s.set(e,t.join(":"))}else r.split(" ").filter(Boolean).forEach(e=>s.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(processValue):processValue(t):Array.isArray(t)?t.forEach(e=>processValue(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,r])=>{r&&"false"!==r&&("style"===e?s.set(String(t).trim(),String(r)):processValue(t))}),s}(s,r));if(S.has(s)){if(["textContent","innerHTML"].includes(s)&&"object"==typeof r){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&"speculationrules"!==i)return;t.type=i,e.props.type=i,e[s]=JSON.stringify(r)}else e[s]=r;return}const i=String(r),n=s.startsWith("data-"),o="meta"===e.tag&&"content"===s;"true"===i||""===i?e.props[s]=!n&&!o||i:!r&&n&&"false"===i?e.props[s]="false":void 0!==r&&(e.props[s]=r)}),e):e}function normalizeTag(e,t){const s=normalizeProps({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return s.key&&y.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),"script"===s.tag&&"object"==typeof s.innerHTML&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(e=>({...s,props:{...s.props,content:e}})):s}function normalizeEntryToTags(e,t){if(!e)return[];"function"==typeof e&&(e=e());const resolvers=(e,s)=>{for(let r=0;r<t.length;r++)s=t[r](e,s);return s};e=resolvers(void 0,e);const s=[];return e=walkResolver(e,resolvers),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const r of Array.isArray(t)?t:[t])s.push(normalizeTag(e,r))}),s.flat()}const sortTags=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,v={base:-10,title:10},w={critical:-8,high:-1,low:2},N={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},k=/@import/,isTruthy=e=>""===e||!0===e;function tagWeight(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let s=100;const r=w[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:N;if(t.tag in v)s=v[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(s=N.meta[e])}else if("link"===t.tag&&t.props.rel)s=i.link[t.props.rel];else if("script"===t.tag){const e=String(t.props.type);isTruthy(t.props.async)?s=i.script.async:t.props.src&&!isTruthy(t.props.defer)&&!isTruthy(t.props.async)&&"module"!==e&&!e.endsWith("json")||t.innerHTML&&!e.endsWith("json")?s=i.script.sync:(isTruthy(t.props.defer)&&t.props.src&&!isTruthy(t.props.async)||"module"===e)&&(s=i.script.defer)}else"style"===t.tag&&(s=t.innerHTML&&k.test(t.innerHTML)?i.style.imported:i.style.sync);return(s||100)+r}function registerPlugin(e,t){const s="function"==typeof t?t(e):t,r=s.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,s),e.hooks.addHooks(s.hooks||{}))}function createUnhead(e={}){const t=new f;t.addHooks(e.hooks||{});const s=!e.document,r=new Map,i=new Map,n=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:s,entries:r,headEntries:()=>[...r.values()],use:e=>registerPlugin(o,e),push(e,i){const a={...i||{}};delete a.head;const c=a._index??o._entryCount++,l={_i:c,input:e,options:a},p={_poll(e=!1){o.dirty=!0,!e&&n.add(c),t.callHook("entries:updated",o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!a.mode||"server"===a.mode&&s||"client"===a.mode&&!s)&&(l.input=e,r.set(c,l),p._poll())}};return p.patch(e),p},async resolveTags(){const s={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",s);n.size;){const s=n.values().next().value;n.delete(s);const i=r.get(s);if(i){const s={tags:normalizeEntryToTags(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook("entries:normalize",s),i._tags=s.tags.map((e,t)=>(e._w=tagWeight(o,e),e._p=(i._i<<10)+t,e._d=dedupeKey(e),e))}}let i=!1;s.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(sortTags).reduce((e,t)=>{const s=String(t._d||t._p);if(!e.has(s))return e.set(s,t);const r=e.get(s);if("merge"===(t?.tagDuplicateStrategy||(I.has(t.tag)?"merge":null)||(t.key&&t.key===r.key?"merge":null))){const i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]="style"===e?new Map([...r.props.style||new Map,...t]):"class"===e?new Set([...r.props.class||new Set,...t]):t),e.set(s,{...t,props:i})}else t._p>>10==r._p>>10&&"meta"===t.tag&&function(e){const t=e.split(":");return!!t.length&&b.has(t[1])}(s)?(e.set(s,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(s,t);return e},s.tagMap);const a=s.tagMap.get("title"),c=s.tagMap.get("titleTemplate");if(o._title=a?.textContent,c){const e=c?.textContent;if(o._titleTemplate=e,e){let t="function"==typeof e?e(a?.textContent):e;"string"!=typeof t||o.plugins.has("template-params")||(t=t.replace("%s",a?.textContent||"")),a?null===t?s.tagMap.delete("title"):s.tagMap.set("title",{...a,textContent:t}):(c.tag="title",c.textContent=t)}}s.tags=Array.from(s.tagMap.values()),i&&(s.tags=s.tags.flat().sort(sortTags)),await t.callHook("tags:beforeResolve",s),await t.callHook("tags:resolve",s),await t.callHook("tags:afterResolve",s);const l=[];for(const e of s.tags){const{innerHTML:t,tag:s,props:r}=e;if(C.has(s)&&((0!==Object.keys(r).length||e.innerHTML||e.textContent)&&("meta"!==s||r.content||r["http-equiv"]||r.charset))){if("script"===s&&t){if(String(r.type).endsWith("json")){const s="string"==typeof t?t:JSON.stringify(t);e.innerHTML=s.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${s}`,"g"),`<\\/${s}`));e._d=dedupeKey(e)}l.push(e)}}return l},invalidate(){for(const e of r.values())n.add(e._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(e=>registerPlugin(o,e)),o.hooks.callHook("init",o),e.init?.forEach(e=>e&&o.push(e)),o}function encodeAttribute(e){return String(e).replace(/"/g,"&quot;")}function propsToString(e){let t="";for(const s in e){if(!Object.hasOwn(e,s))continue;let r=e[s];"class"!==s&&"style"!==s||"string"==typeof r||(r="class"===s?Array.from(r).join(" "):Array.from(r).map(([e,t])=>`${e}:${t}`).join(";")),!1!==r&&null!==r&&(t+=!0===r?` ${s}`:` ${s}="${encodeAttribute(r)}"`)}return t}function tagToString(e){const t=propsToString(e.props),s=`<${e.tag}${t}>`;if(!x.has(e.tag))return g.has(e.tag)?s:`${s}</${e.tag}>`;let r=String(e.textContent||e.innerHTML||"");return r="title"===e.tag?r.replace(/[&<>"'/]/g,e=>{switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&#x27;";case"/":return"&#x2F;";default:return e}}):r.replace(new RegExp(`</${e.tag}`,"gi"),`<\\/${e.tag}`),g.has(e.tag)?s:`${s}${r}</${e.tag}>`}async function renderSSRHead(e,t){const s={shouldRender:!0};if(await e.hooks.callHook("ssr:beforeRender",s),!s.shouldRender)return{headTags:"",bodyTags:"",bodyTagsOpen:"",htmlAttrs:"",bodyAttrs:""};const r={tags:t?.resolvedTags||await e.resolveTags()};await e.hooks.callHook("ssr:render",r);const i=function(e){const t={htmlAttrs:{},bodyAttrs:{},tags:{head:"",bodyClose:"",bodyOpen:""}};for(const s of e){if("htmlAttrs"===s.tag||"bodyAttrs"===s.tag){Object.assign(t[s.tag],s.props);continue}const e=tagToString(s),r=s.tagPosition||"head";t.tags[r]+=t.tags[r]?`${e}`:e}return{headTags:t.tags.head,bodyTags:t.tags.bodyClose,bodyTagsOpen:t.tags.bodyOpen,htmlAttrs:propsToString(t.htmlAttrs),bodyAttrs:propsToString(t.bodyAttrs)}}(r.tags),n={tags:r.tags,html:i};return await e.hooks.callHook("ssr:rendered",n),n.html}var _,O={exports:{}},M={},D={},B={};const L=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),R=null!==(_=String.fromCodePoint)&&void 0!==_?_:e=>{let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function replaceCodePoint(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=L.get(e))&&void 0!==t?t:e}function decodeBase64(e){const t="function"==typeof atob?atob(e):"function"==typeof Buffer.from?Buffer.from(e,"base64").toString("binary"):new Buffer(e,"base64").toString("binary"),s=-2&t.length,r=new Uint16Array(s/2);for(let e=0,i=0;e<s;e+=2){const s=t.charCodeAt(e),n=t.charCodeAt(e+1);r[i++]=s|n<<8}return r}const F=decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg"),U=decodeBase64("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");var H,K;!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(H||(H={})),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(K||(K={}));function isNumber$1(e){return e>=K.ZERO&&e<=K.NINE}function isHexadecimalCharacter(e){return e>=K.UPPER_A&&e<=K.UPPER_F||e>=K.LOWER_A&&e<=K.LOWER_F}function isEntityInAttributeInvalidEnd(e){return e===K.EQUALS||function(e){return e>=K.UPPER_A&&e<=K.UPPER_Z||e>=K.LOWER_A&&e<=K.LOWER_Z||isNumber$1(e)}(e)}var V,W;!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(V||(V={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(W||(W={}));class EntityDecoder{constructor(e,t,s){this.decodeTree=e,this.emitCodePoint=t,this.errors=s,this.state=V.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=W.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=V.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case V.EntityStart:return e.charCodeAt(t)===K.NUM?(this.state=V.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=V.NamedEntity,this.stateNamedEntity(e,t));case V.NumericStart:return this.stateNumericStart(e,t);case V.NumericDecimal:return this.stateNumericDecimal(e,t);case V.NumericHex:return this.stateNumericHex(e,t);case V.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===K.LOWER_X?(this.state=V.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=V.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){const s=e.charCodeAt(t);if(!isNumber$1(s)&&!isHexadecimalCharacter(s))return this.emitNumericEntity(s,3);{const e=s<=K.NINE?s-K.ZERO:(32|s)-K.LOWER_A+10;this.result=16*this.result+e,this.consumed++,t++}}return-1}stateNumericDecimal(e,t){for(;t<e.length;){const s=e.charCodeAt(t);if(!isNumber$1(s))return this.emitNumericEntity(s,2);this.result=10*this.result+(s-K.ZERO),this.consumed++,t++}return-1}emitNumericEntity(e,t){var s;if(this.consumed<=t)return null===(s=this.errors)||void 0===s||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===K.SEMI)this.consumed+=1;else if(this.decodeMode===W.Strict)return 0;return this.emitCodePoint(replaceCodePoint(this.result),this.consumed),this.errors&&(e!==K.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:s}=this;let r=s[this.treeIndex],i=(r&H.VALUE_LENGTH)>>14;for(;t<e.length;){if(0===i&&0!==(r&H.FLAG13)){const n=(r&H.BRANCH_LENGTH)>>7;if(0===this.runConsumed){const s=r&H.JUMP_TABLE;if(e.charCodeAt(t)!==s)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<n;){if(t>=e.length)return-1;const r=this.runConsumed-1,i=s[this.treeIndex+1+(r>>1)],n=r%2==0?255&i:i>>8&255;if(e.charCodeAt(t)!==n)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(n>>1),r=s[this.treeIndex],i=(r&H.VALUE_LENGTH)>>14}if(t>=e.length)break;const n=e.charCodeAt(t);if(n===K.SEMI&&0!==i&&0!==(r&H.FLAG13))return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=determineBranch(s,r,this.treeIndex+Math.max(1,i),n),this.treeIndex<0)return 0===this.result||this.decodeMode===W.Attribute&&(0===i||isEntityInAttributeInvalidEnd(n))?0:this.emitNotTerminatedNamedEntity();if(r=s[this.treeIndex],i=(r&H.VALUE_LENGTH)>>14,0!==i){if(n===K.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==W.Strict&&0===(r&H.FLAG13)&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:s}=this,r=(s[t]&H.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,s){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~(H.VALUE_LENGTH|H.FLAG13):r[e+1],s),3===t&&this.emitCodePoint(r[e+2],s),s}end(){var e;switch(this.state){case V.NamedEntity:return 0===this.result||this.decodeMode===W.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case V.NumericDecimal:return this.emitNumericEntity(0,2);case V.NumericHex:return this.emitNumericEntity(0,3);case V.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case V.EntityStart:return 0}}}function getDecoder(e){let t="";const s=new EntityDecoder(e,e=>t+=R(e));return function(e,r){let i=0,n=0;for(;(n=e.indexOf("&",n))>=0;){t+=e.slice(i,n),s.startEntity(r);const o=s.write(e,n+1);if(o<0){i=n+s.end();break}i=n+o,n=0===o?i+1:i}const o=t+e.slice(i);return t="",o}}function determineBranch(e,t,s,r){const i=(t&H.BRANCH_LENGTH)>>7,n=t&H.JUMP_TABLE;if(0===i)return 0!==n&&r===n?s:-1;if(n){const t=r-n;return t<0||t>=i?-1:e[s+t]-1}const o=i+1>>1;let a=0,c=i-1;for(;a<=c;){const t=a+c>>>1,i=e[s+(t>>1)]>>8*(1&t)&255;if(i<r)a=t+1;else{if(!(i>r))return e[s+o+t];c=t-1}}return-1}const j=getDecoder(F),G=getDecoder(U);const Q=Object.freeze(Object.defineProperty({__proto__:null,get DecodingMode(){return W},EntityDecoder:EntityDecoder,decodeCodePoint:function(e){return R(replaceCodePoint(e))},decodeHTML:function(e,t=W.Legacy){return j(e,t)},decodeHTMLAttribute:function(e){return j(e,W.Attribute)},decodeHTMLStrict:function(e){return j(e,W.Strict)},decodeXML:function(e){return G(e,W.Strict)},determineBranch:determineBranch,fromCodePoint:R,htmlDecodeTree:F,replaceCodePoint:replaceCodePoint,xmlDecodeTree:U},Symbol.toStringTag,{value:"Module"}));var J={};function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var s={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;s[r]=e[r]}return s}Object.defineProperty(J,"__esModule",{value:!0});class Position{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}}class SourceLocation{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function createPositionWithColumnOffset(e,t){const{line:s,column:r,index:i}=e;return new Position(s,r+t,i+t)}const Y="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var X={ImportMetaOutsideModule:{message:"globalThis._importMeta_ may appear only with 'sourceType: \"module\"'",code:Y},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:Y}};const $={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},toNodeDescription=e=>"UpdateExpression"===e.type?$.UpdateExpression[`${e.prefix}`]:$[e.type];var Z={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${toNodeDescription(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},z={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`};const q=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var ee=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'});const te=["message"];function defineHidden(e,t,s){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:s})}function toParseErrorConstructor({toMessage:e,code:t,reasonCode:s,syntaxPlugin:r}){const i="MissingPlugin"===s||"MissingOneOfPlugins"===s,n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return n[s]&&(s=n[s]),function constructor(n,o){const a=new SyntaxError;return a.code=t,a.reasonCode=s,a.loc=n,a.pos=n.index,a.syntaxPlugin=r,i&&(a.missingPlugin=o.missingPlugin),defineHidden(a,"clone",function(e={}){var t;const{line:s,column:r,index:i}=null!=(t=e.loc)?t:n;return constructor(new Position(s,r,i),Object.assign({},o,e.details))}),defineHidden(a,"details",o),Object.defineProperty(a,"message",{configurable:!0,get(){const t=`${e(o)} (${n.line}:${n.column})`;return this.message=t,t},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),a}}function ParseErrorEnum(e,t){if(Array.isArray(e))return t=>ParseErrorEnum(t,e[0]);const s={};for(const r of Object.keys(e)){const i=e[r],n="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:o}=n,a=_objectWithoutPropertiesLoose(n,te),c="string"==typeof o?()=>o:o;s[r]=toParseErrorConstructor(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:r,toMessage:c},t?{syntaxPlugin:t}:{},a))}return s}const se=Object.assign({},ParseErrorEnum(X),ParseErrorEnum(Z),ParseErrorEnum({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),ParseErrorEnum(z),ParseErrorEnum`pipelineOperator`(ee));const{defineProperty:re}=Object,toUnenumerable=(e,t)=>{e&&re(e,t,{enumerable:!1,value:e[t]})};function toESTreeLocation(e){return toUnenumerable(e.loc.start,"index"),toUnenumerable(e.loc.end,"index"),e}class TokContext{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const ie={brace:new TokContext("{"),j_oTag:new TokContext("<tag"),j_cTag:new TokContext("</tag"),j_expr:new TokContext("<tag>...</tag>",!0)};ie.template=new TokContext("`",!0);const ne=!0,oe=!0,ae=!0,ce=!0,le=!0;class ExportedTokenType{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const pe=new Map;function createKeyword(e,t={}){t.keyword=e;const s=createToken(e,t);return pe.set(e,s),s}function createBinop(e,t){return createToken(e,{beforeExpr:ne,binop:t})}let he=-1;const ue=[],de=[],Ae=[],me=[],fe=[],ge=[];function createToken(e,t={}){var s,r,i,n;return++he,de.push(e),Ae.push(null!=(s=t.binop)?s:-1),me.push(null!=(r=t.beforeExpr)&&r),fe.push(null!=(i=t.startsExpr)&&i),ge.push(null!=(n=t.prefix)&&n),ue.push(new ExportedTokenType(e,t)),he}function createKeywordLike(e,t={}){var s,r,i,n;return++he,pe.set(e,he),de.push(e),Ae.push(null!=(s=t.binop)?s:-1),me.push(null!=(r=t.beforeExpr)&&r),fe.push(null!=(i=t.startsExpr)&&i),ge.push(null!=(n=t.prefix)&&n),ue.push(new ExportedTokenType("name",t)),he}const ye={bracketL:createToken("[",{beforeExpr:ne,startsExpr:oe}),bracketHashL:createToken("#[",{beforeExpr:ne,startsExpr:oe}),bracketBarL:createToken("[|",{beforeExpr:ne,startsExpr:oe}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:ne,startsExpr:oe}),braceBarL:createToken("{|",{beforeExpr:ne,startsExpr:oe}),braceHashL:createToken("#{",{beforeExpr:ne,startsExpr:oe}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:ne,startsExpr:oe}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:ne}),semi:createToken(";",{beforeExpr:ne}),colon:createToken(":",{beforeExpr:ne}),doubleColon:createToken("::",{beforeExpr:ne}),dot:createToken("."),question:createToken("?",{beforeExpr:ne}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:ne}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:ne}),backQuote:createToken("`",{startsExpr:oe}),dollarBraceL:createToken("${",{beforeExpr:ne,startsExpr:oe}),templateTail:createToken("...`",{startsExpr:oe}),templateNonTail:createToken("...${",{beforeExpr:ne,startsExpr:oe}),at:createToken("@"),hash:createToken("#",{startsExpr:oe}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:ne,isAssign:ce}),assign:createToken("_=",{beforeExpr:ne,isAssign:ce}),slashAssign:createToken("_=",{beforeExpr:ne,isAssign:ce}),xorAssign:createToken("_=",{beforeExpr:ne,isAssign:ce}),moduloAssign:createToken("_=",{beforeExpr:ne,isAssign:ce}),incDec:createToken("++/--",{prefix:le,postfix:!0,startsExpr:oe}),bang:createToken("!",{beforeExpr:ne,prefix:le,startsExpr:oe}),tilde:createToken("~",{beforeExpr:ne,prefix:le,startsExpr:oe}),doubleCaret:createToken("^^",{startsExpr:oe}),doubleAt:createToken("@@",{startsExpr:oe}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("</>/<=/>=",7),gt:createBinop("</>/<=/>=",7),relational:createBinop("</>/<=/>=",7),bitShift:createBinop("<</>>/>>>",8),bitShiftL:createBinop("<</>>/>>>",8),bitShiftR:createBinop("<</>>/>>>",8),plusMin:createToken("+/-",{beforeExpr:ne,binop:9,prefix:le,startsExpr:oe}),modulo:createToken("%",{binop:10,startsExpr:oe}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:ne,binop:11,rightAssociative:!0}),_in:createKeyword("in",{beforeExpr:ne,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:ne,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:ne}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:ne}),_else:createKeyword("else",{beforeExpr:ne}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:oe}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:ne}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:ne,prefix:le,startsExpr:oe}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:ne,startsExpr:oe}),_this:createKeyword("this",{startsExpr:oe}),_super:createKeyword("super",{startsExpr:oe}),_class:createKeyword("class",{startsExpr:oe}),_extends:createKeyword("extends",{beforeExpr:ne}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:oe}),_null:createKeyword("null",{startsExpr:oe}),_true:createKeyword("true",{startsExpr:oe}),_false:createKeyword("false",{startsExpr:oe}),_typeof:createKeyword("typeof",{beforeExpr:ne,prefix:le,startsExpr:oe}),_void:createKeyword("void",{beforeExpr:ne,prefix:le,startsExpr:oe}),_delete:createKeyword("delete",{beforeExpr:ne,prefix:le,startsExpr:oe}),_do:createKeyword("do",{isLoop:ae,beforeExpr:ne}),_for:createKeyword("for",{isLoop:ae}),_while:createKeyword("while",{isLoop:ae}),_as:createKeywordLike("as",{startsExpr:oe}),_assert:createKeywordLike("assert",{startsExpr:oe}),_async:createKeywordLike("async",{startsExpr:oe}),_await:createKeywordLike("await",{startsExpr:oe}),_defer:createKeywordLike("defer",{startsExpr:oe}),_from:createKeywordLike("from",{startsExpr:oe}),_get:createKeywordLike("get",{startsExpr:oe}),_let:createKeywordLike("let",{startsExpr:oe}),_meta:createKeywordLike("meta",{startsExpr:oe}),_of:createKeywordLike("of",{startsExpr:oe}),_sent:createKeywordLike("sent",{startsExpr:oe}),_set:createKeywordLike("set",{startsExpr:oe}),_source:createKeywordLike("source",{startsExpr:oe}),_static:createKeywordLike("static",{startsExpr:oe}),_using:createKeywordLike("using",{startsExpr:oe}),_yield:createKeywordLike("yield",{startsExpr:oe}),_asserts:createKeywordLike("asserts",{startsExpr:oe}),_checks:createKeywordLike("checks",{startsExpr:oe}),_exports:createKeywordLike("exports",{startsExpr:oe}),_global:createKeywordLike("global",{startsExpr:oe}),_implements:createKeywordLike("implements",{startsExpr:oe}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:oe}),_infer:createKeywordLike("infer",{startsExpr:oe}),_is:createKeywordLike("is",{startsExpr:oe}),_mixins:createKeywordLike("mixins",{startsExpr:oe}),_proto:createKeywordLike("proto",{startsExpr:oe}),_require:createKeywordLike("require",{startsExpr:oe}),_satisfies:createKeywordLike("satisfies",{startsExpr:oe}),_keyof:createKeywordLike("keyof",{startsExpr:oe}),_readonly:createKeywordLike("readonly",{startsExpr:oe}),_unique:createKeywordLike("unique",{startsExpr:oe}),_abstract:createKeywordLike("abstract",{startsExpr:oe}),_declare:createKeywordLike("declare",{startsExpr:oe}),_enum:createKeywordLike("enum",{startsExpr:oe}),_module:createKeywordLike("module",{startsExpr:oe}),_namespace:createKeywordLike("namespace",{startsExpr:oe}),_interface:createKeywordLike("interface",{startsExpr:oe}),_type:createKeywordLike("type",{startsExpr:oe}),_opaque:createKeywordLike("opaque",{startsExpr:oe}),name:createToken("name",{startsExpr:oe}),placeholder:createToken("%%",{startsExpr:oe}),string:createToken("string",{startsExpr:oe}),num:createToken("num",{startsExpr:oe}),bigint:createToken("bigint",{startsExpr:oe}),decimal:createToken("decimal",{startsExpr:oe}),regexp:createToken("regexp",{startsExpr:oe}),privateName:createToken("#name",{startsExpr:oe}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:ne}),jsxTagStart:createToken("jsxTagStart",{startsExpr:oe}),jsxTagEnd:createToken("jsxTagEnd")};function tokenIsIdentifier(e){return e>=93&&e<=133}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=133}function tokenIsLiteralPropertyName(e){return e>=58&&e<=137}function tokenCanStartExpression(e){return fe[e]}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=129&&e<=131}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsPostfix(e){return 34===e}function tokenLabelName(e){return de[e]}function tokenOperatorPrecedence(e){return Ae[e]}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return ue[e]}ue[8].updateContext=e=>{e.pop()},ue[5].updateContext=ue[7].updateContext=ue[23].updateContext=e=>{e.push(ie.brace)},ue[22].updateContext=e=>{e[e.length-1]===ie.template?e.pop():e.push(ie.template)},ue[143].updateContext=e=>{e.push(ie.j_expr,ie.j_oTag)};let xe="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ce="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const Ee=new RegExp("["+xe+"]"),Se=new RegExp("["+xe+Ce+"]");xe=Ce=null;const Ie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],be=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let s=65536;for(let r=0,i=t.length;r<i;r+=2){if(s+=t[r],s>e)return!1;if(s+=t[r+1],s>=e)return!0}return!1}function isIdentifierStart(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):isInAstralSet(e,Ie)))}function isIdentifierChar(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Se.test(String.fromCharCode(e)):isInAstralSet(e,Ie)||isInAstralSet(e,be))))}const Te=["implements","interface","let","package","private","protected","public","static","yield"],Pe=["eval","arguments"],ve=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),we=new Set(Te),Ne=new Set(Pe);function isReservedWord(e,t){return t&&"await"===e||"enum"===e}function isStrictReservedWord(e,t){return isReservedWord(e,t)||we.has(e)}function isStrictBindOnlyReservedWord(e){return Ne.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}const ke=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class Scope{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}}class ScopeHandler{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get allowNewTarget(){return(512&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&!(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(1731&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get inBareCaseStatement(){return(256&this.currentScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,s){let r=this.currentScope();if(8&t||16&t){this.checkRedeclarationInScope(r,e,t,s);let i=r.names.get(e)||0;16&t?i|=4:(r.firstLexicalName||(r.firstLexicalName=e),i|=2),r.names.set(e,i),8&t&&this.maybeExportDefined(r,e)}else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,s),r.names.set(e,1|(r.names.get(e)||0)),this.maybeExportDefined(r,e),!(1667&r.flags));--i);this.parser.inModule&&1&r.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,r){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(se.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,s){if(!(1&s))return!1;if(8&s)return e.names.has(t);const r=e.names.get(t)||0;return 16&s?(2&r)>0||!this.treatFunctionsAsVarInScope(e)&&(1&r)>0:(2&r)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&r)>0}checkLocalExport(e){const{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(1667&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(1731&t&&!(4&t))return t}}}class FlowScope extends Scope{constructor(...e){super(...e),this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,s){const r=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e),void r.declareFunctions.add(e);super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(e,t,s))return!0;if(2048&s&&!e.declareFunctions.has(t)){const s=e.names.get(t);return(4&s)>0||(2&s)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}const _e=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Oe=ParseErrorEnum`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function hasTypeImportKind(e){return"type"===e.importKind||"typeof"===e.importKind}const Me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const De=/\*?\s*@((?:no)?flow)\b/;const Be={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Le=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function hasNewLine(e,t,s){for(let r=t;r<s;r++)if(isNewLine(e.charCodeAt(r)))return!0;return!1}const Re=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Fe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function isWhitespace$1(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}const Ue=ParseErrorEnum`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function isFragment(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function getQualifiedJSXName(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property);throw new Error("Node had unexpected type: "+e.type)}class TypeScriptScope extends Scope{constructor(...e){super(...e),this.tsNames=new Map}}class TypeScriptScopeHandler extends ScopeHandler{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new TypeScriptScope(e)}enter(e){1024===e&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return 1024===e&&this.importsStack.pop(),e}hasImport(e,t){const s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1)for(let t=0;t<s-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,s){if(4096&t)return this.hasImport(e,!0)&&this.parser.raise(se.VarRedeclaration,s,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const r=this.currentScope();let i=r.tsNames.get(e)||0;if(1024&t)return this.maybeExportDefined(r,e),void r.tsNames.set(e,16|i);super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),i|=1),256&t&&(i|=2),512&t&&(i|=4),128&t&&(i|=8),i&&r.tsNames.set(e,i)}isRedeclaredInScope(e,t,s){const r=e.tsNames.get(t);if((2&r)>0){if(256&s){return!!(512&s)!==(4&r)>0}return!0}return 128&s&&(8&r)>0?!!(2&e.names.get(t))&&!!(1&s):!!(2&s&&(1&r)>0)||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;for(let e=this.scopeStack.length-1;e>=0;e--){const s=this.scopeStack[e].tsNames.get(t);if((1&s)>0||(16&s)>0)return}super.checkLocalExport(e)}}class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function functionFlags(e,t){return(e?2:0)|(t?1:0)}class BaseParser{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,s]=e;if(!this.hasPlugin(t))return!1;const r=this.plugins.get(t);for(const e of Object.keys(s))if((null==r?void 0:r[e])!==s[e])return!1;return!0}}getPluginOption(e,t){var s;return null==(s=this.plugins.get(e))?void 0:s[t]}}function setTrailingComments(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function setInnerComments(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function adjustInnerComments(e,t,s){let r=null,i=t.length;for(;null===r&&i>0;)r=t[--i];null===r||r.start>s.start?setInnerComments(e,s.comments):setTrailingComments(r,s.comments)}class CommentsParser extends BaseParser{addComment(e){this.filename&&(e.loc.filename=this.filename);const{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){const{commentStack:t}=this.state,s=t.length;if(0===s)return;let r=s-1;const i=t[r];i.start===e.end&&(i.leadingNode=e,r--);const{start:n}=e;for(;r>=0;r--){const s=t[r],i=s.end;if(!(i>n)){i===n&&(s.trailingNode=e);break}s.containingNode=e,this.finalizeComment(s),t.splice(r,1)}}finalizeComment(e){var t;const{comments:s}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&setTrailingComments(e.leadingNode,s),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,s);else{const r=e.containingNode,i=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(i)-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"ImportExpression":adjustInnerComments(r,[r.source,null!=(t=r.options)?t:null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;case"TSEnumDeclaration":case"TSEnumBody":adjustInnerComments(r,r.members,e);break;default:if("RecordExpression"===r.type){adjustInnerComments(r,r.properties,e);break}if("TupleExpression"===r.type){adjustInnerComments(r,r.elements,e);break}setInnerComments(r,s)}else setInnerComments(r,s)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:s}=t;if(0===s)return;const r=t[s-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,s){const{commentStack:r}=this.state,i=r.length;if(0===i)return;let n=i-1;for(;n>=0;n--){const i=r[n],o=i.end;if(i.start===s)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}}class State{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[ie.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:t,startIndex:s,startLine:r,startColumn:i}){this.strict=!1!==e&&(!0===e||"module"===t),this.startIndex=s,this.curLine=r,this.lineStart=-i,this.startLoc=this.endLoc=new Position(r,i,s)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new Position(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){const e=new State;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var _isDigit=function(e){return e>=48&&e<=57};const He={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ke={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function readStringContents(e,t,s,r,i,n){const o=s,a=r,c=i;let l="",p=null,h=s;const{length:u}=t;for(;;){if(s>=u){n.unterminated(o,a,c),l+=t.slice(h,s);break}const d=t.charCodeAt(s);if(isStringEnd(e,d,t,s)){l+=t.slice(h,s);break}if(92===d){l+=t.slice(h,s);const o=readEscapedChar(t,s,r,i,"template"===e,n);null!==o.ch||p?l+=o.ch:p={pos:s,lineStart:r,curLine:i},({pos:s,lineStart:r,curLine:i}=o),h=s}else 8232===d||8233===d?(++i,r=++s):10===d||13===d?"template"===e?(l+=t.slice(h,s)+"\n",++s,13===d&&10===t.charCodeAt(s)&&++s,++i,h=r=s):n.unterminated(o,a,c):++s}return{pos:s,str:l,firstInvalidLoc:p,lineStart:r,curLine:i,containsInvalid:!!p}}function isStringEnd(e,t,s,r){return"template"===e?96===t||36===t&&123===s.charCodeAt(r+1):t===("double"===e?34:39)}function readEscapedChar(e,t,s,r,i,n){const o=!i;t++;const res=e=>({pos:t,ch:e,lineStart:s,curLine:r}),a=e.charCodeAt(t++);switch(a){case 110:return res("\n");case 114:return res("\r");case 120:{let i;return({code:i,pos:t}=readHexChar(e,t,s,r,2,!1,o,n)),res(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=readCodePoint(e,t,s,r,o,n)),res(null===i?null:String.fromCodePoint(i))}case 116:return res("\t");case 98:return res("\b");case 118:return res("\v");case 102:return res("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:s=t,++r;case 8232:case 8233:return res("");case 56:case 57:if(i)return res(null);n.strictNumericEscape(t-1,s,r);default:if(a>=48&&a<=55){const o=t-1;let a=/^[0-7]+/.exec(e.slice(o,t+2))[0],c=parseInt(a,8);c>255&&(a=a.slice(0,-1),c=parseInt(a,8)),t+=a.length-1;const l=e.charCodeAt(t);if("0"!==a||56===l||57===l){if(i)return res(null);n.strictNumericEscape(o,s,r)}return res(String.fromCharCode(c))}return res(String.fromCharCode(a))}}function readHexChar(e,t,s,r,i,n,o,a){const c=t;let l;return({n:l,pos:t}=readInt(e,t,s,r,16,i,n,!1,a,!o)),null===l&&(o?a.invalidEscapeSequence(c,s,r):t=c-1),{code:l,pos:t}}function readInt(e,t,s,r,i,n,o,a,c,l){const p=t,h=16===i?He.hex:He.decBinOct,u=16===i?Ke.hex:10===i?Ke.dec:8===i?Ke.oct:Ke.bin;let d=!1,A=0;for(let p=0,m=null==n?1/0:n;p<m;++p){const n=e.charCodeAt(t);let p;if(95===n&&"bail"!==a){const i=e.charCodeAt(t-1),n=e.charCodeAt(t+1);if(a){if(Number.isNaN(n)||!u(n)||h.has(i)||h.has(n)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,s,r)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,s,r)}++t;continue}if(p=n>=97?n-97+10:n>=65?n-65+10:_isDigit(n)?n-48:1/0,p>=i){if(p<=9&&l)return{n:null,pos:t};if(p<=9&&c.invalidDigit(t,s,r,i))p=0;else{if(!o)break;p=0,d=!0}}++t,A=A*i+p}return t===p||null!=n&&t-p!==n||d?{n:null,pos:t}:{n:A,pos:t}}function readCodePoint(e,t,s,r,i,n){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=readHexChar(e,t,s,r,e.indexOf("}",t)-t,!0,i,n)),++t,null!==o&&o>1114111){if(!i)return{code:null,pos:t};n.invalidCodePoint(t,s,r)}}else({code:o,pos:t}=readHexChar(e,t,s,r,4,!1,i,n));return{code:o,pos:t}}function buildPosition(e,t,s){return new Position(s,e-t,e)}const Ve=new Set([103,109,115,105,121,117,100,118]);class Token{constructor(e){const t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new SourceLocation(e.startLoc,e.endLoc)}}let We=class extends CommentsParser{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!(2048&this.optionFlags)&&(this.raise(se.InvalidDigit,buildPosition(e,t,s),{radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(se.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(se.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(se.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(se.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(se.StrictNumericEscape,buildPosition(e,t,s))},unterminated:(e,t,s)=>{throw this.raise(se.UnterminatedString,buildPosition(e-1,t,s))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(se.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(se.UnterminatedTemplate,buildPosition(e,t,s))}}),this.state=new State,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),256&this.optionFlags&&this.pushToken(new Token(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Re.lastIndex=e,Re.test(this.input)?Re.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return Fe.lastIndex=e,Fe.test(this.input)?Fe.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const s=this.input.charCodeAt(e);56320==(64512&s)&&(t=65536+((1023&t)<<10)+(1023&s))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([e,t])=>this.raise(e,t)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const s=this.state.pos,r=this.input.indexOf(e,s+2);if(-1===r)throw this.raise(se.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+e.length,Le.lastIndex=s+2;Le.test(this.input)&&Le.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Le.lastIndex;if(this.isLookahead)return;const i={type:"CommentBlock",value:this.input.slice(s+2,r),start:this.sourceToOffsetPos(s),end:this.sourceToOffsetPos(r+e.length),loc:new SourceLocation(t,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(i),i}skipLineComment(e){const t=this.state.pos;let s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!isNewLine(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const i=this.state.pos,n={type:"CommentLine",value:this.input.slice(t+e,i),start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),loc:new SourceLocation(s,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(n),n}skipSpace(){const e=this.state.pos,t=4096&this.optionFlags?[]:null;e:for(;this.state.pos<this.length;){const s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),null==t||t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),null==t||t.push(e));break}default:break e}break;default:if(isWhitespace$1(s))++this.state.pos;else if(45===s&&!this.inModule&&8192&this.optionFlags){const s=this.state.pos;if(45!==this.input.charCodeAt(s+1)||62!==this.input.charCodeAt(s+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),null==t||t.push(e))}}else{if(60!==s||this.inModule||!(8192&this.optionFlags))break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),null==t||t.push(e))}}}}}if((null==t?void 0:t.length)>0){const s=this.state.pos,r={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(s),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(se.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?se.RecordExpressionHashIncorrectStartSyntaxType:se.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else isIdentifierStart(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!isNewLine(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const s=this.input.slice(t+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(e){let t=42===e?55:54,s=1,r=this.input.charCodeAt(this.state.pos+1);42===e&&42===r&&(s++,r=this.input.charCodeAt(this.state.pos+2),t=57),61!==r||this.state.inType||(s++,t=37===e?33:30),this.finishOp(t,s)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(se.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(se.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);94===this.input.codePointAt(this.state.pos)&&this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(se.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(se.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(isIdentifierStart(e))return void this.readWord(e)}throw this.raise(se.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){const e=this.state.startLoc,t=this.state.start+1;let s,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(se.UnterminatedRegExp,createPositionWithColumnOffset(e,1));const t=this.input.charCodeAt(i);if(isNewLine(t))throw this.raise(se.UnterminatedRegExp,createPositionWithColumnOffset(e,1));if(s)s=!1;else{if(91===t)r=!0;else if(93===t&&r)r=!1;else if(47===t&&!r)break;s=92===t}}const n=this.input.slice(t,i);++i;let o="";const nextPos=()=>createPositionWithColumnOffset(e,i+2-t);for(;i<this.length;){const e=this.codePointAtPos(i),t=String.fromCharCode(e);if(Ve.has(e))118===e?o.includes("u")&&this.raise(se.IncompatibleRegExpUVFlags,nextPos()):117===e&&o.includes("v")&&this.raise(se.IncompatibleRegExpUVFlags,nextPos()),o.includes(t)&&this.raise(se.DuplicateRegExpFlags,nextPos());else{if(!isIdentifierChar(e)&&92!==e)break;this.raise(se.MalformedRegExpFlags,nextPos())}++i,o+=t}this.state.pos=i,this.finishToken(138,{pattern:n,flags:o})}readInt(e,t,s=!1,r=!0){const{n:i,pos:n}=readInt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt,!1);return this.state.pos=n,i}readRadixNumber(e){const t=this.state.pos,s=this.state.curPosition();let r=!1;this.state.pos+=2;const i=this.readInt(e);null==i&&this.raise(se.InvalidDigit,createPositionWithColumnOffset(s,2),{radix:e});const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(se.InvalidDecimal,s);if(isIdentifierStart(this.codePointAtPos(this.state.pos)))throw this.raise(se.NumberIdentifier,this.state.curPosition());if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");return void this.finishToken(136,e)}this.finishToken(135,i)}readNumber(e){const t=this.state.pos,s=this.state.curPosition();let r=!1,i=!1,n=!1,o=!1;e||null!==this.readInt(10)||this.raise(se.InvalidNumber,this.state.curPosition());const a=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(a){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(se.StrictOctalLiteral,s),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(se.ZeroDigitNumericSeparator,createPositionWithColumnOffset(s,t))}o=a&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||o||(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||o||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(se.InvalidOrMissingExponent,s),r=!0,n=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((r||a)&&this.raise(se.InvalidBigIntLiteral,s),++this.state.pos,i=!0),109===c){this.expectPlugin("decimal",this.state.curPosition()),(n||a)&&this.raise(se.InvalidDecimal,s),++this.state.pos;var l=!0}if(isIdentifierStart(this.codePointAtPos(this.state.pos)))throw this.raise(se.NumberIdentifier,this.state.curPosition());const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(136,p);if(l)return void this.finishToken(137,p);const h=o?parseInt(p,8):parseFloat(p);this.finishToken(135,h)}readCodePoint(e){const{code:t,pos:s}=readCodePoint(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=s,t}readString(e){const{str:t,pos:s,curLine:r,lineStart:i}=readStringContents(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(134,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:s,pos:r,curLine:i,lineStart:n}=readStringContents("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=n,this.state.curLine=i,s&&(this.state.firstInvalidTemplateEscapePos=new Position(s.curLine,s.pos-s.lineStart,this.sourceToOffsetPos(s.pos))),96===this.input.codePointAt(r)?this.finishToken(24,s?null:e+t+"`"):(this.state.pos++,this.finishToken(25,s?null:e+t+"${"))}recordStrictModeErrors(e,t){const s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,t):this.state.strictErrors.set(s,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="";const s=this.state.pos;let r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(isIdentifierChar(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);const e=this.state.curPosition(),i=this.state.pos===s?isIdentifierStart:isIdentifierChar;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(se.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const n=this.readCodePoint(!0);null!==n&&(i(n)||this.raise(se.EscapedCharNotAnIdentifier,e),t+=String.fromCodePoint(n)),r=this.state.pos}}}return t+this.input.slice(r,this.state.pos)}readWord(e){const t=this.readWord1(e),s=pe.get(t);void 0!==s?this.finishToken(s,tokenLabelName(s)):this.finishToken(132,t)}checkKeywordEscapes(){const{type:e}=this.state;tokenIsKeyword(e)&&this.state.containsEsc&&this.raise(se.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:tokenLabelName(e)})}raise(e,t,s={}){const r=e(t instanceof Position?t:t.loc.start,s);if(!(2048&this.optionFlags))throw r;return this.isLookahead||this.state.errors.push(r),r}raiseOverwrite(e,t,s={}){const r=t instanceof Position?t:t.loc.start,i=r.index,n=this.state.errors;for(let t=n.length-1;t>=0;t--){const o=n[t];if(o.loc.index===i)return n[t]=e(r,s);if(o.loc.index<i)break}return this.raise(e,t,s)}updateContext(e){}unexpected(e,t){throw this.raise(se.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?tokenLabelName(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(se.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(se.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,buildPosition(t,s,r))}}};class ClassScope{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop(),t=this.current();for(const[s,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,r):this.parser.raise(se.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(e,t,s){const{privateNames:r,loneAccessors:i,undefinedPrivateNames:n}=this.current();let o=r.has(e);if(3&t){const s=o&&i.get(e);if(s){o=(3&s)===(3&t)||(4&s)!==(4&t),o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(se.PrivateNameRedeclaration,s,{identifierName:e}),r.add(e),n.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(se.InvalidPrivateFieldResolution,t,{identifierName:e})}}class ExpressionScope{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0,this.stack=[new ExpressionScope],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const s=t.loc.start,{stack:r}=this;let i=r.length-1,n=r[i];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,s),n=r[--i]}this.parser.raise(e,s)}recordArrowParameterBindingError(e,t){const{stack:s}=this,r=s[s.length-1],i=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,i)}}recordAsyncArrowParametersError(e){const{stack:t}=this;let s=t.length-1,r=t[s];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(se.AwaitBindingIdentifier,e),r=t[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(([t,s])=>{this.parser.raise(t,s);let r=e.length-2,i=e[r];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(s.index),i=e[--r]})}}function newExpressionScope(){return new ExpressionScope}class UtilParser extends We{addExtra(e,t,s,r=!0){if(!e)return;let{extra:i}=e;null==i&&(i={},e.extra=i),r?i[t]=s:Object.defineProperty(i,t,{enumerable:r,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){if(this.input.startsWith(t,e)){const s=this.input.charCodeAt(e+t.length);return!(isIdentifierChar(s)||55296==(64512&s))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return hasNewLine(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return hasNewLine(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(se.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{throw s.node=e,s});if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const r=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:r};if(e===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:r};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:n,voidPatternLoc:o}=e;if(!t)return!!(s||r||n||i||o);null!=s&&this.raise(se.InvalidCoverInitializedName,s),null!=r&&this.raise(se.DuplicateProto,r),null!=i&&this.raise(se.UnexpectedPrivateField,i),null!=n&&this.unexpected(n),null!=o&&this.raise(se.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const i=this.scope,n=this.getScopeHandler();this.scope=new n(this,e);const o=this.prodParam;this.prodParam=new ProductionParameterHandler;const a=this.classScope;this.classScope=new ClassScopeHandler(this);const c=this.expressionScope;return this.expressionScope=new ExpressionScopeHandler(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||1&this.optionFlags)&&(e|=2),32&this.optionFlags&&(e|=1);const t=!this.inModule&&"commonjs"===this.options.sourceType;(t||2&this.optionFlags)&&(e|=4),this.prodParam.enter(e);let s=t?514:1;4&this.optionFlags&&(s|=512),this.scope.enter(s)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class Node{constructor(e,t,s){this.type="",this.start=t,this.end=0,this.loc=new SourceLocation(s),128&(null==e?void 0:e.optionFlags)&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const je=Node.prototype;je.__clone=function(){const e=new Node(void 0,this.start,this.loc.start),t=Object.keys(this);for(let s=0,r=t.length;s<r;s++){const r=t[s];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e};class NodeUtils extends UtilParser{startNode(){const e=this.state.startLoc;return new Node(this,e.index,e)}startNodeAt(e){return new Node(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,s){return e.type=t,e.end=s.index,e.loc.end=s,128&this.optionFlags&&(e.range[1]=s.index),4096&this.optionFlags&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,128&this.optionFlags&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,128&this.optionFlags&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}castNodeTo(e,t){return e.type=t,e}cloneIdentifier(e){const{type:t,start:s,end:r,loc:i,range:n,name:o}=e,a=Object.create(je);return a.type=t,a.start=s,a.end=r,a.loc=i,a.range=n,a.name=o,e.extra&&(a.extra=e.extra),a}cloneStringLiteral(e){const{type:t,start:s,end:r,loc:i,range:n,extra:o}=e,a=Object.create(je);return a.type=t,a.start=s,a.end=r,a.loc=i,a.range=n,a.extra=o,a.value=e.value,a}}const unwrapParenthesizedExpression=e=>"ParenthesizedExpression"===e.type?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=!1){var s,r;let i;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(i=unwrapParenthesizedExpression(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(se.InvalidParenthesizedAssignment,e):"CallExpression"===i.type||"MemberExpression"===i.type||this.isOptionalMemberExpression(i)||this.raise(se.InvalidParenthesizedAssignment,e):this.raise(se.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(let s=0,r=e.properties.length,i=r-1;s<r;s++){var n;const r=e.properties[s],o=s===i;this.toAssignableObjectExpressionProp(r,o,t),o&&"RestElement"===r.type&&null!=(n=e.extra)&&n.trailingCommaLoc&&this.raise(se.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(e,"ArrayPattern"),this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(se.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,"VoidPattern"===e.left.type&&this.raise(se.VoidPatternInitializer,e.left),this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,s){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?se.PatternHasAccessor:se.PatternHasMethod,e.key);else if("SpreadElement"===e.type){this.castNodeTo(e,"RestElement");const r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,s),t||this.raise(se.RestTrailingComma,e)}else this.toAssignable(e,s)}toAssignableList(e,t,s){const r=e.length-1;for(let i=0;i<=r;i++){const n=e[i];n&&(this.toAssignableListItem(e,i,s),"RestElement"===n.type&&(i<r?this.raise(se.RestTrailingComma,n):t&&this.raise(se.RestTrailingComma,t)))}}toAssignableListItem(e,t,s){const r=e[t];if("SpreadElement"===r.type){this.castNodeTo(r,"RestElement");const e=r.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,s)}else this.toAssignable(r,s)}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>"ObjectMethod"!==e.type&&(s===t||"SpreadElement"!==e.type)&&this.isAssignable(e))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>null===e||this.isAssignable(e));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();const t=this.parseBindingAtom();return"VoidPattern"===t.type&&this.raise(se.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,t,s){const r=1&s,i=[];let n=!0;for(;!this.eat(e);)if(n?n=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){let r=this.parseRestBinding();if((this.hasPlugin("flow")||2&s)&&(r=this.parseFunctionParamType(r)),i.push(r),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(2&s)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(se.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());i.push(this.parseBindingElement(s,e))}}return i}parseBindingRestProperty(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(se.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const{type:e,startLoc:t}=this.state;if(21===e)return this.parseBindingRestProperty(this.startNode());const s=this.startNode();return 139===e?(this.expectPlugin("destructuringPrivate",t),this.classScope.usePrivateName(this.state.value,t),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,t,!1,!1,!0,!1)}parseBindingElement(e,t){const s=this.parseMaybeDefault();(this.hasPlugin("flow")||2&e)&&this.parseFunctionParamType(s),t.length&&(s.decorators=t,this.resetStartLocationFromNode(s,t[0]));return this.parseMaybeDefault(s.loc.start,s)}parseFunctionParamType(e){return e}parseMaybeDefault(e,t){if(null!=e||(e=this.state.startLoc),t=null!=t?t:this.parseBindingAtom(),!this.eat(29))return t;const s=this.startNodeAt(e);return"VoidPattern"===t.type&&this.raise(se.VoidPatternInitializer,t),s.left=t,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,s,r){switch(e){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0;case"CallExpression":if(!t&&!this.state.strict&&8192&this.optionFlags)return!0}return!1}isOptionalMemberExpression(e){return"OptionalMemberExpression"===e.type}checkLVal(e,t,s=64,r=!1,i=!1,n=!1,o=!1){var a;const c=e.type;if(this.isObjectMethod(e))return;const l=this.isOptionalMemberExpression(e);if(l||"MemberExpression"===c)return l&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(se.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==s&&this.raise(se.InvalidPropertyBindingPattern,e));if("Identifier"===c){this.checkIdentifier(e,s,i);const{name:t}=e;return void(r&&(r.has(t)?this.raise(se.ParamDupe,e):r.add(t)))}"VoidPattern"===c&&"CatchClause"===t.type&&this.raise(se.VoidPatternCatchClauseParam,e);const p=unwrapParenthesizedExpression(e);o||(o="CallExpression"===p.type&&("Import"===p.callee.type||"Super"===p.callee.type));const h=this.isValidLVal(c,o,!(n||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===t.type,s);if(!0===h)return;if(!1===h){const r=64===s?se.InvalidLhs:se.InvalidLhsBinding;return void this.raise(r,e,{ancestor:t})}let u,d;"string"==typeof h?(u=h,d="ParenthesizedExpression"===c):[u,d]=h;const A="ArrayPattern"===c||"ObjectPattern"===c?{type:c}:t,m=e[u];if(Array.isArray(m))for(const e of m)e&&this.checkLVal(e,A,s,r,i,d,!0);else m&&this.checkLVal(m,A,s,r,i,d,o)}checkIdentifier(e,t,s=!1){this.state.strict&&(s?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))&&(64===t?this.raise(se.StrictEvalArguments,e,{referenceName:e.name}):this.raise(se.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(se.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(se.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?se.RestTrailingComma:se.ElementAfterRest,this.state.startLoc),!0)}}const Ge=/in(?:stanceof)?|as|satisfies/y;function assert$1(e){if(!e)throw new Error("Assert fail")}const Qe=ParseErrorEnum`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`});function tsIsAccessModifier(e){return"private"===e||"public"===e||"protected"===e}function tsIsVarianceAnnotations(e){return"in"===e||"out"===e}function isPossiblyLiteralEnum(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:s}=e;return(!t||"StringLiteral"===s.type||!("TemplateLiteral"!==s.type||s.expressions.length>0))&&isUncomputedMemberExpressionChain(e.object)}function isValidAmbientConstInitializer(e,t){var s;const{type:r}=e;if(null!=(s=e.extra)&&s.parenthesized)return!1;if(t){if("Literal"===r){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!(!isNumber(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:s,argument:r}=e;if("-"===s&&isNumber(r,t))return!0}return!1}(e,t))||("TemplateLiteral"===r&&0===e.expressions.length||!!isPossiblyLiteralEnum(e))}function isNumber(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function isUncomputedMemberExpressionChain(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&isUncomputedMemberExpressionChain(e.object)}const Je=ParseErrorEnum`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});const Ye=["minimal","fsharp","hack","smart"],Xe=["^^","@@","^","%","#"];const $e={estree:e=>class extends e{parse(){const e=toESTreeLocation(super.parse());return 256&this.optionFlags&&(e.tokens=e.tokens.map(toESTreeLocation)),e}parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(e){}const r=this.estreeParseLiteral(s);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const s=this.estreeParseLiteral(t);return s.bigint=String(s.value||e),s}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,t){const s=this.startNodeAtNode(e);return s.expression=e,this.finishNodeAt(s,"ChainExpression",t)}directiveToStmt(e){const t=e.value;delete e.value,this.castNodeTo(t,"Literal"),t.raw=t.extra.raw,t.value=t.extra.expressionValue;const s=this.castNodeTo(e,"ExpressionStatement");return s.expression=t,s.directive=t.extra.rawValue,delete t.extra,s}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){const{start:t,end:s,loc:r,range:i,raw:n,value:o}=e,a=Object.create(e.constructor.prototype);return a.type="Literal",a.start=t,a.end=s,a.loc=r,a.range=i,a.raw=n,a.value=o,a}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,s,r,i){super.parseBlockBody(e,t,s,r,i);const n=e.directives.map(e=>this.directiveToStmt(e));e.body=n.concat(e.body),delete e.directives}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,this.castNodeTo(e,"PrivateIdentifier")}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const s=super.parseLiteral(e,t);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(e,t,s=!1){super.parseFunctionBody(e,t,s),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,s,r,i,n,o=!1){let a=this.startNode();a.kind=e.kind,a=super.parseMethod(a,t,s,r,i,n,o),delete a.kind;const{typeParameters:c}=e;c&&(delete e.typeParameters,a.typeParameters=c,this.resetStartLocationFromNode(a,c));const l=this.castNodeTo(a,"FunctionExpression");return e.value=l,"ClassPrivateMethod"===n&&(e.computed=!1),"ObjectMethod"===n?("method"===e.kind&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return"Literal"===e.type?"constructor"===e.value:super.nameIsConstructor(e)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(t,"PropertyDefinition"),t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(t,"PropertyDefinition"),t.computed=!1,t):t}parseClassAccessorProperty(e){const t=super.parseClassAccessorProperty(e);return this.getPluginOption("estree","classFeatures")?(t.abstract&&this.hasPlugin("typescript")?(delete t.abstract,this.castNodeTo(t,"TSAbstractAccessorProperty")):this.castNodeTo(t,"AccessorProperty"),t):t}parseObjectProperty(e,t,s,r){const i=super.parseObjectProperty(e,t,s,r);return i&&(i.kind="init",this.castNodeTo(i,"Property")),i}finishObjectProperty(e){return e.kind="init",this.finishNode(e,"Property")}isValidLVal(e,t,s,r){return"Property"===e?"value":super.isValidLVal(e,t,s,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,s){"Property"!==e.type||"get"!==e.kind&&"set"!==e.kind?"Property"===e.type&&e.method?this.raise(se.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,s):this.raise(se.PatternHasAccessor,e.key)}finishCallExpression(e,t){const s=super.finishCallExpression(e,t);var r,i;"Import"===s.callee.type?(this.castNodeTo(s,"ImportExpression"),s.source=s.arguments[0],s.options=null!=(r=s.arguments[1])?r:null,s.attributes=null!=(i=s.arguments[1])?i:null,delete s.arguments,delete s.callee):"OptionalCallExpression"===s.type?this.castNodeTo(s,"CallExpression"):s.optional=!1;return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const s=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(this.castNodeTo(r,"ExportAllDeclaration"),r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var i;const{declaration:e}=r;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===r.start&&this.resetStartLocation(r,s)}}return r}stopParseSubscript(e,t){const s=super.stopParseSubscript(e,t);return t.optionalChainMember?this.estreeParseChainExpression(s,e.loc.end):s}parseMember(e,t,s,r,i){const n=super.parseMember(e,t,s,r,i);return"OptionalMemberExpression"===n.type?this.castNodeTo(n,"MemberExpression"):n.optional=!1,n}isOptionalMemberExpression(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)}castNodeTo(e,t){const s=super.castNodeTo(e,t);return this.fillOptionalPropertiesForTSESLint(s),s}cloneIdentifier(e){const t=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(t),t}cloneStringLiteral(e){return"Literal"===e.type?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,t,s){return toESTreeLocation(super.finishNodeAt(e,t,s))}finishNode(e,t){const s=super.finishNode(e,t);return this.fillOptionalPropertiesForTSESLint(s),s}resetStartLocation(e,t){super.resetStartLocation(e,t),toESTreeLocation(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),toESTreeLocation(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ue.UnterminatedJsxContent,this.state.startLoc);const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?void(60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(s)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(142,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:isNewLine(s)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,s=e?"\n":"\r\n"):s=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(se.UnterminatedString,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadEntity(),s=this.state.pos):isNewLine(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}t+=this.input.slice(s,this.state.pos++),this.finishToken(134,t)}jsxReadEntity(){const e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);const t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,s=!1;for(;t++<10&&this.state.pos<this.length&&!(s=59===this.codePointAtPos(this.state.pos));)++this.state.pos;if(s){const t=this.input.slice(e,this.state.pos),s=Be[t];if(++this.state.pos,s)return s}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(isIdentifierChar(e)||45===e);this.finishToken(141,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(141)?e.name=this.state.value:tokenIsKeyword(this.state.type)?e.name=tokenLabelName(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const s=this.startNodeAt(e);return s.namespace=t,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const s=this.startNodeAt(e);s.object=t,s.property=this.jsxParseIdentifier(),t=this.finishNode(s,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(ie.brace),this.next(),e=this.jsxParseExpressionContainer(e,ie.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(Ue.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Ue.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(ie.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(ie.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(ie.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){const t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(144);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(144),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),s=[],r=this.jsxParseOpeningElementAt(e);let i=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){i=this.jsxParseClosingElementAt(e);break e}s.push(this.jsxParseElementAt(e));break;case 142:s.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const e=this.startNode();this.setContext(ie.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e,ie.j_expr));break}default:this.unexpected()}isFragment(r)&&!isFragment(i)&&null!==i?this.raise(Ue.MissingClosingTagFragment,i):!isFragment(r)&&isFragment(i)?this.raise(Ue.MissingClosingTagElement,i,{openingTagName:getQualifiedJSXName(r.name)}):isFragment(r)||isFragment(i)||getQualifiedJSXName(i.name)!==getQualifiedJSXName(r.name)&&this.raise(Ue.MissingClosingTagElement,i,{openingTagName:getQualifiedJSXName(r.name)})}if(isFragment(r)?(t.openingFragment=r,t.closingFragment=i):(t.openingElement=r,t.closingElement=i),t.children=s,this.match(47))throw this.raise(Ue.UnwrappedAdjacentJSXElements,this.state.startLoc);return isFragment(r)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==ie.j_expr){if(t===ie.j_oTag||t===ie.j_cTag){if(isIdentifierStart(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(144);if((34===e||39===e)&&t===ie.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:s}=this.state;if(56===s&&143===e)t.splice(-2,2,ie.j_cTag),this.state.canStartJSXElement=!1;else if(143===s)t.push(ie.j_oTag);else if(144===s){const s=t[t.length-1];s===ie.j_oTag&&56===e||s===ie.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===ie.j_expr):(this.setContext(ie.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=me[s]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}finishToken(e,t){134!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=De.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const s=this.flowParseType();return this.state.inType=t,s}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(Oe.UnexpectedSpaceBetweenModuloChecks,t),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,s=null;return this.match(54)?(this.state.inType=e,s=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(s=this.flowParsePredicate())),[t,s]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),s=this.startNode(),r=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);const i=this.flowParseFunctionTypeParams();return s.params=i.params,s.rest=i.rest,s.this=i._this,this.expect(11),[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Oe.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),s=t.body=[];for(this.expect(5);!this.match(8);){const e=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Oe.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),s.push(super.parseImport(e))):(this.expectContextual(125,Oe.UnsupportedStatementInDeclareModule),s.push(this.flowParseDeclare(e,!0)))}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,i=!1;return s.forEach(e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&this.raise(Oe.DuplicateDeclareModuleExports,e),"ES"===r&&this.raise(Oe.AmbiguousDeclareModuleKind,e),r="CommonJS",i=!0):("CommonJS"===r&&this.raise(Oe.AmbiguousDeclareModuleKind,e),r="ES")}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){const e=this.state.value;throw this.raise(Oe.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:Me[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return"ExportNamedDeclaration"===(e=this.parseExport(e,null)).type?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration");throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);return this.castNodeTo(t,"DeclareTypeAlias"),t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,"DeclareOpaqueType"),t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Oe.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,s){_e.has(e)&&this.raise(s?Oe.AssignReservedType:Oe.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.startLoc,s=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return s.name=i.name,s.variance=r,s.bound=i.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):e&&this.raise(Oe.MissingTypeParamDefault,t),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let s=!1;do{const e=this.flowParseTypeParameter(s);t.params.push(e),e.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()===ie.brace)return e();{const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}}flowParseTypeParameterInstantiationInExpression(){if(47===this.reScan_lt())return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);const t=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=t}),this.state.inType=t,this.state.inType||this.curContext()!==ie.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(47!==this.reScan_lt())return null;const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,s){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=s,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const s=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(s),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:i}){const n=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,c;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let l=!1;for(t&&this.match(6)?(this.expect(6),a=9,c=!0):(this.expect(5),a=8,c=!1),o.exact=c;!this.match(a);){let t=!1,n=null,a=null;const p=this.startNode();if(r&&this.isContextual(118)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),n=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const h=this.flowParseVariance();if(this.eat(0))null!=n&&this.unexpected(n),this.eat(0)?(h&&this.unexpected(h.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))):o.indexers.push(this.flowParseObjectTypeIndexer(p,t,h));else if(this.match(10)||this.match(47))null!=n&&this.unexpected(n),h&&this.unexpected(h.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(p,t));else{let e="init";if(this.isContextual(99)||this.isContextual(104)){tokenIsLiteralPropertyName(this.lookahead().type)&&(e=this.state.value,this.next())}const r=this.flowParseObjectTypeProperty(p,t,n,h,e,s,null!=i?i:!c);null===r?(l=!0,a=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(Oe.UnexpectedExplicitInexactInObject,a)}this.expect(a),s&&(o.inexact=l);const p=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=n,p}flowParseObjectTypeProperty(e,t,s,r,i,n,o){if(this.eat(21)){return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(n?o||this.raise(Oe.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Oe.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(Oe.InexactVariance,r),null):(n||this.raise(Oe.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=s&&this.unexpected(s),r&&this.raise(Oe.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"))}{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=s,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=s&&this.unexpected(s),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!n&&"constructor"===e.key.name&&e.value.this&&this.raise(Oe.ThisParamBannedInConstructor,e.value.this)):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Oe.GetterMayNotHaveThisParam:Oe.SetterMayNotHaveThisParam,e.value.this),s!==t&&this.raise("get"===e.kind?se.BadGetterArity:se.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(se.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let s=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=s,t.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(t,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t){const s=this.startNodeAt(e);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,s=!1,r=null;const i=this.startNode(),n=this.lookahead(),o=78===this.state.type;return 14===n.type||17===n.type?(o&&!e&&this.raise(Oe.ThisParamMustBeFirst,i),t=this.parseIdentifier(o),this.eat(17)&&(s=!0,o&&this.raise(Oe.ThisParamMayNotBeOptional,i)),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),i.name=t,i.optional=s,i.typeAnnotation=r,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:s}}flowIdentToTypeAnnotation(e,t,s){switch(s.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,s)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let s,r,i=!1;const n=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=n,r;case 47:{const e=this.startNode();return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,"FunctionTypeAnnotation")}case 10:{const e=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(tokenIsIdentifier(this.state.type)||this.match(78)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=n,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return s=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(Oe.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tokenIsKeyword(this.state.type)){const e=tokenLabelName(this.state.type);return this.next(),super.createIdentifier(t,e)}if(tokenIsIdentifier(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const r=this.startNodeAt(e),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),s?(r.optional=i,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(132===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t,s=!1){t?this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,s)):super.parseFunctionBody(e,!1,s)}parseFunctionBodyAndFinish(e,t,s=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,s)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(tokenIsKeywordOrIdentifier(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,s){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(tokenIsIdentifier(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){const{type:e}=this.state;return 126===e||tokenIsFlowInterfaceOrTypeOrOpaque(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return 126===e||tokenIsFlowInterfaceOrTypeOrOpaque(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}this.expect(17);const r=this.state.clone(),i=this.state.noArrowAt,n=this.startNodeAt(t);let{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){const e=[...i];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}a&&c.length>1&&this.raise(Oe.AmbiguousConditionalArrow,r.startLoc),a&&1===c.length&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),n.test=e,n.consequent=o,n.alternate=this.forwardNoArrowParamsConversionAt(n,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(n,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e],r=[];for(;0!==s.length;){const e=s.pop();"ArrowFunctionExpression"===e.type&&"BlockStatement"!==e.body.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),s.push(e.body)):"ConditionalExpression"===e.type&&(s.push(e.consequent),s.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):function(e,t){const s=[],r=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?s:r).push(e[i]);return[s,r]}(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),s=t(),this.state.noArrowParamsConversionAt.pop()):s=t(),s}parseParenItem(e,t){const s=super.parseParenItem(e,t);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(e)),this.match(14)){const e=this.startNodeAt(t);return e.expression=s,e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,"TypeCastExpression")}return s}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(131)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.isContextual(126)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(130)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state,s=super.maybeParseExportNamespaceSpecifier(e);return s&&"type"===e.exportKind&&this.unexpected(t),s}parseClassId(e,t,s){super.parseClassId(e,t,s),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,s){const{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,s),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Oe.DeclareClassElement,r):t.value&&this.raise(Oe.DeclareClassFieldInitializer,t.value))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(se.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):!function(e,t,s){return 64===e&&64===t&&isIdentifierStart(s)}(e,t,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(e):(this.state.pos+=2,this.readIterator()):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,s){for(let t=0;t<e.length;t++){const s=e[t];"TypeCastExpression"===(null==s?void 0:s.type)&&(e[t]=this.typeCastToParameter(s))}super.toAssignableList(e,t,s)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var s;const i=e[r];!i||"TypeCastExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized||!(e.length>1)&&t||this.raise(Oe.TypeCastInPattern,i.typeAnnotation)}return e}parseArrayLike(e,t,s){const r=super.parseArrayLike(e,t,s);return null==s||this.state.maybeInArrowParameters||this.toReferencedList(r.elements),r}isValidLVal(e,t,s,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,s,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,s,r,i,n){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,s,r,i,n),t.params&&i){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Oe.ThisParamBannedInConstructor,t)}else if("MethodDefinition"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Oe.ThisParamBannedInConstructor,t)}}pushClassPrivateMethod(e,t,s,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];this.isThisParam(s)&&"get"===e.kind?this.raise(Oe.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(Oe.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,i,n,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!n&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,s,r,i,n,o);return a&&((c.value||c).typeParameters=a),c}parseFunctionParamType(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Oe.PatternIsOptional,e),this.isThisParam(e)&&this.raise(Oe.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Oe.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(Oe.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Oe.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Oe.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,s){t.local=hasTypeImportKind(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const t=this.lookaheadCharCode();return 123===t||42===t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){if(super.applyImportPhase(e,t,s,r),t){if(!s&&this.match(65))return;e.exportKind="type"===s?s:"value"}else"type"===s&&this.match(55)&&this.unexpected(),e.importKind="type"===s||"typeof"===s?s:"value"}parseImportSpecifier(e,t,s,r,i){const n=e.imported;let o=null;"Identifier"===n.type&&("type"===n.name?o="type":"typeof"===n.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===o||tokenIsKeywordOrIdentifier(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=this.cloneIdentifier(t))}else{if(null!==o&&tokenIsKeywordOrIdentifier(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(se.ImportBindingIsString,e,{importName:n.value});e.imported=n,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=this.cloneIdentifier(e.imported))}const c=hasTypeImportKind(e);return s&&c&&this.raise(Oe.ImportTypeShorthandOnlyInPureImport,e),(s||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||s||c||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const s=e.kind;"get"!==s&&"set"!==s&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var s;let r,i=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(i=this.state.clone(),r=this.tryParse(()=>super.parseMaybeAssign(e,t),i),!r.error)return r.node;const{context:s}=this.state,n=s[s.length-1];n!==ie.j_oTag&&n!==ie.j_expr||s.pop()}if(null!=(s=r)&&s.error||this.match(47)){var n,o;let s;i=i||this.state.clone();const a=this.tryParse(r=>{var i;s=this.flowParseTypeParameterDeclaration();const n=this.forwardNoArrowParamsConversionAt(s,()=>{const r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,s),r});null!=(i=n.extra)&&i.parenthesized&&r();const o=this.maybeUnwrapTypeCastExpression(n);return"ArrowFunctionExpression"!==o.type&&r(),o.typeParameters=s,this.resetStartLocationFromNode(o,s),n},i);let c=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(Oe.UnexpectedTypeParameterBeforeAsyncArrowFunction,s),a.node;c=a.node}if(null!=(n=r)&&n.node)return this.state=r.failState,r.node;if(c)return this.state=a.failState,c;if(null!=(o=r)&&o.thrown)throw r.error;if(a.thrown)throw a.error;throw this.raise(Oe.UnexpectedTokenAfterTypeParameter,s)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const s=this.startNode();return[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,s,r=!0){if(!s||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Oe.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,t,s){if("Identifier"===e.type&&"async"===e.name&&this.state.noArrowAt.includes(t.index)){this.next();const s=this.startNodeAt(t);s.callee=e,s.arguments=super.parseCallExpressionArguments(),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const r=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!i.error&&!i.aborted)return i.node;const n=this.tryParse(()=>super.parseSubscripts(e,t,s),r);if(n.node&&!n.error)return n.node;if(i.node)return this.state=i.failState,i.node;if(n.node)return this.state=n.failState,n.node;throw i.error||n.error}return super.parseSubscripts(e,t,s)}parseSubscript(e,t,s,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,s)return r.stop=!0,e;this.next();const i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),i.arguments=this.parseCallExpressionArguments(),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){const s=this.startNodeAt(t);s.callee=e;const i=this.tryParse(()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(),r.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,r.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Oe.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Oe.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();return void(e&&(this.state.pos+=e,this.state.hasFlowComment=!0))}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const s=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===s&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===s&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(se.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(Oe.EnumBooleanMemberNotInitialized,e,{memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Oe.EnumInvalidMemberInitializerSymbolType:Oe.EnumInvalidMemberInitializerPrimaryType:Oe.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(Oe.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(Oe.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){const e=this.state.startLoc,endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{const t=this.parseNumericLiteral(this.state.value);return endOfInit()?{type:"number",loc:t.loc.start,value:t}:{type:"invalid",loc:e}}case 134:{const t=this.parseStringLiteral(this.state.value);return endOfInit()?{type:"string",loc:t.loc.start,value:t}:{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));return endOfInit()?{type:"boolean",loc:t.loc.start,value:t}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;null!==r&&r!==s&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}const n=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(Oe.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),s.has(c)&&this.raise(Oe.EnumDuplicateMemberName,o,{memberName:c,enumName:e}),s.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(n.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),n.init=a.value,r.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),n.init=a.value,r.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),n.init=a.value,r.stringMembers.push(this.finishNode(n,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,l);break;default:r.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:s}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:s});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(e,{enumName:s});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!tokenIsIdentifier(this.state.type))throw this.raise(Oe.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Oe.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const s=t.name,r=t.loc.start,i=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:n,hasUnknownMembers:o}=this.flowEnumMembers({enumName:s,explicitType:i});switch(e.hasUnknownMembers=o,i){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const t=n.booleanMembers.length,i=n.numberMembers.length,o=n.stringMembers.length,a=n.defaultedMembers.length;if(t||i||o||a){if(t||i){if(!i&&!o&&t>=a){for(const e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!t&&!o&&i>=a){for(const e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Oe.EnumInconsistentMemberValues,r,{enumName:s}),empty()}return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody")}return empty()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Qe.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Qe.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Qe.InvalidModifierOnTypeParameter})}getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,t,s){if(!tokenIsIdentifier(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;const r=this.state.value;if(e.includes(r)){if(s&&this.match(106))return;if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:s,errorTemplate:r=Qe.InvalidModifierOnTypeMember},i){const enforceOrder=(e,t,s,r)=>{t===s&&i[r]&&this.raise(Qe.InvalidModifiersOrder,e,{orderedModifiers:[s,r]})},incompatible=(e,t,s,r)=>{(i[s]&&t===r||i[r]&&t===s)&&this.raise(Qe.IncompatibleModifiers,e,{modifiers:[s,r]})};for(;;){const{startLoc:n}=this.state,o=this.tsParseModifier(e.concat(null!=t?t:[]),s,i.static);if(!o)break;tsIsAccessModifier(o)?i.accessibility?this.raise(Qe.DuplicateAccessibilityModifier,n,{modifier:o}):(enforceOrder(n,o,o,"override"),enforceOrder(n,o,o,"static"),enforceOrder(n,o,o,"readonly"),i.accessibility=o):tsIsVarianceAnnotations(o)?(i[o]&&this.raise(Qe.DuplicateModifier,n,{modifier:o}),i[o]=!0,enforceOrder(n,o,"in","out")):(hasOwnProperty.call(i,o)?this.raise(Qe.DuplicateModifier,n,{modifier:o}):(enforceOrder(n,o,"static","readonly"),enforceOrder(n,o,"static","override"),enforceOrder(n,o,"override","readonly"),enforceOrder(n,o,"abstract","override"),incompatible(n,o,"declare","override"),incompatible(n,o,"static","abstract")),i[o]=!0),null!=t&&t.includes(o)&&this.raise(r,n,{modifier:o})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){const s=[];for(;!this.tsIsListTerminator(e);)s.push(t());return s}tsParseDelimitedList(e,t,s){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,s))}tsParseDelimitedListWorker(e,t,s,r){const i=[];let n=-1;for(;!this.tsIsListTerminator(e);){n=-1;const r=t();if(null==r)return;if(i.push(r),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(s&&this.expect(12))}n=this.state.lastTokStartLoc.index}return r&&(r.value=n),i}tsParseBracketedList(e,t,s,r,i){r||(s?this.expect(0):this.expect(47));const n=this.tsParseDelimitedList(e,t,i);return s?this.expect(3):this.expect(48),n}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(Qe.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseImportTypeOptions(){const e=this.startNode();this.expect(5);const t=this.startNode();return this.isContextual(76)?(t.method=!1,t.key=this.parseIdentifier(!0),t.computed=!1,t.shorthand=!1):this.unexpected(null,76),this.expect(14),t.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(t)],this.eat(12),this.expect(8),this.finishNode(e,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){const e=this.startNode(),t=[];for(this.expect(5);!this.match(8);){const e=this.state.type;tokenIsIdentifier(e)||134===e?t.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=t,this.next(),this.finishNode(e,"ObjectExpression")}tsParseEntityName(e){let t;if(1&e&&this.match(78))if(2&e)t=this.parseIdentifier(!0);else{const e=this.startNode();this.next(),t=this.finishNode(e,"ThisExpression")}else t=this.parseIdentifier(!!(1&e));for(;this.eat(16);){const s=this.startNodeAtNode(t);s.left=t,s.right=this.parseIdentifier(!!(1&e)),t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const t=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const s={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,s),0===t.params.length&&this.raise(Qe.EmptyTypeParameters,t),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;"AssignmentPattern"!==e&&"TSParameterProperty"!==e||this.raise(Qe.UnsupportedSignatureParameterKind,t,{type:e})}return e}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!tokenIsIdentifier(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(Qe.ReadonlyForMethodSignature,e);const s=e;s.kind&&this.match(47)&&this.raise(Qe.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();const r="parameters",i="typeAnnotation";if("get"===s.kind)s[r].length>0&&(this.raise(se.BadGetterArity,this.state.curPosition()),this.isThisParam(s[r][0])&&this.raise(Qe.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===s.kind){if(1!==s[r].length)this.raise(se.BadSetterArity,this.state.curPosition());else{const e=s[r][0];this.isThisParam(e)&&this.raise(Qe.AccessorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===e.type&&e.optional&&this.raise(Qe.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===e.type&&this.raise(Qe.SetAccessorCannotHaveRestParameter,this.state.curPosition())}s[i]&&this.raise(Qe.SetAccessorCannotHaveReturnType,s[i])}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const s=e;t&&(s.readonly=!0);const r=this.tsTryParseTypeAnnotation();return r&&(s.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const t=this.tsTryParseIndexSignature(e);return t||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,super.parsePropertyName(e),this.match(10)||this.match(47)||this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedType(){const e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach(e=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(Qe.OptionalTypeBeforeRequired,e),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s)}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const e=this.state.startLoc,t=this.eat(21),{startLoc:s}=this.state;let r,i,n,o;const a=tokenIsKeywordOrIdentifier(this.state.type)?this.lookaheadCharCode():null;if(58===a)r=!0,n=!1,i=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(63===a){n=!0;const e=this.state.value,t=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(r=!0,i=this.createIdentifier(this.startNodeAt(s),e),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=t,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),r=this.eat(14);if(r){let e;i?(e=this.startNodeAt(s),e.optional=n,e.label=i,e.elementType=o,this.eat(17)&&(e.optional=!0,this.raise(Qe.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(s),e.optional=n,this.raise(Qe.InvalidTupleMemberLabel,o),e.label=o,e.elementType=this.tsParseType()),o=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAt(s);e.typeAnnotation=o,o=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=o,o=this.finishNode(t,"TSRestType")}return o}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();return"TSConstructorType"===e&&(s.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 135!==t.type&&136!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||88===e||84===e){const t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){const{startLoc:e}=this.state;let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const s=this.startNodeAt(e);s.elementType=t,this.expect(3),t=this.finishNode(s,"TSArrayType")}else{const s=this.startNodeAt(e);s.objectType=t,s.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(s,"TSIndexedAccessType")}return t}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Qe.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=121&&e<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode(),i=this.eat(s),n=[];do{n.push(t())}while(this.eat(s));return 1!==n.length||i?(r.types=n,this.finishNode(r,e)):n[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch(e){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(s.parameterName=e,s.asserts=!0,s.typeAnnotation=null,e=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(e,s),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return r?(s.parameterName=this.parseIdentifier(),s.asserts=r,s.typeAnnotation=null,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const n=this.tsParseTypeAnnotation(!1);return s.parameterName=i,s.typeAnnotation=n,s.asserts=r,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(109!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!tokenIsIdentifier(this.state.type)&&!this.match(78))&&(e&&this.raise(se.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert$1(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Qe.ReservedTypeAssertion,this.state.startLoc);const e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(3),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")});return s.length||this.raise(Qe.EmptyHeritageClauseType,t,{token:e}),s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),tokenIsIdentifier(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Qe.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()===ie.brace)return e();{const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseEnumBody(){const e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,s){e.isExport=s||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(Qe.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),s=e();return this.state=t,s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),s=e();if(void 0!==s&&!1!==s)return s;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;const t=this.state.type;return this.tsInAmbientContext(()=>{switch(t){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,this.state.value,!0));case 107:if(this.isUsing())return this.raise(Qe.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.parseVarStatement(e,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(Qe.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.next(),this.parseVarStatement(e,"await using",!0);break;case 129:{const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(tokenIsIdentifier(t))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,t,s,r){switch(t){case 124:if(this.tsCheckLineTerminator(s)&&(this.match(80)||tokenIsIdentifier(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(s)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(tokenIsIdentifier(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(s)&&tokenIsIdentifier(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch(()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});return this.state.maybeInArrowParameters=t,s?super.parseArrowExpression(s,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),0===e.params.length?this.raise(Qe.EmptyTypeArguments,e):this.state.inType||this.curContext()!==ie.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=124&&e<=130;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseBindingElement(e,t){const s=t.length?t[0].loc.start:this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);const i=r.accessibility,n=r.override,o=r.readonly;4&e||!(i||o||n)||this.raise(Qe.UnexpectedParameterModifier,s);const a=this.parseMaybeDefault();2&e&&this.parseFunctionParamType(a);const c=this.parseMaybeDefault(a.loc.start,a);if(i||o||n){const e=this.startNodeAt(s);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),n&&(e.override=n),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(Qe.UnsupportedParameterPropertyKind,e),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(Qe.PatternIsOptional,t)}setArrowFunctionParameters(e,t,s){super.setArrowFunctionParameters(e,t,s),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,s=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(Qe.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,s))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(Qe.UnexpectedTypeAnnotation,e.typeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,s){const r=super.parseArrayLike(e,t,s);return"ArrayExpression"===r.type&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(e,t,s,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return r.stop=!0,e;r.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let n;const o=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return r.stop=!0,e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10))return void(n=this.state.curPosition());if(tokenIsTemplate(this.state.type)){const s=super.parseTaggedTemplateExpression(e,t,r);return s.typeParameters=o,s}if(!s&&this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=o,r.optionalChainMember&&(s.optional=i),this.finishCallExpression(s,r.optionalChainMember)}const a=this.state.type;if(48===a||52===a||10!==a&&tokenCanStartExpression(a)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,"TSInstantiationExpression")});if(n&&this.unexpected(n,10),o)return"TSInstantiationExpression"===o.type&&((this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(Qe.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),this.match(16)||this.match(18)||(o.expression=super.stopParseSubscript(e,r))),o}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:s}=e;"TSInstantiationExpression"!==s.type||null!=(t=s.extra)&&t.parenthesized||(e.typeParameters=s.typeParameters,e.callee=s.expression)}parseExprOp(e,t,s){let r;if(tokenOperatorPrecedence(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){const i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(se.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(i,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,s)}return super.parseExprOp(e,t,s)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Qe.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const t=this.lookaheadCharCode();return e?123===t||42===t:61!==t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){super.applyImportPhase(e,t,s,r),t?e.exportKind="type"===s?"type":"value":e.importKind="type"===s||"typeof"===s?s:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let t;if(tokenIsIdentifier(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const s=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,s);t=super.parseImportSpecifiersAndAfter(e,s)}else t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(Qe.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){const t=e;this.next();let s=null;this.isContextual(130)&&this.isPotentialImportPhase(!1)?s=this.parseMaybeImportPhase(t,!1):t.importKind="value";return this.tsParseImportEqualsDeclaration(t,s,!0)}if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,s=!1){const{isAmbientContext:r}=this.state,i=super.parseVarStatement(e,t,s||r);if(!r)return i;if(!e.declare&&("using"===t||"await using"===t))return this.raiseOverwrite(Qe.UsingDeclarationInAmbientContext,e,t),i;for(const{id:e,init:s}of i.declarations)s&&("var"===t||"let"===t||e.typeAnnotation?this.raise(Qe.InitializerNotAllowedInAmbientContext,s):isValidAmbientConstInitializer(s,this.hasPlugin("estree"))||this.raise(Qe.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,s));return i}parseStatementContent(e,t){if(!this.state.containsEsc)switch(this.state.type){case 75:if(this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}break;case 124:case 125:if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){const e=this.state.type,s=this.startNode();this.next();const r=125===e?this.tsTryParseDeclare(s):this.tsParseAbstractDeclaration(s,t);return r?(125===e&&(r.declare=!0),r):(s.expression=this.createIdentifier(this.startNodeAt(s.loc.start),125===e?"declare":"abstract"),this.semicolon(!1),this.finishNode(s,"ExpressionStatement"))}break;case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:if(123===this.lookaheadCharCode()){const e=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(e)}break;case 129:{const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e;break}case 127:if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){const e=this.startNode();return this.next(),this.tsParseDeclaration(e,127,!1,t)}break;case 128:if(this.nextTokenIsIdentifierOnSameLine()){const e=this.startNode();return this.next(),this.tsParseDeclaration(e,128,!1,t)}break;case 130:if(this.nextTokenIsIdentifierOnSameLine()){const e=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(e)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>tsIsAccessModifier(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Qe.InvalidModifierOnTypeParameterPositions},t);const callParseClassMemberWithIsStatic=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(Qe.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,s,!!t.static)};t.declare?this.tsInAmbientContext(callParseClassMemberWithIsStatic):callParseClassMemberWithIsStatic()}parseClassMemberWithIsStatic(e,t,s,r){const i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(Qe.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(Qe.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(Qe.IndexSignatureHasDeclare,t),void(t.override&&this.raise(Qe.IndexSignatureHasOverride,t));!this.state.inAbstractClass&&t.abstract&&this.raise(Qe.NonAbstractClassHasAbstractMethod,t),t.override&&(s.hadSuperClass||this.raise(Qe.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Qe.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(Qe.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}return super.parseConditional(e,t,s)}parseParenItem(e,t){const s=super.parseParenItem(e,t);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const t=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Qe.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const r=tokenIsIdentifier(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||s)&&(e.exportKind="type"),s&&"TSImportEqualsDeclaration"!==r.type&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(113))return;super.parseClassId(e,t,s,e.declare?1024:8331);const i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(Qe.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:t}=e;this.raise(Qe.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(this.offsetToSourcePos(t.start),this.offsetToSourcePos(t.end))}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Qe.PrivateElementHasAbstract,e),e.accessibility&&this.raise(Qe.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Qe.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,s,r,i,n){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(Qe.ConstructorHasTypeParameters,o);const{declare:a=!1,kind:c}=t;!a||"get"!==c&&"set"!==c||this.raise(Qe.DeclareAccessor,t,{kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,s,r,i,n)}pushClassPrivateMethod(e,t,s,r){const i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,s,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&null==e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,i,n,o){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,s,r,i,n,o)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(e.typeParameters=s),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const s=this.tsTryParseTypeAnnotation();s&&(e.id.typeAnnotation=s,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var s,r,i,n,o;let a,c,l,p;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(a=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!c.error)return c.node;const{context:s}=this.state,r=s[s.length-1];r!==ie.j_oTag&&r!==ie.j_expr||s.pop()}if(!(null!=(s=c)&&s.error||this.match(47)))return super.parseMaybeAssign(e,t);a&&a!==this.state||(a=this.state.clone());const h=this.tryParse(s=>{var r,i;p=this.tsParseTypeParameters(this.tsParseConstModifier);const n=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&s(),0!==(null==(i=p)?void 0:i.params.length)&&this.resetStartLocationFromNode(n,p),n.typeParameters=p,n},a);if(!h.error&&!h.aborted)return p&&this.reportReservedArrowTypeParam(p),h.node;if(!c&&(assert$1(!this.hasPlugin("jsx")),l=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!l.error))return l.node;if(null!=(r=c)&&r.node)return this.state=c.failState,c.node;if(h.node)return this.state=h.failState,p&&this.reportReservedArrowTypeParam(p),h.node;if(null!=(i=l)&&i.node)return this.state=l.failState,l.node;throw(null==(n=c)?void 0:n.error)||h.error||(null==(o=l)?void 0:o.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Qe.ReservedArrowTypeParam,e)}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(Qe.UnexpectedTypeCastInParameter,e):this.raise(Qe.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s,r){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(64!==r||!s)&&["expression",!0];default:return super.isValidLVal(e,t,s,r)}}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,t){if(this.match(47)||this.match(51)){const s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e,t);return r.typeParameters=s,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,t)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Qe.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,t,s){const r=e[t];"TSTypeCastExpression"===r.type&&(e[t]=this.typeCastToParameter(r)),super.toAssignableListItem(e,t,s)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(e=>this.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e)[0];return s&&this.isThisParam(s)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:t,strict:s}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=t,this.state.strict=s}}parseClass(e,t,s){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,s)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(Qe.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,t,s,r,i,n,o){const a=super.parseMethod(e,t,s,r,i,n,o);if(a.abstract||"TSAbstractMethodDefinition"===a.type){if((this.hasPlugin("estree")?a.value:a).body){const{key:e}=a;this.raise(Qe.AbstractMethodHasImplementation,a,{methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(this.offsetToSourcePos(e.start),this.offsetToSourcePos(e.end))}]`:e.name})}}return a}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,s),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,s,r))}parseImportSpecifier(e,t,s,r,i){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r,s?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,s){const r=t?"imported":"local",i=t?"local":"exported";let n,o=e[r],a=!1,c=!0;const l=o.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();tokenIsKeywordOrIdentifier(this.state.type)?(a=!0,o=e,n=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(n=s,c=!1)}else tokenIsKeywordOrIdentifier(this.state.type)?(c=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else tokenIsKeywordOrIdentifier(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&s&&this.raise(t?Qe.TypeModifierIsUsedInTypeImports:Qe.TypeModifierIsUsedInTypeExports,l),e[r]=o,e[i]=n;e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(93)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=this.cloneIdentifier(e[r])),t&&this.checkIdentifier(e[i],a?4098:4096)}fillOptionalPropertiesForTSESLint(e){switch(e.type){case"ExpressionStatement":return void(null!=e.directive||(e.directive=void 0));case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":return null!=e.decorators||(e.decorators=[]),null!=e.optional||(e.optional=!1),void(null!=e.typeAnnotation||(e.typeAnnotation=void 0));case"TSParameterProperty":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":return null!=e.declare||(e.declare=!1),null!=e.returnType||(e.returnType=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"Property":return void(null!=e.optional||(e.optional=!1));case"TSMethodSignature":case"TSPropertySignature":null!=e.optional||(e.optional=!1);case"TSIndexSignature":return null!=e.accessibility||(e.accessibility=void 0),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":null!=e.declare||(e.declare=!1),null!=e.definite||(e.definite=!1),null!=e.readonly||(e.readonly=!1),null!=e.typeAnnotation||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),void(null!=e.optional||(e.optional=!1));case"ClassExpression":null!=e.id||(e.id=null);case"ClassDeclaration":return null!=e.abstract||(e.abstract=!1),null!=e.declare||(e.declare=!1),null!=e.decorators||(e.decorators=[]),null!=e.implements||(e.implements=[]),null!=e.superTypeArguments||(e.superTypeArguments=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"TSTypeAliasDeclaration":case"VariableDeclaration":return void(null!=e.declare||(e.declare=!1));case"VariableDeclarator":return void(null!=e.definite||(e.definite=!1));case"TSEnumDeclaration":return null!=e.const||(e.const=!1),void(null!=e.declare||(e.declare=!1));case"TSEnumMember":return void(null!=e.computed||(e.computed=!1));case"TSImportType":return null!=e.qualifier||(e.qualifier=null),void(null!=e.options||(e.options=null));case"TSInterfaceDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.extends||(e.extends=[]));case"TSMappedType":return null!=e.optional||(e.optional=!1),void(null!=e.readonly||(e.readonly=void 0));case"TSModuleDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.global||(e.global="global"===e.kind));case"TSTypeParameter":return null!=e.const||(e.const=!1),null!=e.in||(e.in=!1),void(null!=e.out||(e.out=!1))}}chStartsBindingIdentifierAndNotRelationalOperator(e,t){if(isIdentifierStart(e)){if(Ge.lastIndex=t,Ge.test(this.input)){const e=this.codePointAtPos(Ge.lastIndex);if(!isIdentifierChar(e)&&92!==e)return!1}return!0}return 92===e}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(t,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)||34===t||39===t}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName(),s=this.createIdentifier(t,e);if(this.castNodeTo(s,"V8IntrinsicIdentifier"),this.match(10))return s}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(133)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let s=e;return s.expectedNode&&s.type||(s=this.finishNode(s,"Placeholder")),s.expectedNode=t,s}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,s,r){void 0!==e&&super.checkReservedWord(e,t,s,r)}cloneIdentifier(e){const t=super.cloneIdentifier(e);return"Placeholder"===t.type&&(t.expectedNode=e.expectedNode),t}cloneStringLiteral(e){return"Placeholder"===e.type?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,s,r){return"Placeholder"===e||super.isValidLVal(e,t,s,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;const s=this.nextTokenStart();return 37===this.input.charCodeAt(s)&&37===this.input.charCodeAt(s+1)}verifyBreakContinue(e,t){var s;"Placeholder"!==(null==(s=e.label)?void 0:s.type)&&super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var s;if("Placeholder"!==t.type||null!=(s=t.extra)&&s.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const s=e;return s.label=this.finishPlaceholder(t,"Identifier"),this.next(),s.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(s,"LabeledStatement")}this.semicolon();const r=e;return r.name=t.name,this.finishPlaceholder(r,"Statement")}parseBlock(e,t,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,s)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();const i=this.state.strict,n=this.parsePlaceholder("Identifier");if(n){if(!(this.match(81)||this.match(133)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,r);throw this.raise(Je.ClassNameIsRequired,this.state.startLoc)}e.id=n}else this.parseClassId(e,t,s);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,i),this.finishNode(e,r)}parseExport(e,t){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(e,t);const r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const i=this.startNode();return i.exported=s,r.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],super.parseExport(r,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(tokenLabelName(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var s;return!(null==(s=e.specifiers)||!s.length)||super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter(e=>"Placeholder"===e.exported.type)),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const s=this.startNodeAtNode(t);if(s.local=t,e.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)){this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)}return this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Je.UnexpectedSpace,this.state.lastTokEndLoc)}}},Ze=Object.keys($e);class ExpressionParser extends LValParser{checkProto(e,t,s,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return s;const i=e.key;return"__proto__"===("Identifier"===i.type?i.name:i.value)?t?(this.raise(se.RecordNoProto,i),!0):(s&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(se.DuplicateProto,i)),!0):s}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&this.offsetToSourcePos(e.start)===t}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(se.ParseExpressionEmptyInput,this.state.startLoc);const e=this.parseExpression();if(!this.match(140))throw this.raise(se.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,256&this.optionFlags&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,t){const s=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let e=this.parseYield(s);return t&&(e=t.call(this,e,s)),e}let i;e?i=!1:(e=new ExpressionErrors,i=!0);const{type:n}=this.state;(10===n||tokenIsIdentifier(n))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,s)),(a=this.state.type)>=29&&a<=33){const t=this.startNodeAt(s),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(o,!0),t.left=o;const r=s.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),null!=e.voidPatternLoc&&e.voidPatternLoc.index>=r&&(e.voidPatternLoc=null)}else t.left=o;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(t,"AssignmentExpression"),void 0,void 0,void 0,void 0,"||="===r||"&&="===r||"??="===r),t}var a;if(i&&this.checkExpressionErrors(e,!0),r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(se.YieldNotInGeneratorFunction,s),this.parseYield(s)}return o}parseMaybeConditional(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,t,e)}parseConditional(e,t,s){if(this.eat(17)){const s=this.startNodeAt(t);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(s>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(se.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if((i=r)>=39&&i<=59&&(this.prodParam.hasIn||!this.match(58))){let i=tokenOperatorPrecedence(r);if(i>s){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const n=this.startNodeAt(t);n.left=e,n.operator=this.state.value;const o=41===r||42===r,a=40===r;if(a&&(i=tokenOperatorPrecedence(42)),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(se.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);n.right=this.parseExprOpRightExpr(r,i);const c=this.finishNode(n,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(se.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,s)}}var i;return e}parseExprOpRightExpr(e,t){const s=this.state.startLoc;if(39===e){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}if("smart"===this.getPluginOption("pipelineOperator","proposal"))return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(se.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)})}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,57===e?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,s=this.parseMaybeAssign();return!q.has(s.type)||null!=(e=s.extra)&&e.parenthesized||this.raise(se.PipeUnparenthesizedBody,t,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(se.PipeTopicUnused,t),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(se.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();const e=this.parseAwait(s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(34),n=this.startNode();if(o=this.state.type,ge[o]){n.operator=this.state.value,n.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),n.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){const e=n.argument;"Identifier"===e.type?this.raise(se.StrictDelete,n):this.hasPropertyAsPrivateName(e)&&this.raise(se.DeletePrivateField,n)}if(!i)return t||this.checkExponentialAfterUnary(n),this.finishNode(n,"UnaryExpression")}var o;const a=this.parseUpdate(n,i,e);if(r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(se.AwaitNotInAsyncContext,s),this.parseAwait(s)}return a}parseUpdate(e,t,s){if(t){const t=e;return this.checkLVal(t.argument,this.finishNode(t,"UpdateExpression")),e}const r=this.state.startLoc;let i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon();){const e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(e,"UpdateExpression"))}return i}parseExprSubscripts(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r),r.maybeAsyncArrow=!1}while(!r.stop);return e}parseSubscript(e,t,s,r){const{type:i}=this.state;if(!s&&15===i)return this.parseBind(e,t,s,r);if(tokenIsTemplate(i))return this.parseTaggedTemplateExpression(e,t,r);let n=!1;if(18===i){if(s&&(this.raise(se.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return this.stopParseSubscript(e,r);r.optionalChainMember=n=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n);{const s=this.eat(0);return s||n||this.eat(16)?this.parseMember(e,t,r,s,n):this.stopParseSubscript(e,r)}}stopParseSubscript(e,t){return t.stop=!0,e}parseMember(e,t,s,r,i){const n=this.startNodeAt(t);return n.object=e,n.computed=r,r?(n.property=this.parseExpression(),this.expect(3)):this.match(139)?("Super"===e.type&&this.raise(se.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),n.property=this.parsePrivateName()):n.property=this.parseIdentifier(!0),s.optionalChainMember?(n.optional=i,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}parseBind(e,t,s,r){const i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,r){const i=this.state.maybeInArrowParameters;let n=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t);o.callee=e;const{maybeAsyncArrow:a,optionalChainMember:c}=s;a&&(this.expressionScope.enter(new ArrowHeadParsingScope(2)),n=new ExpressionErrors),c&&(o.optional=r),o.arguments=r?this.parseCallExpressionArguments():this.parseCallExpressionArguments("Super"!==e.type,o,n);let l=this.finishCallExpression(o,c);return a&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(n),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(n,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){const r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(se.OptionalChainingNoTemplate,t),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(0===e.arguments.length||e.arguments.length>2)this.raise(se.ImportCallArity,e);else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(se.ImportCallSpreadArgument,t);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s){const r=[];let i=!0;const n=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(i)i=!1;else if(this.expect(12),this.match(11)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}r.push(this.parseExprListItem(11,!1,s,e))}return this.state.inFSharpPipelineDirectBody=n,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(s=t.extra)?void 0:s.trailingCommaLoc),t.innerComments&&setInnerComments(e,t.innerComments),t.callee.trailingComments&&setInnerComments(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(10)?512&this.optionFlags?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(se.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 0:return this.parseArrayLike(3,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(se.UnsupportedBind,e)}case 139:return this.raise(se.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||62===e)throw this.expectOnePlugin(["jsx","flow","typescript"]);throw this.unexpected()}default:if(137===r)return this.parseDecimalLiteral(this.state.value);if(2===r||1===r)return this.parseArrayLike(2===this.state.type?4:3,!0);if(6===r||7===r)return this.parseObjectLike(6===this.state.type?9:8,!1,!0);if(tokenIsIdentifier(r)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,s=this.parseIdentifier();if(!t&&"async"===s.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(s));if(tokenIsIdentifier(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===e)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1),this.parseTopicReference(s);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,s,e,r)}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r))return"hack"===s?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(se.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(se.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference"));throw this.raise(se.PipeTopicUnconfiguredToken,t,{token:tokenLabelName(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(s)}]);case"smart":return 27===s;default:throw this.raise(se.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(se.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?16&this.optionFlags||this.raise(se.SuperNotAllowed,e):this.scope.allowSuper||16&this.optionFlags||this.raise(se.UnexpectedSuper,e),this.match(10)||this.match(0)||this.match(16)||this.raise(se.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(createPositionWithColumnOffset(this.state.startLoc,1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;const r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||r)&&this.raise(se.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){const t=this.isContextual(105);return this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}{const t=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(se.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.startNode();return this.addExtra(t,"raw",this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,"RegExpLiteral")}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new ArrowHeadParsingScope(1));const r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const n=this.state.startLoc,o=[],a=new ExpressionErrors;let c,l,p=!0;for(;!this.match(11);){if(p)p=!1;else if(this.expect(12,null===a.optionalParametersLoc?null:a.optionalParametersLoc),this.match(11)){l=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,a,this.parseParenItem))}const h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let u=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(u=this.parseArrow(u))?(this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(u,o,!1),u):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),l&&this.unexpected(l),c&&this.unexpected(c),this.checkExpressionErrors(a,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(n),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,h)):s=o[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!(1024&this.optionFlags))return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");return this.scope.allowNewTarget||this.raise(se.UnexpectedNewTarget,s),s}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){const t=this.match(83),s=this.parseNoCallExpr();e.callee=s,!t||"Import"!==s.type&&"ImportExpression"!==s.type||this.raise(se.ImportCallNotNewExpression,s)}parseTemplateElement(e){const{start:t,startLoc:s,end:r,value:i}=this.state,n=t+1,o=this.startNodeAt(createPositionWithColumnOffset(s,1));null===i&&(e||this.raise(se.InvalidEscapeSequenceTemplate,createPositionWithColumnOffset(this.state.firstInvalidTemplateEscapePos,1)));const a=this.match(24),c=a?-1:-2,l=r+c;o.value={raw:this.input.slice(n,l).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,c)},o.tail=a,this.next();const p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,createPositionWithColumnOffset(this.state.lastTokEndLoc,c)),p}parseTemplate(e){const t=this.startNode();let s=this.parseTemplateElement(e);const r=[s],i=[];for(;!s.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(s=this.parseTemplateElement(e));return t.expressions=i,t.quasis=r,this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=!1,o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(r),n=this.checkProto(i,s,n,r)),s&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(se.InvalidRecordProperty,i),i.shorthand&&this.addExtra(i,"shorthand",!0),a.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let c="ObjectExpression";return t?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(a,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(se.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());const s=this.startNode();let r,i=!1,n=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(s.decorators=t,t=[]),s.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);const a=this.state.containsEsc;if(this.parsePropertyName(s,e),!o&&!a&&this.maybeAsyncOrAccessorProp(s)){const{key:e}=s,t=e.name;"async"!==t||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(e),o=this.eat(55),this.parsePropertyName(s)),"get"!==t&&"set"!==t||(n=!0,this.resetPreviousNodeTrailingComments(e),s.kind=t,this.match(55)&&(o=!0,this.raise(se.AccessorIsGenerator,this.state.curPosition(),{kind:t}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,r,o,i,!1,n,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==s&&this.raise("get"===e.kind?se.BadGetterArity:se.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(se.BadSetterRestParameter,e)}parseObjectMethod(e,t,s,r,i){if(i){const s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(s||t||this.match(10))return r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,s,r){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(e);if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){const s=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=s):this.raise(se.InvalidCoverInitializedName,s),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,t,s,r,i,n,o){const a=this.parseObjectMethod(e,s,r,i,n)||this.parseObjectProperty(e,t,i,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:r}=this.state;let i;if(tokenIsKeywordOrIdentifier(s))i=this.parseIdentifier(!0);else switch(s){case 135:i=this.parseNumericLiteral(r);break;case 134:i=this.parseStringLiteral(r);break;case 136:i=this.parseBigIntLiteral(r);break;case 139:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(se.UnexpectedPrivateField,e),i=this.parsePrivateName();break}default:if(137===s){i=this.parseDecimalLiteral(r);break}this.unexpected()}e.key=i,139!==s&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,s,r,i,n,o=!1){this.initFunction(e,s),e.generator=t,this.scope.enter(530|(o?576:0)|(i?32:0)),this.prodParam.enter(functionFlags(s,e.generator)),this.parseFunctionParams(e,r);const a=this.parseFunctionBodyAndFinish(e,n,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,s){t&&this.expectPlugin("recordAndTuple");const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!t,s,i),this.state.inFSharpPipelineDirectBody=r,this.finishNode(i,t?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(518);let i=functionFlags(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,s);const n=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=n,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t,s=!1){return this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t,s=!1){const r=t&&!this.match(5);if(this.expressionScope.enter(newExpressionScope()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const r=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,i=>{const n=!this.isSimpleParamList(e.params);i&&n&&this.raise(se.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);const o=!r&&this.state.strict;this.checkParams(e,!(this.state.strict||t||s||n),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,s=e.length;t<s;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,s,r=!0){const i=!t&&new Set,n={type:"FormalParameters"};for(const t of e.params)this.checkLVal(t,n,5,i,r)}parseExprList(e,t,s,r){const i=[];let n=!0;for(;!this.eat(e);){if(n)n=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(e,t,s))}return i}parseExprListItem(e,t,s,r){let i;if(this.match(12))t||this.raise(se.UnexpectedToken,this.state.curPosition(),{unexpected:","}),i=null;else if(this.match(21)){const e=this.state.startLoc;i=this.parseParenItem(this.parseSpread(s),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(se.UnexpectedArgumentPlaceholder,this.state.startLoc);const e=this.startNode();this.next(),i=this.finishNode(e,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowInOrVoidPattern(e,s,this.parseParenItem);return i}parseIdentifier(e){const t=this.startNode(),s=this.parseIdentifierName(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}createIdentifierAt(e,t,s){return e.name=t,e.loc.identifierName=t,this.finishNodeAt(e,"Identifier",s)}parseIdentifierName(e){let t;const{startLoc:s,type:r}=this.state;tokenIsKeywordOrIdentifier(r)?t=this.state.value:this.unexpected();const i=r<=92;return e?i&&this.replaceToken(132):this.checkReservedWord(t,s,i,!1),this.next(),t}checkReservedWord(e,t,s,r){if(e.length>10)return;if(!function(e){return ke.has(e)}(e))return;if(s&&function(e){return ve.has(e)}(e))return void this.raise(se.UnexpectedKeyword,t,{keyword:e});if((this.state.strict?r?isStrictBindReservedWord:isStrictReservedWord:isReservedWord)(e,this.inModule))this.raise(se.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(se.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(se.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(se.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(se.ArgumentsInClass,t)}recordAwaitIfAllowed(){const e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(se.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(se.ObsoleteAwaitStar,t),this.scope.inFunction||1&this.optionFlags||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||tokenIsTemplate(e)||102===e&&!this.state.containsEsc||138===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(e){const t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(se.YieldInParameter,t);let s=!1,r=null;if(!this.hasPrecedingLineBreak())switch(s=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!s)break;default:r=this.parseMaybeAssign()}return t.delegate=s,t.argument=r,this.finishNode(t,"YieldExpression")}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12))if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do{this.parseMaybeAssignAllowIn()}while(this.eat(12)&&!this.match(11));this.raise(se.ImportCallArity,e)}return this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(se.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}{const s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(se.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(se.PipelineTopicUnused,e)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parseVoidPattern(e){this.expectPlugin("discardBinding");const t=this.startNode();return null!=e&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(e,t,s){if(null!=t&&this.match(88)){const s=this.lookaheadCharCode();if(44===s||s===(3===e?93:8===e?125:41)||61===s)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,s)}parsePropertyNamePrefixOperator(e){}}const ze={kind:1},qe={kind:2},et=/[\uD800-\uDFFF]/u,tt=/in(?:stanceof)?/y;class StatementParser extends ExpressionParser{parseTopLevel(e,t){return e.program=this.parseProgram(t,140,"module"===this.options.sourceType?"module":"script"),e.comments=this.comments,256&this.optionFlags&&(e.tokens=function(e,t,s){for(let r=0;r<e.length;r++){const i=e[r],{type:n}=i;if("number"==typeof n){if(139===n){const{loc:t,start:s,value:n,end:o}=i,a=s+1,c=createPositionWithColumnOffset(t.start,1);e.splice(r,1,new Token({type:getExportedToken(27),value:"#",start:s,end:a,startLoc:t.start,endLoc:c}),new Token({type:getExportedToken(132),value:n,start:a,end:o,startLoc:c,endLoc:t.end})),r++;continue}if(tokenIsTemplate(n)){const{loc:o,start:a,value:c,end:l}=i,p=a+1,h=createPositionWithColumnOffset(o.start,1);let u,d,A,m,f;u=96===t.charCodeAt(a-s)?new Token({type:getExportedToken(22),value:"`",start:a,end:p,startLoc:o.start,endLoc:h}):new Token({type:getExportedToken(8),value:"}",start:a,end:p,startLoc:o.start,endLoc:h}),24===n?(A=l-1,m=createPositionWithColumnOffset(o.end,-1),d=null===c?null:c.slice(1,-1),f=new Token({type:getExportedToken(22),value:"`",start:A,end:l,startLoc:m,endLoc:o.end})):(A=l-2,m=createPositionWithColumnOffset(o.end,-2),d=null===c?null:c.slice(1,-2),f=new Token({type:getExportedToken(23),value:"${",start:A,end:l,startLoc:m,endLoc:o.end})),e.splice(r,1,u,new Token({type:getExportedToken(20),value:d,start:p,end:A,startLoc:h,endLoc:m}),f),r+=2;continue}i.type=getExportedToken(n)}}return e}(this.tokens,this.input,this.startIndex)),this.finishNode(e,"File")}parseProgram(e,t,s){if(e.sourceType=s,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(64&this.optionFlags)&&this.scope.undefinedExports.size>0)for(const[e,t]of Array.from(this.scope.undefinedExports))this.raise(se.ModuleExportUndefined,t,{localName:e});this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return r=140===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",createPositionWithColumnOffset(this.state.startLoc,-1)),r}stmtToDirective(e){const t=this.castNodeTo(e,"Directive"),s=this.castNodeTo(e.expression,"DirectiveLiteral"),r=s.value,i=this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end)),n=s.value=i.slice(1,-1);return this.addExtra(s,"raw",i),this.addExtra(s,"rawValue",n),this.addExtra(s,"expressionValue",r),t.value=s,delete e.expression,t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}isUsing(){return!!this.isContextual(107)&&this.nextTokenIsIdentifierOnSameLine()}isForUsing(){if(!this.isContextual(107))return!1;const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){const t=this.lookaheadCharCodeSince(e+2);if(61!==t&&58!==t&&59!==t)return!1}return!(!this.chStartsBindingIdentifier(t,e)&&!this.isUnparsedContextual(e,"void"))}nextTokenIsIdentifierOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}chStartsBindingIdentifier(e,t){if(isIdentifierStart(e)){if(tt.lastIndex=t,tt.test(this.input)){const e=this.codePointAtPos(tt.lastIndex);if(!isIdentifierChar(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifierOrBrace(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return 123===t||this.chStartsBindingIdentifier(t,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const s=this.state.type,r=this.startNode(),i=!!(2&e),n=!!(4&e),o=1&e;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(46===this.lookaheadCharCode())break;return n||this.raise(this.state.strict?se.StrictFunction:this.options.annexB?se.SloppyFunctionAnnexB:se.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&n);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(se.AwaitUsingNotInAsyncContext,r):this.raise(se.UnexpectedLexicalDeclaration,r):this.raise(se.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(se.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(se.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!i&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:i||this.raise(se.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const e=this.state.value;return this.parseVarStatement(r,e)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return 8&this.optionFlags||o||this.raise(se.UnexpectedImportExport,this.state.startLoc),this.next(),e=83===s?this.parseImport(r):this.parseExport(r,t),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(se.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&n)}const a=this.state.value,c=this.parseExpression();return tokenIsIdentifier(s)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(r,a,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){8&this.optionFlags||this.inModule||this.raise(se.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,s){var r;e&&(null!=(r=t.decorators)&&r.length?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(se.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t));return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(se.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(se.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let s;if(this.match(10)){const t=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(t,s);const r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s,t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==s&&this.raise(se.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=s,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s,t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e,t){if(this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(),this.toReferencedList(s.arguments),this.finishNode(s,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let s;for(s=0;s<this.state.labels.length;++s){const r=this.state.labels[s];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(t||1===r.kind))break;if(e.label&&t)break}}if(s===this.state.labels.length){const s=t?"BreakStatement":"ContinueStatement";this.raise(se.IllegalBreakContinue,e,{type:s})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(ze),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(ze);let t=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);const s=this.isContextual(100);{const r=this.isAwaitUsing(),i=r||this.isForUsing(),n=s&&this.hasFollowingBindingAtom()||i;if(this.match(74)||this.match(75)||n){const s=this.startNode();let n;r?(n="await using",this.recordAwaitIfAllowed()||this.raise(se.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):n=this.state.value,this.next(),this.parseVar(s,!0,n);const o=this.finishNode(s,"VariableDeclaration"),a=this.match(58);return a&&i&&this.raise(se.ForInUsing,o),(a||this.isContextual(102))&&1===o.declarations.length?this.parseForIn(e,o,t):(null!==t&&this.unexpected(t),this.parseFor(e,o))}}const r=this.isContextual(95),i=new ExpressionErrors,n=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(s&&this.raise(se.ForOfLet,n),null===t&&r&&"Identifier"===n.type&&this.raise(se.ForOfAsync,n)),o||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(n,!0);const s=o?"ForOfStatement":"ForInStatement";return this.checkLVal(n,{type:s}),this.parseForIn(e,n,t)}return this.checkExpressionErrors(i,!0),null!==t&&this.unexpected(t),this.parseFor(e,n)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(se.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let s;this.expect(5),this.state.labels.push(qe),this.scope.enter(256);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){const r=this.match(61);s&&this.finishNode(s,"SwitchCase"),t.push(s=this.startNode()),s.consequent=[],this.next(),r?s.test=this.parseExpression():(e&&this.raise(se.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),e=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(se.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(se.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=!1){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(ze),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(se.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const e of this.state.labels)e.name===t&&this.raise(se.LabelRedeclaration,s,{labelName:t});const i=(n=this.state.type)>=90&&n<=92?1:this.match(71)?2:null;var n;for(let t=this.state.labels.length-1;t>=0;t--){const s=this.state.labels[t];if(s.statementStart!==e.start)break;s.statementStart=this.sourceToOffsetPos(this.state.start),s.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,s){const r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,s),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,i){const n=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(n,t?o:void 0,s,r,i)}parseBlockOrModuleBlockBody(e,t,s,r,i){const n=this.state.strict;let o=!1,a=!1;for(;!this.match(r);){const r=s?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(r)}null==i||i.call(this,o),n||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(58);return this.next(),r?null!==s&&this.unexpected(s):e.await=null!==s,"VariableDeclaration"!==t.type||null==t.declarations[0].init||r&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(se.ForInOfLoopInitializer,t,{type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(se.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,r=!1){const i=e.declarations=[];for(e.kind=s;;){const e=this.startNode();if(this.parseVarId(e,s),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||r||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==s&&"using"!==s&&"await using"!==s||this.match(58)||this.isContextual(102)||this.raise(se.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s}):this.raise(se.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){const s=this.parseBindingAtom();"using"===t||"await using"===t?"ArrayPattern"!==s.type&&"ObjectPattern"!==s.type||this.raise(se.UsingDeclarationHasBindingPattern,s.loc.start):"VoidPattern"===s.type&&this.raise(se.UnexpectedVoidPattern,s.loc.start),this.checkLVal(s,{type:"VariableDeclarator"},"var"===t?5:8201),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const s=2&t,r=!!(1&t),i=r&&!(4&t),n=!!(8&t);this.initFunction(e,n),this.match(55)&&(s&&this.raise(se.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(i));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(functionFlags(n,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new ExpressionScope(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,s){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:e};let r=[];const i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(se.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(i,e,s),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(se.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),r.length)throw this.raise(se.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const r=t;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){const r=t;return r.computed=!1,r.key=s,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(e,t,s){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const i=t,n=t,o=t,a=t,c=t,l=i,p=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";const t=this.match(139);return this.parseClassElementName(l),this.parsePostMemberNameModifiers(l),t?void this.pushClassPrivateMethod(e,n,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(se.ConstructorIsGenerator,i.key),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const h=!this.state.containsEsc&&tokenIsIdentifier(this.state.type),u=this.parseClassElementName(t),d=h?u.name:null,A=this.isPrivateName(u),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(l.kind="method",A)return void this.pushClassPrivateMethod(e,n,!1,!1);const r=this.isNonstaticConstructor(i);let o=!1;r&&(i.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(se.DuplicateConstructor,u),r&&this.hasPlugin("typescript")&&t.override&&this.raise(se.OverrideOnConstructor,u),s.hadConstructor=!0,o=s.hadSuperClass),this.pushClassMethod(e,i,!1,!1,r,o)}else if(this.isClassProperty())A?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if("async"!==d||this.isLineTerminator())if("get"!==d&&"set"!==d||this.match(55)&&this.isLineTerminator())if("accessor"!==d||this.isLineTerminator())this.isLineTerminator()?A?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(u);const t=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else{this.resetPreviousNodeTrailingComments(u),l.kind=d;const t=this.match(139);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,n,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(se.ConstructorIsAccessor,i.key),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else{this.resetPreviousNodeTrailingComments(u);const t=this.eat(55);p.optional&&this.unexpected(m),l.kind="method";const s=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(p),s?this.pushClassPrivateMethod(e,n,t,!0):(this.isNonstaticConstructor(i)&&this.raise(se.ConstructorIsAsync,i.key),this.pushClassMethod(e,i,t,!0,!1,!1))}}parseClassElementName(e){const{type:t,value:s}=this.state;if(132!==t&&134!==t||!e.static||"prototype"!==s||this.raise(se.StaticPrototype,this.state.startLoc),139===t){"constructor"===s&&this.raise(se.ConstructorClassPrivateField,this.state.startLoc);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){var s;this.scope.enter(720);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),null!=(s=t.decorators)&&s.length&&this.raise(se.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(se.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(e,t,s){s||t.computed||!this.nameIsConstructor(t.key)||this.raise(se.ConstructorClassField,t.key);const r=this.parseClassAccessorProperty(t);e.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,s,r,i,n){e.body.push(this.parseMethod(t,s,r,i,n,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,r){const i=this.parseMethod(t,s,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);const n="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,n)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(newExpressionScope()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s,r=8331){if(tokenIsIdentifier(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(se.MissingClassName,this.state.startLoc);e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const s=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,s),i=!r||this.eat(12),n=i&&this.eatExportStar(e),o=n&&this.maybeParseExportNamespaceSpecifier(e),a=i&&(!o||this.eat(12)),c=r||n;if(n&&!o){if(r&&this.unexpected(),t)throw this.raise(se.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}const l=this.maybeParseExportNamedSpecifiers(e);let p;if(r&&i&&!n&&!l&&this.unexpected(null,5),o&&a&&this.unexpected(null,98),c||l){if(p=!1,t)throw this.raise(se.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else p=this.maybeParseExportDeclaration(e);if(c||l||p){var h;const s=e;if(this.checkExport(s,!0,!1,!!s.source),"ClassDeclaration"===(null==(h=s.declaration)?void 0:h.type))this.maybeTakeDecorators(t,s.declaration,s);else if(t)throw this.raise(se.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(s,"ExportNamedDeclaration")}if(this.eat(65)){const s=e,r=this.parseExportDefaultExpression();if(s.declaration=r,"ClassDeclaration"===r.type)this.maybeTakeDecorators(t,r,s);else if(t)throw this.raise(se.UnsupportedDecoratorExport,e);return this.checkExport(s,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(s,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);const s=t||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);const s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(s,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){const t=e;t.specifiers||(t.specifiers=[]);const s="type"===t.exportKind;return t.specifiers.push(...this.parseExportSpecifiers(s)),t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(se.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(se.UnsupportedDefaultExport,this.state.startLoc);const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){if(this.match(80)){return this.parseClass(this.startNode(),!0,!1)}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){const e=this.nextTokenStart(),t=this.input.charCodeAt(e);if(123===t||this.chStartsBindingIdentifier(t,e)&&!this.input.startsWith("from",e))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||tokenIsIdentifier(this.state.type)&&s)return!0;if(this.match(65)&&s){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(se.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(se.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){var i;if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!==4||null!=(n=t.extra)&&n.parenthesized||this.raise(se.ExportDefaultFromAsIdentifier,t)}}else if(null!=(i=e.specifiers)&&i.length)for(const t of e.specifiers){const{exported:e}=t,s="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,s),!r&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(se.ExportBindingIsString,t,{localName:e.value,exportName:s}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration){const t=e.declaration;if("FunctionDeclaration"===t.type||"ClassDeclaration"===t.type){const{id:s}=t;if(!s)throw new Error("Assertion failure");this.checkDuplicateExports(e,s.name)}else if("VariableDeclaration"===t.type)for(const e of t.declarations)this.checkDeclaration(e.id)}}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(se.DuplicateDefaultExport,e):this.raise(se.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),i=this.match(134),n=this.startNode();n.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(n,i,e,r))}return t}parseExportSpecifier(e,t,s,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const e=this.parseStringLiteral(this.state.value),t=et.exec(e.value);return t&&this.raise(se.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some(({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value))}checkImportReflection(e){const{specifiers:t}=e,s=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==s&&this.raise(se.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==s&&this.raise(se.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;"ImportDefaultSpecifier"!==s&&this.raise(se.ImportReflectionNotBinding,t[0].loc.start),(null==(r=e.assertions)?void 0:r.length)>0&&this.raise(se.ImportReflectionHasAssertion,t[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){const e=t.find(e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value});void 0!==e&&this.raise(se.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(e,t,s,r){t||("module"===s?(this.expectPlugin("importReflection",r),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===s?(this.expectPlugin("sourcePhaseImports",r),e.phase="source"):"defer"===s?(this.expectPlugin("deferredImportEvaluation",r),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;const s=this.startNode(),r=this.parseIdentifierName(!0),{type:i}=this.state;return(tokenIsKeywordOrIdentifier(i)?98!==i||102===this.lookaheadCharCode():12!==i)?(this.applyImportPhase(e,t,r,s.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(s,r))}isPrecedingIdImportPhase(e){const{type:t}=this.state;return tokenIsIdentifier(t)?98!==t||102===this.lookaheadCharCode():12!==t}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const s=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(e);return s&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t,s=8201){return this.checkLVal(e.local,{type:t},s),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);const e=[],t=new Set;do{if(this.match(8))break;const s=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(se.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(134)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(se.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){const e=[],t=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(se.ModuleAttributeDifferentFromType,s.key),t.has(s.key.name)&&this.raise(se.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(134))throw this.raise(se.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;var s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?(t=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):t=this.parseImportAttributes(),s=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(se.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),t=this.parseImportAttributes()):t=[];!s&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){const s=this.startNodeAtNode(t);return s.local=t,e.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}return!!tokenIsKeywordOrIdentifier(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(se.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(134),i=this.isContextual(130);s.imported=this.parseModuleExportName();const n=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(n)}}parseImportSpecifier(e,t,s,r,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:s}=e;if(t)throw this.raise(se.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(s))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class Parser extends StatementParser{constructor(e,t,s){const r=function(e){const t={sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};if(null==e)return t;if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(const s of Object.keys(t))null!=e[s]&&(t[s]=e[s]);if(1===t.startLine)null==e.startIndex&&t.startColumn>0?t.startIndex=t.startColumn:null==e.startColumn&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((null==e.startColumn||null==e.startIndex)&&null!=e.startIndex)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if("commonjs"===t.sourceType){if(null!=e.allowAwaitOutsideFunction)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(null!=e.allowReturnOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(null!=e.allowNewTargetOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}(e);super(r,t),this.options=r,this.initializeScopes(),this.plugins=s,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let i=0;r.allowAwaitOutsideFunction&&(i|=1),r.allowReturnOutsideFunction&&(i|=2),r.allowImportExportEverywhere&&(i|=8),r.allowSuperOutsideMethod&&(i|=16),r.allowUndeclaredExports&&(i|=64),r.allowNewTargetOutsideFunction&&(i|=4),r.allowYieldOutsideFunction&&(i|=32),r.ranges&&(i|=128),r.tokens&&(i|=256),r.createImportExpressions&&(i|=512),r.createParenthesizedExpressions&&(i|=1024),r.errorRecovery&&(i|=2048),r.attachComment&&(i|=4096),r.annexB&&(i|=8192),this.optionFlags=i}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=null;const s=this.parseTopLevel(e,t);return s.errors=this.state.errors,s.comments.length=this.state.commentsLen,s}}const st=function(e){const t={};for(const s of Object.keys(e))t[s]=getExportedToken(e[s]);return t}(ye);function getParser(e,t){let s=Parser;const r=new Map;if(null!=e&&e.plugins){for(const t of e.plugins){let e,s;"string"==typeof t?e=t:[e,s]=t,r.has(e)||r.set(e,s||{})}!function(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=e.get("decorators").decoratorsBeforeExport;if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=e.get("decorators").allowCallParenthesized;if(null!=s&&"boolean"!=typeof s)throw new Error("'allowCallParenthesized' must be a boolean.")}if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){var t;const r=e.get("pipelineOperator").proposal;if(!Ye.includes(r)){const e=Ye.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}if("hack"===r){var s;if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=e.get("pipelineOperator").topicToken;if(!Xe.includes(t)){const e=Xe.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&"hash"===(null==(s=e.get("recordAndTuple"))?void 0:s.syntaxType))throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}else if("smart"===r&&"hash"===(null==(t=e.get("recordAndTuple"))?void 0:t.syntaxType))throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}if(e.has("moduleAttributes")){if(e.has("deprecatedImportAssert")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if("may-2020"!==e.get("moduleAttributes").version)throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(e.has("importAssertions")&&e.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(e.has("deprecatedImportAssert")||e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&e.set("deprecatedImportAssert",{}),e.has("recordAndTuple")){const t=e.get("recordAndTuple").syntaxType;if(null!=t){const e=["hash","bar"];if(!e.includes(t))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+e.map(e=>`'${e}'`).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(e.has("optionalChainingAssign")&&"2023-07"!==e.get("optionalChainingAssign").version)throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(e.has("discardBinding")&&"void"!==e.get("discardBinding").syntaxType)throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}(r),s=function(e){const t=[];for(const s of Ze)e.has(s)&&t.push(s);const s=t.join("|");let r=rt.get(s);if(!r){r=Parser;for(const e of t)r=$e[e](r);rt.set(s,r)}return r}(r)}return new s(e,t,r)}const rt=new Map;J.parse=function(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return getParser(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const s=getParser(t,e),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",getParser(t,e).parse()}catch(e){}else r.program.sourceType="script";return r}catch(s){try{return t.sourceType="script",getParser(t,e).parse()}catch(e){}throw s}},J.parseExpression=function(e,t){const s=getParser(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},J.tokTypes=st;var it={exports:{}};!function(e){class WalkerBase{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,s,r){e&&(null!==s?e[t][s]=r:e[t]=r)}remove(e,t,s){e&&(null!==s?e[t].splice(s,1):delete e[t])}}class SyncWalker extends WalkerBase{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,s,r){if(e){if(this.enter){const i=this.should_skip,n=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const a=this.should_skip,c=this.should_remove;if(this.should_skip=i,this.should_remove=n,this.replacement=o,a)return e;if(c)return null}for(const t in e){const s=e[t];if("object"==typeof s)if(Array.isArray(s))for(let r=0;r<s.length;r+=1)null!==s[r]&&"string"==typeof s[r].type&&(this.visit(s[r],e,t,r)||r--);else null!==s&&"string"==typeof s.type&&this.visit(s,e,t,null)}if(this.leave){const i=this.replacement,n=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const o=this.should_remove;if(this.replacement=i,this.should_remove=n,o)return null}}return e}}class AsyncWalker extends WalkerBase{constructor(e,t){super(),this.enter=e,this.leave=t}async visit(e,t,s,r){if(e){if(this.enter){const i=this.should_skip,n=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,await this.enter.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const a=this.should_skip,c=this.should_remove;if(this.should_skip=i,this.should_remove=n,this.replacement=o,a)return e;if(c)return null}for(const t in e){const s=e[t];if("object"==typeof s)if(Array.isArray(s))for(let r=0;r<s.length;r+=1)null!==s[r]&&"string"==typeof s[r].type&&(await this.visit(s[r],e,t,r)||r--);else null!==s&&"string"==typeof s.type&&await this.visit(s,e,t,null)}if(this.leave){const i=this.replacement,n=this.should_remove;this.replacement=null,this.should_remove=!1,await this.leave.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const o=this.should_remove;if(this.replacement=i,this.should_remove=n,o)return null}}return e}}function walk(e,{enter:t,leave:s}){return new SyncWalker(t,s).visit(e,null)}async function asyncWalk(e,{enter:t,leave:s}){const r=new AsyncWalker(t,s);return await r.visit(e,null)}e.asyncWalk=asyncWalk,e.walk=walk,Object.defineProperty(e,"__esModule",{value:!0})}(it.exports);var nt=it.exports,ot={},at={},ct={},lt={},pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");lt.encode=function(e){if(0<=e&&e<pt.length)return pt[e];throw new TypeError("Must be between 0 and 63: "+e)},lt.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var ht=lt;ct.encode=function(e){var t,s="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),s+=ht.encode(t)}while(r>0);return s},ct.decode=function(e,t,s){var r,i,n,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=ht.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&i),c+=(i&=31)<<l,l+=5}while(r);s.value=(o=(n=c)>>1,1&~n?o:-o),s.rest=t};var ut={};!function(e){e.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function urlParse(e){var s=e.match(t);return s?{scheme:s[1],auth:s[2],host:s[3],port:s[4],path:s[5]}:null}function urlGenerate(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=urlParse,e.urlGenerate=urlGenerate;var r,i,n=(r=function(t){var s=t,r=urlParse(t);if(r){if(!r.path)return t;s=r.path}for(var i=e.isAbsolute(s),n=[],o=0,a=0;;){if(o=a,-1===(a=s.indexOf("/",o))){n.push(s.slice(o));break}for(n.push(s.slice(o,a));a<s.length&&"/"===s[a];)a++}var c,l=0;for(a=n.length-1;a>=0;a--)"."===(c=n[a])?n.splice(a,1):".."===c?l++:l>0&&(""===c?(n.splice(a+1,l),l=0):(n.splice(a,2),l--));return""===(s=n.join("/"))&&(s=i?"/":"."),r?(r.path=s,urlGenerate(r)):s},i=[],function(e){for(var t=0;t<i.length;t++)if(i[t].input===e){var s=i[0];return i[0]=i[t],i[t]=s,i[0].result}var n=r(e);return i.unshift({input:e,result:n}),i.length>32&&i.pop(),n});function join(e,t){""===e&&(e="."),""===t&&(t=".");var r=urlParse(t),i=urlParse(e);if(i&&(e=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),urlGenerate(r);if(r||t.match(s))return t;if(i&&!i.host&&!i.path)return i.host=t,urlGenerate(i);var o="/"===t.charAt(0)?t:n(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=o,urlGenerate(i)):o}e.normalize=n,e.join=join,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var o=!("__proto__"in Object.create(null));function identity(e){return e}function isProtoString(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function strcmp(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=o?identity:function(e){return isProtoString(e)?"$"+e:e},e.fromSetString=o?identity:function(e){return isProtoString(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,s){var r=strcmp(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:strcmp(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,s){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:strcmp(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=strcmp(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:strcmp(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,s){var r=e.generatedColumn-t.generatedColumn;return 0!==r||s||0!==(r=strcmp(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:strcmp(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=strcmp(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:strcmp(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,s){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),s){var r=urlParse(s);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}t=join(urlGenerate(r),t)}return n(t)}}(ut);var dt={},At=ut,mt=Object.prototype.hasOwnProperty,ft="undefined"!=typeof Map;function ArraySet$2(){this._array=[],this._set=ft?new Map:Object.create(null)}ArraySet$2.fromArray=function(e,t){for(var s=new ArraySet$2,r=0,i=e.length;r<i;r++)s.add(e[r],t);return s},ArraySet$2.prototype.size=function(){return ft?this._set.size:Object.getOwnPropertyNames(this._set).length},ArraySet$2.prototype.add=function(e,t){var s=ft?e:At.toSetString(e),r=ft?this.has(e):mt.call(this._set,s),i=this._array.length;r&&!t||this._array.push(e),r||(ft?this._set.set(e,i):this._set[s]=i)},ArraySet$2.prototype.has=function(e){if(ft)return this._set.has(e);var t=At.toSetString(e);return mt.call(this._set,t)},ArraySet$2.prototype.indexOf=function(e){if(ft){var t=this._set.get(e);if(t>=0)return t}else{var s=At.toSetString(e);if(mt.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},ArraySet$2.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},ArraySet$2.prototype.toArray=function(){return this._array.slice()},dt.ArraySet=ArraySet$2;var gt={},yt=ut;function MappingList$1(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList$1.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},MappingList$1.prototype.add=function(e){var t,s,r,i,n,o;t=this._last,s=e,r=t.generatedLine,i=s.generatedLine,n=t.generatedColumn,o=s.generatedColumn,i>r||i==r&&o>=n||yt.compareByGeneratedPositionsInflated(t,s)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},MappingList$1.prototype.toArray=function(){return this._sorted||(this._array.sort(yt.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},gt.MappingList=MappingList$1;var xt=ct,Ct=ut,Et=dt.ArraySet,St=gt.MappingList;function SourceMapGenerator$1(e){e||(e={}),this._file=Ct.getArg(e,"file",null),this._sourceRoot=Ct.getArg(e,"sourceRoot",null),this._skipValidation=Ct.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=Ct.getArg(e,"ignoreInvalidMapping",!1),this._sources=new Et,this._names=new Et,this._mappings=new St,this._sourcesContents=null}SourceMapGenerator$1.prototype._version=3,SourceMapGenerator$1.fromSourceMap=function(e,t){var s=e.sourceRoot,r=new SourceMapGenerator$1(Object.assign(t||{},{file:e.file,sourceRoot:s}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=s&&(t.source=Ct.relative(s,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(t){var i=t;null!==s&&(i=Ct.relative(s,t)),r._sources.has(i)||r._sources.add(i);var n=e.sourceContentFor(t);null!=n&&r.setSourceContent(t,n)}),r},SourceMapGenerator$1.prototype.addMapping=function(e){var t=Ct.getArg(e,"generated"),s=Ct.getArg(e,"original",null),r=Ct.getArg(e,"source",null),i=Ct.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,s,r,i))&&(null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=s&&s.line,originalColumn:null!=s&&s.column,source:r,name:i}))},SourceMapGenerator$1.prototype.setSourceContent=function(e,t){var s=e;null!=this._sourceRoot&&(s=Ct.relative(this._sourceRoot,s)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ct.toSetString(s)]=t):this._sourcesContents&&(delete this._sourcesContents[Ct.toSetString(s)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},SourceMapGenerator$1.prototype.applySourceMap=function(e,t,s){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=Ct.relative(i,r));var n=new Et,o=new Et;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=s&&(t.source=Ct.join(s,t.source)),null!=i&&(t.source=Ct.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||n.has(c)||n.add(c);var l=t.name;null==l||o.has(l)||o.add(l)},this),this._sources=n,this._names=o,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=s&&(t=Ct.join(s,t)),null!=i&&(t=Ct.relative(i,t)),this.setSourceContent(t,r))},this)},SourceMapGenerator$1.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new Error(i)}if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s)){i="Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new Error(i)}},SourceMapGenerator$1.prototype._serializeMappings=function(){for(var e,t,s,r,i=0,n=1,o=0,a=0,c=0,l=0,p="",h=this._mappings.toArray(),u=0,d=h.length;u<d;u++){if(e="",(t=h[u]).generatedLine!==n)for(i=0;t.generatedLine!==n;)e+=";",n++;else if(u>0){if(!Ct.compareByGeneratedPositionsInflated(t,h[u-1]))continue;e+=","}e+=xt.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=xt.encode(r-l),l=r,e+=xt.encode(t.originalLine-1-a),a=t.originalLine-1,e+=xt.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(s=this._names.indexOf(t.name),e+=xt.encode(s-c),c=s)),p+=e}return p},SourceMapGenerator$1.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=Ct.relative(t,e));var s=Ct.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},SourceMapGenerator$1.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},SourceMapGenerator$1.prototype.toString=function(){return JSON.stringify(this.toJSON())},at.SourceMapGenerator=SourceMapGenerator$1;var It={},bt={};!function(e){function recursiveSearch(t,s,r,i,n,o){var a=Math.floor((s-t)/2)+t,c=n(r,i[a],!0);return 0===c?a:c>0?s-a>1?recursiveSearch(a,s,r,i,n,o):o==e.LEAST_UPPER_BOUND?s<i.length?s:-1:a:a-t>1?recursiveSearch(t,a,r,i,n,o):o==e.LEAST_UPPER_BOUND?a:t<0?-1:t}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(t,s,r,i){if(0===s.length)return-1;var n=recursiveSearch(-1,s.length,t,s,r,i||e.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&0===r(s[n],s[n-1],!0);)--n;return n}}(bt);var Tt={};function SortTemplate(e){function swap(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}return function doQuickSort(e,t,s,r){if(s<r){var i=s-1;swap(e,(c=s,l=r,Math.round(c+Math.random()*(l-c))),r);for(var n=e[r],o=s;o<r;o++)t(e[o],n,!1)<=0&&swap(e,i+=1,o);swap(e,i+1,o);var a=i+1;doQuickSort(e,t,s,a-1),doQuickSort(e,t,a+1,r)}var c,l}}let Pt=new WeakMap;Tt.quickSort=function(e,t,s=0){let r=Pt.get(t);void 0===r&&(r=function(e){let t=SortTemplate.toString();return new Function(`return ${t}`)()(e)}(t),Pt.set(t,r)),r(e,t,s,e.length-1)};var vt=ut,wt=bt,Nt=dt.ArraySet,kt=ct,_t=Tt.quickSort;function SourceMapConsumer(e,t){var s=e;return"string"==typeof e&&(s=vt.parseSourceMapInput(e)),null!=s.sections?new IndexedSourceMapConsumer(s,t):new BasicSourceMapConsumer(s,t)}function BasicSourceMapConsumer(e,t){var s=e;"string"==typeof e&&(s=vt.parseSourceMapInput(e));var r=vt.getArg(s,"version"),i=vt.getArg(s,"sources"),n=vt.getArg(s,"names",[]),o=vt.getArg(s,"sourceRoot",null),a=vt.getArg(s,"sourcesContent",null),c=vt.getArg(s,"mappings"),l=vt.getArg(s,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=vt.normalize(o)),i=i.map(String).map(vt.normalize).map(function(e){return o&&vt.isAbsolute(o)&&vt.isAbsolute(e)?vt.relative(o,e):e}),this._names=Nt.fromArray(n.map(String),!0),this._sources=Nt.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(e){return vt.computeSourceURL(o,e,t)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Mapping(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)},SourceMapConsumer.prototype._version=3,SourceMapConsumer.prototype.__generatedMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),SourceMapConsumer.prototype.__originalMappings=null,Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),SourceMapConsumer.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},SourceMapConsumer.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},SourceMapConsumer.GENERATED_ORDER=1,SourceMapConsumer.ORIGINAL_ORDER=2,SourceMapConsumer.GREATEST_LOWER_BOUND=1,SourceMapConsumer.LEAST_UPPER_BOUND=2,SourceMapConsumer.prototype.eachMapping=function(e,t,s){var r,i=t||null;switch(s||SourceMapConsumer.GENERATED_ORDER){case SourceMapConsumer.GENERATED_ORDER:r=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var n=this.sourceRoot,o=e.bind(i),a=this._names,c=this._sources,l=this._sourceMapURL,p=0,h=r.length;p<h;p++){var u=r[p],d=null===u.source?null:c.at(u.source);null!==d&&(d=vt.computeSourceURL(n,d,l)),o({source:d,generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:null===u.name?null:a.at(u.name)})}},SourceMapConsumer.prototype.allGeneratedPositionsFor=function(e){var t=vt.getArg(e,"line"),s={source:vt.getArg(e,"source"),originalLine:t,originalColumn:vt.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var r=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",vt.compareByOriginalPositions,wt.LEAST_UPPER_BOUND);if(i>=0){var n=this._originalMappings[i];if(void 0===e.column)for(var o=n.originalLine;n&&n.originalLine===o;)r.push({line:vt.getArg(n,"generatedLine",null),column:vt.getArg(n,"generatedColumn",null),lastColumn:vt.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++i];else for(var a=n.originalColumn;n&&n.originalLine===t&&n.originalColumn==a;)r.push({line:vt.getArg(n,"generatedLine",null),column:vt.getArg(n,"generatedColumn",null),lastColumn:vt.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++i]}return r},It.SourceMapConsumer=SourceMapConsumer,BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t,s=e;if(null!=this.sourceRoot&&(s=vt.relative(this.sourceRoot,s)),this._sources.has(s))return this._sources.indexOf(s);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},BasicSourceMapConsumer.fromSourceMap=function(e,t){var s=Object.create(BasicSourceMapConsumer.prototype),r=s._names=Nt.fromArray(e._names.toArray(),!0),i=s._sources=Nt.fromArray(e._sources.toArray(),!0);s.sourceRoot=e._sourceRoot,s.sourcesContent=e._generateSourcesContent(s._sources.toArray(),s.sourceRoot),s.file=e._file,s._sourceMapURL=t,s._absoluteSources=s._sources.toArray().map(function(e){return vt.computeSourceURL(s.sourceRoot,e,t)});for(var n=e._mappings.toArray().slice(),o=s.__generatedMappings=[],a=s.__originalMappings=[],c=0,l=n.length;c<l;c++){var p=n[c],h=new Mapping;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=i.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=r.indexOf(p.name)),a.push(h)),o.push(h)}return _t(s.__originalMappings,vt.compareByOriginalPositions),s},BasicSourceMapConsumer.prototype._version=3,Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const Ot=vt.compareByGeneratedPositionsDeflatedNoLine;function sortGenerated(e,t){let s=e.length,r=e.length-t;if(!(r<=1))if(2==r){let s=e[t],r=e[t+1];Ot(s,r)>0&&(e[t]=r,e[t+1]=s)}else if(r<20)for(let r=t;r<s;r++)for(let s=r;s>t;s--){let t=e[s-1],r=e[s];if(Ot(t,r)<=0)break;e[s-1]=r,e[s]=t}else _t(e,Ot,t)}function IndexedSourceMapConsumer(e,t){var s=e;"string"==typeof e&&(s=vt.parseSourceMapInput(e));var r=vt.getArg(s,"version"),i=vt.getArg(s,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new Nt,this._names=new Nt;var n={line:-1,column:0};this._sections=i.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var s=vt.getArg(e,"offset"),r=vt.getArg(s,"line"),i=vt.getArg(s,"column");if(r<n.line||r===n.line&&i<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=s,{generatedOffset:{generatedLine:r+1,generatedColumn:i+1},consumer:new SourceMapConsumer(vt.getArg(e,"map"),t)}})}BasicSourceMapConsumer.prototype._parseMappings=function(e,t){var s,r,i,n,o=1,a=0,c=0,l=0,p=0,h=0,u=e.length,d=0,A={},m=[],f=[];let g=0;for(;d<u;)if(";"===e.charAt(d))o++,d++,a=0,sortGenerated(f,g),g=f.length;else if(","===e.charAt(d))d++;else{for((s=new Mapping).generatedLine=o,i=d;i<u&&!this._charIsMappingSeparator(e,i);i++);for(e.slice(d,i),r=[];d<i;)kt.decode(e,d,A),n=A.value,d=A.rest,r.push(n);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");if(s.generatedColumn=a+r[0],a=s.generatedColumn,r.length>1&&(s.source=p+r[1],p+=r[1],s.originalLine=c+r[2],c=s.originalLine,s.originalLine+=1,s.originalColumn=l+r[3],l=s.originalColumn,r.length>4&&(s.name=h+r[4],h+=r[4])),f.push(s),"number"==typeof s.originalLine){let e=s.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(s)}}sortGenerated(f,g),this.__generatedMappings=f;for(var y=0;y<m.length;y++)null!=m[y]&&_t(m[y],vt.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},BasicSourceMapConsumer.prototype._findMapping=function(e,t,s,r,i,n){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return wt.search(e,t,i,n)},BasicSourceMapConsumer.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},BasicSourceMapConsumer.prototype.originalPositionFor=function(e){var t={generatedLine:vt.getArg(e,"line"),generatedColumn:vt.getArg(e,"column")},s=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",vt.compareByGeneratedPositionsDeflated,vt.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(s>=0){var r=this._generatedMappings[s];if(r.generatedLine===t.generatedLine){var i=vt.getArg(r,"source",null);null!==i&&(i=this._sources.at(i),i=vt.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var n=vt.getArg(r,"name",null);return null!==n&&(n=this._names.at(n)),{source:i,line:vt.getArg(r,"originalLine",null),column:vt.getArg(r,"originalColumn",null),name:n}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},BasicSourceMapConsumer.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var r,i=e;if(null!=this.sourceRoot&&(i=vt.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(r=vt.urlParse(this.sourceRoot))){var n=i.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!r.path||"/"==r.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function(e){var t=vt.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var s={source:t,originalLine:vt.getArg(e,"line"),originalColumn:vt.getArg(e,"column")},r=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",vt.compareByOriginalPositions,vt.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(r>=0){var i=this._originalMappings[r];if(i.source===s.source)return{line:vt.getArg(i,"generatedLine",null),column:vt.getArg(i,"generatedColumn",null),lastColumn:vt.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},It.BasicSourceMapConsumer=BasicSourceMapConsumer,IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),IndexedSourceMapConsumer.prototype.originalPositionFor=function(e){var t={generatedLine:vt.getArg(e,"line"),generatedColumn:vt.getArg(e,"column")},s=wt.search(t,this._sections,function(e,t){var s=e.generatedLine-t.generatedOffset.generatedLine;return s||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[s];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},IndexedSourceMapConsumer.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r||""===r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},IndexedSourceMapConsumer.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var s=this._sections[t];if(-1!==s.consumer._findSourceIndex(vt.getArg(e,"source"))){var r=s.consumer.generatedPositionFor(e);if(r)return{line:r.line+(s.generatedOffset.generatedLine-1),column:r.column+(s.generatedOffset.generatedLine===r.line?s.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},IndexedSourceMapConsumer.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var s=0;s<this._sections.length;s++)for(var r=this._sections[s],i=r.consumer._generatedMappings,n=0;n<i.length;n++){var o=i[n],a=r.consumer._sources.at(o.source);null!==a&&(a=vt.computeSourceURL(r.consumer.sourceRoot,a,this._sourceMapURL)),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=r.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(r.generatedOffset.generatedLine===o.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}_t(this.__generatedMappings,vt.compareByGeneratedPositionsDeflated),_t(this.__originalMappings,vt.compareByOriginalPositions)},It.IndexedSourceMapConsumer=IndexedSourceMapConsumer;var Mt={},Dt=at.SourceMapGenerator,Bt=ut,Lt=/(\r?\n)/,Rt="$$$isSourceNode$$$";function SourceNode(e,t,s,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==i?null:i,this[Rt]=!0,null!=r&&this.add(r)}SourceNode.fromStringWithSourceMap=function(e,t,s){var r=new SourceNode,i=e.split(Lt),n=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return n<i.length?i[n++]:void 0}},o=1,a=0,c=null;return t.eachMapping(function(e){if(null!==c){if(!(o<e.generatedLine)){var t=(s=i[n]||"").substr(0,e.generatedColumn-a);return i[n]=s.substr(e.generatedColumn-a),a=e.generatedColumn,addMappingWithCode(c,t),void(c=e)}addMappingWithCode(c,shiftNextLine()),o++,a=0}for(;o<e.generatedLine;)r.add(shiftNextLine()),o++;if(a<e.generatedColumn){var s=i[n]||"";r.add(s.substr(0,e.generatedColumn)),i[n]=s.substr(e.generatedColumn),a=e.generatedColumn}c=e},this),n<i.length&&(c&&addMappingWithCode(c,shiftNextLine()),r.add(i.splice(n).join(""))),t.sources.forEach(function(e){var i=t.sourceContentFor(e);null!=i&&(null!=s&&(e=Bt.join(s,e)),r.setSourceContent(e,i))}),r;function addMappingWithCode(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=s?Bt.join(s,e.source):e.source;r.add(new SourceNode(e.originalLine,e.originalColumn,i,t,e.name))}}},SourceNode.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[Rt]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},SourceNode.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Rt]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},SourceNode.prototype.walk=function(e){for(var t,s=0,r=this.children.length;s<r;s++)(t=this.children[s])[Rt]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},SourceNode.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},SourceNode.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[Rt]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},SourceNode.prototype.setSourceContent=function(e,t){this.sourceContents[Bt.toSetString(e)]=t},SourceNode.prototype.walkSourceContents=function(e){for(var t=0,s=this.children.length;t<s;t++)this.children[t][Rt]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,s=r.length;t<s;t++)e(Bt.fromSetString(r[t]),this.sourceContents[r[t]])},SourceNode.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},SourceNode.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},s=new Dt(e),r=!1,i=null,n=null,o=null,a=null;return this.walk(function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(i===c.source&&n===c.line&&o===c.column&&a===c.name||s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),i=c.source,n=c.line,o=c.column,a=c.name,r=!0):r&&(s.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(var l=0,p=e.length;l<p;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===p?(i=null,r=!1):r&&s.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++}),this.walkSourceContents(function(e,t){s.setSourceContent(e,t)}),{code:t.code,map:s}},Mt.SourceNode=SourceNode,ot.SourceMapGenerator=at.SourceMapGenerator,ot.SourceMapConsumer=It.SourceMapConsumer,ot.SourceNode=Mt.SourceNode,Object.defineProperty(B,"__esModule",{value:!0});var Ft=A,Ut=Q,Ht=J,Kt=nt,Vt=ot;const Wt=Symbol(""),jt=Symbol(""),Gt=Symbol(""),Qt=Symbol(""),Jt=Symbol(""),Yt=Symbol(""),Xt=Symbol(""),$t=Symbol(""),Zt=Symbol(""),zt=Symbol(""),qt=Symbol(""),es=Symbol(""),ts=Symbol(""),ss=Symbol(""),rs=Symbol(""),is=Symbol(""),ns=Symbol(""),os=Symbol(""),as=Symbol(""),cs=Symbol(""),ls=Symbol(""),ps=Symbol(""),hs=Symbol(""),us=Symbol(""),ds=Symbol(""),As=Symbol(""),ms=Symbol(""),fs=Symbol(""),gs=Symbol(""),ys=Symbol(""),xs=Symbol(""),Cs=Symbol(""),Es=Symbol(""),Ss=Symbol(""),Is=Symbol(""),bs=Symbol(""),Ts=Symbol(""),Ps=Symbol(""),vs=Symbol(""),ws={[Wt]:"Fragment",[jt]:"Teleport",[Gt]:"Suspense",[Qt]:"KeepAlive",[Jt]:"BaseTransition",[Yt]:"openBlock",[Xt]:"createBlock",[$t]:"createElementBlock",[Zt]:"createVNode",[zt]:"createElementVNode",[qt]:"createCommentVNode",[es]:"createTextVNode",[ts]:"createStaticVNode",[ss]:"resolveComponent",[rs]:"resolveDynamicComponent",[is]:"resolveDirective",[ns]:"resolveFilter",[os]:"withDirectives",[as]:"renderList",[cs]:"renderSlot",[ls]:"createSlots",[ps]:"toDisplayString",[hs]:"mergeProps",[us]:"normalizeClass",[ds]:"normalizeStyle",[As]:"normalizeProps",[ms]:"guardReactiveProps",[fs]:"toHandlers",[gs]:"camelize",[ys]:"capitalize",[xs]:"toHandlerKey",[Cs]:"setBlockTracking",[Es]:"pushScopeId",[Ss]:"popScopeId",[Is]:"withCtx",[bs]:"unref",[Ts]:"isRef",[Ps]:"withMemo",[vs]:"isMemoSame"};const Ns={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function createRoot(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Ns}}function createVNodeCall(e,t,s,r,i,n,o,a=!1,c=!1,l=!1,p=Ns){return e&&(a?(e.helper(Yt),e.helper(getVNodeBlockHelper(e.inSSR,l))):e.helper(getVNodeHelper(e.inSSR,l)),o&&e.helper(os)),{type:13,tag:t,props:s,children:r,patchFlag:i,dynamicProps:n,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:p}}function createArrayExpression(e,t=Ns){return{type:17,loc:t,elements:e}}function createObjectExpression(e,t=Ns){return{type:15,loc:t,properties:e}}function createObjectProperty(e,t){return{type:16,loc:Ns,key:Ft.isString(e)?createSimpleExpression(e,!0):e,value:t}}function createSimpleExpression(e,t=!1,s=Ns,r=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:r}}function createCompoundExpression(e,t=Ns){return{type:8,loc:t,children:e}}function createCallExpression(e,t=[],s=Ns){return{type:14,loc:s,callee:e,arguments:t}}function createFunctionExpression(e,t=void 0,s=!1,r=!1,i=Ns){return{type:18,params:e,returns:t,newline:s,isSlot:r,loc:i}}function createConditionalExpression(e,t,s,r=!0){return{type:19,test:e,consequent:t,alternate:s,newline:r,loc:Ns}}function createCacheExpression(e,t,s=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:r,needArraySpread:!1,loc:Ns}}function createBlockStatement(e){return{type:21,body:e,loc:Ns}}function getVNodeHelper(e,t){return e||t?Zt:zt}function getVNodeBlockHelper(e,t){return e||t?Xt:$t}function convertToBlock(e,{helper:t,removeHelper:s,inSSR:r}){e.isBlock||(e.isBlock=!0,s(getVNodeHelper(r,e.isComponent)),t(Yt),t(getVNodeBlockHelper(r,e.isComponent)))}const ks=new Uint8Array([123,123]),_s=new Uint8Array([125,125]);function isTagStartChar(e){return e>=97&&e<=122||e>=65&&e<=90}function isWhitespace(e){return 32===e||10===e||9===e||12===e||13===e}function isEndOfTagSection(e){return 47===e||62===e||isWhitespace(e)}function toCharCodes(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const Os={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};const Ms={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function getCompatValue(e,{compatConfig:t}){const s=t&&t[e];return"MODE"===e?s||3:s}function isCompatEnabled(e,t){const s=getCompatValue("MODE",t),r=getCompatValue(e,t);return 3===s?!0===r:!1!==r}function checkCompatEnabled(e,t,s,...r){return isCompatEnabled(e,t)}function defaultOnError(e){throw e}function defaultOnWarn(e){}function createCompilerError(e,t,s,r){const i=(s||Ds)[e]+(r||""),n=new SyntaxError(String(i));return n.code=e,n.loc=t,n}const Ds={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function walkIdentifiers(e,t,s=!1,r=[],i=Object.create(null)){const n="Program"===e.type?"ExpressionStatement"===e.body[0].type&&e.body[0].expression:e;Kt.walk(e,{enter(e,n){if(n&&r.push(n),n&&n.type.startsWith("TS")&&!Bs.includes(n.type))return this.skip();if("Identifier"===e.type){const o=!!i[e.name],a=isReferencedIdentifier(e,n,r);(s||a&&!o)&&t(e,n,r,a,o)}else if("ObjectProperty"===e.type&&"ObjectPattern"===(null==n?void 0:n.type))e.inPattern=!0;else if(isFunctionType(e))e.scopeIds?e.scopeIds.forEach(e=>markKnownIds(e,i)):walkFunctionParams(e,t=>markScopeIdentifier(e,t,i));else if("BlockStatement"===e.type)e.scopeIds?e.scopeIds.forEach(e=>markKnownIds(e,i)):walkBlockDeclarations(e,t=>markScopeIdentifier(e,t,i));else if("SwitchStatement"===e.type)e.scopeIds?e.scopeIds.forEach(e=>markKnownIds(e,i)):walkSwitchStatement(e,!1,t=>markScopeIdentifier(e,t,i));else if("CatchClause"===e.type&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>markKnownIds(e,i));else for(const t of extractIdentifiers(e.param))markScopeIdentifier(e,t,i);else isForStatement(e)&&(e.scopeIds?e.scopeIds.forEach(e=>markKnownIds(e,i)):walkForStatement(e,!1,t=>markScopeIdentifier(e,t,i)))},leave(e,t){if(t&&r.pop(),e!==n&&e.scopeIds)for(const t of e.scopeIds)i[t]--,0===i[t]&&delete i[t]}})}function isReferencedIdentifier(e,t,s){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,s){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!s||"ObjectPattern"!==s.type;case"ClassProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return!(null==s?void 0:s.source)&&t.local===e;case"TSEnumMember":return t.id!==e}return!0}(e,t,s[s.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==e&&isInDestructureAssignment(t,s);case"ArrayPattern":return isInDestructureAssignment(t,s)}return!1}function isInDestructureAssignment(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const s=t[e];if("AssignmentExpression"===s.type)return!0;if("ObjectProperty"!==s.type&&!s.type.endsWith("Pattern"))break}}return!1}function isInNewExpression(e){let t=e.length;for(;t--;){const s=e[t];if("NewExpression"===s.type)return!0;if("MemberExpression"!==s.type)break}return!1}function walkFunctionParams(e,t){for(const s of e.params)for(const e of extractIdentifiers(s))t(e)}function walkBlockDeclarations(e,t){const s="SwitchCase"===e.type?e.consequent:e.body;for(const e of s)if("VariableDeclaration"===e.type){if(e.declare)continue;for(const s of e.declarations)for(const e of extractIdentifiers(s.id))t(e)}else if("FunctionDeclaration"===e.type||"ClassDeclaration"===e.type){if(e.declare||!e.id)continue;t(e.id)}else isForStatement(e)?walkForStatement(e,!0,t):"SwitchStatement"===e.type&&walkSwitchStatement(e,!0,t)}function isForStatement(e){return"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type}function walkForStatement(e,t,s){const r="ForStatement"===e.type?e.init:e.left;if(r&&"VariableDeclaration"===r.type&&("var"===r.kind?t:!t))for(const e of r.declarations)for(const t of extractIdentifiers(e.id))s(t)}function walkSwitchStatement(e,t,s){for(const r of e.cases){for(const e of r.consequent)if("VariableDeclaration"===e.type&&("var"===e.kind?t:!t))for(const t of e.declarations)for(const e of extractIdentifiers(t.id))s(e);walkBlockDeclarations(r,s)}}function extractIdentifiers(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let s=e;for(;"MemberExpression"===s.type;)s=s.object;t.push(s);break;case"ObjectPattern":for(const s of e.properties)"RestElement"===s.type?extractIdentifiers(s.argument,t):extractIdentifiers(s.value,t);break;case"ArrayPattern":e.elements.forEach(e=>{e&&extractIdentifiers(e,t)});break;case"RestElement":extractIdentifiers(e.argument,t);break;case"AssignmentPattern":extractIdentifiers(e.left,t)}return t}function markKnownIds(e,t){e in t?t[e]++:t[e]=1}function markScopeIdentifier(e,t,s){const{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(markKnownIds(r,s),(e.scopeIds||(e.scopeIds=new Set)).add(r))}const isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),isStaticProperty=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,isStaticPropertyKey=(e,t)=>isStaticProperty(t)&&t.key===e;const Bs=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function unwrapTSNode(e){return Bs.includes(e.type)?unwrapTSNode(e.expression):e}const isStaticExp=e=>4===e.type&&e.isStatic;function isCoreComponent(e){switch(e){case"Teleport":case"teleport":return jt;case"Suspense":case"suspense":return Gt;case"KeepAlive":case"keep-alive":return Qt;case"BaseTransition":case"base-transition":return Jt}}const Ls=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=e=>!Ls.test(e),Rs=/[A-Za-z_$\xA0-\uFFFF]/,Fs=/[\.\?\w$\xA0-\uFFFF]/,Us=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=e=>4===e.type?e.content:e.loc.source,isMemberExpressionNode=(e,t)=>{try{let s=e.ast||Ht.parseExpression(getExpSource(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return s=unwrapTSNode(s),"MemberExpression"===s.type||"OptionalMemberExpression"===s.type||"Identifier"===s.type&&"undefined"!==s.name}catch(e){return!1}},Hs=isMemberExpressionNode,Ks=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionNode=(e,t)=>{try{let s=e.ast||Ht.parseExpression(getExpSource(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return"Program"===s.type&&(s=s.body[0],"ExpressionStatement"===s.type&&(s=s.expression)),s=unwrapTSNode(s),"FunctionExpression"===s.type||"ArrowFunctionExpression"===s.type}catch(e){return!1}},Vs=isFnExpressionNode;function advancePositionWithClone(e,t,s=t.length){return advancePositionWithMutation({offset:e.offset,line:e.line,column:e.column},t,s)}function advancePositionWithMutation(e,t,s=t.length){let r=0,i=-1;for(let e=0;e<s;e++)10===t.charCodeAt(e)&&(r++,i=e);return e.offset+=s,e.line+=r,e.column=-1===i?e.column+s:s-i,e}function findDir(e,t,s=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&(s||i.exp)&&(Ft.isString(t)?i.name===t:t.test(i.name)))return i}}function findProp(e,t,s=!1,r=!1){for(let i=0;i<e.props.length;i++){const n=e.props[i];if(6===n.type){if(s)continue;if(n.name===t&&(n.value||r))return n}else if("bind"===n.name&&(n.exp||r)&&isStaticArgOf(n.arg,t))return n}}function isStaticArgOf(e,t){return!(!e||!isStaticExp(e)||e.content!==t)}function isText$1(e){return 5===e.type||2===e.type}function isVPre(e){return 7===e.type&&"pre"===e.name}function isVSlot(e){return 7===e.type&&"slot"===e.name}function isTemplateNode(e){return 1===e.type&&3===e.tagType}function isSlotOutlet(e){return 1===e.type&&2===e.tagType}const Ws=new Set([As,ms]);function getUnnormalizedProps(e,t=[]){if(e&&!Ft.isString(e)&&14===e.type){const s=e.callee;if(!Ft.isString(s)&&Ws.has(s))return getUnnormalizedProps(e.arguments[0],t.concat(e))}return[e,t]}function injectProp(e,t,s){let r,i,n=13===e.type?e.props:e.arguments[2],o=[];if(n&&!Ft.isString(n)&&14===n.type){const e=getUnnormalizedProps(n);n=e[0],o=e[1],i=o[o.length-1]}if(null==n||Ft.isString(n))r=createObjectExpression([t]);else if(14===n.type){const e=n.arguments[0];Ft.isString(e)||15!==e.type?n.callee===fs?r=createCallExpression(s.helper(hs),[createObjectExpression([t]),n]):n.arguments.unshift(createObjectExpression([t])):hasProp(t,e)||e.properties.unshift(t),!r&&(r=n)}else 15===n.type?(hasProp(t,n)||n.properties.unshift(t),r=n):(r=createCallExpression(s.helper(hs),[createObjectExpression([t]),n]),i&&i.callee===ms&&(i=o[o.length-2]));13===e.type?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r}function hasProp(e,t){let s=!1;if(4===e.key.type){const r=e.key.content;s=t.properties.some(e=>4===e.key.type&&e.key.content===r)}return s}function toValidAssetId(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,s)=>"-"===t?"_":e.charCodeAt(s).toString())}`}function hasScopeRef(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let s=0;s<e.props.length;s++){const r=e.props[s];if(7===r.type&&(hasScopeRef(r.arg,t)||hasScopeRef(r.exp,t)))return!0}return e.children.some(e=>hasScopeRef(e,t));case 11:return!!hasScopeRef(e.source,t)||e.children.some(e=>hasScopeRef(e,t));case 9:return e.branches.some(e=>hasScopeRef(e,t));case 10:return!!hasScopeRef(e.condition,t)||e.children.some(e=>hasScopeRef(e,t));case 4:return!e.isStatic&&isSimpleIdentifier(e.content)&&!!t[e.content];case 8:return e.children.some(e=>Ft.isObject(e)&&hasScopeRef(e,t));case 5:case 12:return hasScopeRef(e.content,t);default:return!1}}function getMemoedVNodeCall(e){return 14===e.type&&e.callee===Ps?e.arguments[1].returns:e}const js=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function isAllWhitespace(e){for(let t=0;t<e.length;t++)if(!isWhitespace(e.charCodeAt(t)))return!1;return!0}function isWhitespaceText(e){return 2===e.type&&isAllWhitespace(e.content)||12===e.type&&isWhitespaceText(e.content)}function isCommentOrWhitespace(e){return 3===e.type||isWhitespaceText(e)}const Gs={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ft.NO,isPreTag:Ft.NO,isIgnoreNewlineTag:Ft.NO,isCustomElement:Ft.NO,onError:defaultOnError,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1};let Qs=Gs,Js=null,Ys="",Xs=null,$s=null,Zs="",zs=-1,qs=-1,er=0,tr=!1,sr=null;const rr=[],ir=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=ks,this.delimiterClose=_s,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new Ut.EntityDecoder(Ut.htmlDecodeTree,(e,t)=>this.emitCodePoint(e,t))}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=ks,this.delimiterClose=_s}getPos(e){let t=1,s=e+1;const r=this.newlines.length;let i=-1;if(r>100){let t=-1,s=r;for(;t+1<s;){const r=t+s>>>1;this.newlines[r]<e?t=r:s=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,s=e-this.newlines[i]),{column:s,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):38===e?this.startEntity():this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?isEndOfTagSection(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||isWhitespace(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Os.TitleEnd||this.currentSequence===Os.TextareaEnd&&!this.inSFCRoot?38===e?this.startEntity():this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===Os.Cdata[this.sequenceIndex]?++this.sequenceIndex===Os.Cdata.length&&(this.state=28,this.currentSequence=Os.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Os.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):isTagStartChar(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){isEndOfTagSection(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(isEndOfTagSection(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(toCharCodes("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){isWhitespace(e)||(62===e?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=isTagStartChar(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||isWhitespace(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?(this.state=7,62!==this.peek()&&this.cbs.onerr(22,this.index)):60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):isWhitespace(e)||(61===e&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):isWhitespace(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){61===e||isEndOfTagSection(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):34!==e&&39!==e&&60!==e||this.cbs.onerr(17,this.index)}stateInDirName(e){61===e||isEndOfTagSection(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||isEndOfTagSection(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||isEndOfTagSection(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){61===e||isEndOfTagSection(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):isWhitespace(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):isWhitespace(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){e===t?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11):38===e&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){isWhitespace(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):34===e||39===e||60===e||61===e||96===e?this.cbs.onerr(18,this.index):38===e&&this.startEntity()}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=Os.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Os.ScriptEnd[3]?this.startSpecial(Os.ScriptEnd,4):e===Os.StyleEnd[3]?this.startSpecial(Os.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Os.TitleEnd[3]?this.startSpecial(Os.TitleEnd,4):e===Os.TextareaEnd[3]?this.startSpecial(Os.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(1===this.baseState||32===this.baseState?Ut.DecodingMode.Legacy:Ut.DecodingMode.Attribute)}stateInEntity(){{const e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,0===e&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&33!==this.state&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){33===this.state&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===Os.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){1!==this.baseState&&32!==this.baseState?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(Ut.fromCodePoint(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(Ut.fromCodePoint(e),this.entityStart,this.sectionStart))}}(rr,{onerr:emitError,ontext(e,t){onText(getSlice(e,t),e,t)},ontextentity(e,t,s){onText(e,t,s)},oninterpolation(e,t){if(tr)return onText(getSlice(e,t),e,t);let s=e+ir.delimiterOpen.length,r=t-ir.delimiterClose.length;for(;isWhitespace(Ys.charCodeAt(s));)s++;for(;isWhitespace(Ys.charCodeAt(r-1));)r--;let i=getSlice(s,r);i.includes("&")&&(i=Ut.decodeHTML(i)),addNode({type:5,content:createExp(i,!1,getLoc(s,r)),loc:getLoc(e,t)})},onopentagname(e,t){const s=getSlice(e,t);Xs={type:1,tag:s,ns:Qs.getNamespace(s,rr[0],Qs.ns),tagType:0,props:[],children:[],loc:getLoc(e-1,t),codegenNode:void 0}},onopentagend(e){endOpenTag(e)},onclosetag(e,t){const s=getSlice(e,t);if(!Qs.isVoidTag(s)){let r=!1;for(let e=0;e<rr.length;e++){if(rr[e].tag.toLowerCase()===s.toLowerCase()){r=!0,e>0&&emitError(24,rr[0].loc.start.offset);for(let s=0;s<=e;s++){onCloseTag(rr.shift(),t,s<e)}break}}r||emitError(23,backTrack(e,60))}},onselfclosingtag(e){const t=Xs.tag;Xs.isSelfClosing=!0,endOpenTag(e),rr[0]&&rr[0].tag===t&&onCloseTag(rr.shift(),e)},onattribname(e,t){$s={type:6,name:getSlice(e,t),nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)}},ondirname(e,t){const s=getSlice(e,t),r="."===s||":"===s?"bind":"@"===s?"on":"#"===s?"slot":s.slice(2);if(tr||""!==r||emitError(26,e),tr||""===r)$s={type:6,name:s,nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)};else if($s={type:7,name:r,rawName:s,exp:void 0,arg:void 0,modifiers:"."===s?[createSimpleExpression("prop")]:[],loc:getLoc(e)},"pre"===r){tr=ir.inVPre=!0,sr=Xs;const e=Xs.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=dirToAttr(e[t]))}},ondirarg(e,t){if(e===t)return;const s=getSlice(e,t);if(tr&&!isVPre($s))$s.name+=s,setLocEnd($s.nameLoc,t);else{const r="["!==s[0];$s.arg=createExp(r?s:s.slice(1,-1),r,getLoc(e,t),r?3:0)}},ondirmodifier(e,t){const s=getSlice(e,t);if(tr&&!isVPre($s))$s.name+="."+s,setLocEnd($s.nameLoc,t);else if("slot"===$s.name){const e=$s.arg;e&&(e.content+="."+s,setLocEnd(e.loc,t))}else{const r=createSimpleExpression(s,!0,getLoc(e,t));$s.modifiers.push(r)}},onattribdata(e,t){Zs+=getSlice(e,t),zs<0&&(zs=e),qs=t},onattribentity(e,t,s){Zs+=e,zs<0&&(zs=t),qs=s},onattribnameend(e){const t=$s.loc.start.offset,s=getSlice(t,e);7===$s.type&&($s.rawName=s),Xs.props.some(e=>(7===e.type?e.rawName:e.name)===s)&&emitError(2,t)},onattribend(e,t){if(Xs&&$s){if(setLocEnd($s.loc,t),0!==e)if(6===$s.type)"class"===$s.name&&(Zs=condense(Zs).trim()),1!==e||Zs||emitError(13,t),$s.value={type:2,content:Zs,loc:1===e?getLoc(zs,qs):getLoc(zs-1,qs+1)},ir.inSFCRoot&&"template"===Xs.tag&&"lang"===$s.name&&Zs&&"html"!==Zs&&ir.enterRCDATA(toCharCodes("</template"),0);else{let e=0;"for"===$s.name?e=3:"slot"===$s.name?e=1:"on"===$s.name&&Zs.includes(";")&&(e=2),$s.exp=createExp(Zs,!1,getLoc(zs,qs),0,e),"for"===$s.name&&($s.forParseResult=function(e){const t=e.loc,s=e.content,r=s.match(js);if(!r)return;const[,i,n]=r,createAliasExpression=(e,s,r=!1)=>{const i=t.start.offset+s;return createExp(e,!1,getLoc(i,i+e.length),0,r?1:0)},o={source:createAliasExpression(n.trim(),s.indexOf(n,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(or,"").trim();const c=i.indexOf(a),l=a.match(nr);if(l){a=a.replace(nr,"").trim();const e=l[1].trim();let t;if(e&&(t=s.indexOf(e,c+a.length),o.key=createAliasExpression(e,t,!0)),l[2]){const r=l[2].trim();r&&(o.index=createAliasExpression(r,s.indexOf(r,o.key?t+e.length:c+a.length),!0))}}a&&(o.value=createAliasExpression(a,c,!0));return o}($s.exp));let t=-1;"bind"===$s.name&&(t=$s.modifiers.findIndex(e=>"sync"===e.content))>-1&&checkCompatEnabled("COMPILER_V_BIND_SYNC",Qs,$s.loc,$s.arg.loc.source)&&($s.name="model",$s.modifiers.splice(t,1))}7===$s.type&&"pre"===$s.name||Xs.props.push($s)}Zs="",zs=qs=-1},oncomment(e,t){Qs.comments&&addNode({type:3,content:getSlice(e,t),loc:getLoc(e-4,t+3)})},onend(){const e=Ys.length;if(1!==ir.state)switch(ir.state){case 5:case 8:emitError(5,e);break;case 3:case 4:emitError(25,ir.sectionStart);break;case 28:ir.currentSequence===Os.CdataEnd?emitError(6,e):emitError(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:emitError(9,e)}for(let t=0;t<rr.length;t++)onCloseTag(rr[t],e-1),emitError(24,rr[t].loc.start.offset)},oncdata(e,t){0!==rr[0].ns?onText(getSlice(e,t),e,t):emitError(1,e-9)},onprocessinginstruction(e){0===(rr[0]?rr[0].ns:Qs.ns)&&emitError(21,e-1)}}),nr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,or=/^\(|\)$/g;function getSlice(e,t){return Ys.slice(e,t)}function endOpenTag(e){ir.inSFCRoot&&(Xs.innerLoc=getLoc(e+1,e+1)),addNode(Xs);const{tag:t,ns:s}=Xs;0===s&&Qs.isPreTag(t)&&er++,Qs.isVoidTag(t)?onCloseTag(Xs,e):(rr.unshift(Xs),1!==s&&2!==s||(ir.inXML=!0)),Xs=null}function onText(e,t,s){const r=rr[0]||Js,i=r.children[r.children.length-1];i&&2===i.type?(i.content+=e,setLocEnd(i.loc,s)):r.children.push({type:2,content:e,loc:getLoc(t,s)})}function onCloseTag(e,t,s=!1){setLocEnd(e.loc,s?backTrack(t,60):function(e,t){let s=e;for(;Ys.charCodeAt(s)!==t&&s<Ys.length-1;)s++;return s}(t,62)+1),ir.inSFCRoot&&(e.children.length?e.innerLoc.end=Ft.extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Ft.extend({},e.innerLoc.start),e.innerLoc.source=getSlice(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:i,children:n}=e;if(tr||("slot"===r?e.tagType=2:isFragmentTemplate(e)?e.tagType=3:function({tag:e,props:t}){if(Qs.isCustomElement(e))return!1;if("component"===e||(s=e.charCodeAt(0),s>64&&s<91)||isCoreComponent(e)||Qs.isBuiltInComponent&&Qs.isBuiltInComponent(e)||Qs.isNativeTag&&!Qs.isNativeTag(e))return!0;var s;for(let e=0;e<t.length;e++){const s=t[e];if(6===s.type){if("is"===s.name&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(checkCompatEnabled("COMPILER_IS_ON_ELEMENT",Qs,s.loc))return!0}}else if("bind"===s.name&&isStaticArgOf(s.arg,"is")&&checkCompatEnabled("COMPILER_IS_ON_ELEMENT",Qs,s.loc))return!0}return!1}(e)&&(e.tagType=1)),ir.inRCDATA||(e.children=condenseWhitespace(n)),0===i&&Qs.isIgnoreNewlineTag(r)){const e=n[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===i&&Qs.isPreTag(r)&&er--,sr===e&&(tr=ir.inVPre=!1,sr=null),ir.inXML&&0===(rr[0]?rr[0].ns:Qs.ns)&&(ir.inXML=!1);{const t=e.props;if(!ir.inSFCRoot&&isCompatEnabled("COMPILER_NATIVE_TEMPLATE",Qs)&&"template"===e.tag&&!isFragmentTemplate(e)){const t=rr[0]||Js,s=t.children.indexOf(e);t.children.splice(s,1,...e.children)}const s=t.find(e=>6===e.type&&"inline-template"===e.name);s&&checkCompatEnabled("COMPILER_INLINE_TEMPLATE",Qs,s.loc)&&e.children.length&&(s.value={type:2,content:getSlice(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:s.loc})}}function backTrack(e,t){let s=e;for(;Ys.charCodeAt(s)!==t&&s>=0;)s--;return s}const ar=new Set(["if","else","else-if","for","slot"]);function isFragmentTemplate({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&ar.has(t[e].name))return!0;return!1}const cr=/\r\n/g;function condenseWhitespace(e){const t="preserve"!==Qs.whitespace;let s=!1;for(let r=0;r<e.length;r++){const i=e[r];if(2===i.type)if(er)i.content=i.content.replace(cr,"\n");else if(isAllWhitespace(i.content)){const n=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!n||!o||t&&(3===n&&(3===o||1===o)||1===n&&(3===o||1===o&&hasNewlineChar(i.content)))?(s=!0,e[r]=null):i.content=" "}else t&&(i.content=condense(i.content))}return s?e.filter(Boolean):e}function hasNewlineChar(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(10===s||13===s)return!0}return!1}function condense(e){let t="",s=!1;for(let r=0;r<e.length;r++)isWhitespace(e.charCodeAt(r))?s||(t+=" ",s=!0):(t+=e[r],s=!1);return t}function addNode(e){(rr[0]||Js).children.push(e)}function getLoc(e,t){return{start:ir.getPos(e),end:null==t?t:ir.getPos(t),source:null==t?t:getSlice(e,t)}}function setLocEnd(e,t){e.end=ir.getPos(t),e.source=getSlice(e.start.offset,t)}function dirToAttr(e){const t={type:6,name:e.rawName,nameLoc:getLoc(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function createExp(e,t=!1,s,r=0,i=0){const n=createSimpleExpression(e,t,s,r);if(!t&&Qs.prefixIdentifiers&&3!==i&&e.trim()){if(isSimpleIdentifier(e))return n.ast=null,n;try{const t=Qs.expressionPlugins,s={plugins:t?[...t,"typescript"]:["typescript"]};n.ast=2===i?Ht.parse(` ${e} `,s).program:1===i?Ht.parseExpression(`(${e})=>{}`,s):Ht.parseExpression(`(${e})`,s)}catch(e){n.ast=!1,emitError(46,s.start.offset,e.message)}}return n}function emitError(e,t,s){Qs.onError(createCompilerError(e,getLoc(t,t),void 0,s))}function baseParse(e,t){if(ir.reset(),Xs=null,$s=null,Zs="",zs=-1,qs=-1,rr.length=0,Ys=e,Qs=Ft.extend({},Gs),t){let e;for(e in t)null!=t[e]&&(Qs[e]=t[e])}ir.mode="html"===Qs.parseMode?1:"sfc"===Qs.parseMode?2:0,ir.inXML=1===Qs.ns||2===Qs.ns;const s=t&&t.delimiters;s&&(ir.delimiterOpen=toCharCodes(s[0]),ir.delimiterClose=toCharCodes(s[1]));const r=Js=createRoot([],e);return ir.parse(Ys),r.loc=getLoc(0,e.length),r.children=condenseWhitespace(r.children),Js=null,r}function cacheStatic(e,t){walk(e,void 0,t,!!getSingleElementRoot(e))}function getSingleElementRoot(e){const t=e.children.filter(e=>3!==e.type);return 1!==t.length||1!==t[0].type||isSlotOutlet(t[0])?null:t[0]}function walk(e,t,s,r=!1,i=!1){const{children:n}=e,o=[];for(let t=0;t<n.length;t++){const a=n[t];if(1===a.type&&0===a.tagType){const e=r?0:getConstantType(a,s);if(e>0){if(e>=2){a.codegenNode.patchFlag=-1,o.push(a);continue}}else{const e=a.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&getGeneratedPropsConstantType(a,s)>=2){const t=getNodeProps(a);t&&(e.props=s.hoist(t))}e.dynamicProps&&(e.dynamicProps=s.hoist(e.dynamicProps))}}}else if(12===a.type){if((r?0:getConstantType(a,s))>=2){14===a.codegenNode.type&&a.codegenNode.arguments.length>0&&a.codegenNode.arguments.push("-1"),o.push(a);continue}}if(1===a.type){const t=1===a.tagType;t&&s.scopes.vSlot++,walk(a,e,s,!1,i),t&&s.scopes.vSlot--}else if(11===a.type)walk(a,e,s,1===a.children.length,!0);else if(9===a.type)for(let t=0;t<a.branches.length;t++)walk(a.branches[t],e,s,1===a.branches[t].children.length,i)}let a=!1;if(o.length===n.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&Ft.isArray(e.codegenNode.children))e.codegenNode.children=getCacheExpression(createArrayExpression(e.codegenNode.children)),a=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!Ft.isArray(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=getSlotNode(e.codegenNode,"default");t&&(t.returns=getCacheExpression(createArrayExpression(t.returns)),a=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!Ft.isArray(t.codegenNode.children)&&15===t.codegenNode.children.type){const s=findDir(e,"slot",!0),r=s&&s.arg&&getSlotNode(t.codegenNode,s.arg);r&&(r.returns=getCacheExpression(createArrayExpression(r.returns)),a=!0)}if(!a)for(const e of o)e.codegenNode=s.cache(e.codegenNode);function getCacheExpression(e){const t=s.cache(e);return t.needArraySpread=!0,t}function getSlotNode(e,t){if(e.children&&!Ft.isArray(e.children)&&15===e.children.type){const s=e.children.properties.find(e=>e.key===t||e.key.content===t);return s&&s.value}}o.length&&s.transformHoist&&s.transformHoist(n,s,e)}function getConstantType(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=s.get(e);if(void 0!==r)return r;const i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===i.patchFlag){let r=3;const n=getGeneratedPropsConstantType(e,t);if(0===n)return s.set(e,0),0;n<r&&(r=n);for(let i=0;i<e.children.length;i++){const n=getConstantType(e.children[i],t);if(0===n)return s.set(e,0),0;n<r&&(r=n)}if(r>1)for(let i=0;i<e.props.length;i++){const n=e.props[i];if(7===n.type&&"bind"===n.name&&n.exp){const i=getConstantType(n.exp,t);if(0===i)return s.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return s.set(e,0),0}t.removeHelper(Yt),t.removeHelper(getVNodeBlockHelper(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(getVNodeHelper(t.inSSR,i.isComponent))}return s.set(e,r),r}return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return getConstantType(e.content,t);case 4:return e.constType;case 8:let n=3;for(let s=0;s<e.children.length;s++){const r=e.children[s];if(Ft.isString(r)||Ft.isSymbol(r))continue;const i=getConstantType(r,t);if(0===i)return 0;i<n&&(n=i)}return n;case 20:return 2}}const lr=new Set([us,ds,As,ms]);function getConstantTypeOfHelperCall(e,t){if(14===e.type&&!Ft.isString(e.callee)&&lr.has(e.callee)){const s=e.arguments[0];if(4===s.type)return getConstantType(s,t);if(14===s.type)return getConstantTypeOfHelperCall(s,t)}return 0}function getGeneratedPropsConstantType(e,t){let s=3;const r=getNodeProps(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:i,value:n}=e[r],o=getConstantType(i,t);if(0===o)return o;let a;if(o<s&&(s=o),a=4===n.type?getConstantType(n,t):14===n.type?getConstantTypeOfHelperCall(n,t):0,0===a)return a;a<s&&(s=a)}}return s}function getNodeProps(e){const t=e.codegenNode;if(13===t.type)return t.props}function createTransformContext(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:n=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:c=null,isBuiltInComponent:l=Ft.NOOP,isCustomElement:p=Ft.NOOP,expressionPlugins:h=[],scopeId:u=null,slotted:d=!0,ssr:A=!1,inSSR:m=!1,ssrCssVars:f="",bindingMetadata:g=Ft.EMPTY_OBJ,inline:y=!1,isTS:x=!1,onError:C=defaultOnError,onWarn:E=defaultOnWarn,compatConfig:S}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),b={filename:t,selfName:I&&Ft.capitalize(Ft.camelize(I[1])),prefixIdentifiers:s,hoistStatic:r,hmr:i,cacheHandlers:n,nodeTransforms:o,directiveTransforms:a,transformHoist:c,isBuiltInComponent:l,isCustomElement:p,expressionPlugins:h,scopeId:u,slotted:d,ssr:A,inSSR:m,ssrCssVars:f,bindingMetadata:g,inline:y,isTS:x,onError:C,onWarn:E,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=b.helpers.get(e)||0;return b.helpers.set(e,t+1),e},removeHelper(e){const t=b.helpers.get(e);if(t){const s=t-1;s?b.helpers.set(e,s):b.helpers.delete(e)}},helperString:e=>`_${ws[b.helper(e)]}`,replaceNode(e){b.parent.children[b.childIndex]=b.currentNode=e},removeNode(e){const t=b.parent.children,s=e?t.indexOf(e):b.currentNode?b.childIndex:-1;e&&e!==b.currentNode?b.childIndex>s&&(b.childIndex--,b.onNodeRemoved()):(b.currentNode=null,b.onNodeRemoved()),b.parent.children.splice(s,1)},onNodeRemoved:Ft.NOOP,addIdentifiers(e){Ft.isString(e)?addId(e):e.identifiers?e.identifiers.forEach(addId):4===e.type&&addId(e.content)},removeIdentifiers(e){Ft.isString(e)?removeId(e):e.identifiers?e.identifiers.forEach(removeId):4===e.type&&removeId(e.content)},hoist(e){Ft.isString(e)&&(e=createSimpleExpression(e)),b.hoists.push(e);const t=createSimpleExpression(`_hoisted_${b.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,s=!1){const r=createCacheExpression(b.cached.length,e,t,s);return b.cached.push(r),r}};function addId(e){const{identifiers:t}=b;void 0===t[e]&&(t[e]=0),t[e]++}function removeId(e){b.identifiers[e]--}return b.filters=new Set,b}function transform(e,t){const s=createTransformContext(e,t);traverseNode(e,s),t.hoistStatic&&cacheStatic(e,s),t.ssr||function(e,t){const{helper:s}=t,{children:r}=e;if(1===r.length){const s=getSingleElementRoot(e);if(s&&s.codegenNode){const r=s.codegenNode;13===r.type&&convertToBlock(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let r=64;e.codegenNode=createVNodeCall(t,s(Wt),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function traverseNode(e,t){t.currentNode=e;const{nodeTransforms:s}=t,r=[];for(let i=0;i<s.length;i++){const n=s[i](e,t);if(n&&(Ft.isArray(n)?r.push(...n):r.push(n)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(qt);break;case 5:t.ssr||t.helper(ps);break;case 9:for(let s=0;s<e.branches.length;s++)traverseNode(e.branches[s],t);break;case 10:case 11:case 1:case 0:!function(e,t){let s=0;const nodeRemoved=()=>{s--};for(;s<e.children.length;s++){const r=e.children[s];Ft.isString(r)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=nodeRemoved,traverseNode(r,t))}}(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function createStructuralDirectiveTransform(e,t){const s=Ft.isString(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(isVSlot))return;const n=[];for(let o=0;o<i.length;o++){const a=i[o];if(7===a.type&&s(a.name)){i.splice(o,1),o--;const s=t(e,a,r);s&&n.push(s)}}return n}}}const pr="/*@__PURE__*/",aliasHelper=e=>`${ws[e]}: _${ws[e]}`;function createCodegenContext(e,{mode:t="function",prefixIdentifiers:s="module"===t,sourceMap:r=!1,filename:i="template.vue.html",scopeId:n=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:p=!1,isTS:h=!1,inSSR:u=!1}){const d={mode:t,prefixIdentifiers:s,sourceMap:r,filename:i,scopeId:n,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:p,isTS:h,inSSR:u,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${ws[e]}`,push(e,t=-2,s){if(d.code+=e,d.map){if(s){let e;if(4===s.type&&!s.isStatic){const t=s.content.replace(/^_ctx\./,"");t!==s.content&&isSimpleIdentifier(t)&&(e=t)}s.loc.source&&addMapping(s.loc.start,e)}-3===t?advancePositionWithMutation(d,e):(d.offset+=e.length,-2===t?d.column+=e.length:(-1===t&&(t=e.length-1),d.line++,d.column=e.length-t)),s&&s.loc!==Ns&&s.loc.source&&addMapping(s.loc.end)}},indent(){newline(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:newline(--d.indentLevel)},newline(){newline(d.indentLevel)}};function newline(e){d.push("\n"+" ".repeat(e),0)}function addMapping(e,t=null){const{_names:s,_mappings:r}=d.map;null===t||s.has(t)||s.add(t),r.add({originalLine:e.line,originalColumn:e.column-1,generatedLine:d.line,generatedColumn:d.column-1,source:i,name:t})}return r&&(d.map=new Vt.SourceMapGenerator,d.map.setSourceContent(i,d.source),d.map._sources.add(i)),d}function generate(e,t={}){const s=createCodegenContext(e,t);t.onContextCreated&&t.onContextCreated(s);const{mode:r,push:i,prefixIdentifiers:n,indent:o,deindent:a,newline:c,scopeId:l,ssr:p}=s,h=Array.from(e.helpers),u=h.length>0,d=!n&&"module"!==r,A=!!t.inline,m=A?createCodegenContext(e,t):s;"module"===r?function(e,t,s,r){const{push:i,newline:n,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;if(e.helpers.size){const t=Array.from(e.helpers);o?(i(`import { ${t.map(e=>ws[e]).join(", ")} } from ${JSON.stringify(a)}\n`,-1),i(`\n// Binding optimization for webpack code-split\nconst ${t.map(e=>`_${ws[e]} = ${ws[e]}`).join(", ")}\n`,-1)):i(`import { ${t.map(e=>`${ws[e]} as _${ws[e]}`).join(", ")} } from ${JSON.stringify(a)}\n`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`import { ${e.ssrHelpers.map(e=>`${ws[e]} as _${ws[e]}`).join(", ")} } from "${c}"\n`,-1);e.imports.length&&(!function(e,t){if(!e.length)return;e.forEach(e=>{t.push("import "),genNode(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}(e.imports,t),n());genHoists(e.hoists,t),n(),r||i("export ")}(e,m,0,A):function(e,t){const{ssr:s,prefixIdentifiers:r,push:i,newline:n,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=s?`require(${JSON.stringify(o)})`:a,p=Array.from(e.helpers);if(p.length>0)if(r)i(`const { ${p.map(aliasHelper).join(", ")} } = ${l}\n`,-1);else if(i(`const _Vue = ${l}\n`,-1),e.hoists.length){i(`const { ${[Zt,zt,qt,es,ts].filter(e=>p.includes(e)).map(aliasHelper).join(", ")} } = _Vue\n`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&i(`const { ${e.ssrHelpers.map(aliasHelper).join(", ")} } = require("${c}")\n`,-1);genHoists(e.hoists,t),n(),i("return ")}(e,m);const f=p?"ssrRender":"render",g=p?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&g.push("$props","$setup","$data","$options");const y=t.isTS?g.map(e=>`${e}: any`).join(","):g.join(", ");if(i(A?`(${y}) => {`:`function ${f}(${y}) {`),o(),d&&(i("with (_ctx) {"),o(),u&&(i(`const { ${h.map(aliasHelper).join(", ")} } = _Vue\n`,-1),c())),e.components.length&&(genAssets(e.components,"component",s),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(genAssets(e.directives,"directive",s),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),genAssets(e.filters,"filter",s),c()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n",0),c()),p||i("return "),e.codegenNode?genNode(e.codegenNode,s):i("null"),d&&(a(),i("}")),a(),i("}"),{ast:e,code:s.code,preamble:A?m.code:"",map:s.map?s.map.toJSON():void 0}}function genAssets(e,t,{helper:s,push:r,newline:i,isTS:n}){const o=s("filter"===t?ns:"component"===t?ss:is);for(let s=0;s<e.length;s++){let a=e[s];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),r(`const ${toValidAssetId(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${n?"!":""}`),s<e.length-1&&i()}}function genHoists(e,t){if(!e.length)return;t.pure=!0;const{push:s,newline:r}=t;r();for(let i=0;i<e.length;i++){const n=e[i];n&&(s(`const _hoisted_${i+1} = `),genNode(n,t),r())}t.pure=!1}function genNodeListAsArray(e,t){const s=e.length>3||e.some(e=>Ft.isArray(e)||!function(e){return Ft.isString(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e));t.push("["),s&&t.indent(),genNodeList(e,t,s),s&&t.deindent(),t.push("]")}function genNodeList(e,t,s=!1,r=!0){const{push:i,newline:n}=t;for(let o=0;o<e.length;o++){const a=e[o];Ft.isString(a)?i(a,-3):Ft.isArray(a)?genNodeListAsArray(a,t):genNode(a,t),o<e.length-1&&(s?(r&&i(","),n()):r&&i(", "))}}function genNode(e,t){if(Ft.isString(e))t.push(e,-3);else if(Ft.isSymbol(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:genNode(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:genExpression(e,t);break;case 5:!function(e,t){const{push:s,helper:r,pure:i}=t;i&&s(pr);s(`${r(ps)}(`),genNode(e.content,t),s(")")}(e,t);break;case 8:genCompoundExpression(e,t);break;case 3:!function(e,t){const{push:s,helper:r,pure:i}=t;i&&s(pr);s(`${r(qt)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:s,helper:r,pure:i}=t,{tag:n,props:o,children:a,patchFlag:c,dynamicProps:l,directives:p,isBlock:h,disableTracking:u,isComponent:d}=e;let A;c&&(A=String(c));p&&s(r(os)+"(");h&&s(`(${r(Yt)}(${u?"true":""}), `);i&&s(pr);const m=h?getVNodeBlockHelper(t.inSSR,d):getVNodeHelper(t.inSSR,d);s(r(m)+"(",-2,e),genNodeList(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([n,o,a,A,l]),t),s(")"),h&&s(")");p&&(s(", "),genNode(p,t),s(")"))}(e,t);break;case 14:!function(e,t){const{push:s,helper:r,pure:i}=t,n=Ft.isString(e.callee)?e.callee:r(e.callee);i&&s(pr);s(n+"(",-2,e),genNodeList(e.arguments,t),s(")")}(e,t);break;case 15:!function(e,t){const{push:s,indent:r,deindent:i,newline:n}=t,{properties:o}=e;if(!o.length)return void s("{}",-2,e);const a=o.length>1||o.some(e=>4!==e.value.type);s(a?"{":"{ "),a&&r();for(let e=0;e<o.length;e++){const{key:r,value:i}=o[e];genExpressionAsPropertyKey(r,t),s(": "),genNode(i,t),e<o.length-1&&(s(","),n())}a&&i(),s(a?"}":" }")}(e,t);break;case 17:!function(e,t){genNodeListAsArray(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:s,indent:r,deindent:i}=t,{params:n,returns:o,body:a,newline:c,isSlot:l}=e;l&&s(`_${ws[Is]}(`);s("(",-2,e),Ft.isArray(n)?genNodeList(n,t):n&&genNode(n,t);s(") => "),(c||a)&&(s("{"),r());o?(c&&s("return "),Ft.isArray(o)?genNodeListAsArray(o,t):genNode(o,t)):a&&genNode(a,t);(c||a)&&(i(),s("}"));l&&(e.isNonScopedSlot&&s(", undefined, true"),s(")"))}(e,t);break;case 19:!function(e,t){const{test:s,consequent:r,alternate:i,newline:n}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===s.type){const e=!isSimpleIdentifier(s.content);e&&o("("),genExpression(s,t),e&&o(")")}else o("("),genNode(s,t),o(")");n&&a(),t.indentLevel++,n||o(" "),o("? "),genNode(r,t),t.indentLevel--,n&&l(),n||o(" "),o(": ");const p=19===i.type;p||t.indentLevel++;genNode(i,t),p||t.indentLevel--;n&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:s,helper:r,indent:i,deindent:n,newline:o}=t,{needPauseTracking:a,needArraySpread:c}=e;c&&s("[...(");s(`_cache[${e.index}] || (`),a&&(i(),s(`${r(Cs)}(-1`),e.inVOnce&&s(", true"),s("),"),o(),s("("));s(`_cache[${e.index}] = `),genNode(e.value,t),a&&(s(`).cacheIndex = ${e.index},`),o(),s(`${r(Cs)}(1),`),o(),s(`_cache[${e.index}]`),n());s(")"),c&&s(")]")}(e,t);break;case 21:genNodeList(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:s,indent:r,deindent:i}=t;s("`");const n=e.elements.length,o=n>3;for(let a=0;a<n;a++){const n=e.elements[a];Ft.isString(n)?s(n.replace(/(`|\$|\\)/g,"\\$1"),-3):(s("${"),o&&r(),genNode(n,t),o&&i(),s("}"))}s("`")}(e,t);break;case 23:genIfStatement(e,t);break;case 24:!function(e,t){genNode(e.left,t),t.push(" = "),genNode(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),genNodeList(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),Ft.isArray(e)?genNodeListAsArray(e,t):genNode(e,t)}(e,t)}}function genExpression(e,t){const{content:s,isStatic:r}=e;t.push(r?JSON.stringify(s):s,-3,e)}function genCompoundExpression(e,t){for(let s=0;s<e.children.length;s++){const r=e.children[s];Ft.isString(r)?t.push(r,-3):genNode(r,t)}}function genExpressionAsPropertyKey(e,t){const{push:s}=t;if(8===e.type)s("["),genCompoundExpression(e,t),s("]");else if(e.isStatic){s(isSimpleIdentifier(e.content)?e.content:JSON.stringify(e.content),-2,e)}else s(`[${e.content}]`,-3,e)}function genIfStatement(e,t){const{push:s,indent:r,deindent:i}=t,{test:n,consequent:o,alternate:a}=e;s("if ("),genNode(n,t),s(") {"),r(),genNode(o,t),i(),s("}"),a&&(s(" else "),23===a.type?genIfStatement(a,t):(s("{"),r(),genNode(a,t),i(),s("}")))}const hr=Ft.makeMap("true,false,null,this"),transformExpression=(e,t)=>{if(5===e.type)e.content=processExpression(e.content,t);else if(1===e.type){const s=findDir(e,"memo");for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"for"!==i.name){const e=i.exp,r=i.arg;!e||4!==e.type||"on"===i.name&&r||s&&r&&4===r.type&&"key"===r.content||(i.exp=processExpression(e,t,"slot"===i.name)),r&&4===r.type&&!r.isStatic&&(i.arg=processExpression(r,t))}}}};function processExpression(e,t,s=!1,r=!1,i=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:n,bindingMetadata:o}=t,rewriteIdentifier=(e,s,r)=>{const c=Ft.hasOwn(o,e)&&o[e];if(n){const n=s&&"AssignmentExpression"===s.type&&s.left===r,l=s&&"UpdateExpression"===s.type&&s.argument===r,u=s&&isInDestructureAssignment(s,p),d=s&&isInNewExpression(p),wrapWithUnref=e=>{const s=`${t.helperString(bs)}(${e})`;return d?`(${s})`:s};if(isConst(c)||"setup-reactive-const"===c||i[e])return e;if("setup-ref"===c)return`${e}.value`;if("setup-maybe-ref"===c)return n||l||u?`${e}.value`:wrapWithUnref(e);if("setup-let"===c){if(n){const{right:r,operator:i}=s,n=stringifyExpression(processExpression(createSimpleExpression(a.slice(r.start-1,r.end-1),!1),t,!1,!1,h));return`${t.helperString(Ts)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${i} ${n} : ${e}`}if(l){r.start=s.start,r.end=s.end;const{prefix:i,operator:n}=s,o=i?n:"",a=i?"":n;return`${t.helperString(Ts)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return u?e:wrapWithUnref(e)}if("props"===c)return Ft.genPropsAccessExp(e);if("props-aliased"===c)return Ft.genPropsAccessExp(o.__propsAliases[e])}else{if(c&&c.startsWith("setup")||"literal-const"===c)return`$setup.${e}`;if("props-aliased"===c)return`$props['${o.__propsAliases[e]}']`;if(c)return`$${c}.${e}`}return`_ctx.${e}`},a=e.content;let c=e.ast;if(!1===c)return e;if(null===c||!c&&isSimpleIdentifier(a)){const r=t.identifiers[a],i=Ft.isGloballyAllowed(a),n=hr(a);return s||r||n||i&&!o[a]?r||(e.constType=n?3:2):(isConst(o[a])&&(e.constType=1),e.content=rewriteIdentifier(a)),e}if(!c){const i=r?` ${a} `:`(${a})${s?"=>{}":""}`;try{c=Ht.parseExpression(i,{sourceType:"module",plugins:t.expressionPlugins})}catch(s){return t.onError(createCompilerError(46,e.loc,void 0,s.message)),e}}const l=[],p=[],h=Object.create(t.identifiers);walkIdentifiers(c,(e,t,s,r,i)=>{if(isStaticPropertyKey(e,t))return;if(e.name.startsWith("_filter_"))return;const n=r&&function(e){if(Ft.isGloballyAllowed(e.name))return!1;if("require"===e.name)return!1;return!0}(e);n&&!i?(isStaticProperty(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=rewriteIdentifier(e.name,t,e),l.push(e)):(n&&i||t&&("CallExpression"===t.type||"NewExpression"===t.type||"MemberExpression"===t.type)||(e.isConstant=!0),l.push(e))},!0,p,h);const u=[];let d;return l.sort((e,t)=>e.start-t.start),l.forEach((t,s)=>{const r=t.start-1,i=t.end-1,n=l[s-1],o=a.slice(n?n.end-1:0,r);(o.length||t.prefix)&&u.push(o+(t.prefix||""));const c=a.slice(r,i);u.push(createSimpleExpression(t.name,!1,{start:advancePositionWithClone(e.loc.start,c,r),end:advancePositionWithClone(e.loc.start,c,i),source:c},t.isConstant?3:0)),s===l.length-1&&i<a.length&&u.push(a.slice(i))}),u.length?(d=createCompoundExpression(u,e.loc),d.ast=c):(d=e,d.constType=3),d.identifiers=Object.keys(h),d}function stringifyExpression(e){return Ft.isString(e)?e:4===e.type?e.content:e.children.map(stringifyExpression).join("")}function isConst(e){return"setup-const"===e||"literal-const"===e}const ur=createStructuralDirectiveTransform(/^(?:if|else|else-if)$/,(e,t,s)=>processIf(e,t,s,(e,t,r)=>{const i=s.parent.children;let n=i.indexOf(e),o=0;for(;n-- >=0;){const e=i[n];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=createCodegenNodeForBranch(t,o,s);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=createCodegenNodeForBranch(t,o+e.branches.length-1,s)}}}));function processIf(e,t,s,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;s.onError(createCompilerError(28,t.loc)),t.exp=createSimpleExpression("true",!1,r)}if(s.prefixIdentifiers&&t.exp&&(t.exp=processExpression(t.exp,s)),"if"===t.name){const n=createIfBranch(e,t),o={type:9,loc:(i=e.loc,getLoc(i.start.offset,i.end.offset)),branches:[n]};if(s.replaceNode(o),r)return r(o,n,!0)}else{const i=s.parent.children;let n=i.indexOf(e);for(;n-- >=-1;){const o=i[n];if(!o||!isCommentOrWhitespace(o)){if(o&&9===o.type){"else-if"!==t.name&&"else"!==t.name||void 0!==o.branches[o.branches.length-1].condition||s.onError(createCompilerError(30,e.loc)),s.removeNode();const i=createIfBranch(e,t);{const e=i.userKey;e&&o.branches.forEach(({userKey:t})=>{isSameKey(t,e)&&s.onError(createCompilerError(29,i.userKey.loc))})}o.branches.push(i);const n=r&&r(o,i,!1);traverseNode(i,s),n&&n(),s.currentNode=null}else s.onError(createCompilerError(30,e.loc));break}s.removeNode(o)}}var i}function createIfBranch(e,t){const s=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:s&&!findDir(e,"for")?e.children:[e],userKey:findProp(e,"key"),isTemplateIf:s}}function createCodegenNodeForBranch(e,t,s){return e.condition?createConditionalExpression(e.condition,createChildrenCodegenNode(e,t,s),createCallExpression(s.helper(qt),['""',"true"])):createChildrenCodegenNode(e,t,s)}function createChildrenCodegenNode(e,t,s){const{helper:r}=s,i=createObjectProperty("key",createSimpleExpression(`${t}`,!1,Ns,2)),{children:n}=e,o=n[0];if(1!==n.length||1!==o.type){if(1===n.length&&11===o.type){const e=o.codegenNode;return injectProp(e,i,s),e}{let t=64;return createVNodeCall(s,r(Wt),createObjectExpression([i]),n,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=getMemoedVNodeCall(e);return 13===t.type&&convertToBlock(t,s),injectProp(t,i,s),e}}function isSameKey(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{const s=e.exp,r=t.exp;if(s.type!==r.type)return!1;if(4!==s.type||s.isStatic!==r.isStatic||s.content!==r.content)return!1}return!0}const dr=createStructuralDirectiveTransform("for",(e,t,s)=>{const{helper:r,removeHelper:i}=s;return processFor(e,t,s,t=>{const n=createCallExpression(r(as),[t.source]),o=isTemplateNode(e),a=findDir(e,"memo"),c=findProp(e,"key",!1,!0),l=c&&7===c.type;let p=c&&(6===c.type?c.value?createSimpleExpression(c.value.content,!0):void 0:c.exp);a&&p&&l&&(c.exp=p=processExpression(p,s));const h=c&&p?createObjectProperty("key",p):null;o&&(a&&(a.exp=processExpression(a.exp,s)),h&&6!==c.type&&(h.value=processExpression(h.value,s)));const u=4===t.source.type&&t.source.constType>0,d=u?64:c?128:256;return t.codegenNode=createVNodeCall(s,r(Wt),void 0,n,d,void 0,void 0,!0,!u,!1,e.loc),()=>{let c;const{children:l}=t;o&&e.children.some(e=>{if(1===e.type){const t=findProp(e,"key");if(t)return s.onError(createCompilerError(33,t.loc)),!0}});const d=1!==l.length||1!==l[0].type,A=isSlotOutlet(e)?e:o&&1===e.children.length&&isSlotOutlet(e.children[0])?e.children[0]:null;if(A?(c=A.codegenNode,o&&h&&injectProp(c,h,s)):d?c=createVNodeCall(s,r(Wt),h?createObjectExpression([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=l[0].codegenNode,o&&h&&injectProp(c,h,s),c.isBlock!==!u&&(c.isBlock?(i(Yt),i(getVNodeBlockHelper(s.inSSR,c.isComponent))):i(getVNodeHelper(s.inSSR,c.isComponent))),c.isBlock=!u,c.isBlock?(r(Yt),r(getVNodeBlockHelper(s.inSSR,c.isComponent))):r(getVNodeHelper(s.inSSR,c.isComponent))),a){const e=createFunctionExpression(createForLoopParams(t.parseResult,[createSimpleExpression("_cached")]));e.body=createBlockStatement([createCompoundExpression(["const _memo = (",a.exp,")"]),createCompoundExpression(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${s.helperString(vs)}(_cached, _memo)) return _cached`]),createCompoundExpression(["const _item = ",c]),createSimpleExpression("_item.memo = _memo"),createSimpleExpression("return _item")]),n.arguments.push(e,createSimpleExpression("_cache"),createSimpleExpression(String(s.cached.length))),s.cached.push(null)}else n.arguments.push(createFunctionExpression(createForLoopParams(t.parseResult),c,!0))}})});function processFor(e,t,s,r){if(!t.exp)return void s.onError(createCompilerError(31,t.loc));const i=t.forParseResult;if(!i)return void s.onError(createCompilerError(32,t.loc));finalizeForParseResult(i,s);const{addIdentifiers:n,removeIdentifiers:o,scopes:a}=s,{source:c,value:l,key:p,index:h}=i,u={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:p,objectIndexAlias:h,parseResult:i,children:isTemplateNode(e)?e.children:[e]};s.replaceNode(u),a.vFor++,s.prefixIdentifiers&&(l&&n(l),p&&n(p),h&&n(h));const d=r&&r(u);return()=>{a.vFor--,s.prefixIdentifiers&&(l&&o(l),p&&o(p),h&&o(h)),d&&d()}}function finalizeForParseResult(e,t){e.finalized||(t.prefixIdentifiers&&(e.source=processExpression(e.source,t),e.key&&(e.key=processExpression(e.key,t,!0)),e.index&&(e.index=processExpression(e.index,t,!0)),e.value&&(e.value=processExpression(e.value,t,!0))),e.finalized=!0)}function createForLoopParams({value:e,key:t,index:s},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||createSimpleExpression("_".repeat(t+1),!1))}([e,t,s,...r])}const Ar=createSimpleExpression("undefined",!1),trackSlotScopes=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const s=findDir(e,"slot");if(s){const e=s.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},trackVForSlotScopes=(e,t)=>{let s;if(isTemplateNode(e)&&e.props.some(isVSlot)&&(s=findDir(e,"for"))){const e=s.forParseResult;if(e){finalizeForParseResult(e,t);const{value:s,key:r,index:i}=e,{addIdentifiers:n,removeIdentifiers:o}=t;return s&&n(s),r&&n(r),i&&n(i),()=>{s&&o(s),r&&o(r),i&&o(i)}}}},buildClientSlotFn=(e,t,s,r)=>createFunctionExpression(e,s,!1,!0,s.length?s[0].loc:r);function buildSlots(e,t,s=buildClientSlotFn){t.helper(Is);const{children:r,loc:i}=e,n=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=e.props.some(e=>isVSlot(e)&&(hasScopeRef(e.arg,t.identifiers)||hasScopeRef(e.exp,t.identifiers)))||r.some(e=>hasScopeRef(e,t.identifiers)));const c=findDir(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!isStaticExp(e)&&(a=!0),n.push(createObjectProperty(e||createSimpleExpression("default",!0),s(t,void 0,r,i)))}let l=!1,p=!1;const h=[],u=new Set;let d=0;for(let e=0;e<r.length;e++){const i=r[e];let A;if(!isTemplateNode(i)||!(A=findDir(i,"slot",!0))){3!==i.type&&h.push(i);continue}if(c){t.onError(createCompilerError(37,A.loc));break}l=!0;const{children:m,loc:f}=i,{arg:g=createSimpleExpression("default",!0),exp:y,loc:x}=A;let C;isStaticExp(g)?C=g?g.content:"default":a=!0;const E=findDir(i,"for"),S=s(y,E,m,f);let I,b;if(I=findDir(i,"if"))a=!0,o.push(createConditionalExpression(I.exp,buildDynamicSlot(g,S,d++),Ar));else if(b=findDir(i,/^else(?:-if)?$/,!0)){let s,i=e;for(;i--&&(s=r[i],isCommentOrWhitespace(s)););if(s&&isTemplateNode(s)&&findDir(s,/^(?:else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=b.exp?createConditionalExpression(b.exp,buildDynamicSlot(g,S,d++),Ar):buildDynamicSlot(g,S,d++)}else t.onError(createCompilerError(30,b.loc))}else if(E){a=!0;const e=E.forParseResult;e?(finalizeForParseResult(e,t),o.push(createCallExpression(t.helper(as),[e.source,createFunctionExpression(createForLoopParams(e),buildDynamicSlot(g,S),!0)]))):t.onError(createCompilerError(32,E.loc))}else{if(C){if(u.has(C)){t.onError(createCompilerError(38,x));continue}u.add(C),"default"===C&&(p=!0)}n.push(createObjectProperty(g,S))}}if(!c){const buildDefaultSlotProperty=(e,r)=>{const n=s(e,void 0,r,i);return t.compatConfig&&(n.isNonScopedSlot=!0),createObjectProperty("default",n)};l?h.length&&!h.every(isWhitespaceText)&&(p?t.onError(createCompilerError(39,h[0].loc)):n.push(buildDefaultSlotProperty(void 0,h))):n.push(buildDefaultSlotProperty(void 0,r))}const A=a?2:hasForwardedSlots(e.children)?3:1;let m=createObjectExpression(n.concat(createObjectProperty("_",createSimpleExpression(A+"",!1))),i);return o.length&&(m=createCallExpression(t.helper(ls),[m,createArrayExpression(o)])),{slots:m,hasDynamicSlots:a}}function buildDynamicSlot(e,t,s){const r=[createObjectProperty("name",e),createObjectProperty("fn",t)];return null!=s&&r.push(createObjectProperty("key",createSimpleExpression(String(s),!0))),createObjectExpression(r)}function hasForwardedSlots(e){for(let t=0;t<e.length;t++){const s=e[t];switch(s.type){case 1:if(2===s.tagType||hasForwardedSlots(s.children))return!0;break;case 9:if(hasForwardedSlots(s.branches))return!0;break;case 10:case 11:if(hasForwardedSlots(s.children))return!0}}return!1}const mr=new WeakMap,transformElement=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:s,props:r}=e,i=1===e.tagType;let n=i?resolveComponentType(e,t):`"${s}"`;const o=Ft.isObject(n)&&n.callee===rs;let a,c,l,p,h,u=0,d=o||n===jt||n===Gt||!i&&("svg"===s||"foreignObject"===s||"math"===s);if(r.length>0){const s=buildProps(e,t,void 0,i,o);a=s.props,u=s.patchFlag,p=s.dynamicPropNames;const r=s.directives;h=r&&r.length?createArrayExpression(r.map(e=>buildDirectiveArgs(e,t))):void 0,s.shouldUseBlock&&(d=!0)}if(e.children.length>0){n===Qt&&(d=!0,u|=1024);if(i&&n!==jt&&n!==Qt){const{slots:s,hasDynamicSlots:r}=buildSlots(e,t);c=s,r&&(u|=1024)}else if(1===e.children.length&&n!==jt){const s=e.children[0],r=s.type,i=5===r||8===r;i&&0===getConstantType(s,t)&&(u|=1),c=i||2===r?s:e.children}else c=e.children}p&&p.length&&(l=function(e){let t="[";for(let s=0,r=e.length;s<r;s++)t+=JSON.stringify(e[s]),s<r-1&&(t+=", ");return t+"]"}(p)),e.codegenNode=createVNodeCall(t,n,a,c,0===u?void 0:u,l,h,!!d,!1,i,e.loc)};function resolveComponentType(e,t,s=!1){let{tag:r}=e;const i=isComponentTag(r),n=findProp(e,"is",!1,!0);if(n)if(i||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===n.type?e=n.value&&createSimpleExpression(n.value.content,!0):(e=n.exp,e||(e=createSimpleExpression("is",!1,n.arg.loc),e=n.exp=processExpression(e,t))),e)return createCallExpression(t.helper(rs),[e])}else 6===n.type&&n.value.content.startsWith("vue:")&&(r=n.value.content.slice(4));const o=isCoreComponent(r)||t.isBuiltInComponent(r);if(o)return s||t.helper(o),o;{const e=resolveSetupReference(r,t);if(e)return e;const s=r.indexOf(".");if(s>0){const e=resolveSetupReference(r.slice(0,s),t);if(e)return e+r.slice(s)}}return t.selfName&&Ft.capitalize(Ft.camelize(r))===t.selfName?(t.helper(ss),t.components.add(r+"__self"),toValidAssetId(r,"component")):(t.helper(ss),t.components.add(r),toValidAssetId(r,"component"))}function resolveSetupReference(e,t){const s=t.bindingMetadata;if(!s||!1===s.__isScriptSetup)return;const r=Ft.camelize(e),i=Ft.capitalize(r),checkType=t=>s[e]===t?e:s[r]===t?r:s[i]===t?i:void 0,n=checkType("setup-const")||checkType("setup-reactive-const")||checkType("literal-const");if(n)return t.inline?n:`$setup[${JSON.stringify(n)}]`;const o=checkType("setup-let")||checkType("setup-ref")||checkType("setup-maybe-ref");if(o)return t.inline?`${t.helperString(bs)}(${o})`:`$setup[${JSON.stringify(o)}]`;const a=checkType("props");return a?`${t.helperString(bs)}(${t.inline?"__props":"$props"}[${JSON.stringify(a)}])`:void 0}function buildProps(e,t,s=e.props,r,i,n=!1){const{tag:o,loc:a,children:c}=e;let l=[];const p=[],h=[],u=c.length>0;let d=!1,A=0,m=!1,f=!1,g=!1,y=!1,x=!1,C=!1;const E=[],pushMergeArg=e=>{l.length&&(p.push(createObjectExpression(dedupeProperties(l),a)),l=[]),e&&p.push(e)},pushRefVForMarker=()=>{t.scopes.vFor>0&&l.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true")))},analyzePatchFlag=({key:e,value:s})=>{if(isStaticExp(e)){const n=e.content,o=Ft.isOn(n);if(!o||r&&!i||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||Ft.isReservedProp(n)||(y=!0),o&&Ft.isReservedProp(n)&&(C=!0),o&&14===s.type&&(s=s.arguments[0]),20===s.type||(4===s.type||8===s.type)&&getConstantType(s,t)>0)return;"ref"===n?m=!0:"class"===n?f=!0:"style"===n?g=!0:"key"===n||E.includes(n)||E.push(n),!r||"class"!==n&&"style"!==n||E.includes(n)||E.push(n)}else x=!0};for(let i=0;i<s.length;i++){const c=s[i];if(6===c.type){const{loc:e,name:s,nameLoc:r,value:i}=c;let n=!0;if("ref"===s&&(m=!0,pushRefVForMarker(),i&&t.inline)){const e=t.bindingMetadata[i.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(createObjectProperty(createSimpleExpression("ref_key",!0),createSimpleExpression(i.content,!0,i.loc))))}if("is"===s&&(isComponentTag(o)||i&&i.content.startsWith("vue:")||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(createObjectProperty(createSimpleExpression(s,!0,r),createSimpleExpression(i?i.content:"",n,i?i.loc:e)))}else{const{name:s,arg:i,exp:m,loc:f,modifiers:g}=c,y="bind"===s,C="on"===s;if("slot"===s){r||t.onError(createCompilerError(40,f));continue}if("once"===s||"memo"===s)continue;if("is"===s||y&&isStaticArgOf(i,"is")&&(isComponentTag(o)||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;if(C&&n)continue;if((y&&isStaticArgOf(i,"key")||C&&u&&isStaticArgOf(i,"vue:before-update"))&&(d=!0),y&&isStaticArgOf(i,"ref")&&pushRefVForMarker(),!i&&(y||C)){if(x=!0,m)if(y){if(pushMergeArg(),isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(m);continue}pushRefVForMarker(),pushMergeArg(),p.push(m)}else pushMergeArg({type:14,loc:f,callee:t.helper(fs),arguments:r?[m]:[m,"true"]});else t.onError(createCompilerError(y?34:35,f));continue}y&&g.some(e=>"prop"===e.content)&&(A|=32);const E=t.directiveTransforms[s];if(E){const{props:s,needRuntime:r}=E(c,e,t);!n&&s.forEach(analyzePatchFlag),C&&i&&!isStaticExp(i)?pushMergeArg(createObjectExpression(s,a)):l.push(...s),r&&(h.push(c),Ft.isSymbol(r)&&mr.set(c,r))}else Ft.isBuiltInDirective(s)||(h.push(c),u&&(d=!0))}}let S;if(p.length?(pushMergeArg(),S=p.length>1?createCallExpression(t.helper(hs),p,a):p[0]):l.length&&(S=createObjectExpression(dedupeProperties(l),a)),x?A|=16:(f&&!r&&(A|=2),g&&!r&&(A|=4),E.length&&(A|=8),y&&(A|=32)),d||0!==A&&32!==A||!(m||C||h.length>0)||(A|=512),!t.inSSR&&S)switch(S.type){case 15:let e=-1,s=-1,r=!1;for(let t=0;t<S.properties.length;t++){const i=S.properties[t].key;isStaticExp(i)?"class"===i.content?e=t:"style"===i.content&&(s=t):i.isHandlerKey||(r=!0)}const i=S.properties[e],n=S.properties[s];r?S=createCallExpression(t.helper(As),[S]):(i&&!isStaticExp(i.value)&&(i.value=createCallExpression(t.helper(us),[i.value])),n&&(g||4===n.value.type&&"["===n.value.content.trim()[0]||17===n.value.type)&&(n.value=createCallExpression(t.helper(ds),[n.value])));break;case 14:break;default:S=createCallExpression(t.helper(As),[createCallExpression(t.helper(ms),[S])])}return{props:S,directives:h,patchFlag:A,dynamicPropNames:E,shouldUseBlock:d}}function dedupeProperties(e){const t=new Map,s=[];for(let r=0;r<e.length;r++){const i=e[r];if(8===i.key.type||!i.key.isStatic){s.push(i);continue}const n=i.key.content,o=t.get(n);o?("style"===n||"class"===n||Ft.isOn(n))&&mergeAsArray$1(o,i):(t.set(n,i),s.push(i))}return s}function mergeAsArray$1(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=createArrayExpression([e.value,t.value],e.loc)}function buildDirectiveArgs(e,t){const s=[],r=mr.get(e);if(r)s.push(t.helperString(r));else{const r=resolveSetupReference("v-"+e.name,t);r?s.push(r):(t.helper(is),t.directives.add(e.name),s.push(toValidAssetId(e.name,"directive")))}const{loc:i}=e;if(e.exp&&s.push(e.exp),e.arg&&(e.exp||s.push("void 0"),s.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||s.push("void 0"),s.push("void 0"));const t=createSimpleExpression("true",!1,i);s.push(createObjectExpression(e.modifiers.map(e=>createObjectProperty(e,t)),i))}return createArrayExpression(s,e.loc)}function isComponentTag(e){return"component"===e||"Component"===e}const transformSlotOutlet=(e,t)=>{if(isSlotOutlet(e)){const{children:s,loc:r}=e,{slotName:i,slotProps:n}=processSlotOutlet(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;n&&(o[2]=n,a=3),s.length&&(o[3]=createFunctionExpression([],s,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=createCallExpression(t.helper(cs),o,r)}};function processSlotOutlet(e,t){let s,r='"default"';const i=[];for(let s=0;s<e.props.length;s++){const n=e.props[s];if(6===n.type)n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=Ft.camelize(n.name),i.push(n)));else if("bind"===n.name&&isStaticArgOf(n.arg,"name")){if(n.exp)r=n.exp;else if(n.arg&&4===n.arg.type){const e=Ft.camelize(n.arg.content);r=n.exp=createSimpleExpression(e,!1,n.arg.loc),r=n.exp=processExpression(n.exp,t)}}else"bind"===n.name&&n.arg&&isStaticExp(n.arg)&&(n.arg.content=Ft.camelize(n.arg.content)),i.push(n)}if(i.length>0){const{props:r,directives:n}=buildProps(e,t,i,!1,!1);s=r,n.length&&t.onError(createCompilerError(36,n[0].loc))}return{slotName:r,slotProps:s}}const transformOn=(e,t,s,r)=>{const{loc:i,modifiers:n,arg:o}=e;let a;if(e.exp||n.length||s.onError(createCompilerError(35,i)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);a=createSimpleExpression(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?Ft.toHandlerKey(Ft.camelize(e)):`on:${e}`,!0,o.loc)}else a=createCompoundExpression([`${s.helperString(xs)}(`,o,")"]);else a=o,a.children.unshift(`${s.helperString(xs)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=s.cacheHandlers&&!c&&!s.inVOnce;if(c){const r=Hs(c,s),i=!(r||Vs(c,s)),n=c.content.includes(";");s.prefixIdentifiers&&(i&&s.addIdentifiers("$event"),c=e.exp=processExpression(c,s,!1,n),i&&s.removeIdentifiers("$event"),l=s.cacheHandlers&&!s.inVOnce&&!(4===c.type&&c.constType>0)&&!(r&&1===t.tagType)&&!hasScopeRef(c,s.identifiers),l&&r&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(i||l&&r)&&(c=createCompoundExpression([`${i?s.isTS?"($event: any)":"$event":(s.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let p={props:[createObjectProperty(a,c||createSimpleExpression("() => {}",!1,i))]};return r&&(p=r(p)),l&&(p.props[0].value=s.cache(p.props[0].value)),p.props.forEach(e=>e.key.isHandlerKey=!0),p},transformBind=(e,t,s)=>{const{modifiers:r,loc:i}=e,n=e.arg;let{exp:o}=e;return o&&4===o.type&&!o.content.trim()?(s.onError(createCompilerError(34,i)),{props:[createObjectProperty(n,createSimpleExpression("",!0,i))]}):(4!==n.type?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=n.content?`${n.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===n.type?n.isStatic?n.content=Ft.camelize(n.content):n.content=`${s.helperString(gs)}(${n.content})`:(n.children.unshift(`${s.helperString(gs)}(`),n.children.push(")"))),s.inSSR||(r.some(e=>"prop"===e.content)&&injectPrefix(n,"."),r.some(e=>"attr"===e.content)&&injectPrefix(n,"^")),{props:[createObjectProperty(n,o)]})},injectPrefix=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},transformText=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const s=e.children;let r,i=!1;for(let e=0;e<s.length;e++){const t=s[e];if(isText$1(t)){i=!0;for(let i=e+1;i<s.length;i++){const n=s[i];if(!isText$1(n)){r=void 0;break}r||(r=s[e]=createCompoundExpression([t],t.loc)),r.children.push(" + ",n),s.splice(i,1),i--}}}if(i&&(1!==s.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<s.length;e++){const r=s[e];if(isText$1(r)||8===r.type){const i=[];2===r.type&&" "===r.content||i.push(r),t.ssr||0!==getConstantType(r,t)||i.push("1"),s[e]={type:12,content:r,loc:r.loc,codegenNode:createCallExpression(t.helper(es),i)}}}}},fr=new WeakSet,transformOnce=(e,t)=>{if(1===e.type&&findDir(e,"once",!0)){if(fr.has(e)||t.inVOnce||t.inSSR)return;return fr.add(e),t.inVOnce=!0,t.helper(Cs),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},transformModel=(e,t,s)=>{const{exp:r,arg:i}=e;if(!r)return s.onError(createCompilerError(41,e.loc)),createTransformProps();const n=r.loc.source.trim(),o=4===r.type?r.content:n,a=s.bindingMetadata[n];if("props"===a||"props-aliased"===a)return s.onError(createCompilerError(44,r.loc)),createTransformProps();if("literal-const"===a||"setup-const"===a)return s.onError(createCompilerError(45,r.loc)),createTransformProps();const c=s.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Hs(r,s)&&!c)return s.onError(createCompilerError(42,r.loc)),createTransformProps();if(s.prefixIdentifiers&&isSimpleIdentifier(o)&&s.identifiers[o])return s.onError(createCompilerError(43,r.loc)),createTransformProps();const l=i||createSimpleExpression("modelValue",!0),p=i?isStaticExp(i)?`onUpdate:${Ft.camelize(i.content)}`:createCompoundExpression(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;const u=s.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)h=createCompoundExpression([`${u} => ((`,createSimpleExpression(n,!1,r.loc),").value = $event)"]);else{const e="setup-let"===a?`${n} = $event`:"null";h=createCompoundExpression([`${u} => (${s.helperString(Ts)}(${n}) ? (`,createSimpleExpression(n,!1,r.loc),`).value = $event : ${e})`])}else h=createCompoundExpression([`${u} => ((`,r,") = $event)"]);const d=[createObjectProperty(l,e.exp),createObjectProperty(p,h)];if(s.prefixIdentifiers&&!s.inVOnce&&s.cacheHandlers&&!hasScopeRef(r,s.identifiers)&&(d[1].value=s.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(isSimpleIdentifier(e)?e:JSON.stringify(e))+": true").join(", "),s=i?isStaticExp(i)?`${i.content}Modifiers`:createCompoundExpression([i,' + "Modifiers"']):"modelModifiers";d.push(createObjectProperty(s,createSimpleExpression(`{ ${t} }`,!1,e.loc,2)))}return createTransformProps(d)};function createTransformProps(e=[]){return{props:e}}const gr=/[\w).+\-_$\]]/,transformFilter=(e,t)=>{isCompatEnabled("COMPILER_FILTERS",t)&&(5===e.type?rewriteFilter(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&rewriteFilter(e.exp,t)}))};function rewriteFilter(e,t){if(4===e.type)parseFilter(e,t);else for(let s=0;s<e.children.length;s++){const r=e.children[s];"object"==typeof r&&(4===r.type?parseFilter(r,t):8===r.type?rewriteFilter(e,t):5===r.type&&rewriteFilter(r.content,t))}}function parseFilter(e,t){const s=e.content;let r,i,n,o,a=!1,c=!1,l=!1,p=!1,h=0,u=0,d=0,A=0,m=[];for(n=0;n<s.length;n++)if(i=r,r=s.charCodeAt(n),a)39===r&&92!==i&&(a=!1);else if(c)34===r&&92!==i&&(c=!1);else if(l)96===r&&92!==i&&(l=!1);else if(p)47===r&&92!==i&&(p=!1);else if(124!==r||124===s.charCodeAt(n+1)||124===s.charCodeAt(n-1)||h||u||d){switch(r){case 34:c=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:u++;break;case 93:u--;break;case 123:h++;break;case 125:h--}if(47===r){let e,t=n-1;for(;t>=0&&(e=s.charAt(t)," "===e);t--);e&&gr.test(e)||(p=!0)}}else void 0===o?(A=n+1,o=s.slice(0,n).trim()):pushFilter();function pushFilter(){m.push(s.slice(A,n).trim()),A=n+1}if(void 0===o?o=s.slice(0,n).trim():0!==A&&pushFilter(),m.length){for(n=0;n<m.length;n++)o=wrapFilter(o,m[n],t);e.content=o,e.ast=void 0}}function wrapFilter(e,t,s){s.helper(ns);const r=t.indexOf("(");if(r<0)return s.filters.add(t),`${toValidAssetId(t,"filter")}(${e})`;{const i=t.slice(0,r),n=t.slice(r+1);return s.filters.add(i),`${toValidAssetId(i,"filter")}(${e}${")"!==n?","+n:n}`}}const yr=new WeakSet,transformMemo=(e,t)=>{if(1===e.type){const s=findDir(e,"memo");if(!s||yr.has(e)||t.inSSR)return;return yr.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&convertToBlock(r,t),e.codegenNode=createCallExpression(t.helper(Ps),[s.exp,createFunctionExpression(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}},transformVBindShorthand=(e,t)=>{if(1===e.type)for(const s of e.props)if(7===s.type&&"bind"===s.name&&!s.exp&&s.arg){const e=s.arg;if(4===e.type&&e.isStatic){const t=Ft.camelize(e.content);(Rs.test(t[0])||"-"===t[0])&&(s.exp=createSimpleExpression(t,!1,e.loc))}else t.onError(createCompilerError(53,e.loc)),s.exp=createSimpleExpression("",!0,e.loc)}};function getBaseTransformPreset(e){return[[transformVBindShorthand,transformOnce,ur,transformMemo,dr,transformFilter,...e?[trackVForSlotScopes,transformExpression]:[],transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn,bind:transformBind,model:transformModel}]}B.generateCodeFrame=Ft.generateCodeFrame,B.BASE_TRANSITION=Jt,B.BindingTypes={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},B.CAMELIZE=gs,B.CAPITALIZE=ys,B.CREATE_BLOCK=Xt,B.CREATE_COMMENT=qt,B.CREATE_ELEMENT_BLOCK=$t,B.CREATE_ELEMENT_VNODE=zt,B.CREATE_SLOTS=ls,B.CREATE_STATIC=ts,B.CREATE_TEXT=es,B.CREATE_VNODE=Zt,B.CompilerDeprecationTypes={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},B.ConstantTypes={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},B.ElementTypes={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},B.ErrorCodes={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},B.FRAGMENT=Wt,B.GUARD_REACTIVE_PROPS=ms,B.IS_MEMO_SAME=vs,B.IS_REF=Ts,B.KEEP_ALIVE=Qt,B.MERGE_PROPS=hs,B.NORMALIZE_CLASS=us,B.NORMALIZE_PROPS=As,B.NORMALIZE_STYLE=ds,B.Namespaces={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},B.NodeTypes={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},B.OPEN_BLOCK=Yt,B.POP_SCOPE_ID=Ss,B.PUSH_SCOPE_ID=Es,B.RENDER_LIST=as,B.RENDER_SLOT=cs,B.RESOLVE_COMPONENT=ss,B.RESOLVE_DIRECTIVE=is,B.RESOLVE_DYNAMIC_COMPONENT=rs,B.RESOLVE_FILTER=ns,B.SET_BLOCK_TRACKING=Cs,B.SUSPENSE=Gt,B.TELEPORT=jt,B.TO_DISPLAY_STRING=ps,B.TO_HANDLERS=fs,B.TO_HANDLER_KEY=xs,B.TS_NODE_TYPES=Bs,B.UNREF=bs,B.WITH_CTX=Is,B.WITH_DIRECTIVES=os,B.WITH_MEMO=Ps,B.advancePositionWithClone=advancePositionWithClone,B.advancePositionWithMutation=advancePositionWithMutation,B.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},B.baseCompile=function(e,t={}){const s=t.onError||defaultOnError,r="module"===t.mode,i=!0===t.prefixIdentifiers||r;!i&&t.cacheHandlers&&s(createCompilerError(50)),t.scopeId&&!r&&s(createCompilerError(51));const n=Ft.extend({},t,{prefixIdentifiers:i}),o=Ft.isString(e)?baseParse(e,n):e,[a,c]=getBaseTransformPreset(i);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return transform(o,Ft.extend({},n,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:Ft.extend({},c,t.directiveTransforms||{})})),generate(o,n)},B.baseParse=baseParse,B.buildDirectiveArgs=buildDirectiveArgs,B.buildProps=buildProps,B.buildSlots=buildSlots,B.checkCompatEnabled=checkCompatEnabled,B.convertToBlock=convertToBlock,B.createArrayExpression=createArrayExpression,B.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:Ns}},B.createBlockStatement=createBlockStatement,B.createCacheExpression=createCacheExpression,B.createCallExpression=createCallExpression,B.createCompilerError=createCompilerError,B.createCompoundExpression=createCompoundExpression,B.createConditionalExpression=createConditionalExpression,B.createForLoopParams=createForLoopParams,B.createFunctionExpression=createFunctionExpression,B.createIfStatement=function(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:Ns}},B.createInterpolation=function(e,t){return{type:5,loc:t,content:Ft.isString(e)?createSimpleExpression(e,!1,t):e}},B.createObjectExpression=createObjectExpression,B.createObjectProperty=createObjectProperty,B.createReturnStatement=function(e){return{type:26,returns:e,loc:Ns}},B.createRoot=createRoot,B.createSequenceExpression=function(e){return{type:25,expressions:e,loc:Ns}},B.createSimpleExpression=createSimpleExpression,B.createStructuralDirectiveTransform=createStructuralDirectiveTransform,B.createTemplateLiteral=function(e){return{type:22,elements:e,loc:Ns}},B.createTransformContext=createTransformContext,B.createVNodeCall=createVNodeCall,B.errorMessages=Ds,B.extractIdentifiers=extractIdentifiers,B.findDir=findDir,B.findProp=findProp,B.forAliasRE=js,B.generate=generate,B.getBaseTransformPreset=getBaseTransformPreset,B.getConstantType=getConstantType,B.getMemoedVNodeCall=getMemoedVNodeCall,B.getVNodeBlockHelper=getVNodeBlockHelper,B.getVNodeHelper=getVNodeHelper,B.hasDynamicKeyVBind=function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))},B.hasScopeRef=hasScopeRef,B.helperNameMap=ws,B.injectProp=injectProp,B.isAllWhitespace=isAllWhitespace,B.isCommentOrWhitespace=isCommentOrWhitespace,B.isCoreComponent=isCoreComponent,B.isFnExpression=Vs,B.isFnExpressionBrowser=e=>Ks.test(getExpSource(e)),B.isFnExpressionNode=isFnExpressionNode,B.isFunctionType=isFunctionType,B.isInDestructureAssignment=isInDestructureAssignment,B.isInNewExpression=isInNewExpression,B.isMemberExpression=Hs,B.isMemberExpressionBrowser=e=>{const t=getExpSource(e).trim().replace(Us,e=>e.trim());let s=0,r=[],i=0,n=0,o=null;for(let e=0;e<t.length;e++){const a=t.charAt(e);switch(s){case 0:if("["===a)r.push(s),s=1,i++;else if("("===a)r.push(s),s=2,n++;else if(!(0===e?Rs:Fs).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(s),s=3,o=a):"["===a?i++:"]"===a&&(--i||(s=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(s),s=3,o=a;else if("("===a)n++;else if(")"===a){if(e===t.length-1)return!1;--n||(s=r.pop())}break;case 3:a===o&&(s=r.pop(),o=null)}}return!i&&!n},B.isMemberExpressionNode=isMemberExpressionNode,B.isReferencedIdentifier=isReferencedIdentifier,B.isSimpleIdentifier=isSimpleIdentifier,B.isSlotOutlet=isSlotOutlet,B.isStaticArgOf=isStaticArgOf,B.isStaticExp=isStaticExp,B.isStaticProperty=isStaticProperty,B.isStaticPropertyKey=isStaticPropertyKey,B.isTemplateNode=isTemplateNode,B.isText=isText$1,B.isVPre=isVPre,B.isVSlot=isVSlot,B.isWhitespaceText=isWhitespaceText,B.locStub=Ns,B.noopDirectiveTransform=()=>({props:[]}),B.processExpression=processExpression,B.processFor=processFor,B.processIf=processIf,B.processSlotOutlet=processSlotOutlet,B.registerRuntimeHelpers=function(e){Object.getOwnPropertySymbols(e).forEach(t=>{ws[t]=e[t]})},B.resolveComponentType=resolveComponentType,B.stringifyExpression=stringifyExpression,B.toValidAssetId=toValidAssetId,B.trackSlotScopes=trackSlotScopes,B.trackVForSlotScopes=trackVForSlotScopes,B.transform=transform,B.transformBind=transformBind,B.transformElement=transformElement,B.transformExpression=transformExpression,B.transformModel=transformModel,B.transformOn=transformOn,B.transformVBindShorthand=transformVBindShorthand,B.traverseNode=traverseNode,B.unwrapTSNode=unwrapTSNode,B.validFirstIdentCharRE=Rs,B.walkBlockDeclarations=walkBlockDeclarations,B.walkFunctionParams=walkFunctionParams,B.walkIdentifiers=walkIdentifiers,B.warnDeprecation=function(e,t,s,...r){if("suppress-warning"===getCompatValue(e,t))return;const{message:i,link:n}=Ms[e],o=`(deprecation ${e}) ${"function"==typeof i?i(...r):i}${n?`\n Details: ${n}`:""}`,a=new SyntaxError(o);a.code=e,s&&(a.loc=s),t.onWarn(a)},function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=B,s=A;const r=Symbol(""),i=Symbol(""),n=Symbol(""),o=Symbol(""),a=Symbol(""),c=Symbol(""),l=Symbol(""),p=Symbol(""),h=Symbol(""),u=Symbol("");t.registerRuntimeHelpers({[r]:"vModelRadio",[i]:"vModelCheckbox",[n]:"vModelText",[o]:"vModelSelect",[a]:"vModelDynamic",[c]:"withModifiers",[l]:"withKeys",[p]:"vShow",[h]:"Transition",[u]:"TransitionGroup"});const d={parseMode:"html",isVoidTag:s.isVoidTag,isNativeTag:e=>s.isHTMLTag(e)||s.isSVGTag(e)||s.isMathMLTag(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:void 0,isBuiltInComponent:e=>"Transition"===e||"transition"===e?h:"TransitionGroup"===e||"transition-group"===e?u:void 0,getNamespace(e,t,s){let r=t?t.ns:s;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},transformStyle=e=>{1===e.type&&e.props.forEach((s,r)=>{6===s.type&&"style"===s.name&&s.value&&(e.props[r]={type:7,name:"bind",arg:t.createSimpleExpression("style",!0,s.loc),exp:parseInlineCSS(s.value.content,s.loc),modifiers:[],loc:s.loc})})},parseInlineCSS=(e,r)=>{const i=s.parseStringStyle(e);return t.createSimpleExpression(JSON.stringify(i),!1,r,3)};function createDOMCompilerError(e,s){return t.createCompilerError(e,s,m)}const m={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},f=s.makeMap("passive,once,capture"),g=s.makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),y=s.makeMap("left,right"),x=s.makeMap("onkeyup,onkeydown,onkeypress"),transformClick=(e,s)=>t.isStaticExp(e)&&"onclick"===e.content.toLowerCase()?t.createSimpleExpression(s,!0):4!==e.type?t.createCompoundExpression(["(",e,`) === "onClick" ? "${s}" : (`,e,")"]):e,C=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,stringifyStatic=(e,r,i)=>{if(r.scopes.vSlot>0)return;const n=1===i.type&&i.codegenNode&&13===i.codegenNode.type&&i.codegenNode.children&&!s.isArray(i.codegenNode.children)&&20===i.codegenNode.children.type;let o=0,a=0;const c=[],stringifyCurrentChunk=s=>{if(o>=20||a>=5){const i=t.createCallExpression(r.helper(t.CREATE_STATIC),[JSON.stringify(c.map(e=>stringifyNode(e,r)).join("")).replace(C,'" + $1 + "'),String(c.length)]),o=c.length-1;if(n)e.splice(s-c.length,c.length,i);else if(c[0].codegenNode.value=i,c.length>1){e.splice(s-c.length+1,o);const t=r.cached.indexOf(c[c.length-1].codegenNode);if(t>-1){for(let e=t;e<r.cached.length;e++){const t=r.cached[e];t&&(t.index-=o)}r.cached.splice(t-o+1,o)}}return o}return 0};let l=0;for(;l<e.length;l++){const t=e[l];if(n||getCachedNode(t)){const e=analyzeNode(t);if(e){o+=e[0],a+=e[1],c.push(t);continue}}l-=stringifyCurrentChunk(l),o=0,a=0,c.length=0}stringifyCurrentChunk(l)},getCachedNode=e=>{if((1===e.type&&0===e.tagType||12===e.type)&&e.codegenNode&&20===e.codegenNode.type)return e.codegenNode},E=/^(?:data|aria)-/,isStringifiableAttr=(e,t)=>(0===t?s.isKnownHtmlAttr(e):1===t?s.isKnownSvgAttr(e):2===t&&s.isKnownMathMLAttr(e))||E.test(e),S=s.makeMap("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function analyzeNode(e){if(1===e.type&&S(e.tag))return!1;if(1===e.type&&t.findDir(e,"once",!0))return!1;if(12===e.type)return[1,0];let s=1,r=e.props.length>0?1:0,i=!1;const bail=()=>(i=!0,!1);return!!function walk(e){const n="option"===e.tag&&0===e.ns;for(let s=0;s<e.props.length;s++){const r=e.props[s];if(6===r.type&&!isStringifiableAttr(r.name,e.ns))return bail();if(7===r.type&&"bind"===r.name){if(r.arg&&(8===r.arg.type||r.arg.isStatic&&!isStringifiableAttr(r.arg.content,e.ns)))return bail();if(r.exp&&(8===r.exp.type||r.exp.constType<3))return bail();if(n&&t.isStaticArgOf(r.arg,"value")&&r.exp&&!r.exp.isStatic)return bail()}}for(let t=0;t<e.children.length;t++){s++;const n=e.children[t];if(1===n.type&&(n.props.length>0&&r++,walk(n),i))return!1}return!0}(e)&&[s,r]}function stringifyNode(e,t){if(s.isString(e))return e;if(s.isSymbol(e))return"";switch(e.type){case 1:return function(e,t){let r=`<${e.tag}`,i="";for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)r+=` ${n.name}`,n.value&&(r+=`="${s.escapeHtml(n.value.content)}"`);else if(7===n.type)if("bind"===n.name){const e=n.exp;if("_"===e.content[0]){r+=` ${n.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(s.isBooleanAttr(n.arg.content)&&"false"===e.content)continue;let t=evaluateConstant(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=s.normalizeClass(t):"style"===e&&(t=s.stringifyStyle(s.normalizeStyle(t))),r+=` ${n.arg.content}="${s.escapeHtml(t)}"`}}else"html"===n.name?i=evaluateConstant(n.exp):"text"===n.name&&(i=s.escapeHtml(s.toDisplayString(evaluateConstant(n.exp))))}t.scopeId&&(r+=` ${t.scopeId}`);if(r+=">",i)r+=i;else for(let s=0;s<e.children.length;s++)r+=stringifyNode(e.children[s],t);s.isVoidTag(e.tag)||(r+=`</${e.tag}>`);return r}(e,t);case 2:return s.escapeHtml(e.content);case 3:return`\x3c!--${s.escapeHtml(e.content)}--\x3e`;case 5:return s.escapeHtml(s.toDisplayString(evaluateConstant(e.content)));case 8:return s.escapeHtml(evaluateConstant(e));case 12:return stringifyNode(e.content,t);default:return""}}function evaluateConstant(e){if(4===e.type)return new Function(`return (${e.content})`)();{let t="";return e.children.forEach(e=>{s.isString(e)||s.isSymbol(e)||(2===e.type?t+=e.content:5===e.type?t+=s.toDisplayString(evaluateConstant(e.content)):t+=evaluateConstant(e))}),t}}const ignoreSideEffectTags=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},I=[transformStyle],b={cloak:t.noopDirectiveTransform,html:(e,s,r)=>{const{exp:i,loc:n}=e;return i||r.onError(createDOMCompilerError(54,n)),s.children.length&&(r.onError(createDOMCompilerError(55,n)),s.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression("innerHTML",!0,n),i||t.createSimpleExpression("",!0))]}},text:(e,s,r)=>{const{exp:i,loc:n}=e;return i||r.onError(createDOMCompilerError(56,n)),s.children.length&&(r.onError(createDOMCompilerError(57,n)),s.children.length=0),{props:[t.createObjectProperty(t.createSimpleExpression("textContent",!0),i?t.getConstantType(i,r)>0?i:t.createCallExpression(r.helperString(t.TO_DISPLAY_STRING),[i],n):t.createSimpleExpression("",!0))]}},model:(e,s,c)=>{const l=t.transformModel(e,s,c);if(!l.props.length||1===s.tagType)return l;e.arg&&c.onError(createDOMCompilerError(59,e.arg.loc));const{tag:p}=s,h=c.isCustomElement(p);if("input"===p||"textarea"===p||"select"===p||h){let u=n,d=!1;if("input"===p||h){const n=t.findProp(s,"type");if(n){if(7===n.type)u=a;else if(n.value)switch(n.value.content){case"radio":u=r;break;case"checkbox":u=i;break;case"file":d=!0,c.onError(createDOMCompilerError(60,e.loc))}}else t.hasDynamicKeyVBind(s)&&(u=a)}else"select"===p&&(u=o);d||(l.needRuntime=c.helper(u))}else c.onError(createDOMCompilerError(58,e.loc));return l.props=l.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),l},on:(e,r,i)=>t.transformOn(e,r,i,r=>{const{modifiers:n}=e;if(!n.length)return r;let{key:o,value:a}=r.props[0];const{keyModifiers:p,nonKeyModifiers:h,eventOptionModifiers:u}=((e,s,r,i)=>{const n=[],o=[],a=[];for(let c=0;c<s.length;c++){const l=s[c].content;"native"===l&&t.checkCompatEnabled("COMPILER_V_ON_NATIVE",r,i)||f(l)?a.push(l):y(l)?t.isStaticExp(e)?x(e.content.toLowerCase())?n.push(l):o.push(l):(n.push(l),o.push(l)):g(l)?o.push(l):n.push(l)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:a}})(o,n,i,e.loc);if(h.includes("right")&&(o=transformClick(o,"onContextmenu")),h.includes("middle")&&(o=transformClick(o,"onMouseup")),h.length&&(a=t.createCallExpression(i.helper(c),[a,JSON.stringify(h)])),!p.length||t.isStaticExp(o)&&!x(o.content.toLowerCase())||(a=t.createCallExpression(i.helper(l),[a,JSON.stringify(p)])),u.length){const e=u.map(s.capitalize).join("");o=t.isStaticExp(o)?t.createSimpleExpression(`${o.content}${e}`,!0):t.createCompoundExpression(["(",o,`) + "${e}"`])}return{props:[t.createObjectProperty(o,a)]}}),show:(e,t,s)=>{const{exp:r,loc:i}=e;return r||s.onError(createDOMCompilerError(62,i)),{props:[],needRuntime:s.helper(p)}}};e.DOMDirectiveTransforms=b,e.DOMErrorCodes={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},e.DOMErrorMessages=m,e.DOMNodeTransforms=I,e.TRANSITION=h,e.TRANSITION_GROUP=u,e.V_MODEL_CHECKBOX=i,e.V_MODEL_DYNAMIC=a,e.V_MODEL_RADIO=r,e.V_MODEL_SELECT=o,e.V_MODEL_TEXT=n,e.V_ON_WITH_KEYS=l,e.V_ON_WITH_MODIFIERS=c,e.V_SHOW=p,e.compile=function(e,r={}){return t.baseCompile(e,s.extend({},d,r,{nodeTransforms:[ignoreSideEffectTags,...I,...r.nodeTransforms||[]],directiveTransforms:s.extend({},b,r.directiveTransforms||{}),transformHoist:stringifyStatic}))},e.createDOMCompilerError=createDOMCompilerError,e.parse=function(e,r={}){return t.baseParse(e,s.extend({},d,r))},e.parserOptions=d,e.transformStyle=transformStyle,Object.keys(t).forEach(function(s){"default"===s||Object.prototype.hasOwnProperty.call(e,s)||(e[s]=t[s])})}(D);var xr={},Cr={},Er={};Object.defineProperty(Er,"__esModule",{value:!0});var Sr=A;let Ir,br;class EffectScope{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ir,!e&&Ir&&(this.index=(Ir.scopes||(Ir.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Ir;try{return Ir=this,e()}finally{Ir=t}}}on(){1===++this._on&&(this.prevScope=Ir,Ir=this)}off(){this._on>0&&0===--this._on&&(Ir=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,s;for(this._active=!1,t=0,s=this.effects.length;t<s;t++)this.effects[t].stop();for(this.effects.length=0,t=0,s=this.cleanups.length;t<s;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function getCurrentScope(){return Ir}const Tr=new WeakSet;class ReactiveEffect{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ir&&Ir.active&&Ir.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Tr.has(this)&&(Tr.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||batch(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const e=br,t=Nr;br=this,Nr=!0;try{return this.fn()}finally{cleanupDeps(this),br=e,Nr=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)removeSub(e);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Tr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let Pr,vr,wr=0;function batch(e,t=!1){if(e.flags|=8,t)return e.next=vr,void(vr=e);e.next=Pr,Pr=e}function startBatch(){wr++}function endBatch(){if(--wr>0)return;if(vr){let e=vr;for(vr=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Pr;){let t=Pr;for(Pr=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=s}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,s=e.depsTail,r=s;for(;r;){const e=r.prevDep;-1===r.version?(r===s&&(s=e),removeSub(r),removeDep(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=s}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===_r)return;if(e.globalVersion=_r,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!isDirty(e)))return;e.flags|=2;const t=e.dep,s=br,r=Nr;br=e,Nr=!0;try{prepareDeps(e);const s=e.fn(e._value);(0===t.version||Sr.hasChanged(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(e){throw t.version++,e}finally{br=s,Nr=r,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:s,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let e=s.computed.deps;e;e=e.nextDep)removeSub(e,!0)}t||--s.sc||!s.map||s.map.delete(s.key)}function removeDep(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Nr=!0;const kr=[];function pauseTracking(){kr.push(Nr),Nr=!1}function resetTracking(){const e=kr.pop();Nr=void 0===e||e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=br;br=void 0;try{t()}finally{br=e}}}let _r=0;class Link{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!br||!Nr||br===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==br)t=this.activeLink=new Link(br,this),br.deps?(t.prevDep=br.depsTail,br.depsTail.nextDep=t,br.depsTail=t):br.deps=br.depsTail=t,addSub(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=br.depsTail,t.nextDep=void 0,br.depsTail.nextDep=t,br.depsTail=t,br.deps===t&&(br.deps=e)}return t}trigger(e){this.version++,_r++,this.notify(e)}notify(e){startBatch();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)addSub(e)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Or=new WeakMap,Mr=Symbol(""),Dr=Symbol(""),Br=Symbol("");function track(e,t,s){if(Nr&&br){let t=Or.get(e);t||Or.set(e,t=new Map);let r=t.get(s);r||(t.set(s,r=new Dep),r.map=t,r.key=s),r.track()}}function trigger(e,t,s,r,i,n){const o=Or.get(e);if(!o)return void _r++;const run=e=>{e&&e.trigger()};if(startBatch(),"clear"===t)o.forEach(run);else{const i=Sr.isArray(e),n=i&&Sr.isIntegerKey(s);if(i&&"length"===s){const e=Number(r);o.forEach((t,s)=>{("length"===s||s===Br||!Sr.isSymbol(s)&&s>=e)&&run(t)})}else switch((void 0!==s||o.has(void 0))&&run(o.get(s)),n&&run(o.get(Br)),t){case"add":i?n&&run(o.get("length")):(run(o.get(Mr)),Sr.isMap(e)&&run(o.get(Dr)));break;case"delete":i||(run(o.get(Mr)),Sr.isMap(e)&&run(o.get(Dr)));break;case"set":Sr.isMap(e)&&run(o.get(Mr))}}endBatch()}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,0,Br),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),0,Br),e}function toWrapped(e,t){return isReadonly(e)?isReactive(e)?toReadonly(toReactive(t)):toReadonly(t):toReactive(t)}const Lr={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,e=>toWrapped(this,e))},concat(...e){return reactiveReadArray(this).concat(...e.map(e=>Sr.isArray(e)?reactiveReadArray(e):e))},entries(){return iterator(this,"entries",e=>(e[1]=toWrapped(this,e[1]),e))},every(e,t){return apply(this,"every",e,t,void 0,arguments)},filter(e,t){return apply(this,"filter",e,t,e=>e.map(e=>toWrapped(this,e)),arguments)},find(e,t){return apply(this,"find",e,t,e=>toWrapped(this,e),arguments)},findIndex(e,t){return apply(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply(this,"findLast",e,t,e=>toWrapped(this,e),arguments)},findLastIndex(e,t){return apply(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",e=>toWrapped(this,e))}};function iterator(e,t,s){const r=shallowReadArray(e),i=r[t]();return r===e||isShallow(e)||(i._next=i.next,i.next=()=>{const e=i._next();return e.done||(e.value=s(e.value)),e}),i}const Rr=Array.prototype;function apply(e,t,s,r,i,n){const o=shallowReadArray(e),a=o!==e&&!isShallow(e),c=o[t];if(c!==Rr[t]){const t=c.apply(e,n);return a?toReactive(t):t}let l=s;o!==e&&(a?l=function(t,r){return s.call(this,toWrapped(e,t),r,e)}:s.length>2&&(l=function(t,r){return s.call(this,t,r,e)}));const p=c.call(o,l,r);return a&&i?i(p):p}function reduce(e,t,s,r){const i=shallowReadArray(e);let n=s;return i!==e&&(isShallow(e)?s.length>3&&(n=function(t,r,i){return s.call(this,t,r,i,e)}):n=function(t,r,i){return s.call(this,t,toWrapped(e,r),i,e)}),i[t](n,...r)}function searchProxy(e,t,s){const r=toRaw(e);track(r,0,Br);const i=r[t](...s);return-1!==i&&!1!==i||!isProxy(s[0])?i:(s[0]=toRaw(s[0]),r[t](...s))}function noTracking(e,t,s=[]){pauseTracking(),startBatch();const r=toRaw(e)[t].apply(e,s);return endBatch(),resetTracking(),r}const Fr=Sr.makeMap("__proto__,__v_isRef,__isVue"),Ur=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(Sr.isSymbol));function hasOwnProperty$1(e){Sr.isSymbol(e)||(e=String(e));const t=toRaw(this);return track(t,0,e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,s){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return s===(r?i?Zr:$r:i?Xr:Yr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const n=Sr.isArray(e);if(!r){let e;if(n&&(e=Lr[t]))return e;if("hasOwnProperty"===t)return hasOwnProperty$1}const o=Reflect.get(e,t,isRef(e)?e:s);if(Sr.isSymbol(t)?Ur.has(t):Fr(t))return o;if(r||track(e,0,t),i)return o;if(isRef(o)){const e=n&&Sr.isIntegerKey(t)?o:o.value;return r&&Sr.isObject(e)?readonly(e):e}return Sr.isObject(o)?r?readonly(o):reactive(o):o}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(e=!1){super(!1,e)}set(e,t,s,r){let i=e[t];const n=Sr.isArray(e)&&Sr.isIntegerKey(t);if(!this._isShallow){const e=isReadonly(i);if(isShallow(s)||isReadonly(s)||(i=toRaw(i),s=toRaw(s)),!n&&isRef(i)&&!isRef(s))return e||(i.value=s),!0}const o=n?Number(t)<e.length:Sr.hasOwn(e,t),a=Reflect.set(e,t,s,isRef(e)?e:r);return e===toRaw(r)&&(o?Sr.hasChanged(s,i)&&trigger(e,"set",t,s):trigger(e,"add",t,s)),a}deleteProperty(e,t){const s=Sr.hasOwn(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&s&&trigger(e,"delete",t,void 0),r}has(e,t){const s=Reflect.has(e,t);return Sr.isSymbol(t)&&Ur.has(t)||track(e,0,t),s}ownKeys(e){return track(e,0,Sr.isArray(e)?"length":Mr),Reflect.ownKeys(e)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Hr=new MutableReactiveHandler,Kr=new ReadonlyReactiveHandler,Vr=new MutableReactiveHandler(!0),Wr=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function createReadonlyMethod(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function createInstrumentations(e,t){const s={get(s){const r=this.__v_raw,i=toRaw(r),n=toRaw(s);e||(Sr.hasChanged(s,n)&&track(i,0,s),track(i,0,n));const{has:o}=getProto(i),a=t?toShallow:e?toReadonly:toReactive;return o.call(i,s)?a(r.get(s)):o.call(i,n)?a(r.get(n)):void(r!==i&&r.get(s))},get size(){const t=this.__v_raw;return!e&&track(toRaw(t),0,Mr),t.size},has(t){const s=this.__v_raw,r=toRaw(s),i=toRaw(t);return e||(Sr.hasChanged(t,i)&&track(r,0,t),track(r,0,i)),t===i?s.has(t):s.has(t)||s.has(i)},forEach(s,r){const i=this,n=i.__v_raw,o=toRaw(n),a=t?toShallow:e?toReadonly:toReactive;return!e&&track(o,0,Mr),n.forEach((e,t)=>s.call(r,a(e),a(t),i))}};Sr.extend(s,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(e){t||isShallow(e)||isReadonly(e)||(e=toRaw(e));const s=toRaw(this);return getProto(s).has.call(s,e)||(s.add(e),trigger(s,"add",e,e)),this},set(e,s){t||isShallow(s)||isReadonly(s)||(s=toRaw(s));const r=toRaw(this),{has:i,get:n}=getProto(r);let o=i.call(r,e);o||(e=toRaw(e),o=i.call(r,e));const a=n.call(r,e);return r.set(e,s),o?Sr.hasChanged(s,a)&&trigger(r,"set",e,s):trigger(r,"add",e,s),this},delete(e){const t=toRaw(this),{has:s,get:r}=getProto(t);let i=s.call(t,e);i||(e=toRaw(e),i=s.call(t,e)),r&&r.call(t,e);const n=t.delete(e);return i&&trigger(t,"delete",e,void 0),n},clear(){const e=toRaw(this),t=0!==e.size,s=e.clear();return t&&trigger(e,"clear",void 0,void 0),s}});return["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=function(e,t,s){return function(...r){const i=this.__v_raw,n=toRaw(i),o=Sr.isMap(n),a="entries"===e||e===Symbol.iterator&&o,c="keys"===e&&o,l=i[e](...r),p=s?toShallow:t?toReadonly:toReactive;return!t&&track(n,0,c?Dr:Mr),Sr.extend(Object.create(l),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:a?[p(e[0]),p(e[1])]:p(e),done:t}}})}}(r,e,t)}),s}function createInstrumentationGetter(e,t){const s=createInstrumentations(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Sr.hasOwn(s,r)&&r in t?s:t,r,i)}const jr={get:createInstrumentationGetter(!1,!1)},Gr={get:createInstrumentationGetter(!1,!0)},Qr={get:createInstrumentationGetter(!0,!1)},Jr={get:createInstrumentationGetter(!0,!0)},Yr=new WeakMap,Xr=new WeakMap,$r=new WeakMap,Zr=new WeakMap;function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,Hr,jr,Yr)}function readonly(e){return createReactiveObject(e,!0,Kr,Qr,$r)}function createReactiveObject(e,t,s,r,i){if(!Sr.isObject(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const n=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Sr.toRawType(o));var o;if(0===n)return e;const a=i.get(e);if(a)return a;const c=new Proxy(e,2===n?r:s);return i.set(e,c),c}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return!!e&&!!e.__v_raw}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}const toReactive=e=>Sr.isObject(e)?reactive(e):e,toReadonly=e=>Sr.isObject(e)?readonly(e):e;function isRef(e){return!!e&&!0===e.__v_isRef}function ref(e){return createRef(e,!1)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(e,t){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:toRaw(e),this._value=t?e:toReactive(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,s=this.__v_isShallow||isShallow(e)||isReadonly(e);e=s?e:toRaw(e),Sr.hasChanged(e,t)&&(this._rawValue=e,this._value=s?e:toReactive(e),this.dep.trigger())}}function unref(e){return isRef(e)?e.value:e}const zr={get:(e,t,s)=>"__v_raw"===t?e:unref(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const i=e[t];return isRef(i)&&!isRef(s)?(i.value=s,!0):Reflect.set(e,t,s,r)}};class CustomRefImpl{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Dep,{get:s,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}class ObjectRefImpl{constructor(e,t,s){this._object=e,this._key=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=toRaw(e);let r=!0,i=e;if(!Sr.isArray(e)||!Sr.isIntegerKey(String(t)))do{r=!isProxy(i)||isShallow(i)}while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=unref(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&isRef(this._raw[this._key])){const t=this._object[this._key];if(isRef(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){const s=Or.get(e);return s&&s.get(t)}(this._raw,this._key)}}class GetterRefImpl{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function propertyToRef(e,t,s){return new ObjectRefImpl(e,t,s)}class ComputedRefImpl{constructor(e,t,s){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_r-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=s}notify(){if(this.flags|=16,!(8&this.flags)&&br!==this)return batch(this,!0),!0}get value(){const e=this.dep.track();return refreshComputed(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const qr={},ei=new WeakMap;let ti;function onWatcherCleanup(e,t=!1,s=ti){if(s){let t=ei.get(s);t||ei.set(s,t=[]),t.push(e)}}function traverse(e,t=1/0,s){if(t<=0||!Sr.isObject(e)||e.__v_skip)return e;if(((s=s||new Map).get(e)||0)>=t)return e;if(s.set(e,t),t--,isRef(e))traverse(e.value,t,s);else if(Sr.isArray(e))for(let r=0;r<e.length;r++)traverse(e[r],t,s);else if(Sr.isSet(e)||Sr.isMap(e))e.forEach(e=>{traverse(e,t,s)});else if(Sr.isPlainObject(e)){for(const r in e)traverse(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&traverse(e[r],t,s)}return e}Er.ARRAY_ITERATE_KEY=Br,Er.EffectFlags={ACTIVE:1,1:"ACTIVE",RUNNING:2,2:"RUNNING",TRACKING:4,4:"TRACKING",NOTIFIED:8,8:"NOTIFIED",DIRTY:16,16:"DIRTY",ALLOW_RECURSE:32,32:"ALLOW_RECURSE",PAUSED:64,64:"PAUSED",EVALUATED:128,128:"EVALUATED"},Er.EffectScope=EffectScope,Er.ITERATE_KEY=Mr,Er.MAP_KEY_ITERATE_KEY=Dr,Er.ReactiveEffect=ReactiveEffect,Er.ReactiveFlags={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw",IS_REF:"__v_isRef"},Er.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},Er.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Er.WatchErrorCodes={WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP"},Er.computed=function(e,t,s=!1){let r,i;return Sr.isFunction(e)?r=e:(r=e.get,i=e.set),new ComputedRefImpl(r,i,s)},Er.customRef=function(e){return new CustomRefImpl(e)},Er.effect=function(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const s=new ReactiveEffect(e);t&&Sr.extend(s,t);try{s.run()}catch(e){throw s.stop(),e}const r=s.run.bind(s);return r.effect=s,r},Er.effectScope=function(e){return new EffectScope(e)},Er.enableTracking=function(){kr.push(Nr),Nr=!0},Er.getCurrentScope=getCurrentScope,Er.getCurrentWatcher=function(){return ti},Er.isProxy=isProxy,Er.isReactive=isReactive,Er.isReadonly=isReadonly,Er.isRef=isRef,Er.isShallow=isShallow,Er.markRaw=function(e){return!Sr.hasOwn(e,"__v_skip")&&Object.isExtensible(e)&&Sr.def(e,"__v_skip",!0),e},Er.onEffectCleanup=function(e,t=!1){br instanceof ReactiveEffect&&(br.cleanup=e)},Er.onScopeDispose=function(e,t=!1){Ir&&Ir.cleanups.push(e)},Er.onWatcherCleanup=onWatcherCleanup,Er.pauseTracking=pauseTracking,Er.proxyRefs=function(e){return isReactive(e)?e:new Proxy(e,zr)},Er.reactive=reactive,Er.reactiveReadArray=reactiveReadArray,Er.readonly=readonly,Er.ref=ref,Er.resetTracking=resetTracking,Er.shallowReactive=function(e){return createReactiveObject(e,!1,Vr,Gr,Xr)},Er.shallowReadArray=shallowReadArray,Er.shallowReadonly=function(e){return createReactiveObject(e,!0,Wr,Jr,Zr)},Er.shallowRef=function(e){return createRef(e,!0)},Er.stop=function(e){e.effect.stop()},Er.toRaw=toRaw,Er.toReactive=toReactive,Er.toReadonly=toReadonly,Er.toRef=function(e,t,s){return isRef(e)?e:Sr.isFunction(e)?new GetterRefImpl(e):Sr.isObject(e)&&arguments.length>1?propertyToRef(e,t,s):ref(e)},Er.toRefs=function(e){const t=Sr.isArray(e)?new Array(e.length):{};for(const s in e)t[s]=propertyToRef(e,s);return t},Er.toValue=function(e){return Sr.isFunction(e)?e():unref(e)},Er.track=track,Er.traverse=traverse,Er.trigger=trigger,Er.triggerRef=function(e){e.dep&&e.dep.trigger()},Er.unref=unref,Er.watch=function(e,t,s=Sr.EMPTY_OBJ){const{immediate:r,deep:i,once:n,scheduler:o,augmentJob:a,call:c}=s,reactiveGetter=e=>i?e:isShallow(e)||!1===i||0===i?traverse(e,1):traverse(e);let l,p,h,u,d=!1,A=!1;if(isRef(e)?(p=()=>e.value,d=isShallow(e)):isReactive(e)?(p=()=>reactiveGetter(e),d=!0):Sr.isArray(e)?(A=!0,d=e.some(e=>isReactive(e)||isShallow(e)),p=()=>e.map(e=>isRef(e)?e.value:isReactive(e)?reactiveGetter(e):Sr.isFunction(e)?c?c(e,2):e():void 0)):p=Sr.isFunction(e)?t?c?()=>c(e,2):e:()=>{if(h){pauseTracking();try{h()}finally{resetTracking()}}const t=ti;ti=l;try{return c?c(e,3,[u]):e(u)}finally{ti=t}}:Sr.NOOP,t&&i){const e=p,t=!0===i?1/0:i;p=()=>traverse(e(),t)}const m=getCurrentScope(),watchHandle=()=>{l.stop(),m&&m.active&&Sr.remove(m.effects,l)};if(n&&t){const e=t;t=(...t)=>{e(...t),watchHandle()}}let f=A?new Array(e.length).fill(qr):qr;const job=e=>{if(1&l.flags&&(l.dirty||e))if(t){const e=l.run();if(i||d||(A?e.some((e,t)=>Sr.hasChanged(e,f[t])):Sr.hasChanged(e,f))){h&&h();const s=ti;ti=l;try{const s=[e,f===qr?void 0:A&&f[0]===qr?[]:f,u];f=e,c?c(t,3,s):t(...s)}finally{ti=s}}}else l.run()};return a&&a(job),l=new ReactiveEffect(p),l.scheduler=o?()=>o(job,!1):job,u=e=>onWatcherCleanup(e,!1,l),h=l.onStop=()=>{const e=ei.get(l);if(e){if(c)c(e,4);else for(const t of e)t();ei.delete(l)}},t?r?job(!0):f=l.run():o?o(job.bind(null,!0),!0):l.run(),watchHandle.pause=l.pause.bind(l),watchHandle.resume=l.resume.bind(l),watchHandle.stop=watchHandle,watchHandle},Object.defineProperty(Cr,"__esModule",{value:!0});var si=Er,ri=A;const ii={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function callWithErrorHandling(e,t,s,r){try{return r?e(...r):e()}catch(e){handleError(e,t,s)}}function callWithAsyncErrorHandling(e,t,s,r){if(ri.isFunction(e)){const i=callWithErrorHandling(e,t,s,r);return i&&ri.isPromise(i)&&i.catch(e=>{handleError(e,t,s)}),i}if(ri.isArray(e)){const i=[];for(let n=0;n<e.length;n++)i.push(callWithAsyncErrorHandling(e[n],t,s,r));return i}}function handleError(e,t,s,r=!0){t&&t.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:n}=t&&t.appContext.config||ri.EMPTY_OBJ;if(t){let r=t.parent;const n=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${s}`;for(;r;){const t=r.ec;if(t)for(let s=0;s<t.length;s++)if(!1===t[s](e,n,o))return;r=r.parent}if(i)return si.pauseTracking(),callWithErrorHandling(i,null,10,[e,n,o]),void si.resetTracking()}!function(e,t,s,r=!0,i=!1){if(i)throw e;console.error(e)}(e,0,0,r,n)}const ni=[];let oi=-1;const ai=[];let ci=null,li=0;const pi=Promise.resolve();let hi=null;function nextTick(e){const t=hi||pi;return e?t.then(this?e.bind(this):e):t}function queueJob(e){if(!(1&e.flags)){const t=getId(e),s=ni[ni.length-1];!s||!(2&e.flags)&&t>=getId(s)?ni.push(e):ni.splice(function(e){let t=oi+1,s=ni.length;for(;t<s;){const r=t+s>>>1,i=ni[r],n=getId(i);n<e||n===e&&2&i.flags?t=r+1:s=r}return t}(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){hi||(hi=pi.then(flushJobs))}function queuePostFlushCb(e){ri.isArray(e)?ai.push(...e):ci&&-1===e.id?ci.splice(li+1,0,e):1&e.flags||(ai.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,s=oi+1){for(;s<ni.length;s++){const t=ni[s];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;ni.splice(s,1),s--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function flushPostFlushCbs(e){if(ai.length){const e=[...new Set(ai)].sort((e,t)=>getId(e)-getId(t));if(ai.length=0,ci)return void ci.push(...e);for(ci=e,li=0;li<ci.length;li++){const e=ci[li];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}ci=null,li=0}}const getId=e=>null==e.id?2&e.flags?-1:1/0:e.id;function flushJobs(e){try{for(oi=0;oi<ni.length;oi++){const e=ni[oi];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),callWithErrorHandling(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;oi<ni.length;oi++){const e=ni[oi];e&&(e.flags&=-2)}oi=-1,ni.length=0,flushPostFlushCbs(),hi=null,(ni.length||ai.length)&&flushJobs()}}let ui=null,di=null;function setCurrentRenderingInstance(e){const t=ui;return ui=e,di=e&&e.type.__scopeId||null,t}function withCtx(e,t=ui,s){if(!t)return e;if(e._n)return e;const renderFnWithContext=(...s)=>{renderFnWithContext._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t);let i;try{i=e(...s)}finally{setCurrentRenderingInstance(r),renderFnWithContext._d&&setBlockTracking(1)}return i};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function invokeDirectiveHook(e,t,s,r){const i=e.dirs,n=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];n&&(a.oldValue=n[o].value);let c=a.dir[r];c&&(si.pauseTracking(),callWithAsyncErrorHandling(c,s,8,[e.el,a,e,t]),si.resetTracking())}}function provide(e,t){if(pn){let s=pn.provides;const r=pn.parent&&pn.parent.provides;r===s&&(s=pn.provides=Object.create(r)),s[e]=t}}function inject(e,t,s=!1){const r=getCurrentInstance();if(r||Ji){let i=Ji?Ji._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&ri.isFunction(t)?t.call(r&&r.proxy):t}}const Ai=Symbol.for("v-scx"),useSSRContext=()=>inject(Ai);function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}function watch(e,t,s){return doWatch(e,t,s)}function doWatch(e,t,s=ri.EMPTY_OBJ){const{immediate:r,deep:i,flush:n,once:o}=s,a=ri.extend({},s),c=t&&r||!t&&"post"!==n;let l;if(mn)if("sync"===n){const e=useSSRContext();l=e.__watcherHandles||(e.__watcherHandles=[])}else if(!c){const watchStopHandle=()=>{};return watchStopHandle.stop=ri.NOOP,watchStopHandle.resume=ri.NOOP,watchStopHandle.pause=ri.NOOP,watchStopHandle}const p=pn;a.call=(e,t,s)=>callWithAsyncErrorHandling(e,p,t,s);let h=!1;"post"===n?a.scheduler=e=>{Zi(e,p&&p.suspense)}:"sync"!==n&&(h=!0,a.scheduler=(e,t)=>{t?e():queueJob(e)}),a.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const u=si.watch(e,t,a);return mn&&(l?l.push(u):c&&u()),u}function instanceWatch(e,t,s){const r=this.proxy,i=ri.isString(e)?e.includes(".")?createPathGetter(r,e):()=>r[e]:e.bind(r,r);let n;ri.isFunction(t)?n=t:(n=t.handler,s=t);const o=setCurrentInstance(this),a=doWatch(i,n.bind(r),s);return o(),a}function createPathGetter(e,t){const s=t.split(".");return()=>{let t=e;for(let e=0;e<s.length&&t;e++)t=t[s[e]];return t}}const mi=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||""===e.disabled),isTeleportDeferred=e=>e&&(e.defer||""===e.defer),isTargetSVG=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,isTargetMathML=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const s=e&&e.to;if(ri.isString(s)){if(t){return t(s)}return null}return s},fi={name:"Teleport",__isTeleport:!0,process(e,t,s,r,i,n,o,a,c,l){const{mc:p,pc:h,pbc:u,o:{insert:d,querySelector:A,createText:m,createComment:f}}=l,g=isTeleportDisabled(t.props);let{shapeFlag:y,children:x,dynamicChildren:C}=t;if(null==e){const e=t.el=m(""),l=t.anchor=m("");d(e,s,r),d(l,s,r);const mount=(e,t)=>{16&y&&p(x,e,t,i,n,o,a,c)},mountToTarget=()=>{const e=t.target=resolveTarget(t.props,A),s=prepareAnchor(e,t,m,d);e&&("svg"!==o&&isTargetSVG(e)?o="svg":"mathml"!==o&&isTargetMathML(e)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(e),g||(mount(e,s),updateCssVars(t,!1)))};g&&(mount(s,l),updateCssVars(t,!0)),isTeleportDeferred(t.props)?(t.el.__isMounted=!1,Zi(()=>{mountToTarget(),delete t.el.__isMounted},n)):mountToTarget()}else{if(isTeleportDeferred(t.props)&&!1===e.el.__isMounted)return void Zi(()=>{fi.process(e,t,s,r,i,n,o,a,c,l)},n);t.el=e.el,t.targetStart=e.targetStart;const p=t.anchor=e.anchor,d=t.target=e.target,m=t.targetAnchor=e.targetAnchor,f=isTeleportDisabled(e.props),y=f?s:d,x=f?p:m;if("svg"===o||isTargetSVG(d)?o="svg":("mathml"===o||isTargetMathML(d))&&(o="mathml"),C?(u(e.dynamicChildren,C,y,i,n,o,a),traverseStaticChildren(e,t,!0)):c||h(e,t,y,x,i,n,o,a,!1),g)f?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,s,p,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=resolveTarget(t.props,A);e&&moveTeleport(t,e,null,l,0)}else f&&moveTeleport(t,d,m,l,1);updateCssVars(t,g)}},remove(e,t,s,{um:r,o:{remove:i}},n){const{shapeFlag:o,children:a,anchor:c,targetStart:l,targetAnchor:p,target:h,props:u}=e;if(h&&(i(l),i(p)),n&&i(c),16&o){const e=n||!isTeleportDisabled(u);for(let i=0;i<a.length;i++){const n=a[i];r(n,t,s,e,!!n.dynamicChildren)}}},move:moveTeleport,hydrate:function(e,t,s,r,i,n,{o:{nextSibling:o,parentNode:a,querySelector:c,insert:l,createText:p}},h){function hydrateDisabledTeleport(e,t,c,l){t.anchor=h(o(e),t,a(e),s,r,i,n),t.targetStart=c,t.targetAnchor=l}const u=t.target=resolveTarget(t.props,c),d=isTeleportDisabled(t.props);if(u){const a=u._lpa||u.firstChild;if(16&t.shapeFlag)if(d)hydrateDisabledTeleport(e,t,a,a&&o(a));else{t.anchor=o(e);let c=a;for(;c;){if(c&&8===c.nodeType)if("teleport start anchor"===c.data)t.targetStart=c;else if("teleport anchor"===c.data){t.targetAnchor=c,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c=o(c)}t.targetAnchor||prepareAnchor(u,t,p,l),h(a&&o(a),t,u,s,r,i,n)}updateCssVars(t,d)}else d&&16&t.shapeFlag&&hydrateDisabledTeleport(e,t,e,o(e));return t.anchor&&o(t.anchor)}};function moveTeleport(e,t,s,{o:{insert:r},m:i},n=2){0===n&&r(e.targetAnchor,t,s);const{el:o,anchor:a,shapeFlag:c,children:l,props:p}=e,h=2===n;if(h&&r(o,t,s),(!h||isTeleportDisabled(p))&&16&c)for(let e=0;e<l.length;e++)i(l[e],t,s,2);h&&r(a,t,s)}const gi=fi;function updateCssVars(e,t){const s=e.ctx;if(s&&s.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)1===r.nodeType&&r.setAttribute("data-v-owner",s.uid),r=r.nextSibling;s.ut()}}function prepareAnchor(e,t,s,r){const i=t.targetStart=s(""),n=t.targetAnchor=s("");return i[mi]=n,e&&(r(i,e),r(n,e)),n}const yi=Symbol("_leaveCb"),xi=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _i(()=>{e.isMounted=!0}),Di(()=>{e.isUnmounting=!0}),e}const Ci=[Function,Array],Ei={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ci,onEnter:Ci,onAfterEnter:Ci,onEnterCancelled:Ci,onBeforeLeave:Ci,onLeave:Ci,onAfterLeave:Ci,onLeaveCancelled:Ci,onBeforeAppear:Ci,onAppear:Ci,onAfterAppear:Ci,onAppearCancelled:Ci},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t};function findNonCommentChild(e){let t=e[0];if(e.length>1)for(const s of e)if(s.type!==sn){t=s;break}return t}const Si={name:"BaseTransition",props:Ei,setup(e,{slots:t}){const s=getCurrentInstance(),r=useTransitionState();return()=>{const i=t.default&&getTransitionRawChildren(t.default(),!0);if(!i||!i.length)return;const n=findNonCommentChild(i),o=si.toRaw(e),{mode:a}=o;if(r.isLeaving)return emptyPlaceholder(n);const c=getInnerChild$1(n);if(!c)return emptyPlaceholder(n);let l=resolveTransitionHooks(c,o,r,s,e=>l=e);c.type!==sn&&setTransitionHooks(c,l);let p=s.subTree&&getInnerChild$1(s.subTree);if(p&&p.type!==sn&&!isSameVNodeType(p,c)&&recursiveGetSubtree(s).type!==sn){let e=resolveTransitionHooks(p,o,r,s);if(setTransitionHooks(p,e),"out-in"===a&&c.type!==sn)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&s.job.flags||s.update(),delete e.afterLeave,p=void 0},emptyPlaceholder(n);"in-out"===a&&c.type!==sn?e.delayLeave=(e,t,s)=>{getLeavingNodesForType(r,p)[String(p.key)]=p,e[yi]=()=>{t(),e[yi]=void 0,delete l.delayedLeave,p=void 0},l.delayedLeave=()=>{s(),delete l.delayedLeave,p=void 0}}:p=void 0}else p&&(p=void 0);return n}}};function getLeavingNodesForType(e,t){const{leavingVNodes:s}=e;let r=s.get(t.type);return r||(r=Object.create(null),s.set(t.type,r)),r}function resolveTransitionHooks(e,t,s,r,i){const{appear:n,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:p,onEnterCancelled:h,onBeforeLeave:u,onLeave:d,onAfterLeave:A,onLeaveCancelled:m,onBeforeAppear:f,onAppear:g,onAfterAppear:y,onAppearCancelled:x}=t,C=String(e.key),E=getLeavingNodesForType(s,e),callHook=(e,t)=>{e&&callWithAsyncErrorHandling(e,r,9,t)},callAsyncHook=(e,t)=>{const s=t[1];callHook(e,t),ri.isArray(e)?e.every(e=>e.length<=1)&&s():e.length<=1&&s()},S={mode:o,persisted:a,beforeEnter(t){let r=c;if(!s.isMounted){if(!n)return;r=f||c}t[yi]&&t[yi](!0);const i=E[C];i&&isSameVNodeType(e,i)&&i.el[yi]&&i.el[yi](),callHook(r,[t])},enter(e){let t=l,r=p,i=h;if(!s.isMounted){if(!n)return;t=g||l,r=y||p,i=x||h}let o=!1;const a=e[xi]=t=>{o||(o=!0,callHook(t?i:r,[e]),S.delayedLeave&&S.delayedLeave(),e[xi]=void 0)};t?callAsyncHook(t,[e,a]):a()},leave(t,r){const i=String(e.key);if(t[xi]&&t[xi](!0),s.isUnmounting)return r();callHook(u,[t]);let n=!1;const o=t[yi]=s=>{n||(n=!0,r(),callHook(s?m:A,[t]),t[yi]=void 0,E[i]===e&&delete E[i])};E[i]=e,d?callAsyncHook(d,[t,o]):o()},clone(e){const n=resolveTransitionHooks(e,t,s,r,i);return i&&i(n),n}};return S}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(16&t)return s[0];if(32&t&&ri.isFunction(s.default))return s.default()}}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,s){let r=[],i=0;for(let n=0;n<e.length;n++){let o=e[n];const a=null==s?o.key:String(s)+String(null!=o.key?o.key:n);o.type===en?(128&o.patchFlag&&i++,r=r.concat(getTransitionRawChildren(o.children,t,a))):(t||o.type!==sn)&&r.push(null!=a?cloneVNode(o,{key:a}):o)}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function defineComponent(e,t){return ri.isFunction(e)?(()=>ri.extend({name:e.name},t,{setup:e}))():e}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ii=new WeakMap;function setRef(e,t,s,r,i=!1){if(ri.isArray(e))return void e.forEach((e,n)=>setRef(e,t&&(ri.isArray(t)?t[n]:t),s,r,i));if(isAsyncWrapper(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&setRef(e,t,s,r.component.subTree));const n=4&r.shapeFlag?getComponentPublicInstance(r.component):r.el,o=i?null:n,{i:a,r:c}=e,l=t&&t.r,p=a.refs===ri.EMPTY_OBJ?a.refs={}:a.refs,h=a.setupState,u=si.toRaw(h),d=h===ri.EMPTY_OBJ?ri.NO:e=>ri.hasOwn(u,e);if(null!=l&&l!==c)if(invalidatePendingSetRef(t),ri.isString(l))p[l]=null,d(l)&&(h[l]=null);else if(si.isRef(l)){l.value=null;const e=t;e.k&&(p[e.k]=null)}if(ri.isFunction(c))callWithErrorHandling(c,a,12,[o,p]);else{const t=ri.isString(c),r=si.isRef(c);if(t||r){const doSet=()=>{if(e.f){const s=t?d(c)?h[c]:p[c]:c.value;if(i)ri.isArray(s)&&ri.remove(s,n);else if(ri.isArray(s))s.includes(n)||s.push(n);else if(t)p[c]=[n],d(c)&&(h[c]=p[c]);else{const t=[n];c.value=t,e.k&&(p[e.k]=t)}}else t?(p[c]=o,d(c)&&(h[c]=o)):r&&(c.value=o,e.k&&(p[e.k]=o))};if(o){const job=()=>{doSet(),Ii.delete(e)};job.id=-1,Ii.set(e,job),Zi(job,s)}else invalidatePendingSetRef(e),doSet()}}}function invalidatePendingSetRef(e){const t=Ii.get(e);t&&(t.flags|=8,Ii.delete(e))}let bi=!1;const logMismatchError=()=>{bi||(console.error("Hydration completed but contains mismatches."),bi=!0)},getContainerType=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},isComment=e=>8===e.nodeType;function createHydrationFunctions(e){const{mt:t,p:s,o:{patchProp:r,createText:i,nextSibling:n,parentNode:o,remove:a,insert:c,createComment:l}}=e,hydrateNode=(s,r,a,l,p,h=!1)=>{h=h||!!r.dynamicChildren;const u=isComment(s)&&"["===s.data,onMismatch=()=>handleMismatch(s,r,a,l,p,u),{type:d,ref:A,shapeFlag:m,patchFlag:f}=r;let g=s.nodeType;r.el=s,-2===f&&(h=!1,r.dynamicChildren=null);let y=null;switch(d){case tn:3!==g?""===r.children?(c(r.el=i(""),o(s),s),y=s):y=onMismatch():(s.data!==r.children&&(logMismatchError(),s.data=r.children),y=n(s));break;case sn:isTemplateNode(s)?(y=n(s),replaceNode(r.el=s.content.firstChild,s,a)):y=8!==g||u?onMismatch():n(s);break;case rn:if(u&&(g=(s=n(s)).nodeType),1===g||3===g){y=s;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===y.nodeType?y.outerHTML:y.data),t===r.staticCount-1&&(r.anchor=y),y=n(y);return u?n(y):y}onMismatch();break;case en:y=u?hydrateFragment(s,r,a,l,p,h):onMismatch();break;default:if(1&m)y=1===g&&r.type.toLowerCase()===s.tagName.toLowerCase()||isTemplateNode(s)?hydrateElement(s,r,a,l,p,h):onMismatch();else if(6&m){r.slotScopeIds=p;const e=o(s);if(y=u?locateClosingAnchor(s):isComment(s)&&"teleport start"===s.data?locateClosingAnchor(s,s.data,"teleport end"):n(s),t(r,e,null,a,l,getContainerType(e),h),isAsyncWrapper(r)&&!r.type.__asyncResolved){let t;u?(t=createVNode(en),t.anchor=y?y.previousSibling:e.lastChild):t=3===s.nodeType?createTextVNode(""):createVNode("div"),t.el=s,r.component.subTree=t}}else 64&m?y=8!==g?onMismatch():r.type.hydrate(s,r,a,l,p,h,e,hydrateChildren):128&m&&(y=r.type.hydrate(s,r,a,l,getContainerType(o(s)),p,h,e,hydrateNode))}return null!=A&&setRef(A,null,l,r),y},hydrateElement=(e,t,s,i,n,o)=>{o=o||!!t.dynamicChildren;const{type:c,props:l,patchFlag:p,shapeFlag:h,dirs:u,transition:d}=t,A="input"===c||"option"===c;if(A||-1!==p){u&&invokeDirectiveHook(t,null,s,"created");let c,m=!1;if(isTemplateNode(e)){m=needTransition(null,d)&&s&&s.vnode.props&&s.vnode.props.appear;const r=e.content.firstChild;if(m){const e=r.getAttribute("class");e&&(r.$cls=e),d.beforeEnter(r)}replaceNode(r,e,s),t.el=e=r}if(16&h&&(!l||!l.innerHTML&&!l.textContent)){let r=hydrateChildren(e.firstChild,t,e,s,i,n,o);for(;r;){isMismatchAllowed(e,1)||logMismatchError();const t=r;r=r.nextSibling,a(t)}}else if(8&h){let s=t.children;"\n"!==s[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(s=s.slice(1));const{textContent:r}=e;r!==s&&r!==s.replace(/\r\n|\r/g,"\n")&&(isMismatchAllowed(e,0)||logMismatchError(),e.textContent=t.children)}if(l)if(A||!o||48&p){const t=e.tagName.includes("-");for(const i in l)(A&&(i.endsWith("value")||"indeterminate"===i)||ri.isOn(i)&&!ri.isReservedProp(i)||"."===i[0]||t&&!ri.isReservedProp(i))&&r(e,i,null,l[i],void 0,s)}else if(l.onClick)r(e,"onClick",null,l.onClick,void 0,s);else if(4&p&&si.isReactive(l.style))for(const e in l.style)l.style[e];(c=l&&l.onVnodeBeforeMount)&&invokeVNodeHook(c,s,t),u&&invokeDirectiveHook(t,null,s,"beforeMount"),((c=l&&l.onVnodeMounted)||u||m)&&queueEffectWithSuspense(()=>{c&&invokeVNodeHook(c,s,t),m&&d.enter(e),u&&invokeDirectiveHook(t,null,s,"mounted")},i)}return e.nextSibling},hydrateChildren=(e,t,r,o,a,l,p)=>{p=p||!!t.dynamicChildren;const h=t.children,u=h.length;for(let t=0;t<u;t++){const d=p?h[t]:h[t]=normalizeVNode(h[t]),A=d.type===tn;e?(A&&!p&&t+1<u&&normalizeVNode(h[t+1]).type===tn&&(c(i(e.data.slice(d.children.length)),r,n(e)),e.data=d.children),e=hydrateNode(e,d,o,a,l,p)):A&&!d.children?c(d.el=i(""),r):(isMismatchAllowed(r,1)||logMismatchError(),s(null,d,r,null,o,a,getContainerType(r),l))}return e},hydrateFragment=(e,t,s,r,i,a)=>{const{slotScopeIds:p}=t;p&&(i=i?i.concat(p):p);const h=o(e),u=hydrateChildren(n(e),t,h,s,r,i,a);return u&&isComment(u)&&"]"===u.data?n(t.anchor=u):(logMismatchError(),c(t.anchor=l("]"),h,u),u)},handleMismatch=(e,t,r,i,c,l)=>{if(isMismatchAllowed(e.parentElement,1)||logMismatchError(),t.el=null,l){const t=locateClosingAnchor(e);for(;;){const s=n(e);if(!s||s===t)break;a(s)}}const p=n(e),h=o(e);return a(e),s(null,t,h,p,r,i,getContainerType(h),c),r&&(r.vnode.el=t.el,updateHOCHostEl(r,t.el)),p},locateClosingAnchor=(e,t="[",s="]")=>{let r=0;for(;e;)if((e=n(e))&&isComment(e)&&(e.data===t&&r++,e.data===s)){if(0===r)return n(e);r--}return e},replaceNode=(e,t,s)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let i=s;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},isTemplateNode=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return s(null,e,t),flushPostFlushCbs(),void(t._vnode=e);hydrateNode(t.firstChild,e,null,null,null),flushPostFlushCbs(),t._vnode=e},hydrateNode]}const Ti="data-allow-mismatch",Pi={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Ti);)e=e.parentElement;const s=e&&e.getAttribute(Ti);if(null==s)return!1;if(""===s)return!0;{const e=s.split(",");return!(0!==t||!e.includes("children"))||e.includes(Pi[t])}}const vi=ri.getGlobalThis().requestIdleCallback||(e=>setTimeout(e,1)),wi=ri.getGlobalThis().cancelIdleCallback||(e=>clearTimeout(e));const isAsyncWrapper=e=>!!e.type.__asyncLoader;function createInnerComp(e,t){const{ref:s,props:r,children:i,ce:n}=t.vnode,o=createVNode(e,r,i);return o.ref=s,o.ce=n,delete t.vnode.ce,o}const isKeepAlive=e=>e.type.__isKeepAlive,Ni={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const s=getCurrentInstance(),r=s.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,n=new Set;let o=null;const a=s.suspense,{renderer:{p:c,m:l,um:p,o:{createElement:h}}}=r,u=h("div");function unmount(e){resetShapeFlag(e),p(e,s,a,!0)}function pruneCache(e){i.forEach((t,s)=>{const r=getComponentName(isAsyncWrapper(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&pruneCacheEntry(s)})}function pruneCacheEntry(e){const t=i.get(e);!t||o&&isSameVNodeType(t,o)?o&&resetShapeFlag(o):unmount(t),i.delete(e),n.delete(e)}r.activate=(e,t,s,r,i)=>{const n=e.component;l(e,t,s,0,a),c(n.vnode,e,t,s,n,a,r,e.slotScopeIds,i),Zi(()=>{n.isDeactivated=!1,n.a&&ri.invokeArrayFns(n.a);const t=e.props&&e.props.onVnodeMounted;t&&invokeVNodeHook(t,n.parent,e)},a)},r.deactivate=e=>{const t=e.component;invalidateMount(t.m),invalidateMount(t.a),l(e,u,null,1,a),Zi(()=>{t.da&&ri.invokeArrayFns(t.da);const s=e.props&&e.props.onVnodeUnmounted;s&&invokeVNodeHook(s,t.parent,e),t.isDeactivated=!0},a)},watch(()=>[e.include,e.exclude],([e,t])=>{e&&pruneCache(t=>matches(e,t)),t&&pruneCache(e=>!matches(t,e))},{flush:"post",deep:!0});let d=null;const cacheSubtree=()=>{null!=d&&(isSuspense(s.subTree.type)?Zi(()=>{i.set(d,getInnerChild(s.subTree))},s.subTree.suspense):i.set(d,getInnerChild(s.subTree)))};return _i(cacheSubtree),Mi(cacheSubtree),Di(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=s,i=getInnerChild(t);if(e.type===i.type&&e.key===i.key){resetShapeFlag(i);const e=i.component.da;return void(e&&Zi(e,r))}unmount(e)})}),()=>{if(d=null,!t.default)return o=null;const s=t.default(),r=s[0];if(s.length>1)return o=null,s;if(!(isVNode(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return o=null,r;let a=getInnerChild(r);if(a.type===sn)return o=null,a;const c=a.type,l=getComponentName(isAsyncWrapper(a)?a.type.__asyncResolved||{}:c),{include:p,exclude:h,max:u}=e;if(p&&(!l||!matches(p,l))||h&&l&&matches(h,l))return a.shapeFlag&=-257,o=a,r;const A=null==a.key?c:a.key,m=i.get(A);return a.el&&(a=cloneVNode(a),128&r.shapeFlag&&(r.ssContent=a)),d=A,m?(a.el=m.el,a.component=m.component,a.transition&&setTransitionHooks(a,a.transition),a.shapeFlag|=512,n.delete(A),n.add(A)):(n.add(A),u&&n.size>parseInt(u,10)&&pruneCacheEntry(n.values().next().value)),a.shapeFlag|=256,o=a,isSuspense(r.type)?r:a}}};function matches(e,t){return ri.isArray(e)?e.some(e=>matches(e,t)):ri.isString(e)?e.split(",").includes(t):!!ri.isRegExp(e)&&(e.lastIndex=0,e.test(t))}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,s=pn){const r=e.__wdc||(e.__wdc=()=>{let t=s;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(injectHook(t,r,s),s){let e=s.parent;for(;e&&e.parent;)isKeepAlive(e.parent.vnode)&&injectToKeepAliveRoot(r,t,s,e),e=e.parent}}function injectToKeepAliveRoot(e,t,s,r){const i=injectHook(t,e,r,!0);Bi(()=>{ri.remove(r[t],i)},s)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return 128&e.shapeFlag?e.ssContent:e}function injectHook(e,t,s=pn,r=!1){if(s){const i=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...r)=>{si.pauseTracking();const i=setCurrentInstance(s),n=callWithAsyncErrorHandling(t,s,e,r);return i(),si.resetTracking(),n});return r?i.unshift(n):i.push(n),n}}const createHook=e=>(t,s=pn)=>{mn&&"sp"!==e||injectHook(e,(...e)=>t(...e),s)},ki=createHook("bm"),_i=createHook("m"),Oi=createHook("bu"),Mi=createHook("u"),Di=createHook("bum"),Bi=createHook("um"),Li=createHook("sp"),Ri=createHook("rtg"),Fi=createHook("rtc");function onErrorCaptured(e,t=pn){injectHook("ec",e,t)}const Ui="components";const Hi=Symbol.for("v-ndc");function resolveAsset(e,t,s=!0,r=!1){const i=ui||pn;if(i){const s=i.type;if(e===Ui){const e=getComponentName(s,!1);if(e&&(e===t||e===ri.camelize(t)||e===ri.capitalize(ri.camelize(t))))return s}const n=resolve(i[e]||s[e],t)||resolve(i.appContext[e],t);return!n&&r?s:n}}function resolve(e,t){return e&&(e[t]||e[ri.camelize(t)]||e[ri.capitalize(ri.camelize(t))])}function ensureValidVNode(e){return e.some(e=>!isVNode(e)||e.type!==sn&&!(e.type===en&&!ensureValidVNode(e.children)))?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,Ki=ri.extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==ri.EMPTY_OBJ&&!e.__isScriptSetup&&ri.hasOwn(e,t),Vi={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:s,setupState:r,data:i,props:n,accessCache:o,type:a,appContext:c}=e;if("$"!==t[0]){const e=o[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return i[t];case 4:return s[t];case 3:return n[t]}else{if(hasSetupBinding(r,t))return o[t]=1,r[t];if(i!==ri.EMPTY_OBJ&&ri.hasOwn(i,t))return o[t]=2,i[t];if(ri.hasOwn(n,t))return o[t]=3,n[t];if(s!==ri.EMPTY_OBJ&&ri.hasOwn(s,t))return o[t]=4,s[t];ji&&(o[t]=0)}}const l=Ki[t];let p,h;return l?("$attrs"===t&&si.track(e.attrs,"get",""),l(e)):(p=a.__cssModules)&&(p=p[t])?p:s!==ri.EMPTY_OBJ&&ri.hasOwn(s,t)?(o[t]=4,s[t]):(h=c.config.globalProperties,ri.hasOwn(h,t)?h[t]:void 0)},set({_:e},t,s){const{data:r,setupState:i,ctx:n}=e;return hasSetupBinding(i,t)?(i[t]=s,!0):r!==ri.EMPTY_OBJ&&ri.hasOwn(r,t)?(r[t]=s,!0):!ri.hasOwn(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(n[t]=s,!0))},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:i,props:n,type:o}},a){let c;return!!(s[a]||e!==ri.EMPTY_OBJ&&"$"!==a[0]&&ri.hasOwn(e,a)||hasSetupBinding(t,a)||ri.hasOwn(n,a)||ri.hasOwn(r,a)||ri.hasOwn(Ki,a)||ri.hasOwn(i.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(e,t,s){return null!=s.get?e._.accessCache[t]=0:ri.hasOwn(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}},Wi=ri.extend({},Vi,{get(e,t){if(t!==Symbol.unscopables)return Vi.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!ri.isGloballyAllowed(t)});function getContext(e){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(e){return ri.isArray(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let ji=!0;function applyOptions(e){const t=resolveMergedOptions(e),s=e.proxy,r=e.ctx;ji=!1,t.beforeCreate&&callHook(t.beforeCreate,e,"bc");const{data:i,computed:n,methods:o,watch:a,provide:c,inject:l,created:p,beforeMount:h,mounted:u,beforeUpdate:d,updated:A,activated:m,deactivated:f,beforeDestroy:g,beforeUnmount:y,destroyed:x,unmounted:C,render:E,renderTracked:S,renderTriggered:I,errorCaptured:b,serverPrefetch:T,expose:P,inheritAttrs:v,components:w,directives:N,filters:k}=t;if(l&&function(e,t){ri.isArray(e)&&(e=normalizeInject(e));for(const s in e){const r=e[s];let i;i=ri.isObject(r)?"default"in r?inject(r.from||s,r.default,!0):inject(r.from||s):inject(r),si.isRef(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[s]=i}}(l,r,null),o)for(const e in o){const t=o[e];ri.isFunction(t)&&(r[e]=t.bind(s))}if(i){const t=i.call(s,s);ri.isObject(t)&&(e.data=si.reactive(t))}if(ji=!0,n)for(const e in n){const t=n[e],i=ri.isFunction(t)?t.bind(s,s):ri.isFunction(t.get)?t.get.bind(s,s):ri.NOOP,o=!ri.isFunction(t)&&ri.isFunction(t.set)?t.set.bind(s):ri.NOOP,a=computed({get:i,set:o});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)createWatcher(a[e],r,s,e);if(c){const e=ri.isFunction(c)?c.call(s):c;Reflect.ownKeys(e).forEach(t=>{provide(t,e[t])})}function registerLifecycleHook(e,t){ri.isArray(t)?t.forEach(t=>e(t.bind(s))):t&&e(t.bind(s))}if(p&&callHook(p,e,"c"),registerLifecycleHook(ki,h),registerLifecycleHook(_i,u),registerLifecycleHook(Oi,d),registerLifecycleHook(Mi,A),registerLifecycleHook(onActivated,m),registerLifecycleHook(onDeactivated,f),registerLifecycleHook(onErrorCaptured,b),registerLifecycleHook(Fi,S),registerLifecycleHook(Ri,I),registerLifecycleHook(Di,y),registerLifecycleHook(Bi,C),registerLifecycleHook(Li,T),ri.isArray(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach(e=>{Object.defineProperty(t,e,{get:()=>s[e],set:t=>s[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===ri.NOOP&&(e.render=E),null!=v&&(e.inheritAttrs=v),w&&(e.components=w),N&&(e.directives=N),T&&markAsyncBoundary(e)}function callHook(e,t,s){callWithAsyncErrorHandling(ri.isArray(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,s)}function createWatcher(e,t,s,r){let i=r.includes(".")?createPathGetter(s,r):()=>s[r];if(ri.isString(e)){const s=t[e];ri.isFunction(s)&&watch(i,s)}else if(ri.isFunction(e))watch(i,e.bind(s));else if(ri.isObject(e))if(ri.isArray(e))e.forEach(e=>createWatcher(e,t,s,r));else{const r=ri.isFunction(e.handler)?e.handler.bind(s):t[e.handler];ri.isFunction(r)&&watch(i,r,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:i,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,a=n.get(t);let c;return a?c=a:i.length||s||r?(c={},i.length&&i.forEach(e=>mergeOptions(c,e,o,!0)),mergeOptions(c,t,o)):c=t,ri.isObject(t)&&n.set(t,c),c}function mergeOptions(e,t,s,r=!1){const{mixins:i,extends:n}=t;n&&mergeOptions(e,n,s,!0),i&&i.forEach(t=>mergeOptions(e,t,s,!0));for(const i in t)if(r&&"expose"===i);else{const r=Gi[i]||s&&s[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Gi={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:function(e,t){if(!e)return t;if(!t)return e;const s=ri.extend(Object.create(null),e);for(const r in t)s[r]=mergeAsArray(e[r],t[r]);return s},provide:mergeDataFn,inject:function(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}};function mergeDataFn(e,t){return t?e?function(){return ri.extend(ri.isFunction(e)?e.call(this,this):e,ri.isFunction(t)?t.call(this,this):t)}:t:e}function normalizeInject(e){if(ri.isArray(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?ri.extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?ri.isArray(e)&&ri.isArray(t)?[...new Set([...e,...t])]:ri.extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(null!=t?t:{})):t}function createAppContext(){return{app:null,config:{isNativeTag:ri.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qi=0;function createAppAPI(e,t){return function(s,r=null){ri.isFunction(s)||(s=ri.extend({},s)),null==r||ri.isObject(r)||(r=null);const i=createAppContext(),n=new WeakSet,o=[];let a=!1;const c=i.app={_uid:Qi++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:gn,get config(){return i.config},set config(e){},use:(e,...t)=>(n.has(e)||(e&&ri.isFunction(e.install)?(n.add(e),e.install(c,...t)):ri.isFunction(e)&&(n.add(e),e(c,...t))),c),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),c),component:(e,t)=>t?(i.components[e]=t,c):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,c):i.directives[e],mount(n,o,l){if(!a){const p=c._ceVNode||createVNode(s,r);return p.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),o&&t?t(p,n):e(p,n,l),a=!0,c._container=n,n.__vue_app__=c,getComponentPublicInstance(p.component)}},onUnmount(e){o.push(e)},unmount(){a&&(callWithAsyncErrorHandling(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,c),runWithContext(e){const t=Ji;Ji=c;try{return e()}finally{Ji=t}}};return c}}let Ji=null;const getModelModifiers=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${ri.camelize(t)}Modifiers`]||e[`${ri.hyphenate(t)}Modifiers`];function emit(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||ri.EMPTY_OBJ;let i=s;const n=t.startsWith("update:"),o=n&&getModelModifiers(r,t.slice(7));let a;o&&(o.trim&&(i=s.map(e=>ri.isString(e)?e.trim():e)),o.number&&(i=s.map(ri.looseToNumber)));let c=r[a=ri.toHandlerKey(t)]||r[a=ri.toHandlerKey(ri.camelize(t))];!c&&n&&(c=r[a=ri.toHandlerKey(ri.hyphenate(t))]),c&&callWithAsyncErrorHandling(c,e,6,i);const l=r[a+"Once"];if(l){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,callWithAsyncErrorHandling(l,e,6,i)}}const Yi=new WeakMap;function normalizeEmitsOptions(e,t,s=!1){const r=s?Yi:t.emitsCache,i=r.get(e);if(void 0!==i)return i;const n=e.emits;let o={},a=!1;if(!ri.isFunction(e)){const extendEmits=e=>{const s=normalizeEmitsOptions(e,t,!0);s&&(a=!0,ri.extend(o,s))};!s&&t.mixins.length&&t.mixins.forEach(extendEmits),e.extends&&extendEmits(e.extends),e.mixins&&e.mixins.forEach(extendEmits)}return n||a?(ri.isArray(n)?n.forEach(e=>o[e]=null):ri.extend(o,n),ri.isObject(e)&&r.set(e,o),o):(ri.isObject(e)&&r.set(e,null),null)}function isEmitListener(e,t){return!(!e||!ri.isOn(t))&&(t=t.slice(2).replace(/Once$/,""),ri.hasOwn(e,t[0].toLowerCase()+t.slice(1))||ri.hasOwn(e,ri.hyphenate(t))||ri.hasOwn(e,t))}function renderComponentRoot(e){const{type:t,vnode:s,proxy:r,withProxy:i,propsOptions:[n],slots:o,attrs:a,emit:c,render:l,renderCache:p,props:h,data:u,setupState:d,ctx:A,inheritAttrs:m}=e,f=setCurrentRenderingInstance(e);let g,y;try{if(4&s.shapeFlag){const e=i||r,t=e;g=normalizeVNode(l.call(t,e,p,h,d,u,A)),y=a}else{const e=t;0,g=normalizeVNode(e.length>1?e(h,{attrs:a,slots:o,emit:c}):e(h,null)),y=t.props?a:getFunctionalFallthrough(a)}}catch(t){nn.length=0,handleError(t,e,1),g=createVNode(sn)}let x=g;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=x;e.length&&7&t&&(n&&e.some(ri.isModelListener)&&(y=filterModelListeners(y,n)),x=cloneVNode(x,y,!1,!0))}return s.dirs&&(x=cloneVNode(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(s.dirs):s.dirs),s.transition&&setTransitionHooks(x,s.transition),g=x,setCurrentRenderingInstance(f),g}const getFunctionalFallthrough=e=>{let t;for(const s in e)("class"===s||"style"===s||ri.isOn(s))&&((t||(t={}))[s]=e[s]);return t},filterModelListeners=(e,t)=>{const s={};for(const r in e)ri.isModelListener(r)&&r.slice(9)in t||(s[r]=e[r]);return s};function hasPropsChanged(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const n=r[i];if(t[n]!==e[n]&&!isEmitListener(s,n))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=s,t=t.parent}}const Xi={},createInternalObject=()=>Object.create(Xi),isInternalObject=e=>Object.getPrototypeOf(e)===Xi;function setFullProps(e,t,s,r){const[i,n]=e.propsOptions;let o,a=!1;if(t)for(let c in t){if(ri.isReservedProp(c))continue;const l=t[c];let p;i&&ri.hasOwn(i,p=ri.camelize(c))?n&&n.includes(p)?(o||(o={}))[p]=l:s[p]=l:isEmitListener(e.emitsOptions,c)||c in r&&l===r[c]||(r[c]=l,a=!0)}if(n){const t=si.toRaw(s),r=o||ri.EMPTY_OBJ;for(let o=0;o<n.length;o++){const a=n[o];s[a]=resolvePropValue(i,t,a,r[a],e,!ri.hasOwn(r,a))}}return a}function resolvePropValue(e,t,s,r,i,n){const o=e[s];if(null!=o){const e=ri.hasOwn(o,"default");if(e&&void 0===r){const e=o.default;if(o.type!==Function&&!o.skipFactory&&ri.isFunction(e)){const{propsDefaults:n}=i;if(s in n)r=n[s];else{const o=setCurrentInstance(i);r=n[s]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(s,r)}o[0]&&(n&&!e?r=!1:!o[1]||""!==r&&r!==ri.hyphenate(s)||(r=!0))}return r}const $i=new WeakMap;function normalizePropsOptions(e,t,s=!1){const r=s?$i:t.propsCache,i=r.get(e);if(i)return i;const n=e.props,o={},a=[];let c=!1;if(!ri.isFunction(e)){const extendProps=e=>{c=!0;const[s,r]=normalizePropsOptions(e,t,!0);ri.extend(o,s),r&&a.push(...r)};!s&&t.mixins.length&&t.mixins.forEach(extendProps),e.extends&&extendProps(e.extends),e.mixins&&e.mixins.forEach(extendProps)}if(!n&&!c)return ri.isObject(e)&&r.set(e,ri.EMPTY_ARR),ri.EMPTY_ARR;if(ri.isArray(n))for(let e=0;e<n.length;e++){const t=ri.camelize(n[e]);validatePropName(t)&&(o[t]=ri.EMPTY_OBJ)}else if(n)for(const e in n){const t=ri.camelize(e);if(validatePropName(t)){const s=n[e],r=o[t]=ri.isArray(s)||ri.isFunction(s)?{type:s}:ri.extend({},s),i=r.type;let c=!1,l=!0;if(ri.isArray(i))for(let e=0;e<i.length;++e){const t=i[e],s=ri.isFunction(t)&&t.name;if("Boolean"===s){c=!0;break}"String"===s&&(l=!1)}else c=ri.isFunction(i)&&"Boolean"===i.name;r[0]=c,r[1]=l,(c||ri.hasOwn(r,"default"))&&a.push(t)}}const l=[o,a];return ri.isObject(e)&&r.set(e,l),l}function validatePropName(e){return"$"!==e[0]&&!ri.isReservedProp(e)}const isInternalKey=e=>"_"===e||"_ctx"===e||"$stable"===e,normalizeSlotValue=e=>ri.isArray(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot=(e,t,s)=>{if(t._n)return t;const r=withCtx((...e)=>normalizeSlotValue(t(...e)),s);return r._c=!1,r},normalizeObjectSlots=(e,t,s)=>{const r=e._ctx;for(const s in e){if(isInternalKey(s))continue;const i=e[s];if(ri.isFunction(i))t[s]=normalizeSlot(0,i,r);else if(null!=i){const e=normalizeSlotValue(i);t[s]=()=>e}}},normalizeVNodeSlots=(e,t)=>{const s=normalizeSlotValue(t);e.slots.default=()=>s},assignSlots=(e,t,s)=>{for(const r in t)!s&&isInternalKey(r)||(e[r]=t[r])},Zi=queueEffectWithSuspense;function baseCreateRenderer(e,t){ri.getGlobalThis().__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:n,createText:o,createComment:a,setText:c,setElementText:l,parentNode:p,nextSibling:h,setScopeId:u=ri.NOOP,insertStaticContent:d}=e,patch=(e,t,s,r=null,i=null,n=null,o=void 0,a=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!isSameVNodeType(e,t)&&(r=getNextHostNode(e),unmount(e,i,n,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:p,shapeFlag:h}=t;switch(l){case tn:processText(e,t,s,r);break;case sn:processCommentNode(e,t,s,r);break;case rn:null==e&&mountStaticNode(t,s,r,o);break;case en:processFragment(e,t,s,r,i,n,o,a,c);break;default:1&h?processElement(e,t,s,r,i,n,o,a,c):6&h?processComponent(e,t,s,r,i,n,o,a,c):(64&h||128&h)&&l.process(e,t,s,r,i,n,o,a,c,m)}null!=p&&i?setRef(p,e&&e.ref,n,t||e,!t):null==p&&e&&null!=e.ref&&setRef(e.ref,null,n,e,!0)},processText=(e,t,r,i)=>{if(null==e)s(t.el=o(t.children),r,i);else{const s=t.el=e.el;t.children!==e.children&&c(s,t.children)}},processCommentNode=(e,t,r,i)=>{null==e?s(t.el=a(t.children||""),r,i):t.el=e.el},mountStaticNode=(e,t,s,r)=>{[e.el,e.anchor]=d(e.children,t,s,r,e.el,e.anchor)},processElement=(e,t,s,r,i,n,o,a,c)=>{if("svg"===t.type?o="svg":"math"===t.type&&(o="mathml"),null==e)mountElement(t,s,r,i,n,o,a,c);else{const s=e.el&&e.el._isVueCE?e.el:null;try{s&&s._beginPatch(),patchElement(e,t,i,n,o,a,c)}finally{s&&s._endPatch()}}},mountElement=(e,t,r,o,a,c,p,h)=>{let u,d;const{props:A,shapeFlag:m,transition:f,dirs:g}=e;if(u=e.el=n(e.type,c,A&&A.is,A),8&m?l(u,e.children):16&m&&mountChildren(e.children,u,null,o,a,resolveChildrenNamespace(e,c),p,h),g&&invokeDirectiveHook(e,null,o,"created"),setScopeId(u,e,e.scopeId,p,o),A){for(const e in A)"value"===e||ri.isReservedProp(e)||i(u,e,null,A[e],c,o);"value"in A&&i(u,"value",null,A.value,c),(d=A.onVnodeBeforeMount)&&invokeVNodeHook(d,o,e)}g&&invokeDirectiveHook(e,null,o,"beforeMount");const y=needTransition(a,f);y&&f.beforeEnter(u),s(u,t,r),((d=A&&A.onVnodeMounted)||y||g)&&Zi(()=>{d&&invokeVNodeHook(d,o,e),y&&f.enter(u),g&&invokeDirectiveHook(e,null,o,"mounted")},a)},setScopeId=(e,t,s,r,i)=>{if(s&&u(e,s),r)for(let t=0;t<r.length;t++)u(e,r[t]);if(i){let s=i.subTree;if(t===s||isSuspense(s.type)&&(s.ssContent===t||s.ssFallback===t)){const t=i.vnode;setScopeId(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},mountChildren=(e,t,s,r,i,n,o,a,c=0)=>{for(let l=c;l<e.length;l++){const c=e[l]=a?cloneIfMounted(e[l]):normalizeVNode(e[l]);patch(null,c,t,s,r,i,n,o,a)}},patchElement=(e,t,s,r,n,o,a)=>{const c=t.el=e.el;let{patchFlag:p,dynamicChildren:h,dirs:u}=t;p|=16&e.patchFlag;const d=e.props||ri.EMPTY_OBJ,A=t.props||ri.EMPTY_OBJ;let m;if(s&&toggleRecurse(s,!1),(m=A.onVnodeBeforeUpdate)&&invokeVNodeHook(m,s,t,e),u&&invokeDirectiveHook(t,e,s,"beforeUpdate"),s&&toggleRecurse(s,!0),(d.innerHTML&&null==A.innerHTML||d.textContent&&null==A.textContent)&&l(c,""),h?patchBlockChildren(e.dynamicChildren,h,c,s,r,resolveChildrenNamespace(t,n),o):a||patchChildren(e,t,c,null,s,r,resolveChildrenNamespace(t,n),o,!1),p>0){if(16&p)patchProps(c,d,A,s,n);else if(2&p&&d.class!==A.class&&i(c,"class",null,A.class,n),4&p&&i(c,"style",d.style,A.style,n),8&p){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],o=d[r],a=A[r];a===o&&"value"!==r||i(c,r,o,a,n,s)}}1&p&&e.children!==t.children&&l(c,t.children)}else a||null!=h||patchProps(c,d,A,s,n);((m=A.onVnodeUpdated)||u)&&Zi(()=>{m&&invokeVNodeHook(m,s,t,e),u&&invokeDirectiveHook(t,e,s,"updated")},r)},patchBlockChildren=(e,t,s,r,i,n,o)=>{for(let a=0;a<t.length;a++){const c=e[a],l=t[a],h=c.el&&(c.type===en||!isSameVNodeType(c,l)||198&c.shapeFlag)?p(c.el):s;patch(c,l,h,null,r,i,n,o,!0)}},patchProps=(e,t,s,r,n)=>{if(t!==s){if(t!==ri.EMPTY_OBJ)for(const o in t)ri.isReservedProp(o)||o in s||i(e,o,t[o],null,n,r);for(const o in s){if(ri.isReservedProp(o))continue;const a=s[o],c=t[o];a!==c&&"value"!==o&&i(e,o,c,a,n,r)}"value"in s&&i(e,"value",t.value,s.value,n)}},processFragment=(e,t,r,i,n,a,c,l,p)=>{const h=t.el=e?e.el:o(""),u=t.anchor=e?e.anchor:o("");let{patchFlag:d,dynamicChildren:A,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(s(h,r,i),s(u,r,i),mountChildren(t.children||[],r,u,n,a,c,l,p)):d>0&&64&d&&A&&e.dynamicChildren&&e.dynamicChildren.length===A.length?(patchBlockChildren(e.dynamicChildren,A,r,n,a,c,l),(null!=t.key||n&&t===n.subTree)&&traverseStaticChildren(e,t,!0)):patchChildren(e,t,r,u,n,a,c,l,p)},processComponent=(e,t,s,r,i,n,o,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,s,r,o,c):mountComponent(t,s,r,i,n,o,c):updateComponent(e,t,c)},mountComponent=(e,t,s,r,i,n,o)=>{const a=e.component=createComponentInstance(e,r,i);if(isKeepAlive(e)&&(a.ctx.renderer=m),setupComponent(a,!1,o),a.asyncDep){if(i&&i.registerDep(a,setupRenderEffect,o),!e.el){const r=a.subTree=createVNode(sn);processCommentNode(null,r,t,s),e.placeholder=r.el}}else setupRenderEffect(a,e,t,s,i,n,o)},updateComponent=(e,t,s)=>{const r=t.component=e.component;if(function(e,t,s){const{props:r,children:i,component:n}=e,{props:o,children:a,patchFlag:c}=t,l=n.emitsOptions;if(t.dirs||t.transition)return!0;if(!(s&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==o&&(r?!o||hasPropsChanged(r,o,l):!!o);if(1024&c)return!0;if(16&c)return r?hasPropsChanged(r,o,l):!!o;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const s=e[t];if(o[s]!==r[s]&&!isEmitListener(l,s))return!0}}return!1}(e,t,s)){if(r.asyncDep&&!r.asyncResolved)return void updateComponentPreRender(r,t,s);r.next=t,r.update()}else t.el=e.el,r.vnode=t},setupRenderEffect=(e,t,s,r,i,n,o)=>{const componentUpdateFn=()=>{if(e.isMounted){let{next:t,bu:s,u:r,parent:a,vnode:c}=e;{const s=locateNonHydratedAsyncRoot(e);if(s)return t&&(t.el=c.el,updateComponentPreRender(e,t,o)),void s.asyncDep.then(()=>{e.isUnmounted||componentUpdateFn()})}let l,h=t;toggleRecurse(e,!1),t?(t.el=c.el,updateComponentPreRender(e,t,o)):t=c,s&&ri.invokeArrayFns(s),(l=t.props&&t.props.onVnodeBeforeUpdate)&&invokeVNodeHook(l,a,t,c),toggleRecurse(e,!0);const u=renderComponentRoot(e),d=e.subTree;e.subTree=u,patch(d,u,p(d.el),getNextHostNode(d),e,i,n),t.el=u.el,null===h&&updateHOCHostEl(e,u.el),r&&Zi(r,i),(l=t.props&&t.props.onVnodeUpdated)&&Zi(()=>invokeVNodeHook(l,a,t,c),i)}else{let o;const{el:a,props:c}=t,{bm:l,m:p,parent:h,root:u,type:d}=e,A=isAsyncWrapper(t);if(toggleRecurse(e,!1),l&&ri.invokeArrayFns(l),!A&&(o=c&&c.onVnodeBeforeMount)&&invokeVNodeHook(o,h,t),toggleRecurse(e,!0),a&&g){const hydrateSubTree=()=>{e.subTree=renderComponentRoot(e),g(a,e.subTree,e,i,null)};A&&d.__asyncHydrate?d.__asyncHydrate(a,e,hydrateSubTree):hydrateSubTree()}else{u.ce&&!1!==u.ce._def.shadowRoot&&u.ce._injectChildStyle(d);const o=e.subTree=renderComponentRoot(e);patch(null,o,s,r,e,i,n),t.el=o.el}if(p&&Zi(p,i),!A&&(o=c&&c.onVnodeMounted)){const e=t;Zi(()=>invokeVNodeHook(o,h,e),i)}(256&t.shapeFlag||h&&isAsyncWrapper(h.vnode)&&256&h.vnode.shapeFlag)&&e.a&&Zi(e.a,i),e.isMounted=!0,t=s=r=null}};e.scope.on();const a=e.effect=new si.ReactiveEffect(componentUpdateFn);e.scope.off();const c=e.update=a.run.bind(a),l=e.job=a.runIfDirty.bind(a);l.i=e,l.id=e.uid,a.scheduler=()=>queueJob(l),toggleRecurse(e,!0),c()},updateComponentPreRender=(e,t,s)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,s,r){const{props:i,attrs:n,vnode:{patchFlag:o}}=e,a=si.toRaw(i),[c]=e.propsOptions;let l=!1;if(!(r||o>0)||16&o){let r;setFullProps(e,t,i,n)&&(l=!0);for(const n in a)t&&(ri.hasOwn(t,n)||(r=ri.hyphenate(n))!==n&&ri.hasOwn(t,r))||(c?!s||void 0===s[n]&&void 0===s[r]||(i[n]=resolvePropValue(c,a,n,void 0,e,!0)):delete i[n]);if(n!==a)for(const e in n)t&&ri.hasOwn(t,e)||(delete n[e],l=!0)}else if(8&o){const s=e.vnode.dynamicProps;for(let r=0;r<s.length;r++){let o=s[r];if(isEmitListener(e.emitsOptions,o))continue;const p=t[o];if(c)if(ri.hasOwn(n,o))p!==n[o]&&(n[o]=p,l=!0);else{const t=ri.camelize(o);i[t]=resolvePropValue(c,a,t,p,e,!1)}else p!==n[o]&&(n[o]=p,l=!0)}}l&&si.trigger(e.attrs,"set","")}(e,t.props,r,s),((e,t,s)=>{const{vnode:r,slots:i}=e;let n=!0,o=ri.EMPTY_OBJ;if(32&r.shapeFlag){const e=t._;e?s&&1===e?n=!1:assignSlots(i,t,s):(n=!t.$stable,normalizeObjectSlots(t,i)),o=t}else t&&(normalizeVNodeSlots(e,t),o={default:1});if(n)for(const e in i)isInternalKey(e)||null!=o[e]||delete i[e]})(e,t.children,s),si.pauseTracking(),flushPreFlushCbs(e),si.resetTracking()},patchChildren=(e,t,s,r,i,n,o,a,c=!1)=>{const p=e&&e.children,h=e?e.shapeFlag:0,u=t.children,{patchFlag:d,shapeFlag:A}=t;if(d>0){if(128&d)return void patchKeyedChildren(p,u,s,r,i,n,o,a,c);if(256&d)return void patchUnkeyedChildren(p,u,s,r,i,n,o,a,c)}8&A?(16&h&&unmountChildren(p,i,n),u!==p&&l(s,u)):16&h?16&A?patchKeyedChildren(p,u,s,r,i,n,o,a,c):unmountChildren(p,i,n,!0):(8&h&&l(s,""),16&A&&mountChildren(u,s,r,i,n,o,a,c))},patchUnkeyedChildren=(e,t,s,r,i,n,o,a,c)=>{e=e||ri.EMPTY_ARR,t=t||ri.EMPTY_ARR;const l=e.length,p=t.length,h=Math.min(l,p);let u;for(u=0;u<h;u++){const r=t[u]=c?cloneIfMounted(t[u]):normalizeVNode(t[u]);patch(e[u],r,s,null,i,n,o,a,c)}l>p?unmountChildren(e,i,n,!0,!1,h):mountChildren(t,s,r,i,n,o,a,c,h)},patchKeyedChildren=(e,t,s,r,i,n,o,a,c)=>{let l=0;const p=t.length;let h=e.length-1,u=p-1;for(;l<=h&&l<=u;){const r=e[l],p=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);if(!isSameVNodeType(r,p))break;patch(r,p,s,null,i,n,o,a,c),l++}for(;l<=h&&l<=u;){const r=e[h],l=t[u]=c?cloneIfMounted(t[u]):normalizeVNode(t[u]);if(!isSameVNodeType(r,l))break;patch(r,l,s,null,i,n,o,a,c),h--,u--}if(l>h){if(l<=u){const e=u+1,h=e<p?t[e].el:r;for(;l<=u;)patch(null,t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]),s,h,i,n,o,a,c),l++}}else if(l>u)for(;l<=h;)unmount(e[l],i,n,!0),l++;else{const d=l,A=l,m=new Map;for(l=A;l<=u;l++){const e=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);null!=e.key&&m.set(e.key,l)}let f,g=0;const y=u-A+1;let x=!1,C=0;const E=new Array(y);for(l=0;l<y;l++)E[l]=0;for(l=d;l<=h;l++){const r=e[l];if(g>=y){unmount(r,i,n,!0);continue}let p;if(null!=r.key)p=m.get(r.key);else for(f=A;f<=u;f++)if(0===E[f-A]&&isSameVNodeType(r,t[f])){p=f;break}void 0===p?unmount(r,i,n,!0):(E[p-A]=l+1,p>=C?C=p:x=!0,patch(r,t[p],s,null,i,n,o,a,c),g++)}const S=x?function(e){const t=e.slice(),s=[0];let r,i,n,o,a;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(i=s[s.length-1],e[i]<c){t[r]=i,s.push(r);continue}for(n=0,o=s.length-1;n<o;)a=n+o>>1,e[s[a]]<c?n=a+1:o=a;c<e[s[n]]&&(n>0&&(t[r]=s[n-1]),s[n]=r)}}n=s.length,o=s[n-1];for(;n-- >0;)s[n]=o,o=t[o];return s}(E):ri.EMPTY_ARR;for(f=S.length-1,l=y-1;l>=0;l--){const e=A+l,h=t[e],u=t[e+1],d=e+1<p?u.el||resolveAsyncComponentPlaceholder(u):r;0===E[l]?patch(null,h,s,d,i,n,o,a,c):x&&(f<0||l!==S[f]?move(h,s,d,2):f--)}}},move=(e,t,i,n,o=null)=>{const{el:a,type:c,transition:l,children:p,shapeFlag:u}=e;if(6&u)return void move(e.component.subTree,t,i,n);if(128&u)return void e.suspense.move(t,i,n);if(64&u)return void c.move(e,t,i,m);if(c===en){s(a,t,i);for(let e=0;e<p.length;e++)move(p[e],t,i,n);return void s(e.anchor,t,i)}if(c===rn)return void(({el:e,anchor:t},r,i)=>{let n;for(;e&&e!==t;)n=h(e),s(e,r,i),e=n;s(t,r,i)})(e,t,i);if(2!==n&&1&u&&l)if(0===n)l.beforeEnter(a),s(a,t,i),Zi(()=>l.enter(a),o);else{const{leave:n,delayLeave:o,afterLeave:c}=l,remove2=()=>{e.ctx.isUnmounted?r(a):s(a,t,i)},performLeave=()=>{a._isLeaving&&a[yi](!0),n(a,()=>{remove2(),c&&c()})};o?o(a,remove2,performLeave):performLeave()}else s(a,t,i)},unmount=(e,t,s,r=!1,i=!1)=>{const{type:n,props:o,ref:a,children:c,dynamicChildren:l,shapeFlag:p,patchFlag:h,dirs:u,cacheIndex:d}=e;if(-2===h&&(i=!1),null!=a&&(si.pauseTracking(),setRef(a,null,s,e,!0),si.resetTracking()),null!=d&&(t.renderCache[d]=void 0),256&p)return void t.ctx.deactivate(e);const A=1&p&&u,f=!isAsyncWrapper(e);let g;if(f&&(g=o&&o.onVnodeBeforeUnmount)&&invokeVNodeHook(g,t,e),6&p)unmountComponent(e.component,s,r);else{if(128&p)return void e.suspense.unmount(s,r);A&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&p?e.type.remove(e,t,s,m,r):l&&!l.hasOnce&&(n!==en||h>0&&64&h)?unmountChildren(l,t,s,!1,!0):(n===en&&384&h||!i&&16&p)&&unmountChildren(c,t,s),r&&remove(e)}(f&&(g=o&&o.onVnodeUnmounted)||A)&&Zi(()=>{g&&invokeVNodeHook(g,t,e),A&&invokeDirectiveHook(e,null,t,"unmounted")},s)},remove=e=>{const{type:t,el:s,anchor:i,transition:n}=e;if(t===en)return void removeFragment(s,i);if(t===rn)return void(({el:e,anchor:t})=>{let s;for(;e&&e!==t;)s=h(e),r(e),e=s;r(t)})(e);const performRemove=()=>{r(s),n&&!n.persisted&&n.afterLeave&&n.afterLeave()};if(1&e.shapeFlag&&n&&!n.persisted){const{leave:t,delayLeave:r}=n,performLeave=()=>t(s,performRemove);r?r(e.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(e,t)=>{let s;for(;e!==t;)s=h(e),r(e),e=s;r(t)},unmountComponent=(e,t,s)=>{const{bum:r,scope:i,job:n,subTree:o,um:a,m:c,a:l}=e;invalidateMount(c),invalidateMount(l),r&&ri.invokeArrayFns(r),i.stop(),n&&(n.flags|=8,unmount(o,e,t,s)),a&&Zi(a,t),Zi(()=>{e.isUnmounted=!0},t)},unmountChildren=(e,t,s,r=!1,i=!1,n=0)=>{for(let o=n;o<e.length;o++)unmount(e[o],t,s,r,i)},getNextHostNode=e=>{if(6&e.shapeFlag)return getNextHostNode(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),s=t&&t[mi];return s?h(s):t};let A=!1;const render=(e,t,s)=>{let r;null==e?t._vnode&&(unmount(t._vnode,null,null,!0),r=t._vnode.component):patch(t._vnode||null,e,t,null,null,null,s),t._vnode=e,A||(A=!0,flushPreFlushCbs(r),flushPostFlushCbs(),A=!1)},m={p:patch,um:unmount,m:move,r:remove,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:e};let f,g;return t&&([f,g]=t(m)),{render:render,hydrate:f,createApp:createAppAPI(render,f)}}function resolveChildrenNamespace({type:e,props:t},s){return"svg"===s&&"foreignObject"===e||"mathml"===s&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function toggleRecurse({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,s=!1){const r=e.children,i=t.children;if(ri.isArray(r)&&ri.isArray(i))for(let t=0;t<r.length;t++){const n=r[t];let o=i[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[t]=cloneIfMounted(i[t]),o.el=n.el),s||-2===o.patchFlag||traverseStaticChildren(n,o)),o.type===tn&&(-1!==o.patchFlag?o.el=n.el:o.__elIndex=t+(e.type===en?1:0)),o.type!==sn||o.el||(o.el=n.el)}}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function resolveAsyncComponentPlaceholder(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?resolveAsyncComponentPlaceholder(t.subTree):null}const isSuspense=e=>e.__isSuspense;let zi=0;const qi={name:"Suspense",__isSuspense:!0,process(e,t,s,r,i,n,o,a,c,l){if(null==e)!function(e,t,s,r,i,n,o,a,c){const{p:l,o:{createElement:p}}=c,h=p("div"),u=e.suspense=createSuspenseBoundary(e,i,r,t,h,s,n,o,a,c);l(null,u.pendingBranch=e.ssContent,h,null,r,u,n,o),u.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),l(null,e.ssFallback,t,s,r,null,n,o),setActiveBranch(u,e.ssFallback)):u.resolve(!1,!0)}(t,s,r,i,n,o,a,c,l);else{if(n&&n.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,s,r,i,n,o,a,{p:c,um:l,o:{createElement:p}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const u=t.ssContent,d=t.ssFallback,{activeBranch:A,pendingBranch:m,isInFallback:f,isHydrating:g}=h;if(m)h.pendingBranch=u,isSameVNodeType(m,u)?(c(m,u,h.hiddenContainer,null,i,h,n,o,a),h.deps<=0?h.resolve():f&&(g||(c(A,d,s,r,i,null,n,o,a),setActiveBranch(h,d)))):(h.pendingId=zi++,g?(h.isHydrating=!1,h.activeBranch=m):l(m,i,h),h.deps=0,h.effects.length=0,h.hiddenContainer=p("div"),f?(c(null,u,h.hiddenContainer,null,i,h,n,o,a),h.deps<=0?h.resolve():(c(A,d,s,r,i,null,n,o,a),setActiveBranch(h,d))):A&&isSameVNodeType(A,u)?(c(A,u,s,r,i,h,n,o,a),h.resolve(!0)):(c(null,u,h.hiddenContainer,null,i,h,n,o,a),h.deps<=0&&h.resolve()));else if(A&&isSameVNodeType(A,u))c(A,u,s,r,i,h,n,o,a),setActiveBranch(h,u);else if(triggerEvent(t,"onPending"),h.pendingBranch=u,512&u.shapeFlag?h.pendingId=u.component.suspenseId:h.pendingId=zi++,c(null,u,h.hiddenContainer,null,i,h,n,o,a),h.deps<=0)h.resolve();else{const{timeout:e,pendingId:t}=h;e>0?setTimeout(()=>{h.pendingId===t&&h.fallback(d)},e):0===e&&h.fallback(d)}}(e,t,s,r,i,o,a,c,l)}},hydrate:function(e,t,s,r,i,n,o,a,c){const l=t.suspense=createSuspenseBoundary(t,r,s,e.parentNode,document.createElement("div"),null,i,n,o,a,!0),p=c(e,l.pendingBranch=t.ssContent,s,l,n,o);0===l.deps&&l.resolve(!1,!0);return p},normalize:function(e){const{shapeFlag:t,children:s}=e,r=32&t;e.ssContent=normalizeSuspenseSlot(r?s.default:s),e.ssFallback=r?normalizeSuspenseSlot(s.fallback):createVNode(sn)}};function triggerEvent(e,t){const s=e.props&&e.props[t];ri.isFunction(s)&&s()}function createSuspenseBoundary(e,t,s,r,i,n,o,a,c,l,p=!1){const{p:h,m:u,um:d,n:A,o:{parentNode:m,remove:f}}=l;let g;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const x=e.props?ri.toNumber(e.props.timeout):void 0,C=n,E={vnode:e,parent:t,parentComponent:s,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:zi++,timeout:"number"==typeof x?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!p,isHydrating:p,isUnmounted:!1,effects:[],resolve(e=!1,s=!1){const{vnode:r,activeBranch:i,pendingBranch:o,pendingId:a,effects:c,parentComponent:l,container:p,isInFallback:h}=E;let f=!1;E.isHydrating?E.isHydrating=!1:e||(f=i&&o.transition&&"out-in"===o.transition.mode,f&&(i.transition.afterLeave=()=>{a===E.pendingId&&(u(o,p,n===C?A(i):n,0),queuePostFlushCb(c),h&&r.ssFallback&&(r.ssFallback.el=null))}),i&&(m(i.el)===p&&(n=A(i)),d(i,l,E,!0),!f&&h&&r.ssFallback&&Zi(()=>r.ssFallback.el=null,E)),f||u(o,p,n,0)),setActiveBranch(E,o),E.pendingBranch=null,E.isInFallback=!1;let x=E.parent,S=!1;for(;x;){if(x.pendingBranch){x.effects.push(...c),S=!0;break}x=x.parent}S||f||queuePostFlushCb(c),E.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||s||t.resolve()),triggerEvent(r,"onResolve")},fallback(e){if(!E.pendingBranch)return;const{vnode:t,activeBranch:s,parentComponent:r,container:i,namespace:n}=E;triggerEvent(t,"onFallback");const o=A(s),mountFallback=()=>{E.isInFallback&&(h(null,e,i,o,r,null,n,a,c),setActiveBranch(E,e))},l=e.transition&&"out-in"===e.transition.mode;l&&(s.transition.afterLeave=mountFallback),E.isInFallback=!0,d(s,r,null,!0),l||mountFallback()},move(e,t,s){E.activeBranch&&u(E.activeBranch,e,t,s),E.container=e},next:()=>E.activeBranch&&A(E.activeBranch),registerDep(e,t,s){const r=!!E.pendingBranch;r&&E.deps++;const i=e.vnode.el;e.asyncDep.catch(t=>{handleError(t,e,0)}).then(n=>{if(e.isUnmounted||E.isUnmounted||E.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;handleSetupResult(e,n,!1),i&&(a.el=i);const c=!i&&e.subTree.el;t(e,a,m(i||e.subTree.el),i?null:A(e.subTree),E,o,s),c&&(a.placeholder=null,f(c)),updateHOCHostEl(e,a.el),r&&0===--E.deps&&E.resolve()})},unmount(e,t){E.isUnmounted=!0,E.activeBranch&&d(E.activeBranch,s,e,t),E.pendingBranch&&d(E.pendingBranch,s,e,t)}};return E}function normalizeSuspenseSlot(e){let t;if(ri.isFunction(e)){const s=an&&e._c;s&&(e._d=!1,openBlock()),e=e(),s&&(e._d=!0,t=on,closeBlock())}if(ri.isArray(e)){const t=function(e){let t;for(let s=0;s<e.length;s++){const r=e[s];if(!isVNode(r))return;if(r.type!==sn||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=t}return e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?ri.isArray(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:s,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)i=(t=t.component.subTree).el;s.el=i,r&&r.subTree===s&&(r.vnode.el=i,updateHOCHostEl(r,i))}const en=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),rn=Symbol.for("v-stc"),nn=[];let on=null;function openBlock(e=!1){nn.push(on=e?null:[])}function closeBlock(){nn.pop(),on=nn[nn.length-1]||null}let an=1;function setBlockTracking(e,t=!1){an+=e,e<0&&on&&t&&(on.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=an>0?on||ri.EMPTY_ARR:null,closeBlock(),an>0&&on&&on.push(e),e}function createBlock(e,t,s,r,i){return setupBlock(createVNode(e,t,s,r,i,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const normalizeKey=({key:e})=>null!=e?e:null,normalizeRef=({ref:e,ref_key:t,ref_for:s})=>("number"==typeof e&&(e=""+e),null!=e?ri.isString(e)||si.isRef(e)||ri.isFunction(e)?{i:ui,r:e,k:t,f:!!s}:e:null);function createBaseVNode(e,t=null,s=null,r=0,i=null,n=(e===en?0:1),o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:di,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ui};return a?(normalizeChildren(c,s),128&n&&e.normalize(c)):s&&(c.shapeFlag|=ri.isString(s)?8:16),an>0&&!o&&on&&(c.patchFlag>0||6&n)&&32!==c.patchFlag&&on.push(c),c}const createVNode=function(e,t=null,s=null,r=0,i=null,n=!1){e&&e!==Hi||(e=sn);if(isVNode(e)){const r=cloneVNode(e,t,!0);return s&&normalizeChildren(r,s),an>0&&!n&&on&&(6&r.shapeFlag?on[on.indexOf(e)]=r:on.push(r)),r.patchFlag=-2,r}o=e,ri.isFunction(o)&&"__vccOpts"in o&&(e=e.__vccOpts);var o;if(t){t=guardReactiveProps(t);let{class:e,style:s}=t;e&&!ri.isString(e)&&(t.class=ri.normalizeClass(e)),ri.isObject(s)&&(si.isProxy(s)&&!ri.isArray(s)&&(s=ri.extend({},s)),t.style=ri.normalizeStyle(s))}const a=ri.isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:ri.isObject(e)?4:ri.isFunction(e)?2:0;return createBaseVNode(e,t,s,r,i,a,n,!0)};function guardReactiveProps(e){return e?si.isProxy(e)||isInternalObject(e)?ri.extend({},e):e:null}function cloneVNode(e,t,s=!1,r=!1){const{props:i,ref:n,patchFlag:o,children:a,transition:c}=e,l=t?mergeProps(i||{},t):i,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&normalizeKey(l),ref:t&&t.ref?s&&n?ri.isArray(n)?n.concat(normalizeRef(t)):[n,normalizeRef(t)]:normalizeRef(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==en?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&setTransitionHooks(p,c.clone(p)),p}function createTextVNode(e=" ",t=0){return createVNode(tn,null,e,t)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(sn):ri.isArray(e)?createVNode(en,null,e.slice()):isVNode(e)?cloneIfMounted(e):createVNode(tn,null,String(e))}function cloneIfMounted(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let s=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(ri.isArray(t))s=16;else if("object"==typeof t){if(65&r){const s=t.default;return void(s&&(s._c&&(s._d=!1),normalizeChildren(e,s()),s._c&&(s._d=!0)))}{s=32;const r=t._;r||isInternalObject(t)?3===r&&ui&&(1===ui.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ui}}else ri.isFunction(t)?(t={default:t,_ctx:ui},s=32):(t=String(t),64&r?(s=16,t=[createTextVNode(t)]):s=8);e.children=t,e.shapeFlag|=s}function mergeProps(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=ri.normalizeClass([t.class,r.class]));else if("style"===e)t.style=ri.normalizeStyle([t.style,r.style]);else if(ri.isOn(e)){const s=t[e],i=r[e];!i||s===i||ri.isArray(s)&&s.includes(i)||(t[e]=s?[].concat(s,i):i)}else""!==e&&(t[e]=r[e])}return t}function invokeVNodeHook(e,t,s,r=null){callWithAsyncErrorHandling(e,t,7,[s,r])}const cn=createAppContext();let ln=0;function createComponentInstance(e,t,s){const r=e.type,i=(t?t.appContext:e.appContext)||cn,n={uid:ln++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new si.EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(r,i),emitsOptions:normalizeEmitsOptions(r,i),emit:null,emitted:null,propsDefaults:ri.EMPTY_OBJ,inheritAttrs:r.inheritAttrs,ctx:ri.EMPTY_OBJ,data:ri.EMPTY_OBJ,props:ri.EMPTY_OBJ,attrs:ri.EMPTY_OBJ,slots:ri.EMPTY_OBJ,refs:ri.EMPTY_OBJ,setupState:ri.EMPTY_OBJ,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=emit.bind(null,n),e.ce&&e.ce(n),n}let pn=null;const getCurrentInstance=()=>pn||ui;let hn,un;{const e=ri.getGlobalThis(),registerGlobalSetter=(t,s)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(s),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};hn=registerGlobalSetter("__VUE_INSTANCE_SETTERS__",e=>pn=e),un=registerGlobalSetter("__VUE_SSR_SETTERS__",e=>mn=e)}const setCurrentInstance=e=>{const t=pn;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},unsetCurrentInstance=()=>{pn&&pn.scope.off(),hn(null)};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}let dn,An,mn=!1;function setupComponent(e,t=!1,s=!1){t&&un(t);const{props:r,children:i}=e.vnode,n=isStatefulComponent(e);!function(e,t,s,r=!1){const i={},n=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,i,n);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);s?e.props=r?i:si.shallowReactive(i):e.type.props?e.props=i:e.props=n,e.attrs=n}(e,r,n,t),((e,t,s)=>{const r=e.slots=createInternalObject();if(32&e.vnode.shapeFlag){const e=t._;e?(assignSlots(r,t,s),s&&ri.def(r,"_",e,!0)):normalizeObjectSlots(t,r)}else t&&normalizeVNodeSlots(e,t)})(e,i,s||t);const o=n?function(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vi);const{setup:r}=s;if(r){si.pauseTracking();const s=e.setupContext=r.length>1?createSetupContext(e):null,i=setCurrentInstance(e),n=callWithErrorHandling(r,e,0,[e.props,s]),o=ri.isPromise(n);if(si.resetTracking(),i(),!o&&!e.sp||isAsyncWrapper(e)||markAsyncBoundary(e),o){if(n.then(unsetCurrentInstance,unsetCurrentInstance),t)return n.then(s=>{handleSetupResult(e,s,t)}).catch(t=>{handleError(t,e,0)});e.asyncDep=n}else handleSetupResult(e,n,t)}else finishComponentSetup(e,t)}(e,t):void 0;return t&&un(!1),o}function handleSetupResult(e,t,s){ri.isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ri.isObject(t)&&(e.setupState=si.proxyRefs(t)),finishComponentSetup(e,s)}function finishComponentSetup(e,t,s){const r=e.type;if(!e.render){if(!t&&dn&&!r.render){const t=r.template||resolveMergedOptions(e).template;if(t){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:n,compilerOptions:o}=r,a=ri.extend(ri.extend({isCustomElement:s,delimiters:n},i),o);r.render=dn(t,a)}}e.render=r.render||ri.NOOP,An&&An(e)}{const t=setCurrentInstance(e);si.pauseTracking();try{applyOptions(e)}finally{si.resetTracking(),t()}}}const fn={get:(e,t)=>(si.track(e,"get",""),e[t])};function createSetupContext(e){const expose=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,fn),slots:e.slots,emit:e.emit,expose:expose}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(si.proxyRefs(si.markRaw(e.exposed)),{get:(t,s)=>s in t?t[s]:s in Ki?Ki[s](e):void 0,has:(e,t)=>t in e||t in Ki})):e.proxy}function getComponentName(e,t=!0){return ri.isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}const computed=(e,t)=>si.computed(e,t,mn);function isMemoSame(e,t){const s=e.memo;if(s.length!=t.length)return!1;for(let e=0;e<s.length;e++)if(ri.hasChanged(s[e],t[e]))return!1;return an>0&&on&&on.push(e),!0}const gn="3.5.27",yn=ri.NOOP,xn=ii,Cn=ri.NOOP,En={createComponentInstance:createComponentInstance,setupComponent:setupComponent,renderComponentRoot:renderComponentRoot,setCurrentRenderingInstance:setCurrentRenderingInstance,isVNode:isVNode,normalizeVNode:normalizeVNode,getComponentPublicInstance:getComponentPublicInstance,ensureValidVNode:ensureValidVNode,pushWarningContext:function(e){},popWarningContext:function(){}};Cr.EffectScope=si.EffectScope,Cr.ReactiveEffect=si.ReactiveEffect,Cr.TrackOpTypes=si.TrackOpTypes,Cr.TriggerOpTypes=si.TriggerOpTypes,Cr.customRef=si.customRef,Cr.effect=si.effect,Cr.effectScope=si.effectScope,Cr.getCurrentScope=si.getCurrentScope,Cr.getCurrentWatcher=si.getCurrentWatcher,Cr.isProxy=si.isProxy,Cr.isReactive=si.isReactive,Cr.isReadonly=si.isReadonly,Cr.isRef=si.isRef,Cr.isShallow=si.isShallow,Cr.markRaw=si.markRaw,Cr.onScopeDispose=si.onScopeDispose,Cr.onWatcherCleanup=si.onWatcherCleanup,Cr.proxyRefs=si.proxyRefs,Cr.reactive=si.reactive,Cr.readonly=si.readonly,Cr.ref=si.ref,Cr.shallowReactive=si.shallowReactive;Cr.shallowReadonly=si.shallowReadonly;Cr.shallowRef=si.shallowRef,Cr.stop=si.stop,Cr.toRaw=si.toRaw,Cr.toRef=si.toRef,Cr.toRefs=si.toRefs,Cr.toValue=si.toValue,Cr.triggerRef=si.triggerRef,Cr.unref=si.unref,Cr.camelize=ri.camelize,Cr.capitalize=ri.capitalize,Cr.normalizeClass=ri.normalizeClass,Cr.normalizeProps=ri.normalizeProps,Cr.normalizeStyle=ri.normalizeStyle,Cr.toDisplayString=ri.toDisplayString,Cr.toHandlerKey=ri.toHandlerKey,Cr.BaseTransition=Si,Cr.BaseTransitionPropsValidators=Ei,Cr.Comment=sn,Cr.DeprecationTypes=null,Cr.ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Cr.ErrorTypeStrings=xn,Cr.Fragment=en,Cr.KeepAlive=Ni,Cr.Static=rn,Cr.Suspense=qi,Cr.Teleport=gi,Cr.Text=tn,Cr.assertNumber=function(e,t){},Cr.callWithAsyncErrorHandling=callWithAsyncErrorHandling,Cr.callWithErrorHandling=callWithErrorHandling,Cr.cloneVNode=cloneVNode,Cr.compatUtils=null,Cr.computed=computed,Cr.createBlock=createBlock,Cr.createCommentVNode=function(e="",t=!1){return t?(openBlock(),createBlock(sn,null,e)):createVNode(sn,null,e)},Cr.createElementBlock=function(e,t,s,r,i,n){return setupBlock(createBaseVNode(e,t,s,r,i,n,!0))},Cr.createElementVNode=createBaseVNode,Cr.createHydrationRenderer=function(e){return baseCreateRenderer(e,createHydrationFunctions)},Cr.createPropsRestProxy=function(e,t){const s={};for(const r in e)t.includes(r)||Object.defineProperty(s,r,{enumerable:!0,get:()=>e[r]});return s},Cr.createRenderer=function(e){return baseCreateRenderer(e)},Cr.createSlots=function(e,t){for(let s=0;s<t.length;s++){const r=t[s];if(ri.isArray(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e},Cr.createStaticVNode=function(e,t){const s=createVNode(rn,null,e);return s.staticCount=t,s},Cr.createTextVNode=createTextVNode,Cr.createVNode=createVNode,Cr.defineAsyncComponent=function(e){ri.isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:s,errorComponent:r,delay:i=200,hydrate:n,timeout:o,suspensible:a=!0,onError:c}=e;let l,p=null,h=0;const load=()=>{let e;return p||(e=p=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise((t,s)=>{c(e,()=>t((h++,p=null,load())),()=>s(e),h+1)});throw e}).then(t=>e!==p&&p?p:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:load,__asyncHydrate(e,t,s){let r=!1;(t.bu||(t.bu=[])).push(()=>r=!0);const performHydrate=()=>{r||s()},i=n?()=>{const s=n(performHydrate,t=>function(e,t){if(isComment(e)&&"["===e.data){let s=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(isComment(r))if("]"===r.data){if(0===--s)break}else"["===r.data&&s++;r=r.nextSibling}}else t(e)}(e,t));s&&(t.bum||(t.bum=[])).push(s)}:performHydrate;l?i():load().then(()=>!t.isUnmounted&&i())},get __asyncResolved(){return l},setup(){const e=pn;if(markAsyncBoundary(e),l)return()=>createInnerComp(l,e);const onError=t=>{p=null,handleError(t,e,13,!r)};if(a&&e.suspense||mn)return load().then(t=>()=>createInnerComp(t,e)).catch(e=>(onError(e),()=>r?createVNode(r,{error:e}):null));const t=si.ref(!1),n=si.ref(),c=si.ref(!!i);return i&&setTimeout(()=>{c.value=!1},i),null!=o&&setTimeout(()=>{if(!t.value&&!n.value){const e=new Error(`Async component timed out after ${o}ms.`);onError(e),n.value=e}},o),load().then(()=>{t.value=!0,e.parent&&isKeepAlive(e.parent.vnode)&&e.parent.update()}).catch(e=>{onError(e),n.value=e}),()=>t.value&&l?createInnerComp(l,e):n.value&&r?createVNode(r,{error:n.value}):s&&!c.value?createInnerComp(s,e):void 0}})},Cr.defineComponent=defineComponent,Cr.defineEmits=function(){return null},Cr.defineExpose=function(e){},Cr.defineModel=function(){},Cr.defineOptions=function(e){},Cr.defineProps=function(){return null},Cr.defineSlots=function(){return null},Cr.devtools=void 0,Cr.getCurrentInstance=getCurrentInstance,Cr.getTransitionRawChildren=getTransitionRawChildren,Cr.guardReactiveProps=guardReactiveProps,Cr.h=function(e,t,s){try{setBlockTracking(-1);const r=arguments.length;return 2===r?ri.isObject(t)&&!ri.isArray(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):3===r&&isVNode(s)&&(s=[s]),createVNode(e,t,s))}finally{setBlockTracking(1)}},Cr.handleError=handleError,Cr.hasInjectionContext=function(){return!(!getCurrentInstance()&&!Ji)},Cr.hydrateOnIdle=(e=1e4)=>t=>{const s=vi(t,{timeout:e});return()=>wi(s)},Cr.hydrateOnInteraction=(e=[])=>(t,s)=>{ri.isString(e)&&(e=[e]);let r=!1;const doHydrate=e=>{r||(r=!0,teardown(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{s(t=>{for(const s of e)t.removeEventListener(s,doHydrate)})};return s(t=>{for(const s of e)t.addEventListener(s,doHydrate,{once:!0})}),teardown},Cr.hydrateOnMediaQuery=e=>t=>{if(e){const s=matchMedia(e);if(!s.matches)return s.addEventListener("change",t,{once:!0}),()=>s.removeEventListener("change",t);t()}},Cr.hydrateOnVisible=e=>(t,s)=>{const r=new IntersectionObserver(e=>{for(const s of e)if(s.isIntersecting){r.disconnect(),t();break}},e);return s(e=>{if(e instanceof Element)return function(e){const{top:t,left:s,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:n,innerWidth:o}=window;return(t>0&&t<n||r>0&&r<n)&&(s>0&&s<o||i>0&&i<o)}(e)?(t(),r.disconnect(),!1):void r.observe(e)}),()=>r.disconnect()},Cr.initCustomFormatter=function(){},Cr.inject=inject,Cr.isMemoSame=isMemoSame,Cr.isRuntimeOnly=()=>!dn,Cr.isVNode=isVNode,Cr.mergeDefaults=function(e,t){const s=normalizePropsOrEmits(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=s[e];r?ri.isArray(r)||ri.isFunction(r)?r=s[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=s[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return s},Cr.mergeModels=function(e,t){return e&&t?ri.isArray(e)&&ri.isArray(t)?e.concat(t):ri.extend({},normalizePropsOrEmits(e),normalizePropsOrEmits(t)):e||t},Cr.mergeProps=mergeProps,Cr.nextTick=nextTick,Cr.onActivated=onActivated,Cr.onBeforeMount=ki,Cr.onBeforeUnmount=Di,Cr.onBeforeUpdate=Oi,Cr.onDeactivated=onDeactivated,Cr.onErrorCaptured=onErrorCaptured,Cr.onMounted=_i,Cr.onRenderTracked=Fi,Cr.onRenderTriggered=Ri,Cr.onServerPrefetch=Li,Cr.onUnmounted=Bi,Cr.onUpdated=Mi,Cr.openBlock=openBlock,Cr.popScopeId=function(){di=null},Cr.provide=provide,Cr.pushScopeId=function(e){di=e},Cr.queuePostFlushCb=queuePostFlushCb,Cr.registerRuntimeCompiler=function(e){dn=e,An=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Wi))}},Cr.renderList=function(e,t,s,r){let i;const n=s&&s[r],o=ri.isArray(e);if(o||ri.isString(e)){let s=!1,r=!1;o&&si.isReactive(e)&&(s=!si.isShallow(e),r=si.isReadonly(e),e=si.shallowReadArray(e)),i=new Array(e.length);for(let o=0,a=e.length;o<a;o++)i[o]=t(s?r?si.toReadonly(si.toReactive(e[o])):si.toReactive(e[o]):e[o],o,void 0,n&&n[o])}else if("number"==typeof e){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,n&&n[s])}else if(ri.isObject(e))if(e[Symbol.iterator])i=Array.from(e,(e,s)=>t(e,s,void 0,n&&n[s]));else{const s=Object.keys(e);i=new Array(s.length);for(let r=0,o=s.length;r<o;r++){const o=s[r];i[r]=t(e[o],o,r,n&&n[r])}}else i=[];return s&&(s[r]=i),i},Cr.renderSlot=function(e,t,s={},r,i){if(ui.ce||ui.parent&&isAsyncWrapper(ui.parent)&&ui.parent.ce){const e=Object.keys(s).length>0;return"default"!==t&&(s.name=t),openBlock(),createBlock(en,null,[createVNode("slot",s,r&&r())],e?-2:64)}let n=e[t];n&&n._c&&(n._d=!1),openBlock();const o=n&&ensureValidVNode(n(s)),a=s.key||o&&o.key,c=createBlock(en,{key:(a&&!ri.isSymbol(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&1===e._?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),n&&n._c&&(n._d=!0),c},Cr.resolveComponent=function(e,t){return resolveAsset(Ui,e,!0,t)||e},Cr.resolveDirective=function(e){return resolveAsset("directives",e)},Cr.resolveDynamicComponent=function(e){return ri.isString(e)?resolveAsset(Ui,e,!1)||e:e||Hi},Cr.resolveFilter=null,Cr.resolveTransitionHooks=resolveTransitionHooks,Cr.setBlockTracking=setBlockTracking,Cr.setDevtoolsHook=Cn,Cr.setTransitionHooks=setTransitionHooks,Cr.ssrContextKey=Ai,Cr.ssrUtils=En,Cr.toHandlers=function(e,t){const s={};for(const r in e)s[t&&/[A-Z]/.test(r)?`on:${r}`:ri.toHandlerKey(r)]=e[r];return s},Cr.transformVNodeArgs=function(e){},Cr.useAttrs=function(){return getContext().attrs},Cr.useId=function(){const e=getCurrentInstance();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""},Cr.useModel=function(e,t,s=ri.EMPTY_OBJ){const r=getCurrentInstance(),i=ri.camelize(t),n=ri.hyphenate(t),o=getModelModifiers(e,i),a=si.customRef((o,a)=>{let c,l,p=ri.EMPTY_OBJ;return watchSyncEffect(()=>{const t=e[i];ri.hasChanged(c,t)&&(c=t,a())}),{get:()=>(o(),s.get?s.get(c):c),set(e){const o=s.set?s.set(e):e;if(!(ri.hasChanged(o,c)||p!==ri.EMPTY_OBJ&&ri.hasChanged(e,p)))return;const h=r.vnode.props;h&&(t in h||i in h||n in h)&&(`onUpdate:${t}`in h||`onUpdate:${i}`in h||`onUpdate:${n}`in h)||(c=e,a()),r.emit(`update:${t}`,o),ri.hasChanged(e,o)&&ri.hasChanged(e,p)&&!ri.hasChanged(o,l)&&a(),p=e,l=o}}});return a[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?o||ri.EMPTY_OBJ:a,done:!1}:{done:!0}}},a},Cr.useSSRContext=useSSRContext,Cr.useSlots=function(){return getContext().slots},Cr.useTemplateRef=function(e){const t=getCurrentInstance(),s=si.shallowRef(null);if(t){const r=t.refs===ri.EMPTY_OBJ?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>s.value,set:e=>s.value=e})}return s},Cr.useTransitionState=useTransitionState,Cr.version=gn;Cr.warn=yn;Cr.watch=watch,Cr.watchEffect=function(e,t){return doWatch(e,null,t)},Cr.watchPostEffect=function(e,t){return doWatch(e,null,{flush:"post"})},Cr.watchSyncEffect=watchSyncEffect,Cr.withAsyncContext=function(e){const t=getCurrentInstance();let s=e();return unsetCurrentInstance(),ri.isPromise(s)&&(s=s.catch(e=>{throw setCurrentInstance(t),e})),[s,()=>setCurrentInstance(t)]},Cr.withCtx=withCtx,Cr.withDefaults=function(e,t){return null},Cr.withDirectives=function(e,t){if(null===ui)return e;const s=getComponentPublicInstance(ui),r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,n,o,a=ri.EMPTY_OBJ]=t[e];i&&(ri.isFunction(i)&&(i={mounted:i,updated:i}),i.deep&&si.traverse(n),r.push({dir:i,instance:s,value:n,oldValue:void 0,arg:o,modifiers:a}))}return e},Cr.withMemo=function(e,t,s,r){const i=s[r];if(i&&isMemoSame(i,e))return i;const n=t();return n.memo=e.slice(),n.cacheIndex=r,s[r]=n},Cr.withScopeId=e=>withCtx,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Cr,s=A;const r="undefined"!=typeof document?document:null,i=r&&r.createElement("template"),n={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,i)=>{const n="svg"===t?r.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?r.createElementNS("http://www.w3.org/1998/Math/MathML",e):s?r.createElement(e,{is:s}):r.createElement(e);return"select"===e&&i&&null!=i.multiple&&n.setAttribute("multiple",i.multiple),n},createText:e=>r.createTextNode(e),createComment:e=>r.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>r.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,n,o){const a=s?s.previousSibling:t.lastChild;if(n&&(n===o||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),s),n!==o&&(n=n.nextSibling););else{i.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const n=i.content;if("svg"===r||"mathml"===r){const e=n.firstChild;for(;e.firstChild;)n.appendChild(e.firstChild);n.removeChild(e)}t.insertBefore(n,s)}return[a?a.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},o="transition",a="animation",c=Symbol("_vtc"),l={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p=s.extend({},t.BaseTransitionPropsValidators,l),h=(e=>(e.displayName="Transition",e.props=p,e))((e,{slots:s})=>t.h(t.BaseTransition,resolveTransitionProps(e),s)),callHook=(e,t=[])=>{s.isArray(e)?e.forEach(e=>e(...t)):e&&e(...t)},hasExplicitCallback=e=>!!e&&(s.isArray(e)?e.some(e=>e.length>1):e.length>1);function resolveTransitionProps(e){const t={};for(const s in e)s in l||(t[s]=e[s]);if(!1===e.css)return t;const{name:r="v",type:i,duration:n,enterFromClass:o=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:p=o,appearActiveClass:h=a,appearToClass:u=c,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:A=`${r}-leave-active`,leaveToClass:m=`${r}-leave-to`}=e,f=function(e){if(null==e)return null;if(s.isObject(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}(n),g=f&&f[0],y=f&&f[1],{onBeforeEnter:x,onEnter:C,onEnterCancelled:E,onLeave:S,onLeaveCancelled:I,onBeforeAppear:b=x,onAppear:T=C,onAppearCancelled:P=E}=t,finishEnter=(e,t,s,r)=>{e._enterCancelled=r,removeTransitionClass(e,t?u:c),removeTransitionClass(e,t?h:a),s&&s()},finishLeave=(e,t)=>{e._isLeaving=!1,removeTransitionClass(e,d),removeTransitionClass(e,m),removeTransitionClass(e,A),t&&t()},makeEnterHook=e=>(t,s)=>{const r=e?T:C,resolve=()=>finishEnter(t,e,s);callHook(r,[t,resolve]),nextFrame(()=>{removeTransitionClass(t,e?p:o),addTransitionClass(t,e?u:c),hasExplicitCallback(r)||whenTransitionEnds(t,i,g,resolve)})};return s.extend(t,{onBeforeEnter(e){callHook(x,[e]),addTransitionClass(e,o),addTransitionClass(e,a)},onBeforeAppear(e){callHook(b,[e]),addTransitionClass(e,p),addTransitionClass(e,h)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(e,t){e._isLeaving=!0;const resolve=()=>finishLeave(e,t);addTransitionClass(e,d),e._enterCancelled?(addTransitionClass(e,A),forceReflow(e)):(forceReflow(e),addTransitionClass(e,A)),nextFrame(()=>{e._isLeaving&&(removeTransitionClass(e,d),addTransitionClass(e,m),hasExplicitCallback(S)||whenTransitionEnds(e,i,y,resolve))}),callHook(S,[e,resolve])},onEnterCancelled(e){finishEnter(e,!1,void 0,!0),callHook(E,[e])},onAppearCancelled(e){finishEnter(e,!0,void 0,!0),callHook(P,[e])},onLeaveCancelled(e){finishLeave(e),callHook(I,[e])}})}function NumberOf(e){return s.toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[c]||(e[c]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const s=e[c];s&&(s.delete(t),s.size||(e[c]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let u=0;function whenTransitionEnds(e,t,s,r){const i=e._endId=++u,resolveIfNotStale=()=>{i===e._endId&&r()};if(null!=s)return setTimeout(resolveIfNotStale,s);const{type:n,timeout:o,propCount:a}=getTransitionInfo(e,t);if(!n)return r();const c=n+"end";let l=0;const end=()=>{e.removeEventListener(c,onEnd),resolveIfNotStale()},onEnd=t=>{t.target===e&&++l>=a&&end()};setTimeout(()=>{l<a&&end()},o+1),e.addEventListener(c,onEnd)}function getTransitionInfo(e,t){const s=window.getComputedStyle(e),getStyleProperties=e=>(s[e]||"").split(", "),r=getStyleProperties(`${o}Delay`),i=getStyleProperties(`${o}Duration`),n=getTimeout(r,i),c=getStyleProperties(`${a}Delay`),l=getStyleProperties(`${a}Duration`),p=getTimeout(c,l);let h=null,u=0,d=0;t===o?n>0&&(h=o,u=n,d=i.length):t===a?p>0&&(h=a,u=p,d=l.length):(u=Math.max(n,p),h=u>0?n>p?o:a:null,d=h?h===o?i.length:l.length:0);return{type:h,timeout:u,propCount:d,hasTransform:h===o&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${o}Property`).toString())}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,s)=>toMs(t)+toMs(e[s])))}function toMs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(e){return(e?e.ownerDocument:document).body.offsetHeight}const d=Symbol("_vod"),m=Symbol("_vsh"),f={name:"show",beforeMount(e,{value:t},{transition:s}){e[d]="none"===e.style.display?"":e.style.display,s&&t?s.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:r}){!t!=!s&&(r?t?(r.beforeEnter(e),setDisplay(e,!0),r.enter(e)):r.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[d]:"none",e[m]=!t}const g=Symbol("");const y=/(?:^|;)\s*display\s*:/;const x=/\s*!important$/;function setStyle(e,r,i){if(s.isArray(i))i.forEach(t=>setStyle(e,r,t));else if(null==i&&(i=""),r.startsWith("--"))e.setProperty(r,i);else{const n=function(e,r){const i=E[r];if(i)return i;let n=t.camelize(r);if("filter"!==n&&n in e)return E[r]=n;n=s.capitalize(n);for(let t=0;t<C.length;t++){const s=C[t]+n;if(s in e)return E[r]=s}return r}(e,r);x.test(i)?e.setProperty(s.hyphenate(n),i.replace(x,""),"important"):e[n]=i}}const C=["Webkit","Moz","ms"],E={};const S="http://www.w3.org/1999/xlink";function patchAttr(e,t,r,i,n,o=s.isSpecialBooleanAttr(t)){i&&t.startsWith("xlink:")?null==r?e.removeAttributeNS(S,t.slice(6,t.length)):e.setAttributeNS(S,t,r):null==r||o&&!s.includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,o?"":s.isSymbol(r)?String(r):r)}function patchDOMProp(e,t,r,i,n){if("innerHTML"===t||"textContent"===t)return void(null!=r&&(e[t]=r));const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const s="OPTION"===o?e.getAttribute("value")||"":e.value,i=null==r?"checkbox"===e.type?"on":"":String(r);return s===i&&"_value"in e||(e.value=i),null==r&&e.removeAttribute(t),void(e._value=r)}let a=!1;if(""===r||null==r){const i=typeof e[t];"boolean"===i?r=s.includeBooleanAttr(r):null==r&&"string"===i?(r="",a=!0):"number"===i&&(r=0,a=!0)}try{e[t]=r}catch(e){}a&&e.removeAttribute(n||t)}function addEventListener(e,t,s,r){e.addEventListener(t,s,r)}const I=Symbol("_vei");function patchEvent(e,r,i,n,o=null){const a=e[I]||(e[I]={}),c=a[r];if(n&&c)c.value=n;else{const[i,l]=function(e){let t;if(b.test(e)){let s;for(t={};s=e.match(b);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}const r=":"===e[2]?e.slice(3):s.hyphenate(e.slice(2));return[r,t]}(r);if(n){const c=a[r]=function(e,r){const invoker=e=>{if(e._vts){if(e._vts<=invoker.attached)return}else e._vts=Date.now();t.callWithAsyncErrorHandling(function(e,t){if(s.isArray(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,invoker.value),r,5,[e])};return invoker.value=e,invoker.attached=getNow(),invoker}(n,o);addEventListener(e,i,c,l)}else c&&(!function(e,t,s,r){e.removeEventListener(t,s,r)}(e,i,c,l),a[r]=void 0)}}const b=/(?:Once|Passive|Capture)$/;let T=0;const P=Promise.resolve(),getNow=()=>T||(P.then(()=>T=0),T=Date.now());const isNativeOn=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,r,i,n,o)=>{const a="svg"===n;"class"===t?function(e,t,s){const r=e[c];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}(e,i,a):"style"===t?function(e,t,r){const i=e.style,n=s.isString(r);let o=!1;if(r&&!n){if(t)if(s.isString(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&setStyle(i,t,"")}else for(const e in t)null==r[e]&&setStyle(i,e,"");for(const e in r)"display"===e&&(o=!0),setStyle(i,e,r[e])}else if(n){if(t!==r){const e=i[g];e&&(r+=";"+e),i.cssText=r,o=y.test(r)}}else t&&e.removeAttribute("style");d in e&&(e[d]=o?i.display:"",e[m]&&(i.display="none"))}(e,r,i):s.isOn(t)?s.isModelListener(t)||patchEvent(e,t,0,i,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,r,i){if(i)return"innerHTML"===t||"textContent"===t||!!(t in e&&isNativeOn(t)&&s.isFunction(r));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(isNativeOn(t)&&s.isString(r))return!1;return t in e}(e,t,i,a))?(patchDOMProp(e,t,i),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||patchAttr(e,t,i,a,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&s.isString(i)?("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),patchAttr(e,t,i,a)):patchDOMProp(e,s.camelize(t),i,0,t)};const v={};function defineCustomElement(e,r,i){let n=t.defineComponent(e,r);s.isPlainObject(n)&&(n=s.extend({},n,r));class VueCustomElement extends VueElement{constructor(e){super(n,e,i)}}return VueCustomElement.def=n,VueCustomElement}const w="undefined"!=typeof HTMLElement?HTMLElement:class{};class VueElement extends w{constructor(e,t={},r=createApp){super(),this._def=e,this._props=t,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==createApp?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(s.extend({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof VueElement){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,t.nextTick(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const resolve=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:i}=e;let n;if(r&&!s.isArray(r))for(const e in r){const t=r[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=s.toNumber(this._props[e])),(n||(n=Object.create(null)))[s.camelize(e)]=!0)}this._numberProps=n,this._resolveProps(e),this.shadowRoot&&this._applyStyles(i),this._mount(e)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(e=>{e.configureApp=this._def.configureApp,resolve(this._def=e,!0)}):resolve(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const e in r)s.hasOwn(this,e)||Object.defineProperty(this,e,{get:()=>t.unref(r[e])})}_resolveProps(e){const{props:t}=e,r=s.isArray(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&r.includes(e)&&this._setProp(e,this[e]);for(const e of r.map(s.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let r=t?this.getAttribute(e):v;const i=s.camelize(e);t&&this._numberProps&&this._numberProps[i]&&(r=s.toNumber(r)),this._setProp(i,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,r=!0,i=!1){if(t!==this._props[e]&&(this._dirty=!0,t===v?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),i&&this._instance&&this._update(),r)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),!0===t?this.setAttribute(s.hyphenate(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(s.hyphenate(e),t+""):t||this.removeAttribute(s.hyphenate(e)),r&&r.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),render(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const r=t.createVNode(this._def,s.extend(e,this._props));return this._instance||(r.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const dispatch=(e,t)=>{this.dispatchEvent(new CustomEvent(e,s.isPlainObject(t[0])?s.extend({detail:t},t[0]):{detail:t}))};e.emit=(e,...t)=>{dispatch(e,t),s.hyphenate(e)!==e&&dispatch(s.hyphenate(e),t)},this._setParent()}),r}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const s=this._nonce;for(let t=e.length-1;t>=0;t--){const r=document.createElement("style");s&&r.setAttribute("nonce",s),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const s=1===t.nodeType&&t.getAttribute("slot")||"default";(e[s]||(e[s]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=this._getSlots(),t=this._instance.type.__scopeId;for(let s=0;s<e.length;s++){const r=e[s],i=r.getAttribute("name")||"default",n=this._slots[i],o=r.parentNode;if(n)for(const e of n){if(t&&1===e.nodeType){const s=t+"-s",r=document.createTreeWalker(e,1);let i;for(e.setAttribute(s,"");i=r.nextNode();)i.setAttribute(s,"")}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const t=new Set;for(const s of e){const e=s.querySelectorAll("slot");for(let s=0;s<e.length;s++)t.add(e[s])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(e){}}function useHost(e){const s=t.getCurrentInstance(),r=s&&s.ce;return r||null}const N=new WeakMap,k=new WeakMap,_=Symbol("_moveCb"),O=Symbol("_enterCb"),M=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:s.extend({},p,{tag:String,moveClass:String}),setup(e,{slots:s}){const r=t.getCurrentInstance(),i=t.useTransitionState();let n,o;return t.onUpdated(()=>{if(!n.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,s){const r=e.cloneNode(),i=e[c];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))});s.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const n=1===t.nodeType?t:t.parentNode;n.appendChild(r);const{hasTransform:o}=getTransitionInfo(r);return n.removeChild(r),o}(n[0].el,r.vnode.el,t))return void(n=[]);n.forEach(callPendingCbs),n.forEach(recordPosition);const s=n.filter(applyTranslation);forceReflow(r.vnode.el),s.forEach(e=>{const s=e.el,r=s.style;addTransitionClass(s,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=s[_]=e=>{e&&e.target!==s||e&&!e.propertyName.endsWith("transform")||(s.removeEventListener("transitionend",i),s[_]=null,removeTransitionClass(s,t))};s.addEventListener("transitionend",i)}),n=[]}),()=>{const a=t.toRaw(e),c=resolveTransitionProps(a);let l=a.tag||t.Fragment;if(n=[],o)for(let e=0;e<o.length;e++){const s=o[e];s.el&&s.el instanceof Element&&(n.push(s),t.setTransitionHooks(s,t.resolveTransitionHooks(s,c,i,r)),N.set(s,{left:s.el.offsetLeft,top:s.el.offsetTop}))}o=s.default?t.getTransitionRawChildren(s.default()):[];for(let e=0;e<o.length;e++){const s=o[e];null!=s.key&&t.setTransitionHooks(s,t.resolveTransitionHooks(s,c,i,r))}return t.createVNode(l,null,o)}}});function callPendingCbs(e){const t=e.el;t[_]&&t[_](),t[O]&&t[O]()}function recordPosition(e){k.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function applyTranslation(e){const t=N.get(e),s=k.get(e),r=t.left-s.left,i=t.top-s.top;if(r||i){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration="0s",e}}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return s.isArray(t)?e=>s.invokeArrayFns(t,e):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const D=Symbol("_assign");function castValue(e,t,r){return t&&(e=e.trim()),r&&(e=s.looseToNumber(e)),e}const B={created(e,{modifiers:{lazy:t,trim:s,number:r}},i){e[D]=getModelAssigner(i);const n=r||i.props&&"number"===i.props.type;addEventListener(e,t?"change":"input",t=>{t.target.composing||e[D](castValue(e.value,s,n))}),(s||n)&&addEventListener(e,"change",()=>{e.value=castValue(e.value,s,n)}),t||(addEventListener(e,"compositionstart",onCompositionStart),addEventListener(e,"compositionend",onCompositionEnd),addEventListener(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:i,trim:n,number:o}},a){if(e[D]=getModelAssigner(a),e.composing)return;const c=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:s.looseToNumber(e.value))!==c){if(document.activeElement===e&&"range"!==e.type){if(i&&t===r)return;if(n&&e.value.trim()===c)return}e.value=c}}},L={deep:!0,created(e,t,r){e[D]=getModelAssigner(r),addEventListener(e,"change",()=>{const t=e._modelValue,r=getValue(e),i=e.checked,n=e[D];if(s.isArray(t)){const e=s.looseIndexOf(t,r),o=-1!==e;if(i&&!o)n(t.concat(r));else if(!i&&o){const s=[...t];s.splice(e,1),n(s)}}else if(s.isSet(t)){const e=new Set(t);i?e.add(r):e.delete(r),n(e)}else n(getCheckboxValue(e,i))})},mounted:setChecked,beforeUpdate(e,t,s){e[D]=getModelAssigner(s),setChecked(e,t,s)}};function setChecked(e,{value:t,oldValue:r},i){let n;if(e._modelValue=t,s.isArray(t))n=s.looseIndexOf(t,i.props.value)>-1;else if(s.isSet(t))n=t.has(i.props.value);else{if(t===r)return;n=s.looseEqual(t,getCheckboxValue(e,!0))}e.checked!==n&&(e.checked=n)}const R={created(e,{value:t},r){e.checked=s.looseEqual(t,r.props.value),e[D]=getModelAssigner(r),addEventListener(e,"change",()=>{e[D](getValue(e))})},beforeUpdate(e,{value:t,oldValue:r},i){e[D]=getModelAssigner(i),t!==r&&(e.checked=s.looseEqual(t,i.props.value))}},F={deep:!0,created(e,{value:r,modifiers:{number:i}},n){const o=s.isSet(r);addEventListener(e,"change",()=>{const r=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>i?s.looseToNumber(getValue(e)):getValue(e));e[D](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,t.nextTick(()=>{e._assigning=!1})}),e[D]=getModelAssigner(n)},mounted(e,{value:t}){setSelected(e,t)},beforeUpdate(e,t,s){e[D]=getModelAssigner(s)},updated(e,{value:t}){e._assigning||setSelected(e,t)}};function setSelected(e,t){const r=e.multiple,i=s.isArray(t);if(!r||i||s.isSet(t)){for(let n=0,o=e.options.length;n<o;n++){const o=e.options[n],a=getValue(o);if(r)if(i){const e=typeof a;o.selected="string"===e||"number"===e?t.some(e=>String(e)===String(a)):s.looseIndexOf(t,a)>-1}else o.selected=t.has(a);else if(s.looseEqual(getValue(o),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}r||-1===e.selectedIndex||(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const U={created(e,t,s){callModelHook(e,t,s,null,"created")},mounted(e,t,s){callModelHook(e,t,s,null,"mounted")},beforeUpdate(e,t,s,r){callModelHook(e,t,s,r,"beforeUpdate")},updated(e,t,s,r){callModelHook(e,t,s,r,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return F;case"TEXTAREA":return B;default:switch(t){case"checkbox":return L;case"radio":return R;default:return B}}}function callModelHook(e,t,s,r,i){const n=resolveDynamicModel(e.tagName,s.props&&s.props.type)[i];n&&n(e,t,s,r)}const H=["ctrl","shift","alt","meta"],K={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>H.some(s=>e[`${s}Key`]&&!t.includes(s))},V={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},W=s.extend({patchProp:patchProp},n);let j,G=!1;function ensureRenderer(){return j||(j=t.createRenderer(W))}function ensureHydrationRenderer(){return j=G?j:t.createHydrationRenderer(W),G=!0,j}const render=(...e)=>{ensureRenderer().render(...e)},createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:r}=t;return t.mount=e=>{const i=normalizeContainer(e);if(!i)return;const n=t._component;s.isFunction(n)||n.render||n.template||(n.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=r(i,!1,resolveRootNamespace(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:s}=t;return t.mount=e=>{const t=normalizeContainer(e);if(t)return s(t,!0,resolveRootNamespace(t))},t};function resolveRootNamespace(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function normalizeContainer(e){if(s.isString(e)){return document.querySelector(e)}return e}let Q=!1;e.Transition=h,e.TransitionGroup=M,e.VueElement=VueElement,e.createApp=createApp,e.createSSRApp=createSSRApp,e.defineCustomElement=defineCustomElement,e.defineSSRCustomElement=(e,t)=>defineCustomElement(e,t,createSSRApp),e.hydrate=(...e)=>{ensureHydrationRenderer().hydrate(...e)},e.initDirectivesForSSR=()=>{Q||(Q=!0,B.getSSRProps=({value:e})=>({value:e}),R.getSSRProps=({value:e},t)=>{if(t.props&&s.looseEqual(t.props.value,e))return{checked:!0}},L.getSSRProps=({value:e},t)=>{if(s.isArray(e)){if(t.props&&s.looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(s.isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},U.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const s=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);return s.getSSRProps?s.getSSRProps(e,t):void 0},f.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},e.nodeOps=n,e.patchProp=patchProp,e.render=render,e.useCssModule=function(e="$style"){{const r=t.getCurrentInstance();if(!r)return s.EMPTY_OBJ;const i=r.type.__cssModules;if(!i)return s.EMPTY_OBJ;const n=i[e];return n||s.EMPTY_OBJ}},e.useCssVars=function(e){},e.useHost=useHost,e.useShadowRoot=function(){const e=useHost();return e&&e.shadowRoot},e.vModelCheckbox=L,e.vModelDynamic=U,e.vModelRadio=R,e.vModelSelect=F,e.vModelText=B,e.vShow=f,e.withKeys=(e,t)=>{const r=e._withKeys||(e._withKeys={}),i=t.join(".");return r[i]||(r[i]=r=>{if(!("key"in r))return;const i=s.hyphenate(r.key);return t.some(e=>e===i||V[e]===i)?e(r):void 0})},e.withModifiers=(e,t)=>{const s=e._withMods||(e._withMods={}),r=t.join(".");return s[r]||(s[r]=(s,...r)=>{for(let e=0;e<t.length;e++){const r=K[t[e]];if(r&&r(s,t))return}return e(s,...r)})},Object.keys(t).forEach(function(s){"default"===s||Object.prototype.hasOwnProperty.call(e,s)||(e[s]=t[s])})}(xr),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=D,s=xr,r=A;function _interopNamespaceDefault(e){var t=Object.create(null);if(e)for(var s in e)t[s]=e[s];return t.default=e,Object.freeze(t)}var i=_interopNamespaceDefault(s);const n=Object.create(null);function compileToFunction(e,s){if(!r.isString(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const o=r.genCacheKey(e,s),a=n[o];if(a)return a;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const c=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},s);c.isCustomElement||"undefined"==typeof customElements||(c.isCustomElement=e=>!!customElements.get(e));const{code:l}=t.compile(e,c),p=new Function("Vue",l)(i);return p._rc=!0,n[o]=p}s.registerRuntimeCompiler(compileToFunction),e.compile=compileToFunction,Object.keys(s).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(e,t)||(e[t]=s[t])})}(M),O.exports=M;var Sn=O.exports;const VueResolver=(e,t)=>Sn.isRef(t)?Sn.toValue(t):t;function createHead(e={}){const t=function(e={}){const t=createUnhead({...e,document:!1,propResolvers:[...e.propResolvers||[],(e,t)=>e&&e.startsWith("on")&&"function"==typeof t?`this.dataset.${e}fired = true`:t],init:[e.disableDefaults?void 0:{htmlAttrs:{lang:"en"},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"}]},...e.init||[]]});return t._ssrPayload={},t.use({key:"server",hooks:{"tags:resolve":function(e){const s=e.tagMap.get("title"),r=e.tagMap.get("titleTemplate");let i={title:"server"===s?.mode?t._title:void 0,titleTemplate:"server"===r?.mode?t._titleTemplate:void 0};Object.keys(t._ssrPayload||{}).length>0&&(i={...t._ssrPayload,...i}),Object.values(i).some(Boolean)&&e.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}}),t}({...e,propResolvers:[VueResolver]});return t.install=function(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide("usehead",e)}}.install}(t),t}const In={meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width,initial-scale=1.0"},{name:"theme-color",content:"#FEE439"},{name:"description",content:"AI生成PPT动态逻辑图,数十种专业逻辑图布局、智能图标匹配、自定义样式和动画效果。适用于企业商务、教育培训、市场营销等多种场景。"}],link:[{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"manifest",href:"/site.webmanifest"},{rel:"stylesheet",href:"/fonts/HarmonyOS_Sans_SC_Regular/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/HarmonyOS_Sans_SC_Bold/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/SourceHanSansCN-Regular/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/SourceHanSansCN-Bold/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/SourceHanSerifCN-Regular/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/SourceHanSerifCN-Bold/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/HanaMinA/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/LXGWWenKai-Regular/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/YouSheBiaoTiHei/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/TsangerYuYangT-W02/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/TsangerYuYangT-W04/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/jiangxizhuokai/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/SmilySans-Oblique/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/Slidexiaxing/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/YSHaoShenTi/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/HappyZcool-2016/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/DouyinSansBold/result.css",media:"print",onload:"this.media='all'"},{rel:"stylesheet",href:"/fonts/AlimamaShuHeiTi-Bold/result.css",media:"print",onload:"this.media='all'"}],style:[],script:[{type:"text/javascript",innerHTML:"\n window.AliyunCaptchaConfig = {\n region: \"cn\",\n prefix: 'undefined',\n };\n "},{src:"https://turing.captcha.qcloud.com/TCaptcha.js"}],noscript:[]},bn={id:"teleports"},Tn={id:"__nuxt-loader"};function buildAssetsURL(...e){return s(publicAssetsURL(),r().app.buildAssetsDir,...e)}function publicAssetsURL(...e){const t=r().app,i=t.cdnURL||t.baseURL;return e.length?s(i,...e):i}const Pn=`<div${propsToString({id:"__nuxt"})}>`,vn=function(e){let t=null;return()=>(null===t&&(t=e().catch(e=>{throw t=null,e})),t)}(async()=>{const e=await import("../build/client.precomputed.mjs").then(e=>e.default||e).then(e=>"function"==typeof e?e():e),t=await import("../virtual/_virtual_spa-template.mjs").then(e=>e.template).catch(()=>"").then(e=>{{const t=`<div${propsToString(Tn)}>`;return Pn+"</div>"+(e?t+e+"</div>":"")}}),s=createRenderer$1(()=>()=>{},{precomputed:e,manifest:void 0,renderToString:()=>t,buildAssetsURL:buildAssetsURL}),i=await s.renderToString({});return{rendererContext:s.rendererContext,renderToString:e=>{const t=r(e.event);return e.modules||=new Set,e.payload.serverRendered=!1,e.config={public:t.public,app:t.app},Promise.resolve(i)}}});const wn={"<":"\\u003C","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u2028":"\\u2028","\u2029":"\\u2029"};class DevalueError extends Error{constructor(e,t,s,r){super(e),this.name="DevalueError",this.path=t.join(""),this.value=s,this.root=r}}function is_primitive(e){return Object(e)!==e}const Nn=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function is_plain_object(e){const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)||Object.getOwnPropertyNames(t).sort().join("\0")===Nn}function get_type(e){return Object.prototype.toString.call(e).slice(8,-1)}function get_escaped_char(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function stringify_string(e){let t="",s=0;const r=e.length;for(let i=0;i<r;i+=1){const r=get_escaped_char(e[i]);r&&(t+=e.slice(s,i)+r,s=i+1)}return`"${0===s?e:t+e.slice(s)}"`}function enumerable_symbols(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}const kn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function stringify_key(e){return kn.test(e)?"."+e:"["+JSON.stringify(e)+"]"}const _n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$",On=/[<\b\f\n\r\t\0\u2028\u2029]/g,Mn=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;function uneval(e,t){const s=new Map,r=[],i=new Map;!function walk(t){if(!is_primitive(t)){if(s.has(t))return void s.set(t,s.get(t)+1);if(s.set(t,1),"function"==typeof t)throw new DevalueError("Cannot stringify a function",r,t,e);switch(get_type(t)){case"Number":case"BigInt":case"String":case"Boolean":case"Date":case"RegExp":case"URL":case"URLSearchParams":case"ArrayBuffer":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":return;case"Array":t.forEach((e,t)=>{r.push(`[${t}]`),walk(e),r.pop()});break;case"Set":Array.from(t).forEach(walk);break;case"Map":for(const[e,s]of t)r.push(`.get(${is_primitive(e)?stringify_primitive$1(e):"..."})`),walk(s),r.pop();break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return void walk(t.buffer);default:if(!is_plain_object(t))throw new DevalueError("Cannot stringify arbitrary non-POJOs",r,t,e);if(enumerable_symbols(t).length>0)throw new DevalueError("Cannot stringify POJOs with symbolic keys",r,t,e);for(const e in t)r.push(stringify_key(e)),walk(t[e]),r.pop()}}}(e);const n=new Map;function stringify(e){if(n.has(e))return n.get(e);if(is_primitive(e))return stringify_primitive$1(e);if(i.has(e))return i.get(e);const t=get_type(e);switch(t){case"Number":case"String":case"Boolean":return`Object(${stringify(e.valueOf())})`;case"RegExp":return`new RegExp(${stringify_string(e.source)}, "${e.flags}")`;case"Date":return`new Date(${e.getTime()})`;case"URL":return`new URL(${stringify_string(e.toString())})`;case"URLSearchParams":return`new URLSearchParams(${stringify_string(e.toString())})`;case"Array":const r=e.map((t,s)=>s in e?stringify(t):""),i=0===e.length||e.length-1 in e?"":",";return`[${r.join(",")}${i}]`;case"Set":case"Map":return`new ${t}([${Array.from(e).map(stringify).join(",")}])`;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{let r=`new ${t}`;if(1===s.get(e.buffer)){r+=`([${new e.constructor(e.buffer)}])`}else r+=`([${stringify(e.buffer)}])`;const i=e.byteOffset,n=i+e.byteLength;if(i>0||n!==e.buffer.byteLength){const e=+/(\d+)/.exec(t)[1]/8;r+=`.subarray(${i/e},${n/e})`}return r}case"ArrayBuffer":return`new Uint8Array([${new Uint8Array(e).toString()}]).buffer`;case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":return`${t}.from(${stringify_string(e.toString())})`;default:const n=Object.keys(e),o=n.map(t=>`${function(e){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(e)?e:escape_unsafe_chars(JSON.stringify(e))}(t)}:${stringify(e[t])}`).join(",");return null===Object.getPrototypeOf(e)?n.length>0?`{${o},__proto__:null}`:"{__proto__:null}":`{${o}}`}}Array.from(s).filter(e=>e[1]>1).sort((e,t)=>t[1]-e[1]).forEach((e,t)=>{n.set(e[0],function(e){let t="";do{t=_n[e%54]+t,e=~~(e/54)-1}while(e>=0);return Mn.test(t)?`${t}0`:t}(t))});const o=stringify(e);if(n.size){const e=[],t=[],s=[];return n.forEach((r,n)=>{if(e.push(r),i.has(n))return void s.push(i.get(n));if(is_primitive(n))return void s.push(stringify_primitive$1(n));switch(get_type(n)){case"Number":case"String":case"Boolean":s.push(`Object(${stringify(n.valueOf())})`);break;case"RegExp":s.push(n.toString());break;case"Date":s.push(`new Date(${n.getTime()})`);break;case"Array":s.push(`Array(${n.length})`),n.forEach((e,s)=>{t.push(`${r}[${s}]=${stringify(e)}`)});break;case"Set":s.push("new Set"),t.push(`${r}.${Array.from(n).map(e=>`add(${stringify(e)})`).join(".")}`);break;case"Map":s.push("new Map"),t.push(`${r}.${Array.from(n).map(([e,t])=>`set(${stringify(e)}, ${stringify(t)})`).join(".")}`);break;case"ArrayBuffer":s.push(`new Uint8Array([${new Uint8Array(n).join(",")}]).buffer`);break;default:s.push(null===Object.getPrototypeOf(n)?"Object.create(null)":"{}"),Object.keys(n).forEach(e=>{t.push(`${r}${function(e){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(e)?`.${e}`:`[${escape_unsafe_chars(JSON.stringify(e))}]`}(e)}=${stringify(n[e])}`)})}}),t.push(`return ${o}`),`(function(${e.join(",")}){${t.join(";")}}(${s.join(",")}))`}return o}function escape_unsafe_char(e){return wn[e]||e}function escape_unsafe_chars(e){return e.replace(On,escape_unsafe_char)}function stringify_primitive$1(e){if("string"==typeof e)return stringify_string(e);if(void 0===e)return"void 0";if(0===e&&1/e<0)return"-0";const t=String(e);return"number"==typeof e?t.replace(/^(-)?0\./,"$1."):"bigint"==typeof e?e+"n":t}function encode64(e){const t=new DataView(e);let s="";for(let r=0;r<e.byteLength;r++)s+=String.fromCharCode(t.getUint8(r));return function(e){let t="";for(let s=0;s<e.length;s+=3){const r=[void 0,void 0,void 0,void 0];r[0]=e.charCodeAt(s)>>2,r[1]=(3&e.charCodeAt(s))<<4,e.length>s+1&&(r[1]|=e.charCodeAt(s+1)>>4,r[2]=(15&e.charCodeAt(s+1))<<2),e.length>s+2&&(r[2]|=e.charCodeAt(s+2)>>6,r[3]=63&e.charCodeAt(s+2));for(let e=0;e<r.length;e++)void 0===r[e]?t+="=":t+=Dn[r[e]]}return t}(s)}const Dn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function stringify(e,t){const s=[],r=new Map,i=[];if(t)for(const e of Object.getOwnPropertyNames(t))i.push({key:e,fn:t[e]});const n=[];let o=0;const a=function flatten(t){if(void 0===t)return-1;if(Number.isNaN(t))return-3;if(t===1/0)return-4;if(t===-1/0)return-5;if(0===t&&1/t<0)return-6;if(r.has(t))return r.get(t);const a=o++;r.set(t,a);for(const{key:e,fn:r}of i){const i=r(t);if(i)return s[a]=`["${e}",${flatten(i)}]`,a}if("function"==typeof t)throw new DevalueError("Cannot stringify a function",n,t,e);let c="";if(is_primitive(t))c=stringify_primitive(t);else{const s=get_type(t);switch(s){case"Number":case"String":case"Boolean":c=`["Object",${stringify_primitive(t)}]`;break;case"BigInt":c=`["BigInt",${t}]`;break;case"Date":c=`["Date","${!isNaN(t.getDate())?t.toISOString():""}"]`;break;case"URL":c=`["URL",${stringify_string(t.toString())}]`;break;case"URLSearchParams":c=`["URLSearchParams",${stringify_string(t.toString())}]`;break;case"RegExp":const{source:r,flags:i}=t;c=i?`["RegExp",${stringify_string(r)},"${i}"]`:`["RegExp",${stringify_string(r)}]`;break;case"Array":c="[";for(let e=0;e<t.length;e+=1)e>0&&(c+=","),e in t?(n.push(`[${e}]`),c+=flatten(t[e]),n.pop()):c+=-2;c+="]";break;case"Set":c='["Set"';for(const e of t)c+=`,${flatten(e)}`;c+="]";break;case"Map":c='["Map"';for(const[e,s]of t)n.push(`.get(${is_primitive(e)?stringify_primitive(e):"..."})`),c+=`,${flatten(e)},${flatten(s)}`,n.pop();c+="]";break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const e=t;c='["'+s+'",'+flatten(e.buffer);const r=t.byteOffset,i=r+t.byteLength;if(r>0||i!==e.buffer.byteLength){const e=+/(\d+)/.exec(s)[1]/8;c+=`,${r/e},${i/e}`}c+="]";break}case"ArrayBuffer":c=`["ArrayBuffer","${encode64(t)}"]`;break;case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":c=`["${s}",${stringify_string(t.toString())}]`;break;default:if(!is_plain_object(t))throw new DevalueError("Cannot stringify arbitrary non-POJOs",n,t,e);if(enumerable_symbols(t).length>0)throw new DevalueError("Cannot stringify POJOs with symbolic keys",n,t,e);if(null===Object.getPrototypeOf(t)){c='["null"';for(const e in t)n.push(stringify_key(e)),c+=`,${stringify_string(e)},${flatten(t[e])}`,n.pop();c+="]"}else{c="{";let e=!1;for(const s in t)e&&(c+=","),e=!0,n.push(stringify_key(s)),c+=`${stringify_string(s)}:${flatten(t[s])}`,n.pop();c+="}"}}}return s[a]=c,a}(e);return a<0?`${a}`:`[${s.join(",")}]`}function stringify_primitive(e){const t=typeof e;return"string"===t?stringify_string(e):e instanceof String?stringify_string(e.toString()):void 0===e?(-1).toString():0===e&&1/e<0?(-6).toString():"bigint"===t?`["BigInt","${e}"]`:String(e)}function renderPayloadJsonScript(e){const t={type:"application/json",innerHTML:e.data?stringify(e.data,e.ssrContext["~payloadReducers"]):"","data-nuxt-data":"nuxt-app","data-ssr":!1,id:"__NUXT_DATA__"};e.src&&(t["data-src"]=e.src);return[t,{innerHTML:`window.__NUXT__={};window.__NUXT__.config=${uneval(e.ssrContext.config)}`}]}function splitPayload(e){const{data:t,prerenderedAt:s,...r}=e.payload;return{initial:{...r,prerenderedAt:s},payload:{data:t,prerenderedAt:s}}}const Bn={disableDefaults:!0};const Ln={};globalThis.__buildAssetsURL=buildAssetsURL,globalThis.__publicAssetsURL=publicAssetsURL;const Rn=!!bn.id,Fn=Rn?`<div${propsToString(bn)}>`:"",Un=Rn?"</div>":"",Hn=/^[^?]*\/_payload.json(?:\?.*)?$/,Kn=a(async e=>{const t=d(),s=e.path.startsWith("/__nuxt_error")?c(e):null;if(s&&!("__unenv__"in e.node.req))throw l({status:404,statusText:"Page Not Found: /__nuxt_error",message:"Page Not Found: /__nuxt_error"});const a=function(e){return{url:o(e.path),event:e,runtimeConfig:r(e),noSSR:!0,head:createHead(Bn),error:!1,nuxt:void 0,payload:{},"~payloadReducers":Object.create(null),modules:new Set}}(e),A={mode:"server"};if(a.head.push(In,A),s){const e=s.status||s.statusCode;if(e&&(s.status=s.statusCode=Number.parseInt(e)),"string"==typeof s.data)try{s.data=p(s.data)}catch{}!function(e,t){e.error=!0,e.payload={error:t},e.url=t.url}(a,s)}const m=h(e),f=!a.noSSR&&false,g=!!f&&Hn.test(a.url);if(g){const t=a.url.substring(0,a.url.lastIndexOf("/"))||"/";a.url=t,e._path=e.node.req.url=t}!1===m.ssr&&(a.noSSR=!0);const y=f?u(a.runtimeConfig.app.cdnURL||a.runtimeConfig.app.baseURL,a.url.replace(/\?.*$/,""),"_payload.json")+"?"+a.runtimeConfig.app.buildId:void 0,x=await vn(),C=await x.renderToString(a).catch(async e=>{if((a["~renderResponse"]||a._renderResponse)&&"skipping render"===e.message)return{};const t=!s&&a.payload?.error||e;throw await(a.nuxt?.hooks.callHook("app:error",t)),t}),E=[];if(await(a.nuxt?.hooks.callHook("app:rendered",{ssrContext:a,renderResult:C})),a["~renderResponse"]||a._renderResponse)return a["~renderResponse"]||a._renderResponse;if(a.payload?.error&&!s)throw a.payload.error;if(g){const e=function(e){return{body:stringify(splitPayload(e).payload,e["~payloadReducers"]),statusCode:n(e.event),statusMessage:i(e.event),headers:{"content-type":"application/json;charset=utf-8","x-powered-by":"Nuxt"}}}(a);return e}const S=m.noScripts,{styles:I,scripts:b}=getRequestDependencies(a,x.rendererContext);f&&!S&&a.head.push({link:[{rel:"preload",as:"fetch",crossorigin:"anonymous",href:y}]},A),a["~preloadManifest"]&&!S&&a.head.push({link:[{rel:"preload",as:"fetch",fetchpriority:"low",crossorigin:"anonymous",href:buildAssetsURL(`builds/meta/${a.runtimeConfig.app.buildId}.json`)}]},{...A,tagPriority:"low"}),E.length&&a.head.push({style:E});const T=[];for(const e of Object.values(I))T.push({rel:"stylesheet",href:x.rendererContext.buildAssetsURL(e.file),crossorigin:""});if(T.length&&a.head.push({link:T},A),!S){if(a["~lazyHydratedModules"])for(const e of a["~lazyHydratedModules"])a.modules?.delete(e);a.head.push({link:getPreloadLinks(a,x.rendererContext)},A),a.head.push({link:getPrefetchLinks(a,x.rendererContext)},A),a.head.push({script:renderPayloadJsonScript(f?{ssrContext:a,data:splitPayload(a).initial,src:y}:{ssrContext:a,data:a.payload})},{...A,tagPosition:"bodyClose",tagPriority:"high"})}if(!m.noScripts){const e="head";a.head.push({script:Object.values(b).map(t=>({type:t.module?"module":null,src:x.rendererContext.buildAssetsURL(t.file),defer:!t.module||null,tagPosition:e,crossorigin:""}))},A)}const{headTags:P,bodyTags:v,bodyTagsOpen:w,htmlAttrs:N,bodyAttrs:k}=await renderSSRHead(a.head,Ln),_={htmlAttrs:N?[N]:[],head:normalizeChunks([P]),bodyAttrs:k?[k]:[],bodyPrepend:normalizeChunks([w,a.teleports?.body]),body:[C.html,Fn+(Rn?joinTags([a.teleports?.[`#${bn.id}`]]):"")+Un],bodyAppend:[v]};return await t.hooks.callHook("render:html",_,{event:e}),{body:(O=_,`<!DOCTYPE html><html${joinAttrs(O.htmlAttrs)}><head>${joinTags(O.head)}</head><body${joinAttrs(O.bodyAttrs)}>${joinTags(O.bodyPrepend)}${joinTags(O.body)}${joinTags(O.bodyAppend)}</body></html>`),statusCode:n(e),statusMessage:i(e),headers:{"content-type":"text/html;charset=utf-8","x-powered-by":"Nuxt"}};var O});function normalizeChunks(e){const t=[];for(const s of e){const e=s?.trim();e&&t.push(e)}return t}function joinTags(e){return e.join("")}function joinAttrs(e){return 0===e.length?"":" "+e.join(" ")}export{Kn as default};