const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-XV-ldwVs.js","./html-DQt1crSz.js","./javascript-DFxyEsuO.js","./css-6ydISZ1j.js","./typescript-6msxI5qU.js","./json-BLmTiKMJ.js","./vue-html-ecI6esm2.js","./components-Dm_TuQrk.js","./index-Du4z9Epn.css","./pinia-DBkBZRDw.js","./router-BWwb-kdR.js","./pages-Cfw0cMHw.js","./SectionBlock-B1R4b7tt.js","./IconTitle.vue_vue_type_script_setup_true_lang-DcR_j93Q.js","./SectionBlock-DgJtAf6B.css","./timeline-Bv_iMyQp.js","./timeline-DQ8UE2TV.css","./assets-S8Q3GKEH.js","./settings-D9ZHJ1mK.js","./custom-inspector-tab-view-DPepFobO.js"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const nT="modulepreload",sT=function(t,e){return new URL(t,e).href},Ag={},vs=function(e,n,r){let a=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");a=Promise.allSettled(n.map(u=>{if(u=sT(u,r),u in Ag)return;Ag[u]=!0;const p=u.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const v=s[f];if(v.href===u&&(!p||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":nT,p||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),p)return new Promise((f,v)=>{m.addEventListener("load",f),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(s){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s}return a.then(s=>{for(const o of s||[])o.status==="rejected"&&i(o.reason);return e().catch(i)})};var iT=Object.create,Xy=Object.defineProperty,oT=Object.getOwnPropertyDescriptor,V5=Object.getOwnPropertyNames,aT=Object.getPrototypeOf,lT=Object.prototype.hasOwnProperty,cT=(t,e)=>function(){return t&&(e=(0,t[V5(t)[0]])(t=0)),e},uT=(t,e)=>function(){return e||(0,t[V5(t)[0]])((e={exports:{}}).exports,e),e.exports},pT=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of V5(e))!lT.call(t,a)&&a!==n&&Xy(t,a,{get:()=>e[a],enumerable:!(r=oT(e,a))||r.enumerable});return t},hT=(t,e,n)=>(n=t!=null?iT(aT(t)):{},pT(Xy(n,"default",{value:t,enumerable:!0}),t)),Yu=cT({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),fT=uT({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(t,e){Yu(),e.exports=r;function n(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function r(i){if(i=i||{},i.circles)return a(i);const s=new Map;if(s.set(Date,h=>new Date(h)),s.set(Map,(h,d)=>new Map(l(Array.from(h),d))),s.set(Set,(h,d)=>new Set(l(Array.from(h),d))),i.constructorHandlers)for(const h of i.constructorHandlers)s.set(h[0],h[1]);let o=null;return i.proto?p:u;function l(h,d){const m=Object.keys(h),f=new Array(m.length);for(let v=0;vnew Date(m)),l.set(Map,(m,f)=>new Map(p(Array.from(m),f))),l.set(Set,(m,f)=>new Set(p(Array.from(m),f))),i.constructorHandlers)for(const m of i.constructorHandlers)l.set(m[0],m[1]);let u=null;return i.proto?d:h;function p(m,f){const v=Object.keys(m),C=new Array(v.length);for(let E=0;Enavigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),gT=/(?:^|[-_/])(\w)/g,vT=/-(\w)/g,yT=/([a-z0-9])([A-Z])/g;function Qy(t,e){return e?e.toUpperCase():""}function Zy(t){return t&&`${t}`.replace(gT,Qy)}function bT(t){return t&&t.replace(vT,Qy)}function CT(t){return t&&t.replace(yT,(e,n,r)=>`${n}-${r}`).toLowerCase()}function ET(t,e){let n=t.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${e}`)&&(n=n.replace(`/index${e}`,e));const r=n.lastIndexOf("/"),a=n.substring(r+1);{const i=a.lastIndexOf(e);return a.substring(0,i)}}function e8(t){return t&&t.slice().sort((e,n)=>e.keyn.key?1:0)}var ST=/^https?:\/\//;function xT(t){return t.startsWith("/")||ST.test(t)}var p0=(0,mT.default)({circles:!0});function wT(){return Math.random().toString(36).slice(2)}function Mg(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function Lg(t){return Array.isArray(t)}const TT={trailing:!0};function la(t,e=25,n={}){if(n={...TT,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,a,i=[],s,o;const l=(u,p)=>(s=_T(t,u,p),s.finally(()=>{if(s=null,n.trailing&&o&&!a){const h=l(u,o);return o=null,h}}),s);return function(...u){return s?(n.trailing&&(o=u),s):new Promise(p=>{const h=!a&&n.leading;clearTimeout(a),a=setTimeout(()=>{a=null;const d=n.leading?r:l(this,u);for(const m of i)m(d);i=[]},e),h?(r=l(this,u),p(r)):i.push(p)})}}async function _T(t,e,n){return await t.apply(e,n)}function h0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?h0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}const AT={run:t=>t()},PT=()=>AT,t8=typeof console.createTask<"u"?console.createTask:PT;function MT(t,e){const n=e.shift(),r=t8(n);return t.reduce((a,i)=>a.then(()=>r.run(()=>i(...e))),Promise.resolve())}function LT(t,e){const n=e.shift(),r=t8(n);return Promise.all(t.map(a=>r.run(()=>a(...e))))}function hd(t,e){for(const n of[...t])n(e)}let OT=class{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,n,r={}){if(!e||typeof n!="function")return()=>{};const a=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${a} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,a=(...i)=>(typeof r=="function"&&r(),r=void 0,a=void 0,n(...i));return r=this.hook(e,a),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const a of r)this.hook(e,a)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=h0(e),r=Object.keys(n).map(a=>this.hook(a,n[a]));return()=>{for(const a of r.splice(0,r.length))a()}}removeHooks(e){const n=h0(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(MT,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(LT,e,...n)}callHookWith(e,n,...r){const a=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&hd(this._before,a);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&a&&hd(this._after,a)}):(this._after&&a&&hd(this._after,a),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}};function r8(){return new OT}const Og="q",Ig="s",IT=6e4;function n8(t){return t}const kT=n8,{clearTimeout:zT,setTimeout:NT}=globalThis,VT=Math.random.bind(Math);function HT(t,e){const{post:n,on:r,off:a=()=>{},eventNames:i=[],serialize:s=n8,deserialize:o=kT,resolver:l,bind:u="rpc",timeout:p=IT}=e,h=new Map;let d,m=!1;const f=new Proxy({},{get(E,x){if(x==="$functions")return t;if(x==="$close")return v;if(x==="then"&&!i.includes("then")&&!("then"in t))return;const g=(...b)=>{n(s({m:x,a:b,t:Og}))};if(i.includes(x))return g.asEvent=g,g;const w=async(...b)=>{if(m)throw new Error(`[birpc] rpc is closed, cannot call "${x}"`);if(d)try{await d}finally{d=void 0}return new Promise((A,T)=>{const O=RT();let I;p>=0&&(I=NT(()=>{try{if(e.onTimeoutError?.(x,b)!==!0)throw new Error(`[birpc] timeout on calling "${x}"`)}catch(z){T(z)}h.delete(O)},p),typeof I=="object"&&(I=I.unref?.())),h.set(O,{resolve:A,reject:T,timeoutId:I,method:x}),n(s({m:x,a:b,i:O,t:"q"}))})};return w.asEvent=g,w}});function v(E){m=!0,h.forEach(({reject:x,method:g})=>{x(E||new Error(`[birpc] rpc is closed, cannot call "${g}"`))}),h.clear(),a(C)}async function C(E,...x){let g;try{g=o(E)}catch(w){if(e.onGeneralError?.(w)!==!0)throw w;return}if(g.t===Og){const{m:w,a:b}=g;let A,T;const O=l?l(w,t[w]):t[w];if(!O)T=new Error(`[birpc] function "${w}" not found`);else try{A=await O.apply(u==="rpc"?f:t,b)}catch(I){T=I}if(g.i){if(T&&e.onError&&e.onError(T,w,b),T&&e.onFunctionError&&e.onFunctionError(T,w,b)===!0)return;if(!T)try{n(s({t:Ig,i:g.i,r:A}),...x);return}catch(I){if(T=I,e.onGeneralError?.(I,w,b)!==!0)throw I}try{n(s({t:Ig,i:g.i,e:T}),...x)}catch(I){if(e.onGeneralError?.(I,w,b)!==!0)throw I}}}else{const{i:w,r:b,e:A}=g,T=h.get(w);T&&(zT(T.timeoutId),A?T.reject(A):T.resolve(b)),h.delete(w)}}return d=r(C),f}const DT="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function RT(t=21){let e="",n=t;for(;n--;)e+=DT[VT()*64|0];return e}/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Ch(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const xn={},Nc=[],Zi=()=>{},jT=()=>!1,Ju=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),H5=t=>t.startsWith("onUpdate:"),ts=Object.assign,D5=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},BT=Object.prototype.hasOwnProperty,zn=(t,e)=>BT.call(t,e),Cr=Array.isArray,Vc=t=>l1(t)==="[object Map]",Ul=t=>l1(t)==="[object Set]",kg=t=>l1(t)==="[object Date]",FT=t=>l1(t)==="[object RegExp]",Br=t=>typeof t=="function",us=t=>typeof t=="string",ho=t=>typeof t=="symbol",Wn=t=>t!==null&&typeof t=="object",R5=t=>(Wn(t)||Br(t))&&Br(t.then)&&Br(t.catch),s8=Object.prototype.toString,l1=t=>s8.call(t),$T=t=>l1(t).slice(8,-1),Eh=t=>l1(t)==="[object Object]",j5=t=>us(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Hc=Ch(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sh=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},UT=/-(\w)/g,ai=Sh(t=>t.replace(UT,(e,n)=>n?n.toUpperCase():"")),qT=/\B([A-Z])/g,Li=Sh(t=>t.replace(qT,"-$1").toLowerCase()),Qu=Sh(t=>t.charAt(0).toUpperCase()+t.slice(1)),Z1=Sh(t=>t?`on${Qu(t)}`:""),xi=(t,e)=>!Object.is(t,e),Dc=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Lp=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Op=t=>{const e=us(t)?Number(t):NaN;return isNaN(e)?t:e};let zg;const xh=()=>zg||(zg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),WT="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",GT=Ch(WT);function Gs(t){if(Cr(t)){const e={};for(let n=0;n{if(n){const r=n.split(XT);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Wr(t){let e="";if(us(t))e=t;else if(Cr(t))for(let n=0;nYa(n,e))}const a8=t=>!!(t&&t.__v_isRef===!0),hn=t=>us(t)?t:t==null?"":Cr(t)||Wn(t)&&(t.toString===s8||!Br(t.toString))?a8(t)?hn(t.value):JSON.stringify(t,l8,2):String(t),l8=(t,e)=>a8(e)?l8(t,e.value):Vc(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,a],i)=>(n[fd(r,i)+" =>"]=a,n),{})}:Ul(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>fd(n))}:ho(e)?fd(e):Wn(e)&&!Cr(e)&&!Eh(e)?String(e):e,fd=(t,e="")=>{var n;return ho(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Si;class B5{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Si,!e&&Si&&(this.index=(Si.scopes||(Si.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0)return;if(tu){let e=tu;for(tu=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;eu;){let e=eu;for(eu=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function p8(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function h8(t){let e,n=t.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),q5(r),r_(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}t.deps=e,t.depsTail=n}function f0(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(f8(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function f8(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Cu))return;t.globalVersion=Cu;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!f0(t)){t.flags&=-3;return}const n=cs,r=co;cs=t,co=!0;try{p8(t);const a=t.fn(t._value);(e.version===0||xi(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{cs=n,co=r,h8(t),t.flags&=-3}}function q5(t,e=!1){const{dep:n,prevSub:r,nextSub:a}=t;if(r&&(r.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)q5(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function r_(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function n_(t,e){t.effect instanceof bu&&(t=t.effect.fn);const n=new bu(t);e&&ts(n,e);try{n.run()}catch(a){throw n.stop(),a}const r=n.run.bind(n);return r.effect=n,r}function s_(t){t.effect.stop()}let co=!0;const d8=[];function nl(){d8.push(co),co=!1}function sl(){const t=d8.pop();co=t===void 0?!0:t}function Ng(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=cs;cs=void 0;try{e()}finally{cs=n}}}let Cu=0;class i_{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ah{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}track(e){if(!cs||!co||cs===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==cs)n=this.activeLink=new i_(cs,this),cs.deps?(n.prevDep=cs.depsTail,cs.depsTail.nextDep=n,cs.depsTail=n):cs.deps=cs.depsTail=n,m8(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=cs.depsTail,n.nextDep=void 0,cs.depsTail.nextDep=n,cs.depsTail=n,cs.deps===n&&(cs.deps=r)}return n}trigger(e){this.version++,Cu++,this.notify(e)}notify(e){$5();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{U5()}}}function m8(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)m8(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Ip=new WeakMap,kl=Symbol(""),d0=Symbol(""),Eu=Symbol("");function hi(t,e,n){if(co&&cs){let r=Ip.get(t);r||Ip.set(t,r=new Map);let a=r.get(n);a||(r.set(n,a=new Ah),a.map=r,a.key=n),a.track()}}function ta(t,e,n,r,a,i){const s=Ip.get(t);if(!s){Cu++;return}const o=l=>{l&&l.trigger()};if($5(),e==="clear")s.forEach(o);else{const l=Cr(t),u=l&&j5(n);if(l&&n==="length"){const p=Number(r);s.forEach((h,d)=>{(d==="length"||d===Eu||!ho(d)&&d>=p)&&o(h)})}else switch((n!==void 0||s.has(void 0))&&o(s.get(n)),u&&o(s.get(Eu)),e){case"add":l?u&&o(s.get("length")):(o(s.get(kl)),Vc(t)&&o(s.get(d0)));break;case"delete":l||(o(s.get(kl)),Vc(t)&&o(s.get(d0)));break;case"set":Vc(t)&&o(s.get(kl));break}}U5()}function o_(t,e){const n=Ip.get(t);return n&&n.get(e)}function xc(t){const e=Cn(t);return e===t?e:(hi(e,"iterate",Eu),ji(t)?e:e.map(fi))}function Ph(t){return hi(t=Cn(t),"iterate",Eu),t}const a_={__proto__:null,[Symbol.iterator](){return md(this,Symbol.iterator,fi)},concat(...t){return xc(this).concat(...t.map(e=>Cr(e)?xc(e):e))},entries(){return md(this,"entries",t=>(t[1]=fi(t[1]),t))},every(t,e){return Xo(this,"every",t,e,void 0,arguments)},filter(t,e){return Xo(this,"filter",t,e,n=>n.map(fi),arguments)},find(t,e){return Xo(this,"find",t,e,fi,arguments)},findIndex(t,e){return Xo(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Xo(this,"findLast",t,e,fi,arguments)},findLastIndex(t,e){return Xo(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Xo(this,"forEach",t,e,void 0,arguments)},includes(...t){return gd(this,"includes",t)},indexOf(...t){return gd(this,"indexOf",t)},join(t){return xc(this).join(t)},lastIndexOf(...t){return gd(this,"lastIndexOf",t)},map(t,e){return Xo(this,"map",t,e,void 0,arguments)},pop(){return j1(this,"pop")},push(...t){return j1(this,"push",t)},reduce(t,...e){return Vg(this,"reduce",t,e)},reduceRight(t,...e){return Vg(this,"reduceRight",t,e)},shift(){return j1(this,"shift")},some(t,e){return Xo(this,"some",t,e,void 0,arguments)},splice(...t){return j1(this,"splice",t)},toReversed(){return xc(this).toReversed()},toSorted(t){return xc(this).toSorted(t)},toSpliced(...t){return xc(this).toSpliced(...t)},unshift(...t){return j1(this,"unshift",t)},values(){return md(this,"values",fi)}};function md(t,e,n){const r=Ph(t),a=r[e]();return r!==t&&!ji(t)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.value&&(i.value=n(i.value)),i}),a}const l_=Array.prototype;function Xo(t,e,n,r,a,i){const s=Ph(t),o=s!==t&&!ji(t),l=s[e];if(l!==l_[e]){const h=l.apply(t,i);return o?fi(h):h}let u=n;s!==t&&(o?u=function(h,d){return n.call(this,fi(h),d,t)}:n.length>2&&(u=function(h,d){return n.call(this,h,d,t)}));const p=l.call(s,u,r);return o&&a?a(p):p}function Vg(t,e,n,r){const a=Ph(t);let i=n;return a!==t&&(ji(t)?n.length>3&&(i=function(s,o,l){return n.call(this,s,o,l,t)}):i=function(s,o,l){return n.call(this,s,fi(o),l,t)}),a[e](i,...r)}function gd(t,e,n){const r=Cn(t);hi(r,"iterate",Eu);const a=r[e](...n);return(a===-1||a===!1)&&Ih(n[0])?(n[0]=Cn(n[0]),r[e](...n)):a}function j1(t,e,n=[]){nl(),$5();const r=Cn(t)[e].apply(t,n);return U5(),sl(),r}const c_=Ch("__proto__,__v_isRef,__isVue"),g8=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ho));function u_(t){ho(t)||(t=String(t));const e=Cn(this);return hi(e,"has",t),e.hasOwnProperty(t)}class v8{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const a=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(a?i?x8:S8:i?E8:C8).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const s=Cr(e);if(!a){let l;if(s&&(l=a_[n]))return l;if(n==="hasOwnProperty")return u_}const o=Reflect.get(e,n,Pn(e)?e:r);return(ho(n)?g8.has(n):c_(n))||(a||hi(e,"get",n),i)?o:Pn(o)?s&&j5(n)?o:o.value:Wn(o)?a?da(o):fo(o):o}}class y8 extends v8{constructor(e=!1){super(!1,e)}set(e,n,r,a){let i=e[n];if(!this._isShallow){const l=Ja(i);if(!ji(r)&&!Ja(r)&&(i=Cn(i),r=Cn(r)),!Cr(e)&&Pn(i)&&!Pn(r))return l?!1:(i.value=r,!0)}const s=Cr(e)&&j5(n)?Number(n)t,U2=t=>Reflect.getPrototypeOf(t);function m_(t,e,n){return function(...r){const a=this.__v_raw,i=Cn(a),s=Vc(i),o=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,u=a[t](...r),p=n?m0:e?g0:fi;return!e&&hi(i,"iterate",l?d0:kl),{next(){const{value:h,done:d}=u.next();return d?{value:h,done:d}:{value:o?[p(h[0]),p(h[1])]:p(h),done:d}},[Symbol.iterator](){return this}}}}function q2(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function g_(t,e){const n={get(a){const i=this.__v_raw,s=Cn(i),o=Cn(a);t||(xi(a,o)&&hi(s,"get",a),hi(s,"get",o));const{has:l}=U2(s),u=e?m0:t?g0:fi;if(l.call(s,a))return u(i.get(a));if(l.call(s,o))return u(i.get(o));i!==s&&i.get(a)},get size(){const a=this.__v_raw;return!t&&hi(Cn(a),"iterate",kl),Reflect.get(a,"size",a)},has(a){const i=this.__v_raw,s=Cn(i),o=Cn(a);return t||(xi(a,o)&&hi(s,"has",a),hi(s,"has",o)),a===o?i.has(a):i.has(a)||i.has(o)},forEach(a,i){const s=this,o=s.__v_raw,l=Cn(o),u=e?m0:t?g0:fi;return!t&&hi(l,"iterate",kl),o.forEach((p,h)=>a.call(i,u(p),u(h),s))}};return ts(n,t?{add:q2("add"),set:q2("set"),delete:q2("delete"),clear:q2("clear")}:{add(a){!e&&!ji(a)&&!Ja(a)&&(a=Cn(a));const i=Cn(this);return U2(i).has.call(i,a)||(i.add(a),ta(i,"add",a,a)),this},set(a,i){!e&&!ji(i)&&!Ja(i)&&(i=Cn(i));const s=Cn(this),{has:o,get:l}=U2(s);let u=o.call(s,a);u||(a=Cn(a),u=o.call(s,a));const p=l.call(s,a);return s.set(a,i),u?xi(i,p)&&ta(s,"set",a,i):ta(s,"add",a,i),this},delete(a){const i=Cn(this),{has:s,get:o}=U2(i);let l=s.call(i,a);l||(a=Cn(a),l=s.call(i,a)),o&&o.call(i,a);const u=i.delete(a);return l&&ta(i,"delete",a,void 0),u},clear(){const a=Cn(this),i=a.size!==0,s=a.clear();return i&&ta(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=m_(a,t,e)}),n}function Mh(t,e){const n=g_(t,e);return(r,a,i)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?r:Reflect.get(zn(n,a)&&a in r?n:r,a,i)}const v_={get:Mh(!1,!1)},y_={get:Mh(!1,!0)},b_={get:Mh(!0,!1)},C_={get:Mh(!0,!0)},C8=new WeakMap,E8=new WeakMap,S8=new WeakMap,x8=new WeakMap;function E_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function S_(t){return t.__v_skip||!Object.isExtensible(t)?0:E_($T(t))}function fo(t){return Ja(t)?t:Oh(t,!1,p_,v_,C8)}function Lh(t){return Oh(t,!1,f_,y_,E8)}function da(t){return Oh(t,!0,h_,b_,S8)}function x_(t){return Oh(t,!0,d_,C_,x8)}function Oh(t,e,n,r,a){if(!Wn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=a.get(t);if(i)return i;const s=S_(t);if(s===0)return t;const o=new Proxy(t,s===2?r:n);return a.set(t,o),o}function $a(t){return Ja(t)?$a(t.__v_raw):!!(t&&t.__v_isReactive)}function Ja(t){return!!(t&&t.__v_isReadonly)}function ji(t){return!!(t&&t.__v_isShallow)}function Ih(t){return t?!!t.__v_raw:!1}function Cn(t){const e=t&&t.__v_raw;return e?Cn(e):t}function W5(t){return!zn(t,"__v_skip")&&Object.isExtensible(t)&&i8(t,"__v_skip",!0),t}const fi=t=>Wn(t)?fo(t):t,g0=t=>Wn(t)?da(t):t;function Pn(t){return t?t.__v_isRef===!0:!1}function xt(t){return w8(t,!1)}function Kr(t){return w8(t,!0)}function w8(t,e){return Pn(t)?t:new w_(t,e)}class w_{constructor(e,n){this.dep=new Ah,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:Cn(e),this._value=n?e:fi(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||ji(e)||Ja(e);e=r?e:Cn(e),xi(e,n)&&(this._rawValue=e,this._value=r?e:fi(e),this.dep.trigger())}}function T_(t){t.dep&&t.dep.trigger()}function $e(t){return Pn(t)?t.value:t}function Hr(t){return Br(t)?t():$e(t)}const __={get:(t,e,n)=>e==="__v_raw"?t:$e(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const a=t[e];return Pn(a)&&!Pn(n)?(a.value=n,!0):Reflect.set(t,e,n,r)}};function G5(t){return $a(t)?t:new Proxy(t,__)}class A_{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ah,{get:r,set:a}=e(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=a}get value(){return this._value=this._get()}set value(e){this._set(e)}}function kh(t){return new A_(t)}function T8(t){const e=Cr(t)?new Array(t.length):{};for(const n in t)e[n]=A8(t,n);return e}class P_{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return o_(Cn(this._object),this._key)}}class M_{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 _8(t,e,n){return Pn(t)?t:Br(t)?new M_(t):Wn(t)&&arguments.length>1?A8(t,e,n):xt(t)}function A8(t,e,n){const r=t[e];return Pn(r)?r:new P_(t,e,n)}class L_{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Ah(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&cs!==this)return u8(this,!0),!0}get value(){const e=this.dep.track();return f8(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function O_(t,e,n=!1){let r,a;return Br(t)?r=t:(r=t.get,a=t.set),new L_(r,a,n)}const I_={GET:"get",HAS:"has",ITERATE:"iterate"},k_={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},W2={},kp=new WeakMap;let za;function z_(){return za}function P8(t,e=!1,n=za){if(n){let r=kp.get(n);r||kp.set(n,r=[]),r.push(t)}}function N_(t,e,n=xn){const{immediate:r,deep:a,once:i,scheduler:s,augmentJob:o,call:l}=n,u=w=>a?w:ji(w)||a===!1||a===0?ra(w,1):ra(w);let p,h,d,m,f=!1,v=!1;if(Pn(t)?(h=()=>t.value,f=ji(t)):$a(t)?(h=()=>u(t),f=!0):Cr(t)?(v=!0,f=t.some(w=>$a(w)||ji(w)),h=()=>t.map(w=>{if(Pn(w))return w.value;if($a(w))return u(w);if(Br(w))return l?l(w,2):w()})):Br(t)?e?h=l?()=>l(t,2):t:h=()=>{if(d){nl();try{d()}finally{sl()}}const w=za;za=p;try{return l?l(t,3,[m]):t(m)}finally{za=w}}:h=Zi,e&&a){const w=h,b=a===!0?1/0:a;h=()=>ra(w(),b)}const C=_h(),E=()=>{p.stop(),C&&C.active&&D5(C.effects,p)};if(i&&e){const w=e;e=(...b)=>{w(...b),E()}}let x=v?new Array(t.length).fill(W2):W2;const g=w=>{if(!(!(p.flags&1)||!p.dirty&&!w))if(e){const b=p.run();if(a||f||(v?b.some((A,T)=>xi(A,x[T])):xi(b,x))){d&&d();const A=za;za=p;try{const T=[b,x===W2?void 0:v&&x[0]===W2?[]:x,m];l?l(e,3,T):e(...T),x=b}finally{za=A}}}else p.run()};return o&&o(g),p=new bu(h),p.scheduler=s?()=>s(g,!1):g,m=w=>P8(w,!1,p),d=p.onStop=()=>{const w=kp.get(p);if(w){if(l)l(w,4);else for(const b of w)b();kp.delete(p)}},e?r?g(!0):x=p.run():s?s(g.bind(null,!0),!0):p.run(),E.pause=p.pause.bind(p),E.resume=p.resume.bind(p),E.stop=E,E}function ra(t,e=1/0,n){if(e<=0||!Wn(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Pn(t))ra(t.value,e,n);else if(Cr(t))for(let r=0;r{ra(r,e,n)});else if(Eh(t)){for(const r in t)ra(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&ra(t[r],e,n)}return t}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const M8=[];function V_(t){M8.push(t)}function H_(){M8.pop()}function D_(t,e){}const R_={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"},j_={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 c1(t,e,n,r){try{return r?t(...r):t()}catch(a){ql(a,e,n)}}function ro(t,e,n,r){if(Br(t)){const a=c1(t,e,n,r);return a&&R5(a)&&a.catch(i=>{ql(i,e,n)}),a}if(Cr(t)){const a=[];for(let i=0;i>>1,a=wi[r],i=xu(a);i=xu(n)?wi.push(t):wi.splice(F_(e),0,t),t.flags|=1,O8()}}function O8(){zp||(zp=L8.then(I8))}function Su(t){Cr(t)?Rc.push(...t):Na&&t.id===-1?Na.splice(Tc+1,0,t):t.flags&1||(Rc.push(t),t.flags|=1),O8()}function Hg(t,e,n=Ao+1){for(;nxu(n)-xu(r));if(Rc.length=0,Na){Na.push(...e);return}for(Na=e,Tc=0;Tct.id==null?t.flags&2?-1:1/0:t.id;function I8(t){try{for(Ao=0;Ao_c.emit(a,...i)),G2=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{k8(i,e)}),setTimeout(()=>{_c||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,G2=[])},3e3)):G2=[]}let Ws=null,zh=null;function wu(t){const e=Ws;return Ws=t,zh=t&&t.type.__scopeId||null,e}function X5(t){zh=t}function Y5(){zh=null}const J5=t=>Vt;function Vt(t,e=Ws,n){if(!e||t._n)return t;const r=(...a)=>{r._d&&w0(-1);const i=wu(e);let s;try{s=t(...a)}finally{wu(i),r._d&&w0(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function qn(t,e){if(Ws===null)return t;const n=r2(Ws),r=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,ru=t=>t&&(t.disabled||t.disabled===""),Dg=t=>t&&(t.defer||t.defer===""),Rg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,jg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,v0=(t,e)=>{const n=t&&t.to;return us(n)?e?e(n):null:n},V8={name:"Teleport",__isTeleport:!0,process(t,e,n,r,a,i,s,o,l,u){const{mc:p,pc:h,pbc:d,o:{insert:m,querySelector:f,createText:v,createComment:C}}=u,E=ru(e.props);let{shapeFlag:x,children:g,dynamicChildren:w}=e;if(t==null){const b=e.el=v(""),A=e.anchor=v("");m(b,n,r),m(A,n,r);const T=(I,z)=>{x&16&&(a&&a.isCE&&(a.ce._teleportTarget=I),p(g,I,z,a,i,s,o,l))},O=()=>{const I=e.target=v0(e.props,f),z=H8(I,e,v,m);I&&(s!=="svg"&&Rg(I)?s="svg":s!=="mathml"&&jg(I)&&(s="mathml"),E||(T(I,z),gp(e,!1)))};E&&(T(n,A),gp(e,!0)),Dg(e.props)?$s(()=>{O(),e.el.__isMounted=!0},i):O()}else{if(Dg(e.props)&&!t.el.__isMounted){$s(()=>{V8.process(t,e,n,r,a,i,s,o,l,u),delete t.el.__isMounted},i);return}e.el=t.el,e.targetStart=t.targetStart;const b=e.anchor=t.anchor,A=e.target=t.target,T=e.targetAnchor=t.targetAnchor,O=ru(t.props),I=O?n:A,z=O?b:T;if(s==="svg"||Rg(A)?s="svg":(s==="mathml"||jg(A))&&(s="mathml"),w?(d(t.dynamicChildren,w,I,a,i,s,o),pm(t,e,!0)):l||h(t,e,I,z,a,i,s,o,!1),E)O?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):K2(e,n,b,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const U=e.target=v0(e.props,f);U&&K2(e,U,null,u,0)}else O&&K2(e,A,T,u,1);gp(e,E)}},remove(t,e,n,{um:r,o:{remove:a}},i){const{shapeFlag:s,children:o,anchor:l,targetStart:u,targetAnchor:p,target:h,props:d}=t;if(h&&(a(u),a(p)),i&&a(l),s&16){const m=i||!ru(d);for(let f=0;f{t.isMounted=!0}),u1(()=>{t.isUnmounting=!0}),t}const Wi=[Function,Array],em={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wi,onEnter:Wi,onAfterEnter:Wi,onEnterCancelled:Wi,onBeforeLeave:Wi,onLeave:Wi,onAfterLeave:Wi,onLeaveCancelled:Wi,onBeforeAppear:Wi,onAppear:Wi,onAfterAppear:Wi,onAppearCancelled:Wi},D8=t=>{const e=t.subTree;return e.component?D8(e.component):e},U_={name:"BaseTransition",props:em,setup(t,{slots:e}){const n=Bs(),r=Z5();return()=>{const a=e.default&&Nh(e.default(),!0);if(!a||!a.length)return;const i=R8(a),s=Cn(t),{mode:o}=s;if(r.isLeaving)return vd(i);const l=Bg(i);if(!l)return vd(i);let u=Wc(l,s,r,n,h=>u=h);l.type!==js&&ca(l,u);let p=n.subTree&&Bg(n.subTree);if(p&&p.type!==js&&!io(l,p)&&D8(n).type!==js){let h=Wc(p,s,r,n);if(ca(p,h),o==="out-in"&&l.type!==js)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,p=void 0},vd(i);o==="in-out"&&l.type!==js?h.delayLeave=(d,m,f)=>{const v=B8(r,p);v[String(p.key)]=p,d[Va]=()=>{m(),d[Va]=void 0,delete u.delayedLeave,p=void 0},u.delayedLeave=()=>{f(),delete u.delayedLeave,p=void 0}}:p=void 0}else p&&(p=void 0);return i}}};function R8(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==js){e=n;break}}return e}const j8=U_;function B8(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Wc(t,e,n,r,a){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:p,onEnterCancelled:h,onBeforeLeave:d,onLeave:m,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:C,onAppear:E,onAfterAppear:x,onAppearCancelled:g}=e,w=String(t.key),b=B8(n,t),A=(I,z)=>{I&&ro(I,r,9,z)},T=(I,z)=>{const U=z[1];A(I,z),Cr(I)?I.every(W=>W.length<=1)&&U():I.length<=1&&U()},O={mode:s,persisted:o,beforeEnter(I){let z=l;if(!n.isMounted)if(i)z=C||l;else return;I[Va]&&I[Va](!0);const U=b[w];U&&io(t,U)&&U.el[Va]&&U.el[Va](),A(z,[I])},enter(I){let z=u,U=p,W=h;if(!n.isMounted)if(i)z=E||u,U=x||p,W=g||h;else return;let F=!1;const N=I[X2]=$=>{F||(F=!0,$?A(W,[I]):A(U,[I]),O.delayedLeave&&O.delayedLeave(),I[X2]=void 0)};z?T(z,[I,N]):N()},leave(I,z){const U=String(t.key);if(I[X2]&&I[X2](!0),n.isUnmounting)return z();A(d,[I]);let W=!1;const F=I[Va]=N=>{W||(W=!0,z(),N?A(v,[I]):A(f,[I]),I[Va]=void 0,b[U]===t&&delete b[U])};b[U]=t,m?T(m,[I,F]):F()},clone(I){const z=Wc(I,e,n,r,a);return a&&a(z),z}};return O}function vd(t){if(Zu(t))return t=No(t),t.children=null,t}function Bg(t){if(!Zu(t))return N8(t.type)&&t.children?R8(t.children):t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Br(n.default))return n.default()}}function ca(t,e){t.shapeFlag&6&&t.component?(t.transition=e,ca(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Nh(t,e=!1,n){let r=[],a=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function Tu(t,e,n,r,a=!1){if(Cr(t)){t.forEach((f,v)=>Tu(f,e&&(Cr(e)?e[v]:e),n,r,a));return}if(Ua(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Tu(t,e,n,r.component.subTree);return}const i=r.shapeFlag&4?r2(r.component):r.el,s=a?null:i,{i:o,r:l}=t,u=e&&e.r,p=o.refs===xn?o.refs={}:o.refs,h=o.setupState,d=Cn(h),m=h===xn?()=>!1:f=>zn(d,f);if(u!=null&&u!==l&&(us(u)?(p[u]=null,m(u)&&(h[u]=null)):Pn(u)&&(u.value=null)),Br(l))c1(l,o,12,[s,p]);else{const f=us(l),v=Pn(l);if(f||v){const C=()=>{if(t.f){const E=f?m(l)?h[l]:p[l]:l.value;a?Cr(E)&&D5(E,i):Cr(E)?E.includes(i)||E.push(i):f?(p[l]=[i],m(l)&&(h[l]=p[l])):(l.value=[i],t.k&&(p[t.k]=l.value))}else f?(p[l]=s,m(l)&&(h[l]=s)):v&&(l.value=s,t.k&&(p[t.k]=s))};s?(C.id=-1,$s(C,n)):C()}}}let Fg=!1;const wc=()=>{Fg||(console.error("Hydration completed but contains mismatches."),Fg=!0)},G_=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",K_=t=>t.namespaceURI.includes("MathML"),Y2=t=>{if(t.nodeType===1){if(G_(t))return"svg";if(K_(t))return"mathml"}},Ic=t=>t.nodeType===8;function X_(t){const{mt:e,p:n,o:{patchProp:r,createText:a,nextSibling:i,parentNode:s,remove:o,insert:l,createComment:u}}=t,p=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),Np(),w._vnode=g;return}h(w.firstChild,g,null,null,null),Np(),w._vnode=g},h=(g,w,b,A,T,O=!1)=>{O=O||!!w.dynamicChildren;const I=Ic(g)&&g.data==="[",z=()=>v(g,w,b,A,T,I),{type:U,ref:W,shapeFlag:F,patchFlag:N}=w;let $=g.nodeType;w.el=g,N===-2&&(O=!1,w.dynamicChildren=null);let D=null;switch(U){case qa:$!==3?w.children===""?(l(w.el=a(""),s(g),g),D=g):D=z():(g.data!==w.children&&(wc(),g.data=w.children),D=i(g));break;case js:x(g)?(D=i(g),E(w.el=g.content.firstChild,g,b)):$!==8||I?D=z():D=i(g);break;case Nl:if(I&&(g=i(g),$=g.nodeType),$===1||$===3){D=g;const R=!w.children.length;for(let K=0;K{O=O||!!w.dynamicChildren;const{type:I,props:z,patchFlag:U,shapeFlag:W,dirs:F,transition:N}=w,$=I==="input"||I==="option";if($||U!==-1){F&&Po(w,null,b,"created");let D=!1;if(x(g)){D=m7(null,N)&&b&&b.vnode.props&&b.vnode.props.appear;const K=g.content.firstChild;D&&N.beforeEnter(K),E(K,g,b),w.el=g=K}if(W&16&&!(z&&(z.innerHTML||z.textContent))){let K=m(g.firstChild,w,g,b,A,T,O);for(;K;){J2(g,1)||wc();const re=K;K=K.nextSibling,o(re)}}else if(W&8){let K=w.children;K[0]===` `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(K=K.slice(1)),g.textContent!==K&&(J2(g,0)||wc(),g.textContent=w.children)}if(z){if($||!O||U&48){const K=g.tagName.includes("-");for(const re in z)($&&(re.endsWith("value")||re==="indeterminate")||Ju(re)&&!Hc(re)||re[0]==="."||K)&&r(g,re,null,z[re],void 0,b)}else if(z.onClick)r(g,"onClick",null,z.onClick,void 0,b);else if(U&4&&$a(z.style))for(const K in z.style)z.style[K]}let R;(R=z&&z.onVnodeBeforeMount)&&Pi(R,b,w),F&&Po(w,null,b,"beforeMount"),((R=z&&z.onVnodeMounted)||F||D)&&w7(()=>{R&&Pi(R,b,w),D&&N.enter(g),F&&Po(w,null,b,"mounted")},A)}return g.nextSibling},m=(g,w,b,A,T,O,I)=>{I=I||!!w.dynamicChildren;const z=w.children,U=z.length;for(let W=0;W{const{slotScopeIds:I}=w;I&&(T=T?T.concat(I):I);const z=s(g),U=m(i(g),w,z,b,A,T,O);return U&&Ic(U)&&U.data==="]"?i(w.anchor=U):(wc(),l(w.anchor=u("]"),z,U),U)},v=(g,w,b,A,T,O)=>{if(J2(g.parentElement,1)||wc(),w.el=null,O){const U=C(g);for(;;){const W=i(g);if(W&&W!==U)o(W);else break}}const I=i(g),z=s(g);return o(g),n(null,w,z,I,b,A,Y2(z),T),b&&(b.vnode.el=w.el,Bh(b,w.el)),I},C=(g,w="[",b="]")=>{let A=0;for(;g;)if(g=i(g),g&&Ic(g)&&(g.data===w&&A++,g.data===b)){if(A===0)return i(g);A--}return g},E=(g,w,b)=>{const A=w.parentNode;A&&A.replaceChild(g,w);let T=b;for(;T;)T.vnode.el===w&&(T.vnode.el=T.subTree.el=g),T=T.parent},x=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[p,h]}const $g="data-allow-mismatch",Y_={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function J2(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute($g);)t=t.parentElement;const n=t&&t.getAttribute($g);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return e===0&&r.includes("children")?!0:n.split(",").includes(Y_[e])}}const J_=xh().requestIdleCallback||(t=>setTimeout(t,1)),Q_=xh().cancelIdleCallback||(t=>clearTimeout(t)),Z_=(t=1e4)=>e=>{const n=J_(e,{timeout:t});return()=>Q_(n)};function eA(t){const{top:e,left:n,bottom:r,right:a}=t.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(e>0&&e0&&r0&&n0&&a(e,n)=>{const r=new IntersectionObserver(a=>{for(const i of a)if(i.isIntersecting){r.disconnect(),e();break}},t);return n(a=>{if(a instanceof Element){if(eA(a))return e(),r.disconnect(),!1;r.observe(a)}}),()=>r.disconnect()},rA=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},nA=(t=[])=>(e,n)=>{us(t)&&(t=[t]);let r=!1;const a=s=>{r||(r=!0,i(),e(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{n(s=>{for(const o of t)s.removeEventListener(o,a)})};return n(s=>{for(const o of t)s.addEventListener(o,a,{once:!0})}),i};function sA(t,e){if(Ic(t)&&t.data==="["){let n=1,r=t.nextSibling;for(;r;){if(r.nodeType===1){if(e(r)===!1)break}else if(Ic(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else e(t)}const Ua=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function rm(t){Br(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:i,timeout:s,suspensible:o=!0,onError:l}=t;let u=null,p,h=0;const d=()=>(h++,u=null,m()),m=()=>{let f;return u||(f=u=e().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((C,E)=>{l(v,()=>C(d()),()=>E(v),h+1)});throw v}).then(v=>f!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),p=v,v)))};return ur({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(f,v,C){const E=i?()=>{const x=i(C,g=>sA(f,g));x&&(v.bum||(v.bum=[])).push(x)}:C;p?E():m().then(()=>!v.isUnmounted&&E())},get __asyncResolved(){return p},setup(){const f=qs;if(tm(f),p)return()=>yd(p,f);const v=g=>{u=null,ql(g,f,13,!r)};if(o&&f.suspense||Kc)return m().then(g=>()=>yd(g,f)).catch(g=>(v(g),()=>r?gt(r,{error:g}):null));const C=xt(!1),E=xt(),x=xt(!!a);return a&&setTimeout(()=>{x.value=!1},a),s!=null&&setTimeout(()=>{if(!C.value&&!E.value){const g=new Error(`Async component timed out after ${s}ms.`);v(g),E.value=g}},s),m().then(()=>{C.value=!0,f.parent&&Zu(f.parent.vnode)&&f.parent.update()}).catch(g=>{v(g),E.value=g}),()=>{if(C.value&&p)return yd(p,f);if(E.value&&r)return gt(r,{error:E.value});if(n&&!x.value)return gt(n)}}})}function yd(t,e){const{ref:n,props:r,children:a,ce:i}=e.vnode,s=gt(t,r,a);return s.ref=n,s.ce=i,delete e.vnode.ce,s}const Zu=t=>t.type.__isKeepAlive,iA={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Bs(),r=n.ctx;if(!r.renderer)return()=>{const x=e.default&&e.default();return x&&x.length===1?x[0]:x};const a=new Map,i=new Set;let s=null;const o=n.suspense,{renderer:{p:l,m:u,um:p,o:{createElement:h}}}=r,d=h("div");r.activate=(x,g,w,b,A)=>{const T=x.component;u(x,g,w,0,o),l(T.vnode,x,g,w,T,o,b,x.slotScopeIds,A),$s(()=>{T.isDeactivated=!1,T.a&&Dc(T.a);const O=x.props&&x.props.onVnodeMounted;O&&Pi(O,T.parent,x)},o)},r.deactivate=x=>{const g=x.component;Hp(g.m),Hp(g.a),u(x,d,null,1,o),$s(()=>{g.da&&Dc(g.da);const w=x.props&&x.props.onVnodeUnmounted;w&&Pi(w,g.parent,x),g.isDeactivated=!0},o)};function m(x){bd(x),p(x,n,o,!0)}function f(x){a.forEach((g,w)=>{const b=M0(g.type);b&&!x(b)&&v(w)})}function v(x){const g=a.get(x);g&&(!s||!io(g,s))?m(g):s&&bd(s),a.delete(x),i.delete(x)}Ir(()=>[t.include,t.exclude],([x,g])=>{x&&f(w=>X1(x,w)),g&&f(w=>!X1(g,w))},{flush:"post",deep:!0});let C=null;const E=()=>{C!=null&&(Dp(n.subTree.type)?$s(()=>{a.set(C,Q2(n.subTree))},n.subTree.suspense):a.set(C,Q2(n.subTree)))};return li(E),Hh(E),u1(()=>{a.forEach(x=>{const{subTree:g,suspense:w}=n,b=Q2(g);if(x.type===b.type&&x.key===b.key){bd(b);const A=b.component.da;A&&$s(A,w);return}m(x)})}),()=>{if(C=null,!e.default)return s=null;const x=e.default(),g=x[0];if(x.length>1)return s=null,x;if(!pa(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return s=null,g;let w=Q2(g);if(w.type===js)return s=null,w;const b=w.type,A=M0(Ua(w)?w.type.__asyncResolved||{}:b),{include:T,exclude:O,max:I}=t;if(T&&(!A||!X1(T,A))||O&&A&&X1(O,A))return w.shapeFlag&=-257,s=w,g;const z=w.key==null?b:w.key,U=a.get(z);return w.el&&(w=No(w),g.shapeFlag&128&&(g.ssContent=w)),C=z,U?(w.el=U.el,w.component=U.component,w.transition&&ca(w,w.transition),w.shapeFlag|=512,i.delete(z),i.add(z)):(i.add(z),I&&i.size>parseInt(I,10)&&v(i.values().next().value)),w.shapeFlag|=256,s=w,Dp(g.type)?g:w}}},oA=iA;function X1(t,e){return Cr(t)?t.some(n=>X1(n,e)):us(t)?t.split(",").includes(e):FT(t)?(t.lastIndex=0,t.test(e)):!1}function F8(t,e){U8(t,"a",e)}function $8(t,e){U8(t,"da",e)}function U8(t,e,n=qs){const r=t.__wdc||(t.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Vh(e,r,n),n){let a=n.parent;for(;a&&a.parent;)Zu(a.parent.vnode)&&aA(r,e,n,a),a=a.parent}}function aA(t,e,n,r){const a=Vh(e,t,r,!0);gi(()=>{D5(r[e],a)},n)}function bd(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Q2(t){return t.shapeFlag&128?t.ssContent:t}function Vh(t,e,n=qs,r=!1){if(n){const a=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{nl();const o=Dl(n),l=ro(e,n,t,s);return o(),sl(),l});return r?a.unshift(i):a.push(i),i}}const ma=t=>(e,n=qs)=>{(!Kc||t==="sp")&&Vh(t,(...r)=>e(...r),n)},q8=ma("bm"),li=ma("m"),nm=ma("bu"),Hh=ma("u"),u1=ma("bum"),gi=ma("um"),W8=ma("sp"),G8=ma("rtg"),K8=ma("rtc");function X8(t,e=qs){Vh("ec",t,e)}const sm="components",lA="directives";function ua(t,e){return im(sm,t,!0,e)||t}const Y8=Symbol.for("v-ndc");function zo(t){return us(t)?im(sm,t,!1)||t:t||Y8}function J8(t){return im(lA,t)}function im(t,e,n=!0,r=!1){const a=Ws||qs;if(a){const i=a.type;if(t===sm){const o=M0(i,!1);if(o&&(o===e||o===ai(e)||o===Qu(ai(e))))return i}const s=Ug(a[t]||i[t],e)||Ug(a.appContext[t],e);return!s&&r?i:s}}function Ug(t,e){return t&&(t[e]||t[ai(e)]||t[Qu(ai(e))])}function Is(t,e,n,r){let a;const i=n&&n[r],s=Cr(t);if(s||us(t)){const o=s&&$a(t);let l=!1;o&&(l=!ji(t),t=Ph(t)),a=new Array(t.length);for(let u=0,p=t.length;ue(o,l,void 0,i&&i[l]));else{const o=Object.keys(t);a=new Array(o.length);for(let l=0,u=o.length;l{const i=r.fn(...a);return i&&(i.key=r.key),i}:r.fn)}return t}function gn(t,e,n={},r,a){if(Ws.ce||Ws.parent&&Ua(Ws.parent)&&Ws.parent.ce)return e!=="default"&&(n.name=e),Je(),Zt(Rr,null,[gt("slot",n,r&&r())],64);let i=t[e];i&&i._c&&(i._d=!1),Je();const s=i&&am(i(n)),o=n.key||s&&s.key,l=Zt(Rr,{key:(o&&!ho(o)?o:`_${e}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&t._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function am(t){return t.some(e=>pa(e)?!(e.type===js||e.type===Rr&&!am(e.children)):!0)?t:null}function Q8(t,e){const n={};for(const r in t)n[e&&/[A-Z]/.test(r)?`on:${r}`:Z1(r)]=t[r];return n}const y0=t=>t?L7(t)?r2(t):y0(t.parent):null,nu=ts(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>y0(t.parent),$root:t=>y0(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>lm(t),$forceUpdate:t=>t.f||(t.f=()=>{K5(t.update)}),$nextTick:t=>t.n||(t.n=ws.bind(t.proxy)),$watch:t=>NA.bind(t)}),Cd=(t,e)=>t!==xn&&!t.__isScriptSetup&&zn(t,e),b0={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:i,accessCache:s,type:o,appContext:l}=t;let u;if(e[0]!=="$"){const m=s[e];if(m!==void 0)switch(m){case 1:return r[e];case 2:return a[e];case 4:return n[e];case 3:return i[e]}else{if(Cd(r,e))return s[e]=1,r[e];if(a!==xn&&zn(a,e))return s[e]=2,a[e];if((u=t.propsOptions[0])&&zn(u,e))return s[e]=3,i[e];if(n!==xn&&zn(n,e))return s[e]=4,n[e];C0&&(s[e]=0)}}const p=nu[e];let h,d;if(p)return e==="$attrs"&&hi(t.attrs,"get",""),p(t);if((h=o.__cssModules)&&(h=h[e]))return h;if(n!==xn&&zn(n,e))return s[e]=4,n[e];if(d=l.config.globalProperties,zn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:a,ctx:i}=t;return Cd(a,e)?(a[e]=n,!0):r!==xn&&zn(r,e)?(r[e]=n,!0):zn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:a,propsOptions:i}},s){let o;return!!n[s]||t!==xn&&zn(t,s)||Cd(e,s)||(o=i[0])&&zn(o,s)||zn(r,s)||zn(nu,s)||zn(a.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:zn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},cA=ts({},b0,{get(t,e){if(e!==Symbol.unscopables)return b0.get(t,e,t)},has(t,e){return e[0]!=="_"&&!GT(e)}});function uA(){return null}function pA(){return null}function hA(t){}function fA(t){}function dA(){return null}function mA(){}function gA(t,e){return null}function Dh(){return e7().slots}function Z8(){return e7().attrs}function e7(){const t=Bs();return t.setupContext||(t.setupContext=k7(t))}function _u(t){return Cr(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function vA(t,e){const n=_u(t);for(const r in e){if(r.startsWith("__skip"))continue;let a=n[r];a?Cr(a)||Br(a)?a=n[r]={type:a,default:e[r]}:a.default=e[r]:a===null&&(a=n[r]={default:e[r]}),a&&e[`__skip_${r}`]&&(a.skipFactory=!0)}return n}function Gc(t,e){return!t||!e?t||e:Cr(t)&&Cr(e)?t.concat(e):ts({},_u(t),_u(e))}function yA(t,e){const n={};for(const r in t)e.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>t[r]});return n}function bA(t){const e=Bs();let n=t();return _0(),R5(n)&&(n=n.catch(r=>{throw Dl(e),r})),[n,()=>Dl(e)]}let C0=!0;function CA(t){const e=lm(t),n=t.proxy,r=t.ctx;C0=!1,e.beforeCreate&&qg(e.beforeCreate,t,"bc");const{data:a,computed:i,methods:s,watch:o,provide:l,inject:u,created:p,beforeMount:h,mounted:d,beforeUpdate:m,updated:f,activated:v,deactivated:C,beforeDestroy:E,beforeUnmount:x,destroyed:g,unmounted:w,render:b,renderTracked:A,renderTriggered:T,errorCaptured:O,serverPrefetch:I,expose:z,inheritAttrs:U,components:W,directives:F,filters:N}=e;if(u&&EA(u,r,null),s)for(const R in s){const K=s[R];Br(K)&&(r[R]=K.bind(n))}if(a){const R=a.call(n,n);Wn(R)&&(t.data=fo(R))}if(C0=!0,i)for(const R in i){const K=i[R],re=Br(K)?K.bind(n,n):Br(K.get)?K.get.bind(n,n):Zi,ue=!Br(K)&&Br(K.set)?K.set.bind(n):Zi,Oe=pt({get:re,set:ue});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:X=>Oe.value=X})}if(o)for(const R in o)t7(o[R],r,n,R);if(l){const R=Br(l)?l.call(n):l;Reflect.ownKeys(R).forEach(K=>{zs(K,R[K])})}p&&qg(p,t,"c");function D(R,K){Cr(K)?K.forEach(re=>R(re.bind(n))):K&&R(K.bind(n))}if(D(q8,h),D(li,d),D(nm,m),D(Hh,f),D(F8,v),D($8,C),D(X8,O),D(K8,A),D(G8,T),D(u1,x),D(gi,w),D(W8,I),Cr(z))if(z.length){const R=t.exposed||(t.exposed={});z.forEach(K=>{Object.defineProperty(R,K,{get:()=>n[K],set:re=>n[K]=re})})}else t.exposed||(t.exposed={});b&&t.render===Zi&&(t.render=b),U!=null&&(t.inheritAttrs=U),W&&(t.components=W),F&&(t.directives=F),I&&tm(t)}function EA(t,e,n=Zi){Cr(t)&&(t=E0(t));for(const r in t){const a=t[r];let i;Wn(a)?"default"in a?i=Rn(a.from||r,a.default,!0):i=Rn(a.from||r):i=Rn(a),Pn(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function qg(t,e,n){ro(Cr(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function t7(t,e,n,r){let a=r.includes(".")?C7(n,r):()=>n[r];if(us(t)){const i=e[t];Br(i)&&Ir(a,i)}else if(Br(t))Ir(a,t.bind(n));else if(Wn(t))if(Cr(t))t.forEach(i=>t7(i,e,n,r));else{const i=Br(t.handler)?t.handler.bind(n):e[t.handler];Br(i)&&Ir(a,i,t)}}function lm(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:a,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,o=i.get(e);let l;return o?l=o:!a.length&&!n&&!r?l=e:(l={},a.length&&a.forEach(u=>Vp(l,u,s,!0)),Vp(l,e,s)),Wn(e)&&i.set(e,l),l}function Vp(t,e,n,r=!1){const{mixins:a,extends:i}=e;i&&Vp(t,i,n,!0),a&&a.forEach(s=>Vp(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const o=SA[s]||n&&n[s];t[s]=o?o(t[s],e[s]):e[s]}return t}const SA={data:Wg,props:Gg,emits:Gg,methods:Y1,computed:Y1,beforeCreate:Ei,created:Ei,beforeMount:Ei,mounted:Ei,beforeUpdate:Ei,updated:Ei,beforeDestroy:Ei,beforeUnmount:Ei,destroyed:Ei,unmounted:Ei,activated:Ei,deactivated:Ei,errorCaptured:Ei,serverPrefetch:Ei,components:Y1,directives:Y1,watch:wA,provide:Wg,inject:xA};function Wg(t,e){return e?t?function(){return ts(Br(t)?t.call(this,this):t,Br(e)?e.call(this,this):e)}:e:t}function xA(t,e){return Y1(E0(t),E0(e))}function E0(t){if(Cr(t)){const e={};for(let n=0;n1)return n&&Br(e)?e.call(r&&r.proxy):e}}function cm(){return!!(qs||Ws||zl)}const n7={},s7=()=>Object.create(n7),i7=t=>Object.getPrototypeOf(t)===n7;function AA(t,e,n,r=!1){const a={},i=s7();t.propsDefaults=Object.create(null),o7(t,e,a,i);for(const s in t.propsOptions[0])s in a||(a[s]=void 0);n?t.props=r?a:Lh(a):t.type.props?t.props=a:t.props=i,t.attrs=i}function PA(t,e,n,r){const{props:a,attrs:i,vnode:{patchFlag:s}}=t,o=Cn(a),[l]=t.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const p=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,m]=a7(h,e,!0);ts(s,d),m&&o.push(...m)};!n&&e.mixins.length&&e.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}if(!i&&!l)return Wn(t)&&r.set(t,Nc),Nc;if(Cr(i))for(let p=0;pt[0]==="_"||t==="$stable",um=t=>Cr(t)?t.map(Mi):[Mi(t)],LA=(t,e,n)=>{if(e._n)return e;const r=Vt((...a)=>um(e(...a)),n);return r._c=!1,r},c7=(t,e,n)=>{const r=t._ctx;for(const a in t){if(l7(a))continue;const i=t[a];if(Br(i))e[a]=LA(a,i,r);else if(i!=null){const s=um(i);e[a]=()=>s}}},u7=(t,e)=>{const n=um(e);t.slots.default=()=>n},p7=(t,e,n)=>{for(const r in e)(n||r!=="_")&&(t[r]=e[r])},OA=(t,e,n)=>{const r=t.slots=s7();if(t.vnode.shapeFlag&32){const a=e._;a?(p7(r,e,n),n&&i8(r,"_",a,!0)):c7(e,r)}else e&&u7(t,e)},IA=(t,e,n)=>{const{vnode:r,slots:a}=t;let i=!0,s=xn;if(r.shapeFlag&32){const o=e._;o?n&&o===1?i=!1:p7(a,e,n):(i=!e.$stable,c7(e,a)),s=e}else e&&(u7(t,e),s={default:1});if(i)for(const o in a)!l7(o)&&s[o]==null&&delete a[o]},$s=w7;function h7(t){return d7(t)}function f7(t){return d7(t,X_)}function d7(t,e){const n=xh();n.__VUE__=!0;const{insert:r,remove:a,patchProp:i,createElement:s,createText:o,createComment:l,setText:u,setElementText:p,parentNode:h,nextSibling:d,setScopeId:m=Zi,insertStaticContent:f}=t,v=(se,ye,ge,Me=null,ae=null,k=null,B=void 0,Z=null,Pe=!!ye.dynamicChildren)=>{if(se===ye)return;se&&!io(se,ye)&&(Me=pe(se),X(se,ae,k,!0),se=null),ye.patchFlag===-2&&(Pe=!1,ye.dynamicChildren=null);const{type:Ne,ref:Le,shapeFlag:de}=ye;switch(Ne){case qa:C(se,ye,ge,Me);break;case js:E(se,ye,ge,Me);break;case Nl:se==null&&x(ye,ge,Me,B);break;case Rr:W(se,ye,ge,Me,ae,k,B,Z,Pe);break;default:de&1?b(se,ye,ge,Me,ae,k,B,Z,Pe):de&6?F(se,ye,ge,Me,ae,k,B,Z,Pe):(de&64||de&128)&&Ne.process(se,ye,ge,Me,ae,k,B,Z,Pe,ie)}Le!=null&&ae&&Tu(Le,se&&se.ref,k,ye||se,!ye)},C=(se,ye,ge,Me)=>{if(se==null)r(ye.el=o(ye.children),ge,Me);else{const ae=ye.el=se.el;ye.children!==se.children&&u(ae,ye.children)}},E=(se,ye,ge,Me)=>{se==null?r(ye.el=l(ye.children||""),ge,Me):ye.el=se.el},x=(se,ye,ge,Me)=>{[se.el,se.anchor]=f(se.children,ye,ge,Me,se.el,se.anchor)},g=({el:se,anchor:ye},ge,Me)=>{let ae;for(;se&&se!==ye;)ae=d(se),r(se,ge,Me),se=ae;r(ye,ge,Me)},w=({el:se,anchor:ye})=>{let ge;for(;se&&se!==ye;)ge=d(se),a(se),se=ge;a(ye)},b=(se,ye,ge,Me,ae,k,B,Z,Pe)=>{ye.type==="svg"?B="svg":ye.type==="math"&&(B="mathml"),se==null?A(ye,ge,Me,ae,k,B,Z,Pe):I(se,ye,ae,k,B,Z,Pe)},A=(se,ye,ge,Me,ae,k,B,Z)=>{let Pe,Ne;const{props:Le,shapeFlag:de,transition:ke,dirs:Ge}=se;if(Pe=se.el=s(se.type,k,Le&&Le.is,Le),de&8?p(Pe,se.children):de&16&&O(se.children,Pe,null,Me,ae,Ed(se,k),B,Z),Ge&&Po(se,null,Me,"created"),T(Pe,se,se.scopeId,B,Me),Le){for(const ct in Le)ct!=="value"&&!Hc(ct)&&i(Pe,ct,null,Le[ct],k,Me);"value"in Le&&i(Pe,"value",null,Le.value,k),(Ne=Le.onVnodeBeforeMount)&&Pi(Ne,Me,se)}Ge&&Po(se,null,Me,"beforeMount");const nt=m7(ae,ke);nt&&ke.beforeEnter(Pe),r(Pe,ye,ge),((Ne=Le&&Le.onVnodeMounted)||nt||Ge)&&$s(()=>{Ne&&Pi(Ne,Me,se),nt&&ke.enter(Pe),Ge&&Po(se,null,Me,"mounted")},ae)},T=(se,ye,ge,Me,ae)=>{if(ge&&m(se,ge),Me)for(let k=0;k{for(let Ne=Pe;Ne{const Z=ye.el=se.el;let{patchFlag:Pe,dynamicChildren:Ne,dirs:Le}=ye;Pe|=se.patchFlag&16;const de=se.props||xn,ke=ye.props||xn;let Ge;if(ge&&El(ge,!1),(Ge=ke.onVnodeBeforeUpdate)&&Pi(Ge,ge,ye,se),Le&&Po(ye,se,ge,"beforeUpdate"),ge&&El(ge,!0),(de.innerHTML&&ke.innerHTML==null||de.textContent&&ke.textContent==null)&&p(Z,""),Ne?z(se.dynamicChildren,Ne,Z,ge,Me,Ed(ye,ae),k):B||K(se,ye,Z,null,ge,Me,Ed(ye,ae),k,!1),Pe>0){if(Pe&16)U(Z,de,ke,ge,ae);else if(Pe&2&&de.class!==ke.class&&i(Z,"class",null,ke.class,ae),Pe&4&&i(Z,"style",de.style,ke.style,ae),Pe&8){const nt=ye.dynamicProps;for(let ct=0;ct{Ge&&Pi(Ge,ge,ye,se),Le&&Po(ye,se,ge,"updated")},Me)},z=(se,ye,ge,Me,ae,k,B)=>{for(let Z=0;Z{if(ye!==ge){if(ye!==xn)for(const k in ye)!Hc(k)&&!(k in ge)&&i(se,k,ye[k],null,ae,Me);for(const k in ge){if(Hc(k))continue;const B=ge[k],Z=ye[k];B!==Z&&k!=="value"&&i(se,k,Z,B,ae,Me)}"value"in ge&&i(se,"value",ye.value,ge.value,ae)}},W=(se,ye,ge,Me,ae,k,B,Z,Pe)=>{const Ne=ye.el=se?se.el:o(""),Le=ye.anchor=se?se.anchor:o("");let{patchFlag:de,dynamicChildren:ke,slotScopeIds:Ge}=ye;Ge&&(Z=Z?Z.concat(Ge):Ge),se==null?(r(Ne,ge,Me),r(Le,ge,Me),O(ye.children||[],ge,Le,ae,k,B,Z,Pe)):de>0&&de&64&&ke&&se.dynamicChildren?(z(se.dynamicChildren,ke,ge,ae,k,B,Z),(ye.key!=null||ae&&ye===ae.subTree)&&pm(se,ye,!0)):K(se,ye,ge,Le,ae,k,B,Z,Pe)},F=(se,ye,ge,Me,ae,k,B,Z,Pe)=>{ye.slotScopeIds=Z,se==null?ye.shapeFlag&512?ae.ctx.activate(ye,ge,Me,B,Pe):N(ye,ge,Me,ae,k,B,Pe):$(se,ye,Pe)},N=(se,ye,ge,Me,ae,k,B)=>{const Z=se.component=M7(se,Me,ae);if(Zu(se)&&(Z.ctx.renderer=ie),O7(Z,!1,B),Z.asyncDep){if(ae&&ae.registerDep(Z,D,B),!se.el){const Pe=Z.subTree=gt(js);E(null,Pe,ye,ge)}}else D(Z,se,ye,ge,ae,k,B)},$=(se,ye,ge)=>{const Me=ye.component=se.component;if(jA(se,ye,ge))if(Me.asyncDep&&!Me.asyncResolved){R(Me,ye,ge);return}else Me.next=ye,Me.update();else ye.el=se.el,Me.vnode=ye},D=(se,ye,ge,Me,ae,k,B)=>{const Z=()=>{if(se.isMounted){let{next:de,bu:ke,u:Ge,parent:nt,vnode:ct}=se;{const yr=g7(se);if(yr){de&&(de.el=ct.el,R(se,de,B)),yr.asyncDep.then(()=>{se.isUnmounted||Z()});return}}let yt=de,er;El(se,!1),de?(de.el=ct.el,R(se,de,B)):de=ct,ke&&Dc(ke),(er=de.props&&de.props.onVnodeBeforeUpdate)&&Pi(er,nt,de,ct),El(se,!0);const Ut=vp(se),or=se.subTree;se.subTree=Ut,v(or,Ut,h(or.el),pe(or),se,ae,k),de.el=Ut.el,yt===null&&Bh(se,Ut.el),Ge&&$s(Ge,ae),(er=de.props&&de.props.onVnodeUpdated)&&$s(()=>Pi(er,nt,de,ct),ae)}else{let de;const{el:ke,props:Ge}=ye,{bm:nt,m:ct,parent:yt,root:er,type:Ut}=se,or=Ua(ye);if(El(se,!1),nt&&Dc(nt),!or&&(de=Ge&&Ge.onVnodeBeforeMount)&&Pi(de,yt,ye),El(se,!0),ke&&Se){const yr=()=>{se.subTree=vp(se),Se(ke,se.subTree,se,ae,null)};or&&Ut.__asyncHydrate?Ut.__asyncHydrate(ke,se,yr):yr()}else{er.ce&&er.ce._injectChildStyle(Ut);const yr=se.subTree=vp(se);v(null,yr,ge,Me,se,ae,k),ye.el=yr.el}if(ct&&$s(ct,ae),!or&&(de=Ge&&Ge.onVnodeMounted)){const yr=ye;$s(()=>Pi(de,yt,yr),ae)}(ye.shapeFlag&256||yt&&Ua(yt.vnode)&&yt.vnode.shapeFlag&256)&&se.a&&$s(se.a,ae),se.isMounted=!0,ye=ge=Me=null}};se.scope.on();const Pe=se.effect=new bu(Z);se.scope.off();const Ne=se.update=Pe.run.bind(Pe),Le=se.job=Pe.runIfDirty.bind(Pe);Le.i=se,Le.id=se.uid,Pe.scheduler=()=>K5(Le),El(se,!0),Ne()},R=(se,ye,ge)=>{ye.component=se;const Me=se.vnode.props;se.vnode=ye,se.next=null,PA(se,ye.props,Me,ge),IA(se,ye.children,ge),nl(),Hg(se),sl()},K=(se,ye,ge,Me,ae,k,B,Z,Pe=!1)=>{const Ne=se&&se.children,Le=se?se.shapeFlag:0,de=ye.children,{patchFlag:ke,shapeFlag:Ge}=ye;if(ke>0){if(ke&128){ue(Ne,de,ge,Me,ae,k,B,Z,Pe);return}else if(ke&256){re(Ne,de,ge,Me,ae,k,B,Z,Pe);return}}Ge&8?(Le&16&&Ae(Ne,ae,k),de!==Ne&&p(ge,de)):Le&16?Ge&16?ue(Ne,de,ge,Me,ae,k,B,Z,Pe):Ae(Ne,ae,k,!0):(Le&8&&p(ge,""),Ge&16&&O(de,ge,Me,ae,k,B,Z,Pe))},re=(se,ye,ge,Me,ae,k,B,Z,Pe)=>{se=se||Nc,ye=ye||Nc;const Ne=se.length,Le=ye.length,de=Math.min(Ne,Le);let ke;for(ke=0;keLe?Ae(se,ae,k,!0,!1,de):O(ye,ge,Me,ae,k,B,Z,Pe,de)},ue=(se,ye,ge,Me,ae,k,B,Z,Pe)=>{let Ne=0;const Le=ye.length;let de=se.length-1,ke=Le-1;for(;Ne<=de&&Ne<=ke;){const Ge=se[Ne],nt=ye[Ne]=Pe?Ha(ye[Ne]):Mi(ye[Ne]);if(io(Ge,nt))v(Ge,nt,ge,null,ae,k,B,Z,Pe);else break;Ne++}for(;Ne<=de&&Ne<=ke;){const Ge=se[de],nt=ye[ke]=Pe?Ha(ye[ke]):Mi(ye[ke]);if(io(Ge,nt))v(Ge,nt,ge,null,ae,k,B,Z,Pe);else break;de--,ke--}if(Ne>de){if(Ne<=ke){const Ge=ke+1,nt=Geke)for(;Ne<=de;)X(se[Ne],ae,k,!0),Ne++;else{const Ge=Ne,nt=Ne,ct=new Map;for(Ne=nt;Ne<=ke;Ne++){const en=ye[Ne]=Pe?Ha(ye[Ne]):Mi(ye[Ne]);en.key!=null&&ct.set(en.key,Ne)}let yt,er=0;const Ut=ke-nt+1;let or=!1,yr=0;const Ct=new Array(Ut);for(Ne=0;Ne=Ut){X(en,ae,k,!0);continue}let Yr;if(en.key!=null)Yr=ct.get(en.key);else for(yt=nt;yt<=ke;yt++)if(Ct[yt-nt]===0&&io(en,ye[yt])){Yr=yt;break}Yr===void 0?X(en,ae,k,!0):(Ct[Yr-nt]=Ne+1,Yr>=yr?yr=Yr:or=!0,v(en,ye[Yr],ge,null,ae,k,B,Z,Pe),er++)}const rn=or?kA(Ct):Nc;for(yt=rn.length-1,Ne=Ut-1;Ne>=0;Ne--){const en=nt+Ne,Yr=ye[en],fn=en+1{const{el:k,type:B,transition:Z,children:Pe,shapeFlag:Ne}=se;if(Ne&6){Oe(se.component.subTree,ye,ge,Me);return}if(Ne&128){se.suspense.move(ye,ge,Me);return}if(Ne&64){B.move(se,ye,ge,ie);return}if(B===Rr){r(k,ye,ge);for(let de=0;deZ.enter(k),ae);else{const{leave:de,delayLeave:ke,afterLeave:Ge}=Z,nt=()=>r(k,ye,ge),ct=()=>{de(k,()=>{nt(),Ge&&Ge()})};ke?ke(k,nt,ct):ct()}else r(k,ye,ge)},X=(se,ye,ge,Me=!1,ae=!1)=>{const{type:k,props:B,ref:Z,children:Pe,dynamicChildren:Ne,shapeFlag:Le,patchFlag:de,dirs:ke,cacheIndex:Ge}=se;if(de===-2&&(ae=!1),Z!=null&&Tu(Z,null,ge,se,!0),Ge!=null&&(ye.renderCache[Ge]=void 0),Le&256){ye.ctx.deactivate(se);return}const nt=Le&1&&ke,ct=!Ua(se);let yt;if(ct&&(yt=B&&B.onVnodeBeforeUnmount)&&Pi(yt,ye,se),Le&6)Ee(se.component,ge,Me);else{if(Le&128){se.suspense.unmount(ge,Me);return}nt&&Po(se,null,ye,"beforeUnmount"),Le&64?se.type.remove(se,ye,ge,ie,Me):Ne&&!Ne.hasOnce&&(k!==Rr||de>0&&de&64)?Ae(Ne,ye,ge,!1,!0):(k===Rr&&de&384||!ae&&Le&16)&&Ae(Pe,ye,ge),Me&&J(se)}(ct&&(yt=B&&B.onVnodeUnmounted)||nt)&&$s(()=>{yt&&Pi(yt,ye,se),nt&&Po(se,null,ye,"unmounted")},ge)},J=se=>{const{type:ye,el:ge,anchor:Me,transition:ae}=se;if(ye===Rr){fe(ge,Me);return}if(ye===Nl){w(se);return}const k=()=>{a(ge),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(se.shapeFlag&1&&ae&&!ae.persisted){const{leave:B,delayLeave:Z}=ae,Pe=()=>B(ge,k);Z?Z(se.el,k,Pe):Pe()}else k()},fe=(se,ye)=>{let ge;for(;se!==ye;)ge=d(se),a(se),se=ge;a(ye)},Ee=(se,ye,ge)=>{const{bum:Me,scope:ae,job:k,subTree:B,um:Z,m:Pe,a:Ne}=se;Hp(Pe),Hp(Ne),Me&&Dc(Me),ae.stop(),k&&(k.flags|=8,X(B,se,ye,ge)),Z&&$s(Z,ye),$s(()=>{se.isUnmounted=!0},ye),ye&&ye.pendingBranch&&!ye.isUnmounted&&se.asyncDep&&!se.asyncResolved&&se.suspenseId===ye.pendingId&&(ye.deps--,ye.deps===0&&ye.resolve())},Ae=(se,ye,ge,Me=!1,ae=!1,k=0)=>{for(let B=k;B{if(se.shapeFlag&6)return pe(se.component.subTree);if(se.shapeFlag&128)return se.suspense.next();const ye=d(se.anchor||se.el),ge=ye&&ye[z8];return ge?d(ge):ye};let oe=!1;const ce=(se,ye,ge)=>{se==null?ye._vnode&&X(ye._vnode,null,null,!0):v(ye._vnode||null,se,ye,null,null,null,ge),ye._vnode=se,oe||(oe=!0,Hg(),Np(),oe=!1)},ie={p:v,um:X,m:Oe,r:J,mt:N,mc:O,pc:K,pbc:z,n:pe,o:t};let ne,Se;return e&&([ne,Se]=e(ie)),{render:ce,hydrate:ne,createApp:_A(ce,ne)}}function Ed({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function El({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function m7(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function pm(t,e,n=!1){const r=t.children,a=e.children;if(Cr(r)&&Cr(a))for(let i=0;i>1,t[n[o]]0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}function g7(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:g7(e)}function Hp(t){if(t)for(let e=0;eRn(v7);function ii(t,e){return e2(t,null,e)}function zA(t,e){return e2(t,null,{flush:"post"})}function b7(t,e){return e2(t,null,{flush:"sync"})}function Ir(t,e,n){return e2(t,e,n)}function e2(t,e,n=xn){const{immediate:r,deep:a,flush:i,once:s}=n,o=ts({},n),l=e&&r||!e&&i!=="post";let u;if(Kc){if(i==="sync"){const m=y7();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Zi,m.resume=Zi,m.pause=Zi,m}}const p=qs;o.call=(m,f,v)=>ro(m,p,f,v);let h=!1;i==="post"?o.scheduler=m=>{$s(m,p&&p.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(m,f)=>{f?m():K5(m)}),o.augmentJob=m=>{e&&(m.flags|=4),h&&(m.flags|=2,p&&(m.id=p.uid,m.i=p))};const d=N_(t,e,o);return Kc&&(u?u.push(d):l&&d()),d}function NA(t,e,n){const r=this.proxy,a=us(t)?t.includes(".")?C7(r,t):()=>r[t]:t.bind(r,r);let i;Br(e)?i=e:(i=e.handler,n=e);const s=Dl(this),o=e2(a,i.bind(r),n);return s(),o}function C7(t,e){const n=e.split(".");return()=>{let r=t;for(let a=0;a{let p,h=xn,d;return b7(()=>{const m=t[a];xi(p,m)&&(p=m,u())}),{get(){return l(),n.get?n.get(p):p},set(m){const f=n.set?n.set(m):m;if(!xi(f,p)&&!(h!==xn&&xi(m,h)))return;const v=r.vnode.props;v&&(e in v||a in v||i in v)&&(`onUpdate:${e}`in v||`onUpdate:${a}`in v||`onUpdate:${i}`in v)||(p=m,u()),r.emit(`update:${e}`,f),xi(m,f)&&xi(m,h)&&!xi(f,d)&&u(),h=m,d=f}}});return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||xn:o,done:!1}:{done:!0}}}},o}const E7=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ai(e)}Modifiers`]||t[`${Li(e)}Modifiers`];function VA(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||xn;let a=n;const i=e.startsWith("update:"),s=i&&E7(r,e.slice(7));s&&(s.trim&&(a=n.map(p=>us(p)?p.trim():p)),s.number&&(a=n.map(Lp)));let o,l=r[o=Z1(e)]||r[o=Z1(ai(e))];!l&&i&&(l=r[o=Z1(Li(e))]),l&&ro(l,t,6,a);const u=r[o+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,ro(u,t,6,a)}}function S7(t,e,n=!1){const r=e.emitsCache,a=r.get(t);if(a!==void 0)return a;const i=t.emits;let s={},o=!1;if(!Br(t)){const l=u=>{const p=S7(u,e,!0);p&&(o=!0,ts(s,p))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!o?(Wn(t)&&r.set(t,null),null):(Cr(i)?i.forEach(l=>s[l]=null):ts(s,i),Wn(t)&&r.set(t,s),s)}function jh(t,e){return!t||!Ju(e)?!1:(e=e.slice(2).replace(/Once$/,""),zn(t,e[0].toLowerCase()+e.slice(1))||zn(t,Li(e))||zn(t,e))}function vp(t){const{type:e,vnode:n,proxy:r,withProxy:a,propsOptions:[i],slots:s,attrs:o,emit:l,render:u,renderCache:p,props:h,data:d,setupState:m,ctx:f,inheritAttrs:v}=t,C=wu(t);let E,x;try{if(n.shapeFlag&4){const w=a||r,b=w;E=Mi(u.call(b,w,p,h,m,d,f)),x=o}else{const w=e;E=Mi(w.length>1?w(h,{attrs:o,slots:s,emit:l}):w(h,null)),x=e.props?o:DA(o)}}catch(w){su.length=0,ql(w,t,1),E=gt(js)}let g=E;if(x&&v!==!1){const w=Object.keys(x),{shapeFlag:b}=g;w.length&&b&7&&(i&&w.some(H5)&&(x=RA(x,i)),g=No(g,x,!1,!0))}return n.dirs&&(g=No(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&ca(g,n.transition),E=g,wu(C),E}function HA(t,e=!0){let n;for(let r=0;r{let e;for(const n in t)(n==="class"||n==="style"||Ju(n))&&((e||(e={}))[n]=t[n]);return e},RA=(t,e)=>{const n={};for(const r in t)(!H5(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function jA(t,e,n){const{props:r,children:a,component:i}=t,{props:s,children:o,patchFlag:l}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xg(r,s,u):!!s;if(l&8){const p=e.dynamicProps;for(let h=0;ht.__isSuspense;let x0=0;const BA={name:"Suspense",__isSuspense:!0,process(t,e,n,r,a,i,s,o,l,u){if(t==null)$A(e,n,r,a,i,s,o,l,u);else{if(i&&i.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}UA(t,e,n,r,a,s,o,l,u)}},hydrate:qA,normalize:WA},FA=BA;function Au(t,e){const n=t.props&&t.props[e];Br(n)&&n()}function $A(t,e,n,r,a,i,s,o,l){const{p:u,o:{createElement:p}}=l,h=p("div"),d=t.suspense=x7(t,a,r,e,h,n,i,s,o,l);u(null,d.pendingBranch=t.ssContent,h,null,r,d,i,s),d.deps>0?(Au(t,"onPending"),Au(t,"onFallback"),u(null,t.ssFallback,e,n,r,null,i,s),jc(d,t.ssFallback)):d.resolve(!1,!0)}function UA(t,e,n,r,a,i,s,o,{p:l,um:u,o:{createElement:p}}){const h=e.suspense=t.suspense;h.vnode=e,e.el=t.el;const d=e.ssContent,m=e.ssFallback,{activeBranch:f,pendingBranch:v,isInFallback:C,isHydrating:E}=h;if(v)h.pendingBranch=d,io(d,v)?(l(v,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0?h.resolve():C&&(E||(l(f,m,n,r,a,null,i,s,o),jc(h,m)))):(h.pendingId=x0++,E?(h.isHydrating=!1,h.activeBranch=v):u(v,a,h),h.deps=0,h.effects.length=0,h.hiddenContainer=p("div"),C?(l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0?h.resolve():(l(f,m,n,r,a,null,i,s,o),jc(h,m))):f&&io(d,f)?(l(f,d,n,r,a,h,i,s,o),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0&&h.resolve()));else if(f&&io(d,f))l(f,d,n,r,a,h,i,s,o),jc(h,d);else if(Au(e,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=x0++,l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0)h.resolve();else{const{timeout:x,pendingId:g}=h;x>0?setTimeout(()=>{h.pendingId===g&&h.fallback(m)},x):x===0&&h.fallback(m)}}function x7(t,e,n,r,a,i,s,o,l,u,p=!1){const{p:h,m:d,um:m,n:f,o:{parentNode:v,remove:C}}=u;let E;const x=GA(t);x&&e&&e.pendingBranch&&(E=e.pendingId,e.deps++);const g=t.props?Op(t.props.timeout):void 0,w=i,b={vnode:t,parent:e,parentComponent:n,namespace:s,container:r,hiddenContainer:a,deps:0,pendingId:x0++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!p,isHydrating:p,isUnmounted:!1,effects:[],resolve(A=!1,T=!1){const{vnode:O,activeBranch:I,pendingBranch:z,pendingId:U,effects:W,parentComponent:F,container:N}=b;let $=!1;b.isHydrating?b.isHydrating=!1:A||($=I&&z.transition&&z.transition.mode==="out-in",$&&(I.transition.afterLeave=()=>{U===b.pendingId&&(d(z,N,i===w?f(I):i,0),Su(W))}),I&&(v(I.el)===N&&(i=f(I)),m(I,F,b,!0)),$||d(z,N,i,0)),jc(b,z),b.pendingBranch=null,b.isInFallback=!1;let D=b.parent,R=!1;for(;D;){if(D.pendingBranch){D.effects.push(...W),R=!0;break}D=D.parent}!R&&!$&&Su(W),b.effects=[],x&&e&&e.pendingBranch&&E===e.pendingId&&(e.deps--,e.deps===0&&!T&&e.resolve()),Au(O,"onResolve")},fallback(A){if(!b.pendingBranch)return;const{vnode:T,activeBranch:O,parentComponent:I,container:z,namespace:U}=b;Au(T,"onFallback");const W=f(O),F=()=>{b.isInFallback&&(h(null,A,z,W,I,null,U,o,l),jc(b,A))},N=A.transition&&A.transition.mode==="out-in";N&&(O.transition.afterLeave=F),b.isInFallback=!0,m(O,I,null,!0),N||F()},move(A,T,O){b.activeBranch&&d(b.activeBranch,A,T,O),b.container=A},next(){return b.activeBranch&&f(b.activeBranch)},registerDep(A,T,O){const I=!!b.pendingBranch;I&&b.deps++;const z=A.vnode.el;A.asyncDep.catch(U=>{ql(U,A,0)}).then(U=>{if(A.isUnmounted||b.isUnmounted||b.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:W}=A;A0(A,U,!1),z&&(W.el=z);const F=!z&&A.subTree.el;T(A,W,v(z||A.subTree.el),z?null:f(A.subTree),b,s,O),F&&C(F),Bh(A,W.el),I&&--b.deps===0&&b.resolve()})},unmount(A,T){b.isUnmounted=!0,b.activeBranch&&m(b.activeBranch,n,A,T),b.pendingBranch&&m(b.pendingBranch,n,A,T)}};return b}function qA(t,e,n,r,a,i,s,o,l){const u=e.suspense=x7(e,r,n,t.parentNode,document.createElement("div"),null,a,i,s,o,!0),p=l(t,u.pendingBranch=e.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),p}function WA(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=Yg(r?n.default:n),t.ssFallback=r?Yg(n.fallback):gt(js)}function Yg(t){let e;if(Br(t)){const n=Hl&&t._c;n&&(t._d=!1,Je()),t=t(),n&&(t._d=!0,e=mi,T7())}return Cr(t)&&(t=HA(t)),t=Mi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function w7(t,e){e&&e.pendingBranch?Cr(t)?e.effects.push(...t):e.effects.push(t):Su(t)}function jc(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t;let a=e.el;for(;!a&&e.component;)e=e.component.subTree,a=e.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,Bh(r,a))}function GA(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Rr=Symbol.for("v-fgt"),qa=Symbol.for("v-txt"),js=Symbol.for("v-cmt"),Nl=Symbol.for("v-stc"),su=[];let mi=null;function Je(t=!1){su.push(mi=t?null:[])}function T7(){su.pop(),mi=su[su.length-1]||null}let Hl=1;function w0(t,e=!1){Hl+=t,t<0&&mi&&e&&(mi.hasOnce=!0)}function _7(t){return t.dynamicChildren=Hl>0?mi||Nc:null,T7(),Hl>0&&mi&&mi.push(t),t}function lt(t,e,n,r,a,i){return _7(Ze(t,e,n,r,a,i,!0))}function Zt(t,e,n,r,a){return _7(gt(t,e,n,r,a,!0))}function pa(t){return t?t.__v_isVNode===!0:!1}function io(t,e){return t.type===e.type&&t.key===e.key}function KA(t){}const A7=({key:t})=>t??null,yp=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?us(t)||Pn(t)||Br(t)?{i:Ws,r:t,k:e,f:!!n}:t:null);function Ze(t,e=null,n=null,r=0,a=null,i=t===Rr?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&A7(e),ref:e&&yp(e),scopeId:zh,slotScopeIds:null,children:n,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:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Ws};return o?(hm(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=us(n)?8:16),Hl>0&&!s&&mi&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&mi.push(l),l}const gt=XA;function XA(t,e=null,n=null,r=0,a=null,i=!1){if((!t||t===Y8)&&(t=js),pa(t)){const o=No(t,e,!0);return n&&hm(o,n),Hl>0&&!i&&mi&&(o.shapeFlag&6?mi[mi.indexOf(t)]=o:mi.push(o)),o.patchFlag=-2,o}if(rP(t)&&(t=t.__vccOpts),e){e=t2(e);let{class:o,style:l}=e;o&&!us(o)&&(e.class=Wr(o)),Wn(l)&&(Ih(l)&&!Cr(l)&&(l=ts({},l)),e.style=Gs(l))}const s=us(t)?1:Dp(t)?128:N8(t)?64:Wn(t)?4:Br(t)?2:0;return Ze(t,e,n,r,a,s,i,!0)}function t2(t){return t?Ih(t)||i7(t)?ts({},t):t:null}function No(t,e,n=!1,r=!1){const{props:a,ref:i,patchFlag:s,children:o,transition:l}=t,u=e?Rs(a||{},e):a,p={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&A7(u),ref:e&&e.ref?n&&i?Cr(i)?i.concat(yp(e)):[i,yp(e)]:yp(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Rr?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&No(t.ssContent),ssFallback:t.ssFallback&&No(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&ca(p,l.clone(p)),p}function pn(t=" ",e=0){return gt(qa,null,t,e)}function P7(t,e){const n=gt(Nl,null,t);return n.staticCount=e,n}function sr(t="",e=!1){return e?(Je(),Zt(js,null,t)):gt(js,null,t)}function Mi(t){return t==null||typeof t=="boolean"?gt(js):Cr(t)?gt(Rr,null,t.slice()):pa(t)?Ha(t):gt(qa,null,String(t))}function Ha(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:No(t)}function hm(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Cr(e))n=16;else if(typeof e=="object")if(r&65){const a=e.default;a&&(a._c&&(a._d=!1),hm(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!i7(e)?e._ctx=Ws:a===3&&Ws&&(Ws.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Br(e)?(e={default:e,_ctx:Ws},n=32):(e=String(e),r&64?(n=16,e=[pn(e)]):n=8);t.children=e,t.shapeFlag|=n}function Rs(...t){const e={};for(let n=0;nqs||Ws;let Rp,T0;{const t=xh(),e=(n,r)=>{let a;return(a=t[n])||(a=t[n]=[]),a.push(r),i=>{a.length>1?a.forEach(s=>s(i)):a[0](i)}};Rp=e("__VUE_INSTANCE_SETTERS__",n=>qs=n),T0=e("__VUE_SSR_SETTERS__",n=>Kc=n)}const Dl=t=>{const e=qs;return Rp(t),t.scope.on(),()=>{t.scope.off(),Rp(e)}},_0=()=>{qs&&qs.scope.off(),Rp(null)};function L7(t){return t.vnode.shapeFlag&4}let Kc=!1;function O7(t,e=!1,n=!1){e&&T0(e);const{props:r,children:a}=t.vnode,i=L7(t);AA(t,r,i,e),OA(t,a,n);const s=i?QA(t,e):void 0;return e&&T0(!1),s}function QA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,b0);const{setup:r}=n;if(r){nl();const a=t.setupContext=r.length>1?k7(t):null,i=Dl(t),s=c1(r,t,0,[t.props,a]),o=R5(s);if(sl(),i(),(o||t.sp)&&!Ua(t)&&tm(t),o){if(s.then(_0,_0),e)return s.then(l=>{A0(t,l,e)}).catch(l=>{ql(l,t,0)});t.asyncDep=s}else A0(t,s,e)}else I7(t,e)}function A0(t,e,n){Br(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Wn(e)&&(t.setupState=G5(e)),I7(t,n)}let jp,P0;function ZA(t){jp=t,P0=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,cA))}}const eP=()=>!jp;function I7(t,e,n){const r=t.type;if(!t.render){if(!e&&jp&&!r.render){const a=r.template||lm(t).template;if(a){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:l}=r,u=ts(ts({isCustomElement:i,delimiters:o},s),l);r.render=jp(a,u)}}t.render=r.render||Zi,P0&&P0(t)}{const a=Dl(t);nl();try{CA(t)}finally{sl(),a()}}}const tP={get(t,e){return hi(t,"get",""),t[e]}};function k7(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,tP),slots:t.slots,emit:t.emit,expose:e}}function r2(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(G5(W5(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in nu)return nu[n](t)},has(e,n){return n in e||n in nu}})):t.proxy}function M0(t,e=!0){return Br(t)?t.displayName||t.name:t.name||e&&t.__name}function rP(t){return Br(t)&&"__vccOpts"in t}const pt=(t,e)=>O_(t,e,Kc);function il(t,e,n){const r=arguments.length;return r===2?Wn(e)&&!Cr(e)?pa(e)?gt(t,null,[e]):gt(t,e):gt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pa(n)&&(n=[n]),gt(t,e,n))}function nP(){}function sP(t,e,n,r){const a=n[r];if(a&&z7(a,t))return a;const i=e();return i.memo=t.slice(),i.cacheIndex=r,n[r]=i}function z7(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let r=0;r0&&mi&&mi.push(t),!0}const N7="3.5.13",iP=Zi,oP=j_,aP=_c,lP=k8,cP={createComponentInstance:M7,setupComponent:O7,renderComponentRoot:vp,setCurrentRenderingInstance:wu,isVNode:pa,normalizeVNode:Mi,getComponentPublicInstance:r2,ensureValidVNode:am,pushWarningContext:V_,popWarningContext:H_},uP=cP,pP=null,hP=null,fP=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let L0;const Jg=typeof window<"u"&&window.trustedTypes;if(Jg)try{L0=Jg.createPolicy("vue",{createHTML:t=>t})}catch{}const V7=L0?t=>L0.createHTML(t):t=>t,dP="http://www.w3.org/2000/svg",mP="http://www.w3.org/1998/Math/MathML",Qo=typeof document<"u"?document:null,Qg=Qo&&Qo.createElement("template"),gP={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const a=e==="svg"?Qo.createElementNS(dP,t):e==="mathml"?Qo.createElementNS(mP,t):n?Qo.createElement(t,{is:n}):Qo.createElement(t);return t==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:t=>Qo.createTextNode(t),createComment:t=>Qo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Qo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,a,i){const s=n?n.previousSibling:e.lastChild;if(a&&(a===i||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{Qg.innerHTML=V7(r==="svg"?`${t}`:r==="mathml"?`${t}`:t);const o=Qg.content;if(r==="svg"||r==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Aa="transition",B1="animation",Xc=Symbol("_vtc"),H7={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},D7=ts({},em,H7),vP=t=>(t.displayName="Transition",t.props=D7,t),Fh=vP((t,{slots:e})=>il(j8,R7(t),e)),Sl=(t,e=[])=>{Cr(t)?t.forEach(n=>n(...e)):t&&t(...e)},Zg=t=>t?Cr(t)?t.some(e=>e.length>1):t.length>1:!1;function R7(t){const e={};for(const W in t)W in H7||(e[W]=t[W]);if(t.css===!1)return e;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:p=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=t,f=yP(a),v=f&&f[0],C=f&&f[1],{onBeforeEnter:E,onEnter:x,onEnterCancelled:g,onLeave:w,onLeaveCancelled:b,onBeforeAppear:A=E,onAppear:T=x,onAppearCancelled:O=g}=e,I=(W,F,N,$)=>{W._enterCancelled=$,Ma(W,F?p:o),Ma(W,F?u:s),N&&N()},z=(W,F)=>{W._isLeaving=!1,Ma(W,h),Ma(W,m),Ma(W,d),F&&F()},U=W=>(F,N)=>{const $=W?T:x,D=()=>I(F,W,N);Sl($,[F,D]),ev(()=>{Ma(F,W?l:i),To(F,W?p:o),Zg($)||tv(F,r,v,D)})};return ts(e,{onBeforeEnter(W){Sl(E,[W]),To(W,i),To(W,s)},onBeforeAppear(W){Sl(A,[W]),To(W,l),To(W,u)},onEnter:U(!1),onAppear:U(!0),onLeave(W,F){W._isLeaving=!0;const N=()=>z(W,F);To(W,h),W._enterCancelled?(To(W,d),O0()):(O0(),To(W,d)),ev(()=>{W._isLeaving&&(Ma(W,h),To(W,m),Zg(w)||tv(W,r,C,N))}),Sl(w,[W,N])},onEnterCancelled(W){I(W,!1,void 0,!0),Sl(g,[W])},onAppearCancelled(W){I(W,!0,void 0,!0),Sl(O,[W])},onLeaveCancelled(W){z(W),Sl(b,[W])}})}function yP(t){if(t==null)return null;if(Wn(t))return[Sd(t.enter),Sd(t.leave)];{const e=Sd(t);return[e,e]}}function Sd(t){return Op(t)}function To(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Xc]||(t[Xc]=new Set)).add(e)}function Ma(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Xc];n&&(n.delete(e),n.size||(t[Xc]=void 0))}function ev(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let bP=0;function tv(t,e,n,r){const a=t._endId=++bP,i=()=>{a===t._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:o,propCount:l}=j7(t,e);if(!s)return r();const u=s+"end";let p=0;const h=()=>{t.removeEventListener(u,d),i()},d=m=>{m.target===t&&++p>=l&&h()};setTimeout(()=>{p(n[f]||"").split(", "),a=r(`${Aa}Delay`),i=r(`${Aa}Duration`),s=rv(a,i),o=r(`${B1}Delay`),l=r(`${B1}Duration`),u=rv(o,l);let p=null,h=0,d=0;e===Aa?s>0&&(p=Aa,h=s,d=i.length):e===B1?u>0&&(p=B1,h=u,d=l.length):(h=Math.max(s,u),p=h>0?s>u?Aa:B1:null,d=p?p===Aa?i.length:l.length:0);const m=p===Aa&&/\b(transform|all)(,|$)/.test(r(`${Aa}Property`).toString());return{type:p,timeout:h,propCount:d,hasTransform:m}}function rv(t,e){for(;t.lengthnv(n)+nv(t[r])))}function nv(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function O0(){return document.body.offsetHeight}function CP(t,e,n){const r=t[Xc];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Bp=Symbol("_vod"),B7=Symbol("_vsh"),fm={beforeMount(t,{value:e},{transition:n}){t[Bp]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):F1(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),F1(t,!0),r.enter(t)):r.leave(t,()=>{F1(t,!1)}):F1(t,e))},beforeUnmount(t,{value:e}){F1(t,e)}};function F1(t,e){t.style.display=e?t[Bp]:"none",t[B7]=!e}function EP(){fm.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const F7=Symbol("");function SP(t){const e=Bs();if(!e)return;const n=e.ut=(a=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>Fp(i,a))},r=()=>{const a=t(e.proxy);e.ce?Fp(e.ce,a):I0(e.subTree,a),n(a)};nm(()=>{Su(r)}),li(()=>{Ir(r,Zi,{flush:"post"});const a=new MutationObserver(r);a.observe(e.subTree.el.parentNode,{childList:!0}),gi(()=>a.disconnect())})}function I0(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{I0(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Fp(t.el,e);else if(t.type===Rr)t.children.forEach(n=>I0(n,e));else if(t.type===Nl){let{el:n,anchor:r}=t;for(;n&&(Fp(n,e),n!==r);)n=n.nextSibling}}function Fp(t,e){if(t.nodeType===1){const n=t.style;let r="";for(const a in e)n.setProperty(`--${a}`,e[a]),r+=`--${a}: ${e[a]};`;n[F7]=r}}const xP=/(^|;)\s*display\s*:/;function wP(t,e,n){const r=t.style,a=us(n);let i=!1;if(n&&!a){if(e)if(us(e))for(const s of e.split(";")){const o=s.slice(0,s.indexOf(":")).trim();n[o]==null&&bp(r,o,"")}else for(const s in e)n[s]==null&&bp(r,s,"");for(const s in n)s==="display"&&(i=!0),bp(r,s,n[s])}else if(a){if(e!==n){const s=r[F7];s&&(n+=";"+s),r.cssText=n,i=xP.test(n)}}else e&&t.removeAttribute("style");Bp in t&&(t[Bp]=i?r.display:"",t[B7]&&(r.display="none"))}const sv=/\s*!important$/;function bp(t,e,n){if(Cr(n))n.forEach(r=>bp(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=TP(t,e);sv.test(n)?t.setProperty(Li(r),n.replace(sv,""),"important"):t[r]=n}}const iv=["Webkit","Moz","ms"],xd={};function TP(t,e){const n=xd[e];if(n)return n;let r=ai(e);if(r!=="filter"&&r in t)return xd[e]=r;r=Qu(r);for(let a=0;awd||(MP.then(()=>wd=0),wd=Date.now());function OP(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ro(IP(r,n.value),e,5,[r])};return n.value=t,n.attached=LP(),n}function IP(t,e){if(Cr(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>a=>!a._stopped&&r&&r(a))}else return e}const pv=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,kP=(t,e,n,r,a,i)=>{const s=a==="svg";e==="class"?CP(t,r,s):e==="style"?wP(t,n,r):Ju(e)?H5(e)||AP(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):zP(t,e,r,s))?(lv(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&av(t,e,r,s,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!us(r))?lv(t,ai(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),av(t,e,r,s))};function zP(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&pv(e)&&Br(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return pv(e)&&us(n)?!1:e in t}const hv={};/*! #__NO_SIDE_EFFECTS__ */function $7(t,e,n){const r=ur(t,e);Eh(r)&&ts(r,e);class a extends $h{constructor(s){super(r,s,n)}}return a.def=r,a}/*! #__NO_SIDE_EFFECTS__ */const NP=(t,e)=>$7(t,e,eb),VP=typeof HTMLElement<"u"?HTMLElement:class{};class $h extends VP{constructor(e,n={},r=Pu){super(),this._def=e,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Pu?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof $h){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):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._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,ws(()=>{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)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const a of r)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(r,a=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=r;let o;if(i&&!Cr(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Op(this._props[l])),(o||(o=Object.create(null)))[ai(l)]=!0)}this._numberProps=o,a&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>e(this._def=r,!0)):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)zn(this,r)||Object.defineProperty(this,r,{get:()=>$e(n[r])})}_resolveProps(e){const{props:n}=e,r=Cr(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&r.includes(a)&&this._setProp(a,this[a]);for(const a of r.map(ai))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(i){this._setProp(a,i,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let r=n?this.getAttribute(e):hv;const a=ai(e);n&&this._numberProps&&this._numberProps[a]&&(r=Op(r)),this._setProp(a,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,r=!0,a=!1){if(n!==this._props[e]&&(n===hv?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),r)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Li(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Li(e),n+""):n||this.removeAttribute(Li(e)),i&&i.observe(this,{attributes:!0})}}_update(){qp(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=gt(this._def,ts(e,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const a=(i,s)=>{this.dispatchEvent(new CustomEvent(i,Eh(s[0])?ts({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{a(i,s),Li(i)!==i&&a(Li(i),s)},this._setParent()}),n}_applyStyles(e,n){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let a=e.length-1;a>=0;a--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=e[a],this.shadowRoot.prepend(i)}}_parseSlots(){const e=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(e[r]||(e[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete t.props.mode,t),jP=RP({name:"TransitionGroup",props:ts({},D7,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Bs(),r=Z5();let a,i;return Hh(()=>{if(!a.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!qP(a[0].el,n.vnode.el,s))return;a.forEach(FP),a.forEach($P);const o=a.filter(UP);O0(),o.forEach(l=>{const u=l.el,p=u.style;To(u,s),p.transform=p.webkitTransform=p.transitionDuration="";const h=u[$p]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",h),u[$p]=null,Ma(u,s))};u.addEventListener("transitionend",h)})}),()=>{const s=Cn(t),o=R7(s);let l=s.tag||Rr;if(a=[],i)for(let u=0;u{o.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(r);const{hasTransform:s}=j7(r);return i.removeChild(r),s}const Qa=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Cr(e)?n=>Dc(e,n):e};function WP(t){t.target.composing=!0}function dv(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const eo=Symbol("_assign"),Up={created(t,{modifiers:{lazy:e,trim:n,number:r}},a){t[eo]=Qa(a);const i=r||a.props&&a.props.type==="number";na(t,e?"change":"input",s=>{if(s.target.composing)return;let o=t.value;n&&(o=o.trim()),i&&(o=Lp(o)),t[eo](o)}),n&&na(t,"change",()=>{t.value=t.value.trim()}),e||(na(t,"compositionstart",WP),na(t,"compositionend",dv),na(t,"change",dv))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},s){if(t[eo]=Qa(s),t.composing)return;const o=(i||t.type==="number")&&!/^0\d/.test(t.value)?Lp(t.value):t.value,l=e??"";o!==l&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||a&&t.value.trim()===l)||(t.value=l))}},dm={deep:!0,created(t,e,n){t[eo]=Qa(n),na(t,"change",()=>{const r=t._modelValue,a=Yc(t),i=t.checked,s=t[eo];if(Cr(r)){const o=Th(r,a),l=o!==-1;if(i&&!l)s(r.concat(a));else if(!i&&l){const u=[...r];u.splice(o,1),s(u)}}else if(Ul(r)){const o=new Set(r);i?o.add(a):o.delete(a),s(o)}else s(K7(t,i))})},mounted:mv,beforeUpdate(t,e,n){t[eo]=Qa(n),mv(t,e,n)}};function mv(t,{value:e,oldValue:n},r){t._modelValue=e;let a;if(Cr(e))a=Th(e,r.props.value)>-1;else if(Ul(e))a=e.has(r.props.value);else{if(e===n)return;a=Ya(e,K7(t,!0))}t.checked!==a&&(t.checked=a)}const mm={created(t,{value:e},n){t.checked=Ya(e,n.props.value),t[eo]=Qa(n),na(t,"change",()=>{t[eo](Yc(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[eo]=Qa(r),e!==n&&(t.checked=Ya(e,r.props.value))}},G7={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const a=Ul(e);na(t,"change",()=>{const i=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?Lp(Yc(s)):Yc(s));t[eo](t.multiple?a?new Set(i):i:i[0]),t._assigning=!0,ws(()=>{t._assigning=!1})}),t[eo]=Qa(r)},mounted(t,{value:e}){gv(t,e)},beforeUpdate(t,e,n){t[eo]=Qa(n)},updated(t,{value:e}){t._assigning||gv(t,e)}};function gv(t,e){const n=t.multiple,r=Cr(e);if(!(n&&!r&&!Ul(e))){for(let a=0,i=t.options.length;aString(u)===String(o)):s.selected=Th(e,o)>-1}else s.selected=e.has(o);else if(Ya(Yc(s),e)){t.selectedIndex!==a&&(t.selectedIndex=a);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Yc(t){return"_value"in t?t._value:t.value}function K7(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const gm={created(t,e,n){Z2(t,e,n,null,"created")},mounted(t,e,n){Z2(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){Z2(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){Z2(t,e,n,r,"updated")}};function X7(t,e){switch(t){case"SELECT":return G7;case"TEXTAREA":return Up;default:switch(e){case"checkbox":return dm;case"radio":return mm;default:return Up}}}function Z2(t,e,n,r,a){const s=X7(t.tagName,n.props&&n.props.type)[a];s&&s(t,e,n,r)}function GP(){Up.getSSRProps=({value:t})=>({value:t}),mm.getSSRProps=({value:t},e)=>{if(e.props&&Ya(e.props.value,t))return{checked:!0}},dm.getSSRProps=({value:t},e)=>{if(Cr(t)){if(e.props&&Th(t,e.props.value)>-1)return{checked:!0}}else if(Ul(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},gm.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=X7(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const KP=["ctrl","shift","alt","meta"],XP={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>KP.some(n=>t[`${n}Key`]&&!e.includes(n))},oo=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(a,...i)=>{for(let s=0;s{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=a=>{if(!("key"in a))return;const i=Li(a.key);if(e.some(s=>s===i||YP[s]===i))return t(a)})},J7=ts({patchProp:kP},gP);let iu,vv=!1;function Q7(){return iu||(iu=h7(J7))}function Z7(){return iu=vv?iu:f7(J7),vv=!0,iu}const qp=(...t)=>{Q7().render(...t)},JP=(...t)=>{Z7().hydrate(...t)},Pu=(...t)=>{const e=Q7().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=rb(r);if(!a)return;const i=e._component;!Br(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=n(a,!1,tb(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},e},eb=(...t)=>{const e=Z7().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=rb(r);if(a)return n(a,!0,tb(a))},e};function tb(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function rb(t){return us(t)?document.querySelector(t):t}let yv=!1;const QP=()=>{yv||(yv=!0,GP(),EP())};/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const ZP=()=>{},eM=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:j8,BaseTransitionPropsValidators:em,Comment:js,DeprecationTypes:fP,EffectScope:B5,ErrorCodes:R_,ErrorTypeStrings:oP,Fragment:Rr,KeepAlive:oA,ReactiveEffect:bu,Static:Nl,Suspense:FA,Teleport:Q5,Text:qa,TrackOpTypes:I_,Transition:Fh,TransitionGroup:BP,TriggerOpTypes:k_,VueElement:$h,assertNumber:D_,callWithAsyncErrorHandling:ro,callWithErrorHandling:c1,camelize:ai,capitalize:Qu,cloneVNode:No,compatUtils:hP,compile:ZP,computed:pt,createApp:Pu,createBlock:Zt,createCommentVNode:sr,createElementBlock:lt,createElementVNode:Ze,createHydrationRenderer:f7,createPropsRestProxy:yA,createRenderer:h7,createSSRApp:eb,createSlots:om,createStaticVNode:P7,createTextVNode:pn,createVNode:gt,customRef:kh,defineAsyncComponent:rm,defineComponent:ur,defineCustomElement:$7,defineEmits:pA,defineExpose:hA,defineModel:mA,defineOptions:fA,defineProps:uA,defineSSRCustomElement:NP,defineSlots:dA,devtools:aP,effect:n_,effectScope:t_,getCurrentInstance:Bs,getCurrentScope:_h,getCurrentWatcher:z_,getTransitionRawChildren:Nh,guardReactiveProps:t2,h:il,handleError:ql,hasInjectionContext:cm,hydrate:JP,hydrateOnIdle:Z_,hydrateOnInteraction:nA,hydrateOnMediaQuery:rA,hydrateOnVisible:tA,initCustomFormatter:nP,initDirectivesForSSR:QP,inject:Rn,isMemoSame:z7,isProxy:Ih,isReactive:$a,isReadonly:Ja,isRef:Pn,isRuntimeOnly:eP,isShallow:ji,isVNode:pa,markRaw:W5,mergeDefaults:vA,mergeModels:Gc,mergeProps:Rs,nextTick:ws,normalizeClass:Wr,normalizeProps:wh,normalizeStyle:Gs,onActivated:F8,onBeforeMount:q8,onBeforeUnmount:u1,onBeforeUpdate:nm,onDeactivated:$8,onErrorCaptured:X8,onMounted:li,onRenderTracked:K8,onRenderTriggered:G8,onScopeDispose:F5,onServerPrefetch:W8,onUnmounted:gi,onUpdated:Hh,onWatcherCleanup:P8,openBlock:Je,popScopeId:Y5,provide:zs,proxyRefs:G5,pushScopeId:X5,queuePostFlushCb:Su,reactive:fo,readonly:da,ref:xt,registerRuntimeCompiler:ZA,render:qp,renderList:Is,renderSlot:gn,resolveComponent:ua,resolveDirective:J8,resolveDynamicComponent:zo,resolveFilter:pP,resolveTransitionHooks:Wc,setBlockTracking:w0,setDevtoolsHook:lP,setTransitionHooks:ca,shallowReactive:Lh,shallowReadonly:x_,shallowRef:Kr,ssrContextKey:v7,ssrUtils:uP,stop:s_,toDisplayString:hn,toHandlerKey:Z1,toHandlers:Q8,toRaw:Cn,toRef:_8,toRefs:T8,toValue:Hr,transformVNodeArgs:KA,triggerRef:T_,unref:$e,useAttrs:Z8,useCssModule:DP,useCssVars:SP,useHost:U7,useId:q_,useModel:Rh,useSSRContext:y7,useShadowRoot:HP,useSlots:Dh,useTemplateRef:W_,useTransitionState:Z5,vModelCheckbox:dm,vModelDynamic:gm,vModelRadio:mm,vModelSelect:G7,vModelText:Up,vShow:fm,version:N7,warn:iP,watch:Ir,watchEffect:ii,watchPostEffect:zA,watchSyncEffect:b7,withAsyncContext:bA,withCtx:Vt,withDefaults:gA,withDirectives:qn,withKeys:Y7,withMemo:sP,withModifiers:oo,withScopeId:J5},Symbol.toStringTag,{value:"Module"}));var tM=Object.create,nb=Object.defineProperty,rM=Object.getOwnPropertyDescriptor,vm=Object.getOwnPropertyNames,nM=Object.getPrototypeOf,sM=Object.prototype.hasOwnProperty,iM=(t,e)=>function(){return t&&(e=(0,t[vm(t)[0]])(t=0)),e},sb=(t,e)=>function(){return e||(0,t[vm(t)[0]])((e={exports:{}}).exports,e),e.exports},oM=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of vm(e))!sM.call(t,a)&&a!==n&&nb(t,a,{get:()=>e[a],enumerable:!(r=rM(e,a))||r.enumerable});return t},aM=(t,e,n)=>(n=t!=null?tM(nM(t)):{},oM(nb(n,"default",{value:t,enumerable:!0}),t)),kt=iM({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),lM=sb({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(t,e){kt(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},a=["်","ް"],i={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},s={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},o={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),p=[".","!","~","*","'","(",")"].join(""),h=function(C,E){var x="-",g="",w="",b=!0,A={},T,O,I,z,U,W,F,N,$,D,R,K,re,ue,Oe="";if(typeof C!="string")return"";if(typeof E=="string"&&(x=E),F=o.en,N=s.en,typeof E=="object"){T=E.maintainCase||!1,A=E.custom&&typeof E.custom=="object"?E.custom:A,I=+E.truncate>1&&E.truncate||!1,z=E.uric||!1,U=E.uricNoSlash||!1,W=E.mark||!1,b=!(E.symbols===!1||E.lang===!1),x=E.separator||x,z&&(Oe+=l),U&&(Oe+=u),W&&(Oe+=p),F=E.lang&&o[E.lang]&&b?o[E.lang]:b?o.en:{},N=E.lang&&s[E.lang]?s[E.lang]:E.lang===!1||E.lang===!0?{}:s.en,E.titleCase&&typeof E.titleCase.length=="number"&&Array.prototype.toString.call(E.titleCase)?(E.titleCase.forEach(function(X){A[X+""]=X+""}),O=!0):O=!!E.titleCase,E.custom&&typeof E.custom.length=="number"&&Array.prototype.toString.call(E.custom)&&E.custom.forEach(function(X){A[X+""]=X+""}),Object.keys(A).forEach(function(X){var J;X.length>1?J=new RegExp("\\b"+m(X)+"\\b","gi"):J=new RegExp(m(X),"gi"),C=C.replace(J,A[X])});for(R in A)Oe+=R}for(Oe+=x,Oe=m(Oe),C=C.replace(/(^\s+|\s+$)/g,""),re=!1,ue=!1,D=0,K=C.length;D=0?(w+=R,R=""):ue===!0?(R=i[w]+r[R],w=""):R=re&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],re=!1,ue=!1):R in i?(w+=R,R="",D===K-1&&(R=i[w]),ue=!0):F[R]&&!(z&&l.indexOf(R)!==-1)&&!(U&&u.indexOf(R)!==-1)?(R=re||g.substr(-1).match(/[A-Za-z0-9]/)?x+F[R]:F[R],R+=C[D+1]!==void 0&&C[D+1].match(/[A-Za-z0-9]/)?x:"",re=!0):(ue===!0?(R=i[w]+R,w="",ue=!1):re&&(/[A-Za-z0-9]/.test(R)||g.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),re=!1),g+=R.replace(new RegExp("[^\\w\\s"+Oe+"_-]","g"),x);return O&&(g=g.replace(/(\w)(\S*)/g,function(X,J,fe){var Ee=J.toUpperCase()+(fe!==null?fe:"");return Object.keys(A).indexOf(Ee.toLowerCase())<0?Ee:Ee.toLowerCase()})),g=g.replace(/\s+/g,x).replace(new RegExp("\\"+x+"+","g"),x).replace(new RegExp("(^\\"+x+"+|\\"+x+"+$)","g"),""),I&&g.length>I&&($=g.charAt(I)===x,g=g.slice(0,I),$||(g=g.slice(0,g.lastIndexOf(x)))),!T&&!O&&(g=g.toLowerCase()),g},d=function(C){return function(x){return h(x,C)}},m=function(C){return C.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(v,C){for(var E in C)if(C[E]===v)return!0};if(typeof e<"u"&&e.exports)e.exports=h,e.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return h});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=h,n.createSlug=d}catch{}}(t)}}),cM=sb({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,e){kt(),e.exports=lM()}});kt();kt();kt();function uM(t){if(zt.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__){t();return}Object.defineProperty(zt,"__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__",{set(e){e&&t()},configurable:!0})}kt();kt();kt();kt();kt();function pM(t){var e;const n=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return n==="index"&&((e=t.__file)!=null&&e.endsWith("index.vue"))?"":n}function ib(t){const e=t.__file;if(e)return Zy(ET(e,".vue"))}function hM(t){const e=t.displayName||t.name||t._componentTag;return e||ib(t)}function bv(t,e){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=e,e}function uo(t){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function Td(t){const{app:e,uid:n,instance:r}=t;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const a=await uo(e);if(!a)return null;const i=a.rootInstance===r;return`${a.id}:${i?"root":n}`}catch{}}function ym(t){var e,n;const r=(e=t.subTree)==null?void 0:e.type,a=uo(t);return a?((n=a?.types)==null?void 0:n.Fragment)===r:!1}function _d(t){return t._isBeingDestroyed||t.isUnmounted}function vo(t){var e,n,r;const a=pM(t?.type||{});if(a)return a;if(t?.root===t)return"Root";for(const s in(n=(e=t.parent)==null?void 0:e.type)==null?void 0:n.components)if(t.parent.type.components[s]===t?.type)return bv(t,s);for(const s in(r=t.appContext)==null?void 0:r.components)if(t.appContext.components[s]===t?.type)return bv(t,s);const i=ib(t?.type||{});return i||"Anonymous Component"}function bm(t){var e,n,r;const a=(r=(n=(e=t?.appContext)==null?void 0:e.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,i=t===t?.root?"root":t.uid;return`${a}:${i}`}function fM(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function ol(t){try{return t()}catch(e){return e}}function Jc(t,e){return e=e||`${t.id}:root`,t.instanceMap.get(e)||t.instanceMap.get(":root")}function Yi(t,e,n=!1){return n||typeof t=="object"&&t!==null?e in t:!1}function dM(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}var ep;function mM(t){return ep||(ep=document.createRange()),ep.selectNode(t),ep.getBoundingClientRect()}function gM(t){const e=dM();if(!t.children)return e;for(let n=0,r=t.children.length;nt.bottom)&&(t.bottom=e.bottom),(!t.left||e.leftt.right)&&(t.right=e.right),t}var Cv={top:0,left:0,right:0,bottom:0,width:0,height:0};function Rl(t){const e=t.subTree.el;return typeof window>"u"?Cv:ym(t)?gM(t.subTree):e?.nodeType===1?e?.getBoundingClientRect():t.subTree.component?Rl(t.subTree.component):Cv}kt();function Qc(t){return ym(t)?yM(t.subTree):t.subTree?[t.subTree.el]:[]}function yM(t){if(!t.children)return[];const e=[];return t.children.forEach(n=>{n.component?e.push(...Qc(n.component)):n?.el&&e.push(n.el)}),e}var ob="__vue-devtools-component-inspector__",ab="__vue-devtools-component-inspector__card__",lb="__vue-devtools-component-inspector__name__",cb="__vue-devtools-component-inspector__indicator__",ub={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},bM={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},CM={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function p1(){return document.getElementById(ob)}function EM(){return document.getElementById(ab)}function SM(){return document.getElementById(cb)}function xM(){return document.getElementById(lb)}function Cm(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function Em(t){var e;const n=document.createElement("div");n.id=(e=t.elementId)!=null?e:ob,Object.assign(n.style,{...ub,...Cm(t.bounds),...t.style});const r=document.createElement("span");r.id=ab,Object.assign(r.style,{...bM,top:t.bounds.top<35?0:"-35px"});const a=document.createElement("span");a.id=lb,a.innerHTML=`<${t.name}>  `;const i=document.createElement("i");return i.id=cb,i.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(i.style,CM),r.appendChild(a),r.appendChild(i),n.appendChild(r),document.body.appendChild(n),n}function Sm(t){const e=p1(),n=EM(),r=xM(),a=SM();e&&(Object.assign(e.style,{...ub,...Cm(t.bounds)}),Object.assign(n.style,{top:t.bounds.top<35?0:"-35px"}),r.innerHTML=`<${t.name}>  `,a.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function wM(t){const e=Rl(t);if(!e.width&&!e.height)return;const n=vo(t);p1()?Sm({bounds:e,name:n}):Em({bounds:e,name:n})}function pb(){const t=p1();t&&(t.style.display="none")}var k0=null;function z0(t){const e=t.target;if(e){const n=e.__vueParentComponent;if(n&&(k0=n,n.vnode.el)){const a=Rl(n),i=vo(n);p1()?Sm({bounds:a,name:i}):Em({bounds:a,name:i})}}}function TM(t,e){if(t.preventDefault(),t.stopPropagation(),k0){const n=bm(k0);e(n)}}var Wp=null;function _M(){pb(),window.removeEventListener("mouseover",z0),window.removeEventListener("click",Wp,!0),Wp=null}function AM(){return window.addEventListener("mouseover",z0),new Promise(t=>{function e(n){n.preventDefault(),n.stopPropagation(),TM(n,r=>{window.removeEventListener("click",e,!0),Wp=null,window.removeEventListener("mouseover",z0);const a=p1();a&&(a.style.display="none"),t(JSON.stringify({id:r}))})}Wp=e,window.addEventListener("click",e,!0)})}function PM(t){const e=Jc(Nn.value,t.id);if(e){const[n]=Qc(e);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Rl(e),a=document.createElement("div"),i={...Cm(r),position:"absolute"};Object.assign(a.style,i),document.body.appendChild(a),a.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(a)},2e3)}setTimeout(()=>{const r=Rl(e);if(r.width||r.height){const a=vo(e),i=p1();i?Sm({...t,name:a,bounds:r}):Em({...t,name:a,bounds:r}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}kt();var Ev,Sv;(Sv=(Ev=zt).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Ev.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function MM(t){let e=0;const n=setInterval(()=>{zt.__VUE_INSPECTOR__&&(clearInterval(n),e+=30,t()),e>=5e3&&clearInterval(n)},30)}function LM(){const t=zt.__VUE_INSPECTOR__,e=t.openInEditor;t.openInEditor=async(...n)=>{t.disable(),e(...n)}}function OM(){return new Promise(t=>{function e(){LM(),t(zt.__VUE_INSPECTOR__)}zt.__VUE_INSPECTOR__?e():MM(()=>{e()})})}kt();kt();function IM(t){return!!(t&&t.__v_isReadonly)}function hb(t){return IM(t)?hb(t.__v_raw):!!(t&&t.__v_isReactive)}function Ad(t){return!!(t&&t.__v_isRef===!0)}function J1(t){const e=t&&t.__v_raw;return e?J1(e):t}var fb=class{constructor(){this.refEditor=new kM}set(t,e,n,r){const a=Array.isArray(e)?e:e.split(".");for(;a.length>1;){const o=a.shift();t instanceof Map?t=t.get(o):t instanceof Set?t=Array.from(t.values())[o]:t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const i=a[0],s=this.refEditor.get(t)[i];r?r(t,i,n):this.refEditor.isRef(s)?this.refEditor.set(s,n):t[i]=n}get(t,e){const n=Array.isArray(e)?e:e.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(e)?e.slice():e.split("."),a=n?2:1;for(;t&&r.length>a;){const i=r.shift();t=t[i],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,r[0])}createDefaultSetCallback(t){return(e,n,r)=>{if((t.remove||t.newKey)&&(Array.isArray(e)?e.splice(n,1):J1(e)instanceof Map?e.delete(n):J1(e)instanceof Set?e.delete(Array.from(e.values())[n]):Reflect.deleteProperty(e,n)),!t.remove){const a=e[t.newKey||n];this.refEditor.isRef(a)?this.refEditor.set(a,r):J1(e)instanceof Map?e.set(t.newKey||n,r):J1(e)instanceof Set?e.add(r):e[t.newKey||n]=r}}}},kM=class{set(t,e){if(Ad(t))t.value=e;else{if(t instanceof Set&&Array.isArray(e)){t.clear(),e.forEach(a=>t.add(a));return}const n=Object.keys(e);if(t instanceof Map){const a=new Set(t.keys());n.forEach(i=>{t.set(i,Reflect.get(e,i)),a.delete(i)}),a.forEach(i=>t.delete(i));return}const r=new Set(Object.keys(t));n.forEach(a=>{Reflect.set(t,a,Reflect.get(e,a)),r.delete(a)}),r.forEach(a=>Reflect.deleteProperty(t,a))}}get(t){return Ad(t)?t.value:t}isRef(t){return Ad(t)||hb(t)}};async function zM(t,e){const{path:n,nodeId:r,state:a,type:i}=t,s=Jc(Nn.value,r);if(!s)return;const o=n.slice();let l;Object.keys(s.props).includes(n[0])?l=s.props:s.devtoolsRawSetupState&&Object.keys(s.devtoolsRawSetupState).includes(n[0])?l=s.devtoolsRawSetupState:s.data&&Object.keys(s.data).includes(n[0])?l=s.data:l=s.proxy,l&&o&&(a.type,e.set(l,o,a.value,e.createDefaultSetCallback(a)))}var NM=new fb;async function VM(t){zM(t,NM)}kt();kt();kt();var db="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function HM(t){!$l||typeof localStorage>"u"||localStorage===null||localStorage.setItem(db,JSON.stringify(t))}function DM(){if(!$l||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=localStorage.getItem(db);return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}kt();kt();kt();var xv,wv;(wv=(xv=zt).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(xv.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var mb=new Proxy(zt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(t,e,n){return Reflect.get(t,e,n)}});function RM(t,e){an.timelineLayersState[e.id]=!1,mb.push({...t,descriptorId:e.id,appRecord:uo(e.app)})}function jM(t){const e={...an.timelineLayersState,...t};HM(e),ou({timelineLayersState:e})}var Tv,_v;(_v=(Tv=zt).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(Tv.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var xm=new Proxy(zt.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(t,e,n){return Reflect.get(t,e,n)}}),gb=la(()=>{Vo.hooks.callHook("sendInspectorToClient",wm())});function BM(t,e){var n,r;xm.push({options:t,descriptor:e,treeFilterPlaceholder:(n=t.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=t.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:uo(e.app)}),gb()}function wm(){return xm.filter(t=>t.descriptor.app===Nn.value.app).filter(t=>t.descriptor.id!=="components").map(t=>{var e;const n=t.descriptor,r=t.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(e=r?.icon)==null?void 0:e.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function FM(t){const e=Wa(t,Nn.value.app);if(!e)return;const n=e.descriptor,r=e.options,a=mb.filter(i=>i.descriptorId===n.id).map(i=>({id:i.id,label:i.label,color:i.color}));return{id:r.id,label:r.label,logo:n.logo,packageName:n.packageName,homepage:n.homepage,timelineLayers:a,treeFilterPlaceholder:e.treeFilterPlaceholder,stateFilterPlaceholder:e.stateFilterPlaceholder}}function Wa(t,e){return xm.find(n=>n.options.id===t&&(e?n.descriptor.app===e:!0))}function Av(t){const e=Wa(t);return e?.options.actions}function Pv(t){const e=Wa(t);return e?.options.nodeActions}var N0=(t=>(t.ADD_INSPECTOR="addInspector",t.SEND_INSPECTOR_TREE="sendInspectorTree",t.SEND_INSPECTOR_STATE="sendInspectorState",t.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",t.TIMELINE_LAYER_ADDED="timelineLayerAdded",t.TIMELINE_EVENT_ADDED="timelineEventAdded",t.GET_COMPONENT_INSTANCES="getComponentInstances",t.GET_COMPONENT_BOUNDS="getComponentBounds",t.GET_COMPONENT_NAME="getComponentName",t.COMPONENT_HIGHLIGHT="componentHighlight",t.COMPONENT_UNHIGHLIGHT="componentUnhighlight",t))(N0||{}),La=(t=>(t.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",t.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",t.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",t.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",t.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",t.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",t.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",t.ROUTER_INFO_UPDATED="routerInfoUpdated",t))(La||{});function $M(){const t=r8();t.hook("addInspector",({inspector:r,plugin:a})=>{BM(r,a.descriptor)});const e=la(async({inspectorId:r,plugin:a})=>{var i;if(!r||!((i=a?.descriptor)!=null&&i.app)||an.highPerfModeEnabled)return;const s=Wa(r,a.descriptor.app),o={app:a.descriptor.app,inspectorId:r,filter:s?.treeFilter||"",rootNodes:[]};await new Promise(l=>{t.callHookWith(async u=>{await Promise.all(u.map(p=>p(o))),l()},"getInspectorTree")}),t.callHookWith(async l=>{await Promise.all(l.map(u=>u({inspectorId:r,rootNodes:o.rootNodes})))},"sendInspectorTreeToClient")},120);t.hook("sendInspectorTree",e);const n=la(async({inspectorId:r,plugin:a})=>{var i;if(!r||!((i=a?.descriptor)!=null&&i.app)||an.highPerfModeEnabled)return;const s=Wa(r,a.descriptor.app),o={app:a.descriptor.app,inspectorId:r,nodeId:s?.selectedNodeId||"",state:null},l={currentTab:`custom-inspector:${r}`};o.nodeId&&await new Promise(u=>{t.callHookWith(async p=>{await Promise.all(p.map(h=>h(o,l))),u()},"getInspectorState")}),t.callHookWith(async u=>{await Promise.all(u.map(p=>p({inspectorId:r,nodeId:o.nodeId,state:o.state})))},"sendInspectorStateToClient")},120);return t.hook("sendInspectorState",n),t.hook("customInspectorSelectNode",({inspectorId:r,nodeId:a,plugin:i})=>{const s=Wa(r,i.descriptor.app);s&&(s.selectedNodeId=a)}),t.hook("timelineLayerAdded",({options:r,plugin:a})=>{RM(r,a.descriptor)}),t.hook("timelineEventAdded",({options:r,plugin:a})=>{var i;const s=["performance","component-event","keyboard","mouse"];an.highPerfModeEnabled||!((i=an.timelineLayersState)!=null&&i[a.descriptor.id])&&!s.includes(r.layerId)||t.callHookWith(async o=>{await Promise.all(o.map(l=>l(r)))},"sendTimelineEventToClient")}),t.hook("getComponentInstances",async({app:r})=>{const a=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!a)return null;const i=a.id.toString();return[...a.instanceMap].filter(([o])=>o.split(":")[0]===i).map(([,o])=>o)}),t.hook("getComponentBounds",async({instance:r})=>Rl(r)),t.hook("getComponentName",({instance:r})=>vo(r)),t.hook("componentHighlight",({uid:r})=>{const a=Nn.value.instanceMap.get(r);a&&wM(a)}),t.hook("componentUnhighlight",()=>{pb()}),t}var Mv,Lv;(Lv=(Mv=zt).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Mv.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ov,Iv;(Iv=(Ov=zt).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ov.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var kv,zv;(zv=(kv=zt).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(kv.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Nv,Vv;(Vv=(Nv=zt).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Nv.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Hv,Dv;(Dv=(Hv=zt).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Hv.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var Mo="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function UM(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:DM()}}var Rv,jv;(jv=(Rv=zt)[Mo])!=null||(Rv[Mo]=UM());var qM=la(t=>{Vo.hooks.callHook("devtoolsStateUpdated",{state:t})}),WM=la((t,e)=>{Vo.hooks.callHook("devtoolsConnectedUpdated",{state:t,oldState:e})}),Za=new Proxy(zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(t,e,n){return e==="value"?zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__:zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__[e]}}),GM=t=>{zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[...zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,t]},KM=t=>{zt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=Za.value.filter(e=>e.app!==t)},Nn=new Proxy(zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(t,e,n){return e==="value"?zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:e==="id"?zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[e]}});function Tm(){qM({...zt[Mo],appRecords:Za.value,activeAppRecordId:Nn.id,tabs:zt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:zt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function V0(t){zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=t,Tm()}function vb(t){zt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,Tm()}var an=new Proxy(zt[Mo],{get(t,e){return e==="appRecords"?Za:e==="activeAppRecordId"?Nn.id:e==="tabs"?zt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:e==="commands"?zt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:zt[Mo][e]},deleteProperty(t,e){return delete t[e],!0},set(t,e,n){return{...zt[Mo]},t[e]=n,zt[Mo][e]=n,!0}});function ou(t){const e={...zt[Mo],appRecords:Za.value,activeAppRecordId:Nn.id};(e.connected!==t.connected&&t.connected||e.clientConnected!==t.clientConnected&&t.clientConnected)&&WM(zt[Mo],e),Object.assign(zt[Mo],t),Tm()}function XM(t){ou({clientConnected:t})}function YM(t={}){var e,n,r;const{file:a,host:i,baseUrl:s=window.location.origin,line:o=0,column:l=0}=t;if(a){if(i==="chrome-extension"){const u=a.replace(/\\/g,"\\\\"),p=(n=(e=window.VUE_DEVTOOLS_CONFIG)==null?void 0:e.openInEditorHost)!=null?n:"/";fetch(`${p}__open-in-editor?file=${encodeURI(a)}`).then(h=>{if(!h.ok){const d=`Opening component ${u} failed`;console.log(`%c${d}`,"color:red")}})}else if(an.vitePluginDetected){const u=(r=zt.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:s;zt.__VUE_INSPECTOR__.openInEditor(u,a,o,l)}}}kt();kt();kt();kt();kt();var Bv,Fv;(Fv=(Bv=zt).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Bv.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var n2=new Proxy(zt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(t,e,n){return Reflect.get(t,e,n)}});function JM(t,e){n2.push([t,e])}function H0(t){const e={};return Object.keys(t).forEach(n=>{e[n]=t[n].defaultValue}),e}function _m(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function QM(t){var e,n,r;const a=(n=(e=n2.find(i=>{var s;return i[0].id===t&&!!((s=i[0])!=null&&s.settings)}))==null?void 0:e[0])!=null?n:null;return(r=a?.settings)!=null?r:null}function yb(t,e){var n,r,a;const i=_m(t);if(i){const s=localStorage.getItem(i);if(s)return JSON.parse(s)}if(t){const s=(r=(n=n2.find(o=>o[0].id===t))==null?void 0:n[0])!=null?r:null;return H0((a=s?.settings)!=null?a:{})}return H0(e)}function bb(t,e){const n=_m(t);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(H0(e)))}function ZM(t,e,n){const r=_m(t),a=localStorage.getItem(r),i=JSON.parse(a||"{}"),s={...i,[e]:n};localStorage.setItem(r,JSON.stringify(s)),Vo.hooks.callHookWith(o=>{o.forEach(l=>l({pluginId:t,key:e,oldValue:i[e],newValue:n,settings:s}))},"setPluginSettings")}kt();kt();kt();kt();kt();kt();kt();kt();kt();kt();kt();var $v,Uv,Ms=(Uv=($v=zt).__VUE_DEVTOOLS_HOOK)!=null?Uv:$v.__VUE_DEVTOOLS_HOOK=r8(),eL={vueAppInit(t){Ms.hook("app:init",t)},vueAppUnmount(t){Ms.hook("app:unmount",t)},vueAppConnected(t){Ms.hook("app:connected",t)},componentAdded(t){return Ms.hook("component:added",t)},componentEmit(t){return Ms.hook("component:emit",t)},componentUpdated(t){return Ms.hook("component:updated",t)},componentRemoved(t){return Ms.hook("component:removed",t)},setupDevtoolsPlugin(t){Ms.hook("devtools-plugin:setup",t)},perfStart(t){return Ms.hook("perf:start",t)},perfEnd(t){return Ms.hook("perf:end",t)}};function tL(){return{id:"vue-devtools-next",devtoolsVersion:"7.0",enabled:!1,appRecords:[],apps:[],events:new Map,on(t,e){var n;return this.events.has(t)||this.events.set(t,[]),(n=this.events.get(t))==null||n.push(e),()=>this.off(t,e)},once(t,e){const n=(...r)=>{this.off(t,n),e(...r)};return this.on(t,n),[t,n]},off(t,e){if(this.events.has(t)){const n=this.events.get(t),r=n.indexOf(e);r!==-1&&n.splice(r,1)}},emit(t,...e){this.events.has(t)&&this.events.get(t).forEach(n=>n(...e))}}}function rL(t){t.on("app:init",(e,n,r)=>{var a,i,s;(s=(i=(a=e?._instance)==null?void 0:a.type)==null?void 0:i.devtools)!=null&&s.hide||Ms.callHook("app:init",e,n,r)}),t.on("app:unmount",e=>{Ms.callHook("app:unmount",e)}),t.on("component:added",async(e,n,r,a)=>{var i,s,o;(o=(s=(i=e?._instance)==null?void 0:i.type)==null?void 0:s.devtools)!=null&&o.hide||an.highPerfModeEnabled||!e||typeof n!="number"&&!n||!a||Ms.callHook("component:added",e,n,r,a)}),t.on("component:updated",(e,n,r,a)=>{!e||typeof n!="number"&&!n||!a||an.highPerfModeEnabled||Ms.callHook("component:updated",e,n,r,a)}),t.on("component:removed",async(e,n,r,a)=>{!e||typeof n!="number"&&!n||!a||an.highPerfModeEnabled||Ms.callHook("component:removed",e,n,r,a)}),t.on("component:emit",async(e,n,r,a)=>{!e||!n||an.highPerfModeEnabled||Ms.callHook("component:emit",e,n,r,a)}),t.on("perf:start",(e,n,r,a,i)=>{!e||an.highPerfModeEnabled||Ms.callHook("perf:start",e,n,r,a,i)}),t.on("perf:end",(e,n,r,a,i)=>{!e||an.highPerfModeEnabled||Ms.callHook("perf:end",e,n,r,a,i)}),t.on("devtools-plugin:setup",(e,n,r)=>{r?.target!=="legacy"&&Ms.callHook("devtools-plugin:setup",e,n)})}var to={on:eL,setupDevToolsPlugin(t,e){return Ms.callHook("devtools-plugin:setup",t,e)}},nL=class{constructor({plugin:t,ctx:e}){this.hooks=e.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook("visitComponentTree",t)},inspectComponent:t=>{this.hooks.hook("inspectComponent",t)},editComponentState:t=>{this.hooks.hook("editComponentState",t)},getInspectorTree:t=>{this.hooks.hook("getInspectorTree",t)},getInspectorState:t=>{this.hooks.hook("getInspectorState",t)},editInspectorState:t=>{this.hooks.hook("editInspectorState",t)},inspectTimelineEvent:t=>{this.hooks.hook("inspectTimelineEvent",t)},timelineCleared:t=>{this.hooks.hook("timelineCleared",t)},setPluginSettings:t=>{this.hooks.hook("setPluginSettings",t)}}}notifyComponentUpdate(t){var e;if(an.highPerfModeEnabled)return;const n=wm().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n?.id){if(t){const r=[t.appContext.app,t.uid,(e=t.parent)==null?void 0:e.uid,t];Ms.callHook("component:updated",...r)}else Ms.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook("addInspector",{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&bb(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){an.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){an.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,e){this.hooks.callHook("customInspectorSelectNode",{inspectorId:t,nodeId:e,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook("visitComponentTree",t)}now(){return an.highPerfModeEnabled?0:Date.now()}addTimelineLayer(t){this.hooks.callHook("timelineLayerAdded",{options:t,plugin:this.plugin})}addTimelineEvent(t){an.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:t,plugin:this.plugin})}getSettings(t){return yb(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook("getComponentInstances",{app:t})}getComponentBounds(t){return this.hooks.callHook("getComponentBounds",{instance:t})}getComponentName(t){return this.hooks.callHook("getComponentName",{instance:t})}highlightElement(t){const e=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:e})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},sL=nL;kt();kt();kt();kt();var iL=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),qv=/^\[native Symbol Symbol\((.*)\)\]$/,oL=/^\[object (\w+)\]$/,Gp=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,aL=/^(?:function|class) (\w+)/,Wv=1e4,Gv=5e3,h1="__vue_devtool_undefined__",s2="__vue_devtool_infinity__",i2="__vue_devtool_negative_infinity__",o2="__vue_devtool_nan__",lL={"<":"<",">":">",'"':""","&":"&"};kt();kt();function Cb(t){return!Yi(t,"_")||!Uh(t._)?!1:Object.keys(t._).includes("vnode")}function Uh(t){return Object.prototype.toString.call(t)==="[object Object]"}function cL(t){if(t==null)return!0;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}function Eb(t){return!!t.__v_isRef}function uL(t){return Eb(t)&&!!t.effect}function pL(t){return!!t.__v_isReactive}function hL(t){return!!t.__v_isReadonly}var Kp={[h1]:"undefined",[o2]:"NaN",[s2]:"Infinity",[i2]:"-Infinity"},Pd=Object.entries(Kp).reduce((t,[e,n])=>(t[n]=e,t),{});function fL(t){return t===null?"null":typeof t=="string"&&Kp[t]||!1}function dL(t){const e=new RegExp(`"(${Object.keys(Kp).join("|")})"`,"g");return t.replace(e,(n,r)=>Kp[r])}function mL(t){const e=Pd[t.trim()];if(e)return`"${e}"`;const n=new RegExp(`:\\s*(${Object.keys(Pd).join("|")})`,"g");return t.replace(n,(r,a)=>`:"${Pd[a]}"`)}function Sb(t){if(Array.isArray(t))return t.map(n=>Sb(n)).join(" or ");if(t==null)return"null";const e=t.toString().match(aL);return typeof t=="function"&&e&&e[1]||"any"}function gL(t){return!cL(t)&&!Array.isArray(t)&&!Uh(t)?Object.prototype.toString.call(t):t}function xb(t){try{return{ref:Eb(t),computed:uL(t),reactive:pL(t),readonly:hL(t)}}catch{return{ref:!1,computed:!1,reactive:!1,readonly:!1}}}function wb(t){return t?.__v_raw?t.__v_raw:t}function qh(t){return t.replace(/[<>"&]/g,e=>lL[e]||e)}function Xp(t,e,n){if(typeof e=="function"&&(e=e.options),!e)return t;const{mixins:r,extends:a}=e;a&&Xp(t,a),r&&r.forEach(i=>Xp(t,i));for(const i of["computed","inject"])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]?Object.assign(t[i],e[i]):t[i]=e[i]);return t}function vL(t){const e=t?.type;if(!e)return{};const{mixins:n,extends:r}=e,a=t.appContext.mixins;if(!a.length&&!n&&!r)return e;const i={};return a.forEach(s=>Xp(i,s)),Xp(i,e),i}function yL(t){var e;const n=[],r=(e=t?.type)==null?void 0:e.props;for(const a in t?.props){const i=r?r[a]:null,s=bT(a);n.push({type:"props",key:s,value:ol(()=>t.props[a]),editable:!0,meta:i?{type:i.type?Sb(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return n}function bL(t){const e=t.type,n=e?.props,r=e.vuex&&e.vuex.getters,a=e.computed,i={...t.data,...t.renderContext};return Object.keys(i).filter(s=>!(n&&s in n)&&!(r&&s in r)&&!(a&&s in a)).map(s=>({key:s,type:"data",value:ol(()=>i[s]),editable:!0}))}function CL(t){const e=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null,n=e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:null;return{stateType:e,stateTypeName:n}}function EL(t){const e=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(n=>!iL.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var r,a,i,s;const o=ol(()=>wb(t.setupState[n])),l=o instanceof Error,u=e[n];let p,h=l||typeof o=="function"||Yi(o,"render")&&typeof o.render=="function"||Yi(o,"__asyncLoader")&&typeof o.__asyncLoader=="function"||typeof o=="object"&&o&&("setup"in o||"props"in o)||/^v[A-Z]/.test(n);if(u&&!l){const m=xb(u),{stateType:f,stateTypeName:v}=CL(m),C=m.ref||m.computed||m.reactive,E=Yi(u,"effect")?((a=(r=u.effect)==null?void 0:r.raw)==null?void 0:a.toString())||((s=(i=u.effect)==null?void 0:i.fn)==null?void 0:s.toString()):null;f&&(h=!1),p={...f?{stateType:f,stateTypeName:v}:{},...E?{raw:E}:{},editable:C&&!m.readonly}}return{key:n,value:o,type:h?"setup (other)":"setup",...p}})}function SL(t,e){const n=e,r=[],a=n.computed||{};for(const i in a){const s=a[i],o=typeof s=="function"&&s.vuex?"vuex bindings":"computed";r.push({type:o,key:i,value:ol(()=>{var l;return(l=t?.proxy)==null?void 0:l[i]}),editable:typeof s.set=="function"})}return r}function xL(t){return Object.keys(t.attrs).map(e=>({type:"attrs",key:e,value:ol(()=>t.attrs[e])}))}function wL(t){return Reflect.ownKeys(t.provides).map(e=>({type:"provided",key:e.toString(),value:ol(()=>t.provides[e])}))}function TL(t,e){if(!e?.inject)return[];let n=[],r;return Array.isArray(e.inject)?n=e.inject.map(a=>({key:a,originalKey:a})):n=Reflect.ownKeys(e.inject).map(a=>{const i=e.inject[a];let s;return typeof i=="string"||typeof i=="symbol"?s=i:(s=i.from,r=i.default),{key:a,originalKey:s}}),n.map(({key:a,originalKey:i})=>({type:"injected",key:i&&a!==i?`${i.toString()} ➞ ${a.toString()}`:a.toString(),value:ol(()=>t.ctx.hasOwnProperty(a)?t.ctx[a]:t.provides.hasOwnProperty(i)?t.provides[i]:r)}))}function _L(t){return Object.keys(t.refs).map(e=>({type:"template refs",key:e,value:ol(()=>t.refs[e])}))}function AL(t){var e,n;const r=t.type.emits,a=Array.isArray(r)?r:Object.keys(r??{}),i=Object.keys((n=(e=t?.vnode)==null?void 0:e.props)!=null?n:{}),s=[];for(const o of i){const[l,...u]=o.split(/(?=[A-Z])/);if(l==="on"){const p=u.join("-").toLowerCase(),h=a.includes(p);s.push({type:"event listeners",key:p,value:{_custom:{displayText:h?"✅ Declared":"⚠️ Not declared",key:h?"✅ Declared":"⚠️ Not declared",value:h?"✅ Declared":"⚠️ Not declared",tooltipText:h?null:`The event ${p} is not declared in the emits option. It will leak into the component's attributes ($attrs).`}}})}}return s}function Tb(t){const e=vL(t);return yL(t).concat(bL(t),EL(t),SL(t,e),xL(t),wL(t),TL(t,e),_L(t),AL(t))}function PL(t){var e;const n=Jc(Nn.value,t.instanceId),r=bm(n),a=vo(n),i=(e=n?.type)==null?void 0:e.__file,s=Tb(n);return{id:r,name:a,file:i,state:s,instance:n}}kt();kt();var ML=class{constructor(t){this.filter=t||""}isQualified(t){const e=vo(t);return Zy(e).toLowerCase().includes(this.filter)||CT(e).toLowerCase().includes(this.filter)}};function LL(t){return new ML(t)}var OL=class{constructor(t){this.captureIds=new Map;const{filterText:e="",maxDepth:n,recursively:r,api:a}=t;this.componentFilter=LL(e),this.maxDepth=n,this.recursively=r,this.api=a}getComponentTree(t){return this.captureIds=new Map,this.findQualifiedChildren(t,0)}getComponentParents(t){this.captureIds=new Map;const e=[];this.captureId(t);let n=t;for(;n=n.parent;)this.captureId(n),e.push(n);return e}captureId(t){if(!t)return null;const e=t.__VUE_DEVTOOLS_NEXT_UID__!=null?t.__VUE_DEVTOOLS_NEXT_UID__:bm(t);return t.__VUE_DEVTOOLS_NEXT_UID__=e,this.captureIds.has(e)?null:(this.captureIds.set(e,void 0),this.mark(t),e)}async capture(t,e){var n;if(!t)return null;const r=this.captureId(t),a=vo(t),i=this.getInternalInstanceChildren(t.subTree).filter(h=>!_d(h)),s=this.getComponentParents(t)||[],o=!!t.isDeactivated||s.some(h=>h.isDeactivated),l={uid:t.uid,id:r,name:a,renderKey:fM(t.vnode?t.vnode.key:null),inactive:o,children:[],isFragment:ym(t),tags:typeof t.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:t.type.__file||""};if((eh.type.__isKeepAlive))&&(l.children=await Promise.all(i.map(h=>this.capture(h,e+1)).filter(Boolean))),this.isKeepAlive(t)){const h=this.getKeepAliveCachedInstances(t),d=i.map(m=>m.__VUE_DEVTOOLS_NEXT_UID__);for(const m of h)if(!d.includes(m.__VUE_DEVTOOLS_NEXT_UID__)){const f=await this.capture({...m,isDeactivated:!0},e+1);f&&l.children.push(f)}}const p=Qc(t)[0];if(p?.parentElement){const h=t.parent,d=h?Qc(h):[];let m=p;const f=[];do f.push(Array.from(m.parentElement.childNodes).indexOf(m)),m=m.parentElement;while(m.parentElement&&d.length&&!d.includes(m));l.domOrder=f.reverse()}else l.domOrder=[-1];return(n=t.suspense)!=null&&n.suspenseKey&&(l.tags.push({label:t.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(t,!0)),this.api.visitComponentTree({treeNode:l,componentInstance:t,app:t.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(t,e){var n;if(this.componentFilter.isQualified(t)&&!((n=t.type.devtools)!=null&&n.hide))return[await this.capture(t,e)];if(t.subTree){const r=this.isKeepAlive(t)?this.getKeepAliveCachedInstances(t):this.getInternalInstanceChildren(t.subTree);return this.findQualifiedChildrenFromList(r,e)}else return[]}async findQualifiedChildrenFromList(t,e){return t=t.filter(n=>{var r;return!_d(n)&&!((r=n.type.devtools)!=null&&r.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(t.map(n=>this.findQualifiedChildren(n,e)))):Promise.all(t.map(n=>this.capture(n,e)))}getInternalInstanceChildren(t,e=null){const n=[];if(t)if(t.component)e?n.push({...t.component,suspense:e}):n.push(t.component);else if(t.suspense){const r=t.suspense.isInFallback?"suspense fallback":"suspense default";n.push(...this.getInternalInstanceChildren(t.suspense.activeBranch,{...t.suspense,suspenseKey:r}))}else Array.isArray(t.children)&&t.children.forEach(r=>{r.component?e?n.push({...r.component,suspense:e}):n.push(r.component):n.push(...this.getInternalInstanceChildren(r,e))});return n.filter(r=>{var a;return!_d(r)&&!((a=r.type.devtools)!=null&&a.hide)})}mark(t,e=!1){const n=uo(t).instanceMap;(e||!n.has(t.__VUE_DEVTOOLS_NEXT_UID__))&&(n.set(t.__VUE_DEVTOOLS_NEXT_UID__,t),Nn.value.instanceMap=n)}isKeepAlive(t){return t.type.__isKeepAlive&&t.__v_cache}getKeepAliveCachedInstances(t){return Array.from(t.__v_cache.values()).map(e=>e.component).filter(Boolean)}};kt();kt();var Cp=new Map,Am="performance";async function IL(t,e,n,r,a,i){const s=await uo(e);if(!s)return;const o=vo(r)||"Unknown Component",l=an.perfUniqueGroupId++,u=`${n}-${a}`;if(s.perfGroupIds.set(u,{groupId:l,time:i}),await t.addTimelineEvent({layerId:Am,event:{time:Date.now(),data:{component:o,type:a,measure:"start"},title:o,subtitle:a,groupId:l}}),Cp.has(u)){const{app:p,uid:h,instance:d,type:m,time:f}=Cp.get(u);Cp.delete(u),await _b(t,p,h,d,m,f)}}function _b(t,e,n,r,a,i){const s=uo(e);if(!s)return;const o=vo(r)||"Unknown Component",l=`${n}-${a}`,u=s.perfGroupIds.get(l);if(u){const p=u.groupId,h=u.time,d=i-h;t.addTimelineEvent({layerId:Am,event:{time:Date.now(),data:{component:o,type:a,measure:"end",duration:{_custom:{type:"Duration",value:d,display:`${d} ms`}}},title:o,subtitle:a,groupId:p}})}else Cp.set(l,{app:e,uid:n,instance:r,type:a,time:i})}var Kv="component-event";function kL(t){$l&&(t.addTimelineLayer({id:"mouse",label:"Mouse",color:10768815}),["mousedown","mouseup","click","dblclick"].forEach(e=>{!an.timelineLayersState.recordingState||!an.timelineLayersState.mouseEventEnabled||window.addEventListener(e,async n=>{await t.addTimelineEvent({layerId:"mouse",event:{time:Date.now(),data:{type:e,x:n.clientX,y:n.clientY},title:e}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:"keyboard",label:"Keyboard",color:8475055}),["keyup","keydown","keypress"].forEach(e=>{window.addEventListener(e,async n=>{!an.timelineLayersState.recordingState||!an.timelineLayersState.keyboardEventEnabled||await t.addTimelineEvent({layerId:"keyboard",event:{time:Date.now(),data:{type:e,key:n.key,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,altKey:n.altKey,metaKey:n.metaKey},title:n.key}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:Kv,label:"Component events",color:5226637}),to.on.componentEmit(async(e,n,r,a)=>{if(!an.timelineLayersState.recordingState||!an.timelineLayersState.componentEventEnabled)return;const i=await uo(e);if(!i)return;const s=`${i.id}:${n.uid}`,o=vo(n)||"Unknown Component";t.addTimelineEvent({layerId:Kv,event:{time:Date.now(),data:{component:{_custom:{type:"component-definition",display:o}},event:r,params:a},title:r,subtitle:`by ${o}`,meta:{componentId:s}}})}),t.addTimelineLayer({id:"performance",label:Am,color:4307050}),to.on.perfStart((e,n,r,a,i)=>{!an.timelineLayersState.recordingState||!an.timelineLayersState.performanceEventEnabled||IL(t,e,n,r,a,i)}),to.on.perfEnd((e,n,r,a,i)=>{!an.timelineLayersState.recordingState||!an.timelineLayersState.performanceEventEnabled||_b(t,e,n,r,a,i)}))}kt();var zL=10,xl=[];function NL(t){if(typeof window>"u")return;const e=window;if(t&&(e.$vm=t,xl[0]!==t)){xl.length>=zL&&xl.pop();for(let n=xl.length;n>0;n--)e[`$vm${n}`]=xl[n]=xl[n-1];e.$vm0=xl[0]=t}}var wl="components";function VL(t){return[{id:wl,label:"Components",app:t},r=>{r.addInspector({id:wl,label:"Components",treeFilterPlaceholder:"Search components"}),kL(r),r.on.getInspectorTree(async s=>{if(s.app===t&&s.inspectorId===wl){const o=Jc(Nn.value,s.instanceId);if(o){const l=new OL({filterText:s.filter,maxDepth:100,recursively:!1,api:r});s.rootNodes=await l.getComponentTree(o)}}}),r.on.getInspectorState(async s=>{var o;if(s.app===t&&s.inspectorId===wl){const l=PL({instanceId:s.nodeId}),u=l.instance,p=(o=l.instance)==null?void 0:o.appContext.app,h={componentInstance:u,app:p,instanceData:l};Vo.hooks.callHookWith(d=>{d.forEach(m=>m(h))},"inspectComponent"),s.state=l,NL(u)}}),r.on.editInspectorState(async s=>{s.app===t&&s.inspectorId===wl&&(VM(s),await r.sendInspectorState("components"))});const a=la(()=>{r.sendInspectorTree(wl)},120),i=la(()=>{r.sendInspectorState(wl)},120);to.on.componentAdded(async(s,o,l,u)=>{var p,h,d;if(an.highPerfModeEnabled||(d=(h=(p=s?._instance)==null?void 0:p.type)==null?void 0:h.devtools)!=null&&d.hide||!s||typeof o!="number"&&!o||!u)return;const m=await Td({app:s,uid:o,instance:u}),f=await uo(s);u&&(u.__VUE_DEVTOOLS_NEXT_UID__==null&&(u.__VUE_DEVTOOLS_NEXT_UID__=m),f?.instanceMap.has(m)||(f?.instanceMap.set(m,u),Nn.value.id===f?.id&&(Nn.value.instanceMap=f.instanceMap))),f&&a()}),to.on.componentUpdated(async(s,o,l,u)=>{var p,h,d;if(an.highPerfModeEnabled||(d=(h=(p=s?._instance)==null?void 0:p.type)==null?void 0:h.devtools)!=null&&d.hide||!s||typeof o!="number"&&!o||!u)return;const m=await Td({app:s,uid:o,instance:u}),f=await uo(s);u&&(u.__VUE_DEVTOOLS_NEXT_UID__==null&&(u.__VUE_DEVTOOLS_NEXT_UID__=m),f?.instanceMap.has(m)||(f?.instanceMap.set(m,u),Nn.value.id===f?.id&&(Nn.value.instanceMap=f.instanceMap))),f&&(a(),i())}),to.on.componentRemoved(async(s,o,l,u)=>{var p,h,d;if(an.highPerfModeEnabled||(d=(h=(p=s?._instance)==null?void 0:p.type)==null?void 0:h.devtools)!=null&&d.hide||!s||typeof o!="number"&&!o||!u)return;const m=await uo(s);if(!m)return;const f=await Td({app:s,uid:o,instance:u});m?.instanceMap.delete(f),Nn.value.id===m?.id&&(Nn.value.instanceMap=m.instanceMap),a()})}]}var Xv,Yv;(Yv=(Xv=zt).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Xv.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function HL(t,e){return to.setupDevToolsPlugin(t,e)}function Ab(t,e){const[n,r]=t;if(n.app!==e)return;const a=new sL({plugin:{setupFn:r,descriptor:n},ctx:Vo});n.packageName==="vuex"&&a.on.editInspectorState(i=>{a.sendInspectorState(i.inspectorId)}),r(a)}function DL(t){zt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(t)}function Pm(t,e){zt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||an.highPerfModeEnabled&&!e?.inspectingComponent||(zt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),n2.forEach(n=>{Ab(n,t)}))}kt();kt();var Mu="__VUE_DEVTOOLS_ROUTER__",Zc="__VUE_DEVTOOLS_ROUTER_INFO__",Jv,Qv;(Qv=(Jv=zt)[Zc])!=null||(Jv[Zc]={currentRoute:null,routes:[]});var Zv,e9;(e9=(Zv=zt)[Mu])!=null||(Zv[Mu]={});var RL=new Proxy(zt[Zc],{get(t,e){return zt[Zc][e]}}),t9=new Proxy(zt[Mu],{get(t,e){if(e==="value")return zt[Mu]}});function jL(t){const e=new Map;return(t?.getRoutes()||[]).filter(n=>!e.has(n.path)&&e.set(n.path,1))}function Mm(t){return t.map(e=>{let{path:n,name:r,children:a,meta:i}=e;return a?.length&&(a=Mm(a)),{path:n,name:r,children:a,meta:i}})}function BL(t){if(t){const{fullPath:e,hash:n,href:r,path:a,name:i,matched:s,params:o,query:l}=t;return{fullPath:e,hash:n,href:r,path:a,name:i,params:o,query:l,matched:Mm(s)}}return t}function Pb(t,e){function n(){var r;const a=(r=t.app)==null?void 0:r.config.globalProperties.$router,i=BL(a?.currentRoute.value),s=Mm(jL(a)),o=console.warn;console.warn=()=>{},zt[Zc]={currentRoute:i?p0(i):{},routes:p0(s)},zt[Mu]=a,console.warn=o}n(),to.on.componentUpdated(la(()=>{var r;((r=e.value)==null?void 0:r.app)===t.app&&(n(),!an.highPerfModeEnabled&&Vo.hooks.callHook("routerInfoUpdated",{state:zt[Zc]}))},200))}function FL(t){return{async getInspectorTree(e){const n={...e,app:Nn.value.app,rootNodes:[]};return await new Promise(r=>{t.callHookWith(async a=>{await Promise.all(a.map(i=>i(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(e){const n={...e,app:Nn.value.app,state:null},r={currentTab:`custom-inspector:${e.inspectorId}`};return await new Promise(a=>{t.callHookWith(async i=>{await Promise.all(i.map(s=>s(n,r))),a()},"getInspectorState")}),n.state},editInspectorState(e){const n=new fb,r={...e,app:Nn.value.app,set:(a,i=e.path,s=e.state.value,o)=>{n.set(a,i,s,o||n.createDefaultSetCallback(e.state))}};t.callHookWith(a=>{a.forEach(i=>i(r))},"editInspectorState")},sendInspectorState(e){const n=Wa(e);t.callHook("sendInspectorState",{inspectorId:e,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return AM()},cancelInspectComponentInspector(){return _M()},getComponentRenderCode(e){const n=Jc(Nn.value,e);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(e){return PM({id:e})},openInEditor:YM,getVueInspector:OM,toggleApp(e,n){const r=Za.value.find(a=>a.id===e);r&&(vb(e),V0(r),Pb(r,Nn),gb(),Pm(r.app,n))},inspectDOM(e){const n=Jc(Nn.value,e);if(n){const[r]=Qc(n);r&&(zt.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(e,n,r){ZM(e,n,r)},getPluginSettings(e){return{options:QM(e),values:yb(e)}}}}kt();var r9,n9;(n9=(r9=zt).__VUE_DEVTOOLS_ENV__)!=null||(r9.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});function $L(){return zt.__VUE_DEVTOOLS_ENV__}var s9=$M(),i9,o9;(o9=(i9=zt).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(i9.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:s9,get state(){return{...an,activeAppRecordId:Nn.id,activeAppRecord:Nn.value,appRecords:Za.value}},api:FL(s9)});var Vo=zt.__VUE_DEVTOOLS_KIT_CONTEXT__;kt();var UL=aM(cM()),a9,l9,ja=(l9=(a9=zt).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null?l9:a9.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set};function qL(t,e){var n;return((n=t?._component)==null?void 0:n.name)||`App ${e}`}function WL(t){var e,n,r,a;if(t._instance)return t._instance;if((n=(e=t._container)==null?void 0:e._vnode)!=null&&n.component)return(a=(r=t._container)==null?void 0:r._vnode)==null?void 0:a.component}function GL(t){const e=t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;e!=null&&(ja.appIds.delete(e),ja.id--)}function KL(t,e){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;let n=e??(ja.id++).toString();if(e&&ja.appIds.has(n)){let r=1;for(;ja.appIds.has(`${e}_${r}`);)r++;n=`${e}_${r}`}return ja.appIds.add(n),t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__=n,n}function XL(t,e){var n,r;const a=WL(t);if(a){ja.id++;const i=qL(t,ja.id.toString()),s=KL(t,(0,UL.default)(i)),[o]=Qc(a),l={id:s,name:i,types:e,instanceMap:new Map,perfGroupIds:new Map,rootInstance:a,iframe:$l&&document!==o?.ownerDocument?(r=(n=o?.ownerDocument)==null?void 0:n.location)==null?void 0:r.pathname:void 0};t.__VUE_DEVTOOLS_NEXT_APP_RECORD__=l;const u=`${l.id}:root`;return l.instanceMap.set(u,l.rootInstance),l.rootInstance.__VUE_DEVTOOLS_NEXT_UID__=u,l}else return{}}kt();function Mb(t,e=!1){if(e){let s=function(l){try{const u=window.parent.__VUE_DEVTOOLS_GLOBAL_HOOK__;u&&l(u)}catch{}};const o={id:"vue-devtools-next",devtoolsVersion:"7.0",on:(l,u)=>{s(p=>{p.on(l,u)})},once:(l,u)=>{s(p=>{p.once(l,u)})},off:(l,u)=>{s(p=>{p.off(l,u)})},emit:(l,...u)=>{s(p=>{p.emit(l,...u)})}};Object.defineProperty(t,"__VUE_DEVTOOLS_GLOBAL_HOOK__",{get(){return o},configurable:!0})}function n(s){if(!s.__vdevtools__injected)try{s.__vdevtools__injected=!0;const o=()=>{try{s.contentWindow.__VUE_DEVTOOLS_IFRAME__=s;const l=s.contentDocument.createElement("script");l.textContent=`;(${Mb.toString()})(window, true)`,s.contentDocument.documentElement.appendChild(l),l.parentNode.removeChild(l)}catch{}};o(),s.addEventListener("load",()=>o())}catch{}}function r(){if(typeof window>"u")return;const s=Array.from(document.querySelectorAll("iframe:not([data-vue-devtools-ignore])"));for(const o of s)n(o)}r();let a=0;const i=setInterval(()=>{r(),a++,a>=5&&clearInterval(i)},1e3)}function YL(){var t;Mb(zt),ou({vitePluginDetected:$L().vitePluginDetected});const e=((t=zt.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:t.id)==="vue-devtools-next";if(zt.__VUE_DEVTOOLS_GLOBAL_HOOK__&&e)return;const n=tL();if(zt.__VUE_DEVTOOLS_HOOK_REPLAY__)try{zt.__VUE_DEVTOOLS_HOOK_REPLAY__.forEach(r=>r(n)),zt.__VUE_DEVTOOLS_HOOK_REPLAY__=[]}catch(r){console.error("[vue-devtools] Error during hook replay",r)}n.once("init",r=>{zt.__VUE_DEVTOOLS_VUE2_APP_DETECTED__=!0,console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;"),console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.","font-bold: 500; font-size: 14px;");const a="https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp",i="https://addons.mozilla.org/firefox/addon/vue-js-devtools-v6-legacy";console.log(`%cThe legacy version of chrome extension that supports both Vue 2 and Vue 3 has been moved to %c ${a}`,"font-size: 14px;","text-decoration: underline; cursor: pointer;font-size: 14px;"),console.log(`%cThe legacy version of firefox extension that supports both Vue 2 and Vue 3 has been moved to %c ${i}`,"font-size: 14px;","text-decoration: underline; cursor: pointer;font-size: 14px;"),console.log("%cPlease install and enable only the legacy version for your Vue2 app.","font-bold: 500; font-size: 14px;"),console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;")}),to.on.setupDevtoolsPlugin((r,a)=>{var i;JM(r,a);const{app:s}=(i=Nn)!=null?i:{};r.settings&&bb(r.id,r.settings),s&&Ab([r,a],s)}),uM(()=>{n2.filter(([a])=>a.id!=="components").forEach(([a,i])=>{n.emit("devtools-plugin:setup",a,i,{target:"legacy"})})}),to.on.vueAppInit(async(r,a,i)=>{const o={...XL(r,i),app:r,version:a};GM(o),Za.value.length===1&&(V0(o),vb(o.id),Pb(o,Nn),Pm(o.app)),HL(...VL(o.app)),ou({connected:!0}),n.apps.push(r)}),to.on.vueAppUnmount(async r=>{const a=Za.value.filter(i=>i.app!==r);a.length===0&&ou({connected:!1}),KM(r),GL(r),Nn.value.app===r&&(V0(a[0]),Vo.hooks.callHook("sendActiveAppUpdatedToClient")),zt.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(zt.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(r),1),DL(r)}),rL(n),zt.__VUE_DEVTOOLS_GLOBAL_HOOK__?dT||Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,n):Object.defineProperty(zt,"__VUE_DEVTOOLS_GLOBAL_HOOK__",{get(){return n},configurable:!0})}kt();function JL(t){an.highPerfModeEnabled=t??!an.highPerfModeEnabled,!t&&Nn.value&&Pm(Nn.value.app)}kt();kt();function QL(t){const e=new Set,n=t._custom.value;for(let r=0;r"${s?.string?`${$1(t)}`:$1(t)}"`:t=s?.string?`${$1(t)}`:$1(t)}return t}function $1(t){return qh(t).replace(/ /g," ").replace(/\n/g,"\\n")}function Lm(t){var e,n,r;let a;const i=Lu(t)==="custom";let s={};if(i){const o=t,l=(e=o._custom)==null?void 0:e.value,u=(n=o._custom)==null?void 0:n.type,p=typeof l=="object"&&l!==null&&"_custom"in l?Lm(l):{inherit:void 0,value:void 0,customType:void 0};s=p.inherit||((r=o._custom)==null?void 0:r.fields)||{},t=p.value||l,a=p.customType||u}return t&&t._isArray&&(t=t.items),{value:t,inherit:s,customType:a}}function eO(t,e){return e==="bigint"||e==="date"?t:dL(JSON.stringify(t))}function Ep(t,e){return e==="bigint"?BigInt(t):e==="date"?new Date(t):JSON.parse(mL(t),Lb)}kt();function Ib(t){an.devtoolsClientDetected={...an.devtoolsClientDetected,...t};const e=Object.values(an.devtoolsClientDetected).some(Boolean);JL(!e)}var c9,u9;(u9=(c9=zt).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(c9.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Ib);kt();kt();kt();kt();kt();kt();kt();var tO=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(t,e){this.keyToValue.set(t,e),this.valueToKey.set(e,t)}getByKey(t){return this.keyToValue.get(t)}getByValue(t){return this.valueToKey.get(t)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},kb=class{constructor(e){this.generateIdentifier=e,this.kv=new tO}register(e,n){this.kv.getByValue(e)||(n||(n=this.generateIdentifier(e)),this.kv.set(n,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},rO=class extends kb{constructor(){super(t=>t.name),this.classToAllowedProps=new Map}register(t,e){typeof e=="object"?(e.allowProps&&this.classToAllowedProps.set(t,e.allowProps),super.register(t,e.identifier)):super.register(t,e)}getAllowedProps(t){return this.classToAllowedProps.get(t)}};kt();kt();function nO(t){if("values"in Object)return Object.values(t);const e=[];for(const n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e}function sO(t,e){const n=nO(t);if("find"in n)return n.find(e);const r=n;for(let a=0;ae(r,n))}function Sp(t,e){return t.indexOf(e)!==-1}function p9(t,e){for(let n=0;ne.isApplicable(t))}findByName(t){return this.transfomers[t]}};kt();kt();var oO=t=>Object.prototype.toString.call(t).slice(8,-1),zb=t=>typeof t>"u",aO=t=>t===null,Ou=t=>typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype,D0=t=>Ou(t)&&Object.keys(t).length===0,el=t=>Array.isArray(t),lO=t=>typeof t=="string",cO=t=>typeof t=="number"&&!isNaN(t),uO=t=>typeof t=="boolean",pO=t=>t instanceof RegExp,Iu=t=>t instanceof Map,ku=t=>t instanceof Set,Nb=t=>oO(t)==="Symbol",hO=t=>t instanceof Date&&!isNaN(t.valueOf()),fO=t=>t instanceof Error,h9=t=>typeof t=="number"&&isNaN(t),dO=t=>uO(t)||aO(t)||zb(t)||cO(t)||lO(t)||Nb(t),mO=t=>typeof t=="bigint",gO=t=>t===1/0||t===-1/0,vO=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),yO=t=>t instanceof URL;kt();var Vb=t=>t.replace(/\./g,"\\."),Md=t=>t.map(String).map(Vb).join("."),au=t=>{const e=[];let n="";for(let a=0;anull,()=>{}),xo(mO,"bigint",t=>t.toString(),t=>typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),xo(hO,"Date",t=>t.toISOString(),t=>new Date(t)),xo(fO,"Error",(t,e)=>{const n={name:t.name,message:t.message};return e.allowedErrorProps.forEach(r=>{n[r]=t[r]}),n},(t,e)=>{const n=new Error(t.message);return n.name=t.name,n.stack=t.stack,e.allowedErrorProps.forEach(r=>{n[r]=t[r]}),n}),xo(pO,"regexp",t=>""+t,t=>{const e=t.slice(1,t.lastIndexOf("/")),n=t.slice(t.lastIndexOf("/")+1);return new RegExp(e,n)}),xo(ku,"set",t=>[...t.values()],t=>new Set(t)),xo(Iu,"map",t=>[...t.entries()],t=>new Map(t)),xo(t=>h9(t)||gO(t),"number",t=>h9(t)?"NaN":t>0?"Infinity":"-Infinity",Number),xo(t=>t===0&&1/t===-1/0,"number",()=>"-0",Number),xo(yO,"URL",t=>t.toString(),t=>new URL(t))];function Gh(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}var Db=Gh((t,e)=>Nb(t)?!!e.symbolRegistry.getIdentifier(t):!1,(t,e)=>["symbol",e.symbolRegistry.getIdentifier(t)],t=>t.description,(t,e,n)=>{const r=n.symbolRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),bO=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,e)=>(t[e.name]=e,t),{}),Rb=Gh(vO,t=>["typed-array",t.constructor.name],t=>[...t],(t,e)=>{const n=bO[e[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(t)});function jb(t,e){return t?.constructor?!!e.classRegistry.getIdentifier(t.constructor):!1}var Bb=Gh(jb,(t,e)=>["class",e.classRegistry.getIdentifier(t.constructor)],(t,e)=>{const n=e.classRegistry.getAllowedProps(t.constructor);if(!n)return{...t};const r={};return n.forEach(a=>{r[a]=t[a]}),r},(t,e,n)=>{const r=n.classRegistry.getValue(e[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${e[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),t)}),Fb=Gh((t,e)=>!!e.customTransformerRegistry.findApplicable(t),(t,e)=>["custom",e.customTransformerRegistry.findApplicable(t).name],(t,e)=>e.customTransformerRegistry.findApplicable(t).serialize(t),(t,e,n)=>{const r=n.customTransformerRegistry.findByName(e[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)}),CO=[Bb,Db,Fb,Rb],f9=(t,e)=>{const n=p9(CO,a=>a.isApplicable(t,e));if(n)return{value:n.transform(t,e),type:n.annotation(t,e)};const r=p9(Hb,a=>a.isApplicable(t,e));if(r)return{value:r.transform(t,e),type:r.annotation}},$b={};Hb.forEach(t=>{$b[t.annotation]=t});var EO=(t,e,n)=>{if(el(e))switch(e[0]){case"symbol":return Db.untransform(t,e,n);case"class":return Bb.untransform(t,e,n);case"custom":return Fb.untransform(t,e,n);case"typed-array":return Rb.untransform(t,e,n);default:throw new Error("Unknown transformation: "+e)}else{const r=$b[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(t,n)}};kt();var kc=(t,e)=>{if(e>t.size)throw new Error("index out of bounds");const n=t.keys();for(;e>0;)n.next(),e--;return n.next().value};function Ub(t){if(Sp(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Sp(t,"prototype"))throw new Error("prototype is not allowed as a property");if(Sp(t,"constructor"))throw new Error("constructor is not allowed as a property")}var SO=(t,e)=>{Ub(e);for(let n=0;n{if(Ub(e),e.length===0)return n(t);let r=t;for(let i=0;ij0(i,e,[...n,...au(s)]));return}const[r,a]=t;a&&e1(a,(i,s)=>{j0(i,e,[...n,...au(s)])}),e(r,n)}function xO(t,e,n){return j0(e,(r,a)=>{t=R0(t,a,i=>EO(i,r,n))}),t}function wO(t,e){function n(r,a){const i=SO(t,au(a));r.map(au).forEach(s=>{t=R0(t,s,()=>i)})}if(el(e)){const[r,a]=e;r.forEach(i=>{t=R0(t,au(i),()=>t)}),a&&e1(a,n)}else e1(e,n);return t}var TO=(t,e)=>Ou(t)||el(t)||Iu(t)||ku(t)||jb(t,e);function _O(t,e,n){const r=n.get(t);r?r.push(e):n.set(t,[e])}function AO(t,e){const n={};let r;return t.forEach(a=>{if(a.length<=1)return;e||(a=a.map(o=>o.map(String)).sort((o,l)=>o.length-l.length));const[i,...s]=a;i.length===0?r=s.map(Md):n[Md(i)]=s.map(Md)}),r?D0(n)?[r]:[r,n]:D0(n)?void 0:n}var qb=(t,e,n,r,a=[],i=[],s=new Map)=>{var o;const l=dO(t);if(!l){_O(t,a,e);const f=s.get(t);if(f)return r?{transformedValue:null}:f}if(!TO(t,n)){const f=f9(t,n),v=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:t};return l||s.set(t,v),v}if(Sp(i,t))return{transformedValue:null};const u=f9(t,n),p=(o=u?.value)!=null?o:t,h=el(p)?[]:{},d={};e1(p,(f,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const C=qb(f,e,n,r,[...a,v],[...i,t],s);h[v]=C.transformedValue,el(C.annotations)?d[v]=C.annotations:Ou(C.annotations)&&e1(C.annotations,(E,x)=>{d[Vb(v)+"."+x]=E})});const m=D0(d)?{transformedValue:h,annotations:u?[u.type]:void 0}:{transformedValue:h,annotations:u?[u.type,d]:d};return l||s.set(t,m),m};kt();kt();function Wb(t){return Object.prototype.toString.call(t).slice(8,-1)}function d9(t){return Wb(t)==="Array"}function PO(t){if(Wb(t)!=="Object")return!1;const e=Object.getPrototypeOf(t);return!!e&&e.constructor===Object&&e===Object.prototype}function MO(t,e,n,r,a){const i={}.propertyIsEnumerable.call(r,e)?"enumerable":"nonenumerable";i==="enumerable"&&(t[e]=n),a&&i==="nonenumerable"&&Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})}function B0(t,e={}){if(d9(t))return t.map(a=>B0(a,e));if(!PO(t))return t;const n=Object.getOwnPropertyNames(t),r=Object.getOwnPropertySymbols(t);return[...n,...r].reduce((a,i)=>{if(d9(e.props)&&!e.props.includes(i))return a;const s=t[i],o=B0(s,e);return MO(a,i,o,t,e.nonenumerable),a},{})}var Nr=class{constructor({dedupe:t=!1}={}){this.classRegistry=new rO,this.symbolRegistry=new kb(e=>{var n;return(n=e.description)!=null?n:""}),this.customTransformerRegistry=new iO,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const e=new Map,n=qb(t,e,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const a=AO(e,this.dedupe);return a&&(r.meta={...r.meta,referentialEqualities:a}),r}deserialize(t){const{json:e,meta:n}=t;let r=B0(e);return n?.values&&(r=xO(r,n.values,this)),n?.referentialEqualities&&(r=wO(r,n.referentialEqualities)),r}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,e){this.classRegistry.register(t,e)}registerSymbol(t,e){this.symbolRegistry.register(t,e)}registerCustom(t,e){this.customTransformerRegistry.register({name:e,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};Nr.defaultInstance=new Nr;Nr.serialize=Nr.defaultInstance.serialize.bind(Nr.defaultInstance);Nr.deserialize=Nr.defaultInstance.deserialize.bind(Nr.defaultInstance);Nr.stringify=Nr.defaultInstance.stringify.bind(Nr.defaultInstance);Nr.parse=Nr.defaultInstance.parse.bind(Nr.defaultInstance);Nr.registerClass=Nr.defaultInstance.registerClass.bind(Nr.defaultInstance);Nr.registerSymbol=Nr.defaultInstance.registerSymbol.bind(Nr.defaultInstance);Nr.registerCustom=Nr.defaultInstance.registerCustom.bind(Nr.defaultInstance);Nr.allowErrorProps=Nr.defaultInstance.allowErrorProps.bind(Nr.defaultInstance);Nr.serialize;Nr.deserialize;Nr.stringify;Nr.parse;Nr.registerClass;Nr.registerCustom;Nr.registerSymbol;Nr.allowErrorProps;kt();var m9="__devtools-kit-broadcast-messaging-event-key__",LO="__devtools-kit:broadcast-channel__";function g9(){const t=new BroadcastChannel(LO);return{post:e=>{t.postMessage(Nr.stringify({event:m9,data:e}))},on:e=>{t.onmessage=n=>{const r=Nr.parse(n.data);r.event===m9&&e(r.data)}}}}kt();kt();kt();var OO="electron:client-context",IO="electron:proxy-context",kO="electron:server-context",Ba={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function zO(){return zt[OO]}function NO(){return zt[IO]}function VO(){return zt[kO]}function HO(){const t=zO();return{post:e=>{t.emit(Ba.CLIENT_TO_PROXY,Nr.stringify(e))},on:e=>{t.on(Ba.PROXY_TO_CLIENT,n=>{e(Nr.parse(n))})}}}kt();function DO(){const t=NO();return{post:e=>{},on:e=>{t.on(Ba.SERVER_TO_PROXY,n=>{t.broadcast.emit(Ba.PROXY_TO_CLIENT,n)}),t.on(Ba.CLIENT_TO_PROXY,n=>{t.broadcast.emit(Ba.PROXY_TO_SERVER,n)})}}}kt();function RO(){const t=VO();return{post:e=>{t.emit(Ba.SERVER_TO_PROXY,Nr.stringify(e))},on:e=>{t.on(Ba.PROXY_TO_SERVER,n=>{e(Nr.parse(n))})}}}kt();kt();kt();var jO="electron:client-context",Yp={PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function BO(t){zt[jO]=t}function FO(){let t=!1,e=null,n=null,r=null;function a(){try{clearTimeout(n),e=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),BO(e),t=!1,e?.onMessage.addListener(r),e.onDisconnect.addListener(()=>{t=!0,e?.onMessage.removeListener(r),n=setTimeout(a,1e3)})}catch{t=!0}}return a(),{post:i=>{t||e?.postMessage(Nr.stringify(i))},on:i=>{r=s=>{t||i(Nr.parse(s))},e?.onMessage.addListener(r)}}}kt();function $O(){const t=chrome.runtime.connect({name:"content-script"});function e(r){window.postMessage({source:Yp.PROXY_TO_SERVER,payload:r},"*")}function n(r){if(r.data&&r.data.source===Yp.SERVER_TO_PROXY)try{t.postMessage(r.data.payload)}catch{}}return t.onMessage.addListener(e),window.addEventListener("message",n),t.onDisconnect.addListener(()=>{window.removeEventListener("message",n),e(Nr.stringify({event:"shutdown"}))}),e(Nr.stringify({event:"init"})),{post:r=>{},on:r=>{}}}kt();function UO(){return{post:t=>{window.postMessage({source:Yp.SERVER_TO_PROXY,payload:Nr.stringify(t)},"*")},on:t=>{const e=n=>{n.data.source===Yp.PROXY_TO_SERVER&&n.data.payload&&t(Nr.parse(n.data.payload))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}}}kt();kt();kt();var Jp="__devtools-kit-iframe-messaging-event-key__",qO="iframe:server-context";function v9(){return zt[qO]}function WO(){return $l?{post:t=>window.parent.postMessage(Nr.stringify({event:Jp,data:t}),"*"),on:t=>window.addEventListener("message",e=>{try{const n=Nr.parse(e.data);e.source===window.parent&&n.event===Jp&&t(n.data)}catch{}})}:{post:t=>{},on:t=>{}}}kt();function GO(){return $l?{post:t=>{var e;const n=v9();(e=n?.contentWindow)==null||e.postMessage(Nr.stringify({event:Jp,data:t}),"*")},on:t=>{window.addEventListener("message",e=>{const n=v9();try{const r=Nr.parse(e.data);e.source===n?.contentWindow&&r.event===Jp&&t(r.data)}catch{}})}}:{post:t=>{},on:t=>{}}}kt();kt();kt();var Qp="__devtools-kit-vite-messaging-event-key__",Gb="vite:client-context",KO="vite:server-context";function XO(){return zt[Gb]}function YO(t){zt[Gb]=t}function JO(){return zt[KO]}function QO(){const t=XO();return{post:e=>{t?.send(Qp,Nr.stringify(e))},on:e=>{t?.on(Qp,n=>{e(Nr.parse(n))})}}}kt();function ZO(){var t;const e=JO(),n=(t=e.hot)!=null?t:e.ws;return{post:r=>n?.send(Qp,Nr.stringify(r)),on:r=>n?.on(Qp,a=>{r(Nr.parse(a))})}}kt();kt();kt();kt();var y9,b9;(b9=(y9=zt).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(y9.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var C9,E9;(E9=(C9=zt).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(C9.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var S9,x9;(x9=(S9=zt).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(S9.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var w9,T9;(T9=(w9=zt).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(w9.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var _9,A9;(A9=(_9=zt).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(_9.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var P9,M9;(M9=(P9=zt).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(P9.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function eI(t){zt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=t}function tI(){return zt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function Kb(){return zt.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function rI(t){zt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=t}function nI(){return zt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function sI(t,e="client"){const n={iframe:{client:WO,server:GO}[e],electron:{client:HO,proxy:DO,server:RO}[e],vite:{client:QO,server:ZO}[e],broadcast:{client:g9,server:g9}[e],extension:{client:FO,proxy:$O,server:UO}[e]}[t];return n()}function F0(t,e={}){const{channel:n,options:r,preset:a}=e,i=a?sI(a):n,s=HT(t,{...r,...i,timeout:-1});if(a==="vite"){rI(s);return}return eI(s),s}kt();kt();kt();kt();kt();kt();function iI(t){let e="",n=null;try{e=Function.prototype.toString.call(t),n=String.prototype.match.call(e,/\([\s\S]*?\)/)}catch{}const r=n&&n[0],a=typeof r=="string"?r:"(?)",i=typeof t.name=="string"?t.name:"";return{_custom:{type:"function",displayText:`function ${qh(i)}${a}`,tooltipText:e.trim()?`
${e}
`:null}}}function oI(t){const e=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${e})`,value:e}}}function aI(t){const e=new Date(t.getTime());return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(t),value:e.toISOString().slice(0,-1)}}}function lI(t){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(t),readOnly:!0,fields:{abstract:!0}}}}function cI(t){const e=Array.from(t);return{_custom:{type:"set",displayText:`Set[${e.length}]`,value:e,readOnly:!0}}}function uI(t){const e={},n=t.getters||{},r=Object.keys(n);for(let a=0;a{try{return n[i]}catch(s){return s}}})}return e}function pI(t){if(t.length)return t.reduce((e,n)=>{const r=n.type||"data",a=e[r]=e[r]||{};return a[n.key]=n.value,e},{})}function hI(t){const e={},n=t.length;for(let r=0;r(${t.__file})`):e="Unknown Component",{_custom:{type:"component-definition",displayText:e,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function vI(t){try{return{_custom:{type:"HTMLElement",displayText:`<${t.tagName.toLowerCase()}>`,value:hI(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`${String(t)}`}}}}function yI(t){if(Yi(t,"_value",!0))return t._value;if(Yi(t,"value",!0))return t.value}function bI(t){var e,n,r,a;const i=xb(t);if(i.ref||i.computed||i.reactive){const o=i.computed?"Computed":i.ref?"Ref":i.reactive?"Reactive":null,l=wb(i.reactive?t:yI(t)),u=Yi(t,"effect")?((n=(e=t.effect)==null?void 0:e.raw)==null?void 0:n.toString())||((a=(r=t.effect)==null?void 0:r.fn)==null?void 0:a.toString()):null;return{_custom:{type:o?.toLowerCase(),stateTypeName:o,value:l,...u?{tooltipText:`${u}`}:{}}}}if(Yi(t,"__asyncLoader")&&typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function CI(t,e,n,r){var a;if(t==="compilerOptions")return;const i=this[t],s=typeof i;if(Array.isArray(i)){const o=i.length;return o>Gv?{_isArray:!0,length:o,items:i.slice(0,Gv)}:i}else{if(typeof i=="string")return i.length>Wv?`${i.substring(0,Wv)}... (${i.length} total length)`:i;if(s==="undefined")return h1;if(i===Number.POSITIVE_INFINITY)return s2;if(i===Number.NEGATIVE_INFINITY)return i2;if(typeof i=="function")return iI(i);if(s==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(i)}]`;if(typeof i=="bigint")return oI(i);if(i!==null&&typeof i=="object"){const o=Object.prototype.toString.call(i);if(o==="[object Map]")return lI(i);if(o==="[object Set]")return cI(i);if(o==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(i)}]`;if(o==="[object Date]")return aI(i);if(o==="[object Error]")return`[native Error ${i.message}<>${i.stack}]`;if(Yi(i,"state",!0)&&Yi(i,"_vm",!0))return fI(i);if(i.constructor&&i.constructor.name==="VueRouter")return dI(i);if(Cb(i)){const u=mI(i),p=r?.get(i);return p&&p`:(r?.set(i,n),u)}else{if(Yi(i,"render",!0)&&typeof i.render=="function")return gI(i);if(i.constructor&&i.constructor.name==="VNode")return`[native VNode <${i.tag}>]`;if(typeof HTMLElement<"u"&&i instanceof HTMLElement)return vI(i);if(((a=i.constructor)==null?void 0:a.name)==="Store"&&"_wrappedGetters"in i)return"[object Store]";if(Yi(i,"currentRoute",!0))return"[object Router]"}const l=bI(i);if(l!=null)return l}else if(Number.isNaN(i))return o2}return gL(i)}kt();var tp=2*1024*1024;function L9(t,e){return e==="[object Object]"}function EI(t,e){return e==="[object Array]"}function SI(t){var e;const n=(e=t?.constructor)==null?void 0:e.name;return n==="Dep"&&"activeLink"in t||n==="Link"&&"dep"in t}function $0(t,e,n,r,a=0,i=new Map){let s,o,l,u,p;const h=r.get(t);if(h!=null)return h;const d=n.length,m=Object.prototype.toString.call(t);if(L9(t,m)){if(SI(t))return d;s={},r.set(t,d),n.push(s);const f=Object.keys(t);for(u=0,p=f.length;u{var s;return(s=e?.(a,i))==null?void 0:s.call(this)},n)}catch{r=TI(t,e,n)}if(r.length>tp){const a=Math.ceil(r.length/tp),i=[];for(let s=0;s{YL()},get ctx(){return Vo},get api(){return Vo.api}};const _I=xt(!1),zY=async t=>{const e={file:t};return Xa&&(e.host="chrome-extension"),Qt.value.openInEditor(e)};function U0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?U0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}var AI={run:t=>t()},PI=()=>AI,Xb=typeof console.createTask<"u"?console.createTask:PI;function MI(t,e){const n=e.shift(),r=Xb(n);return t.reduce((a,i)=>a.then(()=>r.run(()=>i(...e))),Promise.resolve())}function LI(t,e){const n=e.shift(),r=Xb(n);return Promise.all(t.map(a=>r.run(()=>a(...e))))}function Ld(t,e){for(const n of[...t])n(e)}var OI=class{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(t,e,n={}){if(!t||typeof e!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!n.allowDeprecated){let i=a.message;i||(i=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...a)=>(typeof n=="function"&&n(),n=void 0,r=void 0,e(...a));return n=this.hook(t,r),n}removeHook(t,e){if(this._hooks[t]){const n=this._hooks[t].indexOf(e);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,e){this._deprecatedHooks[t]=typeof e=="string"?{to:e}:e;const n=this._hooks[t]||[];delete this._hooks[t];for(const r of n)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=U0(t),n=Object.keys(e).map(r=>this.hook(r,e[r]));return()=>{for(const r of n.splice(0,n.length))r()}}removeHooks(t){const e=U0(t);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...e){return e.unshift(t),this.callHookWith(MI,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(LI,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&Ld(this._before,r);const a=t(e in this._hooks?[...this._hooks[e]]:[],n);return a instanceof Promise?a.finally(()=>{this._after&&r&&Ld(this._after,r)}):(this._after&&r&&Ld(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const e=this._before.indexOf(t);e!==-1&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const e=this._after.indexOf(t);e!==-1&&this._after.splice(e,1)}}}};function Yb(){return new OI}var rp=Yb(),xs=(t=>(t.INSPECTOR_TREE_UPDATED="inspector-tree-updated",t.INSPECTOR_STATE_UPDATED="inspector-state-updated",t.DEVTOOLS_STATE_UPDATED="devtools-state-updated",t.ROUTER_INFO_UPDATED="router-info-updated",t.TIMELINE_EVENT_UPDATED="timeline-event-updated",t.INSPECTOR_UPDATED="inspector-updated",t.ACTIVE_APP_UNMOUNTED="active-app-updated",t.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",t.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",t))(xs||{});function I9(){var t;const e=fs.ctx.state;return{connected:e.connected,clientConnected:!0,vueVersion:((t=e?.activeAppRecord)==null?void 0:t.version)||"",tabs:e.tabs,commands:e.commands,vitePluginDetected:e.vitePluginDetected,appRecords:e.appRecords.map(n=>({id:n.id,name:n.name,version:n.version,routerId:n.routerId,iframe:n.iframe})),activeAppRecordId:e.activeAppRecordId,timelineLayersState:e.timelineLayersState}}var k9={on:(t,e)=>{rp.hook(t,e)},off:(t,e)=>{rp.removeHook(t,e)},once:(t,e)=>{rp.hookOnce(t,e)},emit:(t,...e)=>{rp.callHook(t,...e)},heartbeat:()=>!0,devtoolsState:()=>I9(),async getInspectorTree(t){const e=await fs.ctx.api.getInspectorTree(t);return U1(e)},async getInspectorState(t){const e=Wa(t.inspectorId);e&&(e.selectedNodeId=t.nodeId);const n=await fs.ctx.api.getInspectorState(t);return U1(n)},async editInspectorState(t){return await fs.ctx.api.editInspectorState(t)},sendInspectorState(t){return fs.ctx.api.sendInspectorState(t)},inspectComponentInspector(){return fs.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return fs.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(t){return fs.ctx.api.getComponentRenderCode(t)},scrollToComponent(t){return fs.ctx.api.scrollToComponent(t)},inspectDOM(t){return fs.ctx.api.inspectDOM(t)},getInspectorNodeActions(t){return Pv(t)},getInspectorActions(t){return Av(t)},updateTimelineLayersState(t){return jM(t)},callInspectorNodeAction(t,e,n){var r;const a=Pv(t);if(a?.length){const i=a[e];(r=i.action)==null||r.call(i,n)}},callInspectorAction(t,e){var n;const r=Av(t);if(r?.length){const a=r[e];(n=a.action)==null||n.call(a)}},openInEditor(t){return fs.ctx.api.openInEditor(t)},async checkVueInspectorDetected(){return!!await fs.ctx.api.getVueInspector()},async enableVueInspector(){var t,e,n;const r=await((n=(e=(t=fs)==null?void 0:t.api)==null?void 0:e.getVueInspector)==null?void 0:n.call(e));r&&await r.enable()},async toggleApp(t,e){return fs.ctx.api.toggleApp(t,e)},updatePluginSettings(t,e,n){return fs.ctx.api.updatePluginSettings(t,e,n)},getPluginSettings(t){return fs.ctx.api.getPluginSettings(t)},getRouterInfo(){return RL},navigate(t){var e;return(e=t9.value)==null?void 0:e.push(t).catch(()=>({}))},getMatchedRoutes(t){var e,n,r;const a=console.warn;console.warn=()=>{};const i=(r=(n=(e=t9.value)==null?void 0:e.resolve)==null?void 0:n.call(e,{path:t||"/"}).matched)!=null?r:[];return console.warn=a,i},toggleClientConnected(t){XM(t)},getCustomInspector(){return wm()},getInspectorInfo(t){return FM(t)},highlighComponent(t){return fs.ctx.hooks.callHook(N0.COMPONENT_HIGHLIGHT,{uid:t})},unhighlight(){return fs.ctx.hooks.callHook(N0.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(t){Ib(t)},initDevToolsServerListener(){const e=Kb().broadcast;fs.ctx.hooks.hook(La.SEND_INSPECTOR_TREE_TO_CLIENT,n=>{e.emit("inspector-tree-updated",U1(n))}),fs.ctx.hooks.hook(La.SEND_INSPECTOR_STATE_TO_CLIENT,n=>{e.emit("inspector-state-updated",U1(n))}),fs.ctx.hooks.hook(La.DEVTOOLS_STATE_UPDATED,()=>{e.emit("devtools-state-updated",I9())}),fs.ctx.hooks.hook(La.ROUTER_INFO_UPDATED,({state:n})=>{e.emit("router-info-updated",n)}),fs.ctx.hooks.hook(La.SEND_TIMELINE_EVENT_TO_CLIENT,n=>{e.emit("timeline-event-updated",U1(n))}),fs.ctx.hooks.hook(La.SEND_INSPECTOR_TO_CLIENT,n=>{e.emit("inspector-updated",n)}),fs.ctx.hooks.hook(La.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{e.emit("active-app-updated")})}},Qt=new Proxy({value:{},functions:{}},{get(t,e){const n=tI();if(e==="value")return n;if(e==="functions")return n.$functions}});new Proxy({value:{},functions:{}},{get(t,e){const n=Kb();if(e==="value")return n;if(e==="functions")return n.functions}});function oa(t){let e=null,n=0;function r(){var a,i;(i=(a=Qt.value)==null?void 0:a.heartbeat)==null||i.call(a).then(()=>{t(),clearTimeout(e)}).catch(()=>{})}e=setInterval(()=>{n>=30&&clearTimeout(e),n++,r()},n*200+200),r()}var np=Yb(),II={on:(t,e)=>{np.hook(t,e)},off:(t,e)=>{np.removeHook(t,e)},once:(t,e)=>{np.hookOnce(t,e)},emit:(t,...e)=>{np.callHook(t,...e)},heartbeat:()=>!0},kI=new Proxy({value:{},functions:{}},{get(t,e){const n=nI();if(e==="value")return n;if(e==="functions")return n?.$functions}});function NY(t){let e=null;function n(){var r,a;(a=(r=kI.value)==null?void 0:r.heartbeat)==null||a.call(r).then(()=>{clearTimeout(e),t()}).catch(()=>({})),e=setTimeout(()=>{n()},80)}n()}function zI(){F0(II,{preset:"vite"})}var Jb=Symbol.for("__VueDevToolsStateSymbol__");function NI(){return{install(t){const e=VI();e.getDevToolsState(),t.provide(Jb,e),t.config.globalProperties.$getDevToolsState=e.getDevToolsState,t.config.globalProperties.$disconnectDevToolsClient=()=>{e.clientConnected.value=!1,e.connected.value=!1}}}}function VI(){const t=xt(!1),e=xt(!1),n=xt(""),r=xt([]),a=xt([]),i=xt(!1),s=xt([]),o=xt(""),l=xt({});function u(h){t.value=h.connected,e.value=h.clientConnected,n.value=h.vueVersion||"",r.value=h.tabs,a.value=h.commands,i.value=h.vitePluginDetected,s.value=h.appRecords,o.value=h.activeAppRecordId,l.value=h.timelineLayersState}function p(){oa(()=>{Qt.value.devtoolsState().then(h=>{u(h)}),Qt.functions.off("devtools-state-updated",u),Qt.functions.on("devtools-state-updated",u)})}return{getDevToolsState:p,connected:t,clientConnected:e,vueVersion:n,tabs:r,commands:a,vitePluginDetected:i,appRecords:s,activeAppRecordId:o,timelineLayersState:l}}function Wl(){return Rn(Jb)}var Ac=[];function HI(t){const{connected:e,clientConnected:n}=Wl();Ac.push(t),gi(()=>{Ac.splice(Ac.indexOf(t),1)});const r=pt(()=>n.value&&e.value);if(r.value)t();else{const a=Ir(r,i=>{i&&(t(),a())})}return()=>{Ac.splice(Ac.indexOf(t),1)}}function Qb(){Ac.forEach(t=>t())}async function DI(t="/",e=!0){try{const n=`${t}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(n)}catch{e&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Pc=typeof document<"u";function Zb(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function RI(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Zb(t.default)}const ds=Object.assign;function Od(t,e){const n={};for(const r in e){const a=e[r];n[r]=mo(a)?a.map(t):t(a)}return n}const lu=()=>{},mo=Array.isArray,eC=/#/g,jI=/&/g,BI=/\//g,FI=/=/g,$I=/\?/g,tC=/\+/g,UI=/%5B/g,qI=/%5D/g,rC=/%5E/g,WI=/%60/g,nC=/%7B/g,GI=/%7C/g,sC=/%7D/g,KI=/%20/g;function Om(t){return encodeURI(""+t).replace(GI,"|").replace(UI,"[").replace(qI,"]")}function XI(t){return Om(t).replace(nC,"{").replace(sC,"}").replace(rC,"^")}function q0(t){return Om(t).replace(tC,"%2B").replace(KI,"+").replace(eC,"%23").replace(jI,"%26").replace(WI,"`").replace(nC,"{").replace(sC,"}").replace(rC,"^")}function YI(t){return q0(t).replace(FI,"%3D")}function JI(t){return Om(t).replace(eC,"%23").replace($I,"%3F")}function QI(t){return t==null?"":JI(t).replace(BI,"%2F")}function zu(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ZI=/\/$/,ek=t=>t.replace(ZI,"");function Id(t,e,n="/"){let r,a={},i="",s="";const o=e.indexOf("#");let l=e.indexOf("?");return o=0&&(l=-1),l>-1&&(r=e.slice(0,l),i=e.slice(l+1,o>-1?o:e.length),a=t(i)),o>-1&&(r=r||e.slice(0,o),s=e.slice(o,e.length)),r=sk(r??e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:a,hash:zu(s)}}function tk(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function rk(t,e,n){const r=e.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&t1(e.matched[r],n.matched[a])&&iC(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function t1(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function iC(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!nk(t[n],e[n]))return!1;return!0}function nk(t,e){return mo(t)?z9(t,e):mo(e)?z9(e,t):t===e}function z9(t,e){return mo(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function sk(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const Pa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Nu;(function(t){t.pop="pop",t.push="push"})(Nu||(Nu={}));var Zp;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Zp||(Zp={}));const kd="";function ik(t){if(!t)if(Pc){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),ek(t)}const ok=/^[^#]+#/;function ak(t,e){return t.replace(ok,"#")+e}function lk(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const ck=()=>({left:window.scrollX,top:window.scrollY});function uk(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;e=lk(a,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function N9(t,e){return(history.state?history.state.position-e:-1)+t}const W0=new Map;function pk(t,e){W0.set(t,e)}function hk(t){const e=W0.get(t);return W0.delete(t),e}function fk(t=""){let e=[],n=[kd],r=0;t=ik(t);function a(o){r++,r!==n.length&&n.splice(r),n.push(o)}function i(o,l,{direction:u,delta:p}){const h={direction:u,delta:p,type:Nu.pop};for(const d of e)d(o,l,h)}const s={location:kd,state:{},base:t,createHref:ak.bind(null,t),replace(o){n.splice(r--,1),a(o)},push(o,l){a(o)},listen(o){return e.push(o),()=>{const l=e.indexOf(o);l>-1&&e.splice(l,1)}},destroy(){e=[],n=[kd],r=0},go(o,l=!0){const u=this.location,p=o<0?Zp.back:Zp.forward;r=Math.max(0,Math.min(r+o,n.length-1)),l&&i(this.location,u,{direction:p,delta:o})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r]}),s}function dk(t){return typeof t=="string"||t&&typeof t=="object"}function oC(t){return typeof t=="string"||typeof t=="symbol"}const aC=Symbol("");var V9;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(V9||(V9={}));function r1(t,e){return ds(new Error,{type:t,[aC]:!0},e)}function Yo(t,e){return t instanceof Error&&aC in t&&(e==null||!!(t.type&e))}const H9="[^/]+?",mk={sensitive:!1,strict:!1,start:!0,end:!0},gk=/[.+*?^${}()[\]/\\]/g;function vk(t,e){const n=ds({},mk,e),r=[];let a=n.start?"^":"";const i=[];for(const u of t){const p=u.length?[]:[90];n.strict&&!u.length&&(a+="/");for(let h=0;he.length?e.length===1&&e[0]===80?1:-1:0}function lC(t,e){let n=0;const r=t.score,a=e.score;for(;n0&&e[e.length-1]<0}const bk={type:0,value:""},Ck=/[a-zA-Z0-9_]/;function Ek(t){if(!t)return[[]];if(t==="/")return[[bk]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,r=n;const a=[];let i;function s(){i&&a.push(i),i=[]}let o=0,l,u="",p="";function h(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:p,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;o{s(g)}:lu}function s(h){if(oC(h)){const d=r.get(h);d&&(r.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&r.delete(h.record.name),h.children.forEach(s),h.alias.forEach(s))}}function o(){return n}function l(h){const d=_k(h,n);n.splice(d,0,h),h.record.name&&!B9(h)&&r.set(h.record.name,h)}function u(h,d){let m,f={},v,C;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw r1(1,{location:h});C=m.record.name,f=ds(R9(d.params,m.keys.filter(g=>!g.optional).concat(m.parent?m.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),h.params&&R9(h.params,m.keys.map(g=>g.name))),v=m.stringify(f)}else if(h.path!=null)v=h.path,m=n.find(g=>g.re.test(v)),m&&(f=m.parse(v),C=m.record.name);else{if(m=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!m)throw r1(1,{location:h,currentLocation:d});C=m.record.name,f=ds({},d.params,h.params),v=m.stringify(f)}const E=[];let x=m;for(;x;)E.unshift(x.record),x=x.parent;return{name:C,path:v,params:f,matched:E,meta:Tk(E)}}t.forEach(h=>i(h));function p(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:p,getRoutes:o,getRecordMatcher:a}}function R9(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function j9(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:wk(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function wk(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function B9(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Tk(t){return t.reduce((e,n)=>ds(e,n.meta),{})}function F9(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function _k(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;lC(t,e[i])<0?r=i:n=i+1}const a=Ak(t);return a&&(r=e.lastIndexOf(a,r-1)),r}function Ak(t){let e=t;for(;e=e.parent;)if(cC(e)&&lC(t,e)===0)return e}function cC({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Pk(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;ai&&q0(i)):[r&&q0(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function Mk(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=mo(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return e}const Lk=Symbol(""),U9=Symbol(""),Kh=Symbol(""),Im=Symbol(""),G0=Symbol("");function q1(){let t=[];function e(r){return t.push(r),()=>{const a=t.indexOf(r);a>-1&&t.splice(a,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Da(t,e,n,r,a,i=s=>s()){const s=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((o,l)=>{const u=d=>{d===!1?l(r1(4,{from:n,to:e})):d instanceof Error?l(d):dk(d)?l(r1(2,{from:e,to:d})):(s&&r.enterCallbacks[a]===s&&typeof d=="function"&&s.push(d),o())},p=i(()=>t.call(r&&r.instances[a],e,n,u));let h=Promise.resolve(p);t.length<3&&(h=h.then(u)),h.catch(d=>l(d))})}function zd(t,e,n,r,a=i=>i()){const i=[];for(const s of t)for(const o in s.components){let l=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(Zb(l)){const p=(l.__vccOpts||l)[e];p&&i.push(Da(p,n,r,s,o,a))}else{let u=l();i.push(()=>u.then(p=>{if(!p)throw new Error(`Couldn't resolve component "${o}" at "${s.path}"`);const h=RI(p)?p.default:p;s.mods[o]=p,s.components[o]=h;const m=(h.__vccOpts||h)[e];return m&&Da(m,n,r,s,o,a)()}))}}return i}function q9(t){const e=Rn(Kh),n=Rn(Im),r=pt(()=>{const l=$e(t.to);return e.resolve(l)}),a=pt(()=>{const{matched:l}=r.value,{length:u}=l,p=l[u-1],h=n.matched;if(!p||!h.length)return-1;const d=h.findIndex(t1.bind(null,p));if(d>-1)return d;const m=W9(l[u-2]);return u>1&&W9(p)===m&&h[h.length-1].path!==m?h.findIndex(t1.bind(null,l[u-2])):d}),i=pt(()=>a.value>-1&&zk(n.params,r.value.params)),s=pt(()=>a.value>-1&&a.value===n.matched.length-1&&iC(n.params,r.value.params));function o(l={}){if(kk(l)){const u=e[$e(t.replace)?"replace":"push"]($e(t.to)).catch(lu);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:pt(()=>r.value.href),isActive:i,isExactActive:s,navigate:o}}function Ok(t){return t.length===1?t[0]:t}const Ik=ur({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:q9,setup(t,{slots:e}){const n=fo(q9(t)),{options:r}=Rn(Kh),a=pt(()=>({[G9(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[G9(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&Ok(e.default(n));return t.custom?i:il("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),uC=Ik;function kk(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function zk(t,e){for(const n in e){const r=e[n],a=t[n];if(typeof r=="string"){if(r!==a)return!1}else if(!mo(a)||a.length!==r.length||r.some((i,s)=>i!==a[s]))return!1}return!0}function W9(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const G9=(t,e,n)=>t??e??n,Nk=ur({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=Rn(G0),a=pt(()=>t.route||r.value),i=Rn(U9,0),s=pt(()=>{let u=$e(i);const{matched:p}=a.value;let h;for(;(h=p[u])&&!h.components;)u++;return u}),o=pt(()=>a.value.matched[s.value]);zs(U9,pt(()=>s.value+1)),zs(Lk,o),zs(G0,a);const l=xt();return Ir(()=>[l.value,o.value,t.name],([u,p,h],[d,m,f])=>{p&&(p.instances[h]=u,m&&m!==p&&u&&u===d&&(p.leaveGuards.size||(p.leaveGuards=m.leaveGuards),p.updateGuards.size||(p.updateGuards=m.updateGuards))),u&&p&&(!m||!t1(p,m)||!d)&&(p.enterCallbacks[h]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=a.value,p=t.name,h=o.value,d=h&&h.components[p];if(!d)return K9(n.default,{Component:d,route:u});const m=h.props[p],f=m?m===!0?u.params:typeof m=="function"?m(u):m:null,C=il(d,ds({},f,e,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[p]=null)},ref:l}));return K9(n.default,{Component:C,route:u})||C}}});function K9(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Vk=Nk;function Hk(t){const e=xk(t.routes,t),n=t.parseQuery||Pk,r=t.stringifyQuery||$9,a=t.history,i=q1(),s=q1(),o=q1(),l=Kr(Pa);let u=Pa;Pc&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Od.bind(null,pe=>""+pe),h=Od.bind(null,QI),d=Od.bind(null,zu);function m(pe,oe){let ce,ie;return oC(pe)?(ce=e.getRecordMatcher(pe),ie=oe):ie=pe,e.addRoute(ie,ce)}function f(pe){const oe=e.getRecordMatcher(pe);oe&&e.removeRoute(oe)}function v(){return e.getRoutes().map(pe=>pe.record)}function C(pe){return!!e.getRecordMatcher(pe)}function E(pe,oe){if(oe=ds({},oe||l.value),typeof pe=="string"){const ye=Id(n,pe,oe.path),ge=e.resolve({path:ye.path},oe),Me=a.createHref(ye.fullPath);return ds(ye,ge,{params:d(ge.params),hash:zu(ye.hash),redirectedFrom:void 0,href:Me})}let ce;if(pe.path!=null)ce=ds({},pe,{path:Id(n,pe.path,oe.path).path});else{const ye=ds({},pe.params);for(const ge in ye)ye[ge]==null&&delete ye[ge];ce=ds({},pe,{params:h(ye)}),oe.params=h(oe.params)}const ie=e.resolve(ce,oe),ne=pe.hash||"";ie.params=p(d(ie.params));const Se=tk(r,ds({},pe,{hash:XI(ne),path:ie.path})),se=a.createHref(Se);return ds({fullPath:Se,hash:ne,query:r===$9?Mk(pe.query):pe.query||{}},ie,{redirectedFrom:void 0,href:se})}function x(pe){return typeof pe=="string"?Id(n,pe,l.value.path):ds({},pe)}function g(pe,oe){if(u!==pe)return r1(8,{from:oe,to:pe})}function w(pe){return T(pe)}function b(pe){return w(ds(x(pe),{replace:!0}))}function A(pe){const oe=pe.matched[pe.matched.length-1];if(oe&&oe.redirect){const{redirect:ce}=oe;let ie=typeof ce=="function"?ce(pe):ce;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=x(ie):{path:ie},ie.params={}),ds({query:pe.query,hash:pe.hash,params:ie.path!=null?{}:pe.params},ie)}}function T(pe,oe){const ce=u=E(pe),ie=l.value,ne=pe.state,Se=pe.force,se=pe.replace===!0,ye=A(ce);if(ye)return T(ds(x(ye),{state:typeof ye=="object"?ds({},ne,ye.state):ne,force:Se,replace:se}),oe||ce);const ge=ce;ge.redirectedFrom=oe;let Me;return!Se&&rk(r,ie,ce)&&(Me=r1(16,{to:ge,from:ie}),Oe(ie,ie,!0,!1)),(Me?Promise.resolve(Me):z(ge,ie)).catch(ae=>Yo(ae)?Yo(ae,2)?ae:ue(ae):K(ae,ge,ie)).then(ae=>{if(ae){if(Yo(ae,2))return T(ds({replace:se},x(ae.to),{state:typeof ae.to=="object"?ds({},ne,ae.to.state):ne,force:Se}),oe||ge)}else ae=W(ge,ie,!0,se,ne);return U(ge,ie,ae),ae})}function O(pe,oe){const ce=g(pe,oe);return ce?Promise.reject(ce):Promise.resolve()}function I(pe){const oe=fe.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(pe):pe()}function z(pe,oe){let ce;const[ie,ne,Se]=Dk(pe,oe);ce=zd(ie.reverse(),"beforeRouteLeave",pe,oe);for(const ye of ie)ye.leaveGuards.forEach(ge=>{ce.push(Da(ge,pe,oe))});const se=O.bind(null,pe,oe);return ce.push(se),Ae(ce).then(()=>{ce=[];for(const ye of i.list())ce.push(Da(ye,pe,oe));return ce.push(se),Ae(ce)}).then(()=>{ce=zd(ne,"beforeRouteUpdate",pe,oe);for(const ye of ne)ye.updateGuards.forEach(ge=>{ce.push(Da(ge,pe,oe))});return ce.push(se),Ae(ce)}).then(()=>{ce=[];for(const ye of Se)if(ye.beforeEnter)if(mo(ye.beforeEnter))for(const ge of ye.beforeEnter)ce.push(Da(ge,pe,oe));else ce.push(Da(ye.beforeEnter,pe,oe));return ce.push(se),Ae(ce)}).then(()=>(pe.matched.forEach(ye=>ye.enterCallbacks={}),ce=zd(Se,"beforeRouteEnter",pe,oe,I),ce.push(se),Ae(ce))).then(()=>{ce=[];for(const ye of s.list())ce.push(Da(ye,pe,oe));return ce.push(se),Ae(ce)}).catch(ye=>Yo(ye,8)?ye:Promise.reject(ye))}function U(pe,oe,ce){o.list().forEach(ie=>I(()=>ie(pe,oe,ce)))}function W(pe,oe,ce,ie,ne){const Se=g(pe,oe);if(Se)return Se;const se=oe===Pa,ye=Pc?history.state:{};ce&&(ie||se?a.replace(pe.fullPath,ds({scroll:se&&ye&&ye.scroll},ne)):a.push(pe.fullPath,ne)),l.value=pe,Oe(pe,oe,ce,se),ue()}let F;function N(){F||(F=a.listen((pe,oe,ce)=>{if(!Ee.listening)return;const ie=E(pe),ne=A(ie);if(ne){T(ds(ne,{replace:!0,force:!0}),ie).catch(lu);return}u=ie;const Se=l.value;Pc&&pk(N9(Se.fullPath,ce.delta),ck()),z(ie,Se).catch(se=>Yo(se,12)?se:Yo(se,2)?(T(ds(x(se.to),{force:!0}),ie).then(ye=>{Yo(ye,20)&&!ce.delta&&ce.type===Nu.pop&&a.go(-1,!1)}).catch(lu),Promise.reject()):(ce.delta&&a.go(-ce.delta,!1),K(se,ie,Se))).then(se=>{se=se||W(ie,Se,!1),se&&(ce.delta&&!Yo(se,8)?a.go(-ce.delta,!1):ce.type===Nu.pop&&Yo(se,20)&&a.go(-1,!1)),U(ie,Se,se)}).catch(lu)}))}let $=q1(),D=q1(),R;function K(pe,oe,ce){ue(pe);const ie=D.list();return ie.length?ie.forEach(ne=>ne(pe,oe,ce)):console.error(pe),Promise.reject(pe)}function re(){return R&&l.value!==Pa?Promise.resolve():new Promise((pe,oe)=>{$.add([pe,oe])})}function ue(pe){return R||(R=!pe,N(),$.list().forEach(([oe,ce])=>pe?ce(pe):oe()),$.reset()),pe}function Oe(pe,oe,ce,ie){const{scrollBehavior:ne}=t;if(!Pc||!ne)return Promise.resolve();const Se=!ce&&hk(N9(pe.fullPath,0))||(ie||!ce)&&history.state&&history.state.scroll||null;return ws().then(()=>ne(pe,oe,Se)).then(se=>se&&uk(se)).catch(se=>K(se,pe,oe))}const X=pe=>a.go(pe);let J;const fe=new Set,Ee={currentRoute:l,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:C,getRoutes:v,resolve:E,options:t,push:w,replace:b,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:i.add,beforeResolve:s.add,afterEach:o.add,onError:D.add,isReady:re,install(pe){const oe=this;pe.component("RouterLink",uC),pe.component("RouterView",Vk),pe.config.globalProperties.$router=oe,Object.defineProperty(pe.config.globalProperties,"$route",{enumerable:!0,get:()=>$e(l)}),Pc&&!J&&l.value===Pa&&(J=!0,w(a.location).catch(ne=>{}));const ce={};for(const ne in Pa)Object.defineProperty(ce,ne,{get:()=>l.value[ne],enumerable:!0});pe.provide(Kh,oe),pe.provide(Im,Lh(ce)),pe.provide(G0,l);const ie=pe.unmount;fe.add(pe),pe.unmount=function(){fe.delete(pe),fe.size<1&&(u=Pa,F&&F(),F=null,l.value=Pa,J=!1,R=!1),ie()}}};function Ae(pe){return pe.reduce((oe,ce)=>oe.then(()=>I(ce)),Promise.resolve())}return Ee}function Dk(t,e){const n=[],r=[],a=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;st1(u,o))?r.push(o):n.push(o));const l=t.matched[s];l&&(e.matched.find(u=>t1(u,l))||a.push(l))}return[n,r,a]}function Xh(){return Rn(Kh)}function km(t){return Rn(Im)}const Rk=["top","right","bottom","left"],X9=["start","end"],Y9=Rk.reduce((t,e)=>t.concat(e,e+"-"+X9[0],e+"-"+X9[1]),[]),Vu=Math.min,Al=Math.max,jk={left:"right",right:"left",bottom:"top",top:"bottom"},Bk={start:"end",end:"start"};function K0(t,e,n){return Al(t,Vu(e,n))}function Gl(t,e){return typeof t=="function"?t(e):t}function Ho(t){return t.split("-")[0]}function po(t){return t.split("-")[1]}function pC(t){return t==="x"?"y":"x"}function zm(t){return t==="y"?"height":"width"}function jl(t){return["top","bottom"].includes(Ho(t))?"y":"x"}function Nm(t){return pC(jl(t))}function hC(t,e,n){n===void 0&&(n=!1);const r=po(t),a=Nm(t),i=zm(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=th(s)),[s,th(s)]}function Fk(t){const e=th(t);return[eh(t),e,eh(e)]}function eh(t){return t.replace(/start|end/g,e=>Bk[e])}function $k(t,e,n){const r=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?a:r:e?r:a;case"left":case"right":return e?i:s;default:return[]}}function Uk(t,e,n,r){const a=po(t);let i=$k(Ho(t),n==="start",r);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(eh)))),i}function th(t){return t.replace(/left|right|bottom|top/g,e=>jk[e])}function qk(t){return{top:0,right:0,bottom:0,left:0,...t}}function fC(t){return typeof t!="number"?qk(t):{top:t,right:t,bottom:t,left:t}}function cu(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function J9(t,e,n){let{reference:r,floating:a}=t;const i=jl(e),s=Nm(e),o=zm(s),l=Ho(e),u=i==="y",p=r.x+r.width/2-a.width/2,h=r.y+r.height/2-a.height/2,d=r[o]/2-a[o]/2;let m;switch(l){case"top":m={x:p,y:r.y-a.height};break;case"bottom":m={x:p,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:h};break;case"left":m={x:r.x-a.width,y:h};break;default:m={x:r.x,y:r.y}}switch(po(e)){case"start":m[s]-=d*(n&&u?-1:1);break;case"end":m[s]+=d*(n&&u?-1:1);break}return m}const Wk=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,o=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:p,y:h}=J9(u,r,l),d=r,m={},f=0;for(let v=0;v({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:s,elements:o,middlewareData:l}=e,{element:u,padding:p=0}=Gl(t,e)||{};if(u==null)return{};const h=fC(p),d={x:n,y:r},m=Nm(a),f=zm(m),v=await s.getDimensions(u),C=m==="y",E=C?"top":"left",x=C?"bottom":"right",g=C?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[m]-d[m]-i.floating[f],b=d[m]-i.reference[m],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let T=A?A[g]:0;(!T||!await(s.isElement==null?void 0:s.isElement(A)))&&(T=o.floating[g]||i.floating[f]);const O=w/2-b/2,I=T/2-v[f]/2-1,z=Vu(h[E],I),U=Vu(h[x],I),W=z,F=T-v[f]-U,N=T/2-v[f]/2+O,$=K0(W,N,F),D=!l.arrow&&po(a)!=null&&N!==$&&i.reference[f]/2-(Npo(a)===t),...n.filter(a=>po(a)!==t)]:n.filter(a=>Ho(a)===a)).filter(a=>t?po(a)===t||(e?eh(a)!==a:!1):!0)}const Xk=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,a;const{rects:i,middlewareData:s,placement:o,platform:l,elements:u}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:d=Y9,autoAlignment:m=!0,...f}=Gl(t,e),v=h!==void 0||d===Y9?Kk(h||null,m,d):d,C=await Yh(e,f),E=((n=s.autoPlacement)==null?void 0:n.index)||0,x=v[E];if(x==null)return{};const g=hC(x,i,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(o!==x)return{reset:{placement:v[0]}};const w=[C[Ho(x)],C[g[0]],C[g[1]]],b=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:x,overflows:w}],A=v[E+1];if(A)return{data:{index:E+1,overflows:b},reset:{placement:A}};const T=b.map(z=>{const U=po(z.placement);return[z.placement,U&&p?z.overflows.slice(0,2).reduce((W,F)=>W+F,0):z.overflows[0],z.overflows]}).sort((z,U)=>z[1]-U[1]),I=((a=T.filter(z=>z[2].slice(0,po(z[0])?2:3).every(U=>U<=0))[0])==null?void 0:a[0])||T[0][0];return I!==o?{data:{index:E+1,overflows:b},reset:{placement:I}}:{}}}},Yk=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:a,middlewareData:i,rects:s,initialPlacement:o,platform:l,elements:u}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...C}=Gl(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=Ho(a),x=jl(o),g=Ho(o)===o,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=d||(g||!v?[th(o)]:Fk(o)),A=f!=="none";!d&&A&&b.push(...Uk(o,v,f,w));const T=[o,...b],O=await Yh(e,C),I=[];let z=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&I.push(O[E]),h){const N=hC(a,s,w);I.push(O[N[0]],O[N[1]])}if(z=[...z,{placement:a,overflows:I}],!I.every(N=>N<=0)){var U,W;const N=(((U=i.flip)==null?void 0:U.index)||0)+1,$=T[N];if($)return{data:{index:N,overflows:z},reset:{placement:$}};let D=(W=z.filter(R=>R.overflows[0]<=0).sort((R,K)=>R.overflows[1]-K.overflows[1])[0])==null?void 0:W.placement;if(!D)switch(m){case"bestFit":{var F;const R=(F=z.filter(K=>{if(A){const re=jl(K.placement);return re===x||re==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(re=>re>0).reduce((re,ue)=>re+ue,0)]).sort((K,re)=>K[1]-re[1])[0])==null?void 0:F[0];R&&(D=R);break}case"initialPlacement":D=o;break}if(a!==D)return{reset:{placement:D}}}return{}}}};async function Jk(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=Ho(n),o=po(n),l=jl(n)==="y",u=["left","top"].includes(s)?-1:1,p=i&&l?-1:1,h=Gl(e,t);let{mainAxis:d,crossAxis:m,alignmentAxis:f}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&typeof f=="number"&&(m=o==="end"?f*-1:f),l?{x:m*p,y:d*u}:{x:d*u,y:m*p}}const Qk=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:s,middlewareData:o}=e,l=await Jk(e,t);return s===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},Zk=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:o={fn:C=>{let{x:E,y:x}=C;return{x:E,y:x}}},...l}=Gl(t,e),u={x:n,y:r},p=await Yh(e,l),h=jl(Ho(a)),d=pC(h);let m=u[d],f=u[h];if(i){const C=d==="y"?"top":"left",E=d==="y"?"bottom":"right",x=m+p[C],g=m-p[E];m=K0(x,m,g)}if(s){const C=h==="y"?"top":"left",E=h==="y"?"bottom":"right",x=f+p[C],g=f-p[E];f=K0(x,f,g)}const v=o.fn({...e,[d]:m,[h]:f});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:i,[h]:s}}}}}},ez=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:a,rects:i,platform:s,elements:o}=e,{apply:l=()=>{},...u}=Gl(t,e),p=await Yh(e,u),h=Ho(a),d=po(a),m=jl(a)==="y",{width:f,height:v}=i.floating;let C,E;h==="top"||h==="bottom"?(C=h,E=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(E=h,C=d==="end"?"top":"bottom");const x=v-p.top-p.bottom,g=f-p.left-p.right,w=Vu(v-p[C],x),b=Vu(f-p[E],g),A=!e.middlewareData.shift;let T=w,O=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(O=g),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(T=x),A&&!d){const z=Al(p.left,0),U=Al(p.right,0),W=Al(p.top,0),F=Al(p.bottom,0);m?O=f-2*(z!==0||U!==0?z+U:Al(p.left,p.right)):T=v-2*(W!==0||F!==0?W+F:Al(p.top,p.bottom))}await l({...e,availableWidth:O,availableHeight:T});const I=await s.getDimensions(o.floating);return f!==I.width||v!==I.height?{reset:{rects:!0}}:{}}}};function Ji(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Io(t){return Ji(t).getComputedStyle(t)}const Q9=Math.min,uu=Math.max,rh=Math.round;function dC(t){const e=Io(t);let n=parseFloat(e.width),r=parseFloat(e.height);const a=t.offsetWidth,i=t.offsetHeight,s=rh(n)!==a||rh(r)!==i;return s&&(n=a,r=i),{width:n,height:r,fallback:s}}function tl(t){return gC(t)?(t.nodeName||"").toLowerCase():""}let sp;function mC(){if(sp)return sp;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(sp=t.brands.map(e=>e.brand+"/"+e.version).join(" "),sp):navigator.userAgent}function ko(t){return t instanceof Ji(t).HTMLElement}function Ga(t){return t instanceof Ji(t).Element}function gC(t){return t instanceof Ji(t).Node}function Z9(t){return typeof ShadowRoot>"u"?!1:t instanceof Ji(t).ShadowRoot||t instanceof ShadowRoot}function Jh(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=Io(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(a)}function tz(t){return["table","td","th"].includes(tl(t))}function X0(t){const e=/firefox/i.test(mC()),n=Io(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(a=>n.willChange.includes(a))||["paint","layout","strict","content"].some(a=>{const i=n.contain;return i!=null&&i.includes(a)})}function vC(){return!/^((?!chrome|android).)*safari/i.test(mC())}function Vm(t){return["html","body","#document"].includes(tl(t))}function yC(t){return Ga(t)?t:t.contextElement}const bC={x:1,y:1};function Bc(t){const e=yC(t);if(!ko(e))return bC;const n=e.getBoundingClientRect(),{width:r,height:a,fallback:i}=dC(e);let s=(i?rh(n.width):n.width)/r,o=(i?rh(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function Hu(t,e,n,r){var a,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),o=yC(t);let l=bC;e&&(r?Ga(r)&&(l=Bc(r)):l=Bc(t));const u=o?Ji(o):window,p=!vC()&&n;let h=(s.left+(p&&((a=u.visualViewport)==null?void 0:a.offsetLeft)||0))/l.x,d=(s.top+(p&&((i=u.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,m=s.width/l.x,f=s.height/l.y;if(o){const v=Ji(o),C=r&&Ga(r)?Ji(r):r;let E=v.frameElement;for(;E&&r&&C!==v;){const x=Bc(E),g=E.getBoundingClientRect(),w=getComputedStyle(E);g.x+=(E.clientLeft+parseFloat(w.paddingLeft))*x.x,g.y+=(E.clientTop+parseFloat(w.paddingTop))*x.y,h*=x.x,d*=x.y,m*=x.x,f*=x.y,h+=g.x,d+=g.y,E=Ji(E).frameElement}}return{width:m,height:f,top:d,right:h+m,bottom:d+f,left:h,x:h,y:d}}function Ka(t){return((gC(t)?t.ownerDocument:t.document)||window.document).documentElement}function Qh(t){return Ga(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function CC(t){return Hu(Ka(t)).left+Qh(t).scrollLeft}function Du(t){if(tl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Z9(t)&&t.host||Ka(t);return Z9(e)?e.host:e}function EC(t){const e=Du(t);return Vm(e)?e.ownerDocument.body:ko(e)&&Jh(e)?e:EC(e)}function nh(t,e){var n;e===void 0&&(e=[]);const r=EC(t),a=r===((n=t.ownerDocument)==null?void 0:n.body),i=Ji(r);return a?e.concat(i,i.visualViewport||[],Jh(r)?r:[]):e.concat(r,nh(r))}function e6(t,e,n){return e==="viewport"?cu(function(r,a){const i=Ji(r),s=Ka(r),o=i.visualViewport;let l=s.clientWidth,u=s.clientHeight,p=0,h=0;if(o){l=o.width,u=o.height;const d=vC();(d||!d&&a==="fixed")&&(p=o.offsetLeft,h=o.offsetTop)}return{width:l,height:u,x:p,y:h}}(t,n)):Ga(e)?cu(function(r,a){const i=Hu(r,!0,a==="fixed"),s=i.top+r.clientTop,o=i.left+r.clientLeft,l=ko(r)?Bc(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:o*l.x,y:s*l.y}}(e,n)):cu(function(r){const a=Ka(r),i=Qh(r),s=r.ownerDocument.body,o=uu(a.scrollWidth,a.clientWidth,s.scrollWidth,s.clientWidth),l=uu(a.scrollHeight,a.clientHeight,s.scrollHeight,s.clientHeight);let u=-i.scrollLeft+CC(r);const p=-i.scrollTop;return Io(s).direction==="rtl"&&(u+=uu(a.clientWidth,s.clientWidth)-o),{width:o,height:l,x:u,y:p}}(Ka(t)))}function t6(t){return ko(t)&&Io(t).position!=="fixed"?t.offsetParent:null}function r6(t){const e=Ji(t);let n=t6(t);for(;n&&tz(n)&&Io(n).position==="static";)n=t6(n);return n&&(tl(n)==="html"||tl(n)==="body"&&Io(n).position==="static"&&!X0(n))?e:n||function(r){let a=Du(r);for(;ko(a)&&!Vm(a);){if(X0(a))return a;a=Du(a)}return null}(t)||e}function rz(t,e,n){const r=ko(e),a=Ka(e),i=Hu(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(r||!r&&n!=="fixed")if((tl(e)!=="body"||Jh(a))&&(s=Qh(e)),ko(e)){const l=Hu(e,!0);o.x=l.x+e.clientLeft,o.y=l.y+e.clientTop}else a&&(o.x=CC(a));return{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}const nz={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const i=n==="clippingAncestors"?function(u,p){const h=p.get(u);if(h)return h;let d=nh(u).filter(C=>Ga(C)&&tl(C)!=="body"),m=null;const f=Io(u).position==="fixed";let v=f?Du(u):u;for(;Ga(v)&&!Vm(v);){const C=Io(v),E=X0(v);(f?E||m:E||C.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=C:d=d.filter(x=>x!==v),v=Du(v)}return p.set(u,d),d}(e,this._c):[].concat(n),s=[...i,r],o=s[0],l=s.reduce((u,p)=>{const h=e6(e,p,a);return u.top=uu(h.top,u.top),u.right=Q9(h.right,u.right),u.bottom=Q9(h.bottom,u.bottom),u.left=uu(h.left,u.left),u},e6(e,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const a=ko(n),i=Ka(n);if(n===i)return e;let s={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((a||!a&&r!=="fixed")&&((tl(n)!=="body"||Jh(i))&&(s=Qh(n)),ko(n))){const u=Hu(n);o=Bc(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:e.width*o.x,height:e.height*o.y,x:e.x*o.x-s.scrollLeft*o.x+l.x,y:e.y*o.y-s.scrollTop*o.y+l.y}},isElement:Ga,getDimensions:function(t){return ko(t)?dC(t):t.getBoundingClientRect()},getOffsetParent:r6,getDocumentElement:Ka,getScale:Bc,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const a=this.getOffsetParent||r6,i=this.getDimensions;return{reference:rz(e,await a(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Io(t).direction==="rtl"},sz=(t,e,n)=>{const r=new Map,a={platform:nz,...n},i={...a.platform,_c:r};return Wk(t,e,{...a,platform:i})},Vl={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ru(t,e){let n=Vl.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Vl.themes[n.$extend]||{}:(n=null,r=Vl[e]):n=null;while(n);return r}function iz(t){const e=[t];let n=Vl.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Vl.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function n6(t){const e=[t];let n=Vl.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Vl.themes[n.$extend]||{}):n=null;while(n);return e}let n1=!1;if(typeof window<"u"){n1=!1;try{const t=Object.defineProperty({},"passive",{get(){n1=!0}});window.addEventListener("test",null,t)}catch{}}let SC=!1;typeof window<"u"&&typeof navigator<"u"&&(SC=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const xC=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),s6={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},i6={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function o6(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Nd(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const ao=[];let Tl=null;const a6={};function l6(t){let e=a6[t];return e||(e=a6[t]=[]),e}let Y0=function(){};typeof window<"u"&&(Y0=window.Element);function An(t){return function(e){return Ru(e.theme,t)}}const Vd="__floating-vue__popper",wC=()=>ur({name:"VPopper",provide(){return{[Vd]:{parentPopper:this}}},inject:{[Vd]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:An("disabled")},positioningDisabled:{type:Boolean,default:An("positioningDisabled")},placement:{type:String,default:An("placement"),validator:t=>xC.includes(t)},delay:{type:[String,Number,Object],default:An("delay")},distance:{type:[Number,String],default:An("distance")},skidding:{type:[Number,String],default:An("skidding")},triggers:{type:Array,default:An("triggers")},showTriggers:{type:[Array,Function],default:An("showTriggers")},hideTriggers:{type:[Array,Function],default:An("hideTriggers")},popperTriggers:{type:Array,default:An("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:An("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:An("popperHideTriggers")},container:{type:[String,Object,Y0,Boolean],default:An("container")},boundary:{type:[String,Y0],default:An("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:An("strategy")},autoHide:{type:[Boolean,Function],default:An("autoHide")},handleResize:{type:Boolean,default:An("handleResize")},instantMove:{type:Boolean,default:An("instantMove")},eagerMount:{type:Boolean,default:An("eagerMount")},popperClass:{type:[String,Array,Object],default:An("popperClass")},computeTransformOrigin:{type:Boolean,default:An("computeTransformOrigin")},autoMinSize:{type:Boolean,default:An("autoMinSize")},autoSize:{type:[Boolean,String],default:An("autoSize")},autoMaxSize:{type:Boolean,default:An("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:An("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:An("preventOverflow")},overflowPadding:{type:[Number,String],default:An("overflowPadding")},arrowPadding:{type:[Number,String],default:An("arrowPadding")},arrowOverflow:{type:Boolean,default:An("arrowOverflow")},flip:{type:Boolean,default:An("flip")},shift:{type:Boolean,default:An("shift")},shiftCrossAxis:{type:Boolean,default:An("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:An("noAutoFocus")},disposeTimeout:{type:Number,default:An("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[Vd])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var r,a;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(Qk({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(Xk({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(Zk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(Yk({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(Gk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:a,middlewareData:i})=>{let s;const{centerOffset:o}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(o)>a.reference.width/2:s=Math.abs(o)>a.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:a,placement:i,middlewareData:s})=>{var o;if((o=s.autoSize)!=null&&o.skip)return{};let l,u;return i.startsWith("top")||i.startsWith("bottom")?l=a.reference.width:u=a.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(ez({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:a})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=a!=null?`${a}px`:null}})));const n=await sz(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Tl&&this.instantMove&&Tl.instantMove&&Tl!==this.parentPopper){Tl.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t,e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Tl=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Nd(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...nh(this.$_referenceNode),...nh(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),a=e.x+e.width/2-(r.left+n.offsetLeft),i=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${a}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,o6(ao,this),ao.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of n6(this.theme)){const r=l6(n);o6(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Tl===this&&(Tl=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Nd(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,s6,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],s6,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,i6,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],i6,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,n1?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,a){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const o=e[s];o&&this.$_registerEventListeners(t,o,a)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:a,handler:i}=n;!t||t===a?r.forEach(s=>s.removeEventListener(a,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(pu>=t.left&&pu<=t.right&&hu>=t.top&&hu<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=pu-Oa,r=hu-Ia,a=e.left+e.width/2-Oa+(e.top+e.height/2)-Ia+e.width+e.height,i=Oa+n*a,s=Ia+r*a;return ip(Oa,Ia,i,s,e.left,e.top,e.left,e.bottom)||ip(Oa,Ia,i,s,e.left,e.top,e.right,e.top)||ip(Oa,Ia,i,s,e.right,e.top,e.right,e.bottom)||ip(Oa,Ia,i,s,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(SC){const t=n1?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>c6(e),t),document.addEventListener("touchend",e=>u6(e,!0),t)}else window.addEventListener("mousedown",t=>c6(t),!0),window.addEventListener("click",t=>u6(t,!1),!0);window.addEventListener("resize",lz)}function c6(t,e){for(let n=0;n=0;r--){const a=ao[r];try{const i=a.containsGlobalTarget=a.mouseDownContains||a.popperNode().contains(t.target);a.pendingHide=!1,requestAnimationFrame(()=>{if(a.pendingHide=!1,!n[a.randomId]&&p6(a,i,t)){if(a.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let o=a.parentPopper;for(;o;)n[o.randomId]=!0,o=o.parentPopper;return}let s=a.parentPopper;for(;s&&p6(s,s.containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function p6(t,e,n){return n.closeAllPopover||n.closePopover&&e||az(t,n)&&!e}function az(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function lz(){for(let t=0;t{Oa=pu,Ia=hu,pu=t.clientX,hu=t.clientY},n1?{passive:!0}:void 0);function ip(t,e,n,r,a,i,s,o){const l=((s-a)*(e-i)-(o-i)*(t-a))/((o-i)*(n-t)-(s-a)*(r-e)),u=((n-t)*(e-i)-(r-e)*(t-a))/((o-i)*(n-t)-(s-a)*(r-e));return l>=0&&l<=1&&u>=0&&u<=1}const cz={extends:wC()},Zh=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n};function uz(t,e,n,r,a,i){return Je(),lt("div",{ref:"reference",class:Wr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[gn(t.$slots,"default",wh(t2(t.slotData)))],2)}const pz=Zh(cz,[["render",uz]]);function hz(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var a=t.indexOf("Edge/");return a>0?parseInt(t.substring(a+5,t.indexOf(".",a)),10):-1}let xp;function J0(){J0.init||(J0.init=!0,xp=hz()!==-1)}var ef={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){J0(),ws(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",xp&&this.$el.appendChild(t),t.data="about:blank",xp||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!xp&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const fz=J5();X5("data-v-b329ee4c");const dz={class:"resize-observer",tabindex:"-1"};Y5();const mz=fz((t,e,n,r,a,i)=>(Je(),Zt("div",dz)));ef.render=mz;ef.__scopeId="data-v-b329ee4c";ef.__file="src/components/ResizeObserver.vue";const TC=(t="theme")=>({computed:{themeClass(){return iz(this[t])}}}),gz=ur({name:"VPopperContent",components:{ResizeObserver:ef},mixins:[TC()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),vz=["id","aria-hidden","tabindex","data-popper-placement"],yz={ref:"inner",class:"v-popper__inner"},bz=Ze("div",{class:"v-popper__arrow-outer"},null,-1),Cz=Ze("div",{class:"v-popper__arrow-inner"},null,-1),Ez=[bz,Cz];function Sz(t,e,n,r,a,i){const s=ua("ResizeObserver");return Je(),lt("div",{id:t.popperId,ref:"popover",class:Wr(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:Gs(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=Y7(o=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ze("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=o=>t.autoHide&&t.$emit("hide"))}),Ze("div",{class:"v-popper__wrapper",style:Gs(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ze("div",yz,[t.mounted?(Je(),lt(Rr,{key:0},[Ze("div",null,[gn(t.$slots,"default")]),t.handleResize?(Je(),Zt(s,{key:0,onNotify:e[1]||(e[1]=o=>t.$emit("resize",o))})):sr("",!0)],64)):sr("",!0)],512),Ze("div",{ref:"arrow",class:"v-popper__arrow-container",style:Gs(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},Ez,4)],4)],46,vz)}const _C=Zh(gz,[["render",Sz]]),AC={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}};let Q0=function(){};typeof window<"u"&&(Q0=window.Element);const xz=ur({name:"VPopperWrapper",components:{Popper:pz,PopperContent:_C},mixins:[AC,TC("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Q0,Boolean],default:void 0},boundary:{type:[String,Q0],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function wz(t,e,n,r,a,i){const s=ua("PopperContent"),o=ua("Popper");return Je(),Zt(o,Rs({ref:"popper"},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:e[0]||(e[0]=()=>t.$emit("show")),onHide:e[1]||(e[1]=()=>t.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=l=>t.$emit("update:shown",l)),onApplyShow:e[3]||(e[3]=()=>t.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>t.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>t.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>t.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>t.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>t.$emit("resize"))}),{default:Vt(({popperId:l,isShown:u,shouldMountContent:p,skipTransition:h,autoHide:d,show:m,hide:f,handleResize:v,onResize:C,classes:E,result:x})=>[gn(t.$slots,"default",{shown:u,show:m,hide:f}),gt(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:u,mounted:p,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:E,result:x,onHide:f,onResize:C},{default:Vt(()=>[gn(t.$slots,"popper",{shown:u,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Hm=Zh(xz,[["render",wz]]),Tz={...Hm,name:"VDropdown",vPopperTheme:"dropdown"};({...Hm});const _z={...Hm,name:"VTooltip",vPopperTheme:"tooltip"},Az=ur({name:"VTooltipDirective",components:{Popper:wC(),PopperContent:_C},mixins:[AC],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Ru(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Ru(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Pz=["innerHTML"],Mz=["textContent"];function Lz(t,e,n,r,a,i){const s=ua("PopperContent"),o=ua("Popper");return Je(),Zt(o,Rs({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Vt(({popperId:l,isShown:u,shouldMountContent:p,skipTransition:h,autoHide:d,hide:m,handleResize:f,onResize:v,classes:C,result:E})=>[gt(s,{ref:"popperContent",class:Wr({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:u,mounted:p,"skip-transition":h,"auto-hide":d,"handle-resize":f,classes:C,result:E,onHide:m,onResize:v},{default:Vt(()=>[t.html?(Je(),lt("div",{key:0,innerHTML:t.finalContent},null,8,Pz)):(Je(),lt("div",{key:1,textContent:hn(t.finalContent)},null,8,Mz))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Oz=Zh(Az,[["render",Lz]]),PC="v-popper--has-tooltip";function Iz(t,e){let n=t.placement;if(!n&&e)for(const r of xC)e[r]&&(n=r);return n||(n=Ru(t.theme||"tooltip","placement")),n}function MC(t,e,n){let r;const a=typeof e;return a==="string"?r={content:e}:e&&a==="object"?r=e:r={content:!1},r.placement=Iz(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let Hd,ju,kz=0;function zz(){if(Hd)return;ju=xt([]),Hd=Pu({name:"VTooltipDirectiveApp",setup(){return{directives:ju}},render(){return this.directives.map(e=>il(Oz,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Hd.mount(t)}function Nz(t,e,n){zz();const r=xt(MC(t,e,n)),a=xt(!1),i={id:kz++,options:r,shown:a};return ju.value.push(i),t.classList&&t.classList.add(PC),t.$_popper={options:r,item:i,show(){a.value=!0},hide(){a.value=!1}}}function LC(t){if(t.$_popper){const e=ju.value.indexOf(t.$_popper.item);e!==-1&&ju.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(PC)}function h6(t,{value:e,modifiers:n}){const r=MC(t,e,n);if(!r.content||Ru(r.theme||"tooltip","disabled"))LC(t);else{let a;t.$_popper?(a=t.$_popper,a.options.value=r):a=Nz(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?a.show():a.hide())}}const Vz={beforeMount:h6,updated:h6,beforeUnmount(t){LC(t)}};function f6(t){t.addEventListener("mousedown",sh),t.addEventListener("click",sh),t.addEventListener("touchstart",OC,n1?{passive:!0}:!1)}function d6(t){t.removeEventListener("mousedown",sh),t.removeEventListener("click",sh),t.removeEventListener("touchstart",OC),t.removeEventListener("touchend",IC),t.removeEventListener("touchcancel",kC)}function sh(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function OC(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",IC),e.addEventListener("touchcancel",kC)}}function IC(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function kC(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const Hz={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&f6(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?f6(t):d6(t))},beforeUnmount(t){d6(t)}},Os=Vz,zC=Hz,Dz=Tz,Rz=_z;function Do(t){return _h()?(F5(t),!0):!1}const Dd=new WeakMap,jz=(...t)=>{var e;const n=t[0],r=(e=Bs())==null?void 0:e.proxy;if(r==null&&!cm())throw new Error("injectLocal must be called in setup");return r&&Dd.has(r)&&n in Dd.get(r)?Dd.get(r)[n]:Rn(...t)};function Bz(t,e,{enumerable:n=!1,unwrap:r=!0}={}){for(const[a,i]of Object.entries(e))a!=="value"&&(Pn(i)&&r?Object.defineProperty(t,a,{get(){return i.value},set(s){i.value=s},enumerable:n}):Object.defineProperty(t,a,{value:i,enumerable:n}));return t}function VY(t){if(!Pn(t))return fo(t);const e=new Proxy({},{get(n,r,a){return $e(Reflect.get(t.value,r,a))},set(n,r,a){return Pn(t.value[r])&&!Pn(a)?t.value[r].value=a:t.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(t.value,r)},has(n,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return fo(e)}const Bl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Fz=t=>typeof t<"u",NC=t=>t!=null,$z=Object.prototype.toString,Uz=t=>$z.call(t)==="[object Object]",Di=()=>{},Z0=qz();function qz(){var t,e;return Bl&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function VC(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const HC=t=>t();function DC(t,e={}){let n,r,a=Di;const i=l=>{clearTimeout(l),a(),a=Di};let s;return l=>{const u=Hr(t),p=Hr(e.maxWait);return n&&i(n),u<=0||p!==void 0&&p<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((h,d)=>{a=e.rejectOnCancel?d:h,s=l,p&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,h(s())},p)),n=setTimeout(()=>{r&&i(r),r=null,h(l())},u)})}}function Wz(t=HC,e={}){const{initialState:n="active"}=e,r=Dm(n==="active");function a(){r.value=!1}function i(){r.value=!0}const s=(...o)=>{r.value&&t(...o)};return{isActive:da(r),pause:a,resume:i,eventFilter:s}}function Gz(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const r=e;e=void 0,r&&await r},n}function m6(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Kz(t){return Bs()}function Fc(t){return Array.isArray(t)?t:[t]}function Dm(...t){if(t.length!==1)return _8(...t);const e=t[0];return typeof e=="function"?da(kh(()=>({get:e,set:Di}))):xt(e)}function Xz(t,e=200,n={}){return VC(DC(e,n),t)}function Yz(t,e=200,n={}){const r=xt(t.value),a=Xz(()=>{r.value=t.value},e,n);return Ir(t,()=>a()),r}function Jz(t,e={}){let n=t,r,a;const i=kh((d,m)=>(r=d,a=m,{get(){return s()},set(f){o(f)}}));function s(d=!0){return d&&r(),n}function o(d,m=!0){var f,v;if(d===n)return;const C=n;((f=e.onBeforeChange)==null?void 0:f.call(e,d,C))!==!1&&(n=d,(v=e.onChanged)==null||v.call(e,d,C),m&&a())}return Bz(i,{get:s,set:o,untrackedGet:()=>s(!1),silentSet:d=>o(d,!1),peek:()=>s(!1),lay:d=>o(d,!1)},{enumerable:!0})}function RC(t,e,n={}){const{eventFilter:r=HC,...a}=n;return Ir(t,VC(r,e),a)}function Qz(t,e,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:s,pause:o,resume:l,isActive:u}=Wz(r,{initialState:a});return{stop:RC(t,e,{...i,eventFilter:s}),pause:o,resume:l,isActive:u}}const Zz=Hr;function f1(t,e=!0,n){Kz()?li(t,n):e?t():ws(t)}function eN(t,e=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let i=null;const s=Kr(!1);function o(){i&&(clearInterval(i),i=null)}function l(){s.value=!1,o()}function u(){const p=Hr(e);p<=0||(s.value=!0,a&&t(),o(),s.value&&(i=setInterval(t,p)))}if(r&&Bl&&u(),Pn(e)||typeof e=="function"){const p=Ir(e,()=>{s.value&&Bl&&u()});Do(p)}return Do(l),{isActive:s,pause:l,resume:u}}function tN(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=Kr(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function l(){i.value=!1,o()}function u(...p){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,t(...p)},Hr(e))}return r&&(i.value=!0,Bl&&u()),Do(l),{isPending:da(i),start:u,stop:l}}function rN(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=Pn(t),i=Kr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Hr(n);return i.value=i.value===l?Hr(r):l,i.value}}return a?s:[i,s]}function HY(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return RC(t,e,{...i,eventFilter:DC(r,{maxWait:a})})}function nN(t,e,n){return Ir(t,e,{...n,immediate:!0})}function DY(t,e,n){const r=Ir(t,(...a)=>(ws(()=>r()),e(...a)),n);return r}function RY(t,e,n){let r;Pn(n)?r={evaluating:n}:r={};const{lazy:a=!1,evaluating:i=void 0,shallow:s=!0,onError:o=Di}=r,l=Kr(!a),u=s?Kr(e):xt(e);let p=0;return ii(async h=>{if(!l.value)return;p++;const d=p;let m=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const f=await t(v=>{h(()=>{i&&(i.value=!1),m||v()})});d===p&&(u.value=f)}catch(f){o(f)}finally{i&&d===p&&(i.value=!1),m=!0}}),a?pt(()=>(l.value=!0,u.value)):u}const Oi=Bl?window:void 0,sN=Bl?window.document:void 0,jC=Bl?window.navigator:void 0;function ei(t){var e;const n=Hr(t);return(e=n?.$el)!=null?e:n}function Qs(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,u,p)=>(o.addEventListener(l,u,p),()=>o.removeEventListener(l,u,p)),a=pt(()=>{const o=Fc(Hr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=nN(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(u=>ei(u)))!=null?l:[Oi].filter(u=>u!=null),Fc(Hr(a.value?t[1]:t[0])),Fc($e(a.value?t[2]:t[1])),Hr(a.value?t[3]:t[2])]},([o,l,u,p])=>{if(n(),!o?.length||!l?.length||!u?.length)return;const h=Uz(p)?{...p}:p;e.push(...o.flatMap(d=>l.flatMap(m=>u.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return Do(n),s}let g6=!1;function iN(t,e,n={}){const{window:r=Oi,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:o=!1}=n;if(!r)return o?{stop:Di,cancel:Di,trigger:Di}:Di;if(Z0&&!g6){g6=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(E=>Qs(E,"click",Di,C)),Qs(r.document.documentElement,"click",Di,C)}let l=!0;const u=C=>Hr(a).some(E=>{if(typeof E=="string")return Array.from(r.document.querySelectorAll(E)).some(x=>x===C.target||C.composedPath().includes(x));{const x=ei(E);return x&&(C.target===x||C.composedPath().includes(x))}});function p(C){const E=Hr(C);return E&&E.$.subTree.shapeFlag===16}function h(C,E){const x=Hr(C),g=x.$.subTree&&x.$.subTree.children;return g==null||!Array.isArray(g)?!1:g.some(w=>w.el===E.target||E.composedPath().includes(w.el))}const d=C=>{const E=ei(t);if(C.target!=null&&!(!(E instanceof Element)&&p(t)&&h(t,C))&&!(!E||E===C.target||C.composedPath().includes(E))){if("detail"in C&&C.detail===0&&(l=!u(C)),!l){l=!0;return}e(C)}};let m=!1;const f=[Qs(r,"click",C=>{m||(m=!0,setTimeout(()=>{m=!1},0),d(C))},{passive:!0,capture:i}),Qs(r,"pointerdown",C=>{const E=ei(t);l=!u(C)&&!!(E&&!C.composedPath().includes(E))},{passive:!0}),s&&Qs(r,"blur",C=>{setTimeout(()=>{var E;const x=ei(t);((E=r.document.activeElement)==null?void 0:E.tagName)==="IFRAME"&&!x?.contains(r.document.activeElement)&&e(C)},0)},{passive:!0})].filter(Boolean),v=()=>f.forEach(C=>C());return o?{stop:v,cancel:()=>{l=!1},trigger:C=>{l=!0,d(C),l=!1}}:v}function oN(){const t=Kr(!1),e=Bs();return e&&li(()=>{t.value=!0},e),t}function Kl(t){const e=oN();return pt(()=>(e.value,!!t()))}function aN(t,e,n={}){const{window:r=Oi,...a}=n;let i;const s=Kl(()=>r&&"MutationObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const d=Hr(t),m=Fc(d).map(ei).filter(NC);return new Set(m)}),u=Ir(()=>l.value,d=>{o(),s.value&&d.size&&(i=new MutationObserver(e),d.forEach(m=>i.observe(m,a)))},{immediate:!0,flush:"post"}),p=()=>i?.takeRecords(),h=()=>{u(),o()};return Do(h),{isSupported:s,stop:h,takeRecords:p}}function lN(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function BC(...t){let e,n,r={};t.length===3?(e=t[0],n=t[1],r=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],r=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:a=Oi,eventName:i="keydown",passive:s=!1,dedupe:o=!1}=r,l=lN(e);return Qs(a,i,p=>{p.repeat&&Hr(o)||l(p)&&n(p)},s)}function cN(t,e={}){const{immediate:n=!0,fpsLimit:r=void 0,window:a=Oi,once:i=!1}=e,s=Kr(!1),o=pt(()=>r?1e3/Hr(r):null);let l=0,u=null;function p(m){if(!s.value||!a)return;l||(l=m);const f=m-l;if(o.value&&fn&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Kr(typeof r=="number"),s=Kr(),o=Kr(!1),l=u=>{o.value=u.matches};return ii(()=>{if(i.value){i.value=!a.value;const u=Hr(t).split(",");o.value=u.some(p=>{const h=p.includes("not all"),d=p.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=p.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||m);return d&&f&&(f=r>=m6(d[1])),m&&f&&(f=r<=m6(m[1])),h?!f:f});return}a.value&&(s.value=n.matchMedia(Hr(t)),o.value=s.value.matches)}),Qs(s,"change",l,{passive:!0}),pt(()=>o.value)}function v6(t,e={}){const{controls:n=!1,navigator:r=jC}=e,a=Kl(()=>r&&"permissions"in r),i=Kr(),s=typeof t=="string"?{name:t}:t,o=Kr(),l=()=>{var p,h;o.value=(h=(p=i.value)==null?void 0:p.state)!=null?h:"prompt"};Qs(i,"change",l,{passive:!0});const u=Gz(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return Cn(i.value)}});return u(),n?{state:o,isSupported:a,query:u}:o}function hN(t={}){const{navigator:e=jC,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=Kl(()=>e&&"clipboard"in e),o=v6("clipboard-read"),l=v6("clipboard-write"),u=pt(()=>s.value||i),p=Kr(""),h=Kr(!1),d=tN(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&E(o.value));if(!x)try{p.value=await e.clipboard.readText()}catch{x=!0}x&&(p.value=C())}u.value&&n&&Qs(["copy","cut"],m,{passive:!0});async function f(x=Hr(r)){if(u.value&&x!=null){let g=!(s.value&&E(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),p.value=x,h.value=!0,d.start()}}function v(x){const g=document.createElement("textarea");g.value=x??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function C(){var x,g,w;return(w=(g=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:g.toString())!=null?w:""}function E(x){return x==="granted"||x==="prompt"}return{isSupported:u,text:p,copied:h,copy:f}}function fN(t){return JSON.parse(JSON.stringify(t))}const op=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ap="__vueuse_ssr_handlers__",dN=mN();function mN(){return ap in op||(op[ap]=op[ap]||{}),op[ap]}function FC(t,e){return dN[t]||e}function gN(t){return Rm("(prefers-color-scheme: dark)",t)}function vN(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const yN={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},y6="vueuse-storage";function $C(t,e,n,r={}){var a;const{flush:i="pre",deep:s=!0,listenToStorageChanges:o=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:p,window:h=Oi,eventFilter:d,onError:m=U=>{console.error(U)},initOnMounted:f}=r,v=(p?Kr:xt)(typeof e=="function"?e():e),C=pt(()=>Hr(t));if(!n)try{n=FC("getDefaultStorage",()=>{var U;return(U=Oi)==null?void 0:U.localStorage})()}catch(U){m(U)}if(!n)return v;const E=Hr(e),x=vN(E),g=(a=r.serializer)!=null?a:yN[x],{pause:w,resume:b}=Qz(v,()=>T(v.value),{flush:i,deep:s,eventFilter:d});Ir(C,()=>I(),{flush:i}),h&&o&&f1(()=>{n instanceof Storage?Qs(h,"storage",I,{passive:!0}):Qs(h,y6,z),f&&I()}),f||I();function A(U,W){if(h){const F={key:C.value,oldValue:U,newValue:W,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",F):new CustomEvent(y6,{detail:F}))}}function T(U){try{const W=n.getItem(C.value);if(U==null)A(W,null),n.removeItem(C.value);else{const F=g.write(U);W!==F&&(n.setItem(C.value,F),A(W,F))}}catch(W){m(W)}}function O(U){const W=U?U.newValue:n.getItem(C.value);if(W==null)return l&&E!=null&&n.setItem(C.value,g.write(E)),E;if(!U&&u){const F=g.read(W);return typeof u=="function"?u(F,E):x==="object"&&!Array.isArray(F)?{...E,...F}:F}else return typeof W!="string"?W:g.read(W)}function I(U){if(!(U&&U.storageArea!==n)){if(U&&U.key==null){v.value=E;return}if(!(U&&U.key!==C.value)){w();try{U?.newValue!==g.write(v.value)&&(v.value=O(U))}catch(W){m(W)}finally{U?ws(b):b()}}}}function z(U){I(U.detail)}return v}const bN="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function CN(t={}){const{selector:e="html",attribute:n="class",initialValue:r="auto",window:a=Oi,storage:i,storageKey:s="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:l,emitAuto:u,disableTransition:p=!0}=t,h={auto:"",light:"light",dark:"dark",...t.modes||{}},d=gN({window:a}),m=pt(()=>d.value?"dark":"light"),f=l||(s==null?Dm(r):$C(s,r,i,{window:a,listenToStorageChanges:o})),v=pt(()=>f.value==="auto"?m.value:f.value),C=FC("updateHTMLAttrs",(w,b,A)=>{const T=typeof w=="string"?a?.document.querySelector(w):ei(w);if(!T)return;const O=new Set,I=new Set;let z=null;if(b==="class"){const W=A.split(/\s/g);Object.values(h).flatMap(F=>(F||"").split(/\s/g)).filter(Boolean).forEach(F=>{W.includes(F)?O.add(F):I.add(F)})}else z={key:b,value:A};if(O.size===0&&I.size===0&&z===null)return;let U;p&&(U=a.document.createElement("style"),U.appendChild(document.createTextNode(bN)),a.document.head.appendChild(U));for(const W of O)T.classList.add(W);for(const W of I)T.classList.remove(W);z&&T.setAttribute(z.key,z.value),p&&(a.getComputedStyle(U).opacity,document.head.removeChild(U))});function E(w){var b;C(e,n,(b=h[w])!=null?b:w)}function x(w){t.onChanged?t.onChanged(w,E):E(w)}Ir(v,x,{flush:"post",immediate:!0}),f1(()=>x(v.value));const g=pt({get(){return u?f.value:v.value},set(w){f.value=w}});return Object.assign(g,{store:f,system:m,state:v})}function jm(t,e,n={}){const{window:r=Oi,...a}=n;let i;const s=Kl(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Hr(t);return Array.isArray(h)?h.map(d=>ei(d)):[ei(h)]}),u=Ir(l,h=>{if(o(),s.value&&r){i=new ResizeObserver(e);for(const d of h)d&&i.observe(d,a)}},{immediate:!0,flush:"post"}),p=()=>{o(),u()};return Do(p),{isSupported:s,stop:p}}function EN(t,e={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:i=!0,updateTiming:s="sync"}=e,o=Kr(0),l=Kr(0),u=Kr(0),p=Kr(0),h=Kr(0),d=Kr(0),m=Kr(0),f=Kr(0);function v(){const E=ei(t);if(!E){n&&(o.value=0,l.value=0,u.value=0,p.value=0,h.value=0,d.value=0,m.value=0,f.value=0);return}const x=E.getBoundingClientRect();o.value=x.height,l.value=x.bottom,u.value=x.left,p.value=x.right,h.value=x.top,d.value=x.width,m.value=x.x,f.value=x.y}function C(){s==="sync"?v():s==="next-frame"&&requestAnimationFrame(()=>v())}return jm(t,C),Ir(()=>ei(t),E=>!E&&C()),aN(t,C,{attributeFilter:["style","class"]}),a&&Qs("scroll",C,{capture:!0,passive:!0}),r&&Qs("resize",C,{passive:!0}),f1(()=>{i&&C()}),{height:o,bottom:l,left:u,right:p,top:h,width:d,x:m,y:f,update:C}}function SN(t,e={width:0,height:0},n={}){const{window:r=Oi,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=ei(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=Kr(e.width),o=Kr(e.height),{stop:l}=jm(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=ei(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=Fc(d);s.value=m.reduce((f,{inlineSize:v})=>f+v,0),o.value=m.reduce((f,{blockSize:v})=>f+v,0)}else s.value=h.contentRect.width,o.value=h.contentRect.height},n);f1(()=>{const h=ei(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const u=Ir(()=>ei(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function p(){l(),u()}return{width:s,height:o,stop:p}}function xN(t,e,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:s=Oi,immediate:o=!0}=n,l=Kl(()=>s&&"IntersectionObserver"in s),u=pt(()=>{const f=Hr(t);return Fc(f).map(ei).filter(NC)});let p=Di;const h=Kr(o),d=l.value?Ir(()=>[u.value,ei(r),h.value],([f,v])=>{if(p(),!h.value||!f.length)return;const C=new IntersectionObserver(e,{root:ei(v),rootMargin:a,threshold:i});f.forEach(E=>E&&C.observe(E)),p=()=>{C.disconnect(),p=Di}},{immediate:o,flush:"post"}):Di,m=()=>{p(),d(),h.value=!1};return Do(m),{isSupported:l,isActive:h,pause(){p(),h.value=!1},resume(){h.value=!0},stop:m}}function wN(t={}){const{initialValue:e=""}=t,n=Kl(()=>typeof window<"u"&&"EyeDropper"in window),r=Kr(e);async function a(i){if(!n.value)return;const o=await new window.EyeDropper().open(i);return r.value=o.sRGBHex,o}return{isSupported:n,sRGBHex:r,open:a}}function Rd(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function TN(t,e,n={}){const{window:r=Oi}=n;return $C(t,e,r?.localStorage,n)}function _N(t={}){const{controls:e=!1,interval:n="requestAnimationFrame"}=t,r=xt(new Date),a=()=>r.value=new Date,i=n==="requestAnimationFrame"?cN(a,{immediate:!0}):eN(a,n,{immediate:!0});return e?{now:r,...i}:r}function AN(t){const e=Rm("(prefers-reduced-motion: reduce)",t);return pt(()=>e.value?"reduce":"no-preference")}function UC(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const jd=new WeakMap;function MN(t,e=!1){const n=Kr(e);let r=null,a="";Ir(Dm(t),o=>{const l=Rd(Hr(o));if(l){const u=l;if(jd.get(u)||jd.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(a=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const o=Rd(Hr(t));!o||n.value||(Z0&&(r=Qs(o,"touchmove",l=>{PN(l)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},s=()=>{const o=Rd(Hr(t));!o||!n.value||(Z0&&r?.(),o.style.overflow=a,jd.delete(o),n.value=!1)};return Do(s),pt({get(){return n.value},set(o){o?i():s()}})}let LN=0;function jY(t,e={}){const n=Kr(!1),{document:r=sN,immediate:a=!0,manual:i=!1,id:s=`vueuse_styletag_${++LN}`}=e,o=Kr(t);let l=()=>{};const u=()=>{if(!r)return;const h=r.getElementById(s)||r.createElement("style");h.isConnected||(h.id=s,e.media&&(h.media=e.media),r.head.appendChild(h)),!n.value&&(l=Ir(o,d=>{h.textContent=d},{immediate:!0}),n.value=!0)},p=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return a&&!i&&f1(u),i||Do(p),{id:s,css:o,unload:p,load:u,isLoaded:da(n)}}const ON=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],IN={justNow:"just now",past:t=>t.match(/\d/)?`${t} ago`:t,future:t=>t.match(/\d/)?`in ${t}`:t,month:(t,e)=>t===1?e?"last month":"next month":`${t} month${t>1?"s":""}`,year:(t,e)=>t===1?e?"last year":"next year":`${t} year${t>1?"s":""}`,day:(t,e)=>t===1?e?"yesterday":"tomorrow":`${t} day${t>1?"s":""}`,week:(t,e)=>t===1?e?"last week":"next week":`${t} week${t>1?"s":""}`,hour:t=>`${t} hour${t>1?"s":""}`,minute:t=>`${t} minute${t>1?"s":""}`,second:t=>`${t} second${t>1?"s":""}`,invalid:""};function kN(t){return t.toISOString().slice(0,10)}function BY(t,e={}){const{controls:n=!1,updateInterval:r=3e4}=e,{now:a,...i}=_N({interval:r,controls:!0}),s=pt(()=>zN(new Date(Hr(t)),e,Hr(a)));return n?{timeAgo:s,...i}:s}function zN(t,e={},n=Date.now()){var r;const{max:a,messages:i=IN,fullDateFormatter:s=kN,units:o=ON,showSecond:l=!1,rounding:u="round"}=e,p=typeof u=="number"?C=>+C.toFixed(u):Math[u],h=+n-+t,d=Math.abs(h);function m(C,E){return p(Math.abs(C)/E.value)}function f(C,E){const x=m(C,E),g=C>0,w=v(E.name,x,g);return v(g?"past":"future",w,g)}function v(C,E,x){const g=i[C];return typeof g=="function"?g(E,x):g.replace("{0}",E.toString())}if(d<6e4&&!l)return i.justNow;if(typeof a=="number"&&d>a)return s(new Date(t));if(typeof a=="string"){const C=(r=o.find(E=>E.name===a))==null?void 0:r.max;if(C&&d>C)return s(new Date(t))}for(const[C,E]of o.entries()){if(m(h,E)<=0&&o[C-1])return f(h,o[C-1]);if(do?typeof o=="function"?o(g):fN(g):g,E=()=>Fz(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=E(),w=xt(g);let b=!1;return Ir(()=>t[e],A=>{b||(b=!0,w.value=C(A),ws(()=>b=!1))}),Ir(w,A=>{!b&&(A!==t[e]||p)&&x(A)},{deep:p}),w}else return pt({get(){return E()},set(g){x(g)}})}function NN(t={}){const{window:e=Oi,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:i=!0,type:s="inner"}=t,o=Kr(n),l=Kr(r),u=()=>{if(e)if(s==="outer")o.value=e.outerWidth,l.value=e.outerHeight;else if(s==="visual"&&e.visualViewport){const{width:h,height:d,scale:m}=e.visualViewport;o.value=Math.round(h*m),l.value=Math.round(d*m)}else i?(o.value=e.innerWidth,l.value=e.innerHeight):(o.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};u(),f1(u);const p={passive:!0};if(Qs("resize",u,p),e&&s==="visual"&&e.visualViewport&&Qs(e.visualViewport,"resize",u,p),a){const h=Rm("(orientation: portrait)");Ir(h,()=>u())}return{width:o,height:l}}let di=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function VN(t){return Bm(t)}function Bm(t){return Array.isArray(t)?HN(t):t instanceof RegExp?t:typeof t=="object"?DN(t):t}function HN(t){let e=[];for(let n=0,r=t.length;n{for(let r in n)t[r]=n[r]}),t}function WC(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?WC(t.substring(0,t.length-1)):t.substr(~e+1)}var Bd=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,lp=class{static hasCaptures(t){return t===null?!1:(Bd.lastIndex=0,Bd.test(t))}static replaceCaptures(t,e,n){return t.replace(Bd,(r,a,i,s)=>{let o=n[parseInt(a||i,10)];if(o){let l=e.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function GC(t,e){return te?1:0}function KC(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let a=0;athis._root.match(t));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(a=>RN(t.parent,a.parentScopes));return r?new JC(r.fontStyle,r.foreground,r.background):null}},Fd=class wp{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new wp(e,r);return e}static from(...e){let n=null;for(let r=0;r"){if(n===e.length-1)return!1;r=e[++n],a=!0}for(;t&&!jN(t.scopeName,r);){if(a)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function jN(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var JC=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function BN(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let a=0,i=e.length;a1&&(C=f.slice(0,f.length-1),C.reverse()),n[r++]=new FN(v,C,a,l,u,p)}}return n}var FN=class{constructor(t,e,n,r,a,i){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=a,this.background=i}},sa=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(sa||{});function $N(t,e){t.sort((l,u)=>{let p=GC(l.scope,u.scope);return p!==0||(p=KC(l.parentScopes,u.parentScopes),p!==0)?p:l.index-u.index});let n=0,r="#000000",a="#ffffff";for(;t.length>=1&&t[0].scope==="";){let l=t.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(a=l.background)}let i=new UN(e),s=new JC(n,i.getId(r),i.getId(a)),o=new WN(new e5(0,null,-1,0,0),[]);for(let l=0,u=t.length;le?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},WN=class t5{constructor(e,n=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,a=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=e.parentScopes.length||a>=n.parentScopes.length);){const i=n.parentScopes[a].length-e.parentScopes[r].length;if(i!==0)return i;r++,a++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),a,i;if(r===-1?(a=e,i=""):(a=e.substring(0,r),i=e.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(t5._cmpBySpecificity),n}insert(e,n,r,a,i,s){if(n===""){this._doInsertHere(e,r,a,i,s);return}let o=n.indexOf("."),l,u;o===-1?(l=n,u=""):(l=n.substring(0,o),u=n.substring(o+1));let p;this._children.hasOwnProperty(l)?p=this._children[l]:(p=new t5(this._mainRule.clone(),e5.cloneArr(this._rulesWithParentScopes)),this._children[l]=p),p.insert(e+1,u,r,a,i,s)}_doInsertHere(e,n,r,a,i){if(n===null){this._mainRule.acceptOverwrite(e,r,a,i);return}for(let s=0,o=this._rulesWithParentScopes.length;s>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,r,a,i,s,o){let l=Gi.getLanguageId(e),u=Gi.getTokenType(e),p=Gi.containsBalancedBrackets(e)?1:0,h=Gi.getFontStyle(e),d=Gi.getForeground(e),m=Gi.getBackground(e);return n!==0&&(l=n),r!==8&&(u=r),a!==null&&(p=a?1:0),i!==-1&&(h=i),s!==0&&(d=s),o!==0&&(m=o),(l<<0|u<<8|p<<10|h<<11|d<<15|m<<24)>>>0}};function oh(t,e){const n=[],r=GN(t);let a=r.next();for(;a!==null;){let l=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let u=s();if(n.push({matcher:u,priority:l}),a!==",")break;a=r.next()}return n;function i(){if(a==="-"){a=r.next();const l=i();return u=>!!l&&!l(u)}if(a==="("){a=r.next();const l=o();return a===")"&&(a=r.next()),l}if(C6(a)){const l=[];do l.push(a),a=r.next();while(C6(a));return u=>e(l,u)}return null}function s(){const l=[];let u=i();for(;u;)l.push(u),u=i();return p=>l.every(h=>h(p))}function o(){const l=[];let u=s();for(;u&&(l.push(u),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");u=s()}return p=>l.some(h=>h(p))}}function C6(t){return!!t&&!!t.match(/[\w\.:]+/)}function GN(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function ZC(t){typeof t.dispose=="function"&&t.dispose()}var Bu=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},KN=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},XN=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},YN=class{constructor(t,e){this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Bu(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const t=this.Q;this.Q=[];const e=new XN;for(const n of t)JN(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Bu){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function JN(t,e,n,r){const a=n.lookup(t.scopeName);if(!a){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const i=n.lookup(e);t instanceof Bu?Tp({baseGrammar:i,selfGrammar:a},r):r5(t.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},r);const s=n.injections(t.scopeName);if(s)for(const o of s)r.add(new Bu(o))}function r5(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];ah([r],e,n)}}function Tp(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&ah(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&ah(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function ah(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?qC({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&ah(r.patterns,{...e,repository:a},n);const i=r.include;if(!i)continue;const s=eE(i);switch(s.kind){case 0:Tp({...e,selfGrammar:e.baseGrammar},n);break;case 1:Tp(e,n);break;case 2:r5(s.ruleName,{...e,repository:a},n);break;case 3:case 4:const o=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(o){const l={baseGrammar:e.baseGrammar,selfGrammar:o,repository:a};s.kind===4?r5(s.ruleName,l,n):Tp(l,n)}else s.kind===4?n.add(new KN(s.scopeName,s.ruleName)):n.add(new Bu(s.scopeName));break}}}var QN=class{kind=0},ZN=class{kind=1},eV=class{constructor(t){this.ruleName=t}kind=2},tV=class{constructor(t){this.scopeName=t}kind=3},rV=class{constructor(t,e){this.scopeName=t,this.ruleName=e}kind=4};function eE(t){if(t==="$base")return new QN;if(t==="$self")return new ZN;const e=t.indexOf("#");if(e===-1)return new tV(t);if(e===0)return new eV(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new rV(n,r)}}var nV=/\\(\d+)/,E6=/\\(\d+)/g,sV=-1,tE=-2;var a2=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,e,n,r){this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=lp.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=lp.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${WC(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:lp.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:lp.replaceCaptures(this._contentName,t,e)}},iV=class extends a2{retokenizeCapturedWithRuleId;constructor(t,e,n,r,a){super(t,e,n,r),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(t,e){throw new Error("Not supported!")}compile(t,e){throw new Error("Not supported!")}compileAG(t,e,n,r){throw new Error("Not supported!")}},oV=class extends a2{_match;captures;_cachedCompiledPatterns;constructor(t,e,n,r,a){super(t,e,n,null),this._match=new Fu(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,e){e.push(this._match)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new $u,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},S6=class extends a2{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,a){super(t,e,n,r),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,e){for(const n of this.patterns)t.getRule(n).collectPatterns(t,e)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new $u,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},n5=class extends a2{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,a,i,s,o,l,u){super(t,e,n,r),this._begin=new Fu(a,this.id),this.beginCaptures=i,this._end=new Fu(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,e){return this._end.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t,e).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t,e).compileAG(t,n,r)}_getCachedCompiledPatterns(t,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new $u;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},lh=class extends a2{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,e,n,r,a,i,s,o,l){super(t,e,n,r),this._begin=new Fu(a,this.id),this.beginCaptures=i,this.whileCaptures=o,this._while=new Fu(s,tE),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,e){return this._while.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new $u;for(const e of this.patterns)t.getRule(e).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,e){return this._getCachedCompiledWhilePatterns(t,e).compile(t)}compileWhileAG(t,e,n,r){return this._getCachedCompiledWhilePatterns(t,e).compileAG(t,n,r)}_getCachedCompiledWhilePatterns(t,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new $u,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},rE=class ui{static createCaptureRule(e,n,r,a,i){return e.registerRule(s=>new iV(n,s,r,a,i))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(a=>{if(e.id=a,e.match)return new oV(e.$vscodeTextmateLocation,e.id,e.name,e.match,ui._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=qC({},r,e.repository));let i=e.patterns;return typeof i>"u"&&e.include&&(i=[{include:e.include}]),new S6(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,ui._compilePatterns(i,n,r))}return e.while?new lh(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ui._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,ui._compileCaptures(e.whileCaptures||e.captures,n,r),ui._compilePatterns(e.patterns,n,r)):new n5(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,ui._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,ui._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,ui._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let a=[];if(e){let i=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);o>i&&(i=o)}for(let s=0;s<=i;s++)a[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);let l=0;e[s].patterns&&(l=ui.getCompiledRuleId(e[s],n,r)),a[o]=ui.createCaptureRule(n,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return a}static _compilePatterns(e,n,r){let a=[];if(e)for(let i=0,s=e.length;ie.substring(a.start,a.end));return E6.lastIndex=0,this.source.replace(E6,(a,i)=>XC(r[parseInt(i,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],a=[],i,s,o,l;for(i=0,s=this.source.length;in.source);this._cached=new x6(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(a=>a.resolveAnchors(e,n));return new x6(t,r,this._items.map(a=>a.ruleId))}},x6=class{constructor(t,e,n){this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new $d(n,r)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(s5.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},lV=class{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,r])=>XC(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},w6=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function sE(t,e,n,r,a,i,s,o){const l=e.content.length;let u=!1,p=-1;if(s){const m=cV(t,e,n,r,a,i);a=m.stack,r=m.linePos,n=m.isFirstLine,p=m.anchorPosition}const h=Date.now();for(;!u;){if(o!==0&&Date.now()-h>o)return new w6(a,!0);d()}return new w6(a,!1);function d(){const m=uV(t,e,n,r,a,p);if(!m){i.produce(a,l),u=!0;return}const f=m.captureIndices,v=m.matchedRuleId,C=f&&f.length>0?f[0].end>r:!1;if(v===sV){const E=a.getRule(t);i.produce(a,f[0].start),a=a.withContentNameScopesList(a.nameScopesList),Q1(t,e,n,a,i,E.endCaptures,f),i.produce(a,f[0].end);const x=a;if(a=a.parent,p=x.getAnchorPos(),!C&&x.getEnterPos()===r){a=x,i.produce(a,l),u=!0;return}}else{const E=t.getRule(v);i.produce(a,f[0].start);const x=a,g=E.getName(e.content,f),w=a.contentNameScopesList.pushAttributed(g,t);if(a=a.push(v,r,p,f[0].end===l,null,w,w),E instanceof n5){const b=E;Q1(t,e,n,a,i,b.beginCaptures,f),i.produce(a,f[0].end),p=f[0].end;const A=b.getContentName(e.content,f),T=w.pushAttributed(A,t);if(a=a.withContentNameScopesList(T),b.endHasBackReferences&&(a=a.withEndRule(b.getEndWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),u=!0;return}}else if(E instanceof lh){const b=E;Q1(t,e,n,a,i,b.beginCaptures,f),i.produce(a,f[0].end),p=f[0].end;const A=b.getContentName(e.content,f),T=w.pushAttributed(A,t);if(a=a.withContentNameScopesList(T),b.whileHasBackReferences&&(a=a.withEndRule(b.getWhileWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),u=!0;return}}else if(Q1(t,e,n,a,i,E.captures,f),i.produce(a,f[0].end),a=a.pop(),!C){a=a.safePop(),i.produce(a,l),u=!0;return}}f[0].end>r&&(r=f[0].end,n=!1)}}function cV(t,e,n,r,a,i){let s=a.beginRuleCapturedEOL?0:-1;const o=[];for(let l=a;l;l=l.pop()){const u=l.getRule(t);u instanceof lh&&o.push({rule:u,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:u,findOptions:p}=fV(l.rule,t,l.stack.endRule,n,r===s),h=u.findNextMatchSync(e,r,p);if(h){if(h.ruleId!==tE){a=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(i.produce(l.stack,h.captureIndices[0].start),Q1(t,e,n,l.stack,i,l.rule.whileCaptures,h.captureIndices),i.produce(l.stack,h.captureIndices[0].end),s=h.captureIndices[0].end,h.captureIndices[0].end>r&&(r=h.captureIndices[0].end,n=!1))}else{a=l.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:s,isFirstLine:n}}function uV(t,e,n,r,a,i){const s=pV(t,e,n,r,a,i),o=t.getInjections();if(o.length===0)return s;const l=hV(o,t,e,n,r,a,i);if(!l)return s;if(!s)return l;const u=s.captureIndices[0].start,p=l.captureIndices[0].start;return p=o)&&(o=g,l=x.captureIndices,u=x.ruleId,p=f.priority,o===a))break}return l?{priorityMatch:p===-1,captureIndices:l,matchedRuleId:u}:null}function iE(t,e,n,r,a){return{ruleScanner:t.compileAG(e,n,r,a),findOptions:0}}function fV(t,e,n,r,a){return{ruleScanner:t.compileWhileAG(e,n,r,a),findOptions:0}}function Q1(t,e,n,r,a,i,s){if(i.length===0)return;const o=e.content,l=Math.min(i.length,s.length),u=[],p=s[0].end;for(let h=0;hp)break;for(;u.length>0&&u[u.length-1].endPos<=m.start;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?a.produceFromScopes(u[u.length-1].scopes,m.start):a.produce(r,m.start),d.retokenizeCapturedWithRuleId){const v=d.getName(o,s),C=r.contentNameScopesList.pushAttributed(v,t),E=d.getContentName(o,s),x=C.pushAttributed(E,t),g=r.push(d.retokenizeCapturedWithRuleId,m.start,-1,!1,null,C,x),w=t.createOnigString(o.substring(0,m.end));sE(t,w,n&&m.start===0,m.start,g,a,!1,0),ZC(w);continue}const f=d.getName(o,s);if(f!==null){const C=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(f,t);u.push(new dV(C,m.end))}}for(;u.length>0;)a.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var dV=class{scopes;endPos;constructor(t,e){this.scopes=t,this.endPos=e}};function mV(t,e,n,r,a,i,s,o){return new vV(t,e,n,r,a,i,s,o)}function T6(t,e,n,r,a){const i=oh(e,ch),s=rE.getCompiledRuleId(n,r,a.repository);for(const o of i)t.push({debugSelector:e,matcher:o.matcher,ruleId:s,grammar:a,priority:o.priority})}function ch(t,e){if(e.length{for(let a=n;an&&t.substr(0,n)===e&&t[n]==="."}var vV=class{constructor(t,e,n,r,a,i,s,o){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=o,this._basicScopeAttributesProvider=new aV(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=_6(e,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const l of Object.keys(a)){const u=oh(l,ch);for(const p of u)this._tokenTypeMatchers.push({matcher:p.matcher,type:a[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},e=[],n=this._rootScopeName,r=t.lookup(n);if(r){const a=r.injections;if(a)for(let s in a)T6(e,s,a[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const o=this.getExternalGrammar(s);if(o){const l=o.injectionSelector;l&&T6(e,l,o,this,o)}})}return e.sort((a,i)=>a.priority-i.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=_6(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const r=this._tokenize(t,e,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(t,e,n=0){const r=this._tokenize(t,e,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(t,e,n,r){this._rootId===-1&&(this._rootId=rE.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!e||e===i5.NULL){a=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),h=s1.set(0,u.languageId,u.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=fu.createRootAndLookUpScopeName(d,h,this):m=fu.createRoot("unknown",h),e=new i5(null,this._rootId,-1,-1,!1,null,m,m)}else a=!1,e.reset();t=t+` `;const i=this.createOnigString(t),s=i.content.length,o=new bV(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),l=sE(this,i,a,0,e,o,!0,r);return ZC(i),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function _6(t,e){return t=VN(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var fu=class _o{constructor(e,n,r){this.parent=e,this.scopePath=n,this.tokenAttributes=r}static fromExtension(e,n){let r=e,a=e?.scopePath??null;for(const i of n)a=Fd.push(a,i.scopeNames),r=new _o(r,a,i.encodedTokenAttributes);return r}static createRoot(e,n){return new _o(null,new Fd(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const a=r.getMetadataForScope(e),i=new Fd(null,e),s=r.themeProvider.themeMatch(i),o=_o.mergeAttributes(n,a,s);return new _o(null,i,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return _o.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,r){let a=-1,i=0,s=0;return r!==null&&(a=r.fontStyle,i=r.foregroundId,s=r.backgroundId),s1.set(e,n.languageId,n.tokenType,null,a,i,s)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return _o._pushAttributed(this,e,n);const r=e.split(/ /g);let a=this;for(const i of r)a=_o._pushAttributed(a,i,n);return a}static _pushAttributed(e,n,r){const a=r.getMetadataForScope(n),i=e.scopePath.push(n),s=r.themeProvider.themeMatch(i),o=_o.mergeAttributes(e.tokenAttributes,a,s);return new _o(e,i,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?n.reverse():void 0}},i5=class Pl{constructor(e,n,r,a,i,s,o,l){this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new Pl(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:Pl._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?fu.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){Pl._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,a,i,s,o){return new Pl(this,e,n,r,a,i,s,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,n){return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new Pl(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(e,n){const r=fu.fromExtension(e?.nameScopesList??null,n.nameScopesList);return new Pl(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,fu.fromExtension(r,n.contentNameScopesList))}},yV=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,e){this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):oh(n,ch).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>oh(n,ch).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},bV=class{constructor(t,e,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=t?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=t?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(i)&&(r=s1.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(r=s1.set(r,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=e;return}const n=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r0;)s.Q.map(o=>this._loadSingleGrammar(o.scopeName)),s.processQueue();return this._grammarForScopeName(e,n,r,a,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(e,n=[],r=0,a=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,r,a)}_grammarForScopeName(e,n=0,r=null,a=null,i=null){return this._syncRegistry.grammarForScopeName(e,n,r,a,i)}},o5=i5.NULL;const SV=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class l2{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}l2.prototype.normal={};l2.prototype.property={};l2.prototype.space=void 0;function oE(t,e){const n={},r={};for(const a of t)Object.assign(n,a.property),Object.assign(r,a.normal);return new l2(n,r,e)}function a5(t){return t.toLowerCase()}class Ii{constructor(e,n){this.attribute=n,this.property=e}}Ii.prototype.attribute="";Ii.prototype.booleanish=!1;Ii.prototype.boolean=!1;Ii.prototype.commaOrSpaceSeparated=!1;Ii.prototype.commaSeparated=!1;Ii.prototype.defined=!1;Ii.prototype.mustUseProperty=!1;Ii.prototype.number=!1;Ii.prototype.overloadedBoolean=!1;Ii.prototype.property="";Ii.prototype.spaceSeparated=!1;Ii.prototype.space=void 0;let xV=0;const tn=Yl(),Ds=Yl(),aE=Yl(),Ft=Yl(),ls=Yl(),$c=Yl(),Hi=Yl();function Yl(){return 2**++xV}const l5=Object.freeze(Object.defineProperty({__proto__:null,boolean:tn,booleanish:Ds,commaOrSpaceSeparated:Hi,commaSeparated:$c,number:Ft,overloadedBoolean:aE,spaceSeparated:ls},Symbol.toStringTag,{value:"Module"})),Ud=Object.keys(l5);class Fm extends Ii{constructor(e,n,r,a){let i=-1;if(super(e,n),A6(this,"space",a),typeof r=="number")for(;++i4&&n.slice(0,4)==="data"&&AV.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(P6,LV);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!P6.test(i)){let s=i.replace(_V,MV);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}a=Fm}return new a(r,e)}function MV(t){return"-"+t.toLowerCase()}function LV(t){return t.charAt(1).toUpperCase()}const OV=oE([lE,wV,pE,hE,fE],"html"),dE=oE([lE,TV,pE,hE,fE],"svg"),M6={}.hasOwnProperty;function IV(t,e){const n=e||{};function r(a,...i){let s=r.invalid;const o=r.handlers;if(a&&M6.call(a,t)){const l=String(a[t]);s=M6.call(o,l)?o[l]:r.unknown}if(s)return s.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const kV=/["&'<>`]/g,zV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NV=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,VV=/[|\\{}()[\]^$+*?.]/g,L6=new WeakMap;function HV(t,e){if(t=t.replace(e.subset?DV(e.subset):kV,r),e.subset||e.escapeOnly)return t;return t.replace(zV,n).replace(NV,r);function n(a,i,s){return e.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),e)}function r(a,i,s){return e.format(a.charCodeAt(0),s.charCodeAt(i+1),e)}}function DV(t){let e=L6.get(t);return e||(e=RV(t),L6.set(t,e)),e}function RV(t){const e=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},qV=["cent","copy","divide","gt","lt","not","para","times"],mE={}.hasOwnProperty,c5={};let cp;for(cp in qd)mE.call(qd,cp)&&(c5[qd[cp]]=cp);const WV=/[^\dA-Za-z]/;function GV(t,e,n,r){const a=String.fromCharCode(t);if(mE.call(c5,a)){const i=c5[a],s="&"+i;return n&&UV.includes(i)&&!qV.includes(i)&&(!r||e&&e!==61&&WV.test(String.fromCharCode(e)))?s:s+";"}return""}function KV(t,e,n){let r=BV(t,e,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=GV(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=$V(t,e,n.omitOptionalSemicolons);i.length|^->||--!>|"],JV=["<",">"];function QV(t,e,n,r){return r.settings.bogusComments?"":"";function a(i){return Uc(i,Object.assign({},r.settings.characterReferences,{subset:JV}))}}function ZV(t,e,n,r){return""}function O6(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(e);for(;a!==-1;)r++,a=n.indexOf(e,a+e.length);return r}function eH(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function tH(t){return t.join(" ").trim()}const rH=/[ \t\n\f\r]/g;function $m(t){return typeof t=="object"?t.type==="text"?I6(t.value):!1:I6(t)}function I6(t){return t.replace(rH,"")===""}const Ks=vE(1),gE=vE(-1),nH=[];function vE(t){return e;function e(n,r,a){const i=n?n.children:nH;let s=(r||0)+t,o=i[s];if(!a)for(;o&&$m(o);)s+=t,o=i[s];return o}}const sH={}.hasOwnProperty;function yE(t){return e;function e(n,r,a){return sH.call(t,n.tagName)&&t[n.tagName](n,r,a)}}const Um=yE({body:oH,caption:Wd,colgroup:Wd,dd:uH,dt:cH,head:Wd,html:iH,li:lH,optgroup:pH,option:hH,p:aH,rp:k6,rt:k6,tbody:dH,td:z6,tfoot:mH,th:z6,thead:fH,tr:gH});function Wd(t,e,n){const r=Ks(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&$m(r.value.charAt(0)))}function iH(t,e,n){const r=Ks(n,e);return!r||r.type!=="comment"}function oH(t,e,n){const r=Ks(n,e);return!r||r.type!=="comment"}function aH(t,e,n){const r=Ks(n,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function lH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&r.tagName==="li"}function cH(t,e,n){const r=Ks(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function uH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function k6(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function pH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function hH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function fH(t,e,n){const r=Ks(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function dH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function mH(t,e,n){return!Ks(n,e)}function gH(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function z6(t,e,n){const r=Ks(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const vH=yE({body:CH,colgroup:EH,head:bH,html:yH,tbody:SH});function yH(t){const e=Ks(t,-1);return!e||e.type!=="comment"}function bH(t){const e=new Set;for(const r of t.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const n=t.children[0];return!n||n.type==="element"}function CH(t){const e=Ks(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&$m(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function EH(t,e,n){const r=gE(n,e),a=Ks(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Um(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function SH(t,e,n){const r=gE(n,e),a=Ks(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Um(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const up={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 \f\r "&'/<=>\``.split("")]],unquoted:[[` \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xH(t,e,n,r){const a=r.schema,i=a.space==="svg"?!1:r.settings.omitOptionalTags;let s=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const o=[];let l;a.space==="html"&&t.tagName==="svg"&&(r.schema=dE);const u=wH(r,t.properties),p=r.all(a.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=a,p&&(s=!1),(u||!i||!vH(t,e,n))&&(o.push("<",t.tagName,u?" "+u:""),s&&(a.space==="svg"||r.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(p),!s&&(!i||!Um(t,e,n))&&o.push(""),o.join("")}function wH(t,e){const n=[];let r=-1,a;if(e){for(a in e)if(e[a]!==null&&e[a]!==void 0){const i=TH(t,a,e[a]);i&&n.push(i)}}for(;++rO6(n,t.alternative)&&(s=t.alternative),o=s+Uc(n,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?up.single:up.double)[a][i],attribute:!0}))+s),l+(o&&"="+o))}const _H=["<","&"];function bE(t,e,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?t.value:Uc(t.value,Object.assign({},r.settings.characterReferences,{subset:_H}))}function AH(t,e,n,r){return r.settings.allowDangerousHtml?t.value:bE(t,e,n,r)}function PH(t,e,n,r){return r.all(t)}const MH=IV("type",{invalid:LH,unknown:OH,handlers:{comment:QV,doctype:ZV,element:xH,raw:AH,root:PH,text:bE}});function LH(t){throw new Error("Expected node, not `"+t+"`")}function OH(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const IH={},kH={},zH=[];function NH(t,e){const n=e||IH,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:VH,all:HH,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||SV,characterReferences:n.characterReferences||kH,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?dE:OV,quote:r,alternative:a}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function VH(t,e,n){return MH(t,e,n,this)}function HH(t){const e=[],n=t&&t.children||zH;let r=-1;for(;++re.default||e)}function qm(t){return!t||["plaintext","txt","text","plain"].includes(t)}function RH(t){return t==="ansi"||qm(t)}function Wm(t){return t==="none"}function jH(t){return Wm(t)}function EE(t,e){if(!e)return t;t.properties||={},t.properties.class||=[],typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(/\s+/g)),Array.isArray(t.properties.class)||(t.properties.class=[]);const n=Array.isArray(e)?e:e.split(/\s+/g);for(const r of n)r&&!t.properties.class.includes(r)&&t.properties.class.push(r);return t}function tf(t,e=!1){const n=t.split(/(\r?\n)/g);let r=0;const a=[];for(let i=0;ia);function n(a){if(a===t.length)return{line:e.length-1,character:e[e.length-1].length};let i=a,s=0;for(const o of e){if(in&&r.push({...t,content:t.content.slice(n,a),offset:t.offset+n}),n=a;return nr-a);return n.length?t.map(r=>r.flatMap(a=>{const i=n.filter(s=>a.offsets-a.offset).sort((s,o)=>s-o);return i.length?FH(a,i):a})):t}function UH(t,e,n,r){const a={content:t.content,explanation:t.explanation,offset:t.offset},i=e.map(l=>SE(t.variants[l])),s=new Set(i.flatMap(l=>Object.keys(l))),o={};return i.forEach((l,u)=>{for(const p of s){const h=l[p]||"inherit";if(u===0&&r)o[p]=h;else{const d=p==="color"?"":p==="background-color"?"-bg":`-${p}`,m=n+e[u]+(p==="color"?"":d);o[m]=h}}}),a.htmlStyle=o,a}function SE(t){const e={};return t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle&&(t.fontStyle&sa.Italic&&(e["font-style"]="italic"),t.fontStyle&sa.Bold&&(e["font-weight"]="bold"),t.fontStyle&sa.Underline&&(e["text-decoration"]="underline")),e}function qH(t){return typeof t=="string"?t:Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}const xE=new WeakMap;function rf(t,e){xE.set(t,e)}function Uu(t){return xE.get(t)}class m1{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,n){return new m1(Object.fromEntries(DH(n).map(r=>[r,o5])),e)}constructor(...e){if(e.length===2){const[n,r]=e;this.lang=r,this._stacks=n}else{const[n,r,a]=e;this.lang=r,this._stacks={[a]:n}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return WH(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function WH(t){const e=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const i=a?.nameScopesList?.scopeName;i&&e.push(i),a.parent&&r(a.parent)}return r(t),e}function GH(t,e){if(!(t instanceof m1))throw new di("Invalid grammar state");return t.getInternalStack(e)}function KH(){const t=new WeakMap;function e(n){if(!t.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new di(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...a.indexToPos(s),offset:s}}else{const o=a.lines[s.line];if(o===void 0)throw new di(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${a.lines.length}`);if(s.character<0||s.character>o.length)throw new di(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,offset:a.posToIndex(s.line,s.character)}}};const a=BH(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));XH(i),t.set(n.meta,{decorations:i,converter:a,source:n.source})}return t.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const a=e(this).decorations.flatMap(s=>[s.start.offset,s.end.offset]);return $H(n,a)},code(n){if(!this.options.decorations?.length)return;const r=e(this),a=Array.from(n.children).filter(p=>p.type==="element"&&p.tagName==="span");if(a.length!==r.converter.lines.length)throw new di(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(p,h,d,m){const f=a[p];let v="",C=-1,E=-1;if(h===0&&(C=0),d===0&&(E=0),d===Number.POSITIVE_INFINITY&&(E=f.children.length),C===-1||E===-1)for(let g=0;gv);return p.tagName=h.tagName||"span",p.properties={...p.properties,...m,class:p.properties.class},h.properties?.class&&EE(p,h.properties.class),p=f(p,d)||p,p}const l=[],u=r.decorations.sort((p,h)=>h.start.offset-p.start.offset||p.end.offset-h.end.offset);for(const p of u){const{start:h,end:d}=p;if(h.line===d.line)i(h.line,h.character,d.character,p);else if(h.lines(m,p));i(d.line,0,d.character,p)}}l.forEach(p=>p())}}}function XH(t){for(let e=0;en.end.offset)throw new di(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=e+1;rNumber.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(e==="5"){const n=t.shift();if(n)return{type:"table",index:Number(n)}}}function QH(t){const e=[];for(;t.length>0;){const n=t.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)e.push({type:"resetAll"});else if(r<=9)Gd[r]&&e.push({type:"setDecoration",value:Gd[r]});else if(r<=29){const a=Gd[r-20];a&&(e.push({type:"resetDecoration",value:a}),a==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)e.push({type:"setForegroundColor",value:{type:"named",name:Ol[r-30]}});else if(r===38){const a=N6(t);a&&e.push({type:"setForegroundColor",value:a})}else if(r===39)e.push({type:"resetForegroundColor"});else if(r<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:Ol[r-40]}});else if(r===48){const a=N6(t);a&&e.push({type:"setBackgroundColor",value:a})}else r===49?e.push({type:"resetBackgroundColor"}):r===53?e.push({type:"setDecoration",value:"overline"}):r===55?e.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?e.push({type:"setForegroundColor",value:{type:"named",name:Ol[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:Ol[r-100+8]}})}return e}function ZH(){let t=null,e=null,n=new Set;return{parse(r){const a=[];let i=0;do{const s=JH(r,i),o=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(o.length>0&&a.push({value:o,foreground:t,background:e,decorations:new Set(n)}),s.sequence){const l=QH(s.sequence);for(const u of l)u.type==="resetAll"?(t=null,e=null,n.clear()):u.type==="resetForegroundColor"?t=null:u.type==="resetBackgroundColor"?e=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of l)u.type==="setForegroundColor"?t=u.value:u.type==="setBackgroundColor"?e=u.value:u.type==="setDecoration"&&n.add(u.value)}i=s.position}while(iMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let u=0;u[o,t.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=ZH();return a.map(o=>s.parse(o[0]).map(l=>{let u,p;l.decorations.has("reverse")?(u=l.background?i.value(l.background):t.bg,p=l.foreground?i.value(l.foreground):t.fg):(u=l.foreground?i.value(l.foreground):t.fg,p=l.background?i.value(l.background):void 0),u=Ll(u,r),p=Ll(p,r),l.decorations.has("dim")&&(u=nD(u));let h=sa.None;return l.decorations.has("bold")&&(h|=sa.Bold),l.decorations.has("italic")&&(h|=sa.Italic),l.decorations.has("underline")&&(h|=sa.Underline),{content:l.value,offset:o[1],color:u,bgColor:p,fontStyle:h}}))}function nD(t){const e=t.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const r=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${r}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(r=>`${r}${r}`).join("")}80`;const n=t.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:t}function Gm(t,e,n={}){const{lang:r="text",theme:a=t.getLoadedThemes()[0]}=n;if(qm(r)||Wm(a))return tf(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=t.setTheme(a);if(r==="ansi")return rD(i,e,n);const o=t.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new di(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new di(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return iD(e,o,i,s,n)}function sD(...t){if(t.length===2)return Uu(t[1]);const[e,n,r={}]=t,{lang:a="text",theme:i=e.getLoadedThemes()[0]}=r;if(qm(a)||Wm(i))throw new di("Plain language does not have grammar state");if(a==="ansi")throw new di("ANSI language does not have grammar state");const{theme:s,colorMap:o}=e.setTheme(i),l=e.getLanguage(a);return new m1(hh(n,l,s,o,r).stateStack,l.name,s.name)}function iD(t,e,n,r,a){const i=hh(t,e,n,r,a),s=new m1(hh(t,e,n,r,a).stateStack,e.name,n.name);return rf(i.tokens,s),i.tokens}function hh(t,e,n,r,a){const i=uh(n,a),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=a,l=tf(t);let u=a.grammarState?GH(a.grammarState,n.name)??o5:a.grammarContextCode!=null?hh(a.grammarContextCode,e,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:o5,p=[];const h=[];for(let d=0,m=l.length;d0&&f.length>=s){p=[],h.push([{content:f,offset:v,color:"",fontStyle:0}]);continue}let C,E,x;a.includeExplanation&&(C=e.tokenizeLine(f,u,o),E=C.tokens,x=0);const g=e.tokenizeLine2(f,u,o),w=g.tokens.length/2;for(let b=0;bD.trim());break;case"object":$=N.scope;break;default:continue}W.push({settings:N,selectors:$.map(D=>D.split(/ /))})}U.explanation=[];let F=0;for(;A+F({scopeName:e}))}function aD(t,e){const n=[];for(let r=0,a=e.length;r=0&&a>=0;)V6(t[r],n[a])&&(r-=1),a-=1;return r===-1}function cD(t,e,n){const r=[];for(const{selectors:a,settings:i}of t)for(const s of a)if(lD(s,e,n)){r.push(i);break}return r}function TE(t,e,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),a=r.map(l=>{const u=Gm(t,e,{...n,theme:l.theme}),p=Uu(u),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:u,state:p,theme:h}}),i=uD(...a.map(l=>l.tokens)),s=i[0].map((l,u)=>l.map((p,h)=>{const d={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=p.explanation),i.forEach((m,f)=>{const{content:v,explanation:C,offset:E,...x}=m[u][h];d.variants[r[f].color]=x}),d})),o=a[0].state?new m1(Object.fromEntries(a.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),a[0].state.lang):void 0;return o&&rf(s,o),s}function uD(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;rl[r]),i=e.map(()=>[]);e.forEach((l,u)=>l.push(i[u]));const s=a.map(()=>0),o=a.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(u=>u.content.length));for(let u=0;uC[1]).map(C=>({color:C[0],theme:C[1]})).sort((C,E)=>C.color===u?-1:E.color===u?1:0);if(h.length===0)throw new di("`themes` option must not be empty");const d=TE(t,e,n);if(l=Uu(d),u&&!h.find(C=>C.color===u))throw new di(`\`themes\` option must contain the defaultColor key \`${u}\``);const m=h.map(C=>t.getTheme(C.theme)),f=h.map(C=>C.color);i=d.map(C=>C.map(E=>UH(E,f,p,u))),l&&rf(i,l);const v=h.map(C=>uh(C.theme,n));a=h.map((C,E)=>(E===0&&u?"":`${p+C.color}:`)+(Ll(m[E].fg,v[E])||"inherit")).join(";"),r=h.map((C,E)=>(E===0&&u?"":`${p+C.color}-bg:`)+(Ll(m[E].bg,v[E])||"inherit")).join(";"),s=`shiki-themes ${m.map(C=>C.name).join(" ")}`,o=u?void 0:[a,r].join(";")}else if("theme"in n){const u=uh(n.theme,n);i=Gm(t,e,n);const p=t.getTheme(n.theme);r=Ll(p.bg,u),a=Ll(p.fg,u),s=p.name,l=Uu(i)}else throw new di("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:r,themeName:s,rootStyle:o,grammarState:l}}function dh(t,e,n,r={meta:{},options:n,codeToHast:(a,i)=>dh(t,a,i),codeToTokens:(a,i)=>fh(t,a,i)}){let a=e;for(const m of ph(n))a=m.preprocess?.call(r,a,n)||a;let{tokens:i,fg:s,bg:o,themeName:l,rootStyle:u,grammarState:p}=fh(t,a,n);const{mergeWhitespaces:h=!0}=n;h===!0?i=hD(i):h==="never"&&(i=fD(i));const d={...r,get source(){return a}};for(const m of ph(n))i=m.tokens?.call(d,i)||i;return pD(i,{...n,fg:s,bg:o,themeName:l,rootStyle:u},d,p)}function pD(t,e,n,r=Uu(t)){const a=ph(e),i=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=e;let u={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([f])=>!f.startsWith("_")))},children:[]},p={type:"element",tagName:"code",properties:{},children:i};const h=[],d={...n,structure:o,addClassToHast:EE,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return s},get pre(){return u},get code(){return p},get lines(){return h}};if(t.forEach((f,v)=>{v&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:` `}));let C={type:"element",tagName:"span",properties:{class:"line"},children:[]},E=0;for(const x of f){let g={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const w=qH(x.htmlStyle||SE(x));w&&(g.properties.style=w);for(const b of a)g=b?.span?.call(d,g,v+1,E,C,x)||g;o==="inline"?s.children.push(g):o==="classic"&&C.children.push(g),E+=x.content.length}if(o==="classic"){for(const x of a)C=x?.line?.call(d,C,v+1)||C;h.push(C),i.push(C)}}),o==="classic"){for(const f of a)p=f?.code?.call(d,p)||p;u.children.push(p);for(const f of a)u=f?.pre?.call(d,u)||u;s.children.push(u)}let m=s;for(const f of a)m=f?.root?.call(d,m)||m;return r&&rf(m,r),m}function hD(t){return t.map(e=>{const n=[];let r="",a=0;return e.forEach((i,s)=>{const l=!(i.fontStyle&&i.fontStyle&sa.Underline);l&&i.content.match(/^\s+$/)&&e[s+1]?(a||(a=i.offset),r+=i.content):r?(l?n.push({...i,offset:a,content:r+i.content}):n.push({content:r,offset:a},i),a=0,r=""):n.push(i)}),n})}function fD(t){return t.map(e=>e.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,a,i,s]=r;if(!a&&!s)return n;const o=[{...n,offset:n.offset+a.length,content:i}];return a&&o.unshift({content:a,offset:n.offset}),s&&o.push({content:s,offset:n.offset+a.length+i.length}),o}))}const dD=NH;function mD(t,e,n){const r={meta:{},options:n,codeToHast:(i,s)=>dh(t,i,s),codeToTokens:(i,s)=>fh(t,i,s)};let a=dD(dh(t,e,n,r));for(const i of ph(n))a=i.postprocess?.call(r,a,n)||a;return a}const H6={light:"#333333",dark:"#bbbbbb"},D6={light:"#fffffe",dark:"#1e1e1e"},R6="__shiki_resolved";function Km(t){if(t?.[R6])return t;const e={...t};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:n,fg:r}=e;if(!n||!r){const o=e.settings?e.settings.find(l=>!l.name&&!l.scope):void 0;o?.settings?.foreground&&(r=o.settings.foreground),o?.settings?.background&&(n=o.settings.background),!r&&e?.colors?.["editor.foreground"]&&(r=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),r||(r=e.type==="light"?H6.light:H6.dark),n||(n=e.type==="light"?D6.light:D6.dark),e.fg=r,e.bg=n}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let a=0;const i=new Map;function s(o){if(i.has(o))return i.get(o);a+=1;const l=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${l}`]?s(o):(i.set(o,l),l)}e.settings=e.settings.map(o=>{const l=o.settings?.foreground&&!o.settings.foreground.startsWith("#"),u=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!u)return o;const p={...o,settings:{...o.settings}};if(l){const h=s(o.settings.foreground);e.colorReplacements[h]=o.settings.foreground,p.settings.foreground=h}if(u){const h=s(o.settings.background);e.colorReplacements[h]=o.settings.background,p.settings.background=h}return p});for(const o of Object.keys(e.colors||{}))if((o==="editor.foreground"||o==="editor.background"||o.startsWith("terminal.ansi"))&&!e.colors[o]?.startsWith("#")){const l=s(e.colors[o]);e.colorReplacements[l]=e.colors[o],e.colors[o]=l}return Object.defineProperty(e,R6,{enumerable:!1,writable:!1,value:!0}),e}async function _E(t){return Array.from(new Set((await Promise.all(t.filter(e=>!RH(e)).map(async e=>await CE(e).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function AE(t){return(await Promise.all(t.map(async n=>jH(n)?null:Km(await CE(n))))).filter(n=>!!n)}let gD=3;function vD(t,e=3){e>gD||console.trace(`[SHIKI DEPRECATE]: ${t}`)}class zc extends Error{constructor(e){super(e),this.name="ShikiError"}}class yD extends EV{constructor(e,n,r,a={}){super(e),this._resolver=e,this._themes=n,this._langs=r,this._alias=a,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const n=Km(e);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let n=this._textmateThemeCache.get(e);n||(n=ih.createFromRawTheme(e),this._textmateThemeCache.set(e,n)),this._syncRegistry.setTheme(n)}getGrammar(e){if(this._alias[e]){const n=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],n.has(e))throw new zc(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const n=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const a=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(a.name=e.name,this._resolvedGrammars.set(e.name,a),e.aliases&&e.aliases.forEach(i=>{this._alias[i]=e.name}),this._loadedLanguagesCache=null,n.size)for(const i of n)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const a of e)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),r=n.filter(([a,i])=>!i);if(r.length){const a=n.filter(([i,s])=>s&&s.embeddedLangs?.some(o=>r.map(([l])=>l).includes(o))).filter(i=>!r.includes(i));throw new zc(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of n)this._resolver.addLanguage(i);for(const[a,i]of n)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(const n of e.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class bD{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,n){this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(n=>{this._langs.set(n,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(e.scopeName)})}getInjections(e){const n=e.split(".");let r=[];for(let a=1;a<=n.length;a++){const i=n.slice(0,a).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let W1=0;function CD(t){W1+=1,t.warnings!==!1&&W1>=10&&W1%10===0&&console.warn(`[Shiki] ${W1} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!t.engine)throw new zc("`engine` option is required for synchronous mode");const n=(t.langs||[]).flat(1),r=(t.themes||[]).flat(1).map(Km),a=new bD(t.engine,n),i=new yD(a,r,n,t.langAlias);let s;function o(x){C();const g=i.getGrammar(typeof x=="string"?x:x.name);if(!g)throw new zc(`Language \`${x}\` not found, you may need to load it first`);return g}function l(x){if(x==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};C();const g=i.getTheme(x);if(!g)throw new zc(`Theme \`${x}\` not found, you may need to load it first`);return g}function u(x){C();const g=l(x);s!==x&&(i.setTheme(g),s=x);const w=i.getColorMap();return{theme:g,colorMap:w}}function p(){return C(),i.getLoadedThemes()}function h(){return C(),i.getLoadedLanguages()}function d(...x){C(),i.loadLanguages(x.flat(1))}async function m(...x){return d(await _E(x))}function f(...x){C();for(const g of x.flat(1))i.loadTheme(g)}async function v(...x){return C(),f(await AE(x))}function C(){if(e)throw new zc("Shiki instance has been disposed")}function E(){e||(e=!0,i.dispose(),W1-=1)}return{setTheme:u,getTheme:l,getLanguage:o,getLoadedThemes:p,getLoadedLanguages:h,loadLanguage:m,loadLanguageSync:d,loadTheme:v,loadThemeSync:f,dispose:E,[Symbol.dispose]:E}}async function ED(t){t.engine||vD("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,n,r]=await Promise.all([AE(t.themes||[]),_E(t.langs||[]),t.engine]);return CD({...t,themes:e,langs:n,engine:r})}async function SD(t){const e=await ED(t);return{getLastGrammarState:(...n)=>sD(e,...n),codeToTokensBase:(n,r)=>Gm(e,n,r),codeToTokensWithThemes:(n,r)=>TE(e,n,r),codeToTokens:(n,r)=>fh(e,n,r),codeToHast:(n,r)=>dh(e,n,r),codeToHtml:(n,r)=>mD(e,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}const Zs=String.raw,Xm=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]);function xD(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}function Lo(t,e){if(!t)throw new Error(e??"Value expected");return t}const Tr={Alternator:"Alternator",Assertion:"Assertion",Backreference:"Backreference",Character:"Character",CharacterClassClose:"CharacterClassClose",CharacterClassHyphen:"CharacterClassHyphen",CharacterClassIntersector:"CharacterClassIntersector",CharacterClassOpen:"CharacterClassOpen",CharacterSet:"CharacterSet",Directive:"Directive",GroupClose:"GroupClose",GroupOpen:"GroupOpen",Subroutine:"Subroutine",Quantifier:"Quantifier",EscapedNumber:"EscapedNumber"},Ns={any:"any",digit:"digit",dot:"dot",grapheme:"grapheme",hex:"hex",newline:"newline",posix:"posix",property:"property",space:"space",word:"word"},Ym={flags:"flags",keep:"keep"},pi={absent_repeater:"absent_repeater",atomic:"atomic",capturing:"capturing",group:"group",lookahead:"lookahead",lookbehind:"lookbehind"},Mc={greedy:"greedy",lazy:"lazy",possessive:"possessive"},j6=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]),PE=Zs`\[\^?`,ME=`c.? | C(?:-.?)?|${Zs`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Zs`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Zs`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Zs`o\{[^\}]*\}?`}|${Zs`\d{1,3}`}`,LE=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,pp=new RegExp(Zs` \\ (?: ${ME} | [gk]<[^>]*>? | [gk]'[^']*'? | . ) | \( (?: \? (?: [:=!>({] | <[=!] | <[^>]*> | '[^']*' | ~\|? | #(?:[^)\\]|\\.?)* | [^:)]*[:)] )? | \* )? | ${LE.source} | ${PE} | . `.replace(/\s+/g,""),"gsu"),Kd=new RegExp(Zs` \\ (?: ${ME} | . ) | \[:(?:\^?\p{Alpha}+|\^):\] | ${PE} | && | . `.replace(/\s+/g,""),"gsu");function wD(t,e={}){const n={flags:"",...e,rules:{captureGroup:!1,singleline:!1,...e.rules}};if(typeof t!="string")throw new Error("String expected as pattern");const r=kD(n.flags),a=[r.extended],i={captureGroup:n.rules.captureGroup,getCurrentModX:()=>a.at(-1),numOpenGroups:0,popModX(){a.pop()},pushModX(h){a.push(h)},replaceCurrentModX(h){a[a.length-1]=h},singleline:n.rules.singleline};let s=[],o;for(pp.lastIndex=0;o=pp.exec(t);){const h=TD(i,t,o[0],pp.lastIndex);h.tokens?s.push(...h.tokens):h.token&&s.push(h.token),h.lastIndex!==void 0&&(pp.lastIndex=h.lastIndex)}const l=[];let u=0;s.forEach(h=>{h.type===Tr.GroupOpen&&(h.kind===pi.capturing?h.number=++u:h.raw==="("&&l.push(h))}),u||l.forEach((h,d)=>{h.kind=pi.capturing,h.number=d+1});const p=u||l.length;return s=s.map(h=>h.type===Tr.EscapedNumber?ND(h,p):h).flat(),{tokens:s,flags:r}}function TD(t,e,n,r){const[a,i]=n;if(a==="["){const s=_D(e,n,r);return{tokens:s.tokens,lastIndex:s.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:mn(Tr.Assertion,n,{kind:n})};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:mn(Tr.Subroutine,n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:mn(Tr.Backreference,n)}}if(i==="K")return{token:mn(Tr.Directive,n,{kind:Ym.keep})};if(i==="N"||i==="R")return{token:mn(Tr.CharacterSet,n,{kind:Ns.newline,negate:i==="N"})};if(i==="O")return{token:mn(Tr.CharacterSet,n,{kind:Ns.any})};if(i==="X")return{token:mn(Tr.CharacterSet,n,{kind:Ns.grapheme})};const s=OE(n,{inCharClass:!1});return Array.isArray(s)?{tokens:s}:{token:s}}if(a==="("){if(n==="(*")throw new Error(`Unsupported named callout "${n}"`);if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(e[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:MD(n,t)};if(t.pushModX(t.getCurrentModX()),t.numOpenGroups++,n==="("&&!t.captureGroup||n==="(?:")return{token:mn(Tr.GroupOpen,n,{kind:pi.group})};if(n==="(?>")return{token:mn(Tr.GroupOpen,n,{kind:pi.atomic})};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?")||n.startsWith("(?'")&&n.endsWith("'")){const s=mn(Tr.GroupOpen,n,{kind:pi.capturing});return n!=="("&&(s.name=n.slice(3,-1)),{token:s}}if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absent function kind "${n}"`);return{token:mn(Tr.GroupOpen,n,{kind:pi.absent_repeater})}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(t.popModX(),t.numOpenGroups--,t.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:mn(Tr.GroupClose,n)}}if(n==="#"&&t.getCurrentModX()){const s=e.indexOf(` `,r);return{lastIndex:s===-1?e.length:s}}if(/^\s$/.test(n)&&t.getCurrentModX()){const s=/\s+/y;return s.lastIndex=r,{lastIndex:s.exec(e)?s.lastIndex:r}}if(n===".")return{token:mn(Tr.CharacterSet,n,{kind:Ns.dot})};if(n==="^"||n==="$"){const s=t.singleline?{"^":Zs`\A`,$:Zs`\Z`}[n]:n;return{token:mn(Tr.Assertion,n,{kind:s})}}return n==="|"?{token:mn(Tr.Alternator,n)}:LE.test(n)?{token:LD(n)}:(IE(n),{token:mn(Tr.Character,n,{value:n.codePointAt(0)})})}function _D(t,e,n){const r=[mn(Tr.CharacterClassOpen,e,{negate:e[1]==="^"})];let a=1,i;for(Kd.lastIndex=n;i=Kd.exec(t);){const s=i[0];if(s[0]==="["&&s[1]!==":")a++,r.push(mn(Tr.CharacterClassOpen,s,{negate:s[1]==="^"}));else if(s==="]"){if(r.at(-1).type===Tr.CharacterClassOpen)r.push(mn(Tr.Character,s,{value:93}));else if(a--,r.push(mn(Tr.CharacterClassClose,s)),!a)break}else{const o=AD(s);Array.isArray(o)?r.push(...o):r.push(o)}}return{tokens:r,lastIndex:Kd.lastIndex||t.length}}function AD(t){if(t[0]==="\\")return OE(t,{inCharClass:!0});if(t[0]==="["){const e=/\[:(?\^?)(?[a-z]+):\]/.exec(t);if(!e||!Xm.has(e.groups.name))throw new Error(`Invalid POSIX class "${t}"`);return mn(Tr.CharacterSet,t,{kind:Ns.posix,value:e.groups.name,negate:!!e.groups.negate})}return t==="-"?mn(Tr.CharacterClassHyphen,t):t==="&&"?mn(Tr.CharacterClassIntersector,t):(IE(t),mn(Tr.Character,t,{value:t.codePointAt(0)}))}function OE(t,{inCharClass:e}){const n=t[1];if(n==="c"||n==="C")return PD(t);if("dDhHsSwW".includes(n))return OD(t);if(t.startsWith(Zs`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${t}"`);if(/^\\[pP]\{/.test(t)){if(t.length===3)throw new Error(`Incomplete or invalid Unicode property "${t}"`);return ID(t)}if(/^\\x[89A-Fa-f]\p{AHex}/u.test(t))try{const r=t.split(/\\x/).slice(1).map(s=>parseInt(s,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),i=new TextEncoder;return[...a].map(s=>{const o=[...i.encode(s)].map(l=>`\\x${l.toString(16)}`).join("");return mn(Tr.Character,o,{value:s.codePointAt(0)})})}catch{throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return mn(Tr.Character,t,{value:zD(t)});if(j6.has(n))return mn(Tr.Character,t,{value:j6.get(n)});if(/\d/.test(n))return mn(Tr.EscapedNumber,t,{inCharClass:e});if(t==="\\")throw new Error(Zs`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${t}"`);if([...t].length===2)return mn(Tr.Character,t,{value:t.codePointAt(1)});throw new Error(`Unexpected escape "${t}"`)}function mn(t,e,n){return{type:t,raw:e,...n}}function PD(t){const e=t[1]==="c"?t[2]:t[3];if(!e||!/[A-Za-z]/.test(e))throw new Error(`Unsupported control character "${t}"`);return mn(Tr.Character,t,{value:e.toUpperCase().codePointAt(0)-64})}function MD(t,e){let{on:n,off:r}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(t).groups;r??="";const a=(e.getCurrentModX()||n.includes("x"))&&!r.includes("x"),i=B6(n),s=B6(r),o={};if(i&&(o.enable=i),s&&(o.disable=s),t.endsWith(")"))return e.replaceCurrentModX(a),mn(Tr.Directive,t,{kind:Ym.flags,flags:o});if(t.endsWith(":")){e.pushModX(a),e.numOpenGroups++;const l=mn(Tr.GroupOpen,t,{kind:pi.group});return(i||s)&&(l.flags=o),l}throw new Error(`Unexpected flag modifier "${t}"`)}function LD(t){const e={};if(t[0]==="{"){const{min:n,max:r}=/^\{(?\d*)(?:,(?\d*))?/.exec(t).groups,a=1e5;if(+n>a||+r>a)throw new Error("Quantifier value unsupported in Oniguruma");e.min=+n,e.max=r===void 0?+n:r===""?1/0:+r,e.kind=t.endsWith("?")?Mc.lazy:Mc.greedy}else e.min=t[0]==="+"?1:0,e.max=t[0]==="?"?1:1/0,e.kind=t[1]==="+"?Mc.possessive:t[1]==="?"?Mc.lazy:Mc.greedy;return mn(Tr.Quantifier,t,e)}function OD(t){const e=t[1].toLowerCase();return mn(Tr.CharacterSet,t,{kind:{d:Ns.digit,h:Ns.hex,s:Ns.space,w:Ns.word}[e],negate:t[1]!==e})}function ID(t){const{p:e,neg:n,value:r}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(t).groups,a=e==="P"&&!n||e==="p"&&!!n;return mn(Tr.CharacterSet,t,{kind:Ns.property,value:r,negate:a})}function B6(t){const e={};return t.includes("i")&&(e.ignoreCase=!0),t.includes("m")&&(e.dotAll=!0),t.includes("x")&&(e.extended=!0),Object.keys(e).length?e:null}function kD(t){if(!/^[imxDPSW]*$/.test(t))throw new Error(`Flags "${t}" includes unsupported value`);const e={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1};for(const n of t)e[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[n]]=!0;return e}function zD(t){if(/^(?:\\u(?!\p{AHex}{4})|\\x(?!\p{AHex}{1,2}|\{\p{AHex}{1,8}\}))/u.test(t))throw new Error(`Incomplete or invalid escape "${t}"`);const e=t[2]==="{"?/^\\x\{\s*(?\p{AHex}+)/u.exec(t).groups.hex:t.slice(2);return parseInt(e,16)}function ND(t,e){const{raw:n,inCharClass:r}=t,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=e))return[mn(Tr.Backreference,n)];const i=[],s=a.match(/^[0-7]+|\d/g);for(let o=0;o127)throw new Error(Zs`Octal encoded byte above 177 unsupported "${n}"`)}else u=l.codePointAt(0);i.push(mn(Tr.Character,(o===0?"\\":"")+l,{value:u}))}return i}function IE(t){if([...t].length!==1)throw new Error(`Expected "${t}" to be a single code point`)}const jt={AbsentFunction:"AbsentFunction",Alternative:"Alternative",Assertion:"Assertion",Backreference:"Backreference",CapturingGroup:"CapturingGroup",Character:"Character",CharacterClass:"CharacterClass",CharacterClassRange:"CharacterClassRange",CharacterSet:"CharacterSet",Directive:"Directive",Flags:"Flags",Group:"Group",LookaroundAssertion:"LookaroundAssertion",Pattern:"Pattern",Quantifier:"Quantifier",Regex:"Regex",Subroutine:"Subroutine",Recursion:"Recursion"},kE={repeater:"repeater"},Un={grapheme_boundary:"grapheme_boundary",line_end:"line_end",line_start:"line_start",search_start:"search_start",string_end:"string_end",string_end_newline:"string_end_newline",string_start:"string_start",word_boundary:"word_boundary"},ea={union:"union",intersection:"intersection"},Es=Ns,du=Ym,u5=Mc,Fa={lookahead:"lookahead",lookbehind:"lookbehind"};function zE(t,e={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e,rules:{captureGroup:!1,singleline:!1,...e.rules}},r=wD(t,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a={capturingGroups:[],current:0,hasNumberedRef:!1,namedGroupsByName:new Map,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],token:null,tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:i};function i(d,m){const f=r.tokens[a.current];switch(a.parent=d,a.token=f,a.current++,f.type){case Tr.Alternator:return ga();case Tr.Assertion:return UD(f);case Tr.Backreference:return VD(a);case Tr.Character:return Jm(f.value,{useLastValid:!!m.isCheckingRangeEnd});case Tr.CharacterClassHyphen:return HD(a,m);case Tr.CharacterClassOpen:return DD(a,m);case Tr.CharacterSet:return RD(a);case Tr.Directive:return GD(Lo(du[f.kind],`Unexpected directive kind "${f.kind}"`),{flags:f.flags});case Tr.GroupOpen:return jD(a,m);case Tr.Quantifier:return BD(a);case Tr.Subroutine:return FD(a);default:throw new Error(`Unexpected token type "${f.type}"`)}}const s=JD(XD(),KD(r.flags));let o=s.pattern.alternatives[0];for(;a.currentl.length)throw new Error("Subroutine uses a group number that's not defined")}else if(p.has(d)){if(p.get(d).length>1)throw new Error(Zs`Subroutine uses a duplicate group name "\g<${d}>"`)}else throw new Error(Zs`Subroutine uses a group name that's not defined "\g<${d}>"`);return s}function VD(t){const{raw:e}=t.token,n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(i,s=!1)=>{const o=t.capturingGroups.length;let l=!1;if(i>o)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,p5(s?o+1-i:i,{orphan:l})};if(n){const i=/^(?-?)0*(?[1-9]\d*)$/.exec(r);if(i)return a(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return p5(r)}return a(+r)}function HD(t,e){const{parent:n,tokens:r,walk:a}=t,i=n.elements.at(-1),s=r[t.current];if(!e.isCheckingRangeEnd&&i&&i.type!==jt.CharacterClass&&i.type!==jt.CharacterClassRange&&s&&s.type!==Tr.CharacterClassOpen&&s.type!==Tr.CharacterClassClose&&s.type!==Tr.CharacterClassIntersector){const o=a(n,{...e,isCheckingRangeEnd:!0});if(i.type===jt.Character&&o.type===jt.Character)return n.elements.pop(),WD(i,o);throw new Error("Invalid character class range")}return Jm(45)}function DD(t,e){const{token:n,tokens:r,walk:a}=t,i=r[t.current],s=[_p()];let o=F6(i);for(;o.type!==Tr.CharacterClassClose;){if(o.type===Tr.CharacterClassIntersector)s.push(_p()),t.current++;else{const u=s.at(-1);u.elements.push(a(u,e))}o=F6(r[t.current],i)}const l=_p({negate:n.negate});return s.length===1?l.elements=s[0].elements:(l.kind=ea.intersection,l.elements=s.map(u=>u.elements.length===1?u.elements[0]:u)),t.current++,l}function RD({token:t,normalizeUnknownPropertyNames:e,skipPropertyNameValidation:n,unicodePropertyMap:r}){let{kind:a,negate:i,value:s}=t;if(a===Ns.property){const o=nf(s);if(Xm.has(o)&&!r?.has(o))a=Ns.posix,s=o;else return Lc(s,{negate:i,normalizeUnknownPropertyNames:e,skipPropertyNameValidation:n,unicodePropertyMap:r})}return a===Ns.posix?YD(s,{negate:i}):h5(a,{negate:i})}function jD(t,e){const{token:n,tokens:r,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:s,walk:o}=t;let l=qD(n);const u=l.type===jt.AbsentFunction,p=l.kind===Fa.lookbehind,h=p&&l.negate;if(l.type===jt.CapturingGroup&&(a.push(l),l.name&&xD(i,l.name,[]).push(l)),u&&e.isInAbsentFunction)throw new Error("Nested absent function not supported by Oniguruma");let d=$6(r[t.current]);for(;d.type!==Tr.GroupClose;){if(d.type===Tr.Alternator)l.alternatives.push(ga()),t.current++;else{const m=l.alternatives.at(-1),f=o(m,{...e,isInAbsentFunction:e.isInAbsentFunction||u,isInLookbehind:e.isInLookbehind||p,isInNegLookbehind:e.isInNegLookbehind||h});if(m.elements.push(f),(p||e.isInLookbehind)&&!s){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(h||e.isInNegLookbehind){if(f.kind===Fa.lookahead||f.type===jt.CapturingGroup)throw new Error(v)}else if(f.kind===Fa.lookahead||f.kind===Fa.lookbehind&&f.negate)throw new Error(v)}}d=$6(r[t.current])}return t.current++,l}function BD({token:t,parent:e}){const{min:n,max:r,kind:a}=t,i=e.elements.at(-1);if(!i||i.type===jt.Assertion||i.type===jt.Directive||i.type===jt.LookaroundAssertion)throw new Error("Quantifier requires a repeatable token");const s=HE(i,n,r,Lo(u5[a],`Unexpected quantifier kind "${a}"`));return e.elements.pop(),s}function FD(t){const{token:e,capturingGroups:n,subroutines:r}=t;let a=e.raw.slice(3,-1);const i=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(a);if(i){const o=+i.groups.num,l=n.length;if(t.hasNumberedRef=!0,a={"":o,"+":l+o,"-":l+1-o}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const s=QD(a);return r.push(s),s}function $D(t){return{type:jt.AbsentFunction,kind:t,alternatives:[ga()]}}function ga(){return{type:jt.Alternative,elements:[]}}function NE(t,e){const n={type:jt.Assertion,kind:t};return(t===Un.word_boundary||t===Un.grapheme_boundary)&&(n.negate=!!e?.negate),n}function UD({kind:t}){return NE(Lo({"^":Un.line_start,$:Un.line_end,"\\A":Un.string_start,"\\b":Un.word_boundary,"\\B":Un.word_boundary,"\\G":Un.search_start,"\\y":Un.grapheme_boundary,"\\Y":Un.grapheme_boundary,"\\z":Un.string_end,"\\Z":Un.string_end_newline}[t],`Unexpected assertion kind "${t}"`),{negate:t===Zs`\B`||t===Zs`\Y`})}function p5(t,e){const n=!!e?.orphan;return{type:jt.Backreference,ref:t,...n&&{orphan:n}}}function qD({flags:t,kind:e,name:n,negate:r,number:a}){switch(e){case pi.absent_repeater:return $D(kE.repeater);case pi.atomic:return lo({atomic:!0});case pi.capturing:return VE(a,n);case pi.group:return lo({flags:t});case pi.lookahead:case pi.lookbehind:return mu({behind:e===pi.lookbehind,negate:r});default:throw new Error(`Unexpected group kind "${e}"`)}}function VE(t,e){const n=e!==void 0;if(n&&!ZD(e))throw new Error(`Group name "${e}" invalid in Oniguruma`);return{type:jt.CapturingGroup,number:t,...n&&{name:e},alternatives:[ga()]}}function Jm(t,e){const n={useLastValid:!1,...e};if(t>1114111){const r=t.toString(16);if(n.useLastValid)t=1114111;else throw t>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:jt.Character,value:t}}function _p(t){const e={kind:ea.union,negate:!1,...t};return{type:jt.CharacterClass,kind:e.kind,negate:e.negate,elements:[]}}function WD(t,e){if(e.valuee[0].toUpperCase()+e.slice(1).toLowerCase())}function nf(t){return t.replace(/[- _]+/g,"").toLowerCase()}function F6(t,e){return Lo(t,`${e?.value===93?"Empty":"Unclosed"} character class`)}function $6(t){return Lo(t,"Unclosed group")}const Qm=String.raw,U6=Qm`(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})`,q6=Qm`\u{E0061}-\u{E007A}`,tR=()=>new RegExp(Qm`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${q6}]{2}[\u{E0030}-\u{E0039}${q6}]{1,3}\u{E007F}|${U6}(?:\u200D${U6})*`,"gu");function gu(t,e,n=null){function r(i,s){for(let o=0;oA-Za-z\-]|<[=!]|\(DEFINE\))`;function nR(t,e){for(let n=0;n=e&&t[n]++}function sR(t,e,n,r){return t.slice(0,e)+r+t.slice(e+n.length)}const Qi=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Zm(t,e,n,r){const a=new RegExp(String.raw`${e}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let s=0,o="";for(const l of t.matchAll(a)){const{0:u,groups:{$skip:p}}=l;if(!p&&(!r||r===Qi.DEFAULT==!s)){n instanceof Function?o+=n(l,{context:s?Qi.CHAR_CLASS:Qi.DEFAULT,negated:i[i.length-1]}):o+=n;continue}u[0]==="["?(s++,i.push(u[1]==="^")):u==="]"&&s&&(s--,i.pop()),o+=u}return o}function DE(t,e,n,r){Zm(t,e,n,r)}function iR(t,e,n=0,r){if(!new RegExp(e,"su").test(t))return null;const a=new RegExp(`${e}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let i=0,s;for(;s=a.exec(t);){const{0:o,groups:{$skip:l}}=s;if(!l&&(!r||r===Qi.DEFAULT==!i))return s;o==="["?i++:o==="]"&&i&&i--,a.lastIndex==s.index&&a.lastIndex++}return null}function hp(t,e,n){return!!iR(t,e,0,n)}function oR(t,e){const n=/\\?./gsu;n.lastIndex=e;let r=t.length,a=0,i=1,s;for(;s=n.exec(t);){const[o]=s;if(o==="[")a++;else if(a)o==="]"&&a--;else if(o==="(")i++;else if(o===")"&&(i--,!i)){r=s.index;break}}return t.slice(e,r)}const W6=new RegExp(String.raw`(?${rR})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function aR(t,e){const n=e?.hiddenCaptures??[];let r=e?.captureTransfers??new Map;if(!/\(\?>/.test(t))return{pattern:t,captureTransfers:r,hiddenCaptures:n};const a="(?>",i="(?:(?=(",s=[0],o=[];let l=0,u=0,p=NaN,h;do{h=!1;let d=0,m=0,f=!1,v;for(W6.lastIndex=Number.isNaN(p)?0:p+i.length;v=W6.exec(t);){const{0:C,index:E,groups:{capturingStart:x,noncapturingStart:g}}=v;if(C==="[")d++;else if(d)C==="]"&&d--;else if(C===a&&!f)p=E,f=!0;else if(f&&g)m++;else if(x)f?m++:(l++,s.push(l+u));else if(C===")"&&f){if(!m){u++;const w=l+u;if(t=`${t.slice(0,p)}${i}${t.slice(p+a.length,E)}))<$$${w}>)${t.slice(E+1)}`,h=!0,o.push(w),nR(n,w),r.size){const b=new Map;r.forEach((A,T)=>{b.set(T>=w?T+1:T,A.map(O=>O>=w?O+1:O))}),r=b}break}m--}}}while(h);return n.push(...o),t=Zm(t,String.raw`\\(?[1-9]\d*)|<\$\$(?\d+)>`,({0:d,groups:{backrefNum:m,wrappedBackrefNum:f}})=>{if(m){const v=+m;if(v>s.length-1)throw new Error(`Backref "${d}" greater than number of captures`);return`\\${s[v]}`}return`\\${f}`},Qi.DEFAULT),{pattern:t,captureTransfers:r,hiddenCaptures:n}}const RE=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Xd=new RegExp(String.raw` \\(?: \d+ | c[A-Za-z] | [gk]<[^>]+> | [pPu]\{[^\}]+\} | u[A-Fa-f\d]{4} | x[A-Fa-f\d]{2} ) | \((?: \? (?: [:=!>] | <(?:[=!]|[^>]+>) | [A-Za-z\-]+: | \(DEFINE\) ))? | (?${RE})(?[?+]?)(?[?*+\{]?) | \\?. `.replace(/\s+/g,""),"gsu");function lR(t){if(!new RegExp(`${RE}\\+`).test(t))return{pattern:t};const e=[];let n=null,r=null,a="",i=0,s;for(Xd.lastIndex=0;s=Xd.exec(t);){const{0:o,index:l,groups:{qBase:u,qMod:p,invalidQ:h}}=s;if(o==="[")i||(r=l),i++;else if(o==="]")i?i--:r=null;else if(!i)if(p==="+"&&a&&!a.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${o}"`);let d=-1;if(/^\{\d+\}$/.test(u))t=sR(t,l+u.length,p,"");else{if(a===")"||a==="]"){const m=a===")"?n:r;if(m===null)throw new Error(`Invalid unmatched "${a}"`);t=`${t.slice(0,m)}(?>${t.slice(m,l)}${u})${t.slice(l+o.length)}`}else t=`${t.slice(0,l-a.length)}(?>${a}${u})${t.slice(l+o.length)}`;d+=4}Xd.lastIndex+=d}else o[0]==="("?e.push(l):o===")"&&(n=e.length?e.pop():null);a=o}return{pattern:t}}const Xi=String.raw,cR=Xi`\\g<(?[^>&]+)&R=(?[^>]+)>`,f5=Xi`\(\?R=(?[^\)]+)\)|${cR}`,sf=Xi`\(\?<(?![=!])(?[^>]+)>`,jE=Xi`${sf}|(?\()(?!\?)`,_l=new RegExp(Xi`${sf}|${f5}|\(\?|\\?.`,"gsu"),Yd="Cannot use multiple overlapping recursions";function uR(t,e){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...e};let a=e?.captureTransfers??new Map;if(!new RegExp(f5,"su").test(t))return{pattern:t,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&hp(t,Xi`\(\?\(DEFINE\)`,Qi.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],s=hp(t,Xi`\\[1-9]`,Qi.DEFAULT),o=new Map,l=[];let u=!1,p=0,h=0,d;for(_l.lastIndex=0;d=_l.exec(t);){const{0:m,groups:{captureName:f,rDepth:v,gRNameOrNum:C,gRDepth:E}}=d;if(m==="[")p++;else if(p)m==="]"&&p--;else if(v){if(G6(v),u)throw new Error(Yd);if(s)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const x=t.slice(0,d.index),g=t.slice(_l.lastIndex);if(hp(g,f5,Qi.DEFAULT))throw new Error(Yd);const w=+v-1;t=K6(x,g,w,!1,n,i,h),a=Y6(a,x,w,i.length,0,h);break}else if(C){G6(E);let x=!1;for(const W of l)if(W.name===C||W.num===+C){if(x=!0,W.hasRecursedWithin)throw new Error(Yd);break}if(!x)throw new Error(Xi`Recursive \g cannot be used outside the referenced group "${r==="external"?C:Xi`\g<${C}&R=${E}>`}"`);const g=o.get(C),w=oR(t,g);if(s&&hp(w,Xi`${sf}|\((?!\?)`,Qi.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const b=t.slice(g,d.index),A=w.slice(b.length+m.length),T=i.length,O=+E-1,I=K6(b,A,O,!0,n,i,h);a=Y6(a,b,O,i.length-T,T,h);const z=t.slice(0,g),U=t.slice(g+w.length);t=`${z}${I}${U}`,_l.lastIndex+=I.length-m.length-b.length-A.length,l.forEach(W=>W.hasRecursedWithin=!0),u=!0}else if(f)h++,o.set(String(h),_l.lastIndex),o.set(f,_l.lastIndex),l.push({num:h,name:f});else if(m[0]==="("){const x=m==="(";x&&(h++,o.set(String(h),_l.lastIndex)),l.push(x?{num:h}:{})}else m===")"&&l.pop()}return n.push(...i),{pattern:t,captureTransfers:a,hiddenCaptures:n}}function G6(t){const e=`Max depth must be integer between 2 and 100; used ${t}`;if(!/^[1-9]\d*$/.test(t))throw new Error(e);if(t=+t,t<2||t>100)throw new Error(e)}function K6(t,e,n,r,a,i,s){const o=new Set;r&&DE(t+e,sf,({groups:{captureName:u}})=>{o.add(u)},Qi.DEFAULT);const l=[n,r?o:null,a,i,s];return`${t}${X6(`(?:${t}`,"forward",...l)}(?:)${X6(`${e})`,"backward",...l)}${e}`}function X6(t,e,n,r,a,i,s){const l=p=>e==="forward"?p+2:n-p+2-1;let u="";for(let p=0;p[^>]+)>`,({0:d,groups:{captureName:m,unnamed:f,backref:v}})=>{if(v&&r&&!r.has(v))return d;const C=`_$${h}`;if(f||m){const E=s+i.length+1;return i.push(E),pR(a,E),f?d:`(?<${m}${C}>`}return Xi`\k<${v}${C}>`},Qi.DEFAULT)}return u}function pR(t,e){for(let n=0;n=e&&t[n]++}function Y6(t,e,n,r,a,i){if(t.size&&r){let s=0;DE(e,jE,()=>s++,Qi.DEFAULT);const o=i-s+a,l=new Map;return t.forEach((u,p)=>{const h=(r-s*n)/n,d=s*n,m=p>o+s?p+r:p,f=[];for(const v of u)if(v<=o)f.push(v);else if(v>o+s+h)f.push(v+r);else if(v<=o+s)for(let C=0;C<=n;C++)f.push(v+s*C);else for(let C=0;C<=n;C++)f.push(v+d+h*C);l.set(m,f)}),l}return t}var Us=String.fromCodePoint,Zr=String.raw,i1={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};i1.literalHyphenIncorrectlyCreatesRange=(()=>{if(!i1.unicodeSets)return!1;try{new RegExp(Zr`[\d\-a]`,"v")}catch{return!0}return!1})();function mh(t,{enable:e,disable:n}){return{dotAll:!n?.dotAll&&!!(e?.dotAll||t.dotAll),ignoreCase:!n?.ignoreCase&&!!(e?.ignoreCase||t.ignoreCase)}}function qu(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}function d5(t,e){return J6[t]>=J6[e]}function hR(t,e){if(!t)throw new Error("Value expected");return t}var J6={ES2025:2025,ES2024:2024,ES2018:2018},fR={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function BE(t={}){if({}.toString.call(t)!=="[object Object]")throw new Error("Unexpected options");if(t.target!==void 0&&!fR[t.target])throw new Error(`Unexpected target "${t.target}"`);const e={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...t,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...t.rules}};return e.target==="auto"&&(e.target=i1.flagGroups?"ES2025":i1.unicodeSets?"ES2024":"ES2018"),e}var dR="[ -\r ]",Jo=Zr`[\p{L}\p{M}\p{N}\p{Pc}]`,mR=new Set([Us(304),Us(305)]);function FE(t){if(mR.has(t))return[t];const e=new Set,n=t.toLowerCase(),r=n.toUpperCase(),a=yR.get(n),i=gR.get(n),s=vR.get(n);return[...r].length===1&&e.add(r),s&&e.add(s),a&&e.add(a),e.add(n),i&&e.add(i),[...e]}var e4=new Map(`C Other Cc Control cntrl Cf Format Cn Unassigned Co Private_Use Cs Surrogate L Letter LC Cased_Letter Ll Lowercase_Letter Lm Modifier_Letter Lo Other_Letter Lt Titlecase_Letter Lu Uppercase_Letter M Mark Combining_Mark Mc Spacing_Mark Me Enclosing_Mark Mn Nonspacing_Mark N Number Nd Decimal_Number digit Nl Letter_Number No Other_Number P Punctuation punct Pc Connector_Punctuation Pd Dash_Punctuation Pe Close_Punctuation Pf Final_Punctuation Pi Initial_Punctuation Po Other_Punctuation Ps Open_Punctuation S Symbol Sc Currency_Symbol Sk Modifier_Symbol Sm Math_Symbol So Other_Symbol Z Separator Zl Line_Separator Zp Paragraph_Separator Zs Space_Separator ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component EComp Emoji_Modifier EMod Emoji_Modifier_Base EBase Emoji_Presentation EPres Extended_Pictographic ExtPict Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS`.split(/\s/).map(t=>[nf(t),t])),gR=new Map([["s",Us(383)],[Us(383),"s"]]),vR=new Map([[Us(223),Us(7838)],[Us(107),Us(8490)],[Us(229),Us(8491)],[Us(969),Us(8486)]]),yR=new Map([ka(453),ka(456),ka(459),ka(498),...Jd(8072,8079),...Jd(8088,8095),...Jd(8104,8111),ka(8124),ka(8140),ka(8188)]),bR=new Map([["alnum",Zr`[\p{Alpha}\p{Nd}]`],["alpha",Zr`\p{Alpha}`],["ascii",Zr`\p{ASCII}`],["blank",Zr`[\p{Zs}\t]`],["cntrl",Zr`\p{Cc}`],["digit",Zr`\p{Nd}`],["graph",Zr`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Zr`\p{Lower}`],["print",Zr`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Zr`[\p{P}\p{S}]`],["space",Zr`\p{space}`],["upper",Zr`\p{Upper}`],["word",Zr`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Zr`\p{AHex}`]]);function CR(t,e){const n=[];for(let r=t;r<=e;r++)n.push(r);return n}function ka(t){const e=Us(t);return[e.toLowerCase(),e]}function Jd(t,e){return CR(t,e).map(n=>ka(n))}var $E=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function ER(t,e){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...e};UE(t);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:d5(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:t.flags.digitIsAscii,spaceIsAscii:t.flags.spaceIsAscii,wordIsAscii:t.flags.wordIsAscii};gu(t,SR,r);const a={dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},i={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};gu(t,xR,i);const s={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return gu(t,wR,s),t._originMap=i.groupOriginByCopy,t._strategy=r.strategy,t}var SR={AbsentFunction({node:t,parent:e,replaceWith:n}){const{kind:r,alternatives:a}=t;if(r===kE.repeater){const i=Zo(lo(),[o1(mu({negate:!0}),a),Lc("Any")]),s=HE(i,0,1/0);i.parent=s,n($n(Zo(lo(),[s]),e),{traverse:!0})}else throw new Error(`Unexpected absent function kind "${r}"`)},Alternative:{enter({node:t,parent:e,key:n},{flagDirectivesByAlt:r}){const a=t.elements.filter(i=>i.kind===du.flags);for(let i=n+1;i\r\n|${h}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(l===Es.hex)n($n(Lc("AHex",{negate:u}),e));else if(l===Es.newline)n($n(wo(u?`[^ ]`:`(?>\r ?|[ \v\f…\u2028\u2029])`),e));else if(l===Es.posix)if(!a&&(p==="graph"||p==="print")){if(r==="strict")throw new Error(`POSIX class "${p}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[p];u&&(h=`\0-${Us(h.codePointAt(0)-1)}${Us(h.codePointAt(2)+1)}-􏿿`),n($n(wo(`[${h}]`),e))}else n($n(e0(wo(bR.get(p)),u),e));else if(l===Es.property)e4.has(nf(p))||(t.key="sc");else if(l===Es.space)n($n(Lc("space",{negate:u}),e));else if(l===Es.word)n($n(e0(wo(Jo),u),e));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:t,parent:e,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:s}){const{kind:o,flags:l}=t;if(o===du.flags)!l.enable&&!l.disable?r():a($n(Zo(lo({flags:l}),s()),e),{traverse:!0});else if(o===du.keep){const u=n.pattern.alternatives[0].elements[0],h=YE(n.pattern,d=>d.type===jt.Group)&&u.alternatives.length===1?u:n.pattern;if(e.parent!==h||h.alternatives.length>1)throw new Error(Zr`Uses "\K" in a way that's unsupported`);a($n(Zo(mu({behind:!0}),i()),e))}else throw new Error(`Unexpected directive kind "${o}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii"].forEach(n=>delete t[n]),Object.assign(t,{global:!1,hasIndices:!1,multiline:!1,sticky:t.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:t}){if(!t.flags)return;const{enable:e,disable:n}=t.flags;e?.extended&&delete e.extended,n?.extended&&delete n.extended,e?.dotAll&&n?.dotAll&&delete e.dotAll,e?.ignoreCase&&n?.ignoreCase&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete t.flags.enable,n&&!Object.keys(n).length&&delete t.flags.disable,!t.flags.enable&&!t.flags.disable&&delete t.flags},LookaroundAssertion({node:t},e){const{kind:n}=t;n===Fa.lookbehind&&(e.passedLookbehind=!0)},Pattern:{enter({node:t},{supportedGNodes:e}){const n=[];let r=!1,a=!1;for(const i of t.alternatives)if(i.elements.length===1&&i.elements[0].kind===Un.search_start)i.elements.pop();else{const s=KE(i.elements);s?(r=!0,Array.isArray(s)?n.push(...s):n.push(s)):a=!0}r&&!a&&n.forEach(i=>e.add(i))},exit(t,{accuracy:e,passedLookbehind:n,strategy:r}){if(e==="strict"&&n&&r)throw new Error(Zr`Uses "\G" in a way that requires non-strict accuracy`)}},Quantifier({node:t}){if(t.element.type===jt.Quantifier){const e=$n(Zo(lo(),[t.element]),t);t.element=e}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:n}=t;typeof n=="string"&&!Zd(n)&&(n=Qd(n,e),t.ref=n)}},xR={Backreference({node:t},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=t;r||n.set(t,[...e.get(a).map(({node:i})=>i)])},CapturingGroup:{enter({node:t,parent:e,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:i,multiplexCapturesToLeftByRef:s,openRefs:o,reffedNodesByReferencer:l}){const u=a.get(t);if(u&&o.has(t.number)){const h=$n(Q6(t.number),e);l.set(h,o.get(t.number)),n(h);return}o.set(t.number,t),s.set(t.number,[]),t.name&&qu(s,t.name,[]);const p=s.get(t.name??t.number);for(let h=0;hh.type===jt.Group&&!!h.flags)),p=u?mh(r.globalFlags,u):r.globalFlags;TR(p,r.currentFlags)||(l=Zo(lo({flags:PR(p)}),[o]))}n($n(l,e),{traverse:!s})}},wR={Backreference({node:t,parent:e,replaceWith:n},r){if(t.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,t.ref);return}const i=r.reffedNodesByReferencer.get(t).filter(s=>_R(s,t));if(!i.length)n($n(Zo(mu({negate:!0})),e));else if(i.length>1){const s=i.map(o=>o1(ga(),[p5(o.number)]));n($n(o1(lo(),s),e))}else t.ref=i[0].number},CapturingGroup({node:t},e){t.number=++e.numCapturesToLeft,t.name&&e.groupsByName.get(t.name).get(t).hasDuplicateNameToRemove&&delete t.name},Recursion({node:t},e){t.ref!==0&&(t.ref=e.reffedNodesByReferencer.get(t).number)},Regex:{exit({node:t},e){const n=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let r=0;rn.parent=t),t[t4(t)]=e,t}function TR(t,e){return t.dotAll===e.dotAll&&t.ignoreCase===e.ignoreCase}function _R(t,e){let n=e;do{if(n.type===jt.Pattern)return!1;if(n.type===jt.Alternative)continue;if(n===t)return!1;const r=GE(n.parent);for(const a of r){if(a===n)break;if(a===t||XE(a,t))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function qE(t,e,n,r){const a=Array.isArray(t)?[]:{};for(const[i,s]of Object.entries(t))i==="parent"?a.parent=Array.isArray(n)?r:n:s&&typeof s=="object"?a[i]=qE(s,e,a,n):(i==="type"&&s===jt.CapturingGroup&&e.set(a,e.get(t)??t),a[i]=s);return a}function Q6(t){return{type:jt.Recursion,ref:t}}function AR(t,e){const n=[];for(;t=t.parent;)(!e||e(t))&&n.push(t);return n}function Qd(t,e){if(e.has(t))return e.get(t);const n=`$${e.size}_${t.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return e.set(t,n),n}function t4(t){for(const e of["alternatives","elements"])if(t[e])return e;return null}function WE(t){const e=["dotAll","ignoreCase"],n={enable:{},disable:{}};return t.forEach(({flags:r})=>{e.forEach(a=>{r.enable?.[a]&&(delete n.disable[a],n.enable[a]=!0),r.disable?.[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function PR({dotAll:t,ignoreCase:e}){const n={};return(t||e)&&(n.enable={},t&&(n.enable.dotAll=!0),e&&(n.enable.ignoreCase=!0)),(!t||!e)&&(n.disable={},!t&&(n.disable.dotAll=!0),!e&&(n.disable.ignoreCase=!0)),n}function GE(t){if(!t)throw new Error("Node expected");if(t.type===jt.Quantifier)return[t.element];const e=t4(t);return e&&t[e]}function KE(t){const e=t.find(n=>n.kind===Un.search_start||OR(n,{negate:!1})||!MR(n));if(!e)return null;if(e.kind===Un.search_start)return e;if(e.type===jt.LookaroundAssertion)return e.alternatives[0].elements[0];if(e.type===jt.CapturingGroup||e.type===jt.Group){const n=[];for(const r of e.alternatives){const a=KE(r.elements);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function XE(t,e){const n=GE(t)??[];for(const r of n)if(r===e||XE(r,e))return!0;return!1}function YE({alternatives:t},e){return t.length===1&&t[0].elements.length===1&&(!e||e(t[0].elements[0]))}function MR({type:t}){return t===jt.Assertion||t===jt.Directive||t===jt.LookaroundAssertion}function LR(t){const e=[jt.Character,jt.CharacterClass,jt.CharacterSet];return e.includes(t.type)||t.type===jt.Quantifier&&t.min&&e.includes(t.element.type)}function OR(t,e){const n={negate:null,...e};return t.type===jt.LookaroundAssertion&&(n.negate===null||t.negate===n.negate)&&YE(t,r=>r.kind===Un.search_start)}function Zd(t){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(t)}function wo(t,e){const n=zE(t,{...e,unicodePropertyMap:e4});UE(n);const r=n.pattern.alternatives;return r.length>1||r[0].elements.length>1?o1(lo(),r):r[0].elements[0]}function Zo(t,e){const n=t4(t);return t[n][0].parent=t,e&&o1(t[n][0],e),t}function e0(t,e){return t.negate=e,t}function $n(t,e){return t.parent=e,t}function IR(t,e){const n=BE(e),r=d5(n.target,"ES2024"),a=d5(n.target,"ES2025"),i=n.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let s=null,o=null;if(!a){const m=[t.flags.ignoreCase];gu(t,kR,{getCurrentModI:()=>m.at(-1),popModI(){m.pop()},pushModI(f){m.push(f)},setHasCasedChar(){m.at(-1)?s=!0:o=!0}})}const l={dotAll:t.flags.dotAll,ignoreCase:!!((t.flags.ignoreCase||s)&&!o)};let u=null;const p={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:t._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&s&&o),useFlagMods:a,useFlagV:r,verbose:n.verbose};function h(m){switch(p.lastNode=u,u=m,m.type){case jt.Regex:return{pattern:h(m.pattern),flags:h(m.flags),options:{...m.options}};case jt.Alternative:return m.elements.map(h).join("");case jt.Assertion:return DR(m);case jt.Backreference:return RR(m,p);case jt.CapturingGroup:return jR(m,p,h);case jt.Character:return BR(m,p);case jt.CharacterClass:return FR(m,p,h);case jt.CharacterClassRange:return $R(m,p);case jt.CharacterSet:return UR(m,p);case jt.Flags:return qR(m,p);case jt.Group:return WR(m,p,h);case jt.LookaroundAssertion:return GR(m,p,h);case jt.Pattern:return m.alternatives.map(h).join("|");case jt.Quantifier:return h(m.element)+JR(m);case jt.Recursion:return KR(m,p);default:throw new Error(`Unexpected node type "${m.type}"`)}}const d=h(t);return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=new Map,d._hiddenCaptures=[],p.captureMap.forEach((m,f)=>{m.hidden&&d._hiddenCaptures.push(f),m.transferTo&&qu(d._captureTransfers,m.transferTo,[]).push(f)}),d}var kR={"*":{enter({node:t},e){if(ey(t)){const n=e.getCurrentModI();e.pushModI(t.flags?mh({ignoreCase:n},t.flags).ignoreCase:n)}},exit({node:t},e){ey(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){r4(Us(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},n){e(),JE(t,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:t},e){t.kind===Es.property&&$E.has(t.value)&&e.setHasCasedChar()}},zR=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),NR=new Set(["-","\\","]","^","["]),VR=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Z6=new Map([[9,Zr`\t`],[10,Zr`\n`],[11,Zr`\v`],[12,Zr`\f`],[13,Zr`\r`],[8232,Zr`\u2028`],[8233,Zr`\u2029`],[65279,Zr`\uFEFF`]]),HR=/^\p{Cased}$/u;function r4(t){return HR.test(t)}function DR({kind:t,negate:e}){if(t===Un.string_end)return"$";if(t===Un.string_start)return"^";if(t===Un.word_boundary)return e?Zr`\B`:Zr`\b`;throw new Error(`Unexpected assertion kind "${t}"`)}function RR({ref:t},e){if(typeof t!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(t).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+t}function jR(t,e,n){const{name:r,number:a,alternatives:i}=t,s={ignoreCase:e.currentFlags.ignoreCase},o=e.originMap.get(t);return o&&(s.hidden=!0,a>o.number&&(s.transferTo=o.number)),e.captureMap.set(a,s),`(${r?`?<${r}>`:""}${i.map(n).join("|")})`}function BR({value:t},e){const n=Us(t),r=Oc(t,{escDigit:e.lastNode.type===jt.Backreference,inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(r!==n)return r;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&r4(n)){const a=FE(n);return e.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n}function FR(t,e,n){const{kind:r,negate:a,parent:i}=t;let{elements:s}=t;if(r===ea.intersection&&!e.useFlagV)throw new Error("Use of class intersection requires min target ES2024");i1.literalHyphenIncorrectlyCreatesRange&&e.useFlagV&&s.some(ty)&&(s=s.filter(u=>!ty(u)),s.push(Jm(45)));const o=()=>`[${a?"^":""}${s.map(n).join(r===ea.intersection?"&&":"")}]`;if(!e.inCharClass){if(!e.useFlagV&&!a){const p=s.filter(h=>h.type===jt.CharacterClass&&h.kind===ea.union&&h.negate);if(p.length){const h=lo(),d=h.alternatives[0];return h.parent=i,d.parent=h,s=s.filter(m=>!p.includes(m)),t.elements=s,s.length?(t.parent=d,d.elements.push(t)):h.alternatives.pop(),p.forEach(m=>{const f=ga();f.parent=h,m.parent=f,f.elements.push(m),h.alternatives.push(f)}),n(h)}}e.inCharClass=!0;const u=o();return e.inCharClass=!1,u}const l=s[0];if(r===ea.union&&!a&&l&&((!e.useFlagV||!e.verbose)&&i.kind===ea.union&&!(i1.literalHyphenIncorrectlyCreatesRange&&e.useFlagV)||!e.verbose&&i.kind===ea.intersection&&s.length===1&&l.type!==jt.CharacterClassRange))return s.map(n).join("");if(!e.useFlagV&&i.type===jt.CharacterClass)throw new Error("Use of nested character class requires min target ES2024");return o()}function $R(t,e){const n=t.min.value,r=t.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},i=Oc(n,a),s=Oc(r,a),o=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){const l=JE(t);XR(l).forEach(p=>{o.add(Array.isArray(p)?`${Oc(p[0],a)}-${Oc(p[1],a)}`:Oc(p,a))})}return`${i}-${s}${[...o].join("")}`}function UR({kind:t,negate:e,value:n,key:r},a){if(t===Es.dot)return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":Zr`[^\n]`;if(t===Es.digit)return e?Zr`\D`:Zr`\d`;if(t===Es.property){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&$E.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${e?Zr`\P`:Zr`\p`}{${r?`${r}=`:""}${n}}`}if(t===Es.word)return e?Zr`\W`:Zr`\w`;throw new Error(`Unexpected character set kind "${t}"`)}function qR(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")}function WR({atomic:t,flags:e,parent:n,alternatives:r},a,i){const s=a.currentFlags;e&&(a.currentFlags=mh(s,e));const o=r.map(i).join("|"),l=!a.verbose&&r.length===1&&n.type!==jt.Quantifier&&!t&&(!a.useFlagMods||!e)?o:`(?${YR(t,e,a.useFlagMods)}${o})`;return a.currentFlags=s,l}function GR({kind:t,negate:e,alternatives:n},r,a){return`(?${`${t===Fa.lookahead?"":"<"}${e?"!":"="}`}${n.map(a).join("|")})`}function KR({ref:t},e){const n=e.recursionLimit;return t===0?`(?R=${n})`:Zr`\g<${t}&R=${n}>`}function JE(t,e){const n=!!e?.firstOnly,r=t.min.value,a=t.max.value,i=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return i;for(let s=r;s<=a;s++){const o=Us(s);if(!r4(o))continue;const l=FE(o).filter(u=>{const p=u.codePointAt(0);return pa});if(l.length&&(i.push(...l),n))break}return i}function Oc(t,{escDigit:e,inCharClass:n,useFlagV:r}){if(Z6.has(t))return Z6.get(t);if(t<32||t>126&&t<160||t>262143||e&&QR(t))return t>255?`\\u{${t.toString(16).toUpperCase()}}`:`\\x${t.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?VR:NR:zR,i=Us(t);return(a.has(i)?"\\":"")+i}function XR(t){const e=t.map(a=>a.codePointAt(0)).sort((a,i)=>a-i),n=[];let r=null;for(let a=0;a";let r="";if(e&&n){const{enable:a,disable:i}=e;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(i?"-":"")+(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")}return`${r}:`}function JR({min:t,max:e,kind:n}){let r;return!t&&e===1?r="?":!t&&e===1/0?r="*":t===1&&e===1/0?r="+":t===e?r=`{${t}}`:r=`{${t},${e===1/0?"":e}}`,r+{greedy:"",lazy:"?",possessive:"+"}[n]}function ey({type:t}){return t===jt.Group||t===jt.CapturingGroup||t===jt.LookaroundAssertion}function QR(t){return t>47&&t<58}function ty({type:t,value:e}){return t===jt.Character&&e===45}var ZR=class m5 extends RegExp{#r=new Map;#n=null;#c;#t=null;#i=null;rawOptions={};get source(){return this.#c||"(?:)"}constructor(e,n,r){const a=!!r?.lazyCompile;if(e instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const i=e;super(i,n),this.#c=i.source,i instanceof m5&&(this.#r=i.#r,this.#t=i.#t,this.#i=i.#i,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":e,n),this.#c=e,this.#r=tj(i.hiddenCaptures,i.transfers),this.#i=i.strategy,this.rawOptions=r??{}}a||(this.#n=this)}exec(e){if(!this.#n){const{lazyCompile:a,...i}=this.rawOptions;this.#n=new m5(this.#c,this.flags,i)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#i==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#o(e.slice(r));return a&&(ej(a,r,e,this.hasIndices),this.lastIndex+=r),a}return this.#o(e)}#o(e){this.#n.lastIndex=this.lastIndex;const n=super.exec.call(this.#n,e);if(this.lastIndex=this.#n.lastIndex,!n||!this.#r.size)return n;const r=[...n];n.length=1;let a;this.hasIndices&&(a=[...n.indices],n.indices.length=1);const i=[0];for(let s=1;s{const o=i[s];o&&(i[s]=[o[0]+e,o[1]+e])})}}function tj(t,e){const n=new Map;for(const r of t)n.set(r,{hidden:!0});for(const[r,a]of e)for(const i of a)qu(n,i,{}).transferTo=r;return n}function rj(t){const e=/(?\((?:\?<(?![=!])(?[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,i;for(;i=e.exec(t);){const{0:s,groups:{capture:o,name:l}}=i;s==="["?r++:r?s==="]"&&r--:o&&(a++,l&&n.set(a,l))}return n}function nj(t,e){const n=sj(t,e);return n.options?new ZR(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function sj(t,e){const n=BE(e),r=zE(t,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:e4}),a=ER(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=IR(a,n),s=uR(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),o=lR(s.pattern),l=aR(o.pattern,{captureTransfers:s.captureTransfers,hiddenCaptures:s.hiddenCaptures}),u={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const p=l.hiddenCaptures.sort((f,v)=>f-v),h=Array.from(l.captureTransfers),d=a._strategy,m=u.pattern.length>=n.lazyCompileLength;(p.length||h.length||d||m)&&(u.options={...p.length&&{hiddenCaptures:p},...h.length&&{transfers:h},...d&&{strategy:d},...m&&{lazyCompile:m}})}return u}const ry=4294967295;class ij{constructor(e,n={}){this.patterns=e,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:i}=n;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const o=a?.get(s);if(o){if(o instanceof RegExp)return o;if(r)return null;throw o}try{const l=i(s);return a?.set(s,l),l}catch(l){if(a?.set(s,l),r)return null;throw l}})}regexps;findNextMatchSync(e,n,r){const a=typeof e=="string"?e:e.content,i=[];function s(o,l,u=0){return{index:o,captureIndices:l.indices.map(p=>p==null?{start:ry,end:ry,length:0}:{start:p[0]+u,end:p[1]+u,length:p[1]-p[0]})}}for(let o=0;ol[1].index));for(const[l,u,p]of i)if(u.index===o)return s(l,u,p)}return null}}function oj(t,e){return nj(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function aj(t={}){const e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||=n=>oj(n,{target:e.target}),{createScanner(n){return new ij(n,e)},createString(n){return{content:n}}}}const lj={"baseline-10k":'',"baseline-10mp":'',"baseline-11mp":'',"baseline-123":'',"baseline-12mp":'',"baseline-13mp":'',"baseline-14mp":'',"baseline-15mp":'',"baseline-16mp":'',"baseline-17mp":'',"baseline-18-up-rating":'',"baseline-18mp":'',"baseline-19mp":'',"baseline-1k":'',"baseline-1k-plus":'',"baseline-1x-mobiledata":'',"baseline-20mp":'',"baseline-21mp":'',"baseline-22mp":'',"baseline-23mp":'',"baseline-24mp":'',"baseline-2k":'',"baseline-2k-plus":'',"baseline-2mp":'',"baseline-30fps":'',"baseline-30fps-select":'',"baseline-360":'',"baseline-3d-rotation":'',"baseline-3g-mobiledata":'',"baseline-3k":'',"baseline-3k-plus":'',"baseline-3mp":'',"baseline-3p":'',"baseline-4g-mobiledata":'',"baseline-4g-plus-mobiledata":'',"baseline-4k":'',"baseline-4k-plus":'',"baseline-4mp":'',"baseline-5g":'',"baseline-5k":'',"baseline-5k-plus":'',"baseline-5mp":'',"baseline-6-ft-apart":'',"baseline-60fps":'',"baseline-60fps-select":'',"baseline-6k":'',"baseline-6k-plus":'',"baseline-6mp":'',"baseline-7k":'',"baseline-7k-plus":'',"baseline-7mp":'',"baseline-8k":'',"baseline-8k-plus":'',"baseline-8mp":'',"baseline-9k":'',"baseline-9k-plus":'',"baseline-9mp":'',"baseline-abc":'',"baseline-ac-unit":'',"baseline-access-alarm":'',"baseline-access-alarms":'',"baseline-access-time":'',"baseline-access-time-filled":'',"baseline-accessibility":'',"baseline-accessibility-new":'',"baseline-accessible":'',"baseline-accessible-forward":'',"baseline-account-balance":'',"baseline-account-balance-wallet":'',"baseline-account-box":'',"baseline-account-circle":'',"baseline-account-tree":'',"baseline-ad-units":'',"baseline-adb":'',"baseline-add":'',"baseline-add-a-photo":'',"baseline-add-alarm":'',"baseline-add-alert":'',"baseline-add-box":'',"baseline-add-business":'',"baseline-add-card":'',"baseline-add-chart":'',"baseline-add-circle":'',"baseline-add-circle-outline":'',"baseline-add-comment":'',"baseline-add-home":'',"baseline-add-home-work":'',"baseline-add-ic-call":'',"baseline-add-link":'',"baseline-add-location":'',"baseline-add-location-alt":'',"baseline-add-moderator":'',"baseline-add-photo-alternate":'',"baseline-add-reaction":'',"baseline-add-road":'',"baseline-add-shopping-cart":'',"baseline-add-task":'',"baseline-add-to-drive":'',"baseline-add-to-home-screen":'',"baseline-add-to-photos":'',"baseline-add-to-queue":'',"baseline-addchart":'',"baseline-adf-scanner":'',"baseline-adjust":'',"baseline-admin-panel-settings":'',"baseline-adobe":'',"baseline-ads-click":'',"baseline-agriculture":'',"baseline-air":'',"baseline-airline-seat-flat":'',"baseline-airline-seat-flat-angled":'',"baseline-airline-seat-individual-suite":'',"baseline-airline-seat-legroom-extra":'',"baseline-airline-seat-legroom-normal":'',"baseline-airline-seat-legroom-reduced":'',"baseline-airline-seat-recline-extra":'',"baseline-airline-seat-recline-normal":'',"baseline-airline-stops":'',"baseline-airlines":'',"baseline-airplane-ticket":'',"baseline-airplanemode-active":'',"baseline-airplanemode-inactive":'',"baseline-airplay":'',"baseline-airport-shuttle":'',"baseline-alarm":'',"baseline-alarm-add":'',"baseline-alarm-off":'',"baseline-alarm-on":'',"baseline-album":'',"baseline-align-horizontal-center":'',"baseline-align-horizontal-left":'',"baseline-align-horizontal-right":'',"baseline-align-vertical-bottom":'',"baseline-align-vertical-center":'',"baseline-align-vertical-top":'',"baseline-all-inbox":'',"baseline-all-inclusive":'',"baseline-all-out":'',"baseline-alt-route":'',"baseline-alternate-email":'',"baseline-amp-stories":'',"baseline-analytics":'',"baseline-anchor":'',"baseline-android":'',"baseline-animation":'',"baseline-announcement":'',"baseline-aod":'',"baseline-apartment":'',"baseline-api":'',"baseline-app-blocking":'',"baseline-app-registration":'',"baseline-app-settings-alt":'',"baseline-app-shortcut":'',"baseline-apple":'',"baseline-approval":'',"baseline-apps":'',"baseline-apps-outage":'',"baseline-architecture":'',"baseline-archive":'',"baseline-area-chart":'',"baseline-arrow-back":'',"baseline-arrow-back-ios":'',"baseline-arrow-back-ios-new":'',"baseline-arrow-circle-down":'',"baseline-arrow-circle-left":'',"baseline-arrow-circle-right":'',"baseline-arrow-circle-up":'',"baseline-arrow-downward":'',"baseline-arrow-drop-down":'',"baseline-arrow-drop-down-circle":'',"baseline-arrow-drop-up":'',"baseline-arrow-forward":'',"baseline-arrow-forward-ios":'',"baseline-arrow-left":'',"baseline-arrow-outward":'',"baseline-arrow-right":'',"baseline-arrow-right-alt":'',"baseline-arrow-upward":'',"baseline-art-track":'',"baseline-article":'',"baseline-aspect-ratio":'',"baseline-assessment":'',"baseline-assignment":'',"baseline-assignment-ind":'',"baseline-assignment-late":'',"baseline-assignment-return":'',"baseline-assignment-returned":'',"baseline-assignment-turned-in":'',"baseline-assist-walker":'',"baseline-assistant":'',"baseline-assistant-direction":'',"baseline-assistant-photo":'',"baseline-assured-workload":'',"baseline-atm":'',"baseline-attach-email":'',"baseline-attach-file":'',"baseline-attach-money":'',"baseline-attachment":'',"baseline-attractions":'',"baseline-attribution":'',"baseline-audio-file":'',"baseline-audiotrack":'',"baseline-auto-awesome":'',"baseline-auto-awesome-mosaic":'',"baseline-auto-awesome-motion":'',"baseline-auto-delete":'',"baseline-auto-fix-high":'',"baseline-auto-fix-normal":'',"baseline-auto-fix-off":'',"baseline-auto-graph":'',"baseline-auto-mode":'',"baseline-auto-stories":'',"baseline-autofps-select":'',"baseline-autorenew":'',"baseline-av-timer":'',"baseline-baby-changing-station":'',"baseline-back-hand":'',"baseline-backpack":'',"baseline-backspace":'',"baseline-backup":'',"baseline-backup-table":'',"baseline-badge":'',"baseline-bakery-dining":'',"baseline-balance":'',"baseline-balcony":'',"baseline-ballot":'',"baseline-bar-chart":'',"baseline-barcode":'',"baseline-batch-prediction":'',"baseline-bathroom":'',"baseline-bathtub":'',"baseline-battery-0-bar":'',"baseline-battery-1-bar":'',"baseline-battery-2-bar":'',"baseline-battery-20":'',"baseline-battery-3-bar":'',"baseline-battery-30":'',"baseline-battery-4-bar":'',"baseline-battery-5-bar":'',"baseline-battery-50":'',"baseline-battery-6-bar":'',"baseline-battery-60":'',"baseline-battery-80":'',"baseline-battery-90":'',"baseline-battery-alert":'',"baseline-battery-charging-20":'',"baseline-battery-charging-30":'',"baseline-battery-charging-50":'',"baseline-battery-charging-60":'',"baseline-battery-charging-80":'',"baseline-battery-charging-90":'',"baseline-battery-charging-full":'',"baseline-battery-full":'',"baseline-battery-saver":'',"baseline-battery-std":'',"baseline-battery-unknown":'',"baseline-beach-access":'',"baseline-bed":'',"baseline-bedroom-baby":'',"baseline-bedroom-child":'',"baseline-bedroom-parent":'',"baseline-bedtime":'',"baseline-bedtime-off":'',"baseline-beenhere":'',"baseline-bento":'',"baseline-bike-scooter":'',"baseline-biotech":'',"baseline-blender":'',"baseline-blind":'',"baseline-blinds":'',"baseline-blinds-closed":'',"baseline-block":'',"baseline-bloodtype":'',"baseline-bluetooth":'',"baseline-bluetooth-audio":'',"baseline-bluetooth-connected":'',"baseline-bluetooth-disabled":'',"baseline-bluetooth-drive":'',"baseline-bluetooth-searching":'',"baseline-blur-circular":'',"baseline-blur-linear":'',"baseline-blur-off":'',"baseline-blur-on":'',"baseline-bolt":'',"baseline-book":'',"baseline-book-online":'',"baseline-bookmark":'',"baseline-bookmark-add":'',"baseline-bookmark-added":'',"baseline-bookmark-border":'',"baseline-bookmark-remove":'',"baseline-bookmarks":'',"baseline-border-all":'',"baseline-border-bottom":'',"baseline-border-clear":'',"baseline-border-color":'',"baseline-border-horizontal":'',"baseline-border-inner":'',"baseline-border-left":'',"baseline-border-outer":'',"baseline-border-right":'',"baseline-border-style":'',"baseline-border-top":'',"baseline-border-vertical":'',"baseline-boy":'',"baseline-branding-watermark":'',"baseline-breakfast-dining":'',"baseline-brightness-1":'',"baseline-brightness-2":'',"baseline-brightness-3":'',"baseline-brightness-4":'',"baseline-brightness-5":'',"baseline-brightness-6":'',"baseline-brightness-7":'',"baseline-brightness-auto":'',"baseline-brightness-high":'',"baseline-brightness-low":'',"baseline-brightness-medium":'',"baseline-broadcast-on-home":'',"baseline-broadcast-on-personal":'',"baseline-broken-image":'',"baseline-browse-gallery":'',"baseline-browser-not-supported":'',"baseline-browser-updated":'',"baseline-brunch-dining":'',"baseline-brush":'',"baseline-bubble-chart":'',"baseline-bug-report":'',"baseline-build":'',"baseline-build-circle":'',"baseline-bungalow":'',"baseline-burst-mode":'',"baseline-bus-alert":'',"baseline-business":'',"baseline-business-center":'',"baseline-cabin":'',"baseline-cable":'',"baseline-cached":'',"baseline-cake":'',"baseline-calculate":'',"baseline-calendar-month":'',"baseline-calendar-today":'',"baseline-calendar-view-day":'',"baseline-calendar-view-month":'',"baseline-calendar-view-week":'',"baseline-call":'',"baseline-call-end":'',"baseline-call-made":'',"baseline-call-merge":'',"baseline-call-missed":'',"baseline-call-missed-outgoing":'',"baseline-call-received":'',"baseline-call-split":'',"baseline-call-to-action":'',"baseline-camera":'',"baseline-camera-alt":'',"baseline-camera-enhance":'',"baseline-camera-front":'',"baseline-camera-indoor":'',"baseline-camera-outdoor":'',"baseline-camera-rear":'',"baseline-camera-roll":'',"baseline-cameraswitch":'',"baseline-campaign":'',"baseline-cancel":'',"baseline-cancel-presentation":'',"baseline-cancel-schedule-send":'',"baseline-candlestick-chart":'',"baseline-car-crash":'',"baseline-car-rental":'',"baseline-car-repair":'',"baseline-card-giftcard":'',"baseline-card-membership":'',"baseline-card-travel":'',"baseline-carpenter":'',"baseline-cases":'',"baseline-casino":'',"baseline-cast":'',"baseline-cast-connected":'',"baseline-cast-for-education":'',"baseline-castle":'',"baseline-catching-pokemon":'',"baseline-category":'',"baseline-celebration":'',"baseline-cell-tower":'',"baseline-cell-wifi":'',"baseline-center-focus-strong":'',"baseline-center-focus-weak":'',"baseline-chair":'',"baseline-chair-alt":'',"baseline-chalet":'',"baseline-change-circle":'',"baseline-change-history":'',"baseline-charging-station":'',"baseline-chat":'',"baseline-chat-bubble":'',"baseline-chat-bubble-outline":'',"baseline-check":'',"baseline-check-box":'',"baseline-check-box-outline-blank":'',"baseline-check-circle":'',"baseline-check-circle-outline":'',"baseline-checklist":'',"baseline-checklist-rtl":'',"baseline-checkroom":'',"baseline-chevron-left":'',"baseline-chevron-right":'',"baseline-child-care":'',"baseline-child-friendly":'',"baseline-chrome-reader-mode":'',"baseline-church":'',"baseline-circle":'',"baseline-circle-notifications":'',"baseline-class":'',"baseline-clean-hands":'',"baseline-cleaning-services":'',"baseline-clear":'',"baseline-clear-all":'',"baseline-close":'',"baseline-close-fullscreen":'',"baseline-closed-caption":'',"baseline-closed-caption-disabled":'',"baseline-closed-caption-off":'',"baseline-cloud":'',"baseline-cloud-circle":'',"baseline-cloud-done":'',"baseline-cloud-download":'',"baseline-cloud-off":'',"baseline-cloud-queue":'',"baseline-cloud-sync":'',"baseline-cloud-upload":'',"baseline-co-present":'',"baseline-co2":'',"baseline-code":'',"baseline-code-off":'',"baseline-coffee":'',"baseline-coffee-maker":'',"baseline-collections":'',"baseline-collections-bookmark":'',"baseline-color-lens":'',"baseline-colorize":'',"baseline-comment":'',"baseline-comment-bank":'',"baseline-comments-disabled":'',"baseline-commit":'',"baseline-commute":'',"baseline-compare":'',"baseline-compare-arrows":'',"baseline-compass-calibration":'',"baseline-compost":'',"baseline-compress":'',"baseline-computer":'',"baseline-confirmation-number":'',"baseline-connect-without-contact":'',"baseline-connected-tv":'',"baseline-connecting-airports":'',"baseline-construction":'',"baseline-contact-emergency":'',"baseline-contact-mail":'',"baseline-contact-page":'',"baseline-contact-phone":'',"baseline-contact-support":'',"baseline-contactless":'',"baseline-contacts":'',"baseline-content-copy":'',"baseline-content-cut":'',"baseline-content-paste":'',"baseline-content-paste-go":'',"baseline-content-paste-off":'',"baseline-content-paste-search":'',"baseline-contrast":'',"baseline-control-camera":'',"baseline-control-point":'',"baseline-control-point-duplicate":'',"baseline-cookie":'',"baseline-copy-all":'',"baseline-copyright":'',"baseline-coronavirus":'',"baseline-corporate-fare":'',"baseline-cottage":'',"baseline-countertops":'',"baseline-create":'',"baseline-create-new-folder":'',"baseline-credit-card":'',"baseline-credit-card-off":'',"baseline-credit-score":'',"baseline-crib":'',"baseline-crisis-alert":'',"baseline-crop":'',"baseline-crop-16-9":'',"baseline-crop-3-2":'',"baseline-crop-5-4":'',"baseline-crop-7-5":'',"baseline-crop-din":'',"baseline-crop-free":'',"baseline-crop-landscape":'',"baseline-crop-original":'',"baseline-crop-portrait":'',"baseline-crop-rotate":'',"baseline-crop-square":'',"baseline-cruelty-free":'',"baseline-css":'',"baseline-currency-bitcoin":'',"baseline-currency-exchange":'',"baseline-currency-franc":'',"baseline-currency-lira":'',"baseline-currency-pound":'',"baseline-currency-ruble":'',"baseline-currency-rupee":'',"baseline-currency-yen":'',"baseline-currency-yuan":'',"baseline-curtains":'',"baseline-curtains-closed":'',"baseline-cyclone":'',"baseline-dangerous":'',"baseline-dark-mode":'',"baseline-dashboard":'',"baseline-dashboard-customize":'',"baseline-data-array":'',"baseline-data-exploration":'',"baseline-data-object":'',"baseline-data-saver-off":'',"baseline-data-saver-on":'',"baseline-data-thresholding":'',"baseline-data-usage":'',"baseline-dataset":'',"baseline-dataset-linked":'',"baseline-date-range":'',"baseline-deblur":'',"baseline-deck":'',"baseline-dehaze":'',"baseline-delete":'',"baseline-delete-forever":'',"baseline-delete-outline":'',"baseline-delete-sweep":'',"baseline-delivery-dining":'',"baseline-density-large":'',"baseline-density-medium":'',"baseline-density-small":'',"baseline-departure-board":'',"baseline-description":'',"baseline-deselect":'',"baseline-design-services":'',"baseline-desk":'',"baseline-desktop-access-disabled":'',"baseline-desktop-mac":'',"baseline-desktop-windows":'',"baseline-details":'',"baseline-developer-board":'',"baseline-developer-board-off":'',"baseline-developer-mode":'',"baseline-device-hub":'',"baseline-device-thermostat":'',"baseline-device-unknown":'',"baseline-devices":'',"baseline-devices-fold":'',"baseline-devices-other":'',"baseline-dialer-sip":'',"baseline-dialpad":'',"baseline-diamond":'',"baseline-difference":'',"baseline-dining":'',"baseline-dinner-dining":'',"baseline-directions":'',"baseline-directions-bike":'',"baseline-directions-boat":'',"baseline-directions-boat-filled":'',"baseline-directions-bus":'',"baseline-directions-bus-filled":'',"baseline-directions-car":'',"baseline-directions-car-filled":'',"baseline-directions-off":'',"baseline-directions-railway":'',"baseline-directions-railway-filled":'',"baseline-directions-run":'',"baseline-directions-subway":'',"baseline-directions-subway-filled":'',"baseline-directions-transit":'',"baseline-directions-transit-filled":'',"baseline-directions-walk":'',"baseline-dirty-lens":'',"baseline-disabled-by-default":'',"baseline-disabled-visible":'',"baseline-disc-full":'',"baseline-discord":'',"baseline-discount":'',"baseline-display-settings":'',"baseline-diversity-1":'',"baseline-diversity-2":'',"baseline-diversity-3":'',"baseline-divide":'',"baseline-dns":'',"baseline-do-disturb":'',"baseline-do-disturb-alt":'',"baseline-do-disturb-off":'',"baseline-do-disturb-on":'',"baseline-do-not-disturb":'',"baseline-do-not-disturb-alt":'',"baseline-do-not-disturb-off":'',"baseline-do-not-disturb-on":'',"baseline-do-not-disturb-on-total-silence":'',"baseline-do-not-step":'',"baseline-do-not-touch":'',"baseline-dock":'',"baseline-document-scanner":'',"baseline-domain":'',"baseline-domain-add":'',"baseline-domain-disabled":'',"baseline-domain-verification":'',"baseline-done":'',"baseline-done-all":'',"baseline-done-outline":'',"baseline-donut-large":'',"baseline-donut-small":'',"baseline-door-back":'',"baseline-door-front":'',"baseline-door-sliding":'',"baseline-doorbell":'',"baseline-double-arrow":'',"baseline-downhill-skiing":'',"baseline-download":'',"baseline-download-done":'',"baseline-download-for-offline":'',"baseline-downloading":'',"baseline-drafts":'',"baseline-drag-handle":'',"baseline-drag-indicator":'',"baseline-draw":'',"baseline-drive-eta":'',"baseline-drive-file-move":'',"baseline-drive-file-move-rtl":'',"baseline-drive-file-rename-outline":'',"baseline-drive-folder-upload":'',"baseline-dry":'',"baseline-dry-cleaning":'',"baseline-duo":'',"baseline-dvr":'',"baseline-dynamic-feed":'',"baseline-dynamic-form":'',"baseline-e-mobiledata":'',"baseline-earbuds":'',"baseline-earbuds-battery":'',"baseline-east":'',"baseline-eco":'',"baseline-edgesensor-high":'',"baseline-edgesensor-low":'',"baseline-edit":'',"baseline-edit-attributes":'',"baseline-edit-calendar":'',"baseline-edit-location":'',"baseline-edit-location-alt":'',"baseline-edit-note":'',"baseline-edit-notifications":'',"baseline-edit-off":'',"baseline-edit-road":'',"baseline-egg":'',"baseline-egg-alt":'',"baseline-eject":'',"baseline-elderly":'',"baseline-elderly-woman":'',"baseline-electric-bike":'',"baseline-electric-bolt":'',"baseline-electric-car":'',"baseline-electric-meter":'',"baseline-electric-moped":'',"baseline-electric-rickshaw":'',"baseline-electric-scooter":'',"baseline-electrical-services":'',"baseline-elevator":'',"baseline-email":'',"baseline-emergency":'',"baseline-emergency-recording":'',"baseline-emergency-share":'',"baseline-emoji-emotions":'',"baseline-emoji-events":'',"baseline-emoji-flags":'',"baseline-emoji-food-beverage":'',"baseline-emoji-nature":'',"baseline-emoji-objects":'',"baseline-emoji-people":'',"baseline-emoji-symbols":'',"baseline-emoji-transportation":'',"baseline-energy-savings-leaf":'',"baseline-engineering":'',"baseline-enhanced-encryption":'',"baseline-equalizer":'',"baseline-equals":'',"baseline-error":'',"baseline-error-outline":'',"baseline-escalator":'',"baseline-escalator-warning":'',"baseline-euro":'',"baseline-euro-symbol":'',"baseline-ev-station":'',"baseline-event":'',"baseline-event-available":'',"baseline-event-busy":'',"baseline-event-note":'',"baseline-event-repeat":'',"baseline-event-seat":'',"baseline-exit-to-app":'',"baseline-expand":'',"baseline-expand-circle-down":'',"baseline-expand-less":'',"baseline-expand-more":'',"baseline-explicit":'',"baseline-explore":'',"baseline-explore-off":'',"baseline-exposure":'',"baseline-exposure-neg-1":'',"baseline-exposure-neg-2":'',"baseline-exposure-plus-1":'',"baseline-exposure-plus-2":'',"baseline-exposure-zero":'',"baseline-extension":'',"baseline-extension-off":'',"baseline-face":'',"baseline-face-2":'',"baseline-face-3":'',"baseline-face-4":'',"baseline-face-5":'',"baseline-face-6":'',"baseline-face-retouching-natural":'',"baseline-face-retouching-off":'',"baseline-facebook":'',"baseline-fact-check":'',"baseline-factory":'',"baseline-family-restroom":'',"baseline-fast-forward":'',"baseline-fast-rewind":'',"baseline-fastfood":'',"baseline-favorite":'',"baseline-favorite-border":'',"baseline-fax":'',"baseline-featured-play-list":'',"baseline-featured-video":'',"baseline-feed":'',"baseline-feedback":'',"baseline-female":'',"baseline-fence":'',"baseline-festival":'',"baseline-fiber-dvr":'',"baseline-fiber-manual-record":'',"baseline-fiber-new":'',"baseline-fiber-pin":'',"baseline-fiber-smart-record":'',"baseline-file-copy":'',"baseline-file-download":'',"baseline-file-download-done":'',"baseline-file-download-off":'',"baseline-file-open":'',"baseline-file-present":'',"baseline-file-upload":'',"baseline-filter":'',"baseline-filter-1":'',"baseline-filter-2":'',"baseline-filter-3":'',"baseline-filter-4":'',"baseline-filter-5":'',"baseline-filter-6":'',"baseline-filter-7":'',"baseline-filter-8":'',"baseline-filter-9":'',"baseline-filter-9-plus":'',"baseline-filter-alt":'',"baseline-filter-alt-off":'',"baseline-filter-b-and-w":'',"baseline-filter-center-focus":'',"baseline-filter-drama":'',"baseline-filter-frames":'',"baseline-filter-hdr":'',"baseline-filter-list":'',"baseline-filter-list-off":'',"baseline-filter-none":'',"baseline-filter-tilt-shift":'',"baseline-filter-vintage":'',"baseline-find-in-page":'',"baseline-find-replace":'',"baseline-fingerprint":'',"baseline-fire-extinguisher":'',"baseline-fire-hydrant-alt":'',"baseline-fire-truck":'',"baseline-fireplace":'',"baseline-first-page":'',"baseline-fit-screen":'',"baseline-fitbit":'',"baseline-fitness-center":'',"baseline-flag":'',"baseline-flag-circle":'',"baseline-flaky":'',"baseline-flare":'',"baseline-flash-auto":'',"baseline-flash-off":'',"baseline-flash-on":'',"baseline-flashlight-off":'',"baseline-flashlight-on":'',"baseline-flatware":'',"baseline-flight":'',"baseline-flight-class":'',"baseline-flight-land":'',"baseline-flight-takeoff":'',"baseline-flip":'',"baseline-flip-camera-android":'',"baseline-flip-camera-ios":'',"baseline-flip-to-back":'',"baseline-flip-to-front":'',"baseline-flood":'',"baseline-flourescent":'',"baseline-fluorescent":'',"baseline-flutter-dash":'',"baseline-fmd-bad":'',"baseline-fmd-good":'',"baseline-folder":'',"baseline-folder-copy":'',"baseline-folder-delete":'',"baseline-folder-off":'',"baseline-folder-open":'',"baseline-folder-shared":'',"baseline-folder-special":'',"baseline-folder-zip":'',"baseline-follow-the-signs":'',"baseline-font-download":'',"baseline-font-download-off":'',"baseline-food-bank":'',"baseline-forest":'',"baseline-fork-left":'',"baseline-fork-right":'',"baseline-format-align-center":'',"baseline-format-align-justify":'',"baseline-format-align-left":'',"baseline-format-align-right":'',"baseline-format-bold":'',"baseline-format-clear":'',"baseline-format-color-fill":'',"baseline-format-color-reset":'',"baseline-format-color-text":'',"baseline-format-indent-decrease":'',"baseline-format-indent-increase":'',"baseline-format-italic":'',"baseline-format-line-spacing":'',"baseline-format-list-bulleted":'',"baseline-format-list-numbered":'',"baseline-format-list-numbered-rtl":'',"baseline-format-overline":'',"baseline-format-paint":'',"baseline-format-quote":'',"baseline-format-shapes":'',"baseline-format-size":'',"baseline-format-strikethrough":'',"baseline-format-textdirection-l-to-r":'',"baseline-format-textdirection-r-to-l":'',"baseline-format-underlined":'',"baseline-fort":'',"baseline-forum":'',"baseline-forward":'',"baseline-forward-10":'',"baseline-forward-30":'',"baseline-forward-5":'',"baseline-forward-to-inbox":'',"baseline-foundation":'',"baseline-free-breakfast":'',"baseline-free-cancellation":'',"baseline-front-hand":'',"baseline-fullscreen":'',"baseline-fullscreen-exit":'',"baseline-functions":'',"baseline-g-mobiledata":'',"baseline-g-translate":'',"baseline-gamepad":'',"baseline-games":'',"baseline-garage":'',"baseline-gas-meter":'',"baseline-gavel":'',"baseline-generating-tokens":'',"baseline-gesture":'',"baseline-get-app":'',"baseline-gif":'',"baseline-gif-box":'',"baseline-girl":'',"baseline-gite":'',"baseline-golf-course":'',"baseline-gpp-bad":'',"baseline-gpp-good":'',"baseline-gpp-maybe":'',"baseline-gps-fixed":'',"baseline-gps-not-fixed":'',"baseline-gps-off":'',"baseline-grade":'',"baseline-gradient":'',"baseline-grading":'',"baseline-grain":'',"baseline-graphic-eq":'',"baseline-grass":'',"baseline-greater-than":'',"baseline-greater-than-equal":'',"baseline-grid-3x3":'',"baseline-grid-4x4":'',"baseline-grid-goldenratio":'',"baseline-grid-off":'',"baseline-grid-on":'',"baseline-grid-view":'',"baseline-group":'',"baseline-group-add":'',"baseline-group-off":'',"baseline-group-remove":'',"baseline-group-work":'',"baseline-groups":'',"baseline-groups-2":'',"baseline-groups-3":'',"baseline-h-mobiledata":'',"baseline-h-plus-mobiledata":'',"baseline-hail":'',"baseline-handshake":'',"baseline-handyman":'',"baseline-hardware":'',"baseline-hd":'',"baseline-hdr-auto":'',"baseline-hdr-auto-select":'',"baseline-hdr-enhanced-select":'',"baseline-hdr-off":'',"baseline-hdr-off-select":'',"baseline-hdr-on":'',"baseline-hdr-on-select":'',"baseline-hdr-plus":'',"baseline-hdr-strong":'',"baseline-hdr-weak":'',"baseline-headphones":'',"baseline-headphones-battery":'',"baseline-headset":'',"baseline-headset-mic":'',"baseline-headset-off":'',"baseline-healing":'',"baseline-health-and-safety":'',"baseline-hearing":'',"baseline-hearing-disabled":'',"baseline-heart-broken":'',"baseline-heat-pump":'',"baseline-height":'',"baseline-help":'',"baseline-help-center":'',"baseline-help-outline":'',"baseline-hevc":'',"baseline-hexagon":'',"baseline-hide-image":'',"baseline-hide-source":'',"baseline-high-quality":'',"baseline-highlight":'',"baseline-highlight-alt":'',"baseline-highlight-off":'',"baseline-hiking":'',"baseline-history":'',"baseline-history-edu":'',"baseline-history-toggle-off":'',"baseline-hive":'',"baseline-hls":'',"baseline-hls-off":'',"baseline-holiday-village":'',"baseline-home":'',"baseline-home-max":'',"baseline-home-mini":'',"baseline-home-repair-service":'',"baseline-home-work":'',"baseline-horizontal-distribute":'',"baseline-horizontal-rule":'',"baseline-horizontal-split":'',"baseline-hot-tub":'',"baseline-hotel":'',"baseline-hotel-class":'',"baseline-hourglass-bottom":'',"baseline-hourglass-disabled":'',"baseline-hourglass-empty":'',"baseline-hourglass-full":'',"baseline-hourglass-top":'',"baseline-house":'',"baseline-house-siding":'',"baseline-houseboat":'',"baseline-how-to-reg":'',"baseline-how-to-vote":'',"baseline-html":'',"baseline-http":'',"baseline-https":'',"baseline-hub":'',"baseline-hvac":'',"baseline-ice-skating":'',"baseline-icecream":'',"baseline-image":'',"baseline-image-aspect-ratio":'',"baseline-image-not-supported":'',"baseline-image-search":'',"baseline-imagesearch-roller":'',"baseline-import-contacts":'',"baseline-import-export":'',"baseline-important-devices":'',"baseline-inbox":'',"baseline-incomplete-circle":'',"baseline-indeterminate-check-box":'',"baseline-info":'',"baseline-input":'',"baseline-insert-chart":'',"baseline-insert-chart-outlined":'',"baseline-insert-comment":'',"baseline-insert-drive-file":'',"baseline-insert-emoticon":'',"baseline-insert-invitation":'',"baseline-insert-link":'',"baseline-insert-page-break":'',"baseline-insert-photo":'',"baseline-insights":'',"baseline-install-desktop":'',"baseline-install-mobile":'',"baseline-integration-instructions":'',"baseline-interests":'',"baseline-interpreter-mode":'',"baseline-inventory":'',"baseline-inventory-2":'',"baseline-invert-colors":'',"baseline-invert-colors-off":'',"baseline-ios-share":'',"baseline-iron":'',"baseline-iso":'',"baseline-javascript":'',"baseline-join-full":'',"baseline-join-inner":'',"baseline-join-left":'',"baseline-join-right":'',"baseline-kayaking":'',"baseline-kebab-dining":'',"baseline-key":'',"baseline-key-off":'',"baseline-keyboard":'',"baseline-keyboard-alt":'',"baseline-keyboard-arrow-down":'',"baseline-keyboard-arrow-left":'',"baseline-keyboard-arrow-right":'',"baseline-keyboard-arrow-up":'',"baseline-keyboard-backspace":'',"baseline-keyboard-capslock":'',"baseline-keyboard-command-key":'',"baseline-keyboard-control-key":'',"baseline-keyboard-double-arrow-down":'',"baseline-keyboard-double-arrow-left":'',"baseline-keyboard-double-arrow-right":'',"baseline-keyboard-double-arrow-up":'',"baseline-keyboard-hide":'',"baseline-keyboard-option-key":'',"baseline-keyboard-return":'',"baseline-keyboard-tab":'',"baseline-keyboard-voice":'',"baseline-king-bed":'',"baseline-kitchen":'',"baseline-kitesurfing":'',"baseline-label":'',"baseline-label-important":'',"baseline-label-off":'',"baseline-lan":'',"baseline-landscape":'',"baseline-landslide":'',"baseline-language":'',"baseline-laptop":'',"baseline-laptop-chromebook":'',"baseline-laptop-mac":'',"baseline-laptop-windows":'',"baseline-last-page":'',"baseline-launch":'',"baseline-layers":'',"baseline-layers-clear":'',"baseline-leaderboard":'',"baseline-leak-add":'',"baseline-leak-remove":'',"baseline-leave-bags-at-home":'',"baseline-legend-toggle":'',"baseline-lens":'',"baseline-lens-blur":'',"baseline-less-than":'',"baseline-less-than-equal":'',"baseline-library-add":'',"baseline-library-add-check":'',"baseline-library-books":'',"baseline-library-music":'',"baseline-light":'',"baseline-light-mode":'',"baseline-lightbulb":'',"baseline-lightbulb-circle":'',"baseline-line-axis":'',"baseline-line-style":'',"baseline-line-weight":'',"baseline-linear-scale":'',"baseline-link":'',"baseline-link-off":'',"baseline-linked-camera":'',"baseline-liquor":'',"baseline-list":'',"baseline-list-alt":'',"baseline-live-help":'',"baseline-live-tv":'',"baseline-living":'',"baseline-local-activity":'',"baseline-local-airport":'',"baseline-local-atm":'',"baseline-local-bar":'',"baseline-local-cafe":'',"baseline-local-car-wash":'',"baseline-local-convenience-store":'',"baseline-local-dining":'',"baseline-local-drink":'',"baseline-local-fire-department":'',"baseline-local-florist":'',"baseline-local-gas-station":'',"baseline-local-grocery-store":'',"baseline-local-hospital":'',"baseline-local-hotel":'',"baseline-local-laundry-service":'',"baseline-local-library":'',"baseline-local-mall":'',"baseline-local-movies":'',"baseline-local-offer":'',"baseline-local-parking":'',"baseline-local-pharmacy":'',"baseline-local-phone":'',"baseline-local-pizza":'',"baseline-local-play":'',"baseline-local-police":'',"baseline-local-post-office":'',"baseline-local-printshop":'',"baseline-local-see":'',"baseline-local-shipping":'',"baseline-local-taxi":'',"baseline-location-city":'',"baseline-location-disabled":'',"baseline-location-off":'',"baseline-location-on":'',"baseline-location-searching":'',"baseline-lock":'',"baseline-lock-clock":'',"baseline-lock-open":'',"baseline-lock-person":'',"baseline-lock-reset":'',"baseline-log-in":'',"baseline-log-out":'',"baseline-login":'',"baseline-logo-dev":'',"baseline-logout":'',"baseline-looks":'',"baseline-looks-3":'',"baseline-looks-4":'',"baseline-looks-5":'',"baseline-looks-6":'',"baseline-looks-one":'',"baseline-looks-two":'',"baseline-loop":'',"baseline-loupe":'',"baseline-low-priority":'',"baseline-loyalty":'',"baseline-lte-mobiledata":'',"baseline-lte-plus-mobiledata":'',"baseline-luggage":'',"baseline-lunch-dining":'',"baseline-lyrics":'',"baseline-macro-off":'',"baseline-mail":'',"baseline-mail-lock":'',"baseline-mail-outline":'',"baseline-male":'',"baseline-man":'',"baseline-man-2":'',"baseline-man-3":'',"baseline-man-4":'',"baseline-manage-accounts":'',"baseline-manage-history":'',"baseline-manage-search":'',"baseline-map":'',"baseline-maps-home-work":'',"baseline-maps-ugc":'',"baseline-margin":'',"baseline-mark-as-unread":'',"baseline-mark-chat-read":'',"baseline-mark-chat-unread":'',"baseline-mark-email-read":'',"baseline-mark-email-unread":'',"baseline-mark-unread-chat-alt":'',"baseline-markunread":'',"baseline-markunread-mailbox":'',"baseline-masks":'',"baseline-maximize":'',"baseline-media-bluetooth-off":'',"baseline-media-bluetooth-on":'',"baseline-mediation":'',"baseline-medical-information":'',"baseline-medical-services":'',"baseline-medication":'',"baseline-medication-liquid":'',"baseline-meeting-room":'',"baseline-memory":'',"baseline-menu":'',"baseline-menu-book":'',"baseline-menu-open":'',"baseline-merge":'',"baseline-merge-type":'',"baseline-message":'',"baseline-mic":'',"baseline-mic-external-off":'',"baseline-mic-external-on":'',"baseline-mic-none":'',"baseline-mic-off":'',"baseline-microwave":'',"baseline-military-tech":'',"baseline-minimize":'',"baseline-minor-crash":'',"baseline-minus":'',"baseline-miscellaneous-services":'',"baseline-missed-video-call":'',"baseline-mms":'',"baseline-mobile-friendly":'',"baseline-mobile-off":'',"baseline-mobile-screen-share":'',"baseline-mobiledata-off":'',"baseline-mode":'',"baseline-mode-comment":'',"baseline-mode-edit":'',"baseline-mode-edit-outline":'',"baseline-mode-fan-off":'',"baseline-mode-night":'',"baseline-mode-of-travel":'',"baseline-mode-standby":'',"baseline-model-training":'',"baseline-monetization-on":'',"baseline-money":'',"baseline-money-off":'',"baseline-money-off-csred":'',"baseline-monitor":'',"baseline-monitor-heart":'',"baseline-monitor-weight":'',"baseline-monochrome-photos":'',"baseline-mood":'',"baseline-mood-bad":'',"baseline-moped":'',"baseline-more":'',"baseline-more-horiz":'',"baseline-more-time":'',"baseline-more-vert":'',"baseline-mosque":'',"baseline-motion-photos-auto":'',"baseline-motion-photos-off":'',"baseline-motion-photos-on":'',"baseline-motion-photos-pause":'',"baseline-motion-photos-paused":'',"baseline-motorcycle":'',"baseline-mouse":'',"baseline-move-down":'',"baseline-move-to-inbox":'',"baseline-move-up":'',"baseline-movie":'',"baseline-movie-creation":'',"baseline-movie-filter":'',"baseline-moving":'',"baseline-mp":'',"baseline-multiline-chart":'',"baseline-multiple-stop":'',"baseline-museum":'',"baseline-music-note":'',"baseline-music-off":'',"baseline-music-video":'',"baseline-my-location":'',"baseline-nat":'',"baseline-nature":'',"baseline-nature-people":'',"baseline-navigate-before":'',"baseline-navigate-next":'',"baseline-navigation":'',"baseline-near-me":'',"baseline-near-me-disabled":'',"baseline-nearby-error":'',"baseline-nearby-off":'',"baseline-nest-cam-wired-stand":'',"baseline-network-cell":'',"baseline-network-check":'',"baseline-network-locked":'',"baseline-network-ping":'',"baseline-network-wifi":'',"baseline-network-wifi-1-bar":'',"baseline-network-wifi-2-bar":'',"baseline-network-wifi-3-bar":'',"baseline-new-label":'',"baseline-new-releases":'',"baseline-newspaper":'',"baseline-next-plan":'',"baseline-next-week":'',"baseline-nfc":'',"baseline-night-shelter":'',"baseline-nightlife":'',"baseline-nightlight":'',"baseline-nightlight-round":'',"baseline-nights-stay":'',"baseline-no-accounts":'',"baseline-no-adult-content":'',"baseline-no-backpack":'',"baseline-no-cell":'',"baseline-no-crash":'',"baseline-no-drinks":'',"baseline-no-encryption":'',"baseline-no-encryption-gmailerrorred":'',"baseline-no-flash":'',"baseline-no-food":'',"baseline-no-luggage":'',"baseline-no-meals":'',"baseline-no-meeting-room":'',"baseline-no-photography":'',"baseline-no-sim":'',"baseline-no-stroller":'',"baseline-no-transfer":'',"baseline-noise-aware":'',"baseline-noise-control-off":'',"baseline-nordic-walking":'',"baseline-north":'',"baseline-north-east":'',"baseline-north-west":'',"baseline-not-accessible":'',"baseline-not-equal":'',"baseline-not-interested":'',"baseline-not-listed-location":'',"baseline-not-started":'',"baseline-note":'',"baseline-note-add":'',"baseline-note-alt":'',"baseline-notes":'',"baseline-notification-add":'',"baseline-notification-important":'',"baseline-notifications":'',"baseline-notifications-active":'',"baseline-notifications-none":'',"baseline-notifications-off":'',"baseline-notifications-paused":'',"baseline-numbers":'',"baseline-offline-bolt":'',"baseline-offline-pin":'',"baseline-offline-share":'',"baseline-oil-barrel":'',"baseline-on-device-training":'',"baseline-ondemand-video":'',"baseline-online-prediction":'',"baseline-opacity":'',"baseline-open-in-browser":'',"baseline-open-in-full":'',"baseline-open-in-new":'',"baseline-open-in-new-off":'',"baseline-open-with":'',"baseline-other-houses":'',"baseline-outbond":'',"baseline-outbound":'',"baseline-outbox":'',"baseline-outdoor-grill":'',"baseline-outlet":'',"baseline-outlined-flag":'',"baseline-output":'',"baseline-padding":'',"baseline-pages":'',"baseline-pageview":'',"baseline-paid":'',"baseline-palette":'',"baseline-pan-tool":'',"baseline-pan-tool-alt":'',"baseline-panorama":'',"baseline-panorama-fish-eye":'',"baseline-panorama-horizontal":'',"baseline-panorama-horizontal-select":'',"baseline-panorama-photosphere":'',"baseline-panorama-photosphere-select":'',"baseline-panorama-vertical":'',"baseline-panorama-vertical-select":'',"baseline-panorama-wide-angle":'',"baseline-panorama-wide-angle-select":'',"baseline-paragliding":'',"baseline-park":'',"baseline-party-mode":'',"baseline-password":'',"baseline-pattern":'',"baseline-pause":'',"baseline-pause-circle":'',"baseline-pause-circle-filled":'',"baseline-pause-circle-outline":'',"baseline-pause-presentation":'',"baseline-payment":'',"baseline-payments":'',"baseline-paypal":'',"baseline-pedal-bike":'',"baseline-pending":'',"baseline-pending-actions":'',"baseline-pentagon":'',"baseline-people":'',"baseline-people-alt":'',"baseline-people-outline":'',"baseline-percent":'',"baseline-percentage":'',"baseline-perm-camera-mic":'',"baseline-perm-contact-calendar":'',"baseline-perm-data-setting":'',"baseline-perm-device-information":'',"baseline-perm-identity":'',"baseline-perm-media":'',"baseline-perm-phone-msg":'',"baseline-perm-scan-wifi":'',"baseline-person":'',"baseline-person-2":'',"baseline-person-3":'',"baseline-person-4":'',"baseline-person-add":'',"baseline-person-add-alt":'',"baseline-person-add-alt-1":'',"baseline-person-add-disabled":'',"baseline-person-off":'',"baseline-person-outline":'',"baseline-person-pin":'',"baseline-person-pin-circle":'',"baseline-person-remove":'',"baseline-person-remove-alt-1":'',"baseline-person-search":'',"baseline-personal-injury":'',"baseline-personal-video":'',"baseline-pest-control":'',"baseline-pest-control-rodent":'',"baseline-pets":'',"baseline-phishing":'',"baseline-phone":'',"baseline-phone-android":'',"baseline-phone-bluetooth-speaker":'',"baseline-phone-callback":'',"baseline-phone-disabled":'',"baseline-phone-enabled":'',"baseline-phone-forwarded":'',"baseline-phone-in-talk":'',"baseline-phone-iphone":'',"baseline-phone-locked":'',"baseline-phone-missed":'',"baseline-phone-paused":'',"baseline-phonelink":'',"baseline-phonelink-erase":'',"baseline-phonelink-lock":'',"baseline-phonelink-off":'',"baseline-phonelink-ring":'',"baseline-phonelink-setup":'',"baseline-photo":'',"baseline-photo-album":'',"baseline-photo-camera":'',"baseline-photo-camera-back":'',"baseline-photo-camera-front":'',"baseline-photo-filter":'',"baseline-photo-library":'',"baseline-photo-size-select-actual":'',"baseline-photo-size-select-large":'',"baseline-photo-size-select-small":'',"baseline-php":'',"baseline-piano":'',"baseline-piano-off":'',"baseline-picture-as-pdf":'',"baseline-picture-in-picture":'',"baseline-picture-in-picture-alt":'',"baseline-pie-chart":'',"baseline-pie-chart-outline":'',"baseline-pin":'',"baseline-pin-drop":'',"baseline-pin-end":'',"baseline-pin-invoke":'',"baseline-pin-off":'',"baseline-pinch":'',"baseline-pivot-table-chart":'',"baseline-pix":'',"baseline-place":'',"baseline-plagiarism":'',"baseline-play-arrow":'',"baseline-play-circle":'',"baseline-play-circle-filled":'',"baseline-play-circle-filled-white":'',"baseline-play-circle-outline":'',"baseline-play-disabled":'',"baseline-play-for-work":'',"baseline-play-lesson":'',"baseline-playlist-add":'',"baseline-playlist-add-check":'',"baseline-playlist-add-check-circle":'',"baseline-playlist-add-circle":'',"baseline-playlist-play":'',"baseline-playlist-remove":'',"baseline-plumbing":'',"baseline-plus":'',"baseline-plus-minus":'',"baseline-plus-minus-alt":'',"baseline-plus-one":'',"baseline-podcasts":'',"baseline-point-of-sale":'',"baseline-policy":'',"baseline-poll":'',"baseline-polyline":'',"baseline-polymer":'',"baseline-pool":'',"baseline-portable-wifi-off":'',"baseline-portrait":'',"baseline-post-add":'',"baseline-power":'',"baseline-power-input":'',"baseline-power-off":'',"baseline-power-settings-new":'',"baseline-precision-manufacturing":'',"baseline-pregnant-woman":'',"baseline-present-to-all":'',"baseline-preview":'',"baseline-price-change":'',"baseline-price-check":'',"baseline-print":'',"baseline-print-disabled":'',"baseline-priority-high":'',"baseline-privacy-tip":'',"baseline-private-connectivity":'',"baseline-production-quantity-limits":'',"baseline-propane":'',"baseline-propane-tank":'',"baseline-psychology":'',"baseline-psychology-alt":'',"baseline-public":'',"baseline-public-off":'',"baseline-publish":'',"baseline-published-with-changes":'',"baseline-punch-clock":'',"baseline-push-pin":'',"baseline-qr-code":'',"baseline-qr-code-2":'',"baseline-qr-code-scanner":'',"baseline-qrcode":'',"baseline-query-builder":'',"baseline-query-stats":'',"baseline-question-answer":'',"baseline-question-mark":'',"baseline-queue":'',"baseline-queue-music":'',"baseline-queue-play-next":'',"baseline-quickreply":'',"baseline-quiz":'',"baseline-quora":'',"baseline-r-mobiledata":'',"baseline-radar":'',"baseline-radio":'',"baseline-radio-button-checked":'',"baseline-radio-button-unchecked":'',"baseline-railway-alert":'',"baseline-ramen-dining":'',"baseline-ramp-left":'',"baseline-ramp-right":'',"baseline-rate-review":'',"baseline-raw-off":'',"baseline-raw-on":'',"baseline-read-more":'',"baseline-real-estate-agent":'',"baseline-receipt":'',"baseline-receipt-long":'',"baseline-recent-actors":'',"baseline-recommend":'',"baseline-record-voice-over":'',"baseline-rectangle":'',"baseline-recycling":'',"baseline-reddit":'',"baseline-redeem":'',"baseline-redo":'',"baseline-reduce-capacity":'',"baseline-refresh":'',"baseline-remember-me":'',"baseline-remove":'',"baseline-remove-circle":'',"baseline-remove-circle-outline":'',"baseline-remove-done":'',"baseline-remove-from-queue":'',"baseline-remove-moderator":'',"baseline-remove-red-eye":'',"baseline-remove-road":'',"baseline-remove-shopping-cart":'',"baseline-reorder":'',"baseline-repartition":'',"baseline-repeat":'',"baseline-repeat-on":'',"baseline-repeat-one":'',"baseline-repeat-one-on":'',"baseline-replay":'',"baseline-replay-10":'',"baseline-replay-30":'',"baseline-replay-5":'',"baseline-replay-circle-filled":'',"baseline-reply":'',"baseline-reply-all":'',"baseline-report":'',"baseline-report-gmailerrorred":'',"baseline-report-off":'',"baseline-report-problem":'',"baseline-request-page":'',"baseline-request-quote":'',"baseline-reset-tv":'',"baseline-restart-alt":'',"baseline-restaurant":'',"baseline-restaurant-menu":'',"baseline-restore":'',"baseline-restore-from-trash":'',"baseline-restore-page":'',"baseline-reviews":'',"baseline-rice-bowl":'',"baseline-ring-volume":'',"baseline-rocket":'',"baseline-rocket-launch":'',"baseline-roller-shades":'',"baseline-roller-shades-closed":'',"baseline-roller-skating":'',"baseline-roofing":'',"baseline-room":'',"baseline-room-preferences":'',"baseline-room-service":'',"baseline-rotate-90-degrees-ccw":'',"baseline-rotate-90-degrees-cw":'',"baseline-rotate-left":'',"baseline-rotate-right":'',"baseline-roundabout-left":'',"baseline-roundabout-right":'',"baseline-rounded-corner":'',"baseline-route":'',"baseline-router":'',"baseline-rowing":'',"baseline-rss-feed":'',"baseline-rsvp":'',"baseline-rtt":'',"baseline-rule":'',"baseline-rule-folder":'',"baseline-run-circle":'',"baseline-running-with-errors":'',"baseline-rv-hookup":'',"baseline-safety-check":'',"baseline-safety-divider":'',"baseline-sailing":'',"baseline-sanitizer":'',"baseline-satellite":'',"baseline-satellite-alt":'',"baseline-save":'',"baseline-save-all":'',"baseline-save-alt":'',"baseline-save-as":'',"baseline-saved-search":'',"baseline-savings":'',"baseline-scale":'',"baseline-scanner":'',"baseline-scatter-plot":'',"baseline-schedule":'',"baseline-schedule-send":'',"baseline-schema":'',"baseline-school":'',"baseline-science":'',"baseline-score":'',"baseline-scoreboard":'',"baseline-screen-lock-landscape":'',"baseline-screen-lock-portrait":'',"baseline-screen-lock-rotation":'',"baseline-screen-rotation":'',"baseline-screen-rotation-alt":'',"baseline-screen-search-desktop":'',"baseline-screen-share":'',"baseline-screenshot":'',"baseline-screenshot-monitor":'',"baseline-scuba-diving":'',"baseline-sd":'',"baseline-sd-card":'',"baseline-sd-card-alert":'',"baseline-sd-storage":'',"baseline-search":'',"baseline-search-off":'',"baseline-security":'',"baseline-security-update":'',"baseline-security-update-good":'',"baseline-security-update-warning":'',"baseline-segment":'',"baseline-select-all":'',"baseline-self-improvement":'',"baseline-sell":'',"baseline-send":'',"baseline-send-and-archive":'',"baseline-send-time-extension":'',"baseline-send-to-mobile":'',"baseline-sensor-door":'',"baseline-sensor-occupied":'',"baseline-sensor-window":'',"baseline-sensors":'',"baseline-sensors-off":'',"baseline-sentiment-dissatisfied":'',"baseline-sentiment-neutral":'',"baseline-sentiment-satisfied":'',"baseline-sentiment-satisfied-alt":'',"baseline-sentiment-slightly-dissatisfied":'',"baseline-sentiment-very-dissatisfied":'',"baseline-sentiment-very-satisfied":'',"baseline-set-meal":'',"baseline-settings":'',"baseline-settings-accessibility":'',"baseline-settings-applications":'',"baseline-settings-backup-restore":'',"baseline-settings-bluetooth":'',"baseline-settings-brightness":'',"baseline-settings-cell":'',"baseline-settings-ethernet":'',"baseline-settings-input-antenna":'',"baseline-settings-input-component":'',"baseline-settings-input-composite":'',"baseline-settings-input-hdmi":'',"baseline-settings-input-svideo":'',"baseline-settings-overscan":'',"baseline-settings-phone":'',"baseline-settings-power":'',"baseline-settings-remote":'',"baseline-settings-suggest":'',"baseline-settings-system-daydream":'',"baseline-settings-voice":'',"baseline-severe-cold":'',"baseline-shape-line":'',"baseline-share":'',"baseline-share-arrival-time":'',"baseline-share-location":'',"baseline-shield":'',"baseline-shield-moon":'',"baseline-shop":'',"baseline-shop-2":'',"baseline-shop-two":'',"baseline-shopify":'',"baseline-shopping-bag":'',"baseline-shopping-basket":'',"baseline-shopping-cart":'',"baseline-shopping-cart-checkout":'',"baseline-short-text":'',"baseline-shortcut":'',"baseline-show-chart":'',"baseline-shower":'',"baseline-shuffle":'',"baseline-shuffle-on":'',"baseline-shutter-speed":'',"baseline-sick":'',"baseline-sign-language":'',"baseline-signal-cellular-0-bar":'',"baseline-signal-cellular-1-bar":'',"baseline-signal-cellular-2-bar":'',"baseline-signal-cellular-3-bar":'',"baseline-signal-cellular-4-bar":'',"baseline-signal-cellular-alt":'',"baseline-signal-cellular-alt-1-bar":'',"baseline-signal-cellular-alt-2-bar":'',"baseline-signal-cellular-connected-no-internet-0-bar":'',"baseline-signal-cellular-connected-no-internet-1-bar":'',"baseline-signal-cellular-connected-no-internet-2-bar":'',"baseline-signal-cellular-connected-no-internet-3-bar":'',"baseline-signal-cellular-connected-no-internet-4-bar":'',"baseline-signal-cellular-no-sim":'',"baseline-signal-cellular-nodata":'',"baseline-signal-cellular-null":'',"baseline-signal-cellular-off":'',"baseline-signal-wifi-0-bar":'',"baseline-signal-wifi-1-bar":'',"baseline-signal-wifi-1-bar-lock":'',"baseline-signal-wifi-2-bar":'',"baseline-signal-wifi-2-bar-lock":'',"baseline-signal-wifi-3-bar":'',"baseline-signal-wifi-3-bar-lock":'',"baseline-signal-wifi-4-bar":'',"baseline-signal-wifi-4-bar-lock":'',"baseline-signal-wifi-bad":'',"baseline-signal-wifi-connected-no-internet-4":'',"baseline-signal-wifi-off":'',"baseline-signal-wifi-statusbar-4-bar":'',"baseline-signal-wifi-statusbar-connected-no-internet-4":'',"baseline-signal-wifi-statusbar-null":'',"baseline-signpost":'',"baseline-sim-card":'',"baseline-sim-card-alert":'',"baseline-sim-card-download":'',"baseline-single-bed":'',"baseline-sip":'',"baseline-skateboarding":'',"baseline-skip-next":'',"baseline-skip-previous":'',"baseline-sledding":'',"baseline-slideshow":'',"baseline-slow-motion-video":'',"baseline-smart-button":'',"baseline-smart-display":'',"baseline-smart-screen":'',"baseline-smart-toy":'',"baseline-smartphone":'',"baseline-smoke-free":'',"baseline-smoking-rooms":'',"baseline-sms":'',"baseline-sms-failed":'',"baseline-snapchat":'',"baseline-snippet-folder":'',"baseline-snooze":'',"baseline-snowboarding":'',"baseline-snowmobile":'',"baseline-snowshoeing":'',"baseline-soap":'',"baseline-social-distance":'',"baseline-solar-power":'',"baseline-sort":'',"baseline-sort-by-alpha":'',"baseline-sos":'',"baseline-soup-kitchen":'',"baseline-source":'',"baseline-south":'',"baseline-south-america":'',"baseline-south-east":'',"baseline-south-west":'',"baseline-spa":'',"baseline-space-bar":'',"baseline-space-dashboard":'',"baseline-spatial-audio":'',"baseline-spatial-audio-off":'',"baseline-spatial-tracking":'',"baseline-speaker":'',"baseline-speaker-group":'',"baseline-speaker-notes":'',"baseline-speaker-notes-off":'',"baseline-speaker-phone":'',"baseline-speed":'',"baseline-spellcheck":'',"baseline-splitscreen":'',"baseline-spoke":'',"baseline-sports":'',"baseline-sports-bar":'',"baseline-sports-baseball":'',"baseline-sports-basketball":'',"baseline-sports-cricket":'',"baseline-sports-esports":'',"baseline-sports-football":'',"baseline-sports-golf":'',"baseline-sports-gymnastics":'',"baseline-sports-handball":'',"baseline-sports-hockey":'',"baseline-sports-kabaddi":'',"baseline-sports-martial-arts":'',"baseline-sports-mma":'',"baseline-sports-motorsports":'',"baseline-sports-rugby":'',"baseline-sports-score":'',"baseline-sports-soccer":'',"baseline-sports-tennis":'',"baseline-sports-volleyball":'',"baseline-square":'',"baseline-square-foot":'',"baseline-ssid-chart":'',"baseline-stacked-bar-chart":'',"baseline-stacked-line-chart":'',"baseline-stadium":'',"baseline-stairs":'',"baseline-star":'',"baseline-star-border":'',"baseline-star-border-purple500":'',"baseline-star-half":'',"baseline-star-outline":'',"baseline-star-purple500":'',"baseline-star-rate":'',"baseline-stars":'',"baseline-start":'',"baseline-stay-current-landscape":'',"baseline-stay-current-portrait":'',"baseline-stay-primary-landscape":'',"baseline-stay-primary-portrait":'',"baseline-sticky-note-2":'',"baseline-stop":'',"baseline-stop-circle":'',"baseline-stop-screen-share":'',"baseline-storage":'',"baseline-store":'',"baseline-store-mall-directory":'',"baseline-storefront":'',"baseline-storm":'',"baseline-straight":'',"baseline-straighten":'',"baseline-stream":'',"baseline-streetview":'',"baseline-strikethrough-s":'',"baseline-stroller":'',"baseline-style":'',"baseline-subdirectory-arrow-left":'',"baseline-subdirectory-arrow-right":'',"baseline-subject":'',"baseline-subscript":'',"baseline-subscriptions":'',"baseline-subtitles":'',"baseline-subtitles-off":'',"baseline-subway":'',"baseline-summarize":'',"baseline-superscript":'',"baseline-supervised-user-circle":'',"baseline-supervisor-account":'',"baseline-support":'',"baseline-support-agent":'',"baseline-surfing":'',"baseline-surround-sound":'',"baseline-swap-calls":'',"baseline-swap-horiz":'',"baseline-swap-horizontal-circle":'',"baseline-swap-vert":'',"baseline-swap-vertical-circle":'',"baseline-swipe":'',"baseline-swipe-down":'',"baseline-swipe-down-alt":'',"baseline-swipe-left":'',"baseline-swipe-left-alt":'',"baseline-swipe-right":'',"baseline-swipe-right-alt":'',"baseline-swipe-up":'',"baseline-swipe-up-alt":'',"baseline-swipe-vertical":'',"baseline-switch-access-shortcut":'',"baseline-switch-access-shortcut-add":'',"baseline-switch-account":'',"baseline-switch-camera":'',"baseline-switch-left":'',"baseline-switch-right":'',"baseline-switch-video":'',"baseline-synagogue":'',"baseline-sync":'',"baseline-sync-alt":'',"baseline-sync-disabled":'',"baseline-sync-lock":'',"baseline-sync-problem":'',"baseline-system-security-update":'',"baseline-system-security-update-good":'',"baseline-system-security-update-warning":'',"baseline-system-update":'',"baseline-system-update-alt":'',"baseline-tab":'',"baseline-tab-unselected":'',"baseline-table-bar":'',"baseline-table-chart":'',"baseline-table-restaurant":'',"baseline-table-rows":'',"baseline-table-view":'',"baseline-tablet":'',"baseline-tablet-android":'',"baseline-tablet-mac":'',"baseline-tag":'',"baseline-tag-faces":'',"baseline-takeout-dining":'',"baseline-tap-and-play":'',"baseline-tapas":'',"baseline-task":'',"baseline-task-alt":'',"baseline-taxi-alert":'',"baseline-telegram":'',"baseline-temple-buddhist":'',"baseline-temple-hindu":'',"baseline-terminal":'',"baseline-terrain":'',"baseline-text-decrease":'',"baseline-text-fields":'',"baseline-text-format":'',"baseline-text-increase":'',"baseline-text-rotate-up":'',"baseline-text-rotate-vertical":'',"baseline-text-rotation-angledown":'',"baseline-text-rotation-angleup":'',"baseline-text-rotation-down":'',"baseline-text-rotation-none":'',"baseline-text-snippet":'',"baseline-textsms":'',"baseline-texture":'',"baseline-theater-comedy":'',"baseline-theaters":'',"baseline-thermostat":'',"baseline-thermostat-auto":'',"baseline-thumb-down":'',"baseline-thumb-down-alt":'',"baseline-thumb-down-off-alt":'',"baseline-thumb-up":'',"baseline-thumb-up-alt":'',"baseline-thumb-up-off-alt":'',"baseline-thumbs-up-down":'',"baseline-thunderstorm":'',"baseline-tiktok":'',"baseline-time-to-leave":'',"baseline-timelapse":'',"baseline-timeline":'',"baseline-timer":'',"baseline-timer-10":'',"baseline-timer-10-select":'',"baseline-timer-3":'',"baseline-timer-3-select":'',"baseline-timer-off":'',"baseline-tips-and-updates":'',"baseline-tire-repair":'',"baseline-title":'',"baseline-toc":'',"baseline-today":'',"baseline-toggle-off":'',"baseline-toggle-on":'',"baseline-token":'',"baseline-toll":'',"baseline-tonality":'',"baseline-topic":'',"baseline-tornado":'',"baseline-touch-app":'',"baseline-tour":'',"baseline-toys":'',"baseline-track-changes":'',"baseline-traffic":'',"baseline-train":'',"baseline-tram":'',"baseline-transcribe":'',"baseline-transfer-within-a-station":'',"baseline-transform":'',"baseline-transgender":'',"baseline-transit-enterexit":'',"baseline-translate":'',"baseline-travel-explore":'',"baseline-trending-down":'',"baseline-trending-flat":'',"baseline-trending-up":'',"baseline-trip-origin":'',"baseline-troubleshoot":'',"baseline-try":'',"baseline-tsunami":'',"baseline-tty":'',"baseline-tune":'',"baseline-tungsten":'',"baseline-turn-left":'',"baseline-turn-right":'',"baseline-turn-sharp-left":'',"baseline-turn-sharp-right":'',"baseline-turn-slight-left":'',"baseline-turn-slight-right":'',"baseline-turned-in":'',"baseline-turned-in-not":'',"baseline-tv":'',"baseline-tv-off":'',"baseline-two-wheeler":'',"baseline-type-specimen":'',"baseline-u-turn-left":'',"baseline-u-turn-right":'',"baseline-umbrella":'',"baseline-unarchive":'',"baseline-undo":'',"baseline-unfold-less":'',"baseline-unfold-less-double":'',"baseline-unfold-more":'',"baseline-unfold-more-double":'',"baseline-unpublished":'',"baseline-unsubscribe":'',"baseline-upcoming":'',"baseline-update":'',"baseline-update-disabled":'',"baseline-upgrade":'',"baseline-upload":'',"baseline-upload-file":'',"baseline-usb":'',"baseline-usb-off":'',"baseline-vaccines":'',"baseline-vape-free":'',"baseline-vaping-rooms":'',"baseline-verified":'',"baseline-verified-user":'',"baseline-vertical-align-bottom":'',"baseline-vertical-align-center":'',"baseline-vertical-align-top":'',"baseline-vertical-distribute":'',"baseline-vertical-shades":'',"baseline-vertical-shades-closed":'',"baseline-vertical-split":'',"baseline-vibration":'',"baseline-video-call":'',"baseline-video-camera-back":'',"baseline-video-camera-front":'',"baseline-video-chat":'',"baseline-video-file":'',"baseline-video-label":'',"baseline-video-library":'',"baseline-video-settings":'',"baseline-video-stable":'',"baseline-videocam":'',"baseline-videocam-off":'',"baseline-videogame-asset":'',"baseline-videogame-asset-off":'',"baseline-view-agenda":'',"baseline-view-array":'',"baseline-view-carousel":'',"baseline-view-column":'',"baseline-view-comfy":'',"baseline-view-comfy-alt":'',"baseline-view-compact":'',"baseline-view-compact-alt":'',"baseline-view-cozy":'',"baseline-view-day":'',"baseline-view-headline":'',"baseline-view-in-ar":'',"baseline-view-kanban":'',"baseline-view-list":'',"baseline-view-module":'',"baseline-view-quilt":'',"baseline-view-sidebar":'',"baseline-view-stream":'',"baseline-view-timeline":'',"baseline-view-week":'',"baseline-vignette":'',"baseline-villa":'',"baseline-visibility":'',"baseline-visibility-off":'',"baseline-voice-chat":'',"baseline-voice-over-off":'',"baseline-voicemail":'',"baseline-volcano":'',"baseline-volume-down":'',"baseline-volume-mute":'',"baseline-volume-off":'',"baseline-volume-up":'',"baseline-volunteer-activism":'',"baseline-vpn-key":'',"baseline-vpn-key-off":'',"baseline-vpn-lock":'',"baseline-vrpano":'',"baseline-wallet":'',"baseline-wallpaper":'',"baseline-warehouse":'',"baseline-warning":'',"baseline-warning-amber":'',"baseline-wash":'',"baseline-watch":'',"baseline-watch-later":'',"baseline-watch-off":'',"baseline-water":'',"baseline-water-damage":'',"baseline-water-drop":'',"baseline-waterfall-chart":'',"baseline-waves":'',"baseline-waving-hand":'',"baseline-wb-auto":'',"baseline-wb-cloudy":'',"baseline-wb-incandescent":'',"baseline-wb-iridescent":'',"baseline-wb-shade":'',"baseline-wb-sunny":'',"baseline-wb-twilight":'',"baseline-wc":'',"baseline-web":'',"baseline-web-asset":'',"baseline-web-asset-off":'',"baseline-web-stories":'',"baseline-webhook":'',"baseline-wechat":'',"baseline-weekend":'',"baseline-west":'',"baseline-whatsapp":'',"baseline-whatshot":'',"baseline-wheelchair-pickup":'',"baseline-where-to-vote":'',"baseline-widgets":'',"baseline-width-full":'',"baseline-width-normal":'',"baseline-width-wide":'',"baseline-wifi":'',"baseline-wifi-1-bar":'',"baseline-wifi-2-bar":'',"baseline-wifi-calling":'',"baseline-wifi-calling-3":'',"baseline-wifi-channel":'',"baseline-wifi-find":'',"baseline-wifi-lock":'',"baseline-wifi-off":'',"baseline-wifi-password":'',"baseline-wifi-protected-setup":'',"baseline-wifi-tethering":'',"baseline-wifi-tethering-error":'',"baseline-wifi-tethering-error-rounded":'',"baseline-wifi-tethering-off":'',"baseline-wind-power":'',"baseline-window":'',"baseline-wine-bar":'',"baseline-woman":'',"baseline-woman-2":'',"baseline-woo-commerce":'',"baseline-wordpress":'',"baseline-work":'',"baseline-work-history":'',"baseline-work-off":'',"baseline-work-outline":'',"baseline-workspace-premium":'',"baseline-workspaces":'',"baseline-wrap-text":'',"baseline-wrong-location":'',"baseline-wysiwyg":'',"baseline-yard":'',"baseline-youtube-searched-for":'',"baseline-zoom-in":'',"baseline-zoom-in-map":'',"baseline-zoom-out":'',"baseline-zoom-out-map":''},n4=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},cj={},uj={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function pj(t,e){return Je(),lt("span",uj,[gn(t.$slots,"default")])}const UY=n4(cj,[["render",pj]]),hj={},fj={class:"h-3 w-3 $ui-inline-fcc"};function dj(t,e){return Je(),lt("div",fj,e[0]||(e[0]=[Ze("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[Ze("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),Ze("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)]))}const QE=n4(hj,[["render",dj]]),mj={key:2},Ls=ur({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:e}){const n=t,r=e,a=Z8(),i=pt(()=>a.to?"router-link":a.href?"a":"button"),s=pt(()=>n.loading||n.disabled);function o(h){if(s.value){h.preventDefault(),h.stopPropagation(),h.stopImmediatePropagation();return}r("click",h)}const l={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},u=Dh(),p=pt(()=>n.flat?l.flat[n.type]:n.outlined?l.outlined[n.type]:l.normal[n.type]);return(h,d)=>(Je(),Zt(zo(i.value),Rs(h.$attrs,{role:"button","aria-disabled":s.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[n.type]],{"rounded-full":n.round==="full","$ui-base-br":n.round==="normal","opacity-50 cursor-not-allowed":s.value,"bg-transparent":n.flat||n.outlined},[h.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",h.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",p.value]]],onClickCapture:o}),{default:Vt(()=>[h.loading?(Je(),Zt(QE,{key:0,class:"mt0.5 h-full w3"})):gn(h.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),$e(u).default?(Je(),lt("div",mj,[gn(h.$slots,"default")])):sr("",!0),gn(h.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),gj={},vj={class:"$ui-base border $ui-border-base rounded shadow-sm"};function yj(t,e){return Je(),lt("div",vj,[gn(t.$slots,"default")])}const bj=n4(gj,[["render",yj]]),qY=ur({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Xl(t,"modelValue",e);return(r,a)=>(Je(),lt("div",{class:Wr(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[$e(n)?r.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:a[0]||(a[0]=i=>n.value=!$e(n))},[Ze("div",{class:Wr([[$e(n)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),fp=Kr();let ny=null;function Cj(t,e="text"){var n;if(!ny&&!fp.value){const a=aj();ny=SD({themes:[vs(()=>import("./vitesse-dark-D0r3Knsf.js"),[],import.meta.url),vs(()=>import("./vitesse-light-CVO1_9PV.js"),[],import.meta.url)],langs:[vs(()=>import("./json-BLmTiKMJ.js"),[],import.meta.url),vs(()=>import("./yaml-DeMLtiT4.js"),[],import.meta.url),vs(()=>import("./css-6ydISZ1j.js"),[],import.meta.url),vs(()=>import("./javascript-DFxyEsuO.js"),[],import.meta.url),vs(()=>import("./typescript-6msxI5qU.js"),[],import.meta.url),vs(()=>import("./vue-XV-ldwVs.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),vs(()=>import("./vue-html-ecI6esm2.js"),__vite__mapDeps([6,0,1,2,3,4,5]),import.meta.url),vs(()=>import("./html-DQt1crSz.js"),__vite__mapDeps([1,2,3]),import.meta.url),vs(()=>import("./diff-7a-uGD01.js"),[],import.meta.url),vs(()=>import("./shellscript-Cs-zf8G1.js"),[],import.meta.url)],engine:a}).then(i=>{fp.value=i})}const r=(n=fp.value)==null?void 0:n.getLoadedLanguages().includes(e);return r?{code:fp.value.codeToHtml(t,{lang:e,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:t,supported:r}}const Ej=["innerHTML"],Sj={class:"shiki"},xj=["textContent"],wj=ur({__name:"CodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>{const i=n.lang==="text"?{code:n.code,supported:!1}:Cj(n.code,n.lang)||{code:n.code,supported:!1};return i.supported&&n.transformRendered&&(i.code=n.transformRendered(i.code)),i.supported&&ws(()=>r("loaded")),i});return(i,s)=>i.lang&&a.value.supported?(Je(),lt("pre",{key:0,class:Wr(["code-block",i.lines?"code-block-lines":""]),innerHTML:a.value.code},null,10,Ej)):(Je(),lt("pre",{key:1,class:Wr(["code-block",i.lines?"code-block-lines":""])},[Ze("pre",Sj,[Ze("code",null,[(Je(!0),lt(Rr,null,Is(i.code.split(` `),(o,l)=>(Je(),lt(Rr,{key:l},[Ze("span",{class:"line",textContent:hn(o)},null,8,xj),s[0]||(s[0]=Ze("br",null,null,-1))],64))),128))])])],2))}}),s4=ur({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(t){return(e,n)=>(Je(),lt("div",{class:Wr(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[e.dim?"bg-opacity-50!":"bg-opacity-0!",e.blur?"backdrop-blur-sm":"",e.position]])},[gn(e.$slots,"default")],2))}}),Tj={class:"h7.5 w-full $ui-fbc"},_j={class:"text-4.5"},Aj={class:"content transition-all transition-duration-300"},Pj={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},Mj={class:"$ui-fcc"},ZE=ur({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["close","update:modelValue"],setup(t,{emit:e}){const n=t,r=Xl(n,"modelValue",e,{passive:!0}),a=MN(()=>window.document.documentElement);ii(()=>{r.value?a.value=!0:a.value=!1});function i(){r.value&&n.autoClose&&(r.value=!1)}BC("Escape",()=>{i()});const s=xt(!1);return li(()=>s.value=!0),(o,l)=>s.value||o.mountTo==="body"?(Je(),Zt(Q5,{key:0,to:o.mountTo},[gt(Fh,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:Vt(()=>[$e(r)?(Je(),Zt(s4,{key:0,dim:o.dim,blur:o.blur,position:o.position},{default:Vt(()=>[Ze("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:Gs({width:n.width,height:n.height})},[Ze("div",Tj,[Ze("div",_j,[gn(o.$slots,"title",{},()=>[pn(hn(n.title),1)])]),o.closable?(Je(),lt("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:i},l[0]||(l[0]=[Ze("div",{class:"i-carbon-close"},null,-1)]))):sr("",!0)]),Ze("div",Aj,[gn(o.$slots,"default")]),Ze("div",Pj,[gn(o.$slots,"footer",{},()=>[gn(o.$slots,"footer",{},()=>[Ze("div",Mj,[gt(Ls,{type:"primary",onClick:i},{default:Vt(()=>l[1]||(l[1]=[pn(" close ")])),_:1})])])])])],4)]),_:3},8,["dim","blur","position"])):sr("",!0)]),_:3})],8,["to"])):sr("",!0)}}),Lj={class:"$ui-fec gap2.5"},WY=ur({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(t,{emit:e}){const n=t,r=e,a=Xl(n,"modelValue",r);ii(()=>{a.value||r("close")});function i(s=!1){(n.autoClose||s)&&(a.value=!1)}return(s,o)=>(Je(),Zt(ZE,{modelValue:$e(a),"onUpdate:modelValue":o[2]||(o[2]=l=>Pn(a)?a.value=l:null),width:s.width,height:s.height,title:s.title,closable:!1},{footer:Vt(()=>[Ze("div",Lj,[gt(Ls,{onClick:o[0]||(o[0]=()=>{r("cancel"),i(!0)})},{default:Vt(()=>[pn(hn(s.cancelText),1)]),_:1}),gt(Ls,{loading:s.loading,type:"primary",onClick:o[1]||(o[1]=()=>{r("confirm"),i()})},{default:Vt(()=>[pn(hn(s.confirmText),1)]),_:1},8,["loading"])])]),default:Vt(()=>[gn(s.$slots,"default",{class:"h-auto w-auto"},()=>[pn(hn(s.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),Oj=ur({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(t){const e=t,n={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},r={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},a=xt(!1);li(()=>{a.value=!0,setTimeout(()=>{a.value=!1},e.duration)});const i=pt(()=>e.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(s,o)=>(Je(),lt("div",{class:Wr(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":s.placement.startsWith("top")},{"bottom-0":s.placement.startsWith("bottom")}]])},[gt(Fh,{"enter-from-class":i.value,"leave-to-class":i.value,onAfterLeave:o[0]||(o[0]=()=>{var l;a.value||(l=s.onClose)==null||l.call(s)})},{default:Vt(()=>[a.value?(Je(),lt("div",{key:0,class:"flex transition-all duration-300",style:Gs({justifyContent:s.placement.includes("right")?"right":s.placement.includes("left")?"left":"center"})},[Ze("div",{class:Wr(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[s.classes,r[s.type]]])},[Ze("div",{class:Wr(n[s.type])},null,2),Ze("div",null,hn(s.message),1)],2)],4)):sr("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}});function sy(t){const e=document.createElement("div");e.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(e);const n=t.onClose;function r(){qp(null,e)}t.onClose=()=>{r(),n?.(),document.body.removeChild(e)};const a=il(Oj,t);qp(a,e)}const Ij="__vue-devtools-theme__";function i4(t={}){const e=CN({...t,storageKey:Ij});return{colorMode:e,isDark:pt(()=>e.value==="dark")}}const kj={class:"$ui-dark-toggle-vtr"},zj=ur({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const e=t,n=Xl(e,"isDark"),{colorMode:r}=i4({initialValue:n.value?"dark":"light",onChanged:o=>{n.value=o==="dark"}}),a=pt({get:()=>r.value==="dark",set:o=>r.value=o?"dark":"light"}),i=!!document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(o){if(!i||!o||!e.animation){a.value=!a.value;return}const l=o.clientX,u=o.clientY,p=Math.hypot(Math.max(l,innerWidth-l),Math.max(u,innerHeight-u));document.startViewTransition(async()=>{a.value=!a.value,await ws()}).ready.then(()=>{const h=[`circle(0px at ${l}px ${u}px)`,`circle(${p}px at ${l}px ${u}px)`];document.documentElement.animate({clipPath:a.value?[...h].reverse():h},{duration:e.animationDuration,easing:"ease-in",pseudoElement:a.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(o,l)=>(Je(),lt("span",kj,[gn(o.$slots,"default",wh(t2({mode:$e(r),isDark:a.value,toggle:s})))]))}}),GY=ur({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["update:modelValue","close"],setup(t,{emit:e}){const n=t,r=e,{height:a}=SN(()=>typeof n.top=="string"?document.querySelector(n.top):n.top,void 0,{box:"border-box"}),i=Xl(n,"modelValue",r),s={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};BC("Escape",()=>{n.closable&&(i.value=!1)});const o=pt(()=>s[n.placement]),l=xt(!1);return li(()=>l.value=!0),(u,p)=>l.value||u.mountTo==="body"?(Je(),Zt(Q5,{key:0,to:u.mountTo},[gt(Fh,{"enter-from-class":`${o.value.transition}`,"leave-to-class":`${o.value.transition}`},{default:Vt(()=>[$e(i)?(Je(),Zt(s4,{key:0,class:Wr({"pointer-events-none":u.permanent}),dim:u.dim,blur:u.blur,position:u.position,onClick:p[2]||(p[2]=h=>u.closeOutside&&u.closable&&(i.value=!1))},{default:Vt(()=>[Ze("div",{class:Wr([[o.value.class,u.contentClass??"",u.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:Gs({top:u.placement==="bottom"?"auto":`${$e(a)}px`,height:["top","bottom"].includes(u.placement)?"auto":`calc(100% - ${$e(a)}px)`}),onClick:p[1]||(p[1]=oo(()=>{},["stop"]))},[u.closable?(Je(),lt("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:p[0]||(p[0]=h=>i.value=!1)})):sr("",!0),gn(u.$slots,"default")],6)]),_:3},8,["class","dim","blur","position"])):sr("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):sr("",!0)}}),Nj={class:"overflow-hidden rounded-lg shadow-lg"},Wu=ur({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(t){const e=t;return zs("$ui-dropdown-disabled",pt(()=>e.disabled)),(n,r)=>(Je(),Zt($e(Dz),{disabled:n.disabled,class:"inline-block w-auto",shown:n.shown,triggers:[n.trigger],distance:n.distance+6,placement:n.placement,skidding:n.skidding,"onUpdate:shown":r[0]||(r[0]=a=>n.$emit("update:visible",a)),onClick:r[1]||(r[1]=a=>{a.stopPropagation()})},{popper:Vt(({hide:a})=>[Ze("div",Nj,[gn(n.$slots,"popper",wh(t2({hide:a})),()=>[r[2]||(r[2]=Ze("div",{class:"p2 opacity-40"}," Empty... ",-1))])])]),default:Vt(()=>[gn(n.$slots,"default",{},()=>[gt(Ls,Rs({...n.buttonProps,disabled:n.disabled},{class:n.buttonClass}),om({icon:Vt(()=>[gn(n.$slots,"button-icon")]),"icon-right":Vt(()=>[gn(n.$slots,"button-icon-right")]),_:2},[n.label?{name:"default",fn:Vt(()=>[pn(hn(n.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),iy=ur({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(t){const e=t,n=Rn("$ui-dropdown-disabled",void 0);return(r,a)=>qn((Je(),Zt(Ls,Rs({...e,round:!1},{disabled:$e(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:Vt(()=>[gn(r.$slots,"icon")]),default:Vt(()=>[gn(r.$slots,"default")]),_:3},16,["disabled"])),[[$e(zC)]])}}),ks=ur({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(e,n)=>(Je(),Zt(zo(e.inline?"span":"div"),{class:Wr(["$ui-base",[e.icon,e.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}}),Vj=["type","placeholder","disabled"],Hj={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},t0="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Ro=ur({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(t,{emit:e}){const n=t,r=e,a=Xl(n,"modelValue",r),i=Yz(pt(()=>n.loading),n.loadingDebounceTime),s=Jz(!1,{onChanged(h){r("updateFocused",h)}}),o=pt(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),l=pt(()=>n.disabled||i.value),u=xt();let p=!1;return ii(()=>{i.value&&s.value?p=!0:!i.value&&p&&(p=!1,ws(()=>{s.value=!0}))}),li(()=>{n.autoFocus&&(s.value=!0)}),ii(()=>{var h;s.value&&((h=u.value)==null||h.focus())}),(h,d)=>(Je(),lt("div",{class:Wr(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":h.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:h.variant==="accent",focused:$e(s)},[h.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:d[2]||(d[2]=()=>{s.value=!0})},[h.leftIcon?(Je(),lt("div",{key:0,class:Wr(t0)},[gt(ks,{icon:h.leftIcon},null,8,["icon"])])):sr("",!0),qn(Ze("input",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":d[0]||(d[0]=m=>Pn(a)?a.value=m:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:h.type,placeholder:h.placeholder,disabled:l.value||h.readonly,onBlur:d[1]||(d[1]=m=>s.value=!1)},null,40,Vj),[[gm,$e(a)]]),$e(i)?(Je(),lt("div",{key:1,class:Wr(t0)},[gt(QE)])):h.rightIcon?(Je(),lt("div",{key:2,class:Wr(t0)},[gt(ks,{icon:h.rightIcon},null,8,["icon"])])):sr("",!0),o.value?sr("",!0):(Je(),lt("div",Hj))],2))}}),Dj=["innerHTML"],Gu=ur({__name:"IcIcon",props:{name:{}},setup(t){const e=t,n=pt(()=>lj[e.name]??"");return(r,a)=>(Je(),lt("div",null,[(Je(),lt("svg",{class:"custom-svg h-1em w-1em",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",innerHTML:n.value},null,8,Dj))]))}}),Rj={class:"m1 min-w-35 w-auto flex flex-col"},jj=["onClick"],eS=ur({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:t=>String(t)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=Dh(),i=pt({get:()=>n.modelValue,set:l=>r("update:modelValue",l)}),s=pt(()=>{const l=n.options.find(u=>u.value===i.value);return l!=null&&l.label?n.labelRenderer(l.label):n.placeholder});function o(l){n.multiple?i.value=i.value.includes(l.value)?i.value.filter(u=>u!==l.value):[...i.value,l.value]:i.value=l.value}return(l,u)=>(Je(),Zt(Wu,Rs({label:s.value},{buttonProps:l.buttonProps,disabled:l.disabled}),om({popper:Vt(()=>[Ze("div",Rj,[$e(a).item?(Je(!0),lt(Rr,{key:0},Is(l.options,p=>(Je(),lt("div",{key:p.value,class:"cursor-pointer",onClick:h=>o(p)},[gn(l.$slots,"item",Rs({ref_for:!0},{item:p,active:l.multiple?i.value.includes(p.value):p.value===i.value,disabled:l.disabled}))],8,jj))),128)):(Je(!0),lt(Rr,{key:1},Is(l.options,p=>qn((Je(),Zt(Ls,{key:p.value,disabled:l.disabled,round:"normal",class:Wr(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:l.multiple?i.value.includes(p.value):p.value===i.value}]),onClick:h=>o(p)},{default:Vt(()=>[pn(hn(p.label),1)]),_:2},1032,["disabled","class","onClick"])),[[$e(zC),l.autoClose]])),128))])]),"button-icon-right":Vt(()=>[u[0]||(u[0]=Ze("div",{class:"i-mdi-chevron-down"},null,-1))]),_:2},[$e(a).button?{name:"default",fn:Vt(()=>[gn(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),Bj=ur({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Xl(t,"modelValue",e),r=rN(n);return(a,i)=>(Je(),lt("div",{class:Wr([[a.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:i[0]||(i[0]=s=>!a.disabled&&$e(r)())},[gn(a.$slots,"default"),Ze("div",{class:Wr([{selected:$e(n)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[Ze("div",{class:Wr(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!a.disabled},{"opacity-65":a.disabled}]])},null,2)],2)],2))}}),Fj=ur({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(e,n)=>(Je(),Zt($e(Rz),Rs({disabled:e.disabled,placement:e.placement},e.$attrs),{popper:Vt(()=>[gn(e.$slots,"popper")]),default:Vt(()=>[gn(e.$slots,"default")]),_:3},16,["disabled","placement"]))}}),$j="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Uj={class:"h-screen w-screen $ui-fcc flex-col"},qj={class:"outer"},Wj={class:"inner"},Gj=["src"],Kj=ur({__name:"AppConnecting",setup(t){return(e,n)=>(Je(),lt("div",Uj,[Ze("div",qj,[Ze("div",Wj,[Ze("img",{src:$e($j),class:"max-w-18",alt:"Vue logo"},null,8,Gj)])]),gn(e.$slots,"default",{},void 0,!0)]))}}),Xj=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},Yj=Xj(Kj,[["__scopeId","data-v-56eba732"]]);function Jj(){const{copy:t,copied:e}=hN();return{copy:(r,a={})=>{const{silent:i=!1,type:s=""}=a;t(r).then(()=>{i||sy({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{i||sy({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:e}}const Qj=["src","alt"],Zj=["title"],oy="custom-ic-",of=ur({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0},fallback:{}},setup(t){const e=t,n=xt(e.icon);Ir(()=>e.icon,a=>{n.value=a});function r(){n.value=e.fallback}return(a,i)=>$e(n)&&$e(xT)($e(n))?(Je(),lt("img",Rs({key:0,style:{width:"1em",height:"1em"}},a.$attrs,{src:$e(n),alt:a.title,onError:r}),null,16,Qj)):$e(n)?.startsWith(oy)?(Je(),Zt($e(Gu),Rs({key:1,name:$e(n).slice(oy.length)},a.$attrs,{title:a.showTitle?a.title:void 0}),null,16,["name","title"])):(Je(),lt("div",Rs({key:2,style:{width:"1em",height:"1em"}},a.$attrs,{class:$e(n)||"i-carbon-bring-forward",title:a.showTitle?a.title:void 0}),null,16,Zj))}});function ha(t){return Array.isArray?Array.isArray(t):nS(t)==="[object Array]"}function eB(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function tB(t){return t==null?"":eB(t)}function Oo(t){return typeof t=="string"}function tS(t){return typeof t=="number"}function rB(t){return t===!0||t===!1||nB(t)&&nS(t)=="[object Boolean]"}function rS(t){return typeof t=="object"}function nB(t){return rS(t)&&t!==null}function Ri(t){return t!=null}function r0(t){return!t.trim().length}function nS(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const sB="Incorrect 'index' type",iB=t=>`Invalid value for key ${t}`,oB=t=>`Pattern length exceeds max of ${t}.`,aB=t=>`Missing ${t} property in key`,lB=t=>`Property 'weight' in key '${t}' must be a positive integer`,ay=Object.prototype.hasOwnProperty;class cB{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let a=sS(r);this._keys.push(a),this._keyMap[a.id]=a,n+=a.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function sS(t){let e=null,n=null,r=null,a=1,i=null;if(Oo(t)||ha(t))r=t,e=ly(t),n=g5(t);else{if(!ay.call(t,"name"))throw new Error(aB("name"));const s=t.name;if(r=s,ay.call(t,"weight")&&(a=t.weight,a<=0))throw new Error(lB(s));e=ly(s),n=g5(s),i=t.getFn}return{path:e,id:n,weight:a,src:r,getFn:i}}function ly(t){return ha(t)?t:t.split(".")}function g5(t){return ha(t)?t.join("."):t}function uB(t,e){let n=[],r=!1;const a=(i,s,o)=>{if(Ri(i))if(!s[o])n.push(i);else{let l=s[o];const u=i[l];if(!Ri(u))return;if(o===s.length-1&&(Oo(u)||tS(u)||rB(u)))n.push(tB(u));else if(ha(u)){r=!0;for(let p=0,h=u.length;pt.score===e.score?t.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Oo(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();Oo(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n{let s=a.getFn?a.getFn(e):this.getFn(e,a.path);if(Ri(s)){if(ha(s)){let o=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:u,value:p}=l.pop();if(Ri(p))if(Oo(p)&&!r0(p)){let h={v:p,i:u,n:this.norm.get(p)};o.push(h)}else ha(p)&&p.forEach((h,d)=>{l.push({nestedArrIndex:d,value:h})})}r.$[i]=o}else if(Oo(s)&&!r0(s)){let o={v:s,n:this.norm.get(s)};r.$[i]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function iS(t,e,{getFn:n=Gr.getFn,fieldNormWeight:r=Gr.fieldNormWeight}={}){const a=new o4({getFn:n,fieldNormWeight:r});return a.setKeys(t.map(sS)),a.setSources(e),a.create(),a}function vB(t,{getFn:e=Gr.getFn,fieldNormWeight:n=Gr.fieldNormWeight}={}){const{keys:r,records:a}=t,i=new o4({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function dp(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Gr.distance,ignoreLocation:i=Gr.ignoreLocation}={}){const s=e/t.length;if(i)return s;const o=Math.abs(r-n);return a?s+o/a:o?1:s}function yB(t=[],e=Gr.minMatchCharLength){let n=[],r=-1,a=-1,i=0;for(let s=t.length;i=e&&n.push([r,a]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}const Ml=32;function bB(t,e,n,{location:r=Gr.location,distance:a=Gr.distance,threshold:i=Gr.threshold,findAllMatches:s=Gr.findAllMatches,minMatchCharLength:o=Gr.minMatchCharLength,includeMatches:l=Gr.includeMatches,ignoreLocation:u=Gr.ignoreLocation}={}){if(e.length>Ml)throw new Error(oB(Ml));const p=e.length,h=t.length,d=Math.max(0,Math.min(r,h));let m=i,f=d;const v=o>1||l,C=v?Array(h):[];let E;for(;(E=t.indexOf(e,f))>-1;){let T=dp(e,{currentLocation:E,expectedLocation:d,distance:a,ignoreLocation:u});if(m=Math.min(T,m),f=E+p,v){let O=0;for(;O=z;N-=1){let $=N-1,D=n[t.charAt($)];if(v&&(C[$]=+!!D),W[N]=(W[N+1]<<1|1)&D,T&&(W[N]|=(x[N+1]|x[N])<<1|1|x[N+1]),W[N]&b&&(g=dp(e,{errors:T,currentLocation:$,expectedLocation:d,distance:a,ignoreLocation:u}),g<=m)){if(m=g,f=$,f<=d)break;z=Math.max(1,2*d-f)}}if(dp(e,{errors:T+1,currentLocation:d,expectedLocation:d,distance:a,ignoreLocation:u})>m)break;x=W}const A={isMatch:f>=0,score:Math.max(.001,g)};if(v){const T=yB(C,o);T.length?l&&(A.indices=T):A.isMatch=!1}return A}function CB(t){let e={};for(let n=0,r=t.length;nt.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):t=>t;class oS{constructor(e,{location:n=Gr.location,threshold:r=Gr.threshold,distance:a=Gr.distance,includeMatches:i=Gr.includeMatches,findAllMatches:s=Gr.findAllMatches,minMatchCharLength:o=Gr.minMatchCharLength,isCaseSensitive:l=Gr.isCaseSensitive,ignoreDiacritics:u=Gr.ignoreDiacritics,ignoreLocation:p=Gr.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:u,ignoreLocation:p},e=l?e:e.toLowerCase(),e=u?gh(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,f)=>{this.chunks.push({pattern:m,alphabet:CB(m),startIndex:f})},d=this.pattern.length;if(d>Ml){let m=0;const f=d%Ml,v=d-f;for(;m{const{isMatch:x,score:g,indices:w}=bB(e,v,C,{location:i+E,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:u,includeMatches:a,ignoreLocation:p});x&&(m=!0),d+=g,x&&w&&(h=[...h,...w])});let f={isMatch:m,score:m?d/this.chunks.length:1};return m&&a&&(f.indices=h),f}}class al{constructor(e){this.pattern=e}static isMultiMatch(e){return cy(e,this.multiRegex)}static isSingleMatch(e){return cy(e,this.singleRegex)}search(){}}function cy(t,e){const n=t.match(e);return n?n[1]:null}class EB extends al{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class SB extends al{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class xB extends al{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class wB extends al{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class TB extends al{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class _B extends al{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class aS extends al{constructor(e,{location:n=Gr.location,threshold:r=Gr.threshold,distance:a=Gr.distance,includeMatches:i=Gr.includeMatches,findAllMatches:s=Gr.findAllMatches,minMatchCharLength:o=Gr.minMatchCharLength,isCaseSensitive:l=Gr.isCaseSensitive,ignoreDiacritics:u=Gr.ignoreDiacritics,ignoreLocation:p=Gr.ignoreLocation}={}){super(e),this._bitapSearch=new oS(e,{location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:u,ignoreLocation:p})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class lS extends al{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const a=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+i,a.push([r,n-1]);const s=!!a.length;return{isMatch:s,score:s?0:1,indices:a}}}const v5=[EB,lS,xB,wB,_B,TB,SB,aS],uy=v5.length,AB=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,PB="|";function MB(t,e={}){return t.split(PB).map(n=>{let r=n.trim().split(AB).filter(i=>i&&!!i.trim()),a=[];for(let i=0,s=r.length;i!!(t[vh.AND]||t[vh.OR]),kB=t=>!!t[C5.PATH],zB=t=>!ha(t)&&rS(t)&&!E5(t),py=t=>({[vh.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function cS(t,e,{auto:n=!0}={}){const r=a=>{let i=Object.keys(a);const s=kB(a);if(!s&&i.length>1&&!E5(a))return r(py(a));if(zB(a)){const l=s?a[C5.PATH]:i[0],u=s?a[C5.PATTERN]:a[l];if(!Oo(u))throw new Error(iB(l));const p={keyId:g5(l),pattern:u};return n&&(p.searcher=b5(u,e)),p}let o={children:[],operator:i[0]};return i.forEach(l=>{const u=a[l];ha(u)&&u.forEach(p=>{o.children.push(r(p))})}),o};return E5(t)||(t=py(t)),r(t)}function NB(t,{ignoreFieldNorm:e=Gr.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:a,norm:i,score:s})=>{const o=a?a.weight:null;r*=Math.pow(s===0&&o?Number.EPSILON:s,(o||1)*(e?1:i))}),n.score=r})}function VB(t,e){const n=t.matches;e.matches=[],Ri(n)&&n.forEach(r=>{if(!Ri(r.indices)||!r.indices.length)return;const{indices:a,value:i}=r;let s={indices:a,value:i};r.key&&(s.key=r.key.src),r.idx>-1&&(s.refIndex=r.idx),e.matches.push(s)})}function HB(t,e){e.score=t.score}function DB(t,e,{includeMatches:n=Gr.includeMatches,includeScore:r=Gr.includeScore}={}){const a=[];return n&&a.push(VB),r&&a.push(HB),t.map(i=>{const{idx:s}=i,o={item:e[s],refIndex:s};return a.length&&a.forEach(l=>{l(i,o)}),o})}class g1{constructor(e,n={},r){this.options={...Gr,...n},this.options.useExtendedSearch,this._keyStore=new cB(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof o4))throw new Error(sB);this._myIndex=n||iS(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ri(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,a=this._docs.length;r-1&&(l=l.slice(0,n)),DB(l,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e){const n=b5(e,this.options),{records:r}=this._myIndex,a=[];return r.forEach(({v:i,i:s,n:o})=>{if(!Ri(i))return;const{isMatch:l,score:u,indices:p}=n.searchIn(i);l&&a.push({item:i,idx:s,matches:[{score:u,value:i,norm:o,indices:p}]})}),a}_searchLogical(e){const n=cS(e,this.options),r=(o,l,u)=>{if(!o.children){const{keyId:h,searcher:d}=o,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:d});return m&&m.length?[{idx:u,item:l,matches:m}]:[]}const p=[];for(let h=0,d=o.children.length;h{if(Ri(o)){let u=r(n,o,l);u.length&&(i[l]||(i[l]={idx:l,item:o,matches:[]},s.push(i[l])),u.forEach(({matches:p})=>{i[l].matches.push(...p)}))}}),s}_searchObjectList(e){const n=b5(e,this.options),{keys:r,records:a}=this._myIndex,i=[];return a.forEach(({$:s,i:o})=>{if(!Ri(s))return;let l=[];r.forEach((u,p)=>{l.push(...this._findMatches({key:u,value:s[p],searcher:n}))}),l.length&&i.push({idx:o,item:s,matches:l})}),i}_findMatches({key:e,value:n,searcher:r}){if(!Ri(n))return[];let a=[];if(ha(n))n.forEach(({v:i,i:s,n:o})=>{if(!Ri(i))return;const{isMatch:l,score:u,indices:p}=r.searchIn(i);l&&a.push({score:u,key:e,value:i,idx:s,norm:o,indices:p})});else{const{v:i,n:s}=n,{isMatch:o,score:l,indices:u}=r.searchIn(i);o&&a.push({score:l,key:e,value:i,norm:s,indices:u})}return a}}g1.version="7.1.0";g1.createIndex=iS;g1.parseIndex=vB;g1.config=Gr;g1.parseQuery=cS;IB(OB);function RB(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n0,hy;function jB(){return hy||(hy=1,n0=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!t(e[a],n[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}),n0}var BB=jB();const uS=RB(BB),v1={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(t,{emit:e}){const n=e,r=t,a=Dh(),i=xt([]),s=pt(()=>i.value.reduce((pe,oe)=>(pe[~~oe.id]=oe)&&pe,{})),o=pt(()=>i.value.length),l=xt(null),u=xt(!1),p=xt({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),h=xt({splitter:null,timeoutId:null}),d=pt(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":p.value.dragging})),m=()=>{document.addEventListener("mousemove",C,{passive:!1}),document.addEventListener("mouseup",E),"ontouchstart"in window&&(document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",E))},f=()=>{document.removeEventListener("mousemove",C,{passive:!1}),document.removeEventListener("mouseup",E),"ontouchstart"in window&&(document.removeEventListener("touchmove",C,{passive:!1}),document.removeEventListener("touchend",E))},v=(pe,oe)=>{const ce=pe.target.closest(".splitpanes__splitter");if(ce){const{left:ie,top:ne}=ce.getBoundingClientRect(),{clientX:Se,clientY:se}="ontouchstart"in window&&pe.touches?pe.touches[0]:pe;p.value.cursorOffset=r.horizontal?se-ne:Se-ie}m(),p.value.mouseDown=!0,p.value.activeSplitter=oe},C=pe=>{p.value.mouseDown&&(pe.preventDefault(),p.value.dragging=!0,requestAnimationFrame(()=>{T(b(pe)),Ee("resize",{event:pe},!0)}))},E=pe=>{p.value.dragging&&Ee("resized",{event:pe},!0),p.value.mouseDown=!1,p.value.activeSplitter=null,setTimeout(()=>{p.value.dragging=!1,f()},100)},x=(pe,oe)=>{"ontouchstart"in window&&(pe.preventDefault(),h.value.splitter===oe?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,g(pe,oe),h.value.splitter=null):(h.value.splitter=oe,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),p.value.dragging||Ee("splitter-click",{event:pe,index:oe},!0)},g=(pe,oe)=>{if(Ee("splitter-dblclick",{event:pe,index:oe},!0),r.maximizePanes){let ce=0;i.value=i.value.map((ie,ne)=>(ie.size=ne===oe?ie.max:ie.min,ne!==oe&&(ce+=ie.min),ie)),i.value[oe].size-=ce,Ee("pane-maximize",{event:pe,index:oe,pane:i.value[oe]}),Ee("resized",{event:pe,index:oe},!0)}},w=(pe,oe)=>{Ee("pane-click",{event:pe,index:s.value[oe].index,pane:s.value[oe]})},b=pe=>{const oe=l.value.getBoundingClientRect(),{clientX:ce,clientY:ie}="ontouchstart"in window&&pe.touches?pe.touches[0]:pe;return{x:ce-(r.horizontal?0:p.value.cursorOffset)-oe.left,y:ie-(r.horizontal?p.value.cursorOffset:0)-oe.top}},A=pe=>{pe=pe[r.horizontal?"y":"x"];const oe=l.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(pe=oe-pe),pe*100/oe},T=pe=>{const oe=p.value.activeSplitter;let ce={prevPanesSize:I(oe),nextPanesSize:z(oe),prevReachedMinPanes:0,nextReachedMinPanes:0};const ie=0+(r.pushOtherPanes?0:ce.prevPanesSize),ne=100-(r.pushOtherPanes?0:ce.nextPanesSize),Se=Math.max(Math.min(A(pe),ne),ie);let se=[oe,oe+1],ye=i.value[se[0]]||null,ge=i.value[se[1]]||null;const Me=ye.max<100&&Se>=ye.max+ce.prevPanesSize,ae=ge.max<100&&Se<=100-(ge.max+z(oe+1));if(Me||ae){Me?(ye.size=ye.max,ge.size=Math.max(100-ye.max-ce.prevPanesSize-ce.nextPanesSize,0)):(ye.size=Math.max(100-ge.max-ce.prevPanesSize-z(oe+1),0),ge.size=ge.max);return}if(r.pushOtherPanes){const k=O(ce,Se);if(!k)return;({sums:ce,panesToResize:se}=k),ye=i.value[se[0]]||null,ge=i.value[se[1]]||null}ye!==null&&(ye.size=Math.min(Math.max(Se-ce.prevPanesSize-ce.prevReachedMinPanes,ye.min),ye.max)),ge!==null&&(ge.size=Math.min(Math.max(100-Se-ce.nextPanesSize-ce.nextReachedMinPanes,ge.min),ge.max))},O=(pe,oe)=>{const ce=p.value.activeSplitter,ie=[ce,ce+1];return oe{Se>ie[0]&&Se<=ce&&(ne.size=ne.min,pe.prevReachedMinPanes+=ne.min)}),pe.prevPanesSize=I(ie[0]),ie[0]===void 0)?(pe.prevReachedMinPanes=0,i.value[0].size=i.value[0].min,i.value.forEach((ne,Se)=>{Se>0&&Se<=ce&&(ne.size=ne.min,pe.prevReachedMinPanes+=ne.min)}),i.value[ie[1]].size=100-pe.prevReachedMinPanes-i.value[0].min-pe.prevPanesSize-pe.nextPanesSize,null):oe>100-pe.nextPanesSize-i.value[ie[1]].min&&(ie[1]=W(ce).index,pe.nextReachedMinPanes=0,ie[1]>ce+1&&i.value.forEach((ne,Se)=>{Se>ce&&Se{Se=ce+1&&(ne.size=ne.min,pe.nextReachedMinPanes+=ne.min)}),i.value[ie[0]].size=100-pe.prevPanesSize-z(ie[0]-1),null):{sums:pe,panesToResize:ie}},I=pe=>i.value.reduce((oe,ce,ie)=>oe+(iei.value.reduce((oe,ce,ie)=>oe+(ie>pe+1?ce.size:0),0),U=pe=>[...i.value].reverse().find(oe=>oe.indexoe.min)||{},W=pe=>i.value.find(oe=>oe.index>pe+1&&oe.size>oe.min)||{},F=()=>{var pe;const oe=Array.from(((pe=l.value)==null?void 0:pe.children)||[]);for(const ce of oe){const ie=ce.classList.contains("splitpanes__pane"),ne=ce.classList.contains("splitpanes__splitter");!ie&&!ne&&(ce.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},N=(pe,oe,ce=!1)=>{const ie=pe-1,ne=document.createElement("div");ne.classList.add("splitpanes__splitter"),ce||(ne.onmousedown=Se=>v(Se,ie),typeof window<"u"&&"ontouchstart"in window&&(ne.ontouchstart=Se=>v(Se,ie)),ne.onclick=Se=>x(Se,ie+1)),ne.ondblclick=Se=>g(Se,ie+1),oe.parentNode.insertBefore(ne,oe)},$=pe=>{pe.onmousedown=void 0,pe.onclick=void 0,pe.ondblclick=void 0,pe.remove()},D=()=>{var pe;const oe=Array.from(((pe=l.value)==null?void 0:pe.children)||[]);for(const ie of oe)ie.className.includes("splitpanes__splitter")&&$(ie);let ce=0;for(const ie of oe)ie.className.includes("splitpanes__pane")&&(!ce&&r.firstSplitter?N(ce,ie,!0):ce&&N(ce,ie),ce++)},R=({uid:pe,...oe})=>{const ce=s.value[pe];for(const[ie,ne]of Object.entries(oe))ce[ie]=ne},K=pe=>{var oe;let ce=-1;Array.from(((oe=l.value)==null?void 0:oe.children)||[]).some(ie=>(ie.className.includes("splitpanes__pane")&&ce++,ie.isSameNode(pe.el))),i.value.splice(ce,0,{...pe,index:ce}),i.value.forEach((ie,ne)=>ie.index=ne),u.value&&ws(()=>{D(),ue({addedPane:i.value[ce]}),Ee("pane-add",{pane:i.value[ce]})})},re=pe=>{const oe=i.value.findIndex(ie=>ie.id===pe);i.value[oe].el=null;const ce=i.value.splice(oe,1)[0];i.value.forEach((ie,ne)=>ie.index=ne),ws(()=>{D(),Ee("pane-remove",{pane:ce}),ue({removedPane:{...ce}})})},ue=(pe={})=>{!pe.addedPane&&!pe.removedPane?X():i.value.some(oe=>oe.givenSize!==null||oe.min||oe.max<100)?J(pe):Oe(),u.value&&Ee("resized")},Oe=()=>{const pe=100/o.value;let oe=0;const ce=[],ie=[];for(const ne of i.value)ne.size=Math.max(Math.min(pe,ne.max),ne.min),oe-=ne.size,ne.size>=ne.max&&ce.push(ne.id),ne.size<=ne.min&&ie.push(ne.id);oe>.1&&fe(oe,ce,ie)},X=()=>{let pe=100;const oe=[],ce=[];let ie=0;for(const Se of i.value)pe-=Se.size,Se.givenSize!==null&&ie++,Se.size>=Se.max&&oe.push(Se.id),Se.size<=Se.min&&ce.push(Se.id);let ne=100;if(pe>.1){for(const Se of i.value)Se.givenSize===null&&(Se.size=Math.max(Math.min(pe/(o.value-ie),Se.max),Se.min)),ne-=Se.size;ne>.1&&fe(ne,oe,ce)}},J=({addedPane:pe,removedPane:oe}={})=>{let ce=100/o.value,ie=0;const ne=[],Se=[];(pe?.givenSize??null)!==null&&(ce=(100-pe.givenSize)/(o.value-1));for(const se of i.value)ie-=se.size,se.size>=se.max&&ne.push(se.id),se.size<=se.min&&Se.push(se.id);if(!(Math.abs(ie)<.1)){for(const se of i.value)pe?.givenSize!==null&&pe?.id===se.id||(se.size=Math.max(Math.min(ce,se.max),se.min)),ie-=se.size,se.size>=se.max&&ne.push(se.id),se.size<=se.min&&Se.push(se.id);ie>.1&&fe(ie,ne,Se)}},fe=(pe,oe,ce)=>{let ie;pe>0?ie=pe/(o.value-oe.length):ie=pe/(o.value-ce.length),i.value.forEach((ne,Se)=>{if(pe>0&&!oe.includes(ne.id)){const se=Math.max(Math.min(ne.size+ie,ne.max),ne.min),ye=se-ne.size;pe-=ye,ne.size=se}else if(!ce.includes(ne.id)){const se=Math.max(Math.min(ne.size+ie,ne.max),ne.min),ye=se-ne.size;pe-=ye,ne.size=se}}),Math.abs(pe)>.1&&ws(()=>{u.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},Ee=(pe,oe=void 0,ce=!1)=>{const ie=oe?.index??p.value.activeSplitter??null;n(pe,{...oe,...ie!==null&&{index:ie},...ce&&ie!==null&&{prevPane:i.value[ie-(r.firstSplitter?1:0)],nextPane:i.value[ie+(r.firstSplitter?0:1)]},panes:i.value.map(ne=>({min:ne.min,max:ne.max,size:ne.size}))})};Ir(()=>r.firstSplitter,()=>D()),li(()=>{F(),D(),ue(),Ee("ready"),u.value=!0}),u1(()=>u.value=!1);const Ae=()=>{var pe;return il("div",{ref:l,class:d.value},(pe=a.default)==null?void 0:pe.call(a))};return zs("panes",i),zs("indexedPanes",s),zs("horizontal",pt(()=>r.horizontal)),zs("requestUpdate",R),zs("onPaneAdd",K),zs("onPaneRemove",re),zs("onPaneClick",w),(pe,oe)=>(Je(),Zt(zo(Ae)))}},Bi={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(t){var e;const n=t,r=Rn("requestUpdate"),a=Rn("onPaneAdd"),i=Rn("horizontal"),s=Rn("onPaneRemove"),o=Rn("onPaneClick"),l=(e=Bs())==null?void 0:e.uid,u=Rn("indexedPanes"),p=pt(()=>u.value[l]),h=xt(null),d=pt(()=>{const C=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(C,f.value),m.value)}),m=pt(()=>{const C=parseFloat(n.minSize);return isNaN(C)?0:C}),f=pt(()=>{const C=parseFloat(n.maxSize);return isNaN(C)?100:C}),v=pt(()=>{var C;return`${i.value?"height":"width"}: ${(C=p.value)==null?void 0:C.size}%`});return Ir(()=>d.value,C=>r({uid:l,size:C})),Ir(()=>m.value,C=>r({uid:l,min:C})),Ir(()=>f.value,C=>r({uid:l,max:C})),li(()=>{a({id:l,el:h.value,min:m.value,max:f.value,givenSize:n.size===void 0?null:d.value,size:d.value})}),u1(()=>s(l)),(C,E)=>(Je(),lt("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:E[0]||(E[0]=x=>$e(o)(x,C._.uid)),style:Gs(v.value)},[gn(C.$slots,"default")],4))}};function FB(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var a=t.indexOf("Edge/");return a>0?parseInt(t.substring(a+5,t.indexOf(".",a)),10):-1}let Ap;function S5(){S5.init||(S5.init=!0,Ap=FB()!==-1)}var af={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){S5(),ws(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Ap&&this.$el.appendChild(t),t.data="about:blank",Ap||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Ap&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const $B=J5();X5("data-v-b329ee4c");const UB={class:"resize-observer",tabindex:"-1"};Y5();const qB=$B((t,e,n,r,a,i)=>(Je(),Zt("div",UB)));af.render=qB;af.__scopeId="data-v-b329ee4c";af.__file="src/components/ResizeObserver.vue";function Pp(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pp=function(e){return typeof e}:Pp=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pp(t)}function WB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GB(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&arguments[2]!==void 0?arguments[2]:{},r,a,i,s=function(l){for(var u=arguments.length,p=new Array(u>1?u-1:0),h=1;h1){var u=o.find(function(h){return h.isIntersecting});u&&(l=u)}if(a.callback){var p=l.isIntersecting&&l.intersectionRatio>=a.threshold;if(p===a.oldResult)return;a.oldResult=p,a.callback(p,l)}},this.options.intersection),ws(function(){a.observer&&a.observer.observe(a.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),t}();function hS(t,e,n){var r=e.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var a=new tF(t,r,n);t._vue_visibilityState=a}}function rF(t,e,n){var r=e.value,a=e.oldValue;if(!pS(r,a)){var i=t._vue_visibilityState;if(!r){fS(t);return}i?i.createObserver(r,n):hS(t,{value:r},n)}}function fS(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}var nF={beforeMount:hS,updated:rF,unmounted:fS},sF={itemsLimit:1e3},iF=/(auto|scroll)/;function dS(t,e){return t.parentNode===null?e:dS(t.parentNode,e.concat([t]))}var s0=function(e,n){return getComputedStyle(e,null).getPropertyValue(n)},oF=function(e){return s0(e,"overflow")+s0(e,"overflow-y")+s0(e,"overflow-x")},aF=function(e){return iF.test(oF(e))};function dy(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var e=dS(t.parentNode,[]),n=0;n{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const t=this.$_lastUpdateScrollPosition;typeof t=="number"&&this.$nextTick(()=>{this.scrollToPosition(t)})},beforeUnmount(){this.removeListeners()},methods:{addView(t,e,n,r,a){const i=W5({id:pF++,index:e,used:!0,key:r,type:a}),s=Lh({item:n,position:0,nr:i});return t.push(s),s},unuseView(t,e=!1){const n=this.$_unusedViews,r=t.nr.type;let a=n.get(r);a||(a=[],n.set(r,a)),a.push(t),e||(t.nr.used=!1,t.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(t){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const e=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});e(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&e()},this.updateInterval))}},handleVisibilityChange(t,e){this.ready&&(t||e.boundingClientRect.width!==0||e.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(t,e=!1){const n=this.itemSize,r=this.gridItems||1,a=this.itemSecondarySize||n,i=this.$_computedMinItemSize,s=this.typeField,o=this.simpleArray?null:this.keyField,l=this.items,u=l.length,p=this.sizes,h=this.$_views,d=this.$_unusedViews,m=this.pool,f=this.itemIndexByKey;let v,C,E,x,g;if(!u)v=C=x=g=E=0;else if(this.$_prerender)v=x=0,C=g=Math.min(this.prerender,l.length),E=null;else{const z=this.getScroll();if(e){let F=z.start-this.$_lastUpdateScrollPosition;if(F<0&&(F=-F),n===null&&Fz.start&&($=D),D=~~((N+$)/2);while(D!==R);for(D<0&&(D=0),v=D,E=p[u-1].accumulator,C=D;Cu&&(C=u)),x=v;xu&&(C=u),x<0&&(x=0),g>u&&(g=u),E=Math.ceil(u/r)*n}}C-v>sF.itemsLimit&&this.itemsLimitError(),this.totalSize=E;let w;const b=v<=this.$_endIndex&&C>=this.$_startIndex;if(b)for(let z=0,U=m.length;z=C)&&this.unuseView(w));const A=b?null:new Map;let T,O,I;for(let z=v;z=W.length)&&(w=this.addView(m,z,T,U,O),this.unuseView(w,!0),W=d.get(O)),w=W[I],A.set(O,I+1)),h.delete(w.nr.key),w.nr.used=!0,w.nr.index=z,w.nr.key=U,w.nr.type=O,h.set(U,w),F=!0;else if(!w.nr.used&&(w.nr.used=!0,F=!0,W)){const N=W.indexOf(w);N!==-1&&W.splice(N,1)}w.item=T,F&&(z===l.length-1&&this.$emit("scroll-end"),z===0&&this.$emit("scroll-start")),n===null?(w.position=p[z-1].accumulator,w.offset=0):(w.position=Math.floor(z/r)*n,w.offset=z%r*a)}return this.$_startIndex=v,this.$_endIndex=C,this.emitUpdate&&this.$emit("update",v,C,x,g),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:b}},getListenerTarget(){let t=dy(this.$el);return window.document&&(t===window.document.documentElement||t===window.document.body)&&(t=window),t},getScroll(){const{$el:t,direction:e}=this,n=e==="vertical";let r;if(this.pageMode){const a=t.getBoundingClientRect(),i=n?a.height:a.width;let s=-(n?a.top:a.left),o=n?window.innerHeight:window.innerWidth;s<0&&(o+=s,s=0),s+o>i&&(o=i-s),r={start:s,end:s+o}}else n?r={start:t.scrollTop,end:t.scrollTop+t.clientHeight}:r={start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,T5?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(t){let e;const n=this.gridItems||1;this.itemSize===null?e=t>0?this.sizes[t-1].accumulator:0:e=Math.floor(t/n)*this.itemSize,this.scrollToPosition(e)},scrollToPosition(t){const e=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,a;if(this.pageMode){const i=dy(this.$el),s=i.tagName==="HTML"?0:i[e.scroll],o=i.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[e.start]-o[e.start];n=i,r=e.scroll,a=t+s+u}else n=this.$el,r=e.scroll,a=t;n[r]=a},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((t,e)=>t.nr.index-e.nr.index)}}};const hF={key:0,ref:"before",class:"vue-recycle-scroller__slot"},fF={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function dF(t,e,n,r,a,i){const s=ua("ResizeObserver"),o=J8("observe-visibility");return qn((Je(),lt("div",{class:Wr(["vue-recycle-scroller",{ready:a.ready,"page-mode":n.pageMode,[`direction-${t.direction}`]:!0}]),onScrollPassive:e[0]||(e[0]=(...l)=>i.handleScroll&&i.handleScroll(...l))},[t.$slots.before?(Je(),lt("div",hF,[gn(t.$slots,"before")],512)):sr("v-if",!0),(Je(),Zt(zo(n.listTag),{ref:"wrapper",style:Gs({[t.direction==="vertical"?"minHeight":"minWidth"]:a.totalSize+"px"}),class:Wr(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:Vt(()=>[(Je(!0),lt(Rr,null,Is(a.pool,l=>(Je(),Zt(zo(n.itemTag),Rs({key:l.nr.id,style:a.ready?{transform:`translate${t.direction==="vertical"?"Y":"X"}(${l.position}px) translate${t.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${t.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${t.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&a.hoverKey===l.nr.key}]]},Q8(n.skipHover?{}:{mouseenter:()=>{a.hoverKey=l.nr.key},mouseleave:()=>{a.hoverKey=null}})),{default:Vt(()=>[gn(t.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),gn(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(Je(),lt("div",fF,[gn(t.$slots,"after")],512)):sr("v-if",!0),gt(s,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[o,i.handleVisibilityChange]])}a4.render=dF;a4.__file="src/components/RecycleScroller.vue";var mS=typeof global=="object"&&global&&global.Object===Object&&global,mF=typeof self=="object"&&self&&self.Object===Object&&self,va=mS||mF||Function("return this")(),jo=va.Symbol,gS=Object.prototype,gF=gS.hasOwnProperty,vF=gS.toString,G1=jo?jo.toStringTag:void 0;function yF(t){var e=gF.call(t,G1),n=t[G1];try{t[G1]=void 0;var r=!0}catch{}var a=vF.call(t);return r&&(e?t[G1]=n:delete t[G1]),a}var bF=Object.prototype,CF=bF.toString;function EF(t){return CF.call(t)}var SF="[object Null]",xF="[object Undefined]",my=jo?jo.toStringTag:void 0;function y1(t){return t==null?t===void 0?xF:SF:my&&my in Object(t)?yF(t):EF(t)}function a1(t){return t!=null&&typeof t=="object"}var wF="[object Symbol]";function l4(t){return typeof t=="symbol"||a1(t)&&y1(t)==wF}function TF(t,e){for(var n=-1,r=t==null?0:t.length,a=Array(r);++n-1&&t%1==0&&t-1&&t%1==0&&t<=WF}function ES(t){return t!=null&&u4(t.length)&&!yS(t)}var GF=Object.prototype;function KF(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||GF;return t===n}function XF(t,e){for(var n=-1,r=Array(t);++n-1}function rU(t,e){var n=this.__data__,r=lf(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ya(t){var e=-1,n=t==null?0:t.length;for(this.clear();++eo))return!1;var u=i.get(t),p=i.get(e);if(u&&p)return u==e&&p==t;var h=-1,d=!0,m=n&UU?new yh:void 0;for(i.set(t,e),i.set(e,t);++hIS)return!1;let a=!1;const i=Object.keys(t);let s,o;for(let l=0;lIS)return!1;let a=!1,i;for(let s=0;sBq({[o.key]:o.value},n));s.length&&(a[i]=r?r(s):s)}return a}const NS=ur({__name:"NodeTag",props:{tag:{}},setup(t){return(e,n)=>qn((Je(),lt("span",{style:Gs({color:`#${$e(Dy)(e.tag.textColor)}`,backgroundColor:`#${$e(Dy)(e.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[pn(hn(e.tag.label),1)],4)),[[$e(Os),{content:e.tag.tooltip,html:!0}]])}}),Uq={class:"p2"},qq=["onClick"],Wq=ur({__name:"SelectiveList",props:Gc({data:{}},{modelValue:{},modelModifiers:{}}),emits:Gc(["select"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Rh(t,"modelValue");function a(i){r.value=i,n("select",i)}return(i,s)=>(Je(),lt("ul",Uq,[(Je(!0),lt(Rr,null,Is(i.data,o=>(Je(),lt("li",{key:o.id,class:Wr(["selectable-item",{active:o.id===r.value}]),onClick:l=>a(o.id)},[pn(hn(o.label)+" ",1),(Je(!0),lt(Rr,null,Is(o.tags,(l,u)=>(Je(),Zt(NS,{key:u,tag:l},null,8,["tag"]))),128))],10,qq))),128))]))}}),v4=Symbol("VirtualRouteKey"),VS=Symbol("VirtualRoutesKey");function y4(t,e){const n=e?.defaultRoutePath??Hr(t)[0].path,r=xt({path:n}),a=pt(()=>Hr(t)),i=pt(()=>r.value.path),s=ur({setup(){return()=>{const l=a.value.find(u=>u.path===i.value);return l?il(l.component):null}}});function o(){r.value.path=n}return zs(v4,r),zs(VS,a),{VirtualRouterView:s,restoreRouter:o}}function c2(){const t=Rn(v4);return{push(e){t.value.path=e}}}function Gq(){const t=Rn(VS),e=Rn(v4);return{routes:t,currentRoute:e}}const Kq={border:"b base",class:"flex items-center justify-between px3"},Xq=["href"],Yq=["href"],b1=ur({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(t){const e=c2();return(n,r)=>(Je(),lt("div",Kq,[Ze("div",null,[gn(n.$slots,"default",{},()=>[Ze("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:r[0]||(r[0]=a=>$e(e).push("/"))})])]),Ze("div",null,[Ze("a",{class:"pr2",href:n.docLink,target:"_blank",title:"View Documentation"},r[1]||(r[1]=[Ze("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1)]),8,Xq),n.githubRepoLink?(Je(),lt("a",{key:0,href:n.githubRepoLink,target:"_blank",title:"Star on GitHub"},r[2]||(r[2]=[Ze("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1)]),8,Yq)):sr("",!0)])]))}}),ll=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},Jq={},Qq={class:"h-full flex flex-col items-center justify-center op50"};function Zq(t,e){return Je(),lt("div",Qq,[e[0]||(e[0]=Ze("i",{class:"i-lets-icons:blank-light"},null,-1)),Ze("span",null,[gn(t.$slots,"default")])])}const qc=ll(Jq,[["render",Zq]]),eW={class:"flex gap3"},tW=["onClick"],C1=ur({__name:"Navbar",setup(t){const{routes:e,currentRoute:n}=Gq(),r=c2();return(a,i)=>(Je(),lt("ul",eW,[(Je(!0),lt(Rr,null,Is($e(e),(s,o)=>(Je(),lt("li",{key:o,class:Wr(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100",$e(n).path===s.path?"op-100 font-medium text-primary-400 border-primary-400":"border-transparent op-70"]),onClick:l=>$e(r).push(s.path)},hn(s.name),11,tW))),128))]))}}),b4=ur({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(t){return(e,n)=>(Je(),lt("i",{class:Wr(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":e.value}])},null,2))}}),HS=Symbol("StateEditorSymbol");function rW(t){const e=xt(t);return zs(HS,e),{context:e}}function C4(){return Rn(HS)}function nW(){const t=xt(""),e=xt("string"),n=xt(!1),r=C4();return{editingText:t,editing:n,toggleEditing(a){a&&(e.value=a),n.value=!n.value},editingType:e,nodeId:pt(()=>r.value.nodeId)}}function sW(t,e){if(t==="array")return e.length;const n="newProp";let r=1;for(;;){const a=`${n}${r}`;if(!e[a])return a;r++}}function iW(){const t=xt({enable:!1,key:"",value:"undefined"});function e(r,a){const i=sW(r,a);t.value={enable:!0,key:i.toString(),value:"undefined"}}function n(){t.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:e,resetDrafting:n,draftingNewProp:t}}const DS="expanded-state";function fa(t=""){const e=xt([]);return zs(`${DS}-${t}`,e),{expanded:e}}function E4(t=""){const e=Rn(`${DS}-${t}`,xt([]));function n(r){const a=e.value.indexOf(r);a===-1?e.value.push(r):e.value.splice(a,1)}return{expanded:e,toggleExpanded:n}}function S4(t){return _h()?(F5(t),!0):!1}const x4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oW=t=>typeof t<"u",aW=Object.prototype.toString,lW=t=>aW.call(t)==="[object Object]",O5=()=>{};function RS(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const cW=t=>t();function jS(t,e={}){let n,r,a=O5;const i=o=>{clearTimeout(o),a(),a=O5};let s;return o=>{const l=Hr(t),u=Hr(e.maxWait);return n&&i(n),l<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(o())):new Promise((p,h)=>{a=e.rejectOnCancel?h:p,s=o,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,p(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,p(o())},l)})}}function jy(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function uW(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const r=e;e=void 0,r&&await r},n}function pW(t){return Bs()}function Mp(t){return Array.isArray(t)?t:[t]}function By(t,e=200,n={}){return RS(jS(e,n),t)}function hW(t,e,n={}){const{eventFilter:r=cW,...a}=n;return Ir(t,RS(r,e),a)}function fW(t,e=!0,n){pW()?li(t,n):e?t():ws(t)}function I5(t,e=!1){function n(h,{flush:d="sync",deep:m=!1,timeout:f,throwOnTimeout:v}={}){let C=null;const E=[new Promise(x=>{C=Ir(t,g=>{h(g)!==e&&(C?C():ws(()=>C?.()),x(g))},{flush:d,deep:m,immediate:!0})})];return f!=null&&E.push(jy(f,v).then(()=>Hr(t)).finally(()=>C?.())),Promise.race(E)}function r(h,d){if(!Pn(h))return n(g=>g===h,d);const{flush:m="sync",deep:f=!1,timeout:v,throwOnTimeout:C}=d??{};let E=null;const x=[new Promise(g=>{E=Ir([t,h],([w,b])=>{e!==(w===b)&&(E?E():ws(()=>E?.()),g(w))},{flush:m,deep:f,immediate:!0})})];return v!=null&&x.push(jy(v,C).then(()=>Hr(t)).finally(()=>(E?.(),Hr(t)))),Promise.race(x)}function a(h){return n(d=>!!d,h)}function i(h){return r(null,h)}function s(h){return r(void 0,h)}function o(h){return n(Number.isNaN,h)}function l(h,d){return n(m=>{const f=Array.from(m);return f.includes(h)||f.includes(Hr(h))},d)}function u(h){return p(1,h)}function p(h=1,d){let m=-1;return n(()=>(m+=1,m>=h),d)}return Array.isArray(Hr(t))?{toMatch:n,toContains:l,changed:u,changedTimes:p,get not(){return I5(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:i,toBeNaN:o,toBeUndefined:s,changed:u,changedTimes:p,get not(){return I5(t,!e)}}}function BS(t){return I5(t)}function dW(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=Kr(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function l(){i.value=!1,o()}function u(...p){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,t(...p)},Hr(e))}return r&&(i.value=!0,x4&&u()),S4(l),{isPending:da(i),start:u,stop:l}}function FS(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=Pn(t),i=Kr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Hr(n);return i.value=i.value===l?Hr(r):l,i.value}}return a?s:[i,s]}function $S(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return hW(t,e,{...i,eventFilter:jS(r,{maxWait:a})})}function mW(t,e,n){return Ir(t,e,{...n,immediate:!0})}const pf=x4?window:void 0,US=x4?window.navigator:void 0;function Il(t){var e;const n=Hr(t);return(e=n?.$el)!=null?e:n}function ia(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,u,p)=>(o.addEventListener(l,u,p),()=>o.removeEventListener(l,u,p)),a=pt(()=>{const o=Mp(Hr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=mW(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(u=>Il(u)))!=null?l:[pf].filter(u=>u!=null),Mp(Hr(a.value?t[1]:t[0])),Mp($e(a.value?t[2]:t[1])),Hr(a.value?t[3]:t[2])]},([o,l,u,p])=>{if(n(),!(o!=null&&o.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const h=lW(p)?{...p}:p;e.push(...o.flatMap(d=>l.flatMap(m=>u.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return S4(n),s}function gW(){const t=Kr(!1),e=Bs();return e&&li(()=>{t.value=!0},e),t}function w4(t){const e=gW();return pt(()=>(e.value,!!t()))}function Fy(t,e={}){const{controls:n=!1,navigator:r=US}=e,a=w4(()=>r&&"permissions"in r),i=Kr(),s=typeof t=="string"?{name:t}:t,o=Kr(),l=()=>{var p,h;o.value=(h=(p=i.value)==null?void 0:p.state)!=null?h:"prompt"};ia(i,"change",l,{passive:!0});const u=uW(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return Cn(i.value)}});return u(),n?{state:o,isSupported:a,query:u}:o}function vW(t={}){const{navigator:e=US,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=w4(()=>e&&"clipboard"in e),o=Fy("clipboard-read"),l=Fy("clipboard-write"),u=pt(()=>s.value||i),p=Kr(""),h=Kr(!1),d=dW(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&E(o.value));if(!x)try{p.value=await e.clipboard.readText()}catch{x=!0}x&&(p.value=C())}u.value&&n&&ia(["copy","cut"],m,{passive:!0});async function f(x=Hr(r)){if(u.value&&x!=null){let g=!(s.value&&E(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),p.value=x,h.value=!0,d.start()}}function v(x){const g=document.createElement("textarea");g.value=x??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function C(){var x,g,w;return(w=(g=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:g.toString())!=null?w:""}function E(x){return x==="granted"||x==="prompt"}return{isSupported:u,text:p,copied:h,copy:f}}function yW(t){return JSON.parse(JSON.stringify(t))}function bW(t,e,n={}){const{window:r=pf,...a}=n;let i;const s=w4(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Hr(t);return Array.isArray(h)?h.map(d=>Il(d)):[Il(h)]}),u=Ir(l,h=>{if(o(),s.value&&r){i=new ResizeObserver(e);for(const d of h)d&&i.observe(d,a)}},{immediate:!0,flush:"post"}),p=()=>{o(),u()};return S4(p),{isSupported:s,stop:p}}function CW(t,e={width:0,height:0},n={}){const{window:r=pf,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=Il(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=Kr(e.width),o=Kr(e.height),{stop:l}=bW(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=Il(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=Mp(d);s.value=m.reduce((f,{inlineSize:v})=>f+v,0),o.value=m.reduce((f,{blockSize:v})=>f+v,0)}else s.value=h.contentRect.width,o.value=h.contentRect.height},n);fW(()=>{const h=Il(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const u=Ir(()=>Il(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function p(){l(),u()}return{width:s,height:o,stop:p}}const EW={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function SW(t={}){const{reactive:e=!1,target:n=pf,aliasMap:r=EW,passive:a=!0,onEventFired:i=O5}=t,s=fo(new Set),o={toJSON(){return{}},current:s},l=e?fo(o):o,u=new Set,p=new Set;function h(v,C){v in l&&(e?l[v]=C:l[v].value=C)}function d(){s.clear();for(const v of p)h(v,!1)}function m(v,C){var E,x;const g=(E=v.key)==null?void 0:E.toLowerCase(),w=[(x=v.code)==null?void 0:x.toLowerCase(),g].filter(Boolean);g&&(C?s.add(g):s.delete(g));for(const b of w)p.add(b),h(b,C);g==="meta"&&!C?(u.forEach(b=>{s.delete(b),h(b,!1)}),u.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&C&&[...s,...w].forEach(b=>u.add(b))}ia(n,"keydown",v=>(m(v,!0),i(v)),{passive:a}),ia(n,"keyup",v=>(m(v,!1),i(v)),{passive:a}),ia("blur",d,{passive:a}),ia("focus",d,{passive:a});const f=new Proxy(l,{get(v,C,E){if(typeof C!="string")return Reflect.get(v,C,E);if(C=C.toLowerCase(),C in r&&(C=r[C]),!(C in l))if(/[+_-]/.test(C)){const g=C.split(/[+_-]/g).map(w=>w.trim());l[C]=pt(()=>g.map(w=>Hr(f[w])).every(Boolean))}else l[C]=Kr(!1);const x=Reflect.get(v,C,E);return e?Hr(x):x}});return f}function xW(t,e,n,r={}){var a,i,s;const{clone:o=!1,passive:l=!1,eventName:u,deep:p=!1,defaultValue:h,shouldEmit:d}=r,m=Bs(),f=n||m?.emit||((a=m?.$emit)==null?void 0:a.bind(m))||((s=(i=m?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(m?.proxy));let v=u;v=v||`update:${e.toString()}`;const C=g=>o?typeof o=="function"?o(g):yW(g):g,E=()=>oW(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=E(),w=xt(g);let b=!1;return Ir(()=>t[e],A=>{b||(b=!0,w.value=C(A),ws(()=>b=!1))}),Ir(w,A=>{!b&&(A!==t[e]||p)&&x(A)},{deep:p}),w}else return pt({get(){return E()},set(g){x(g)}})}function wW(t,e={}){const{enter:n=()=>{},leave:r=()=>{},initial:a=!1}=e,i=xt(a);return ia(t,"mouseenter",()=>{i.value=!0,n()}),ia(t,"mouseleave",()=>{i.value=!1,r()}),{isHovering:i}}const TW={class:"flex pl5px"},_W={class:"w160px py5px"},AW=ur({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(t){const e=t,n=C4(),{copy:r,isSupported:a}=vW(),i=xt(!1),s=pt(()=>Lm(e.data.value)),o=pt(()=>s.value.value),l=pt(()=>s.value.customType),u=pt(()=>o.value===null?"null":typeof o.value),p={flat:!0,size:"mini"},h=pt(()=>({"opacity-0":!e.hovering}));async function d(f,v=!1){await Qt.value.editInspectorState({path:e.data.path||[e.data.key],inspectorId:n.value.inspectorId,type:e.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:Cn(f),type:u.value,remove:v}}),await Qt.value.sendInspectorState(n.value.inspectorId)}function m(f,v){const C=typeof f=="number"?f+v:BigInt(f)+BigInt(v);d(C)}return(f,v)=>(Je(),lt("div",TW,[!e.disableEdit&&f.data.editable?(Je(),lt(Rr,{key:0},[u.value==="string"||u.value==="number"||u.value==="object"||u.value==="null"?(Je(),lt(Rr,{key:0},[qn((Je(),Zt($e(Ls),Rs(p,{class:h.value,onClick:v[0]||(v[0]=oo(C=>f.$emit("enableEditInput",u.value),["stop"]))}),{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[$e(Os),{content:"Edit value"}]]),u.value==="object"&&f.showAddIfNeeded?qn((Je(),Zt($e(Ls),Rs({key:0},p,{class:h.value,onClick:v[1]||(v[1]=oo(C=>f.$emit("addNewProp",Array.isArray(o.value)?"array":"object"),["stop"]))}),{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[$e(Os),{content:"Add new value"}]]):sr("",!0)],64)):sr("",!0),u.value==="boolean"?(Je(),Zt($e(Ls),Rs({key:1},p,{class:h.value,onClick:v[2]||(v[2]=C=>d(!o.value))}),{icon:Vt(()=>[gt($e(ks),{icon:o.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):u.value==="number"||l.value==="bigint"?(Je(),lt(Rr,{key:2},[gt($e(Ls),Rs(p,{class:h.value,onClick:v[3]||(v[3]=oo(C=>m(o.value,1),["stop"]))}),{icon:Vt(()=>[gt($e(ks),{icon:"i-carbon-add"})]),_:1},16,["class"]),gt($e(Ls),Rs(p,{class:h.value,onClick:v[4]||(v[4]=oo(C=>m(o.value,-1),["stop"]))}),{icon:Vt(()=>[gt($e(ks),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):sr("",!0)],64)):sr("",!0),!e.disableEdit&&f.depth>0&&f.data.editable?(Je(),Zt($e(Ls),Rs({key:1},p,{class:h.value,onClick:v[5]||(v[5]=oo(C=>d(o.value,!0),["stop"]))}),{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):sr("",!0),gt($e(Wu),{class:Wr({"opacity-0":!f.hovering&&!i.value}),"button-props":{flat:!0,size:"mini"},disabled:!$e(a),"onUpdate:visible":v[8]||(v[8]=C=>i.value=C)},{popper:Vt(()=>[Ze("div",_W,[gt($e(iy),{onClick:v[6]||(v[6]=C=>$e(r)(typeof o.value=="object"?JSON.stringify(o.value):o.value.toString()))},{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[9]||(v[9]=pn(" Copy Value "))]),_:1}),gt($e(iy),{onClick:v[7]||(v[7]=()=>{$e(r)(f.data.key)})},{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[10]||(v[10]=pn(" Copy Path "))]),_:1})])]),"button-icon":Vt(()=>[gt($e(ks),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),PW={class:"flex-inline items-center gap4px"},l0=ur({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>n.customType==="date"?"datetime-local":""),{escape:i,enter:s}=SW();ii(()=>{i.value?r("cancel"):s.value&&r("submit")});const o=xW(n,"modelValue",r);function l(p){try{return Ep(p,n.customType),!0}catch{return!1}}const u=xt(!1);return Ir(o,la(()=>{u.value=!l(o.value)},300)),(p,h)=>(Je(),lt("span",PW,[gt($e(Ro),{modelValue:$e(o),"onUpdate:modelValue":h[0]||(h[0]=d=>Pn(o)?o.value=d:null),type:a.value,variant:u.value?"warning":"normal",class:Wr(["h25px px4px",p.customType==="date"?"w240px":"w120px"]),"auto-focus":p.autoFocus,onClick:h[1]||(h[1]=oo(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),p.showActions?(Je(),lt(Rr,{key:0},[qn((Je(),Zt($e(Ls),{size:"mini",flat:"",class:"p2px!",onClick:h[2]||(h[2]=oo(d=>p.$emit("cancel"),["stop"]))},{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-cancel"})]),_:1})),[[$e(Os),{content:"Esc to cancel"}]]),u.value?qn((Je(),Zt($e(ks),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[$e(Os),{content:"Invalid value"}]]):qn((Je(),Zt($e(Ls),{key:0,size:"mini",flat:"",class:"p2px!",onClick:h[3]||(h[3]=oo(d=>p.$emit("submit"),["stop"]))},{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-save"})]),_:1})),[[$e(Os),{content:"Enter to submit change"}]])],64)):sr("",!0)]))}}),MW={key:1,pl5:""},LW={"whitespace-nowrap":"","text-purple-700":"",op70:"","dark:text-purple-300":""},OW=["innerHTML"],IW={key:0},kW={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},$y=30,zW=ur({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(t){const e=t,n=xt($y),r=pt(()=>Ob(e.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),a=pt(()=>Lu(e.data.value)),i=pt(()=>Lm(e.data.value)),{expanded:s,toggleExpanded:o}=E4(e.expandedStateId??""),l=pt(()=>{var F;return a.value==="custom"?`${((F=e.data.value._custom)==null?void 0:F.type)??"string"}-custom-state`:"unknown-state-type"}),u=pt(()=>{const{value:F}=i.value;return Lg(F)?F.length:Mg(F)?Object.keys(F).length:0}),p=pt(()=>e.data.path||[e.data.key]),h=pt(()=>p.value[p.value.length-1]),d=pt(()=>{var F,N,$,D,R,K,re;const ue=["Reactive"],Oe=((N=(F=e.data.value)==null?void 0:F._custom)==null?void 0:N.stateTypeName)||(($=e.data)==null?void 0:$.stateTypeName);if(ue.includes(Oe))return Oe;if((R=(D=e.data.value)==null?void 0:D.fields)!=null&&R.abstract)return"";{const X=(re=(K=e.data.value)==null?void 0:K._custom)==null?void 0:re.type,J=a.value==="custom"&&!X?`"${r.value}"`:r.value===""?'""':r.value,fe=a.value==="custom"&&X==="ref"?Lu(J):a.value,Ee=a.value==="string"?"select-text":"",Ae=`${J}`;return Oe?`${Ae} (${Oe})`:Ae}}),m=pt(()=>{const{value:F,inherit:N,customType:$}=i.value,D=$==="set";let R=[];return Lg(F)?F.slice(0,n.value).map((K,re)=>({key:re.toString(),path:[...p.value,re.toString()],value:K,...N,editable:e.data.editable&&!D,creating:!1})):(Mg(F)&&(R=Object.keys(F).slice(0,n.value).map(K=>({key:K,path:[...p.value,K],value:F[K],...N,editable:e.data.editable&&!D,creating:!1})),a.value!=="custom"&&(R=e8(R))),R===e.data.value?[]:R)}),f=pt(()=>m.value.length>0),v=xt(),C=C4(),{isHovering:E}=wW(()=>v.value),{editingType:x,editing:g,editingText:w,toggleEditing:b,nodeId:A}=nW();Ir(()=>g.value,F=>{if(F){const{value:N}=i.value;w.value=eO(N,i.value.customType)}else w.value=""});async function T(){const F=e.data;await Qt.value.editInspectorState({path:p.value,inspectorId:C.value.inspectorId,type:F.stateType,nodeId:A.value,state:{newKey:null,type:x.value,value:Ep(w.value,i.value.customType)}}),await Qt.value.sendInspectorState(C.value.inspectorId),b()}const{addNewProp:O,draftingNewProp:I,resetDrafting:z}=iW();function U(F){const N=`${e.depth}-${e.index}`;s.value.includes(N)||o(N),O(F,i.value.value)}async function W(){const F=e.data;await Qt.value.editInspectorState({path:[...p.value,I.value.key],inspectorId:C.value.inspectorId,type:F.stateType,nodeId:A.value,state:{newKey:I.value.key,type:typeof Ep(I.value.value),value:Ep(I.value.value)}}),await Qt.value.sendInspectorState(C.value.inspectorId),z()}return(F,N)=>(Je(),lt("div",null,[Ze("div",{ref_key:"containerRef",ref:v,class:Wr(["font-state-field flex items-center text-3.5",[f.value&&"cursor-pointer hover:bg-active"]]),style:Gs({paddingLeft:`${F.depth*15+4}px`}),onClick:N[1]||(N[1]=$=>$e(o)(`${F.depth}-${F.index}`))},[f.value?(Je(),Zt(b4,{key:0,value:$e(s).includes(`${F.depth}-${F.index}`)},null,8,["value"])):(Je(),lt("span",MW)),Ze("span",LW,hn(h.value),1),N[5]||(N[5]=Ze("span",{mx1:""},":",-1)),$e(g)?(Je(),Zt(l0,{key:2,modelValue:$e(w),"onUpdate:modelValue":N[0]||(N[0]=$=>Pn(w)?w.value=$:null),class:"mr-1","custom-type":i.value.customType,onCancel:$e(b),onSubmit:T},null,8,["modelValue","custom-type","onCancel"])):sr("",!0),Ze("span",{class:Wr([l.value,"flex whitespace-nowrap dark:text-#bdc6cf"])},[Ze("span",{class:"flex",innerHTML:d.value},null,8,OW)],2),gt(AW,{hovering:$e(E),"disable-edit":$e(C).disableEdit||$e(g),data:F.data,depth:F.depth,onEnableEditInput:$e(b),onAddNewProp:U},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),f.value&&$e(s).includes(`${F.depth}-${F.index}`)?(Je(),lt("div",IW,[gt(qS,{data:m.value,depth:F.depth,index:F.index},null,8,["data","depth","index"]),u.value>n.value?qn((Je(),Zt($e(Ls),{key:0,flat:"",size:"mini",class:"ml-4",onClick:N[2]||(N[2]=$=>n.value+=$y)},{icon:Vt(()=>[gt($e(ks),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[$e(Os),"Show more"]]):sr("",!0),$e(I).enable?(Je(),lt("div",{key:1,style:Gs({paddingLeft:`${(F.depth+1)*15+4}px`})},[Ze("span",kW,[gt(l0,{modelValue:$e(I).key,"onUpdate:modelValue":N[3]||(N[3]=$=>$e(I).key=$),"show-actions":!1},null,8,["modelValue"])]),N[6]||(N[6]=Ze("span",{"mx-1":""},":",-1)),gt(l0,{modelValue:$e(I).value,"onUpdate:modelValue":N[4]||(N[4]=$=>$e(I).value=$),"auto-focus":!1,onCancel:$e(z),onSubmit:W},null,8,["modelValue","onCancel"])],4)):sr("",!0)])):sr("",!0)]))}}),NW=ll(zW,[["__scopeId","data-v-7918b8f2"]]),qS=ur({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(t){return(e,n)=>(Je(),lt("div",null,[(Je(!0),lt(Rr,null,Is(e.data,(r,a)=>(Je(),lt("div",{key:a},[gt(NW,{data:r,depth:e.depth+1,index:`${e.index}-${a}`,"expanded-state-id":e.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),VW=["onClick"],HW={key:1,pl5:""},DW={"font-state-field":"","text-3.5":"","text-hex-a3a3a3":""},RW={key:0},u2=ur({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1},expandedStateId:{default:""}},setup(t){const e=t;function n(){return{nodeId:e.nodeId,inspectorId:e.inspectorId,disableEdit:e.disableEdit}}const{context:r}=rW(n());ii(()=>{r.value=n()});const{expanded:a,toggleExpanded:i}=E4(e.expandedStateId);return(s,o)=>(Je(),lt("div",null,[(Je(!0),lt(Rr,null,Is(s.data,(l,u,p)=>(Je(),lt("div",{key:p},[Ze("div",{class:Wr(["flex items-center",[l?.length&&"cursor-pointer hover:bg-active"]]),onClick:h=>$e(i)(`${p}`)},[l!=null&&l.length?(Je(),Zt(b4,{key:0,value:$e(a).includes(`${p}`)},null,8,["value"])):(Je(),lt("span",HW)),Ze("span",DW,hn(u),1)],10,VW),l!=null&&l.length&&$e(a).includes(`${p}`)?(Je(),lt("div",RW,[gt(qS,{data:l,index:`${p}`,"expanded-state-id":s.expandedStateId},null,8,["data","index","expanded-state-id"])])):sr("",!0)]))),128))]))}}),jW={class:"p3"},BW=["onClick"],FW={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},$W={class:"h-full flex items-center truncate pl5"},UW={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},qW={pl2:"",op30:""},WW=ur({__name:"EventList",props:Gc({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=Rh(t,"modelValue"),r=["#3e5770","#42b983","#0098c4"],a=xt(null),i=pt(()=>{let s=-1,o=0;return e.data.forEach((l,u)=>{(l.groupId!==o||s===-1)&&(s=(s+1)%r.length),o=l.groupId??o,l.id=u,l.color=r[s]}),e.data});return Ir(()=>i.value.length,s=>{var o;(o=a.value)==null||o.scrollToItem(s-1)},{flush:"post"}),(s,o)=>(Je(),lt("div",jW,[gt($e(a4),{ref_key:"scrollerRef",ref:a,items:i.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:Vt(({item:l})=>[Ze("div",{class:"relative mb7 h6 cursor-pointer",style:Gs({color:n.value===l.id?l.color:""}),onClick:u=>n.value=l.id},[Ze("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:Gs({border:`3px solid ${l.color}`})},null,4),l.id{var x;return(x=o.timelineLayersState.value)==null?void 0:x[n.pluginId]}),u=pt(()=>a.value[s.value]??null),p=pt(()=>l.value?"Stop recording":"Start recording"),h=pt(()=>{var x;const g=[];for(const w in(x=u.value)==null?void 0:x.data)g.push({key:w,type:w,editable:!1,value:u.value.data[w]});return g}),d=pt(()=>{var x,g,w;const b=(x=u.value)==null?void 0:x.groupId,A=i.value.get(b);if(A){const T=((g=A[A.length-1])==null?void 0:g.time)-(((w=A[0])==null?void 0:w.time)??0);return[{key:"events",type:"events",editable:!1,value:A.length},T&&{key:"duration",type:"duration",editable:!1,value:`${T}ms`}].filter(Boolean)}}),m=pt(()=>({"Event Info":h.value,...d.value&&{"Group Info":d.value}}));function f(x){var g;const w=x.groupId;w!==void 0&&(i.value.set(w,i.value.get(w)??[]),(g=i.value.get(w))==null||g.push(x))}function v(x){const g=oi(x);if(!g)return;const{layerId:w,event:b}=g;n.layerIds.includes(w)&&(a.value.push(b),f(b))}Qt.functions.on(xs.TIMELINE_EVENT_UPDATED,v),gi(()=>{Qt.functions.off(xs.TIMELINE_EVENT_UPDATED,v)});function C(){a.value=[],i.value.clear()}e({clear:C});function E(){Qt.value.updateTimelineLayersState({[n.pluginId]:!l.value})}return(x,g)=>(Je(),lt("div",GW,[x.headerVisible?(Je(),Zt(b1,{key:0,"doc-link":x.docLink,"github-repo-link":x.githubRepoLink},{default:Vt(()=>[gt(C1)]),_:1},8,["doc-link","github-repo-link"])):sr("",!0),a.value.length?(Je(),lt("div",KW,[gt($e(v1),{class:"h-full"},{default:Vt(()=>[gt($e(Bi),{border:"r base",size:"40","h-full":""},{default:Vt(()=>[Ze("div",XW,[gt(WW,{modelValue:s.value,"onUpdate:modelValue":g[0]||(g[0]=w=>s.value=w),data:a.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Bi),{size:"60"},{default:Vt(()=>[Ze("div",YW,[gt(u2,{class:"p3",data:m.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(Je(),Zt(qc,{key:2,class:"flex-1"},{default:Vt(()=>g[1]||(g[1]=[pn(" No events ")])),_:1})),x.switcherVisible?(Je(),lt("div",JW,[Ze("div",QW,[qn((Je(),lt("div",{class:"flex items-center gap1",onClick:E},[l.value?(Je(),lt("span",ZW)):(Je(),lt("span",eG))])),[[$e(Os),{content:p.value},void 0,{"bottom-end":!0}]]),qn((Je(),lt("div",{class:"flex items-center gap1",onClick:C},[gt($e(Gu),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Os),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),qn((Je(),lt("div",tG,[gt($e(Gu),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Os),{content:"

Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand.

",html:!0},void 0,{"bottom-end":!0}]])])])):sr("",!0)]))}}),T4=ll(rG,[["__scopeId","data-v-3dbcfd2a"]]);function nG(){const t=xt([]),e=xt([]);function n(a){e.value=a,a.length{r(i)})}oa(()=>{Qt.value.getCustomInspector().then(a=>{e.value=a,e.value.forEach(i=>{r(i)})}),Qt.functions.on(xs.INSPECTOR_UPDATED,n)});function r(a){t.value.some(i=>i.id===a.id)||t.value.push(a)}return gi(()=>{Qt.functions.off(xs.INSPECTOR_UPDATED,n)}),{registeredInspector:t,register:r}}const WS=Symbol("SelectedSymbolKey");function sG(){const t=xt("");return zs(WS,t),{selected:t}}function iG(){const t=Rn(WS,xt(""));function e(n){t.value=n}return{selected:t,select:e}}const oG=["onClick","onDblclick","onMouseover"],aG={key:1,pl5:""},lG={"font-state-field":"","text-3.5":""},cG={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},uG={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},pG={key:2,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},hG={key:2,class:"ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"},fG={key:3,class:"ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"},dG={key:0},p2=ur({__name:"TreeViewer",props:Gc({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:Gc(["hover","leave"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Rh(t,"modelValue"),{expanded:a,toggleExpanded:i}=E4();iG();function s(l){return"name"in l&&l?.name||"label"in l&&l.label}function o(l){r.value=l}return(l,u)=>(Je(!0),lt(Rr,null,Is(l.data,(p,h)=>{var d,m;return Je(),lt("div",{key:h,class:Wr({"min-w-max":l.depth===0})},[Ze("div",{class:Wr(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600",{"bg-primary-600! active":r.value===p.id}]),style:Gs({paddingLeft:`${15*l.depth+4}px`}),onClick:f=>o(p.id),onDblclick:f=>$e(i)(p.id),onMouseover:()=>n("hover",p.id),onMouseleave:u[0]||(u[0]=()=>n("leave"))},[(d=p?.children)!=null&&d.length?(Je(),Zt(b4,{key:0,value:$e(a).includes(p.id),class:"[.active_&]:op20 group-hover:op20",onClick:oo(f=>$e(i)(p.id),["stop"])},null,8,["value","onClick"])):(Je(),lt("span",aG)),Ze("span",lG,[l.withTag?(Je(),lt("span",cG,"<")):sr("",!0),Ze("span",uG,hn(s(p)),1),(p.renderKey===0||p.renderKey)&&p.renderKey!==$e(h1)?(Je(),lt("span",{key:1,class:Wr(["text-xs opacity-50",{"opacity-100":r.value===p.id}])},[Ze("span",{class:Wr([r.value===p.id?"text-purple-200":"text-purple-500"])}," key",2),u[4]||(u[4]=pn("=")),Ze("span",null,hn(p.renderKey),1)],2)):sr("",!0),l.withTag?(Je(),lt("span",pG,">")):sr("",!0)]),p.isFragment?qn((Je(),lt("span",hG,u[5]||(u[5]=[pn(" fragment ")]))),[[$e(Os),"Has multiple root DOM nodes"]]):sr("",!0),p.inactive?qn((Je(),lt("span",fG,u[6]||(u[6]=[pn(" inactive ")]))),[[$e(Os),"Currently inactive but not destroyed"]]):sr("",!0),(Je(!0),lt(Rr,null,Is(p.tags,(f,v)=>(Je(),Zt(NS,{key:v,tag:f},null,8,["tag"]))),128))],46,oG),(m=p?.children)!=null&&m.length&&$e(a).includes(p.id)?(Je(),lt("div",dG,[gt(p2,{modelValue:r.value,"onUpdate:modelValue":u[1]||(u[1]=f=>r.value=f),data:p?.children,depth:l.depth+1,"with-tag":l.withTag,onHover:u[2]||(u[2]=f=>n("hover",f)),onLeave:u[3]||(u[3]=f=>n("leave"))},null,8,["modelValue","data","depth","with-tag"])])):sr("",!0)],2)}),128))}}),Uy=200;function mG(){const t=By(n=>Qt.value.highlighComponent(n),Uy),e=By(()=>Qt.value.unhighlight(),Uy);return{highlight:t,unhighlight:e}}const gG={class:"absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212"},vG={class:"flex-1 overflow-scroll text-3.5"},yG=ur({__name:"RenderCode",props:{code:{}},emits:["close"],setup(t,{emit:e}){const n=e;function r(){n("close")}return(a,i)=>(Je(),lt("div",gG,[Ze("div",{class:"h-12 w-full flex items-center justify-between p-2"},[i[0]||(i[0]=Ze("span",{class:"font-500"},"Render Code",-1)),Ze("i",{class:"i-carbon-close cursor-pointer hover:op80",onClick:r})]),Ze("div",vG,[gt($e(wj),{code:a.code,lang:"javascript"},null,8,["code"])])]))}}),bG={class:"h-full w-full"},CG={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},EG={key:0,class:"h-full flex flex-col p2"},SG={class:"flex py2"},xG={xmlns:"http://www.w3.org/2000/svg",style:{height:"1.1em",width:"1.1em"},class:"op-80 hover:op-100",viewBox:"0 0 24 24"},wG={class:"h-full flex flex-col p2"},TG={class:"flex py2"},_G={key:0,class:"font-state-field flex items-center px-1 text-3.5"},AG={"group-hover:text-white":"",class:"max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"},PG={class:"flex items-center gap-2 px-1"},MG={class:"h-full flex flex-col items-center justify-center gap-2"},LG={class:"block"},OG={xmlns:"http://www.w3.org/2000/svg",style:{height:"2em",width:"2em",opacity:"0.5",color:"#00dc82"},class:"animate-fade",viewBox:"0 0 24 24"},IG={class:"flex items-center justify-center"},K1="components",kG=ur({__name:"index",emits:["openInEditor","onInspectComponentStart","onInspectComponentEnd"],setup(t,{emit:e}){const n=e,r=xt(),a=xt(!1),{width:i}=CW(r),s=pt(()=>a.value?i.value<700:!1),o=xt(""),l=xt(""),[u,p]=FS(!0),h=xt(!1),d=xt(!1),m=xt(""),f=xt(!1),v=mG();function C(ge,Me=[],ae=[]){var k;return Me.push(ge.id),((k=ge.children)==null?void 0:k.length)===0&&ae.push([...Me]),Array.isArray(ge.children)&&ge.children.forEach(B=>{C(B,Me,ae)}),Me.pop(),ae}function E(ge){const Me=[],ae=k=>{k?.forEach(B=>{var Z;Me.push(B),(Z=B.children)!=null&&Z.length&&ae(B.children)})};return ae(ge),Me}function x(ge,Me){const ae=[];return ge?.forEach(k=>{ae.push(...k.slice(0,Me+1))}),[...new Set(ae)]}function g(ge,Me){const ae=[];return ge.forEach(k=>{const B=k.indexOf(Me);B!==-1&&ae.push(...k.slice(0,B+1))}),[...new Set(ae)]}const w=xt([]),b=pt(()=>{var ge,Me;return(ge=w.value)!=null&&ge.length?C((Me=w.value)==null?void 0:Me[0]):[]}),A=pt(()=>E(w.value)),T=pt(()=>A.value.map(ge=>ge.id)),O=xt({}),I=xt(""),z=pt(()=>{const ge=[],Me=ae=>{ae.forEach(k=>{var B;k.id===I.value&&ge.push(k),(B=k.children)!=null&&B.length&&Me(k.children)})};return Me(w.value),ge[0]}),U=pt(()=>{var ge;return((ge=z.value)==null?void 0:ge.file)??""}),W=pt(()=>g4({state:O.value,filterKey:l.value,processGroup(ge){return bU(Object.values(Rq(e8(ge),"stateType")))}})),{expanded:F}=fa(),{expanded:N}=fa("component-state");sG();async function $(ge=""){return Qt.value.getInspectorTree({inspectorId:K1,filter:ge}).then(Me=>{var ae,k;const B=oi(Me);w.value=B,I.value=(k=(ae=w.value)==null?void 0:ae[0])==null?void 0:k.id,F.value=x(b.value,1),h.value=!0})}function D(ge){if(!ge||!(ge!=null&&ge.state))return{};const Me={};return ge.state.forEach(ae=>{Me[ae.type]||(Me[ae.type]=[]),Me[ae.type].push(ae)}),Me}function R(ge){Qt.value.getInspectorState({inspectorId:K1,nodeId:ge}).then(Me=>{const ae=oi(Me);ae&&(O.value=D(ae),N.value=Array.from({length:Object.keys(O.value).length},(k,B)=>`${B}`))})}Ir(I,ge=>{R(ge),f.value&&ie()});function K(ge){const Me=oi(ge);Me.inspectorId!==K1||Me.nodeId!==I.value||(O.value=D({state:Me.state.state}))}Qt.functions.on(xs.INSPECTOR_STATE_UPDATED,K),$();function re(ge){const Me=ge.trim().toLowerCase();p(),$(Me).then(()=>{p()})}$S(o,ge=>{re(ge)},{debounce:300});function ue(ge){var Me,ae;const k=oi(ge);k.inspectorId===K1&&(o.value?re(o.value):w.value=k.rootNodes,T.value.includes(I.value)||(I.value=(ae=(Me=w.value)==null?void 0:Me[0])==null?void 0:ae.id,F.value=x(b.value,1)))}Qt.functions.on(xs.INSPECTOR_TREE_UPDATED,ue),gi(()=>{Qt.functions.off(xs.INSPECTOR_STATE_UPDATED,K),Qt.functions.off(xs.INSPECTOR_TREE_UPDATED,ue)});const Oe=Wl(),X=pt(()=>Oe.appRecords.value.map(ge=>({label:ge.name+(ge.version?` (${ge.version})`:""),value:ge.id,iframe:ge.iframe}))),J=pt(()=>X.value.map(ge=>({label:ge.label+(ge.iframe?` (iframe: ${ge.iframe})`:""),id:ge.value}))),fe=xt(Oe.activeAppRecordId.value);ii(()=>{fe.value=Oe.activeAppRecordId.value});async function Ee(ge,Me={}){await Qt.value.toggleApp(ge,Me),I.value="",await $()}async function Ae(){d.value=!0,n("onInspectComponentStart");try{const ge=JSON.parse(await Qt.value.inspectComponentInspector()),Me=ge.id.split(":")[0];fe.value!==ge.appId&&await Ee(Me,{inspectingComponent:!0}),I.value=ge.id,F.value.includes(ge.id)||F.value.push(ge.id),F.value=[...new Set([...F.value,...g(b.value,ge.id)])],se()}finally{d.value=!1,n("onInspectComponentEnd")}}function pe(){d.value=!1,Qt.value.cancelInspectComponentInspector()}ia("keydown",ge=>{ge.key==="s"&&(ge.ctrlKey||ge.metaKey)&&!d.value?Ae():ge.key==="Escape"&&d.value&&pe()});function oe(){Qt.value.scrollToComponent(I.value)}function ce(){Qt.value.inspectDOM(I.value).then(()=>{chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)")})}function ie(){Qt.value.getComponentRenderCode(I.value).then(ge=>{m.value=ge,f.value=!0})}function ne(){n("openInEditor",U.value)}const Se=xt();function se(){setTimeout(()=>{var ge;const Me=(ge=Se.value)==null?void 0:ge.querySelector(".active");Me?.scrollIntoView({behavior:"smooth",block:"center"})},300)}function ye(){m.value="",f.value=!1}return(ge,Me)=>(Je(),lt("div",bG,[gt($e(v1),{ref_key:"splitpanesRef",ref:r,class:"flex-1 overflow-auto",horizontal:s.value,onReady:Me[4]||(Me[4]=ae=>a.value=!0)},{default:Vt(()=>[X.value.length>1?(Je(),Zt($e(Bi),{key:0,border:"base h-full",size:"20"},{default:Vt(()=>[Ze("div",CG,[gt(Wq,{modelValue:fe.value,"onUpdate:modelValue":Me[0]||(Me[0]=ae=>fe.value=ae),data:J.value,class:"w-full",onSelect:Ee},null,8,["modelValue","data"])])]),_:1})):sr("",!0),gt($e(Bi),{border:"base","h-full":""},{default:Vt(()=>[h.value?(Je(),lt("div",EG,[Ze("div",SG,[gt($e(Ro),{modelValue:o.value,"onUpdate:modelValue":Me[1]||(Me[1]=ae=>o.value=ae),"loading-debounce-time":250,loading:!$e(u),placeholder:"Find components...",class:"flex-1 text-3.5"},null,8,["modelValue","loading"]),$e(Jy)?sr("",!0):qn((Je(),lt("button",{key:0,"px-1":"",class:"hover:color-#00dc82",onClick:Ae},[(Je(),lt("svg",xG,Me[6]||(Me[6]=[Ze("path",{fill:"currentColor",d:"M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"},null,-1)])))])),[[$e(Os),"Select component in the page",void 0,{bottom:!0}]])]),Ze("div",{ref_key:"componentTreeContainer",ref:Se,class:"no-scrollbar flex-1 select-none overflow-scroll"},[gt(p2,{modelValue:I.value,"onUpdate:modelValue":Me[2]||(Me[2]=ae=>I.value=ae),data:w.value,"with-tag":!0,onHover:$e(v).highlight,onLeave:$e(v).unhighlight},null,8,["modelValue","data","onHover","onLeave"])],512)])):sr("",!0)]),_:1}),gt($e(Bi),{relative:"","h-full":""},{default:Vt(()=>{var ae;return[Ze("div",wG,[Ze("div",TG,[(ae=z.value)!=null&&ae.name?(Je(),lt("span",_G,[Me[7]||(Me[7]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},"<",-1)),Ze("span",AG,hn(z.value.name),1),Me[8]||(Me[8]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},">",-1))])):sr("",!0),gt($e(Ro),{modelValue:l.value,"onUpdate:modelValue":Me[3]||(Me[3]=k=>l.value=k),"loading-debounce-time":250,placeholder:"Filter State...",class:"flex-1 text-3.5"},null,8,["modelValue"]),Ze("div",PG,[qn(Ze("i",{class:"i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",onClick:oe},null,512),[[$e(Os),"Scroll to component",void 0,{bottom:!0}]]),qn(Ze("i",{class:"i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",onClick:ie},null,512),[[$e(Os),"Show render code",void 0,{bottom:!0}]]),$e(Xa)?qn((Je(),lt("i",{key:0,class:"i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",onClick:ce},null,512)),[[$e(Os),"Inspect DOM",void 0,{bottom:!0}]]):sr("",!0),U.value?qn((Je(),lt("i",{key:1,class:"i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",onClick:ne},null,512)),[[$e(Os),"Open in Editor",void 0,{bottom:!0}]]):sr("",!0)])]),gt(u2,{class:"no-scrollbar flex-1 overflow-scroll",data:W.value,"node-id":I.value,"inspector-id":K1,"expanded-state-id":"component-state"},null,8,["data","node-id"])]),f.value&&m.value?(Je(),Zt(yG,{key:0,code:m.value,onClose:ye},null,8,["code"])):sr("",!0)]}),_:1})]),_:1},8,["horizontal"]),$e(Xa)?(Je(),Zt($e(ZE),{key:0,modelValue:d.value,"onUpdate:modelValue":Me[5]||(Me[5]=ae=>d.value=ae),title:"",height:"12rem",closable:!1},{footer:Vt(()=>[Ze("div",IG,[gt($e(Ls),{onClick:pe},{default:Vt(()=>Me[11]||(Me[11]=[pn(" Cancel ")])),_:1})])]),default:Vt(()=>[Ze("div",MG,[Ze("span",LG,[(Je(),lt("svg",OG,Me[9]||(Me[9]=[Ze("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[Ze("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),Ze("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1)])))]),Me[10]||(Me[10]=Ze("p",null," Click on a component on the page to select it ",-1))])]),_:1},8,["modelValue"])):sr("",!0)]))}}),KY=ll(kG,[["__scopeId","data-v-476b73cc"]]),zG={},NG={class:"h-screen w-screen $ui-fcc flex-col"};function VG(t,e){return Je(),lt("div",NG,[e[0]||(e[0]=Ze("div",{class:"outer"},[Ze("div",{class:"inner"},[Ze("i",{class:"i-logos-vue inline-block h8! w8!",alt:"Vue logo"})])],-1)),gn(t.$slots,"default",{},void 0,!0)])}const HG=ll(zG,[["render",VG],["__scopeId","data-v-b8018f07"]]),GS=Symbol.for("VueDevToolsCustomInspectorStateSymbol");function rl(){return Rn(GS)}function _4(){const t=xt({homepage:"",id:"",label:"",logo:"",timelineLayerIds:[]});return zs(GS,t),t}const DG={},RG={width:"175",height:"34",viewBox:"0 0 175 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function jG(t,e){return Je(),lt("svg",RG,e[0]||(e[0]=[Ze("path",{fill:"currentColor",d:"M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"},null,-1)]))}const BG=ll(DG,[["render",jG]]),FG={"h-full":"","w-full":"",flex:"","items-center":""},$G={flex:"~ col gap2",ma:"","px-5":""},UG={flex:"~ col","mt-20":"","items-center":""},qG={flex:"~","mt--10":"","items-center":"","justify-center":""},WG={class:"mr-1"},GG={key:0,class:"inline-block w20"},KG=["src","alt"],XG={key:1,class:"mr2 inline-block min-w-20 text-center text-10 font-600"},YG={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},JG={op40:""},QG={flex:"~ gap2 wrap"},ZG={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},eK=["href"],tK=ur({__name:"About",setup(t){const e=c2(),n=rl(),r=xt(!1),a=xt(!1);function i(){r.value=!0}function s(){r.value=!0,a.value=!0}return(o,l)=>{var u;return Je(),lt("div",FG,[Ze("div",$G,[l[5]||(l[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",UG,[Ze("div",qG,[Ze("span",WG,[r.value?sr("",!0):(Je(),lt("span",GG)),qn(Ze("img",{src:$e(n).logo,alt:`${$e(n).label} Logo`,class:"inline-block h16",onError:s,onLoad:i},null,40,KG),[[fm,r.value&&!a.value]]),a.value?(Je(),lt("span",XG,hn($e(n).label),1)):sr("",!0)]),Ze("span",null,[gt(BG,{"h-18":""})])]),Ze("div",YG,[Ze("span",JG,hn($e(n).label)+" DevTools ",1)])]),l[6]||(l[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",QG,[Ze("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:l[0]||(l[0]=p=>$e(e).push("/state"))},l[2]||(l[2]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"State",-1)])),(u=$e(n).timelineLayerIds)!=null&&u.length?(Je(),lt("div",{key:0,flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:l[1]||(l[1]=p=>$e(e).push("/timeline"))},l[3]||(l[3]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)]))):sr("",!0)]),Ze("div",ZG,[Ze("a",{href:$e(n).homepage,target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},l[4]||(l[4]=[Ze("div",{"i-carbon-document":""},null,-1),pn(" View Documentation ")]),8,eK)]),l[7]||(l[7]=Ze("div",{"flex-auto":""},null,-1))])])}}}),rK={class:"flex-1 overflow-y-auto p2"},nK={class:"max-w-[190px] flex-1 select-none py-1.5 text-sm"},sK={class:"w-4/5"},iK={key:0,class:"flex justify-start"},oK={key:1},KS=ur({__name:"Settings",props:{pluginId:{},options:{},values:{}},emits:["update"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>n.options),i=pt(()=>n.values);function s(o,l){Qt.value.updatePluginSettings(n.pluginId,o,l),Qt.value.getPluginSettings(n.pluginId).then(u=>{r("update",u)})}return(o,l)=>(Je(),lt("div",rK,[Ze("ul",null,[(Je(!0),lt(Rr,null,Is(a.value,(u,p)=>(Je(),lt("li",{key:p,class:"flex items-center py-2"},[Ze("div",nK,hn(u.label),1),Ze("div",sK,[u.type==="boolean"?(Je(),lt("div",iK,[gt($e(Bj),{"model-value":i.value[p],class:"row-reverse flex hover:bg-active py1 pl2 pr1","onUpdate:modelValue":h=>s(p,h)},null,8,["model-value","onUpdate:modelValue"])])):u.type==="choice"?(Je(),lt("div",oK,[gt($e(eS),{"model-value":i.value[p],options:u.options,"onUpdate:modelValue":h=>s(p,h)},null,8,["model-value","options","onUpdate:modelValue"])])):u.type==="text"?(Je(),Zt($e(Ro),{key:2,"model-value":i.value[p],"onUpdate:modelValue":h=>s(p,h)},null,8,["model-value","onUpdate:modelValue"])):sr("",!0)])]))),128))])]))}}),aK={class:"h-full flex flex-col"},lK=ur({__name:"Settings",setup(t){const e=Rn("pluginSettings"),n=rl(),r=pt(()=>e.value.options),a=pt(()=>e.value.values);function i(s){e.value=s}return(s,o)=>(Je(),lt("div",aK,[gt(b1,{"doc-link":$e(n).homepage},{default:Vt(()=>[gt(C1)]),_:1},8,["doc-link"]),gt(KS,{"plugin-id":$e(n).pluginId,options:r.value,values:a.value,onUpdate:i},null,8,["plugin-id","options","values"])]))}}),cK={class:"h-full flex flex-col"},uK={class:"h-full flex flex-col p2"},pK={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},hK={key:0,class:"flex items-center gap-2 px-1"},fK=["onClick"],dK={key:0,class:"no-scrollbar flex-1 select-none overflow-scroll"},mK={class:"h-full flex flex-col p2"},gK={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},vK={key:0,class:"flex items-center gap-2 px-1"},yK=["onClick"],bK=ur({__name:"Index",setup(t){const{expanded:e}=fa(),{expanded:n}=fa("custom-inspector-state"),r=rl(),a=pt(()=>r.value.id),i=xt([]),s=xt([]),o=xt([]),l=pt(()=>{var $,D;return($=o.value)!=null&&$.length?x((D=o.value)==null?void 0:D[0]):[]}),u=pt(()=>w(o.value)),p=pt(()=>u.value.map($=>$.id)),h=xt(""),d=xt({}),m=pt(()=>!Object.keys(d.value).length),f=rl(),v=xt(""),C=xt("");Ir(v,($,D)=>{!$.trim().length&&!D.trim().length||W($)});const E=pt(()=>g4({state:d.value,filterKey:C.value}));function x($,D=[],R=[]){var K;return D.push($.id),((K=$.children)==null?void 0:K.length)===0&&R.push([...D]),Array.isArray($.children)&&$.children.forEach(re=>{x(re,D,R)}),D.pop(),R}function g($,D){const R=[];return $?.forEach(K=>{R.push(...K.slice(0,D+1))}),[...new Set(R)]}function w($){const D=[],R=K=>{K?.forEach(re=>{var ue;D.push(re),(ue=re.children)!=null&&ue.length&&R(re.children)})};return R($),D}function b(){Qt.value.getInspectorNodeActions(a.value).then($=>{i.value=$})}function A(){Qt.value.getInspectorActions(a.value).then($=>{s.value=$})}b(),A();function T($){Qt.value.callInspectorNodeAction(a.value,$,h.value)}function O($){Qt.value.callInspectorAction(a.value,$)}function I($){var D;for(const R in $)(D=$[R])!=null&&D.length||delete $[R];return $}function z($){Qt.value.getInspectorState({inspectorId:a.value,nodeId:$}).then(D=>{const R=oi(D);R&&(d.value=I(R),n.value=Array.from({length:Object.keys(d.value).length},(K,re)=>`${re}`))})}function U(){d.value={}}Ir(h,()=>{U(),z(h.value)});function W($=""){Qt.value.getInspectorTree({inspectorId:a.value,filter:$}).then(D=>{const R=oi(D);o.value=R,!h.value&&R.length&&(h.value=R[0].id,e.value=g(l.value,1),z(R[0].id))})}BS(a).toBeTruthy().then(()=>W());function F($){var D,R;const K=oi($);!K.rootNodes.length||K.inspectorId!==a.value||(o.value=K.rootNodes,p.value.includes(h.value)||(h.value=(R=(D=o.value)==null?void 0:D[0])==null?void 0:R.id,e.value=g(l.value,1)))}function N($){const D=oi($);if(D.inspectorId!==a.value||!D.state||D.nodeId!==h.value)return;const{inspectorId:R,...K}=D.state;d.value=I(K)}return oa(()=>{Qt.functions.on(xs.INSPECTOR_TREE_UPDATED,F),Qt.functions.on(xs.INSPECTOR_STATE_UPDATED,N)}),gi(()=>{Qt.functions.off(xs.INSPECTOR_TREE_UPDATED,F),Qt.functions.off(xs.INSPECTOR_STATE_UPDATED,N)}),($,D)=>(Je(),lt("div",cK,[gt(b1,{"doc-link":$e(r).homepage},{default:Vt(()=>[gt(C1)]),_:1},8,["doc-link"]),!o.value.length&&!v.value.trim().length?(Je(),Zt(qc,{key:0},{default:Vt(()=>D[3]||(D[3]=[pn(" No Data ")])),_:1})):(Je(),Zt($e(v1),{key:1,class:"flex-1 overflow-auto"},{default:Vt(()=>[gt($e(Bi),{border:"r base",size:"40","h-full":""},{default:Vt(()=>{var R;return[Ze("div",uK,[Ze("div",pK,[gt($e(Ro),{modelValue:v.value,"onUpdate:modelValue":D[0]||(D[0]=K=>v.value=K),placeholder:$e(f).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),(R=s.value)!=null&&R.length?(Je(),lt("div",hK,[(Je(!0),lt(Rr,null,Is(s.value,(K,re)=>qn((Je(),lt("div",{key:re,class:"flex items-center gap1",onClick:ue=>O(re)},[gt($e(Gu),{name:`baseline-${K.icon.replace(/\_/g,"-")}`,"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,8,["name"])],8,fK)),[[$e(Os),{content:K.tooltip},void 0,{"bottom-end":!0}]])),128))])):sr("",!0)]),o.value.length?(Je(),lt("div",dK,[gt(p2,{modelValue:h.value,"onUpdate:modelValue":D[1]||(D[1]=K=>h.value=K),data:o.value},null,8,["modelValue","data"])])):(Je(),Zt(qc,{key:1},{default:Vt(()=>D[4]||(D[4]=[pn(" No Data ")])),_:1}))])]}),_:1}),gt($e(Bi),{size:"60"},{default:Vt(()=>{var R;return[Ze("div",mK,[Ze("div",gK,[gt($e(Ro),{modelValue:C.value,"onUpdate:modelValue":D[2]||(D[2]=K=>C.value=K),placeholder:$e(f).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),(R=i.value)!=null&&R.length?(Je(),lt("div",vK,[(Je(!0),lt(Rr,null,Is(i.value,(K,re)=>qn((Je(),lt("div",{key:re,class:"flex items-center gap1",onClick:ue=>T(re)},[gt($e(Gu),{name:`baseline-${K.icon.replace(/\_/g,"-")}`,"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,8,["name"])],8,yK)),[[$e(Os),{content:K.tooltip},void 0,{"bottom-end":!0}]])),128))])):sr("",!0)]),h.value&&!m.value?(Je(),Zt(u2,{key:0,data:E.value,"node-id":h.value,"inspector-id":a.value,"expanded-state-id":"custom-inspector-state",class:"no-scrollbar flex-1 overflow-scroll"},null,8,["data","node-id","inspector-id"])):(Je(),Zt(qc,{key:1},{default:Vt(()=>D[5]||(D[5]=[pn(" No Data ")])),_:1}))])]}),_:1})]),_:1}))]))}}),CK=ur({__name:"Index",setup(t){const e=rl();return(n,r)=>(Je(),Zt(T4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":$e(e).homepage,"plugin-id":$e(e).pluginId},null,8,["layer-ids","doc-link","plugin-id"]))}}),EK={"h-full":"","w-full":""},SK={key:0},xK=ur({__name:"index",props:{id:{},pluginId:{}},emits:["loadError"],setup(t,{emit:e}){const n=t,r=e,a=_4(),i=xt(!1),s=xt(null);zs("pluginSettings",s);const o=pt(()=>{var h;return[{path:"/state",name:"State",component:bK,icon:"i-carbon-tree-view-alt"},((h=a.value.timelineLayerIds)==null?void 0:h.length)&&{path:"/timeline",name:"Timeline",component:CK,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:tK},s.value&&{path:"/settings",name:"Settings",component:lK,icon:"i-mdi:cog-outline"}].filter(Boolean)}),{VirtualRouterView:l,restoreRouter:u}=y4(o,{defaultRoutePath:"/state"});function p(){i.value=!0,oa(()=>{Qt.value.getInspectorInfo(n.id).then(h=>{if(!h){r("loadError");return}const d={homepage:h?.homepage,id:h?.id,label:h?.label,logo:h?.logo,timelineLayerIds:h?.timelineLayers.map(m=>m.id),pluginId:n.pluginId,treeFilterPlaceholder:h.treeFilterPlaceholder,stateFilterPlaceholder:h.stateFilterPlaceholder};a.value=d,u(),i.value=!1}),Qt.value.getPluginSettings(n.pluginId).then(h=>{h.options?s.value=h:s.value=null})})}return Ir(()=>n.id,()=>{p()},{immediate:!0}),gi(()=>{Qt.value.unhighlight()}),(h,d)=>(Je(),lt("div",EK,[i.value?(Je(),lt("div",SK,[gt(HG)])):(Je(),Zt($e(l),{key:1}))]))}}),wK={},TK={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _K(t,e){return Je(),lt("svg",TK,e[0]||(e[0]=[P7('',2)]))}const AK=ll(wK,[["render",_K]]),PK={"h-full":"","w-full":"",flex:"","items-center":""},MK={flex:"~ col gap2",ma:"","px-5":""},LK={flex:"~ col","mt-20":"","items-center":""},OK={flex:"~","mt--10":"","items-center":"","justify-center":""},IK={flex:"~ gap2 wrap"},kK=ur({__name:"About",setup(t){const e=c2();return(n,r)=>(Je(),lt("div",PK,[Ze("div",MK,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",LK,[Ze("div",OK,[gt(AK,{"h-18":""})]),r[2]||(r[2]=Ze("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Ze("span",{op40:""}," Pinia DevTools ")],-1))]),r[6]||(r[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",IK,[Ze("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[0]||(r[0]=a=>$e(e).push("/store"))},r[3]||(r[3]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"Store",-1)])),Ze("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[1]||(r[1]=a=>$e(e).push("/timeline"))},r[4]||(r[4]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)]))]),r[7]||(r[7]=Ze("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Ze("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Ze("div",{"i-carbon-star":""}),pn(" Star on GitHub ")]),Ze("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Ze("div",{"i-carbon-document":""}),pn(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),zK={class:"h-full flex flex-col"},NK=ur({__name:"Settings",setup(t){const e=Rn("pluginSettings"),n=pt(()=>e.value.options),r=pt(()=>e.value.values);function a(i){e.value=i}return(i,s)=>(Je(),lt("div",zK,[gt(b1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:Vt(()=>[gt(C1)]),_:1}),gt(KS,{"plugin-id":"dev.esm.pinia",options:n.value,values:r.value,onUpdate:a},null,8,["options","values"])]))}}),VK="dev.esm.pinia",XS="pinia",HK={class:"h-full flex flex-col"},DK={class:"h-full flex flex-col p2"},RK={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},jK={key:0,class:"flex items-center gap-2 px-1"},BK=["onClick"],FK={class:"no-scrollbar flex-1 select-none overflow-scroll"},$K={class:"h-full flex flex-col p2"},UK={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},qK={key:0,class:"flex items-center gap-2 px-1"},WK=["onClick"],GK=ur({__name:"Index",setup(t){const{expanded:e}=fa(),{expanded:n}=fa("pinia-store-state"),r=XS,a=xt([]),i=xt([]),s=rl(),o=xt(""),l=xt([]),u=pt(()=>{var N,$;return(N=l.value)!=null&&N.length?E(($=l.value)==null?void 0:$[0]):[]}),p=pt(()=>g(l.value)),h=pt(()=>p.value.map(N=>N.id)),d=xt({}),m=xt(""),f=xt("");Ir(m,(N,$)=>{!N.trim().length&&!$.trim().length||U(N)});const v=pt(()=>g4({state:d.value,filterKey:f.value})),C=pt(()=>{var N,$;return!((N=d.value.state)!=null&&N.length)&&!(($=d.value.getters)!=null&&$.length)});function E(N,$=[],D=[]){var R;return $.push(N.id),((R=N.children)==null?void 0:R.length)===0&&D.push([...$]),Array.isArray(N.children)&&N.children.forEach(K=>{E(K,$,D)}),$.pop(),D}function x(N,$){const D=[];return N?.forEach(R=>{D.push(...R.slice(0,$+1))}),[...new Set(D)]}function g(N){const $=[],D=R=>{R?.forEach(K=>{var re;$.push(K),(re=K.children)!=null&&re.length&&D(K.children)})};return D(N),$}function w(){Qt.value.getInspectorNodeActions(r).then(N=>{a.value=N})}function b(){Qt.value.getInspectorActions(r).then(N=>{i.value=N})}w(),b();function A(N){Qt.value.callInspectorNodeAction(r,N,o.value)}function T(N){Qt.value.callInspectorAction(r,N)}function O(N){var $;for(const D in N)($=N[D])!=null&&$.length||delete N[D];return N}function I(N){Qt.value.getInspectorState({inspectorId:r,nodeId:N}).then($=>{const D=oi($);D&&(d.value=O(D),n.value=Array.from({length:Object.keys(d.value).length},(R,K)=>`${K}`))})}function z(){d.value={}}Ir(o,()=>{z(),I(o.value)});function U(N=""){Qt.value.getInspectorTree({inspectorId:r,filter:N}).then($=>{const D=oi($);l.value=D,!o.value&&D.length&&(o.value=D[0].id,I(D[0].id),e.value=x(u.value,1))})}U();function W(N){const $=oi(N);$.inspectorId!==r||!$.rootNodes.length||(l.value=$.rootNodes,h.value.includes(o.value)||(o.value=$.rootNodes[0].id,e.value=x(u.value,1),I($.rootNodes[0].id)))}function F(N){const $=oi(N);if($.inspectorId!==r)return;const D=$.state;D&&(d.value=O({state:D.state,getters:D.getters}))}return Qt.functions.on(xs.INSPECTOR_TREE_UPDATED,W),Qt.functions.on(xs.INSPECTOR_STATE_UPDATED,F),gi(()=>{Qt.functions.off(xs.INSPECTOR_TREE_UPDATED,W),Qt.functions.off(xs.INSPECTOR_STATE_UPDATED,F)}),(N,$)=>(Je(),lt("div",HK,[gt(b1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:Vt(()=>[gt(C1)]),_:1}),gt($e(v1),{class:"flex-1 overflow-auto"},{default:Vt(()=>[gt($e(Bi),{border:"r base",size:"40","h-full":""},{default:Vt(()=>{var D;return[Ze("div",DK,[Ze("div",RK,[gt($e(Ro),{modelValue:m.value,"onUpdate:modelValue":$[0]||($[0]=R=>m.value=R),placeholder:$e(s).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),(D=i.value)!=null&&D.length?(Je(),lt("div",jK,[(Je(!0),lt(Rr,null,Is(i.value,(R,K)=>qn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:re=>T(K)},[Ze("i",{class:Wr(`i-ic-baseline-${R.icon.replace(/\_/g,"-")}`),"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,2)],8,BK)),[[$e(Os),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):sr("",!0)]),Ze("div",FK,[gt(p2,{modelValue:o.value,"onUpdate:modelValue":$[1]||($[1]=R=>o.value=R),data:l.value},null,8,["modelValue","data"])])])]}),_:1}),gt($e(Bi),{size:"60"},{default:Vt(()=>{var D;return[Ze("div",$K,[Ze("div",UK,[gt($e(Ro),{modelValue:f.value,"onUpdate:modelValue":$[2]||($[2]=R=>f.value=R),placeholder:$e(s).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),(D=a.value)!=null&&D.length?(Je(),lt("div",qK,[(Je(!0),lt(Rr,null,Is(a.value,(R,K)=>qn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:re=>A(K)},[Ze("i",{class:Wr(`i-ic-baseline-${R.icon.replace(/\_/g,"-")}`),"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,2)],8,WK)),[[$e(Os),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):sr("",!0)]),o.value&&!C.value?(Je(),Zt(u2,{key:0,class:"no-scrollbar flex-1 overflow-scroll",data:v.value,"node-id":o.value,"inspector-id":$e(r),"expanded-state-id":"pinia-store-state"},null,8,["data","node-id","inspector-id"])):(Je(),Zt(qc,{key:1},{default:Vt(()=>$[3]||($[3]=[pn(" No Data ")])),_:1}))])]}),_:1})]),_:1})]))}}),KK="dev.esm.pinia",XK=ur({__name:"Index",setup(t){const e=["pinia:mutations"];return(n,r)=>(Je(),Zt(T4,{"layer-ids":e,"doc-link":"https://pinia.vuejs.org/","plugin-id":KK,"github-repo-link":"https://github.com/vuejs/pinia"}))}}),YK={"h-full":"","w-full":""},XY=ur({__name:"index",setup(t){const e=xt(null);zs("pluginSettings",e);const n=pt(()=>[{path:"/store",name:"Store",component:GK,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:XK,icon:"i-mdi:timeline-clock-outline"},{path:"/",name:"About",component:kK,icon:"i-logos-pinia"},e.value&&{path:"/settings",name:"Settings",component:NK,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:r}=y4(n,{defaultRoutePath:"/store"}),a=_4();return oa(()=>{Qt.value.getPluginSettings(VK).then(i=>{i.options?e.value=i:e.value=null}),Qt.value.getInspectorInfo(XS).then(i=>{i&&(a.value={stateFilterPlaceholder:i.stateFilterPlaceholder,treeFilterPlaceholder:i.treeFilterPlaceholder})})}),(i,s)=>(Je(),lt("div",YK,[gt($e(r))]))}}),JK={},QK={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ZK(t,e){return Je(),lt("svg",QK,e[0]||(e[0]=[Ze("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8em",height:"8em",viewBox:"0 -4 24 24"},[Ze("path",{fill:"#3dd68c",d:"M4 15V8.5a4.5 4.5 0 0 1 9 0v7a2.5 2.5 0 0 0 5 0V8.83a3.001 3.001 0 1 1 2 0v6.67a4.5 4.5 0 1 1-9 0v-7a2.5 2.5 0 0 0-5 0V15h3l-4 5l-4-5zm15-8a1 1 0 1 0 0-2a1 1 0 0 0 0 2"})],-1),Ze("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1)]))}const eX=ll(JK,[["render",ZK]]),tX={"h-full":"","w-full":"",flex:"","items-center":""},rX={flex:"~ col gap2",ma:"","px-5":""},nX={flex:"~ col","mt-20":"","items-center":""},sX={flex:"~","mt--10":"","items-center":"","justify-center":""},iX={flex:"~ gap2 wrap"},oX=ur({__name:"About",setup(t){const e=c2();return(n,r)=>(Je(),lt("div",tX,[Ze("div",rX,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",nX,[Ze("div",sX,[gt(eX,{"h-18":""})]),r[2]||(r[2]=Ze("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Ze("span",{op40:""}," Router DevTools ")],-1))]),r[6]||(r[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",iX,[Ze("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[0]||(r[0]=a=>$e(e).push("/routes"))},r[3]||(r[3]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"Routes",-1)])),Ze("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[1]||(r[1]=a=>$e(e).push("/timeline"))},r[4]||(r[4]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)]))]),r[7]||(r[7]=Ze("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Ze("a",{href:"https://github.com/vuejs/router",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Ze("div",{"i-carbon-star":""}),pn(" Star on GitHub ")]),Ze("a",{href:"https://router.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Ze("div",{"i-carbon-document":""}),pn(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),aX={class:"h-full flex flex-col"},lX={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},cX={class:"pb2"},uX={"h-full":"","overflow-scroll":"",class:"no-scrollbar"},pX=ur({__name:"Index",setup(t){const{expanded:e}=fa(),{expanded:n}=fa("routes-state"),r=rl(),a=pt(()=>r.value.id),i=xt(""),s=xt(""),[o,l]=FS(!0),u=xt([]),p=pt(()=>{var O,I;return(O=u.value)!=null&&O.length?f((I=u.value)==null?void 0:I[0]):[]}),h=pt(()=>C(u.value)),d=pt(()=>h.value.map(O=>O.id)),m=xt({});function f(O,I=[],z=[]){var U;return I.push(O.id),((U=O.children)==null?void 0:U.length)===0&&z.push([...I]),Array.isArray(O.children)&&O.children.forEach(W=>{f(W,I,z)}),I.pop(),z}function v(O,I){const z=[];return O?.forEach(U=>{z.push(...U.slice(0,I+1))}),[...new Set(z)]}function C(O){const I=[],z=U=>{U?.forEach(W=>{var F;I.push(W),(F=W.children)!=null&&F.length&&z(W.children)})};return z(O),I}function E(O){var I;for(const z in O)(I=O[z])!=null&&I.length||delete O[z];return O}function x(O){Qt.value.getInspectorState({inspectorId:a.value,nodeId:O}).then(I=>{const z=oi(I);z&&(m.value=E(z),n.value=Array.from({length:Object.keys(m.value).length},(U,W)=>`${W}`))})}function g(){m.value={}}Ir(i,()=>{g(),x(i.value)});const w=async(O="")=>{await Qt.value.getInspectorTree({inspectorId:a.value,filter:O}).then(I=>{const z=oi(I);u.value=z,!i.value&&z.length&&(i.value=z[0].id,x(z[0].id),e.value=v(p.value,1))})};BS(a).toBeTruthy().then(()=>{w()});function b(O){const I=oi(O);I.inspectorId!==a.value||!I.rootNodes.length||(u.value=I.rootNodes,d.value.includes(i.value)||(i.value=I.rootNodes[0].id,e.value=v(p.value,1),x(I.rootNodes[0].id)))}function A(O){const I=oi(O);if(I.inspectorId!==a.value)return;const z=I.state;m.value=E(z)}Qt.functions.on(xs.INSPECTOR_TREE_UPDATED,b),Qt.functions.on(xs.INSPECTOR_STATE_UPDATED,A),gi(()=>{Qt.functions.off(xs.INSPECTOR_TREE_UPDATED,b),Qt.functions.off(xs.INSPECTOR_STATE_UPDATED,A)});function T(O){const I=O.trim().toLowerCase();l(),w(I).then(()=>{l()})}return $S(s,O=>{T(O)},{debounce:300}),(O,I)=>(Je(),lt("div",aX,[gt(b1,{"doc-link":"https://router.vuejs.org/","github-repo-link":"https://github.com/vuejs/router"},{default:Vt(()=>[gt(C1)]),_:1}),gt($e(v1),{class:"flex-1 overflow-auto"},{default:Vt(()=>[gt($e(Bi),{border:"r base",size:"40","h-full":""},{default:Vt(()=>[Ze("div",lX,[Ze("div",cX,[gt($e(Ro),{modelValue:s.value,"onUpdate:modelValue":I[0]||(I[0]=z=>s.value=z),placeholder:"Search routes",loading:!$e(o),"loading-debounce-time":250,class:"text-3.5"},null,8,["modelValue","loading"])]),gt(p2,{modelValue:i.value,"onUpdate:modelValue":I[1]||(I[1]=z=>i.value=z),data:u.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Bi),{size:"60"},{default:Vt(()=>[Ze("div",uX,[i.value?(Je(),Zt(u2,{key:0,class:"p3",data:m.value,"node-id":"","inspector-id":"router","expanded-state-id":"routes-state"},null,8,["data"])):(Je(),Zt(qc,{key:1},{default:Vt(()=>I[2]||(I[2]=[pn(" No Data ")])),_:1}))])]),_:1})]),_:1})]))}}),hX="org.vuejs.router",fX=ur({__name:"Index",setup(t){const e=rl();return(n,r)=>(Je(),Zt(T4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":"https://router.vuejs.org/","plugin-id":hX,"github-repo-link":"https://github.com/vuejs/router"},null,8,["layer-ids"]))}}),dX={"h-full":"","w-full":""},YY=ur({__name:"index",props:{id:{}},setup(t){const e=t,n=_4(),r=xt(!1),{VirtualRouterView:a,restoreRouter:i}=y4([{path:"/routes",name:"Routes",component:pX,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:fX,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:oX,icon:"i-ri-route-line"}],{defaultRoutePath:"/routes"});function s(){r.value=!0,oa(()=>{Qt.value.getInspectorInfo(e.id).then(o=>{if(!o)return;const l={homepage:o?.homepage,id:o?.id,label:o?.label,logo:o?.logo,timelineLayerIds:o?.timelineLayers.map(u=>u.id)};n.value=l,i(),r.value=!1})})}return Ir(()=>e.id,o=>{o&&s()}),(o,l)=>(Je(),lt("div",dX,[gt($e(a))]))}}),mX=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-roadmap",name:"Timeline",order:-100,path:"timeline",title:"Timeline"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-logos-pinia",name:"pinia",order:-100,path:"pinia",title:"Pinia"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],YS=["assets","graph","vite-inspect"];function gX(t,e){const n=p0(mX);return n.forEach(r=>{if(r[0]==="modules"){r[1]=r[1].filter(i=>i.name==="router"?e.findIndex(s=>s.name.startsWith("router-inspector"))>-1:i.name==="pinia"?e.findIndex(s=>s.name==="pinia")>-1:!0);const a=e.filter(i=>!(i.name.startsWith("router-inspector")||i.name==="pinia"));r[1]=[...r[1],...a]}}),t&&!bh&&!Xa?n:n.map(([r,a])=>[r,a.filter(i=>!YS.includes(i.name))])}const k5="custom-tab-view",yu="custom-inspector-tab-view";function vX(){const{registeredInspector:t}=nG();return pt(()=>t.value.map((n,r)=>({order:r,name:n.id,icon:n.logo,fallbackIcon:n.icon,title:n.label,path:`${yu}/${n.id}`,category:"modules",pluginId:n.pluginId})))}function JS(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3,reduceMotion:!1}}const Ss=TN("__VUE_DEVTOOLS_CLIENT_STATE__",JS(),{mergeDefaults:!0});function JY(){Ss.value=JS()}Ir(()=>Ss.value.splitScreen.enabled,(t,e)=>{e&&!t&&(Ss.value.splitScreen.size=[50,50])});const yX=AN();Ir(yX,t=>{Ss.value.reduceMotion=t==="reduce"},{immediate:!0});function A4(){const t=Wl(),e=vX();let n=[];const r=pt(()=>uS(t.tabs.value,n)?n:(n=t.tabs.value,t.tabs.value)),a=pt(()=>{const u=t.vitePluginDetected.value,p=[...gX(u,e.value)];return r.value.forEach(h=>{const d=p.find(m=>m[0]===h.category);if(d){if(d[1].some(m=>m.name===h.name)||(!u||bh||Xa)&&YS.includes(h.name))return;d[1].push({...h})}}),[...p]}),i=pt(()=>a.value.reduce((u,[p,h])=>(h.forEach(d=>{u.push(d)}),u),[])),s=pt(()=>{const{hiddenTabCategories:u,hiddenTabs:p,pinnedTabs:h}=Ss.value.tabSettings,d=u.includes("pinned"),m=a.value.reduce((f,[v,C])=>{const E=[{hidden:!1,name:v},[]],x=u.includes(v);return C.forEach(g=>{const w=p.includes(g.name);if(h.includes(g.name))f[0][1].push({...g,hidden:w||d});else{const b=w||x;E[1].push({...g,hidden:b})}}),E[0].hidden=E[1].every(g=>g.hidden),f.push(E),f},[[{name:"pinned",hidden:!1},[]]]);return m[0][0].hidden=m[0][1].every(f=>f.hidden),m[0][1].sort((f,v)=>h.indexOf(f.name)-h.indexOf(v.name)),m}),o=pt(()=>s.value.reduce((u,[p,h])=>{if(p.hidden)return u;const d=h.filter(m=>!m.hidden);return d.length&&u.push([p,d]),u},[])),l=pt(()=>o.value.reduce((u,[p,h])=>(h.forEach(d=>{u.push(d)}),u),[]));return{categorizedTabs:s,flattenedTabs:i,enabledTabs:o,enabledFlattenTabs:l}}function qy(t,e){return pt(()=>{const n=[],r=Ss.value.tabSettings.pinnedTabs;Hr(e).reduce((s,[{name:o,hidden:l},u])=>(u.forEach(p=>{if(Hr(t).some(h=>h.name===p.name)){const h=r.includes(p.name)?"pinned":o||"app";s.push({tab:p,category:{name:h,hidden:l}})}}),s),[]).forEach(({tab:s,category:o})=>{const l=n.find(([{name:u}])=>u===o.name);l?l[1].push(s):n.push([o,[s]])});const i=n.find(([{name:s}])=>s==="pinned");return i&&i[1].sort((s,o)=>r.indexOf(s.name)-r.indexOf(o.name)),n})}function bX(t){const e=new Map;return t.forEach(n=>e.set(n.id,n)),Array.from(e.values())}const z5=fo(new Map);function CX(){const{enabledFlattenTabs:t}=A4(),e=Xh(),n=Wl();let r=[];const a=pt(()=>uS(n.commands.value,r)?r:(r=n.commands.value,n.commands.value)),i=[{id:"fixed:settings",title:"Settings",icon:"i-carbon-settings-adjust",action:()=>{e.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>SX()}],s=pt(()=>t.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():e.push("path"in o&&o.path?o.path:`/custom-tab-view/${o.name}`)}})));return pt(()=>bX([...i,...s.value,...EX(a.value),...Array.from(z5.values()).flatMap(o=>Hr(o))]))}function Wy(t){t?.type==="url"&&window.open(t.src,"_blank")}function EX(t){return t.map(e=>({id:`${e.id}`,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{if(e.children)return e.children.map(n=>({id:n.id,title:n.title,icon:n.icon,description:n.description,order:n.order,action:()=>{Wy(n.action)}})).sort((n,r)=>(r.order??0)-(n.order??0));Wy(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0))}function Gy(t){const e=wT();z5.set(e,t),gi(()=>{z5.delete(e)})}let c0;const Ky={"utility-types":"i-mdi-language-typescript",ssr:"i-codicon-server-process","custom-renderer":"i-codicon-server-process","sfc-script-setup":"i-material-symbols:magic-button","sfc-css-features":"i-material-symbols-css","built-in-directives":"i-material-symbols-code","built-in-special-attributes":"i-material-symbols-code","component-instance":"i-material-symbols-code","composition-api-dependency-injection":"i-material-symbols-code","composition-api-lifecycle":"i-material-symbols-code",general:"i-material-symbols-code","compile-time-flags":"i-material-symbols-toggle-on","reactivity-utilities":"i-mdi-api","reactivity-advanced":"i-mdi-api","render-function":"i-mdi-api","...others":"i-uim-vuejs"};async function SX(){return c0||(c0=(await vs(()=>import("./vue-apis-DJBctb31.js"),[],import.meta.url).then(e=>e.default)).map(e=>({...e,icon:Ky[e.description]??Ky["...others"],action:()=>{window.open(e.url,"_blank")}}))),c0}const xX={flex:"~ col",h:"60%",border:"1 base","m-x-4":"","max-h-120":"","min-h-60":"","w-xl":"","of-hidden":"","rounded-md":"","text-3.75":""},wX={border:"b base","flex-none":""},TX={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},_X=["id","onClick","onMouseover"],AX={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},PX={"ws-nowrap":""},MX={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},LX={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},OX={"text-primary":""},IX={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},kX={"text-xs":"",flex:"~ items-center gap2"},zX={px1:""},NX={px1:""},VX={"text-xs":"",flex:"~ items-center gap2"},HX={op75:""},DX={"text-xs":"",flex:"~ items-center gap2"},RX={px1:""},jX=ur({__name:"CommandPalette",setup(t){const e=xt(!1),n=xt(""),r=CX(),a=xt(),i=pt(()=>a.value||r.value),s=pt(()=>new g1(i.value,{keys:["id","title"],distance:50})),o=pt(()=>n.value?s.value.search(n.value).map(d=>d.item):i.value||[]),l=xt(0);Ir(n,()=>{l.value=0,p()});function u(d){l.value=(l.value+d+o.value.length)%o.value.length,p()}function p(){document.getElementById(o.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function h(d){const m=await d.action();m?(a.value=m,n.value=""):(a.value=void 0,n.value="",e.value=!1)}return Qs("keydown",d=>{if((d.altKey||d.metaKey)&&d.key==="k"){d.preventDefault(),a.value=void 0,n.value="",e.value=!e.value;return}if(e.value)switch(d.key){case"ArrowDown":case"ArrowUp":d.preventDefault(),u(d.key==="ArrowDown"?1:-1);break;case"Enter":{const m=o.value[l.value];m&&(d.preventDefault(),h(m));break}case"Escape":{d.preventDefault(),a.value?(a.value=void 0,n.value=""):e.value=!1;break}}}),(d,m)=>{const f=of;return $e(e)?(Je(),Zt($e(s4),{key:0,dim:"",class:"$ui-z-max-override backdrop-blur-2xl!"},{default:Vt(()=>[Ze("div",xX,[Ze("header",wX,[gt($e(Ro),{modelValue:$e(n),"onUpdate:modelValue":m[0]||(m[0]=v=>Pn(n)?n.value=v:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),Ze("div",TX,[(Je(!0),lt(Rr,null,Is($e(o),(v,C)=>(Je(),lt("button",{id:v.id,key:v.id,onClick:E=>h(v),onMouseover:E=>l.value=C},[Ze("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Wr($e(l)===C?"op100 saturate-100 bg-active":"op80")},[gt(f,{icon:v.icon,title:v.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),Ze("span",AX,[Ze("span",PX,hn(v.title),1),Ze("span",MX,hn(v.description),1)]),$e(l)===C?(Je(),Zt($e(ks),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):sr("",!0)],2)],40,_X))),128)),$e(o).length?sr("",!0):(Je(),lt("div",LX,[gt($e(ks),{icon:"carbon-search",op50:""}),Ze("div",null,[m[1]||(m[1]=Ze("span",{op50:""},"No results for",-1)),Ze("strong",OX,' "'+hn($e(n))+'" ',1)])]))]),Ze("footer",IX,[Ze("div",kX,[Ze("button",zX,[gt($e(ks),{icon:"i-carbon-arrow-down"})]),Ze("button",NX,[gt($e(ks),{icon:"i-carbon-arrow-up"})]),m[2]||(m[2]=Ze("span",{op75:""},"to navigate",-1))]),Ze("div",VX,[m[3]||(m[3]=Ze("button",{px1:""}," Esc ",-1)),Ze("span",HX,"to "+hn($e(a)?"go back":"close"),1)]),Ze("div",DX,[Ze("button",RX,[gt($e(ks),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),m[4]||(m[4]=Ze("span",{op75:""},"to select",-1))])])])]),_:1})):sr("",!0)}}});/*! * vue3-sfc-loader v0.9.5 for vue3 * * @description Vue3 Single File Component loader. * @author Franck FREIBURGER * @license MIT * @sources https://github.com/FranckFreiburger/vue3-sfc-loader */var BX=[(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(e,"__internal__deprecationWarning",{enumerable:!0,get:function(){return yr.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Ut.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"createFlowUnionType",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return ct.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return Ee.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return er.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return Oe.default}});var a=n(348),i=n(349),s=n(350),o=n(362),l=n(363);Object.keys(l).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===l[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return l[Ct]}}))});var u=n(364),p=n(365),h=n(366),d=n(4);Object.keys(d).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===d[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return d[Ct]}}))});var m=n(368);Object.keys(m).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===m[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return m[Ct]}}))});var f=n(369);Object.keys(f).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===f[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return f[Ct]}}))});var v=n(27),C=n(370),E=n(371),x=n(372),g=n(373),w=n(374),b=n(172),A=n(173),T=n(174),O=n(175),I=n(176),z=n(375),U=n(376);Object.keys(U).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===U[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return U[Ct]}}))});var W=n(26);Object.keys(W).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===W[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return W[Ct]}}))});var F=n(377),N=n(378),$=n(177),D=n(379),R=n(380),K=n(178),re=n(381),ue=n(382),Oe=n(383),X=n(9);Object.keys(X).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===X[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return X[Ct]}}))});var J=n(384),fe=n(385),Ee=n(386),Ae=n(181),pe=n(179),oe=n(171),ce=n(60),ie=n(387),ne=n(388);Object.keys(ne).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===ne[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return ne[Ct]}}))});var Se=n(180),se=n(96),ye=n(42),ge=n(389),Me=n(390),ae=n(391),k=n(182),B=n(170),Z=n(392),Pe=n(168),Ne=n(393),Le=n(394),de=n(395),ke=n(98),Ge=n(396),nt=n(43),ct=n(397),yt=n(165),er=n(97),Ut=n(164),or=n(2);Object.keys(or).forEach(function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===or[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return or[Ct]}}))});var yr=n(58);e.react={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default},e.toSequenceExpression=n(398).default},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return h.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return h.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return h.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return s.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return h.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return h.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return h.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return h.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return h.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return h.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return v.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return v.parseSync}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return i.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return i.resolvePreset}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return p().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return l().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return d.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return d.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return m.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return m.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return m.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return f.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return f.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return f.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return d.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return u().default}}),e.version=e.types=void 0;var r=n(95),a=n(453),i=n(81),s=n(278);function o(){const C=n(0);return o=function(){return C},C}function l(){const C=n(21);return l=function(){return C},C}function u(){const C=n(14);return u=function(){return C},C}function p(){const C=n(37);return p=function(){return C},C}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return o()}});var h=n(82),d=n(475),m=n(488),f=n(489),v=n(490);n(1),e.version="7.23.9",e.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),e.OptionManager=class{init(C){return(0,h.loadOptionsSync)(C)}},e.Plugin=function(C){throw new Error(`The (${C}) Babel 5 plugin is being run with an unsupported Babel version.`)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=function(s,o){return!!s&&s.type==="ClassAccessorProperty"&&(o==null||(0,r.default)(s,o))},e.isAnyTypeAnnotation=function(s,o){return!!s&&s.type==="AnyTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isArgumentPlaceholder=function(s,o){return!!s&&s.type==="ArgumentPlaceholder"&&(o==null||(0,r.default)(s,o))},e.isArrayExpression=function(s,o){return!!s&&s.type==="ArrayExpression"&&(o==null||(0,r.default)(s,o))},e.isArrayPattern=function(s,o){return!!s&&s.type==="ArrayPattern"&&(o==null||(0,r.default)(s,o))},e.isArrayTypeAnnotation=function(s,o){return!!s&&s.type==="ArrayTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isArrowFunctionExpression=function(s,o){return!!s&&s.type==="ArrowFunctionExpression"&&(o==null||(0,r.default)(s,o))},e.isAssignmentExpression=function(s,o){return!!s&&s.type==="AssignmentExpression"&&(o==null||(0,r.default)(s,o))},e.isAssignmentPattern=function(s,o){return!!s&&s.type==="AssignmentPattern"&&(o==null||(0,r.default)(s,o))},e.isAwaitExpression=function(s,o){return!!s&&s.type==="AwaitExpression"&&(o==null||(0,r.default)(s,o))},e.isBigIntLiteral=function(s,o){return!!s&&s.type==="BigIntLiteral"&&(o==null||(0,r.default)(s,o))},e.isBinary=function(s,o){if(!s)return!1;switch(s.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBinaryExpression=function(s,o){return!!s&&s.type==="BinaryExpression"&&(o==null||(0,r.default)(s,o))},e.isBindExpression=function(s,o){return!!s&&s.type==="BindExpression"&&(o==null||(0,r.default)(s,o))},e.isBlock=function(s,o){if(!s)return!1;switch(s.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBlockParent=function(s,o){if(!s)return!1;switch(s.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBlockStatement=function(s,o){return!!s&&s.type==="BlockStatement"&&(o==null||(0,r.default)(s,o))},e.isBooleanLiteral=function(s,o){return!!s&&s.type==="BooleanLiteral"&&(o==null||(0,r.default)(s,o))},e.isBooleanLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="BooleanLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isBooleanTypeAnnotation=function(s,o){return!!s&&s.type==="BooleanTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isBreakStatement=function(s,o){return!!s&&s.type==="BreakStatement"&&(o==null||(0,r.default)(s,o))},e.isCallExpression=function(s,o){return!!s&&s.type==="CallExpression"&&(o==null||(0,r.default)(s,o))},e.isCatchClause=function(s,o){return!!s&&s.type==="CatchClause"&&(o==null||(0,r.default)(s,o))},e.isClass=function(s,o){if(!s)return!1;switch(s.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isClassAccessorProperty=function(s,o){return!!s&&s.type==="ClassAccessorProperty"&&(o==null||(0,r.default)(s,o))},e.isClassBody=function(s,o){return!!s&&s.type==="ClassBody"&&(o==null||(0,r.default)(s,o))},e.isClassDeclaration=function(s,o){return!!s&&s.type==="ClassDeclaration"&&(o==null||(0,r.default)(s,o))},e.isClassExpression=function(s,o){return!!s&&s.type==="ClassExpression"&&(o==null||(0,r.default)(s,o))},e.isClassImplements=function(s,o){return!!s&&s.type==="ClassImplements"&&(o==null||(0,r.default)(s,o))},e.isClassMethod=function(s,o){return!!s&&s.type==="ClassMethod"&&(o==null||(0,r.default)(s,o))},e.isClassPrivateMethod=function(s,o){return!!s&&s.type==="ClassPrivateMethod"&&(o==null||(0,r.default)(s,o))},e.isClassPrivateProperty=function(s,o){return!!s&&s.type==="ClassPrivateProperty"&&(o==null||(0,r.default)(s,o))},e.isClassProperty=function(s,o){return!!s&&s.type==="ClassProperty"&&(o==null||(0,r.default)(s,o))},e.isCompletionStatement=function(s,o){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isConditional=function(s,o){if(!s)return!1;switch(s.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isConditionalExpression=function(s,o){return!!s&&s.type==="ConditionalExpression"&&(o==null||(0,r.default)(s,o))},e.isContinueStatement=function(s,o){return!!s&&s.type==="ContinueStatement"&&(o==null||(0,r.default)(s,o))},e.isDebuggerStatement=function(s,o){return!!s&&s.type==="DebuggerStatement"&&(o==null||(0,r.default)(s,o))},e.isDecimalLiteral=function(s,o){return!!s&&s.type==="DecimalLiteral"&&(o==null||(0,r.default)(s,o))},e.isDeclaration=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(s.expectedNode==="Declaration")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isDeclareClass=function(s,o){return!!s&&s.type==="DeclareClass"&&(o==null||(0,r.default)(s,o))},e.isDeclareExportAllDeclaration=function(s,o){return!!s&&s.type==="DeclareExportAllDeclaration"&&(o==null||(0,r.default)(s,o))},e.isDeclareExportDeclaration=function(s,o){return!!s&&s.type==="DeclareExportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isDeclareFunction=function(s,o){return!!s&&s.type==="DeclareFunction"&&(o==null||(0,r.default)(s,o))},e.isDeclareInterface=function(s,o){return!!s&&s.type==="DeclareInterface"&&(o==null||(0,r.default)(s,o))},e.isDeclareModule=function(s,o){return!!s&&s.type==="DeclareModule"&&(o==null||(0,r.default)(s,o))},e.isDeclareModuleExports=function(s,o){return!!s&&s.type==="DeclareModuleExports"&&(o==null||(0,r.default)(s,o))},e.isDeclareOpaqueType=function(s,o){return!!s&&s.type==="DeclareOpaqueType"&&(o==null||(0,r.default)(s,o))},e.isDeclareTypeAlias=function(s,o){return!!s&&s.type==="DeclareTypeAlias"&&(o==null||(0,r.default)(s,o))},e.isDeclareVariable=function(s,o){return!!s&&s.type==="DeclareVariable"&&(o==null||(0,r.default)(s,o))},e.isDeclaredPredicate=function(s,o){return!!s&&s.type==="DeclaredPredicate"&&(o==null||(0,r.default)(s,o))},e.isDecorator=function(s,o){return!!s&&s.type==="Decorator"&&(o==null||(0,r.default)(s,o))},e.isDirective=function(s,o){return!!s&&s.type==="Directive"&&(o==null||(0,r.default)(s,o))},e.isDirectiveLiteral=function(s,o){return!!s&&s.type==="DirectiveLiteral"&&(o==null||(0,r.default)(s,o))},e.isDoExpression=function(s,o){return!!s&&s.type==="DoExpression"&&(o==null||(0,r.default)(s,o))},e.isDoWhileStatement=function(s,o){return!!s&&s.type==="DoWhileStatement"&&(o==null||(0,r.default)(s,o))},e.isEmptyStatement=function(s,o){return!!s&&s.type==="EmptyStatement"&&(o==null||(0,r.default)(s,o))},e.isEmptyTypeAnnotation=function(s,o){return!!s&&s.type==="EmptyTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isEnumBody=function(s,o){if(!s)return!1;switch(s.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isEnumBooleanBody=function(s,o){return!!s&&s.type==="EnumBooleanBody"&&(o==null||(0,r.default)(s,o))},e.isEnumBooleanMember=function(s,o){return!!s&&s.type==="EnumBooleanMember"&&(o==null||(0,r.default)(s,o))},e.isEnumDeclaration=function(s,o){return!!s&&s.type==="EnumDeclaration"&&(o==null||(0,r.default)(s,o))},e.isEnumDefaultedMember=function(s,o){return!!s&&s.type==="EnumDefaultedMember"&&(o==null||(0,r.default)(s,o))},e.isEnumMember=function(s,o){if(!s)return!1;switch(s.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isEnumNumberBody=function(s,o){return!!s&&s.type==="EnumNumberBody"&&(o==null||(0,r.default)(s,o))},e.isEnumNumberMember=function(s,o){return!!s&&s.type==="EnumNumberMember"&&(o==null||(0,r.default)(s,o))},e.isEnumStringBody=function(s,o){return!!s&&s.type==="EnumStringBody"&&(o==null||(0,r.default)(s,o))},e.isEnumStringMember=function(s,o){return!!s&&s.type==="EnumStringMember"&&(o==null||(0,r.default)(s,o))},e.isEnumSymbolBody=function(s,o){return!!s&&s.type==="EnumSymbolBody"&&(o==null||(0,r.default)(s,o))},e.isExistsTypeAnnotation=function(s,o){return!!s&&s.type==="ExistsTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isExportAllDeclaration=function(s,o){return!!s&&s.type==="ExportAllDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportDeclaration=function(s,o){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isExportDefaultDeclaration=function(s,o){return!!s&&s.type==="ExportDefaultDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportDefaultSpecifier=function(s,o){return!!s&&s.type==="ExportDefaultSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExportNamedDeclaration=function(s,o){return!!s&&s.type==="ExportNamedDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportNamespaceSpecifier=function(s,o){return!!s&&s.type==="ExportNamespaceSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExportSpecifier=function(s,o){return!!s&&s.type==="ExportSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExpression=function(s,o){if(!s)return!1;switch(s.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isExpressionStatement=function(s,o){return!!s&&s.type==="ExpressionStatement"&&(o==null||(0,r.default)(s,o))},e.isExpressionWrapper=function(s,o){if(!s)return!1;switch(s.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFile=function(s,o){return!!s&&s.type==="File"&&(o==null||(0,r.default)(s,o))},e.isFlow=function(s,o){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFlowBaseAnnotation=function(s,o){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFlowDeclaration=function(s,o){if(!s)return!1;switch(s.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFlowPredicate=function(s,o){if(!s)return!1;switch(s.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFlowType=function(s,o){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFor=function(s,o){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isForInStatement=function(s,o){return!!s&&s.type==="ForInStatement"&&(o==null||(0,r.default)(s,o))},e.isForOfStatement=function(s,o){return!!s&&s.type==="ForOfStatement"&&(o==null||(0,r.default)(s,o))},e.isForStatement=function(s,o){return!!s&&s.type==="ForStatement"&&(o==null||(0,r.default)(s,o))},e.isForXStatement=function(s,o){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunction=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunctionDeclaration=function(s,o){return!!s&&s.type==="FunctionDeclaration"&&(o==null||(0,r.default)(s,o))},e.isFunctionExpression=function(s,o){return!!s&&s.type==="FunctionExpression"&&(o==null||(0,r.default)(s,o))},e.isFunctionParent=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunctionTypeAnnotation=function(s,o){return!!s&&s.type==="FunctionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isFunctionTypeParam=function(s,o){return!!s&&s.type==="FunctionTypeParam"&&(o==null||(0,r.default)(s,o))},e.isGenericTypeAnnotation=function(s,o){return!!s&&s.type==="GenericTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isIdentifier=function(s,o){return!!s&&s.type==="Identifier"&&(o==null||(0,r.default)(s,o))},e.isIfStatement=function(s,o){return!!s&&s.type==="IfStatement"&&(o==null||(0,r.default)(s,o))},e.isImmutable=function(s,o){if(!s)return!1;switch(s.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isImport=function(s,o){return!!s&&s.type==="Import"&&(o==null||(0,r.default)(s,o))},e.isImportAttribute=function(s,o){return!!s&&s.type==="ImportAttribute"&&(o==null||(0,r.default)(s,o))},e.isImportDeclaration=function(s,o){return!!s&&s.type==="ImportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isImportDefaultSpecifier=function(s,o){return!!s&&s.type==="ImportDefaultSpecifier"&&(o==null||(0,r.default)(s,o))},e.isImportExpression=function(s,o){return!!s&&s.type==="ImportExpression"&&(o==null||(0,r.default)(s,o))},e.isImportNamespaceSpecifier=function(s,o){return!!s&&s.type==="ImportNamespaceSpecifier"&&(o==null||(0,r.default)(s,o))},e.isImportOrExportDeclaration=i,e.isImportSpecifier=function(s,o){return!!s&&s.type==="ImportSpecifier"&&(o==null||(0,r.default)(s,o))},e.isIndexedAccessType=function(s,o){return!!s&&s.type==="IndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isInferredPredicate=function(s,o){return!!s&&s.type==="InferredPredicate"&&(o==null||(0,r.default)(s,o))},e.isInterfaceDeclaration=function(s,o){return!!s&&s.type==="InterfaceDeclaration"&&(o==null||(0,r.default)(s,o))},e.isInterfaceExtends=function(s,o){return!!s&&s.type==="InterfaceExtends"&&(o==null||(0,r.default)(s,o))},e.isInterfaceTypeAnnotation=function(s,o){return!!s&&s.type==="InterfaceTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isInterpreterDirective=function(s,o){return!!s&&s.type==="InterpreterDirective"&&(o==null||(0,r.default)(s,o))},e.isIntersectionTypeAnnotation=function(s,o){return!!s&&s.type==="IntersectionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isJSX=function(s,o){if(!s)return!1;switch(s.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isJSXAttribute=function(s,o){return!!s&&s.type==="JSXAttribute"&&(o==null||(0,r.default)(s,o))},e.isJSXClosingElement=function(s,o){return!!s&&s.type==="JSXClosingElement"&&(o==null||(0,r.default)(s,o))},e.isJSXClosingFragment=function(s,o){return!!s&&s.type==="JSXClosingFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXElement=function(s,o){return!!s&&s.type==="JSXElement"&&(o==null||(0,r.default)(s,o))},e.isJSXEmptyExpression=function(s,o){return!!s&&s.type==="JSXEmptyExpression"&&(o==null||(0,r.default)(s,o))},e.isJSXExpressionContainer=function(s,o){return!!s&&s.type==="JSXExpressionContainer"&&(o==null||(0,r.default)(s,o))},e.isJSXFragment=function(s,o){return!!s&&s.type==="JSXFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXIdentifier=function(s,o){return!!s&&s.type==="JSXIdentifier"&&(o==null||(0,r.default)(s,o))},e.isJSXMemberExpression=function(s,o){return!!s&&s.type==="JSXMemberExpression"&&(o==null||(0,r.default)(s,o))},e.isJSXNamespacedName=function(s,o){return!!s&&s.type==="JSXNamespacedName"&&(o==null||(0,r.default)(s,o))},e.isJSXOpeningElement=function(s,o){return!!s&&s.type==="JSXOpeningElement"&&(o==null||(0,r.default)(s,o))},e.isJSXOpeningFragment=function(s,o){return!!s&&s.type==="JSXOpeningFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXSpreadAttribute=function(s,o){return!!s&&s.type==="JSXSpreadAttribute"&&(o==null||(0,r.default)(s,o))},e.isJSXSpreadChild=function(s,o){return!!s&&s.type==="JSXSpreadChild"&&(o==null||(0,r.default)(s,o))},e.isJSXText=function(s,o){return!!s&&s.type==="JSXText"&&(o==null||(0,r.default)(s,o))},e.isLVal=function(s,o){if(!s)return!1;switch(s.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isLabeledStatement=function(s,o){return!!s&&s.type==="LabeledStatement"&&(o==null||(0,r.default)(s,o))},e.isLiteral=function(s,o){if(!s)return!1;switch(s.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isLogicalExpression=function(s,o){return!!s&&s.type==="LogicalExpression"&&(o==null||(0,r.default)(s,o))},e.isLoop=function(s,o){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMemberExpression=function(s,o){return!!s&&s.type==="MemberExpression"&&(o==null||(0,r.default)(s,o))},e.isMetaProperty=function(s,o){return!!s&&s.type==="MetaProperty"&&(o==null||(0,r.default)(s,o))},e.isMethod=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMiscellaneous=function(s,o){if(!s)return!1;switch(s.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMixedTypeAnnotation=function(s,o){return!!s&&s.type==="MixedTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isModuleDeclaration=function(s,o){return(0,a.default)("isModuleDeclaration","isImportOrExportDeclaration"),i(s,o)},e.isModuleExpression=function(s,o){return!!s&&s.type==="ModuleExpression"&&(o==null||(0,r.default)(s,o))},e.isModuleSpecifier=function(s,o){if(!s)return!1;switch(s.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isNewExpression=function(s,o){return!!s&&s.type==="NewExpression"&&(o==null||(0,r.default)(s,o))},e.isNoop=function(s,o){return!!s&&s.type==="Noop"&&(o==null||(0,r.default)(s,o))},e.isNullLiteral=function(s,o){return!!s&&s.type==="NullLiteral"&&(o==null||(0,r.default)(s,o))},e.isNullLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="NullLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNullableTypeAnnotation=function(s,o){return!!s&&s.type==="NullableTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumberLiteral=function(s,o){return(0,a.default)("isNumberLiteral","isNumericLiteral"),!!s&&s.type==="NumberLiteral"&&(o==null||(0,r.default)(s,o))},e.isNumberLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="NumberLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumberTypeAnnotation=function(s,o){return!!s&&s.type==="NumberTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumericLiteral=function(s,o){return!!s&&s.type==="NumericLiteral"&&(o==null||(0,r.default)(s,o))},e.isObjectExpression=function(s,o){return!!s&&s.type==="ObjectExpression"&&(o==null||(0,r.default)(s,o))},e.isObjectMember=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isObjectMethod=function(s,o){return!!s&&s.type==="ObjectMethod"&&(o==null||(0,r.default)(s,o))},e.isObjectPattern=function(s,o){return!!s&&s.type==="ObjectPattern"&&(o==null||(0,r.default)(s,o))},e.isObjectProperty=function(s,o){return!!s&&s.type==="ObjectProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeAnnotation=function(s,o){return!!s&&s.type==="ObjectTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeCallProperty=function(s,o){return!!s&&s.type==="ObjectTypeCallProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeIndexer=function(s,o){return!!s&&s.type==="ObjectTypeIndexer"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeInternalSlot=function(s,o){return!!s&&s.type==="ObjectTypeInternalSlot"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeProperty=function(s,o){return!!s&&s.type==="ObjectTypeProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeSpreadProperty=function(s,o){return!!s&&s.type==="ObjectTypeSpreadProperty"&&(o==null||(0,r.default)(s,o))},e.isOpaqueType=function(s,o){return!!s&&s.type==="OpaqueType"&&(o==null||(0,r.default)(s,o))},e.isOptionalCallExpression=function(s,o){return!!s&&s.type==="OptionalCallExpression"&&(o==null||(0,r.default)(s,o))},e.isOptionalIndexedAccessType=function(s,o){return!!s&&s.type==="OptionalIndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isOptionalMemberExpression=function(s,o){return!!s&&s.type==="OptionalMemberExpression"&&(o==null||(0,r.default)(s,o))},e.isParenthesizedExpression=function(s,o){return!!s&&s.type==="ParenthesizedExpression"&&(o==null||(0,r.default)(s,o))},e.isPattern=function(s,o){if(!s)return!1;switch(s.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(s.expectedNode==="Pattern")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPatternLike=function(s,o){if(!s)return!1;switch(s.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPipelineBareFunction=function(s,o){return!!s&&s.type==="PipelineBareFunction"&&(o==null||(0,r.default)(s,o))},e.isPipelinePrimaryTopicReference=function(s,o){return!!s&&s.type==="PipelinePrimaryTopicReference"&&(o==null||(0,r.default)(s,o))},e.isPipelineTopicExpression=function(s,o){return!!s&&s.type==="PipelineTopicExpression"&&(o==null||(0,r.default)(s,o))},e.isPlaceholder=function(s,o){return!!s&&s.type==="Placeholder"&&(o==null||(0,r.default)(s,o))},e.isPrivate=function(s,o){if(!s)return!1;switch(s.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPrivateName=function(s,o){return!!s&&s.type==="PrivateName"&&(o==null||(0,r.default)(s,o))},e.isProgram=function(s,o){return!!s&&s.type==="Program"&&(o==null||(0,r.default)(s,o))},e.isProperty=function(s,o){if(!s)return!1;switch(s.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPureish=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isQualifiedTypeIdentifier=function(s,o){return!!s&&s.type==="QualifiedTypeIdentifier"&&(o==null||(0,r.default)(s,o))},e.isRecordExpression=function(s,o){return!!s&&s.type==="RecordExpression"&&(o==null||(0,r.default)(s,o))},e.isRegExpLiteral=function(s,o){return!!s&&s.type==="RegExpLiteral"&&(o==null||(0,r.default)(s,o))},e.isRegexLiteral=function(s,o){return(0,a.default)("isRegexLiteral","isRegExpLiteral"),!!s&&s.type==="RegexLiteral"&&(o==null||(0,r.default)(s,o))},e.isRestElement=function(s,o){return!!s&&s.type==="RestElement"&&(o==null||(0,r.default)(s,o))},e.isRestProperty=function(s,o){return(0,a.default)("isRestProperty","isRestElement"),!!s&&s.type==="RestProperty"&&(o==null||(0,r.default)(s,o))},e.isReturnStatement=function(s,o){return!!s&&s.type==="ReturnStatement"&&(o==null||(0,r.default)(s,o))},e.isScopable=function(s,o){if(!s)return!1;switch(s.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isSequenceExpression=function(s,o){return!!s&&s.type==="SequenceExpression"&&(o==null||(0,r.default)(s,o))},e.isSpreadElement=function(s,o){return!!s&&s.type==="SpreadElement"&&(o==null||(0,r.default)(s,o))},e.isSpreadProperty=function(s,o){return(0,a.default)("isSpreadProperty","isSpreadElement"),!!s&&s.type==="SpreadProperty"&&(o==null||(0,r.default)(s,o))},e.isStandardized=function(s,o){if(!s)return!1;switch(s.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(s.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isStatement=function(s,o){if(!s)return!1;switch(s.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(s.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isStaticBlock=function(s,o){return!!s&&s.type==="StaticBlock"&&(o==null||(0,r.default)(s,o))},e.isStringLiteral=function(s,o){return!!s&&s.type==="StringLiteral"&&(o==null||(0,r.default)(s,o))},e.isStringLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="StringLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isStringTypeAnnotation=function(s,o){return!!s&&s.type==="StringTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isSuper=function(s,o){return!!s&&s.type==="Super"&&(o==null||(0,r.default)(s,o))},e.isSwitchCase=function(s,o){return!!s&&s.type==="SwitchCase"&&(o==null||(0,r.default)(s,o))},e.isSwitchStatement=function(s,o){return!!s&&s.type==="SwitchStatement"&&(o==null||(0,r.default)(s,o))},e.isSymbolTypeAnnotation=function(s,o){return!!s&&s.type==="SymbolTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTSAnyKeyword=function(s,o){return!!s&&s.type==="TSAnyKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSArrayType=function(s,o){return!!s&&s.type==="TSArrayType"&&(o==null||(0,r.default)(s,o))},e.isTSAsExpression=function(s,o){return!!s&&s.type==="TSAsExpression"&&(o==null||(0,r.default)(s,o))},e.isTSBaseType=function(s,o){if(!s)return!1;switch(s.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSBigIntKeyword=function(s,o){return!!s&&s.type==="TSBigIntKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSBooleanKeyword=function(s,o){return!!s&&s.type==="TSBooleanKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSCallSignatureDeclaration=function(s,o){return!!s&&s.type==="TSCallSignatureDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSConditionalType=function(s,o){return!!s&&s.type==="TSConditionalType"&&(o==null||(0,r.default)(s,o))},e.isTSConstructSignatureDeclaration=function(s,o){return!!s&&s.type==="TSConstructSignatureDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSConstructorType=function(s,o){return!!s&&s.type==="TSConstructorType"&&(o==null||(0,r.default)(s,o))},e.isTSDeclareFunction=function(s,o){return!!s&&s.type==="TSDeclareFunction"&&(o==null||(0,r.default)(s,o))},e.isTSDeclareMethod=function(s,o){return!!s&&s.type==="TSDeclareMethod"&&(o==null||(0,r.default)(s,o))},e.isTSEntityName=function(s,o){if(!s)return!1;switch(s.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(s.expectedNode==="Identifier")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSEnumDeclaration=function(s,o){return!!s&&s.type==="TSEnumDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSEnumMember=function(s,o){return!!s&&s.type==="TSEnumMember"&&(o==null||(0,r.default)(s,o))},e.isTSExportAssignment=function(s,o){return!!s&&s.type==="TSExportAssignment"&&(o==null||(0,r.default)(s,o))},e.isTSExpressionWithTypeArguments=function(s,o){return!!s&&s.type==="TSExpressionWithTypeArguments"&&(o==null||(0,r.default)(s,o))},e.isTSExternalModuleReference=function(s,o){return!!s&&s.type==="TSExternalModuleReference"&&(o==null||(0,r.default)(s,o))},e.isTSFunctionType=function(s,o){return!!s&&s.type==="TSFunctionType"&&(o==null||(0,r.default)(s,o))},e.isTSImportEqualsDeclaration=function(s,o){return!!s&&s.type==="TSImportEqualsDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSImportType=function(s,o){return!!s&&s.type==="TSImportType"&&(o==null||(0,r.default)(s,o))},e.isTSIndexSignature=function(s,o){return!!s&&s.type==="TSIndexSignature"&&(o==null||(0,r.default)(s,o))},e.isTSIndexedAccessType=function(s,o){return!!s&&s.type==="TSIndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isTSInferType=function(s,o){return!!s&&s.type==="TSInferType"&&(o==null||(0,r.default)(s,o))},e.isTSInstantiationExpression=function(s,o){return!!s&&s.type==="TSInstantiationExpression"&&(o==null||(0,r.default)(s,o))},e.isTSInterfaceBody=function(s,o){return!!s&&s.type==="TSInterfaceBody"&&(o==null||(0,r.default)(s,o))},e.isTSInterfaceDeclaration=function(s,o){return!!s&&s.type==="TSInterfaceDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSIntersectionType=function(s,o){return!!s&&s.type==="TSIntersectionType"&&(o==null||(0,r.default)(s,o))},e.isTSIntrinsicKeyword=function(s,o){return!!s&&s.type==="TSIntrinsicKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSLiteralType=function(s,o){return!!s&&s.type==="TSLiteralType"&&(o==null||(0,r.default)(s,o))},e.isTSMappedType=function(s,o){return!!s&&s.type==="TSMappedType"&&(o==null||(0,r.default)(s,o))},e.isTSMethodSignature=function(s,o){return!!s&&s.type==="TSMethodSignature"&&(o==null||(0,r.default)(s,o))},e.isTSModuleBlock=function(s,o){return!!s&&s.type==="TSModuleBlock"&&(o==null||(0,r.default)(s,o))},e.isTSModuleDeclaration=function(s,o){return!!s&&s.type==="TSModuleDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSNamedTupleMember=function(s,o){return!!s&&s.type==="TSNamedTupleMember"&&(o==null||(0,r.default)(s,o))},e.isTSNamespaceExportDeclaration=function(s,o){return!!s&&s.type==="TSNamespaceExportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSNeverKeyword=function(s,o){return!!s&&s.type==="TSNeverKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSNonNullExpression=function(s,o){return!!s&&s.type==="TSNonNullExpression"&&(o==null||(0,r.default)(s,o))},e.isTSNullKeyword=function(s,o){return!!s&&s.type==="TSNullKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSNumberKeyword=function(s,o){return!!s&&s.type==="TSNumberKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSObjectKeyword=function(s,o){return!!s&&s.type==="TSObjectKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSOptionalType=function(s,o){return!!s&&s.type==="TSOptionalType"&&(o==null||(0,r.default)(s,o))},e.isTSParameterProperty=function(s,o){return!!s&&s.type==="TSParameterProperty"&&(o==null||(0,r.default)(s,o))},e.isTSParenthesizedType=function(s,o){return!!s&&s.type==="TSParenthesizedType"&&(o==null||(0,r.default)(s,o))},e.isTSPropertySignature=function(s,o){return!!s&&s.type==="TSPropertySignature"&&(o==null||(0,r.default)(s,o))},e.isTSQualifiedName=function(s,o){return!!s&&s.type==="TSQualifiedName"&&(o==null||(0,r.default)(s,o))},e.isTSRestType=function(s,o){return!!s&&s.type==="TSRestType"&&(o==null||(0,r.default)(s,o))},e.isTSSatisfiesExpression=function(s,o){return!!s&&s.type==="TSSatisfiesExpression"&&(o==null||(0,r.default)(s,o))},e.isTSStringKeyword=function(s,o){return!!s&&s.type==="TSStringKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSSymbolKeyword=function(s,o){return!!s&&s.type==="TSSymbolKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSThisType=function(s,o){return!!s&&s.type==="TSThisType"&&(o==null||(0,r.default)(s,o))},e.isTSTupleType=function(s,o){return!!s&&s.type==="TSTupleType"&&(o==null||(0,r.default)(s,o))},e.isTSType=function(s,o){if(!s)return!1;switch(s.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSTypeAliasDeclaration=function(s,o){return!!s&&s.type==="TSTypeAliasDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSTypeAnnotation=function(s,o){return!!s&&s.type==="TSTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTSTypeAssertion=function(s,o){return!!s&&s.type==="TSTypeAssertion"&&(o==null||(0,r.default)(s,o))},e.isTSTypeElement=function(s,o){if(!s)return!1;switch(s.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSTypeLiteral=function(s,o){return!!s&&s.type==="TSTypeLiteral"&&(o==null||(0,r.default)(s,o))},e.isTSTypeOperator=function(s,o){return!!s&&s.type==="TSTypeOperator"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameter=function(s,o){return!!s&&s.type==="TSTypeParameter"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameterDeclaration=function(s,o){return!!s&&s.type==="TSTypeParameterDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameterInstantiation=function(s,o){return!!s&&s.type==="TSTypeParameterInstantiation"&&(o==null||(0,r.default)(s,o))},e.isTSTypePredicate=function(s,o){return!!s&&s.type==="TSTypePredicate"&&(o==null||(0,r.default)(s,o))},e.isTSTypeQuery=function(s,o){return!!s&&s.type==="TSTypeQuery"&&(o==null||(0,r.default)(s,o))},e.isTSTypeReference=function(s,o){return!!s&&s.type==="TSTypeReference"&&(o==null||(0,r.default)(s,o))},e.isTSUndefinedKeyword=function(s,o){return!!s&&s.type==="TSUndefinedKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSUnionType=function(s,o){return!!s&&s.type==="TSUnionType"&&(o==null||(0,r.default)(s,o))},e.isTSUnknownKeyword=function(s,o){return!!s&&s.type==="TSUnknownKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSVoidKeyword=function(s,o){return!!s&&s.type==="TSVoidKeyword"&&(o==null||(0,r.default)(s,o))},e.isTaggedTemplateExpression=function(s,o){return!!s&&s.type==="TaggedTemplateExpression"&&(o==null||(0,r.default)(s,o))},e.isTemplateElement=function(s,o){return!!s&&s.type==="TemplateElement"&&(o==null||(0,r.default)(s,o))},e.isTemplateLiteral=function(s,o){return!!s&&s.type==="TemplateLiteral"&&(o==null||(0,r.default)(s,o))},e.isTerminatorless=function(s,o){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isThisExpression=function(s,o){return!!s&&s.type==="ThisExpression"&&(o==null||(0,r.default)(s,o))},e.isThisTypeAnnotation=function(s,o){return!!s&&s.type==="ThisTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isThrowStatement=function(s,o){return!!s&&s.type==="ThrowStatement"&&(o==null||(0,r.default)(s,o))},e.isTopicReference=function(s,o){return!!s&&s.type==="TopicReference"&&(o==null||(0,r.default)(s,o))},e.isTryStatement=function(s,o){return!!s&&s.type==="TryStatement"&&(o==null||(0,r.default)(s,o))},e.isTupleExpression=function(s,o){return!!s&&s.type==="TupleExpression"&&(o==null||(0,r.default)(s,o))},e.isTupleTypeAnnotation=function(s,o){return!!s&&s.type==="TupleTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTypeAlias=function(s,o){return!!s&&s.type==="TypeAlias"&&(o==null||(0,r.default)(s,o))},e.isTypeAnnotation=function(s,o){return!!s&&s.type==="TypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTypeCastExpression=function(s,o){return!!s&&s.type==="TypeCastExpression"&&(o==null||(0,r.default)(s,o))},e.isTypeParameter=function(s,o){return!!s&&s.type==="TypeParameter"&&(o==null||(0,r.default)(s,o))},e.isTypeParameterDeclaration=function(s,o){return!!s&&s.type==="TypeParameterDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTypeParameterInstantiation=function(s,o){return!!s&&s.type==="TypeParameterInstantiation"&&(o==null||(0,r.default)(s,o))},e.isTypeScript=function(s,o){if(!s)return!1;switch(s.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTypeofTypeAnnotation=function(s,o){return!!s&&s.type==="TypeofTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isUnaryExpression=function(s,o){return!!s&&s.type==="UnaryExpression"&&(o==null||(0,r.default)(s,o))},e.isUnaryLike=function(s,o){if(!s)return!1;switch(s.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isUnionTypeAnnotation=function(s,o){return!!s&&s.type==="UnionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isUpdateExpression=function(s,o){return!!s&&s.type==="UpdateExpression"&&(o==null||(0,r.default)(s,o))},e.isUserWhitespacable=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isV8IntrinsicIdentifier=function(s,o){return!!s&&s.type==="V8IntrinsicIdentifier"&&(o==null||(0,r.default)(s,o))},e.isVariableDeclaration=function(s,o){return!!s&&s.type==="VariableDeclaration"&&(o==null||(0,r.default)(s,o))},e.isVariableDeclarator=function(s,o){return!!s&&s.type==="VariableDeclarator"&&(o==null||(0,r.default)(s,o))},e.isVariance=function(s,o){return!!s&&s.type==="Variance"&&(o==null||(0,r.default)(s,o))},e.isVoidTypeAnnotation=function(s,o){return!!s&&s.type==="VoidTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isWhile=function(s,o){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isWhileStatement=function(s,o){return!!s&&s.type==="WhileStatement"&&(o==null||(0,r.default)(s,o))},e.isWithStatement=function(s,o){return!!s&&s.type==="WithStatement"&&(o==null||(0,r.default)(s,o))},e.isYieldExpression=function(s,o){return!!s&&s.type==="YieldExpression"&&(o==null||(0,r.default)(s,o))};var r=n(96),a=n(58);function i(s,o){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)}},(t,e,n)=>{const r=n(48),{MAX_LENGTH:a,MAX_SAFE_INTEGER:i}=n(47),{safeRe:s,t:o}=n(34),l=n(75),{compareIdentifiers:u}=n(128);class p{constructor(d,m){if(m=l(m),d instanceof p){if(d.loose===!!m.loose&&d.includePrerelease===!!m.includePrerelease)return d;d=d.version}else if(typeof d!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof d}".`);if(d.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",d,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;const f=d.trim().match(m.loose?s[o.LOOSE]:s[o.FULL]);if(!f)throw new TypeError(`Invalid Version: ${d}`);if(this.raw=d,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(v=>{if(/^[0-9]+$/.test(v)){const C=+v;if(C>=0&&C=0;)typeof this.prerelease[C]=="number"&&(this.prerelease[C]++,C=-2);if(C===-1){if(m===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(v)}}if(m){let C=[m,v];f===!1&&(C=[m]),u(this.prerelease[0],m)===0?isNaN(this.prerelease[1])&&(this.prerelease=C):this.prerelease=C}break}default:throw new Error(`invalid increment argument: ${d}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=p},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},e.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},e.arrayExpression=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"ArrayExpression",elements:u})},e.arrayPattern=function(u){return(0,r.default)({type:"ArrayPattern",elements:u})},e.arrayTypeAnnotation=function(u){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:u})},e.arrowFunctionExpression=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"ArrowFunctionExpression",params:u,body:p,async:h,expression:null})},e.assignmentExpression=function(u,p,h){return(0,r.default)({type:"AssignmentExpression",operator:u,left:p,right:h})},e.assignmentPattern=function(u,p){return(0,r.default)({type:"AssignmentPattern",left:u,right:p})},e.awaitExpression=function(u){return(0,r.default)({type:"AwaitExpression",argument:u})},e.bigIntLiteral=function(u){return(0,r.default)({type:"BigIntLiteral",value:u})},e.binaryExpression=function(u,p,h){return(0,r.default)({type:"BinaryExpression",operator:u,left:p,right:h})},e.bindExpression=function(u,p){return(0,r.default)({type:"BindExpression",object:u,callee:p})},e.blockStatement=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return(0,r.default)({type:"BlockStatement",body:u,directives:p})},e.booleanLiteral=function(u){return(0,r.default)({type:"BooleanLiteral",value:u})},e.booleanLiteralTypeAnnotation=function(u){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:u})},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"BreakStatement",label:u})},e.callExpression=function(u,p){return(0,r.default)({type:"CallExpression",callee:u,arguments:p})},e.catchClause=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"CatchClause",param:u,body:p})},e.classAccessorProperty=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5];return(0,r.default)({type:"ClassAccessorProperty",key:u,value:p,typeAnnotation:h,decorators:d,computed:m,static:f})},e.classBody=function(u){return(0,r.default)({type:"ClassBody",body:u})},e.classDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ClassDeclaration",id:u,superClass:p,body:h,decorators:d})},e.classExpression=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ClassExpression",id:u,superClass:p,body:h,decorators:d})},e.classImplements=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ClassImplements",id:u,typeParameters:p})},e.classMethod=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5],v=arguments.length>6&&arguments[6]!==void 0&&arguments[6],C=arguments.length>7&&arguments[7]!==void 0&&arguments[7];return(0,r.default)({type:"ClassMethod",kind:u,key:p,params:h,body:d,computed:m,static:f,generator:v,async:C})},e.classPrivateMethod=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ClassPrivateMethod",kind:u,key:p,params:h,body:d,static:m})},e.classPrivateProperty=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ClassPrivateProperty",key:u,value:p,decorators:h,static:d})},e.classProperty=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5];return(0,r.default)({type:"ClassProperty",key:u,value:p,typeAnnotation:h,decorators:d,computed:m,static:f})},e.conditionalExpression=function(u,p,h){return(0,r.default)({type:"ConditionalExpression",test:u,consequent:p,alternate:h})},e.continueStatement=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ContinueStatement",label:u})},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(u){return(0,r.default)({type:"DecimalLiteral",value:u})},e.declareClass=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"DeclareClass",id:u,typeParameters:p,extends:h,body:d})},e.declareExportAllDeclaration=function(u){return(0,r.default)({type:"DeclareExportAllDeclaration",source:u})},e.declareExportDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareExportDeclaration",declaration:u,specifiers:p,source:h})},e.declareFunction=function(u){return(0,r.default)({type:"DeclareFunction",id:u})},e.declareInterface=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"DeclareInterface",id:u,typeParameters:p,extends:h,body:d})},e.declareModule=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareModule",id:u,body:p,kind:h})},e.declareModuleExports=function(u){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:u})},e.declareOpaqueType=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareOpaqueType",id:u,typeParameters:p,supertype:h})},e.declareTypeAlias=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"DeclareTypeAlias",id:u,typeParameters:p,right:h})},e.declareVariable=function(u){return(0,r.default)({type:"DeclareVariable",id:u})},e.declaredPredicate=function(u){return(0,r.default)({type:"DeclaredPredicate",value:u})},e.decorator=function(u){return(0,r.default)({type:"Decorator",expression:u})},e.directive=function(u){return(0,r.default)({type:"Directive",value:u})},e.directiveLiteral=function(u){return(0,r.default)({type:"DirectiveLiteral",value:u})},e.doExpression=function(u){let p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"DoExpression",body:u,async:p})},e.doWhileStatement=function(u,p){return(0,r.default)({type:"DoWhileStatement",test:u,body:p})},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(u){return(0,r.default)({type:"EnumBooleanBody",members:u,explicitType:null,hasUnknownMembers:null})},e.enumBooleanMember=function(u){return(0,r.default)({type:"EnumBooleanMember",id:u,init:null})},e.enumDeclaration=function(u,p){return(0,r.default)({type:"EnumDeclaration",id:u,body:p})},e.enumDefaultedMember=function(u){return(0,r.default)({type:"EnumDefaultedMember",id:u})},e.enumNumberBody=function(u){return(0,r.default)({type:"EnumNumberBody",members:u,explicitType:null,hasUnknownMembers:null})},e.enumNumberMember=function(u,p){return(0,r.default)({type:"EnumNumberMember",id:u,init:p})},e.enumStringBody=function(u){return(0,r.default)({type:"EnumStringBody",members:u,explicitType:null,hasUnknownMembers:null})},e.enumStringMember=function(u,p){return(0,r.default)({type:"EnumStringMember",id:u,init:p})},e.enumSymbolBody=function(u){return(0,r.default)({type:"EnumSymbolBody",members:u,hasUnknownMembers:null})},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(u){return(0,r.default)({type:"ExportAllDeclaration",source:u})},e.exportDefaultDeclaration=function(u){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:u})},e.exportDefaultSpecifier=function(u){return(0,r.default)({type:"ExportDefaultSpecifier",exported:u})},e.exportNamedDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ExportNamedDeclaration",declaration:u,specifiers:p,source:h})},e.exportNamespaceSpecifier=function(u){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:u})},e.exportSpecifier=function(u,p){return(0,r.default)({type:"ExportSpecifier",local:u,exported:p})},e.expressionStatement=function(u){return(0,r.default)({type:"ExpressionStatement",expression:u})},e.file=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"File",program:u,comments:p,tokens:h})},e.forInStatement=function(u,p,h){return(0,r.default)({type:"ForInStatement",left:u,right:p,body:h})},e.forOfStatement=function(u,p,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ForOfStatement",left:u,right:p,body:h,await:d})},e.forStatement=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"ForStatement",init:u,test:p,update:h,body:d})},e.functionDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionDeclaration",id:u,params:p,body:h,generator:d,async:m})},e.functionExpression=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionExpression",id:u,params:p,body:h,generator:d,async:m})},e.functionTypeAnnotation=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"FunctionTypeAnnotation",typeParameters:u,params:p,rest:h,returnType:d})},e.functionTypeParam=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"FunctionTypeParam",name:u,typeAnnotation:p})},e.genericTypeAnnotation=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"GenericTypeAnnotation",id:u,typeParameters:p})},e.identifier=function(u){return(0,r.default)({type:"Identifier",name:u})},e.ifStatement=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"IfStatement",test:u,consequent:p,alternate:h})},e.import=function(){return{type:"Import"}},e.importAttribute=function(u,p){return(0,r.default)({type:"ImportAttribute",key:u,value:p})},e.importDeclaration=function(u,p){return(0,r.default)({type:"ImportDeclaration",specifiers:u,source:p})},e.importDefaultSpecifier=function(u){return(0,r.default)({type:"ImportDefaultSpecifier",local:u})},e.importExpression=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ImportExpression",source:u,options:p})},e.importNamespaceSpecifier=function(u){return(0,r.default)({type:"ImportNamespaceSpecifier",local:u})},e.importSpecifier=function(u,p){return(0,r.default)({type:"ImportSpecifier",local:u,imported:p})},e.indexedAccessType=function(u,p){return(0,r.default)({type:"IndexedAccessType",objectType:u,indexType:p})},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"InterfaceDeclaration",id:u,typeParameters:p,extends:h,body:d})},e.interfaceExtends=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"InterfaceExtends",id:u,typeParameters:p})},e.interfaceTypeAnnotation=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"InterfaceTypeAnnotation",extends:u,body:p})},e.interpreterDirective=function(u){return(0,r.default)({type:"InterpreterDirective",value:u})},e.intersectionTypeAnnotation=function(u){return(0,r.default)({type:"IntersectionTypeAnnotation",types:u})},e.jSXAttribute=e.jsxAttribute=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"JSXAttribute",name:u,value:p})},e.jSXClosingElement=e.jsxClosingElement=function(u){return(0,r.default)({type:"JSXClosingElement",name:u})},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"JSXElement",openingElement:u,closingElement:p,children:h,selfClosing:d})},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(u){return(0,r.default)({type:"JSXExpressionContainer",expression:u})},e.jSXFragment=e.jsxFragment=function(u,p,h){return(0,r.default)({type:"JSXFragment",openingFragment:u,closingFragment:p,children:h})},e.jSXIdentifier=e.jsxIdentifier=function(u){return(0,r.default)({type:"JSXIdentifier",name:u})},e.jSXMemberExpression=e.jsxMemberExpression=function(u,p){return(0,r.default)({type:"JSXMemberExpression",object:u,property:p})},e.jSXNamespacedName=e.jsxNamespacedName=function(u,p){return(0,r.default)({type:"JSXNamespacedName",namespace:u,name:p})},e.jSXOpeningElement=e.jsxOpeningElement=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"JSXOpeningElement",name:u,attributes:p,selfClosing:h})},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(u){return(0,r.default)({type:"JSXSpreadAttribute",argument:u})},e.jSXSpreadChild=e.jsxSpreadChild=function(u){return(0,r.default)({type:"JSXSpreadChild",expression:u})},e.jSXText=e.jsxText=function(u){return(0,r.default)({type:"JSXText",value:u})},e.labeledStatement=function(u,p){return(0,r.default)({type:"LabeledStatement",label:u,body:p})},e.logicalExpression=function(u,p,h){return(0,r.default)({type:"LogicalExpression",operator:u,left:p,right:h})},e.memberExpression=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"MemberExpression",object:u,property:p,computed:h,optional:d})},e.metaProperty=function(u,p){return(0,r.default)({type:"MetaProperty",meta:u,property:p})},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(u){return(0,r.default)({type:"ModuleExpression",body:u})},e.newExpression=function(u,p){return(0,r.default)({type:"NewExpression",callee:u,arguments:p})},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(u){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:u})},e.numberLiteral=function(u){return(0,a.default)("NumberLiteral","NumericLiteral","The node type "),i(u)},e.numberLiteralTypeAnnotation=function(u){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:u})},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=i,e.objectExpression=function(u){return(0,r.default)({type:"ObjectExpression",properties:u})},e.objectMethod=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5],v=arguments.length>6&&arguments[6]!==void 0&&arguments[6];return(0,r.default)({type:"ObjectMethod",kind:u,key:p,params:h,body:d,computed:m,generator:f,async:v})},e.objectPattern=function(u){return(0,r.default)({type:"ObjectPattern",properties:u})},e.objectProperty=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"ObjectProperty",key:u,value:p,computed:h,shorthand:d,decorators:m})},e.objectTypeAnnotation=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ObjectTypeAnnotation",properties:u,indexers:p,callProperties:h,internalSlots:d,exact:m})},e.objectTypeCallProperty=function(u){return(0,r.default)({type:"ObjectTypeCallProperty",value:u,static:null})},e.objectTypeIndexer=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ObjectTypeIndexer",id:u,key:p,value:h,variance:d,static:null})},e.objectTypeInternalSlot=function(u,p,h,d,m){return(0,r.default)({type:"ObjectTypeInternalSlot",id:u,value:p,optional:h,static:d,method:m})},e.objectTypeProperty=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ObjectTypeProperty",key:u,value:p,variance:h,kind:null,method:null,optional:null,proto:null,static:null})},e.objectTypeSpreadProperty=function(u){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:u})},e.opaqueType=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"OpaqueType",id:u,typeParameters:p,supertype:h,impltype:d})},e.optionalCallExpression=function(u,p,h){return(0,r.default)({type:"OptionalCallExpression",callee:u,arguments:p,optional:h})},e.optionalIndexedAccessType=function(u,p){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:u,indexType:p,optional:null})},e.optionalMemberExpression=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"OptionalMemberExpression",object:u,property:p,computed:h,optional:d})},e.parenthesizedExpression=function(u){return(0,r.default)({type:"ParenthesizedExpression",expression:u})},e.pipelineBareFunction=function(u){return(0,r.default)({type:"PipelineBareFunction",callee:u})},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(u){return(0,r.default)({type:"PipelineTopicExpression",expression:u})},e.placeholder=function(u,p){return(0,r.default)({type:"Placeholder",expectedNode:u,name:p})},e.privateName=function(u){return(0,r.default)({type:"PrivateName",id:u})},e.program=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"script",d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"Program",body:u,directives:p,sourceType:h,interpreter:d,sourceFile:null})},e.qualifiedTypeIdentifier=function(u,p){return(0,r.default)({type:"QualifiedTypeIdentifier",id:u,qualification:p})},e.recordExpression=function(u){return(0,r.default)({type:"RecordExpression",properties:u})},e.regExpLiteral=s,e.regexLiteral=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,a.default)("RegexLiteral","RegExpLiteral","The node type "),s(u,p)},e.restElement=o,e.restProperty=function(u){return(0,a.default)("RestProperty","RestElement","The node type "),o(u)},e.returnStatement=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ReturnStatement",argument:u})},e.sequenceExpression=function(u){return(0,r.default)({type:"SequenceExpression",expressions:u})},e.spreadElement=l,e.spreadProperty=function(u){return(0,a.default)("SpreadProperty","SpreadElement","The node type "),l(u)},e.staticBlock=function(u){return(0,r.default)({type:"StaticBlock",body:u})},e.stringLiteral=function(u){return(0,r.default)({type:"StringLiteral",value:u})},e.stringLiteralTypeAnnotation=function(u){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:u})},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"SwitchCase",test:u,consequent:p})},e.switchStatement=function(u,p){return(0,r.default)({type:"SwitchStatement",discriminant:u,cases:p})},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(u,p){return(0,r.default)({type:"TaggedTemplateExpression",tag:u,quasi:p})},e.templateElement=function(u){let p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"TemplateElement",value:u,tail:p})},e.templateLiteral=function(u,p){return(0,r.default)({type:"TemplateLiteral",quasis:u,expressions:p})},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(u){return(0,r.default)({type:"ThrowStatement",argument:u})},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TryStatement",block:u,handler:p,finalizer:h})},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(u){return(0,r.default)({type:"TSArrayType",elementType:u})},e.tSAsExpression=e.tsAsExpression=function(u,p){return(0,r.default)({type:"TSAsExpression",expression:u,typeAnnotation:p})},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSCallSignatureDeclaration",typeParameters:u,parameters:p,typeAnnotation:h})},e.tSConditionalType=e.tsConditionalType=function(u,p,h,d){return(0,r.default)({type:"TSConditionalType",checkType:u,extendsType:p,trueType:h,falseType:d})},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSConstructSignatureDeclaration",typeParameters:u,parameters:p,typeAnnotation:h})},e.tSConstructorType=e.tsConstructorType=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSConstructorType",typeParameters:u,parameters:p,typeAnnotation:h})},e.tSDeclareFunction=e.tsDeclareFunction=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"TSDeclareFunction",id:u,typeParameters:p,params:h,returnType:d})},e.tSDeclareMethod=e.tsDeclareMethod=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"TSDeclareMethod",decorators:u,key:p,typeParameters:h,params:d,returnType:m})},e.tSEnumDeclaration=e.tsEnumDeclaration=function(u,p){return(0,r.default)({type:"TSEnumDeclaration",id:u,members:p})},e.tSEnumMember=e.tsEnumMember=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSEnumMember",id:u,initializer:p})},e.tSExportAssignment=e.tsExportAssignment=function(u){return(0,r.default)({type:"TSExportAssignment",expression:u})},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:u,typeParameters:p})},e.tSExternalModuleReference=e.tsExternalModuleReference=function(u){return(0,r.default)({type:"TSExternalModuleReference",expression:u})},e.tSFunctionType=e.tsFunctionType=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSFunctionType",typeParameters:u,parameters:p,typeAnnotation:h})},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(u,p){return(0,r.default)({type:"TSImportEqualsDeclaration",id:u,moduleReference:p,isExport:null})},e.tSImportType=e.tsImportType=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSImportType",argument:u,qualifier:p,typeParameters:h})},e.tSIndexSignature=e.tsIndexSignature=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSIndexSignature",parameters:u,typeAnnotation:p})},e.tSIndexedAccessType=e.tsIndexedAccessType=function(u,p){return(0,r.default)({type:"TSIndexedAccessType",objectType:u,indexType:p})},e.tSInferType=e.tsInferType=function(u){return(0,r.default)({type:"TSInferType",typeParameter:u})},e.tSInstantiationExpression=e.tsInstantiationExpression=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSInstantiationExpression",expression:u,typeParameters:p})},e.tSInterfaceBody=e.tsInterfaceBody=function(u){return(0,r.default)({type:"TSInterfaceBody",body:u})},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"TSInterfaceDeclaration",id:u,typeParameters:p,extends:h,body:d})},e.tSIntersectionType=e.tsIntersectionType=function(u){return(0,r.default)({type:"TSIntersectionType",types:u})},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(u){return(0,r.default)({type:"TSLiteralType",literal:u})},e.tSMappedType=e.tsMappedType=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSMappedType",typeParameter:u,typeAnnotation:p,nameType:h})},e.tSMethodSignature=e.tsMethodSignature=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"TSMethodSignature",key:u,typeParameters:p,parameters:h,typeAnnotation:d,kind:null})},e.tSModuleBlock=e.tsModuleBlock=function(u){return(0,r.default)({type:"TSModuleBlock",body:u})},e.tSModuleDeclaration=e.tsModuleDeclaration=function(u,p){return(0,r.default)({type:"TSModuleDeclaration",id:u,body:p})},e.tSNamedTupleMember=e.tsNamedTupleMember=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"TSNamedTupleMember",label:u,elementType:p,optional:h})},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(u){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:u})},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(u){return(0,r.default)({type:"TSNonNullExpression",expression:u})},e.tSNullKeyword=e.tsNullKeyword=function(){return{type:"TSNullKeyword"}},e.tSNumberKeyword=e.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},e.tSObjectKeyword=e.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},e.tSOptionalType=e.tsOptionalType=function(u){return(0,r.default)({type:"TSOptionalType",typeAnnotation:u})},e.tSParameterProperty=e.tsParameterProperty=function(u){return(0,r.default)({type:"TSParameterProperty",parameter:u})},e.tSParenthesizedType=e.tsParenthesizedType=function(u){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:u})},e.tSPropertySignature=e.tsPropertySignature=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSPropertySignature",key:u,typeAnnotation:p,kind:null})},e.tSQualifiedName=e.tsQualifiedName=function(u,p){return(0,r.default)({type:"TSQualifiedName",left:u,right:p})},e.tSRestType=e.tsRestType=function(u){return(0,r.default)({type:"TSRestType",typeAnnotation:u})},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(u,p){return(0,r.default)({type:"TSSatisfiesExpression",expression:u,typeAnnotation:p})},e.tSStringKeyword=e.tsStringKeyword=function(){return{type:"TSStringKeyword"}},e.tSSymbolKeyword=e.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},e.tSThisType=e.tsThisType=function(){return{type:"TSThisType"}},e.tSTupleType=e.tsTupleType=function(u){return(0,r.default)({type:"TSTupleType",elementTypes:u})},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TSTypeAliasDeclaration",id:u,typeParameters:p,typeAnnotation:h})},e.tSTypeAnnotation=e.tsTypeAnnotation=function(u){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:u})},e.tSTypeAssertion=e.tsTypeAssertion=function(u,p){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:u,expression:p})},e.tSTypeLiteral=e.tsTypeLiteral=function(u){return(0,r.default)({type:"TSTypeLiteral",members:u})},e.tSTypeOperator=e.tsTypeOperator=function(u){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:u,operator:null})},e.tSTypeParameter=e.tsTypeParameter=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TSTypeParameter",constraint:u,default:p,name:h})},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(u){return(0,r.default)({type:"TSTypeParameterDeclaration",params:u})},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(u){return(0,r.default)({type:"TSTypeParameterInstantiation",params:u})},e.tSTypePredicate=e.tsTypePredicate=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSTypePredicate",parameterName:u,typeAnnotation:p,asserts:h})},e.tSTypeQuery=e.tsTypeQuery=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeQuery",exprName:u,typeParameters:p})},e.tSTypeReference=e.tsTypeReference=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeReference",typeName:u,typeParameters:p})},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(u){return(0,r.default)({type:"TSUnionType",types:u})},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"TupleExpression",elements:u})},e.tupleTypeAnnotation=function(u){return(0,r.default)({type:"TupleTypeAnnotation",types:u})},e.typeAlias=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TypeAlias",id:u,typeParameters:p,right:h})},e.typeAnnotation=function(u){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:u})},e.typeCastExpression=function(u,p){return(0,r.default)({type:"TypeCastExpression",expression:u,typeAnnotation:p})},e.typeParameter=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TypeParameter",bound:u,default:p,variance:h,name:null})},e.typeParameterDeclaration=function(u){return(0,r.default)({type:"TypeParameterDeclaration",params:u})},e.typeParameterInstantiation=function(u){return(0,r.default)({type:"TypeParameterInstantiation",params:u})},e.typeofTypeAnnotation=function(u){return(0,r.default)({type:"TypeofTypeAnnotation",argument:u})},e.unaryExpression=function(u,p){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return(0,r.default)({type:"UnaryExpression",operator:u,argument:p,prefix:h})},e.unionTypeAnnotation=function(u){return(0,r.default)({type:"UnionTypeAnnotation",types:u})},e.updateExpression=function(u,p){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"UpdateExpression",operator:u,argument:p,prefix:h})},e.v8IntrinsicIdentifier=function(u){return(0,r.default)({type:"V8IntrinsicIdentifier",name:u})},e.variableDeclaration=function(u,p){return(0,r.default)({type:"VariableDeclaration",kind:u,declarations:p})},e.variableDeclarator=function(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"VariableDeclarator",id:u,init:p})},e.variance=function(u){return(0,r.default)({type:"Variance",kind:u})},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(u,p){return(0,r.default)({type:"WhileStatement",test:u,body:p})},e.withStatement=function(u,p){return(0,r.default)({type:"WithStatement",object:u,body:p})},e.yieldExpression=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"YieldExpression",argument:u,delegate:p})};var r=n(352),a=n(58);function i(u){return(0,r.default)({type:"NumericLiteral",value:u})}function s(u){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)({type:"RegExpLiteral",pattern:u,flags:p})}function o(u){return(0,r.default)({type:"RestElement",argument:u})}function l(u){return(0,r.default)({type:"SpreadElement",argument:u})}},function(t,e,n){var r=function(a){return a&&a.Math===Math&&a};t.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof n.g=="object"&&n.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},t=>{var e=typeof document=="object"&&document.all;t.exports=e===void 0&&e!==void 0?function(n){return typeof n=="function"||n===e}:function(n){return typeof n=="function"}},(t,e,n)=>{const r=n(3);t.exports=(a,i,s)=>new r(a,s).compare(new r(i,s))},(t,e,n)=>{class r{constructor(D,R){if(R=i(R),D instanceof r)return D.loose===!!R.loose&&D.includePrerelease===!!R.includePrerelease?D:new r(D.raw,R);if(D instanceof s)return this.raw=D.value,this.set=[[D]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=D.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(K=>this.parseRange(K.trim())).filter(K=>K.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const K=this.set[0];if(this.set=this.set.filter(re=>!C(re[0])),this.set.length===0)this.set=[K];else if(this.set.length>1){for(const re of this.set)if(re.length===1&&E(re[0])){this.set=[re];break}}}this.format()}format(){return this.range=this.set.map(D=>D.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(D){const R=((this.options.includePrerelease&&f)|(this.options.loose&&v))+":"+D,K=a.get(R);if(K)return K;const re=this.options.loose,ue=re?u[p.HYPHENRANGELOOSE]:u[p.HYPHENRANGE];D=D.replace(ue,F(this.options.includePrerelease)),o("hyphen replace",D),D=D.replace(u[p.COMPARATORTRIM],h),o("comparator trim",D),D=D.replace(u[p.TILDETRIM],d),o("tilde trim",D),D=D.replace(u[p.CARETTRIM],m),o("caret trim",D);let Oe=D.split(" ").map(Ee=>g(Ee,this.options)).join(" ").split(/\s+/).map(Ee=>W(Ee,this.options));re&&(Oe=Oe.filter(Ee=>(o("loose invalid filter",Ee,this.options),!!Ee.match(u[p.COMPARATORLOOSE])))),o("range list",Oe);const X=new Map,J=Oe.map(Ee=>new s(Ee,this.options));for(const Ee of J){if(C(Ee))return[Ee];X.set(Ee.value,Ee)}X.size>1&&X.has("")&&X.delete("");const fe=[...X.values()];return a.set(R,fe),fe}intersects(D,R){if(!(D instanceof r))throw new TypeError("a Range is required");return this.set.some(K=>x(K,R)&&D.set.some(re=>x(re,R)&&K.every(ue=>re.every(Oe=>ue.intersects(Oe,R)))))}test(D){if(!D)return!1;if(typeof D=="string")try{D=new l(D,this.options)}catch{return!1}for(let R=0;R$.value==="<0.0.0-0",E=$=>$.value==="",x=($,D)=>{let R=!0;const K=$.slice();let re=K.pop();for(;R&&K.length;)R=K.every(ue=>re.intersects(ue,D)),re=K.pop();return R},g=($,D)=>(o("comp",$,D),$=T($,D),o("caret",$),$=b($,D),o("tildes",$),$=I($,D),o("xrange",$),$=U($,D),o("stars",$),$),w=$=>!$||$.toLowerCase()==="x"||$==="*",b=($,D)=>$.trim().split(/\s+/).map(R=>A(R,D)).join(" "),A=($,D)=>{const R=D.loose?u[p.TILDELOOSE]:u[p.TILDE];return $.replace(R,(K,re,ue,Oe,X)=>{let J;return o("tilde",$,K,re,ue,Oe,X),w(re)?J="":w(ue)?J=`>=${re}.0.0 <${+re+1}.0.0-0`:w(Oe)?J=`>=${re}.${ue}.0 <${re}.${+ue+1}.0-0`:X?(o("replaceTilde pr",X),J=`>=${re}.${ue}.${Oe}-${X} <${re}.${+ue+1}.0-0`):J=`>=${re}.${ue}.${Oe} <${re}.${+ue+1}.0-0`,o("tilde return",J),J})},T=($,D)=>$.trim().split(/\s+/).map(R=>O(R,D)).join(" "),O=($,D)=>{o("caret",$,D);const R=D.loose?u[p.CARETLOOSE]:u[p.CARET],K=D.includePrerelease?"-0":"";return $.replace(R,(re,ue,Oe,X,J)=>{let fe;return o("caret",$,re,ue,Oe,X,J),w(ue)?fe="":w(Oe)?fe=`>=${ue}.0.0${K} <${+ue+1}.0.0-0`:w(X)?fe=ue==="0"?`>=${ue}.${Oe}.0${K} <${ue}.${+Oe+1}.0-0`:`>=${ue}.${Oe}.0${K} <${+ue+1}.0.0-0`:J?(o("replaceCaret pr",J),fe=ue==="0"?Oe==="0"?`>=${ue}.${Oe}.${X}-${J} <${ue}.${Oe}.${+X+1}-0`:`>=${ue}.${Oe}.${X}-${J} <${ue}.${+Oe+1}.0-0`:`>=${ue}.${Oe}.${X}-${J} <${+ue+1}.0.0-0`):(o("no pr"),fe=ue==="0"?Oe==="0"?`>=${ue}.${Oe}.${X}${K} <${ue}.${Oe}.${+X+1}-0`:`>=${ue}.${Oe}.${X}${K} <${ue}.${+Oe+1}.0-0`:`>=${ue}.${Oe}.${X} <${+ue+1}.0.0-0`),o("caret return",fe),fe})},I=($,D)=>(o("replaceXRanges",$,D),$.split(/\s+/).map(R=>z(R,D)).join(" ")),z=($,D)=>{$=$.trim();const R=D.loose?u[p.XRANGELOOSE]:u[p.XRANGE];return $.replace(R,(K,re,ue,Oe,X,J)=>{o("xRange",$,K,re,ue,Oe,X,J);const fe=w(ue),Ee=fe||w(Oe),Ae=Ee||w(X),pe=Ae;return re==="="&&pe&&(re=""),J=D.includePrerelease?"-0":"",fe?K=re===">"||re==="<"?"<0.0.0-0":"*":re&&pe?(Ee&&(Oe=0),X=0,re===">"?(re=">=",Ee?(ue=+ue+1,Oe=0,X=0):(Oe=+Oe+1,X=0)):re==="<="&&(re="<",Ee?ue=+ue+1:Oe=+Oe+1),re==="<"&&(J="-0"),K=`${re+ue}.${Oe}.${X}${J}`):Ee?K=`>=${ue}.0.0${J} <${+ue+1}.0.0-0`:Ae&&(K=`>=${ue}.${Oe}.0${J} <${ue}.${+Oe+1}.0-0`),o("xRange return",K),K})},U=($,D)=>(o("replaceStars",$,D),$.trim().replace(u[p.STAR],"")),W=($,D)=>(o("replaceGTE0",$,D),$.trim().replace(u[D.includePrerelease?p.GTE0PRE:p.GTE0],"")),F=$=>(D,R,K,re,ue,Oe,X,J,fe,Ee,Ae,pe,oe)=>`${R=w(K)?"":w(re)?`>=${K}.0.0${$?"-0":""}`:w(ue)?`>=${K}.${re}.0${$?"-0":""}`:Oe?`>=${R}`:`>=${R}${$?"-0":""}`} ${J=w(fe)?"":w(Ee)?`<${+fe+1}.0.0-0`:w(Ae)?`<${fe}.${+Ee+1}.0-0`:pe?`<=${fe}.${Ee}.${Ae}-${pe}`:$?`<${fe}.${Ee}.${+Ae+1}-0`:`<=${J}`}`.trim(),N=($,D,R)=>{for(let K=0;K<$.length;K++)if(!$[K].test(D))return!1;if(D.prerelease.length&&!R.includePrerelease){for(let K=0;K<$.length;K++)if(o($[K].semver),$[K].semver!==s.ANY&&$[K].semver.prerelease.length>0){const re=$[K].semver;if(re.major===D.major&&re.minor===D.minor&&re.patch===D.patch)return!0}return!1}return!0}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return a.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return a.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return s.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return a.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return a.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return a.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return a.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return a.VISITOR_KEYS}});var r=n(166);n(167),n(356),n(357),n(358),n(359),n(360);var a=n(18),i=n(169),s=n(361);Object.keys(s.DEPRECATED_ALIASES).forEach(o=>{a.FLIPPED_ALIAS_KEYS[o]=a.FLIPPED_ALIAS_KEYS[s.DEPRECATED_ALIASES[o]]}),r(a.VISITOR_KEYS),r(a.ALIAS_KEYS),r(a.FLIPPED_ALIAS_KEYS),r(a.NODE_FIELDS),r(a.BUILDER_KEYS),r(a.DEPRECATED_KEYS),r(i.PLACEHOLDERS_ALIAS),r(i.PLACEHOLDERS_FLIPPED_ALIAS),e.TYPES=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS))},(t,e,n)=>{var r=n(17);function a(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function i(o,l){for(var u,p="",h=0,d=-1,m=0,f=0;f<=o.length;++f){if(f2){var v=p.lastIndexOf("/");if(v!==p.length-1){v===-1?(p="",h=0):h=(p=p.slice(0,v)).length-1-p.lastIndexOf("/"),d=f,m=0;continue}}else if(p.length===2||p.length===1){p="",h=0,d=f,m=0;continue}}l&&(p.length>0?p+="/..":p="..",h=2)}else p.length>0?p+="/"+o.slice(d+1,f):p=o.slice(d+1,f),h=f-d-1;d=f,m=0}else u===46&&m!==-1?++m:m=-1}return p}var s={resolve:function(){for(var o,l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var h;p>=0?h=arguments[p]:(o===void 0&&(o=r.cwd()),h=o),a(h),h.length!==0&&(l=h+"/"+l,u=h.charCodeAt(0)===47)}return l=i(l,!u),u?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(o){if(a(o),o.length===0)return".";var l=o.charCodeAt(0)===47,u=o.charCodeAt(o.length-1)===47;return(o=i(o,!l)).length!==0||l||(o="."),o.length>0&&u&&(o+="/"),l?"/"+o:o},isAbsolute:function(o){return a(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,l=0;l0&&(o===void 0?o=u:o+="/"+u)}return o===void 0?".":s.normalize(o)},relative:function(o,l){if(a(o),a(l),o===l||(o=s.resolve(o))===(l=s.resolve(l)))return"";for(var u=1;uf){if(l.charCodeAt(d+C)===47)return l.slice(d+C+1);if(C===0)return l.slice(d+C)}else h>f&&(o.charCodeAt(u+C)===47?v=C:C===0&&(v=0));break}var E=o.charCodeAt(u+C);if(E!==l.charCodeAt(d+C))break;E===47&&(v=C)}var x="";for(C=u+v+1;C<=p;++C)C!==p&&o.charCodeAt(C)!==47||(x.length===0?x+="..":x+="/..");return x.length>0?x+l.slice(d+v):(d+=v,l.charCodeAt(d)===47&&++d,l.slice(d))},_makeLong:function(o){return o},dirname:function(o){if(a(o),o.length===0)return".";for(var l=o.charCodeAt(0),u=l===47,p=-1,h=!0,d=o.length-1;d>=1;--d)if((l=o.charCodeAt(d))===47){if(!h){p=d;break}}else h=!1;return p===-1?u?"/":".":u&&p===1?"//":o.slice(0,p)},basename:function(o,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');a(o);var u,p=0,h=-1,d=!0;if(l!==void 0&&l.length>0&&l.length<=o.length){if(l.length===o.length&&l===o)return"";var m=l.length-1,f=-1;for(u=o.length-1;u>=0;--u){var v=o.charCodeAt(u);if(v===47){if(!d){p=u+1;break}}else f===-1&&(d=!1,f=u+1),m>=0&&(v===l.charCodeAt(m)?--m==-1&&(h=u):(m=-1,h=f))}return p===h?h=f:h===-1&&(h=o.length),o.slice(p,h)}for(u=o.length-1;u>=0;--u)if(o.charCodeAt(u)===47){if(!d){p=u+1;break}}else h===-1&&(d=!1,h=u+1);return h===-1?"":o.slice(p,h)},extname:function(o){a(o);for(var l=-1,u=0,p=-1,h=!0,d=0,m=o.length-1;m>=0;--m){var f=o.charCodeAt(m);if(f!==47)p===-1&&(h=!1,p=m+1),f===46?l===-1?l=m:d!==1&&(d=1):l!==-1&&(d=-1);else if(!h){u=m+1;break}}return l===-1||p===-1||d===0||d===1&&l===p-1&&l===u+1?"":o.slice(l,p)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return function(l,u){var p=u.dir||u.root,h=u.base||(u.name||"")+(u.ext||"");return p?p===u.root?p+h:p+"/"+h:h}(0,o)},parse:function(o){a(o);var l={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return l;var u,p=o.charCodeAt(0),h=p===47;h?(l.root="/",u=1):u=0;for(var d=-1,m=0,f=-1,v=!0,C=o.length-1,E=0;C>=u;--C)if((p=o.charCodeAt(C))!==47)f===-1&&(v=!1,f=C+1),p===46?d===-1?d=C:E!==1&&(E=1):d!==-1&&(E=-1);else if(!v){m=C+1;break}return d===-1||f===-1||E===0||E===1&&d===f-1&&d===m+1?f!==-1&&(l.base=l.name=m===0&&h?o.slice(1,f):o.slice(m,f)):(m===0&&h?(l.name=o.slice(1,d),l.base=o.slice(1,f)):(l.name=o.slice(m,d),l.base=o.slice(m,f)),l.ext=o.slice(d,f)),m>0?l.dir=o.slice(0,m-1):h&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s},t=>{t.exports=function(e){try{return!!e()}catch{return!0}}},(t,e,n)=>{var r=n(5),a=n(66),i=n(206),s=n(218),o=n(221),l=n(63),u=n(11),p=r.RangeError,h=r.Int8Array,d=h&&h.prototype,m=d&&d.set,f=i.aTypedArray,v=i.exportTypedArrayMethod,C=!u(function(){var x=new Uint8ClampedArray(2);return a(m,x,{length:1,0:3},1),x[1]!==3}),E=C&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var x=new h(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2});v("set",function(x){f(this);var g=o(arguments.length>1?arguments[1]:void 0,1),w=l(x);if(C)return a(m,this,w,g);var b=this.length,A=s(w),T=0;if(A+g>b)throw new p("Wrong length");for(;T{const e=Symbol.for("gensync:v1:start"),n=Symbol.for("gensync:v1:suspend"),r="GENSYNC_EXPECTED_START",a="GENSYNC_EXPECTED_SUSPEND",i="GENSYNC_OPTIONS_ERROR",s="GENSYNC_RACE_NONEMPTY";function o(C,E,x,g){if(typeof x===C||g&&x===void 0)return;let w;throw w=g?`Expected opts.${E} to be either a ${C}, or undefined.`:`Expected opts.${E} to be a ${C}.`,l(w,i)}function l(C,E){return Object.assign(new Error(C),{code:E})}function u(C){let{name:E,arity:x,sync:g,async:w}=C;return v(E,x,function*(){const b=yield e;for(var A=arguments.length,T=new Array(A),O=0;O{I||(I={value:z},b())},z=>{I||(I={err:z},b())})}catch(z){I={err:z},b()}if(yield n,I.hasOwnProperty("err"))throw I.err;return I.value})}function p(C){let E;for(;!({value:E}=C.next()).done;)d(E,C);return E}function h(C,E,x){(function g(){try{let w;for(;!({value:w}=C.next()).done;){d(w,C);let b=!0,A=!1;const T=C.next(()=>{b?A=!0:g()});if(b=!1,m(T,C),!A)return}return E(w)}catch(w){return x(w)}})()}function d(C,E){C!==e&&f(E,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(C)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function m(C,E){let{value:x,done:g}=C;(g||x!==n)&&f(E,l(g?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(x)}. If you get this, it is probably a gensync bug.`,a))}function f(C,E){throw C.throw&&C.throw(E),E}function v(C,E,x){if(typeof C=="string"){const g=Object.getOwnPropertyDescriptor(x,"name");g&&!g.configurable||Object.defineProperty(x,"name",Object.assign(g||{},{configurable:!0,value:C}))}if(typeof E=="number"){const g=Object.getOwnPropertyDescriptor(x,"length");g&&!g.configurable||Object.defineProperty(x,"length",Object.assign(g||{},{configurable:!0,value:E}))}return x}t.exports=Object.assign(function(C){let E=C;return E=typeof C!="function"?function(x){let{name:g,arity:w,sync:b,async:A,errback:T}=x;if(o("string","name",g,!0),o("number","arity",w,!0),o("function","sync",b),o("function","async",A,!0),o("function","errback",T,!0),A&&T)throw l("Expected one of either opts.async or opts.errback, but got _both_.",i);if(typeof g!="string"){let O;T&&T.name&&T.name!=="errback"&&(O=T.name),A&&A.name&&A.name!=="async"&&(O=A.name.replace(/Async$/,"")),b&&b.name&&b.name!=="sync"&&(O=b.name.replace(/Sync$/,"")),typeof O=="string"&&(g=O)}return typeof w!="number"&&(w=b.length),u({name:g,arity:w,sync:function(O){return b.apply(this,O)},async:function(O,I,z){A?A.apply(this,O).then(I,z):T?T.call(this,...O,(U,W)=>{U==null?I(W):z(U)}):I(b.apply(this,O))}})}(C):function(x){return v(x.name,x.length,function(){for(var g=arguments.length,w=new Array(g),b=0;b{h(x.apply(this,b),T,O)})},errback:function(){for(var w=arguments.length,b=new Array(w),A=0;AT(void 0,I),I=>T(I))}}}(E))},{all:u({name:"all",arity:1,sync:function(C){return Array.from(C[0]).map(E=>p(E))},async:function(C,E,x){const g=Array.from(C[0]);if(g.length===0)return void Promise.resolve().then(()=>E([]));let w=0;const b=g.map(()=>{});g.forEach((A,T)=>{h(A,O=>{b[T]=O,w+=1,w===b.length&&E(b)},x)})}}),race:u({name:"race",arity:1,sync:function(C){const E=Array.from(C[0]);if(E.length===0)throw l("Must race at least 1 item",s);return p(E[0])},async:function(C,E,x){const g=Array.from(C[0]);if(g.length===0)throw l("Must race at least 1 item",s);for(const w of g)h(w,E,x)}})})},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return l.default}}),e.visitors=e.default=void 0;var r=n(57);e.visitors=r;var a=n(0),i=n(35),s=n(100),o=n(28),l=n(183),u=n(444);const{VISITOR_KEYS:p,removeProperties:h,traverseFast:d}=a;function m(v){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0,w=arguments.length>5?arguments[5]:void 0;if(v){if(!C.noScope&&!E&&v.type!=="Program"&&v.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${v.type} node without passing scope and parentPath.`);if(!g&&w)throw new Error("visitSelf can only be used when providing a NodePath.");p[v.type]&&(r.explode(C),(0,s.traverseNode)(v,C,E,x,g,null,w))}}function f(v,C){v.node.type===C.type&&(C.has=!0,v.stop())}e.default=m,m.visitors=r,m.verify=r.verify,m.explode=r.explode,m.cheap=function(v,C){d(v,C)},m.node=function(v,C,E,x,g,w){(0,s.traverseNode)(v,C,E,x,g,w)},m.clearNode=function(v,C){h(v,C)},m.removeProperties=function(v,C){return d(v,m.clearNode,C),v},m.hasType=function(v,C,E){if(E!=null&&E.includes(v.type))return!1;if(v.type===C)return!0;const x={has:!1,type:C};return m(v,{noScope:!0,denylist:E,enter:f},null,x),x.has},m.cache=i},(t,e,n)=>{var r=n(11);t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.declare=r,e.declarePreset=void 0;const n={assertVersion:o=>l=>{(function(u,p){if(typeof u=="number"){if(!Number.isInteger(u))throw new Error("Expected string or integer value.");u=`^${u}.0.0-0`}if(typeof u!="string")throw new Error("Expected string or integer value.");const h=Error.stackTraceLimit;let d;throw typeof h=="number"&&h<25&&(Error.stackTraceLimit=25),d=p.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${p}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${u}", but was loaded with "${p}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof h=="number"&&(Error.stackTraceLimit=h),Object.assign(d,{code:"BABEL_VERSION_UNSUPPORTED",version:p,range:u})})(l,o.version)}};function r(o){return(l,u,p)=>{var h;let d;for(const m of Object.keys(n))l[m]||(d!=null||(d=i(l)),d[m]=n[m](d));return o((h=d)!=null?h:l,u||{},p)}}Object.assign(n,{targets:()=>()=>({}),assumption:()=>()=>{}});const a=r;function i(o){let l=null;return typeof o.version=="string"&&/^7\./.test(o.version)&&(l=Object.getPrototypeOf(o),!l||s(l,"version")&&s(l,"transform")&&s(l,"template")&&s(l,"types")||(l=null)),Object.assign({},l,o)}function s(o,l){return Object.prototype.hasOwnProperty.call(o,l)}e.declarePreset=a},t=>{var e,n,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(v){if(e===setTimeout)return setTimeout(v,0);if((e===a||!e)&&setTimeout)return e=setTimeout,setTimeout(v,0);try{return e(v,0)}catch{try{return e.call(null,v,0)}catch{return e.call(this,v,0)}}}(function(){try{e=typeof setTimeout=="function"?setTimeout:a}catch{e=a}try{n=typeof clearTimeout=="function"?clearTimeout:i}catch{n=i}})();var o,l=[],u=!1,p=-1;function h(){u&&o&&(u=!1,o.length?l=o.concat(l):p=-1,l.length&&d())}function d(){if(!u){var v=s(h);u=!0;for(var C=l.length;C;){for(o=l,l=[];++p1)for(var E=1;E{Object.defineProperty(e,"__esModule",{value:!0}),e.VISITOR_KEYS=e.NODE_PARENT_VALIDATIONS=e.NODE_FIELDS=e.FLIPPED_ALIAS_KEYS=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.ALIAS_KEYS=void 0,e.arrayOf=v,e.arrayOfType=C,e.assertEach=E,e.assertNodeOrValueType=function(){for(var I=arguments.length,z=new Array(I),U=0;U1&&arguments[1]!==void 0?arguments[1]:{},N=F.aliases;var $;N||(F.inherits&&(N=($=T[F.inherits].aliases)==null?void 0:$.slice()),N!=null||(N=[]),F.aliases=N);const D=z.filter(R=>!N.includes(R));N.unshift(...D),O(W,F)}},e.typeIs=f,e.validate=m,e.validateArrayOfType=function(I){return m(C(I))},e.validateOptional=function(I){return{validate:I,optional:!0}},e.validateOptionalType=function(I){return{validate:f(I),optional:!0}},e.validateType=function(I){return m(f(I))};var r=n(42),a=n(97);const i=e.VISITOR_KEYS={},s=e.ALIAS_KEYS={},o=e.FLIPPED_ALIAS_KEYS={},l=e.NODE_FIELDS={},u=e.BUILDER_KEYS={},p=e.DEPRECATED_KEYS={},h=e.NODE_PARENT_VALIDATIONS={};function d(I){return Array.isArray(I)?"array":I===null?"null":typeof I}function m(I){return{validate:I}}function f(I){return typeof I=="string"?x(I):x(...I)}function v(I){return w(g("array"),E(I))}function C(I){return v(f(I))}function E(I){function z(U,W,F){if(Array.isArray(F))for(let N=0;N=2&&"type"in z[0]&&z[0].type==="array"&&!("each"in z[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return W}const b=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],A=["default","optional","deprecated","validate"],T={};function O(I){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const U=z.inherits&&T[z.inherits]||{};let W=z.fields;if(!W&&(W={},U.fields)){const D=Object.getOwnPropertyNames(U.fields);for(const R of D){const K=U.fields[R],re=K.default;if(Array.isArray(re)?re.length>0:re&&typeof re=="object")throw new Error("field defaults can only be primitives or empty arrays currently");W[R]={default:Array.isArray(re)?[]:re,optional:K.optional,deprecated:K.deprecated,validate:K.validate}}}const F=z.visitor||U.visitor||[],N=z.aliases||U.aliases||[],$=z.builder||U.builder||z.visitor||[];for(const D of Object.keys(z))if(b.indexOf(D)===-1)throw new Error(`Unknown type option "${D}" on ${I}`);z.deprecatedAlias&&(p[z.deprecatedAlias]=I);for(const D of F.concat($))W[D]=W[D]||{};for(const D of Object.keys(W)){const R=W[D];R.default!==void 0&&$.indexOf(D)===-1&&(R.optional=!0),R.default===void 0?R.default=null:R.validate||R.default==null||(R.validate=g(d(R.default)));for(const K of Object.keys(R))if(A.indexOf(K)===-1)throw new Error(`Unknown field key "${K}" on ${I}.${D}`)}i[I]=z.visitor=F,u[I]=z.builder=$,l[I]=z.fields=W,s[I]=z.aliases=N,N.forEach(D=>{o[D]=o[D]||[],o[D].push(I)}),z.validate&&(h[I]=z.validate),T[I]=z}},(t,e,n)=>{var r=n(104),a=Function.prototype,i=a.call,s=r&&a.bind.bind(i,i);t.exports=r?s:function(o){return function(){return i.apply(o,arguments)}}},(t,e,n)=>{var r=n(6);t.exports=function(a){return typeof a=="object"?a!==null:r(a)}},(t,e,n)=>{function r(Te,c){if(Te==null)return{};var y,P,H={},Y=Object.keys(Te);for(P=0;P=0||(H[y]=Te[y]);return H}n(44),Object.defineProperty(e,"__esModule",{value:!0});class a{constructor(c,y,P){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=y,this.index=P}}class i{constructor(c,y){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=y}}function s(Te,c){const{line:y,column:P,index:H}=Te;return new a(y,P+c,H+c)}const o="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:o},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:o}};const u={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"},p=Te=>{let{type:c,prefix:y}=Te;return c==="UpdateExpression"?u.UpdateExpression[String(y)]:u[c]};var h={AccessorIsGenerator:Te=>{let{kind:c}=Te;return`A ${c}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.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",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:Te=>{let{kind:c}=Te;return`Missing initializer in ${c} 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:Te=>{let{exportName:c}=Te;return`\`${c}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:Te=>{let{phase:c}=Te;return`'import.${c}(...)' can only be parsed when using the 'createImportExpressions' option.`},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:Te=>{let{localName:c,exportName:y}=Te;return`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${c}' as '${y}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:Te=>{let{type:c}=Te;return`'${c==="ForInStatement"?"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:Te=>{let{type:c}=Te;return`Unsyntactic ${c==="BreakStatement"?"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 `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:Te=>{let{importName:c}=Te;return`A string literal cannot be used as an imported binding. - Did you mean \`import { "${c}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:Te=>{let{maxArgumentCount:c}=Te;return`\`import()\` requires exactly ${c===1?"one argument":"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.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:Te=>{let{radix:c}=Te;return`Expected number in radix ${c}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:Te=>{let{reservedWord:c}=Te;return`Escape sequence in keyword ${c}.`},InvalidIdentifier:Te=>{let{identifierName:c}=Te;return`Invalid identifier ${c}.`},InvalidLhs:Te=>{let{ancestor:c}=Te;return`Invalid left-hand side in ${p(c)}.`},InvalidLhsBinding:Te=>{let{ancestor:c}=Te;return`Binding invalid left-hand side in ${p(c)}.`},InvalidLhsOptionalChaining:Te=>{let{ancestor:c}=Te;return`Invalid optional chaining in the left-hand side of ${p(c)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:Te=>{let{unexpected:c}=Te;return`Unexpected character '${c}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:Te=>{let{identifierName:c}=Te;return`Private name #${c} 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:Te=>{let{labelName:c}=Te;return`Label '${c}' 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:Te=>{let{missingPlugin:c}=Te;return`This experimental syntax requires enabling the parser plugin: ${c.map(y=>JSON.stringify(y)).join(", ")}.`},MissingOneOfPlugins:Te=>{let{missingPlugin:c}=Te;return`This experimental syntax requires enabling one of the following parser plugin(s): ${c.map(y=>JSON.stringify(y)).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:Te=>{let{key:c}=Te;return`Duplicate key "${c}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:Te=>{let{surrogateCharCode:c}=Te;return`An export name cannot include a lone surrogate, found '\\u${c.toString(16)}'.`},ModuleExportUndefined:Te=>{let{localName:c}=Te;return`Export '${c}' 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:Te=>{let{identifierName:c}=Te;return`Private names are only allowed in property accesses (\`obj.#${c}\`) or in \`in\` expressions (\`#${c} in obj\`).`},PrivateNameRedeclaration:Te=>{let{identifierName:c}=Te;return`Duplicate private name #${c}.`},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:Te=>{let{keyword:c}=Te;return`Unexpected keyword '${c}'.`},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:Te=>{let{reservedWord:c}=Te;return`Unexpected reserved word '${c}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:Te=>{let{expected:c,unexpected:y}=Te;return`Unexpected token${y?` '${y}'.`:""}${c?`, expected "${c}"`:""}`},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`.",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:Te=>{let{target:c,onlyValidPropertyName:y}=Te;return`The only valid meta property for ${c} is ${c}.${y}.`},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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:Te=>{let{identifierName:c}=Te;return`Identifier '${c}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};const d=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m={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:Te=>{let{token:c}=Te;return`Invalid topic token ${c}. In order to use ${c} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${c}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:Te=>{let{type:c}=Te;return`Hack-style pipe body cannot be an unparenthesized ${p({type:c})}; 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 f=["toMessage"],v=["message"];function C(Te,c,y){Object.defineProperty(Te,c,{enumerable:!1,configurable:!0,value:y})}function E(Te){let{toMessage:c}=Te,y=r(Te,f);return function P(H,Y){const we=new SyntaxError;return Object.assign(we,y,{loc:H,pos:H.index}),"missingPlugin"in Y&&Object.assign(we,{missingPlugin:Y.missingPlugin}),C(we,"clone",function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var Ue;const{line:Ke,column:et,index:St}=(Ue=De.loc)!=null?Ue:H;return P(new a(Ke,et,St),Object.assign({},Y,De.details))}),C(we,"details",Y),Object.defineProperty(we,"message",{configurable:!0,get(){const De=`${c(Y)} (${H.line}:${H.column})`;return this.message=De,De},set(De){Object.defineProperty(this,"message",{value:De,writable:!0})}}),we}}function x(Te,c){if(Array.isArray(Te))return P=>x(P,Te[0]);const y={};for(const P of Object.keys(Te)){const H=Te[P],Y=typeof H=="string"?{message:()=>H}:typeof H=="function"?{message:H}:H,{message:we}=Y,De=r(Y,v),Ue=typeof we=="string"?()=>we:we;y[P]=E(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:P,toMessage:Ue},c?{syntaxPlugin:c}:{},De))}return y}const g=Object.assign({},x(l),x(h),x({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:Te=>{let{referenceName:c}=Te;return`Assigning to '${c}' in strict mode.`},StrictEvalArgumentsBinding:Te=>{let{bindingName:c}=Te;return`Binding '${c}' 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."}),x`pipelineOperator`(m)),{defineProperty:w}=Object,b=(Te,c)=>w(Te,c,{enumerable:!1,value:Te[c]});function A(Te){return Te.loc.start&&b(Te.loc.start,"index"),Te.loc.end&&b(Te.loc.end,"index"),Te}class T{constructor(c,y){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!y}}const O={brace:new T("{"),j_oTag:new T("...",!0)};O.template=new T("`",!0);const I=!0,z=!0,U=!0,W=!0,F=!0;class N{constructor(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};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=c,this.keyword=y.keyword,this.beforeExpr=!!y.beforeExpr,this.startsExpr=!!y.startsExpr,this.rightAssociative=!!y.rightAssociative,this.isLoop=!!y.isLoop,this.isAssign=!!y.isAssign,this.prefix=!!y.prefix,this.postfix=!!y.postfix,this.binop=y.binop!=null?y.binop:null,this.updateContext=null}}const $=new Map;function D(Te){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c.keyword=Te;const y=Ee(Te,c);return $.set(Te,y),y}function R(Te,c){return Ee(Te,{beforeExpr:I,binop:c})}let K=-1;const re=[],ue=[],Oe=[],X=[],J=[],fe=[];function Ee(Te){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var y,P,H,Y;return++K,ue.push(Te),Oe.push((y=c.binop)!=null?y:-1),X.push((P=c.beforeExpr)!=null&&P),J.push((H=c.startsExpr)!=null&&H),fe.push((Y=c.prefix)!=null&&Y),re.push(new N(Te,c)),K}function Ae(Te){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var y,P,H,Y;return++K,$.set(Te,K),ue.push(Te),Oe.push((y=c.binop)!=null?y:-1),X.push((P=c.beforeExpr)!=null&&P),J.push((H=c.startsExpr)!=null&&H),fe.push((Y=c.prefix)!=null&&Y),re.push(new N("name",c)),K}const pe={bracketL:Ee("[",{beforeExpr:I,startsExpr:z}),bracketHashL:Ee("#[",{beforeExpr:I,startsExpr:z}),bracketBarL:Ee("[|",{beforeExpr:I,startsExpr:z}),bracketR:Ee("]"),bracketBarR:Ee("|]"),braceL:Ee("{",{beforeExpr:I,startsExpr:z}),braceBarL:Ee("{|",{beforeExpr:I,startsExpr:z}),braceHashL:Ee("#{",{beforeExpr:I,startsExpr:z}),braceR:Ee("}"),braceBarR:Ee("|}"),parenL:Ee("(",{beforeExpr:I,startsExpr:z}),parenR:Ee(")"),comma:Ee(",",{beforeExpr:I}),semi:Ee(";",{beforeExpr:I}),colon:Ee(":",{beforeExpr:I}),doubleColon:Ee("::",{beforeExpr:I}),dot:Ee("."),question:Ee("?",{beforeExpr:I}),questionDot:Ee("?."),arrow:Ee("=>",{beforeExpr:I}),template:Ee("template"),ellipsis:Ee("...",{beforeExpr:I}),backQuote:Ee("`",{startsExpr:z}),dollarBraceL:Ee("${",{beforeExpr:I,startsExpr:z}),templateTail:Ee("...`",{startsExpr:z}),templateNonTail:Ee("...${",{beforeExpr:I,startsExpr:z}),at:Ee("@"),hash:Ee("#",{startsExpr:z}),interpreterDirective:Ee("#!..."),eq:Ee("=",{beforeExpr:I,isAssign:W}),assign:Ee("_=",{beforeExpr:I,isAssign:W}),slashAssign:Ee("_=",{beforeExpr:I,isAssign:W}),xorAssign:Ee("_=",{beforeExpr:I,isAssign:W}),moduloAssign:Ee("_=",{beforeExpr:I,isAssign:W}),incDec:Ee("++/--",{prefix:F,postfix:!0,startsExpr:z}),bang:Ee("!",{beforeExpr:I,prefix:F,startsExpr:z}),tilde:Ee("~",{beforeExpr:I,prefix:F,startsExpr:z}),doubleCaret:Ee("^^",{startsExpr:z}),doubleAt:Ee("@@",{startsExpr:z}),pipeline:R("|>",0),nullishCoalescing:R("??",1),logicalOR:R("||",1),logicalAND:R("&&",2),bitwiseOR:R("|",3),bitwiseXOR:R("^",4),bitwiseAND:R("&",5),equality:R("==/!=/===/!==",6),lt:R("/<=/>=",7),gt:R("/<=/>=",7),relational:R("/<=/>=",7),bitShift:R("<>/>>>",8),bitShiftL:R("<>/>>>",8),bitShiftR:R("<>/>>>",8),plusMin:Ee("+/-",{beforeExpr:I,binop:9,prefix:F,startsExpr:z}),modulo:Ee("%",{binop:10,startsExpr:z}),star:Ee("*",{binop:10}),slash:R("/",10),exponent:Ee("**",{beforeExpr:I,binop:11,rightAssociative:!0}),_in:D("in",{beforeExpr:I,binop:7}),_instanceof:D("instanceof",{beforeExpr:I,binop:7}),_break:D("break"),_case:D("case",{beforeExpr:I}),_catch:D("catch"),_continue:D("continue"),_debugger:D("debugger"),_default:D("default",{beforeExpr:I}),_else:D("else",{beforeExpr:I}),_finally:D("finally"),_function:D("function",{startsExpr:z}),_if:D("if"),_return:D("return",{beforeExpr:I}),_switch:D("switch"),_throw:D("throw",{beforeExpr:I,prefix:F,startsExpr:z}),_try:D("try"),_var:D("var"),_const:D("const"),_with:D("with"),_new:D("new",{beforeExpr:I,startsExpr:z}),_this:D("this",{startsExpr:z}),_super:D("super",{startsExpr:z}),_class:D("class",{startsExpr:z}),_extends:D("extends",{beforeExpr:I}),_export:D("export"),_import:D("import",{startsExpr:z}),_null:D("null",{startsExpr:z}),_true:D("true",{startsExpr:z}),_false:D("false",{startsExpr:z}),_typeof:D("typeof",{beforeExpr:I,prefix:F,startsExpr:z}),_void:D("void",{beforeExpr:I,prefix:F,startsExpr:z}),_delete:D("delete",{beforeExpr:I,prefix:F,startsExpr:z}),_do:D("do",{isLoop:U,beforeExpr:I}),_for:D("for",{isLoop:U}),_while:D("while",{isLoop:U}),_as:Ae("as",{startsExpr:z}),_assert:Ae("assert",{startsExpr:z}),_async:Ae("async",{startsExpr:z}),_await:Ae("await",{startsExpr:z}),_defer:Ae("defer",{startsExpr:z}),_from:Ae("from",{startsExpr:z}),_get:Ae("get",{startsExpr:z}),_let:Ae("let",{startsExpr:z}),_meta:Ae("meta",{startsExpr:z}),_of:Ae("of",{startsExpr:z}),_sent:Ae("sent",{startsExpr:z}),_set:Ae("set",{startsExpr:z}),_source:Ae("source",{startsExpr:z}),_static:Ae("static",{startsExpr:z}),_using:Ae("using",{startsExpr:z}),_yield:Ae("yield",{startsExpr:z}),_asserts:Ae("asserts",{startsExpr:z}),_checks:Ae("checks",{startsExpr:z}),_exports:Ae("exports",{startsExpr:z}),_global:Ae("global",{startsExpr:z}),_implements:Ae("implements",{startsExpr:z}),_intrinsic:Ae("intrinsic",{startsExpr:z}),_infer:Ae("infer",{startsExpr:z}),_is:Ae("is",{startsExpr:z}),_mixins:Ae("mixins",{startsExpr:z}),_proto:Ae("proto",{startsExpr:z}),_require:Ae("require",{startsExpr:z}),_satisfies:Ae("satisfies",{startsExpr:z}),_keyof:Ae("keyof",{startsExpr:z}),_readonly:Ae("readonly",{startsExpr:z}),_unique:Ae("unique",{startsExpr:z}),_abstract:Ae("abstract",{startsExpr:z}),_declare:Ae("declare",{startsExpr:z}),_enum:Ae("enum",{startsExpr:z}),_module:Ae("module",{startsExpr:z}),_namespace:Ae("namespace",{startsExpr:z}),_interface:Ae("interface",{startsExpr:z}),_type:Ae("type",{startsExpr:z}),_opaque:Ae("opaque",{startsExpr:z}),name:Ee("name",{startsExpr:z}),string:Ee("string",{startsExpr:z}),num:Ee("num",{startsExpr:z}),bigint:Ee("bigint",{startsExpr:z}),decimal:Ee("decimal",{startsExpr:z}),regexp:Ee("regexp",{startsExpr:z}),privateName:Ee("#name",{startsExpr:z}),eof:Ee("eof"),jsxName:Ee("jsxName"),jsxText:Ee("jsxText",{beforeExpr:!0}),jsxTagStart:Ee("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ee("jsxTagEnd"),placeholder:Ee("%%",{startsExpr:!0})};function oe(Te){return Te>=93&&Te<=132}function ce(Te){return Te>=58&&Te<=132}function ie(Te){return Te>=58&&Te<=136}function ne(Te){return J[Te]}function Se(Te){return Te>=129&&Te<=131}function se(Te){return Te>=58&&Te<=92}function ye(Te){return ue[Te]}function ge(Te){return Oe[Te]}function Me(Te){return Te>=24&&Te<=25}function ae(Te){return re[Te]}re[8].updateContext=Te=>{Te.pop()},re[5].updateContext=re[7].updateContext=re[23].updateContext=Te=>{Te.push(O.brace)},re[22].updateContext=Te=>{Te[Te.length-1]===O.template?Te.pop():Te.push(O.template)},re[142].updateContext=Te=>{Te.push(O.j_expr,O.j_oTag)};let k="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",B="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const Z=new RegExp("["+k+"]"),Pe=new RegExp("["+k+B+"]");k=B=null;const Ne=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function de(Te,c){let y=65536;for(let P=0,H=c.length;PTe)return!1;if(y+=c[P+1],y>=Te)return!0}return!1}function ke(Te){return Te<65?Te===36:Te<=90||(Te<97?Te===95:Te<=122||(Te<=65535?Te>=170&&Z.test(String.fromCharCode(Te)):de(Te,Ne)))}function Ge(Te){return Te<48?Te===36:Te<58||!(Te<65)&&(Te<=90||(Te<97?Te===95:Te<=122||(Te<=65535?Te>=170&&Pe.test(String.fromCharCode(Te)):de(Te,Ne)||de(Te,Le))))}const nt=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"]),ct=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),yt=new Set(["eval","arguments"]);function er(Te,c){return c&&Te==="await"||Te==="enum"}function Ut(Te,c){return er(Te,c)||ct.has(Te)}function or(Te){return yt.has(Te)}function yr(Te,c){return Ut(Te,c)||or(Te)}const Ct=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 rn{constructor(c){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=c}}class en{constructor(c,y){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=y}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 inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const c=this.currentThisScopeFlags();return(64&c)>0&&(2&c)==0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){const{flags:y}=this.scopeStack[c];if(128&y)return!0;if(451&y)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new rn(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(130&c.flags||!this.parser.inModule&&1&c.flags)}declareName(c,y,P){let H=this.currentScope();if(8&y||16&y){this.checkRedeclarationInScope(H,c,y,P);let Y=H.names.get(c)||0;16&y?Y|=4:(H.firstLexicalName||(H.firstLexicalName=c),Y|=2),H.names.set(c,Y),8&y&&this.maybeExportDefined(H,c)}else if(4&y)for(let Y=this.scopeStack.length-1;Y>=0&&(H=this.scopeStack[Y],this.checkRedeclarationInScope(H,c,y,P),H.names.set(c,1|(H.names.get(c)||0)),this.maybeExportDefined(H,c),!(387&H.flags));--Y);this.parser.inModule&&1&H.flags&&this.undefinedExports.delete(c)}maybeExportDefined(c,y){this.parser.inModule&&1&c.flags&&this.undefinedExports.delete(y)}checkRedeclarationInScope(c,y,P,H){this.isRedeclaredInScope(c,y,P)&&this.parser.raise(g.VarRedeclaration,H,{identifierName:y})}isRedeclaredInScope(c,y,P){if(!(1&P))return!1;if(8&P)return c.names.has(y);const H=c.names.get(y);return 16&P?(2&H)>0||!this.treatFunctionsAsVarInScope(c)&&(1&H)>0:(2&H)>0&&!(8&c.flags&&c.firstLexicalName===y)||!this.treatFunctionsAsVarInScope(c)&&(4&H)>0}checkLocalExport(c){const{name:y}=c;this.scopeStack[0].names.has(y)||this.undefinedExports.set(y,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:y}=this.scopeStack[c];if(387&y)return y}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:y}=this.scopeStack[c];if(451&y&&!(4&y))return y}}}class Yr extends rn{constructor(){super(...arguments),this.declareFunctions=new Set}}class fn extends en{createScope(c){return new Yr(c)}declareName(c,y,P){const H=this.currentScope();if(2048&y)return this.checkRedeclarationInScope(H,c,y,P),this.maybeExportDefined(H,c),void H.declareFunctions.add(c);super.declareName(c,y,P)}isRedeclaredInScope(c,y,P){if(super.isRedeclaredInScope(c,y,P))return!0;if(2048&P&&!c.declareFunctions.has(y)){const H=c.names.get(y);return(4&H)>0||(2&H)>0}return!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}}class En{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{const[y,P]=c;if(!this.hasPlugin(y))return!1;const H=this.plugins.get(y);for(const Y of Object.keys(P))if(H?.[Y]!==P[Y])return!1;return!0}}getPluginOption(c,y){var P;return(P=this.plugins.get(c))==null?void 0:P[y]}}function ps(Te,c){Te.trailingComments===void 0?Te.trailingComments=c:Te.trailingComments.unshift(...c)}function mr(Te,c){Te.innerComments===void 0?Te.innerComments=c:Te.innerComments.unshift(...c)}function Gn(Te,c,y){let P=null,H=c.length;for(;P===null&&H>0;)P=c[--H];P===null||P.start>y.start?mr(Te,y.comments):ps(P,y.comments)}class Ts extends En{addComment(c){this.filename&&(c.loc.filename=this.filename);const{commentsLen:y}=this.state;this.comments.length!=y&&(this.comments.length=y),this.comments.push(c),this.state.commentsLen++}processComment(c){const{commentStack:y}=this.state,P=y.length;if(P===0)return;let H=P-1;const Y=y[H];Y.start===c.end&&(Y.leadingNode=c,H--);const{start:we}=c;for(;H>=0;H--){const De=y[H],Ue=De.end;if(!(Ue>we)){Ue===we&&(De.trailingNode=c);break}De.containingNode=c,this.finalizeComment(De),y.splice(H,1)}}finalizeComment(c){const{comments:y}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&ps(c.leadingNode,y),c.trailingNode!==null&&function(P,H){P.leadingComments===void 0?P.leadingComments=H:P.leadingComments.unshift(...H)}(c.trailingNode,y);else{const{containingNode:P,start:H}=c;if(this.input.charCodeAt(H-1)===44)switch(P.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Gn(P,P.properties,c);break;case"CallExpression":case"OptionalCallExpression":Gn(P,P.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Gn(P,P.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Gn(P,P.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":Gn(P,P.specifiers,c);break;default:mr(P,y)}else mr(P,y)}}finalizeRemainingComments(){const{commentStack:c}=this.state;for(let y=c.length-1;y>=0;y--)this.finalizeComment(c[y]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){const{commentStack:y}=this.state,{length:P}=y;if(P===0)return;const H=y[P-1];H.leadingNode===c&&(H.leadingNode=null)}resetPreviousIdentifierLeadingComments(c){const{commentStack:y}=this.state,{length:P}=y;P!==0&&(y[P-1].trailingNode===c?y[P-1].trailingNode=null:P>=2&&y[P-2].trailingNode===c&&(y[P-2].trailingNode=null))}takeSurroundingComments(c,y,P){const{commentStack:H}=this.state,Y=H.length;if(Y===0)return;let we=Y-1;for(;we>=0;we--){const De=H[we],Ue=De.end;if(De.start===P)De.leadingNode=c;else if(Ue===y)De.trailingNode=c;else if(Ue0}set strict(c){c?this.flags|=1:this.flags&=-2}init(c){let{strictMode:y,sourceType:P,startLine:H,startColumn:Y}=c;this.strict=y!==!1&&(y===!0||P==="module"),this.curLine=H,this.lineStart=-Y,this.startLoc=this.endLoc=new a(H,Y,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(c){c?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(c){c?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(c){c?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(c){c?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(c){c?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(c){c?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(c){c?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(c){c?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(c){c?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(c){c?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(c){c?this.flags|=2048:this.flags&=-2049}curPosition(){return new a(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const c=new Gt;return c.flags=this.flags,c.curLine=this.curLine,c.lineStart=this.lineStart,c.startLoc=this.startLoc,c.endLoc=this.endLoc,c.errors=this.errors.slice(),c.potentialArrowAt=this.potentialArrowAt,c.noArrowAt=this.noArrowAt.slice(),c.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),c.topicContext=this.topicContext,c.labels=this.labels.slice(),c.commentsLen=this.commentsLen,c.commentStack=this.commentStack.slice(),c.pos=this.pos,c.type=this.type,c.value=this.value,c.start=this.start,c.end=this.end,c.lastTokEndLoc=this.lastTokEndLoc,c.lastTokStartLoc=this.lastTokStartLoc,c.context=this.context.slice(),c.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,c.strictErrors=this.strictErrors,c.tokensLength=this.tokensLength,c}}var gr=function(Te){return Te>=48&&Te<=57};const tr={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ut={bin:Te=>Te===48||Te===49,oct:Te=>Te>=48&&Te<=55,dec:Te=>Te>=48&&Te<=57,hex:Te=>Te>=48&&Te<=57||Te>=65&&Te<=70||Te>=97&&Te<=102};function Tt(Te,c,y,P,H,Y){const we=y,De=P,Ue=H;let Ke="",et=null,St=y;const{length:Jt}=c;for(;;){if(y>=Jt){Y.unterminated(we,De,Ue),Ke+=c.slice(St,y);break}const Yt=c.charCodeAt(y);if(wt(Te,Yt,c,y)){Ke+=c.slice(St,y);break}if(Yt===92){Ke+=c.slice(St,y);const Pr=Bt(c,y,P,H,Te==="template",Y);Pr.ch!==null||et?Ke+=Pr.ch:et={pos:y,lineStart:P,curLine:H},{pos:y,lineStart:P,curLine:H}=Pr,St=y}else Yt===8232||Yt===8233?(++H,P=++y):Yt===10||Yt===13?Te==="template"?(Ke+=c.slice(St,y)+` `,++y,Yt===13&&c.charCodeAt(y)===10&&++y,++H,St=P=y):Y.unterminated(we,De,Ue):++y}return{pos:y,str:Ke,firstInvalidLoc:et,lineStart:P,curLine:H,containsInvalid:!!et}}function wt(Te,c,y,P){return Te==="template"?c===96||c===36&&y.charCodeAt(P+1)===123:c===(Te==="double"?34:39)}function Bt(Te,c,y,P,H,Y){const we=!H;c++;const De=Ke=>({pos:c,ch:Ke,lineStart:y,curLine:P}),Ue=Te.charCodeAt(c++);switch(Ue){case 110:return De(` `);case 114:return De("\r");case 120:{let Ke;return{code:Ke,pos:c}=ir(Te,c,y,P,2,!1,we,Y),De(Ke===null?null:String.fromCharCode(Ke))}case 117:{let Ke;return{code:Ke,pos:c}=nr(Te,c,y,P,we,Y),De(Ke===null?null:String.fromCodePoint(Ke))}case 116:return De(" ");case 98:return De("\b");case 118:return De("\v");case 102:return De("\f");case 13:Te.charCodeAt(c)===10&&++c;case 10:y=c,++P;case 8232:case 8233:return De("");case 56:case 57:if(H)return De(null);Y.strictNumericEscape(c-1,y,P);default:if(Ue>=48&&Ue<=55){const Ke=c-1;let et=Te.slice(Ke,c+2).match(/^[0-7]+/)[0],St=parseInt(et,8);St>255&&(et=et.slice(0,-1),St=parseInt(et,8)),c+=et.length-1;const Jt=Te.charCodeAt(c);if(et!=="0"||Jt===56||Jt===57){if(H)return De(null);Y.strictNumericEscape(Ke,y,P)}return De(String.fromCharCode(St))}return De(String.fromCharCode(Ue))}}function ir(Te,c,y,P,H,Y,we,De){const Ue=c;let Ke;return{n:Ke,pos:c}=Mr(Te,c,y,P,16,H,Y,!1,De,!we),Ke===null&&(we?De.invalidEscapeSequence(Ue,y,P):c=Ue-1),{code:Ke,pos:c}}function Mr(Te,c,y,P,H,Y,we,De,Ue,Ke){const et=c,St=H===16?tr.hex:tr.decBinOct,Jt=H===16?ut.hex:H===10?ut.dec:H===8?ut.oct:ut.bin;let Yt=!1,Pr=0;for(let kn=0,bn=Y??1/0;kn=97?Dn-97+10:Dn>=65?Dn-65+10:gr(Dn)?Dn-48:1/0,Jn>=H){if(Jn<=9&&Ke)return{n:null,pos:c};if(Jn<=9&&Ue.invalidDigit(c,y,P,H))Jn=0;else{if(!we)break;Jn=0,Yt=!0}}++c,Pr=Pr*H+Jn}else{const zi=Te.charCodeAt(c-1),Bn=Te.charCodeAt(c+1);if(De){if(Number.isNaN(Bn)||!Jt(Bn)||St.has(zi)||St.has(Bn)){if(Ke)return{n:null,pos:c};Ue.unexpectedNumericSeparator(c,y,P)}}else{if(Ke)return{n:null,pos:c};Ue.numericSeparatorInEscapeSequence(c,y,P)}++c}}return c===et||Y!=null&&c-et!==Y||Yt?{n:null,pos:c}:{n:Pr,pos:c}}function nr(Te,c,y,P,H,Y){let we;if(Te.charCodeAt(c)===123){if(++c,{code:we,pos:c}=ir(Te,c,y,P,Te.indexOf("}",c)-c,!0,H,Y),++c,we!==null&&we>1114111){if(!H)return{code:null,pos:c};Y.invalidCodePoint(c,y,P)}}else({code:we,pos:c}=ir(Te,c,y,P,4,!1,H,Y));return{code:we,pos:c}}function _r(Te,c,y){return new a(y,Te-c,Te)}const ln=new Set([103,109,115,105,121,117,100,118]);class Ar{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new i(c.startLoc,c.endLoc)}}class Fr extends Ts{constructor(c,y){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(P,H,Y,we)=>!!this.options.errorRecovery&&(this.raise(g.InvalidDigit,_r(P,H,Y),{radix:we}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(P,H,Y)=>{this.recordStrictModeErrors(g.StrictNumericEscape,_r(P,H,Y))},unterminated:(P,H,Y)=>{throw this.raise(g.UnterminatedString,_r(P-1,H,Y))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(P,H,Y)=>{throw this.raise(g.UnterminatedTemplate,_r(P,H,Y))}}),this.state=new Gt,this.state.init(c),this.input=y,this.length=y.length,this.comments=[],this.isLookahead=!1}pushToken(c){this.tokens.length=this.state.tokensLength,this.tokens.push(c),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ar(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return!!this.match(c)&&(this.next(),!0)}match(c){return this.state.type===c}createLookaheadState(c){return{pos:c.pos,value:null,type:c.type,start:c.start,end:c.end,context:[this.curContext()],inType:c.inType,startLoc:c.startLoc,lastTokEndLoc:c.lastTokEndLoc,curLine:c.curLine,lineStart:c.lineStart,curPosition:c.curPosition}}lookahead(){const c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const y=this.state;return this.state=c,y}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return ot.lastIndex=c,ot.test(this.input)?ot.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(c){return _t.lastIndex=c,_t.test(this.input)?_t.lastIndex:c}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(c){let y=this.input.charCodeAt(c);if((64512&y)==55296&&++c{let[P,H]=y;return this.raise(P,H)}),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(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(c){let y;this.isLookahead||(y=this.state.curPosition());const P=this.state.pos,H=this.input.indexOf(c,P+2);if(H===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=H+c.length,ft.lastIndex=P+2;ft.test(this.input)&&ft.lastIndex<=H;)++this.state.curLine,this.state.lineStart=ft.lastIndex;if(this.isLookahead)return;const Y={type:"CommentBlock",value:this.input.slice(P+2,H),start:P,end:H+c.length,loc:new i(y,this.state.curPosition())};return this.options.tokens&&this.pushToken(Y),Y}skipLineComment(c){const y=this.state.pos;let P;this.isLookahead||(P=this.state.curPosition());let H=this.input.charCodeAt(this.state.pos+=c);if(this.state.posc))break e;{const Y=this.skipLineComment(3);Y!==void 0&&(this.addComment(Y),this.options.attachComment&&y.push(Y))}}else{if(P!==60||this.inModule||!this.options.annexB)break e;{const H=this.state.pos;if(this.input.charCodeAt(H+1)!==33||this.input.charCodeAt(H+2)!==45||this.input.charCodeAt(H+3)!==45)break e;{const Y=this.skipLineComment(4);Y!==void 0&&(this.addComment(Y),this.options.attachComment&&y.push(Y))}}}}}if(y.length>0){const P={start:c,end:this.state.pos,comments:y,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(P)}}finishToken(c,y){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const P=this.state.type;this.state.type=c,this.state.value=y,this.isLookahead||this.updateContext(P)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const c=this.state.pos+1,y=this.codePointAtPos(c);if(y>=48&&y<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(y===123||y===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(y===123?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,y===123?this.finishToken(7):this.finishToken(1)}else ke(y)?(++this.state.pos,this.finishToken(138,this.readWord1(y))):y===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const c=this.input.charCodeAt(this.state.pos+1);c>=48&&c<=57?this.readNumber(!0):c===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let c=this.input.charCodeAt(this.state.pos+1);if(c!==33)return!1;const y=this.state.pos;for(this.state.pos+=1;!dt(c)&&++this.state.pos=48&&y<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(c){switch(c){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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.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")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.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")&&this.input.charCodeAt(this.state.pos+1)===58?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 y=this.input.charCodeAt(this.state.pos+1);if(y===120||y===88)return void this.readRadixNumber(16);if(y===111||y===79)return void this.readRadixNumber(8);if(y===98||y===66)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(c);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(c);case 124:case 38:return void this.readToken_pipe_amp(c);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(c);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(c);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(ke(c))return void this.readWord(c)}throw this.raise(g.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(c)})}finishOp(c,y){const P=this.input.slice(this.state.pos,this.state.pos+y);this.state.pos+=y,this.finishToken(c,P)}readRegexp(){const c=this.state.startLoc,y=this.state.start+1;let P,H,{pos:Y}=this.state;for(;;++Y){if(Y>=this.length)throw this.raise(g.UnterminatedRegExp,s(c,1));const Ke=this.input.charCodeAt(Y);if(dt(Ke))throw this.raise(g.UnterminatedRegExp,s(c,1));if(P)P=!1;else{if(Ke===91)H=!0;else if(Ke===93&&H)H=!1;else if(Ke===47&&!H)break;P=Ke===92}}const we=this.input.slice(y,Y);++Y;let De="";const Ue=()=>s(c,Y+2-y);for(;Y2&&arguments[2]!==void 0&&arguments[2],H=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];const{n:Y,pos:we}=Mr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,y,P,H,this.errorHandlers_readInt,!1);return this.state.pos=we,Y}readRadixNumber(c){const y=this.state.curPosition();let P=!1;this.state.pos+=2;const H=this.readInt(c);H==null&&this.raise(g.InvalidDigit,s(y,2),{radix:c});const Y=this.input.charCodeAt(this.state.pos);if(Y===110)++this.state.pos,P=!0;else if(Y===109)throw this.raise(g.InvalidDecimal,y);if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(P){const we=this.input.slice(y.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,we)}else this.finishToken(134,H)}readNumber(c){const y=this.state.pos,P=this.state.curPosition();let H=!1,Y=!1,we=!1,De=!1,Ue=!1;c||this.readInt(10)!==null||this.raise(g.InvalidNumber,this.state.curPosition());const Ke=this.state.pos-y>=2&&this.input.charCodeAt(y)===48;if(Ke){const Yt=this.input.slice(y,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,P),!this.state.strict){const Pr=Yt.indexOf("_");Pr>0&&this.raise(g.ZeroDigitNumericSeparator,s(P,Pr))}Ue=Ke&&!/[89]/.test(Yt)}let et=this.input.charCodeAt(this.state.pos);if(et!==46||Ue||(++this.state.pos,this.readInt(10),H=!0,et=this.input.charCodeAt(this.state.pos)),et!==69&&et!==101||Ue||(et=this.input.charCodeAt(++this.state.pos),et!==43&&et!==45||++this.state.pos,this.readInt(10)===null&&this.raise(g.InvalidOrMissingExponent,P),H=!0,De=!0,et=this.input.charCodeAt(this.state.pos)),et===110&&((H||Ke)&&this.raise(g.InvalidBigIntLiteral,P),++this.state.pos,Y=!0),et===109&&(this.expectPlugin("decimal",this.state.curPosition()),(De||Ke)&&this.raise(g.InvalidDecimal,P),++this.state.pos,we=!0),ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const St=this.input.slice(y,this.state.pos).replace(/[_mn]/g,"");if(Y)return void this.finishToken(135,St);if(we)return void this.finishToken(136,St);const Jt=Ue?parseInt(St,8):parseFloat(St);this.finishToken(134,Jt)}readCodePoint(c){const{code:y,pos:P}=nr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=P,y}readString(c){const{str:y,pos:P,curLine:H,lineStart:Y}=Tt(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=P+1,this.state.lineStart=Y,this.state.curLine=H,this.finishToken(133,y)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const c=this.input[this.state.pos],{str:y,firstInvalidLoc:P,pos:H,curLine:Y,lineStart:we}=Tt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=H+1,this.state.lineStart=we,this.state.curLine=Y,P&&(this.state.firstInvalidTemplateEscapePos=new a(P.curLine,P.pos-P.lineStart,P.pos)),this.input.codePointAt(H)===96?this.finishToken(24,P?null:c+y+"`"):(this.state.pos++,this.finishToken(25,P?null:c+y+"${"))}recordStrictModeErrors(c,y){const P=y.index;this.state.strict&&!this.state.strictErrors.has(P)?this.raise(c,y):this.state.strictErrors.set(P,[c,y])}readWord1(c){this.state.containsEsc=!1;let y="";const P=this.state.pos;let H=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos2&&arguments[2]!==void 0?arguments[2]:{};const H=c(y instanceof a?y:y.loc.start,P);if(!this.options.errorRecovery)throw H;return this.isLookahead||this.state.errors.push(H),H}raiseOverwrite(c,y){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const H=y instanceof a?y:y.loc.start,Y=H.index,we=this.state.errors;for(let De=we.length-1;De>=0;De--){const Ue=we[De];if(Ue.loc.index===Y)return we[De]=c(H,P);if(Ue.loc.indexthis.hasPlugin(y)))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:c})}errorBuilder(c){return(y,P,H)=>{this.raise(c,_r(y,P,H))}}}class $r{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Vn{constructor(c){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=c}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new $r)}exit(){const c=this.stack.pop(),y=this.current();for(const[P,H]of Array.from(c.undefinedPrivateNames))y?y.undefinedPrivateNames.has(P)||y.undefinedPrivateNames.set(P,H):this.parser.raise(g.InvalidPrivateFieldResolution,H,{identifierName:P})}declarePrivateName(c,y,P){const{privateNames:H,loneAccessors:Y,undefinedPrivateNames:we}=this.current();let De=H.has(c);if(3&y){const Ue=De&&Y.get(c);Ue?(De=(3&Ue)==(3&y)||(4&Ue)!=(4&y),De||Y.delete(c)):De||Y.set(c,y)}De&&this.parser.raise(g.PrivateNameRedeclaration,P,{identifierName:c}),H.add(c),we.delete(c)}usePrivateName(c,y){let P;for(P of this.stack)if(P.privateNames.has(c))return;P?P.undefinedPrivateNames.set(c,y):this.parser.raise(g.InvalidPrivateFieldResolution,y,{identifierName:c})}}class jr{constructor(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.type=c}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class br extends jr{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,y){const P=y.index;this.declarationErrors.set(P,[c,y])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}}class nn{constructor(c){this.parser=void 0,this.stack=[new jr],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,y){const P=y.loc.start,{stack:H}=this;let Y=H.length-1,we=H[Y];for(;!we.isCertainlyParameterDeclaration();){if(!we.canBeArrowParameterDeclaration())return;we.recordDeclarationError(c,P),we=H[--Y]}this.parser.raise(c,P)}recordArrowParameterBindingError(c,y){const{stack:P}=this,H=P[P.length-1],Y=y.loc.start;if(H.isCertainlyParameterDeclaration())this.parser.raise(c,Y);else{if(!H.canBeArrowParameterDeclaration())return;H.recordDeclarationError(c,Y)}}recordAsyncArrowParametersError(c){const{stack:y}=this;let P=y.length-1,H=y[P];for(;H.canBeArrowParameterDeclaration();)H.type===2&&H.recordDeclarationError(g.AwaitBindingIdentifier,c),H=y[--P]}validateAsPattern(){const{stack:c}=this,y=c[c.length-1];y.canBeArrowParameterDeclaration()&&y.iterateErrors(P=>{let[H,Y]=P;this.parser.raise(H,Y);let we=c.length-2,De=c[we];for(;De.canBeArrowParameterDeclaration();)De.clearDeclarationError(Y.index),De=c[--we]})}}function wn(){return new jr}class ys{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}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 rs(Te,c){return(Te?2:0)|(c?1:0)}class Tn extends Fr{addExtra(c,y,P){let H=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!c)return;const Y=c.extra=c.extra||{};H?Y[y]=P:Object.defineProperty(Y,y,{enumerable:H,value:P})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,y){const P=c+y.length;if(this.input.slice(c,P)===y){const H=this.input.charCodeAt(P);return!(Ge(H)||(64512&H)==55296)}return!1}isLookaheadContextual(c){const y=this.nextTokenStart();return this.isUnparsedContextual(y,c)}eatContextual(c){return!!this.isContextual(c)&&(this.next(),!0)}expectContextual(c,y){if(!this.eatContextual(c)){if(y!=null)throw this.raise(y,this.state.startLoc);this.unexpected(null,c)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Kn.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Lt.lastIndex=this.state.end,Lt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&arguments[0]!==void 0&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(g.MissingSemicolon,this.state.lastTokEndLoc)}expect(c,y){this.eat(c)||this.unexpected(y,c)}tryParse(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone();const P={node:null};try{const H=c(function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw P.node=Y,P});if(this.state.errors.length>y.errors.length){const Y=this.state;return this.state=y,this.state.tokensLength=Y.tokensLength,{node:H,error:Y.errors[y.errors.length],thrown:!1,aborted:!1,failState:Y}}return{node:H,error:null,thrown:!1,aborted:!1,failState:null}}catch(H){const Y=this.state;if(this.state=y,H instanceof SyntaxError)return{node:null,error:H,thrown:!0,aborted:!1,failState:Y};if(H===P)return{node:P.node,error:null,thrown:!1,aborted:!0,failState:Y};throw H}}checkExpressionErrors(c,y){if(!c)return!1;const{shorthandAssignLoc:P,doubleProtoLoc:H,privateKeyLoc:Y,optionalParametersLoc:we}=c;if(!y)return!!(P||H||we||Y);P!=null&&this.raise(g.InvalidCoverInitializedName,P),H!=null&&this.raise(g.DuplicateProto,H),Y!=null&&this.raise(g.UnexpectedPrivateField,Y),we!=null&&this.unexpected(we)}isLiteralPropertyName(){return ie(this.state.type)}isPrivateName(c){return c.type==="PrivateName"}getPrivateNameSV(c){return c.id.name}hasPropertyAsPrivateName(c){return(c.type==="MemberExpression"||c.type==="OptionalMemberExpression")&&this.isPrivateName(c.property)}isObjectProperty(c){return c.type==="ObjectProperty"}isObjectMethod(c){return c.type==="ObjectMethod"}initializeScopes(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module";const y=this.state.labels;this.state.labels=[];const P=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const H=this.inModule;this.inModule=c;const Y=this.scope,we=this.getScopeHandler();this.scope=new we(this,c);const De=this.prodParam;this.prodParam=new ys;const Ue=this.classScope;this.classScope=new Vn(this);const Ke=this.expressionScope;return this.expressionScope=new nn(this),()=>{this.state.labels=y,this.exportedIdentifiers=P,this.inModule=H,this.scope=Y,this.prodParam=De,this.classScope=Ue,this.expressionScope=Ke}}enterInitialScopes(){let c=0;this.inModule&&(c|=2),this.scope.enter(1),this.prodParam.enter(c)}checkDestructuringPrivate(c){const{privateKeyLoc:y}=c;y!==null&&this.expectPlugin("destructuringPrivate",y)}}class hs{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Ln{constructor(c,y,P){this.type="",this.start=y,this.end=0,this.loc=new i(P),c!=null&&c.options.ranges&&(this.range=[y,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}}const Fn=Ln.prototype;function ns(Te){const{type:c,start:y,end:P,loc:H,range:Y,extra:we,name:De}=Te,Ue=Object.create(Fn);return Ue.type=c,Ue.start=y,Ue.end=P,Ue.loc=H,Ue.range=Y,Ue.extra=we,Ue.name=De,c==="Placeholder"&&(Ue.expectedNode=Te.expectedNode),Ue}Fn.__clone=function(){const Te=new Ln(void 0,this.start,this.loc.start),c=Object.keys(this);for(let y=0,P=c.length;y1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;c.end=y.index,c.loc.end=y,this.options.ranges&&(c.range[1]=y.index)}resetStartLocationFromNode(c,y){this.resetStartLocation(c,y.loc.start)}}const Xn=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),qt=x`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:Te=>{let{reservedType:c}=Te;return`Cannot overwrite reserved type ${c}.`},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:Te=>{let{memberName:c,enumName:y}=Te;return`Boolean enum members need to be initialized. Use either \`${c} = true,\` or \`${c} = false,\` in enum \`${y}\`.`},EnumDuplicateMemberName:Te=>{let{memberName:c,enumName:y}=Te;return`Enum member names need to be unique, but the name \`${c}\` has already been used before in enum \`${y}\`.`},EnumInconsistentMemberValues:Te=>{let{enumName:c}=Te;return`Enum \`${c}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:Te=>{let{invalidEnumType:c,enumName:y}=Te;return`Enum type \`${c}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${y}\`.`},EnumInvalidExplicitTypeUnknownSupplied:Te=>{let{enumName:c}=Te;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${c}\`.`},EnumInvalidMemberInitializerPrimaryType:Te=>{let{enumName:c,memberName:y,explicitType:P}=Te;return`Enum \`${c}\` has type \`${P}\`, so the initializer of \`${y}\` needs to be a ${P} literal.`},EnumInvalidMemberInitializerSymbolType:Te=>{let{enumName:c,memberName:y}=Te;return`Symbol enum members cannot be initialized. Use \`${y},\` in enum \`${c}\`.`},EnumInvalidMemberInitializerUnknownType:Te=>{let{enumName:c,memberName:y}=Te;return`The enum member initializer for \`${y}\` needs to be a literal (either a boolean, number, or string) in enum \`${c}\`.`},EnumInvalidMemberName:Te=>{let{enumName:c,memberName:y,suggestion:P}=Te;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${y}\`, consider using \`${P}\`, in enum \`${c}\`.`},EnumNumberMemberNotInitialized:Te=>{let{enumName:c,memberName:y}=Te;return`Number enum members need to be initialized, e.g. \`${y} = 1\` in enum \`${c}\`.`},EnumStringMemberInconsistentlyInitialized:Te=>{let{enumName:c}=Te;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${c}\`.`},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:Te=>{let{reservedType:c}=Te;return`Unexpected reserved type ${c}.`},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 ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:Te=>{let{unsupportedExportKind:c,suggestion:y}=Te;return`\`declare export ${c}\` is not supported. Use \`${y}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function ti(Te){return Te.importKind==="type"||Te.importKind==="typeof"}const Xs={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},_s=/\*?\s*@((?:no)?flow)\b/,Qr={__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:"♦"},ss=x`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:Te=>{let{openingTagName:c}=Te;return`Expected corresponding JSX closing tag for <${c}>.`},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:Te=>{let{unexpected:c,HTMLEntity:y}=Te;return`Unexpected token \`${c}\`. Did you mean \`${y}\` or \`{'${c}'}\`?`},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 Lr(Te){return!!Te&&(Te.type==="JSXOpeningFragment"||Te.type==="JSXClosingFragment")}function vn(Te){if(Te.type==="JSXIdentifier")return Te.name;if(Te.type==="JSXNamespacedName")return Te.namespace.name+":"+Te.name.name;if(Te.type==="JSXMemberExpression")return vn(Te.object)+"."+vn(Te.property);throw new Error("Node had unexpected type: "+Te.type)}class Wt extends rn{constructor(){super(...arguments),this.tsNames=new Map}}class Hn extends en{constructor(){super(...arguments),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new Wt(c)}enter(c){c==256&&this.importsStack.push(new Set),super.enter(c)}exit(){const c=super.exit();return c==256&&this.importsStack.pop(),c}hasImport(c,y){const P=this.importsStack.length;if(this.importsStack[P-1].has(c))return!0;if(!y&&P>1){for(let H=0;H0?!(256&P)||!!(512&P)!=(4&H)>0:128&P&&(8&H)>0?!!(2&c.names.get(y))&&!!(1&P):!!(2&P&&(1&H)>0)||super.isRedeclaredInScope(c,y,P)}checkLocalExport(c){const{name:y}=c;if(!this.hasImport(y)){for(let P=this.scopeStack.length-1;P>=0;P--){const H=this.scopeStack[P].tsNames.get(y);if((1&H)>0||(16&H)>0)return}super.checkLocalExport(c)}}}const jn=Te=>Te.type==="ParenthesizedExpression"?jn(Te.expression):Te;class Yn extends Ti{toAssignable(c){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];var P,H;let Y;switch((c.type==="ParenthesizedExpression"||(P=c.extra)!=null&&P.parenthesized)&&(Y=jn(c),y?Y.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,c):Y.type==="MemberExpression"||this.isOptionalMemberExpression(Y)||this.raise(g.InvalidParenthesizedAssignment,c):this.raise(g.InvalidParenthesizedAssignment,c)),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let De=0,Ue=c.properties.length,Ke=Ue-1;DeH.type!=="ObjectMethod"&&(Y===P||H.type!=="SpreadElement")&&this.isAssignable(H))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(P=>P===null||this.isAssignable(P));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!y;default:return!1}}toReferencedList(c,y){return c}toReferencedListDeep(c,y){this.toReferencedList(c,y);for(const P of c)P?.type==="ArrayExpression"&&this.toReferencedListDeep(P.elements)}parseSpread(c){const y=this.startNode();return this.next(),y.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(y,"SpreadElement")}parseRestBinding(){const c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const c=this.startNode();return this.next(),c.elements=this.parseBindingList(3,93,1),this.finishNode(c,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(c,y,P){const H=1&P,Y=[];let we=!0;for(;!this.eat(c);)if(we?we=!1:this.expect(12),H&&this.match(12))Y.push(null);else{if(this.eat(c))break;if(this.match(21)){if(Y.push(this.parseAssignableListItemTypes(this.parseRestBinding(),P)),!this.checkCommaAfterRest(y)){this.expect(c);break}}else{const De=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)De.push(this.parseDecorator());Y.push(this.parseAssignableListItem(P,De))}}return Y}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){const c=this.startNode(),{type:y,startLoc:P}=this.state;return y===21?this.parseBindingRestProperty(c):(y===138?(this.expectPlugin("destructuringPrivate",P),this.classScope.usePrivateName(this.state.value,P),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,P,!1,!1,!0,!1))}parseAssignableListItem(c,y){const P=this.parseMaybeDefault();this.parseAssignableListItemTypes(P,c);const H=this.parseMaybeDefault(P.loc.start,P);return y.length&&(P.decorators=y),H}parseAssignableListItemTypes(c,y){return c}parseMaybeDefault(c,y){var P;if(c!=null||(c=this.state.startLoc),y=(P=y)!=null?P:this.parseBindingAtom(),!this.eat(29))return y;const H=this.startNodeAt(c);return H.left=y,H.right=this.parseMaybeAssignAllowIn(),this.finishNode(H,"AssignmentPattern")}isValidLVal(c,y,P){return H={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},Y=c,Object.hasOwnProperty.call(H,Y)&&H[Y];var H,Y}isOptionalMemberExpression(c){return c.type==="OptionalMemberExpression"}checkLVal(c,y){let{in:P,binding:H=64,checkClashes:Y=!1,strictModeChanged:we=!1,hasParenthesizedAncestor:De=!1}=y;var Ue;const Ke=c.type;if(this.isObjectMethod(c))return;const et=this.isOptionalMemberExpression(c);if(et||Ke==="MemberExpression")return et&&(this.expectPlugin("optionalChainingAssign",c.loc.start),P.type!=="AssignmentExpression"&&this.raise(g.InvalidLhsOptionalChaining,c,{ancestor:P})),void(H!==64&&this.raise(g.InvalidPropertyBindingPattern,c));if(Ke==="Identifier"){this.checkIdentifier(c,H,we);const{name:kn}=c;return void(Y&&(Y.has(kn)?this.raise(g.ParamDupe,c):Y.add(kn)))}const St=this.isValidLVal(Ke,!(De||(Ue=c.extra)!=null&&Ue.parenthesized)&&P.type==="AssignmentExpression",H);if(St===!0)return;if(St===!1){const kn=H===64?g.InvalidLhs:g.InvalidLhsBinding;return void this.raise(kn,c,{ancestor:P})}const[Jt,Yt]=Array.isArray(St)?St:[St,Ke==="ParenthesizedExpression"],Pr=Ke==="ArrayPattern"||Ke==="ObjectPattern"?{type:Ke}:P;for(const kn of[].concat(c[Jt]))kn&&this.checkLVal(kn,{in:Pr,binding:H,checkClashes:Y,strictModeChanged:we,hasParenthesizedAncestor:Yt})}checkIdentifier(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.state.strict&&(P?yr(c.name,this.inModule):or(c.name))&&(y===64?this.raise(g.StrictEvalArguments,c,{referenceName:c.name}):this.raise(g.StrictEvalArgumentsBinding,c,{bindingName:c.name})),8192&y&&c.name==="let"&&this.raise(g.LetInLexicalBinding,c),64&y||this.declareNameFromIdentifier(c,y)}declareNameFromIdentifier(c,y){this.scope.declareName(c.name,y,c.loc.start)}checkToRestConversion(c,y){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,y);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(y)break;default:this.raise(g.InvalidRestAssignmentPattern,c)}}checkCommaAfterRest(c){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===c?g.RestTrailingComma:g.ElementAfterRest,this.state.startLoc),!0)}}function Ys(Te){if(!Te)throw new Error("Assert fail")}const Pt=x`typescript`({AbstractMethodHasImplementation:Te=>{let{methodName:c}=Te;return`Method '${c}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:Te=>{let{propertyName:c}=Te;return`Property '${c}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:Te=>{let{kind:c}=Te;return`'declare' is not allowed in ${c}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:Te=>{let{modifier:c}=Te;return"Accessibility modifier already seen."},DuplicateModifier:Te=>{let{modifier:c}=Te;return`Duplicate modifier: '${c}'.`},EmptyHeritageClauseType:Te=>{let{token:c}=Te;return`'${c}' 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:Te=>{let{modifiers:c}=Te;return`'${c[0]}' modifier cannot be used with '${c[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:Te=>{let{modifier:c}=Te;return`Index signatures cannot have an accessibility modifier ('${c}').`},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.",InvalidModifierOnTypeMember:Te=>{let{modifier:c}=Te;return`'${c}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:Te=>{let{modifier:c}=Te;return`'${c}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:Te=>{let{modifier:c}=Te;return`'${c}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:Te=>{let{orderedModifiers:c}=Te;return`'${c[0]}' modifier must precede '${c[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.",NonClassMethodPropertyHasAbstractModifer:"'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:Te=>{let{modifier:c}=Te;return`Private elements cannot have an accessibility modifier ('${c}').`},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 `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:Te=>{let{typeParameterName:c}=Te;return`Single type parameter ${c} should have a trailing comma. Example usage: <${c},>.`},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:Te=>{let{type:c}=Te;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${c}.`}});function Vs(Te){return Te==="private"||Te==="public"||Te==="protected"}function In(Te){return Te==="in"||Te==="out"}function yn(Te){if(Te.type!=="MemberExpression")return!1;const{computed:c,property:y}=Te;return(!c||y.type==="StringLiteral"||!(y.type!=="TemplateLiteral"||y.expressions.length>0))&&_n(Te.object)}function vi(Te,c){var y;const{type:P}=Te;if((y=Te.extra)!=null&&y.parenthesized)return!1;if(c){if(P==="Literal"){const{value:H}=Te;if(typeof H=="string"||typeof H=="boolean")return!0}}else if(P==="StringLiteral"||P==="BooleanLiteral")return!0;return!(!is(Te,c)&&!function(H,Y){if(H.type==="UnaryExpression"){const{operator:we,argument:De}=H;if(we==="-"&&is(De,Y))return!0}return!1}(Te,c))||P==="TemplateLiteral"&&Te.expressions.length===0||!!yn(Te)}function is(Te,c){return c?Te.type==="Literal"&&(typeof Te.value=="number"||"bigint"in Te):Te.type==="NumericLiteral"||Te.type==="BigIntLiteral"}function _n(Te){return Te.type==="Identifier"||Te.type==="MemberExpression"&&!Te.computed&&_n(Te.object)}const ki=x`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function Mn(Te,c){const[y,P]=typeof c=="string"?[c,{}]:c,H=Object.keys(P),Y=H.length===0;return Te.some(we=>{if(typeof we=="string")return Y&&we===y;{const[De,Ue]=we;if(De!==y)return!1;for(const Ke of H)if(Ue[Ke]!==P[Ke])return!1;return!0}})}function Fs(Te,c,y){const P=Te.find(H=>Array.isArray(H)?H[0]===c:H===c);return P&&Array.isArray(P)&&P.length>1?P[1][y]:null}const Bo=["minimal","fsharp","hack","smart"],cl=["^^","@@","^","%","#"],Fo=["hash","bar"],Ca={estree:Te=>class extends Te{parse(){const c=A(super.parse());return this.options.tokens&&(c.tokens=c.tokens.map(A)),c}parseRegExpLiteral(c){let{pattern:y,flags:P}=c,H=null;try{H=new RegExp(y,P)}catch{}const Y=this.estreeParseLiteral(H);return Y.regex={pattern:y,flags:P},Y}parseBigIntLiteral(c){let y;try{y=BigInt(c)}catch{y=null}const P=this.estreeParseLiteral(y);return P.bigint=String(P.value||c),P}parseDecimalLiteral(c){const y=this.estreeParseLiteral(null);return y.decimal=String(y.value||c),y}estreeParseLiteral(c){return this.parseLiteral(c,"Literal")}parseStringLiteral(c){return this.estreeParseLiteral(c)}parseNumericLiteral(c){return this.estreeParseLiteral(c)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(c){return this.estreeParseLiteral(c)}directiveToStmt(c){const y=c.value;delete c.value,y.type="Literal",y.raw=y.extra.raw,y.value=y.extra.expressionValue;const P=c;return P.type="ExpressionStatement",P.expression=y,P.directive=y.extra.rawValue,delete y.extra,P}initFunction(c,y){super.initFunction(c,y),c.expression=!1}checkDeclaration(c){c!=null&&this.isObjectProperty(c)?this.checkDeclaration(c.value):super.checkDeclaration(c)}getObjectOrClassMethodParams(c){return c.value.params}isValidDirective(c){var y;return c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&!((y=c.expression.extra)!=null&&y.parenthesized)}parseBlockBody(c,y,P,H,Y){super.parseBlockBody(c,y,P,H,Y);const we=c.directives.map(De=>this.directiveToStmt(De));c.body=we.concat(c.body),delete c.directives}pushClassMethod(c,y,P,H,Y,we){this.parseMethod(y,P,H,Y,we,"ClassMethod",!0),y.typeParameters&&(y.value.typeParameters=y.typeParameters,delete y.typeParameters),c.body.push(y)}parsePrivateName(){const c=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(c):c}convertPrivateNameToPrivateIdentifier(c){const y=super.getPrivateNameSV(c);return delete c.id,c.name=y,c.type="PrivateIdentifier",c}isPrivateName(c){return this.getPluginOption("estree","classFeatures")?c.type==="PrivateIdentifier":super.isPrivateName(c)}getPrivateNameSV(c){return this.getPluginOption("estree","classFeatures")?c.name:super.getPrivateNameSV(c)}parseLiteral(c,y){const P=super.parseLiteral(c,y);return P.raw=P.extra.raw,delete P.extra,P}parseFunctionBody(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];super.parseFunctionBody(c,y,P),c.expression=c.body.type!=="BlockStatement"}parseMethod(c,y,P,H,Y,we){let De=arguments.length>6&&arguments[6]!==void 0&&arguments[6],Ue=this.startNode();return Ue.kind=c.kind,Ue=super.parseMethod(Ue,y,P,H,Y,we,De),Ue.type="FunctionExpression",delete Ue.kind,c.value=Ue,we==="ClassPrivateMethod"&&(c.computed=!1),this.finishNode(c,"MethodDefinition")}parseClassProperty(){const c=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(c.type="PropertyDefinition"),c}parseClassPrivateProperty(){const c=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(c.type="PropertyDefinition",c.computed=!1),c}parseObjectMethod(c,y,P,H,Y){const we=super.parseObjectMethod(c,y,P,H,Y);return we&&(we.type="Property",we.kind==="method"&&(we.kind="init"),we.shorthand=!1),we}parseObjectProperty(c,y,P,H){const Y=super.parseObjectProperty(c,y,P,H);return Y&&(Y.kind="init",Y.type="Property"),Y}isValidLVal(c,y,P){return c==="Property"?"value":super.isValidLVal(c,y,P)}isAssignable(c,y){return c!=null&&this.isObjectProperty(c)?this.isAssignable(c.value,y):super.isAssignable(c,y)}toAssignable(c){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c!=null&&this.isObjectProperty(c)){const{key:P,value:H}=c;this.isPrivateName(P)&&this.classScope.usePrivateName(this.getPrivateNameSV(P),P.loc.start),this.toAssignable(H,y)}else super.toAssignable(c,y)}toAssignableObjectExpressionProp(c,y,P){c.kind==="get"||c.kind==="set"?this.raise(g.PatternHasAccessor,c.key):c.method?this.raise(g.PatternHasMethod,c.key):super.toAssignableObjectExpressionProp(c,y,P)}finishCallExpression(c,y){const P=super.finishCallExpression(c,y);var H,Y;return P.callee.type==="Import"&&(P.type="ImportExpression",P.source=P.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(P.options=(H=P.arguments[1])!=null?H:null,P.attributes=(Y=P.arguments[1])!=null?Y:null),delete P.arguments,delete P.callee),P}toReferencedArguments(c){c.type!=="ImportExpression"&&super.toReferencedArguments(c)}parseExport(c,y){const P=this.state.lastTokStartLoc,H=super.parseExport(c,y);switch(H.type){case"ExportAllDeclaration":H.exported=null;break;case"ExportNamedDeclaration":H.specifiers.length===1&&H.specifiers[0].type==="ExportNamespaceSpecifier"&&(H.type="ExportAllDeclaration",H.exported=H.specifiers[0].exported,delete H.specifiers);case"ExportDefaultDeclaration":{var Y;const{declaration:we}=H;we?.type==="ClassDeclaration"&&((Y=we.decorators)==null?void 0:Y.length)>0&&we.start===H.start&&this.resetStartLocation(H,P)}}return H}parseSubscript(c,y,P,H){const Y=super.parseSubscript(c,y,P,H);if(H.optionalChainMember){if(Y.type!=="OptionalMemberExpression"&&Y.type!=="OptionalCallExpression"||(Y.type=Y.type.substring(8)),H.stop){const we=this.startNodeAtNode(Y);return we.expression=Y,this.finishNode(we,"ChainExpression")}}else Y.type!=="MemberExpression"&&Y.type!=="CallExpression"||(Y.optional=!1);return Y}isOptionalMemberExpression(c){return c.type==="ChainExpression"?c.expression.type==="MemberExpression":super.isOptionalMemberExpression(c)}hasPropertyAsPrivateName(c){return c.type==="ChainExpression"&&(c=c.expression),super.hasPropertyAsPrivateName(c)}isObjectProperty(c){return c.type==="Property"&&c.kind==="init"&&!c.method}isObjectMethod(c){return c.method||c.kind==="get"||c.kind==="set"}finishNodeAt(c,y,P){return A(super.finishNodeAt(c,y,P))}resetStartLocation(c,y){super.resetStartLocation(c,y),A(c)}resetEndLocation(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(c,y),A(c)}},jsx:Te=>class extends Te{jsxReadToken(){let c="",y=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ss.UnterminatedJsxContent,this.state.startLoc);const P=this.input.charCodeAt(this.state.pos);switch(P){case 60:case 123:return this.state.pos===this.state.start?void(P===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(P)):(c+=this.input.slice(y,this.state.pos),void this.finishToken(141,c));case 38:c+=this.input.slice(y,this.state.pos),c+=this.jsxReadEntity(),y=this.state.pos;break;default:dt(P)?(c+=this.input.slice(y,this.state.pos),c+=this.jsxReadNewLine(!0),y=this.state.pos):++this.state.pos}}}jsxReadNewLine(c){const y=this.input.charCodeAt(this.state.pos);let P;return++this.state.pos,y===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,P=c?` `:`\r `):P=String.fromCharCode(y),++this.state.curLine,this.state.lineStart=this.state.pos,P}jsxReadString(c){let y="",P=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const H=this.input.charCodeAt(this.state.pos);if(H===c)break;H===38?(y+=this.input.slice(P,this.state.pos),y+=this.jsxReadEntity(),P=this.state.pos):dt(H)?(y+=this.input.slice(P,this.state.pos),y+=this.jsxReadNewLine(!1),P=this.state.pos):++this.state.pos}y+=this.input.slice(P,this.state.pos++),this.finishToken(133,y)}jsxReadEntity(){const c=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let y=10;this.codePointAtPos(this.state.pos)===120&&(y=16,++this.state.pos);const P=this.readInt(y,void 0,!1,"bail");if(P!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(P)}else{let y=0,P=!1;for(;y++<10&&this.state.posclass extends Te{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return fn}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(c,y){c!==133&&c!==13&&c!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(c,y)}addComment(c){if(this.flowPragma===void 0){const y=_s.exec(c.value);if(y)if(y[1]==="flow")this.flowPragma="flow";else{if(y[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(c)}flowParseTypeInitialiser(c){const y=this.state.inType;this.state.inType=!0,this.expect(c||14);const P=this.flowParseType();return this.state.inType=y,P}flowParsePredicate(){const c=this.startNode(),y=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>y.index+1&&this.raise(qt.UnexpectedSpaceBetweenModuloChecks,y),this.eat(10)?(c.value=super.parseExpression(),this.expect(11),this.finishNode(c,"DeclaredPredicate")):this.finishNode(c,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const c=this.state.inType;this.state.inType=!0,this.expect(14);let y=null,P=null;return this.match(54)?(this.state.inType=c,P=this.flowParsePredicate()):(y=this.flowParseType(),this.state.inType=c,this.match(54)&&(P=this.flowParsePredicate())),[y,P]}flowParseDeclareClass(c){return this.next(),this.flowParseInterfaceish(c,!0),this.finishNode(c,"DeclareClass")}flowParseDeclareFunction(c){this.next();const y=c.id=this.parseIdentifier(),P=this.startNode(),H=this.startNode();this.match(47)?P.typeParameters=this.flowParseTypeParameterDeclaration():P.typeParameters=null,this.expect(10);const Y=this.flowParseFunctionTypeParams();return P.params=Y.params,P.rest=Y.rest,P.this=Y._this,this.expect(11),[P.returnType,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),H.typeAnnotation=this.finishNode(P,"FunctionTypeAnnotation"),y.typeAnnotation=this.finishNode(H,"TypeAnnotation"),this.resetEndLocation(y),this.semicolon(),this.scope.declareName(c.id.name,2048,c.id.loc.start),this.finishNode(c,"DeclareFunction")}flowParseDeclare(c,y){return this.match(80)?this.flowParseDeclareClass(c):this.match(68)?this.flowParseDeclareFunction(c):this.match(74)?this.flowParseDeclareVariable(c):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(c):(y&&this.raise(qt.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(c)):this.isContextual(130)?this.flowParseDeclareTypeAlias(c):this.isContextual(131)?this.flowParseDeclareOpaqueType(c):this.isContextual(129)?this.flowParseDeclareInterface(c):this.match(82)?this.flowParseDeclareExportDeclaration(c,y):void this.unexpected()}flowParseDeclareVariable(c){return this.next(),c.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(c.id.name,5,c.id.loc.start),this.semicolon(),this.finishNode(c,"DeclareVariable")}flowParseDeclareModule(c){this.scope.enter(0),this.match(133)?c.id=super.parseExprAtom():c.id=this.parseIdentifier();const y=c.body=this.startNode(),P=y.body=[];for(this.expect(5);!this.match(8);){let we=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(qt.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(we)):(this.expectContextual(125,qt.UnsupportedStatementInDeclareModule),we=this.flowParseDeclare(we,!0)),P.push(we)}this.scope.exit(),this.expect(8),this.finishNode(y,"BlockStatement");let H=null,Y=!1;return P.forEach(we=>{(function(De){return De.type==="DeclareExportAllDeclaration"||De.type==="DeclareExportDeclaration"&&(!De.declaration||De.declaration.type!=="TypeAlias"&&De.declaration.type!=="InterfaceDeclaration")})(we)?(H==="CommonJS"&&this.raise(qt.AmbiguousDeclareModuleKind,we),H="ES"):we.type==="DeclareModuleExports"&&(Y&&this.raise(qt.DuplicateDeclareModuleExports,we),H==="ES"&&this.raise(qt.AmbiguousDeclareModuleKind,we),H="CommonJS",Y=!0)}),c.kind=H||"CommonJS",this.finishNode(c,"DeclareModule")}flowParseDeclareExportDeclaration(c,y){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?c.declaration=this.flowParseDeclare(this.startNode()):(c.declaration=this.flowParseType(),this.semicolon()),c.default=!0,this.finishNode(c,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!y){const P=this.state.value;throw this.raise(qt.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:P,suggestion:Xs[P]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(c.declaration=this.flowParseDeclare(this.startNode()),c.default=!1,this.finishNode(c,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((c=this.parseExport(c,null)).type==="ExportNamedDeclaration"&&(c.type="ExportDeclaration",c.default=!1,delete c.exportKind),c.type="Declare"+c.type,c):void this.unexpected()}flowParseDeclareModuleExports(c){return this.next(),this.expectContextual(111),c.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(c,"DeclareModuleExports")}flowParseDeclareTypeAlias(c){this.next();const y=this.flowParseTypeAlias(c);return y.type="DeclareTypeAlias",y}flowParseDeclareOpaqueType(c){this.next();const y=this.flowParseOpaqueType(c,!0);return y.type="DeclareOpaqueType",y}flowParseDeclareInterface(c){return this.next(),this.flowParseInterfaceish(c,!1),this.finishNode(c,"DeclareInterface")}flowParseInterfaceish(c,y){if(c.id=this.flowParseRestrictedIdentifier(!y,!0),this.scope.declareName(c.id.name,y?17:8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(!y&&this.eat(12));if(y){if(c.implements=[],c.mixins=[],this.eatContextual(117))do c.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do c.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}c.body=this.flowParseObjectType({allowStatic:y,allowExact:!1,allowSpread:!1,allowProto:y,allowInexact:!1})}flowParseInterfaceExtends(){const c=this.startNode();return c.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?c.typeParameters=this.flowParseTypeParameterInstantiation():c.typeParameters=null,this.finishNode(c,"InterfaceExtends")}flowParseInterface(c){return this.flowParseInterfaceish(c,!1),this.finishNode(c,"InterfaceDeclaration")}checkNotUnderscore(c){c==="_"&&this.raise(qt.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(c,y,P){Xn.has(c)&&this.raise(P?qt.AssignReservedType:qt.UnexpectedReservedType,y,{reservedType:c})}flowParseRestrictedIdentifier(c,y){return this.checkReservedType(this.state.value,this.state.startLoc,y),this.parseIdentifier(c)}flowParseTypeAlias(c){return c.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(c,"TypeAlias")}flowParseOpaqueType(c,y){return this.expectContextual(130),c.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.supertype=null,this.match(14)&&(c.supertype=this.flowParseTypeInitialiser(14)),c.impltype=null,y||(c.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(c,"OpaqueType")}flowParseTypeParameter(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const y=this.state.startLoc,P=this.startNode(),H=this.flowParseVariance(),Y=this.flowParseTypeAnnotatableIdentifier();return P.name=Y.name,P.variance=H,P.bound=Y.typeAnnotation,this.match(29)?(this.eat(29),P.default=this.flowParseType()):c&&this.raise(qt.MissingTypeParamDefault,y),this.finishNode(P,"TypeParameter")}flowParseTypeParameterDeclaration(){const c=this.state.inType,y=this.startNode();y.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let P=!1;do{const H=this.flowParseTypeParameter(P);y.params.push(H),H.default&&(P=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=c,this.finishNode(y,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const c=this.startNode(),y=this.state.inType;c.params=[],this.state.inType=!0,this.expect(47);const P=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)c.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=P,this.expect(48),this.state.inType=y,this.finishNode(c,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const c=this.startNode(),y=this.state.inType;for(c.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)c.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=y,this.finishNode(c,"TypeParameterInstantiation")}flowParseInterfaceType(){const c=this.startNode();if(this.expectContextual(129),c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return c.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(c,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(c,y,P){return c.static=y,this.lookahead().type===14?(c.id=this.flowParseObjectPropertyKey(),c.key=this.flowParseTypeInitialiser()):(c.id=null,c.key=this.flowParseType()),this.expect(3),c.value=this.flowParseTypeInitialiser(),c.variance=P,this.finishNode(c,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(c,y){return c.static=y,c.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(c.method=!0,c.optional=!1,c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start))):(c.method=!1,this.eat(17)&&(c.optional=!0),c.value=this.flowParseTypeInitialiser()),this.finishNode(c,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(c){for(c.params=[],c.rest=null,c.typeParameters=null,c.this=null,this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(c.this=this.flowParseFunctionTypeParam(!0),c.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(c.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),c.returnType=this.flowParseTypeInitialiser(),this.finishNode(c,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(c,y){const P=this.startNode();return c.static=y,c.value=this.flowParseObjectTypeMethodish(P),this.finishNode(c,"ObjectTypeCallProperty")}flowParseObjectType(c){let{allowStatic:y,allowExact:P,allowSpread:H,allowProto:Y,allowInexact:we}=c;const De=this.state.inType;this.state.inType=!0;const Ue=this.startNode();let Ke,et;Ue.callProperties=[],Ue.properties=[],Ue.indexers=[],Ue.internalSlots=[];let St=!1;for(P&&this.match(6)?(this.expect(6),Ke=9,et=!0):(this.expect(5),Ke=8,et=!1),Ue.exact=et;!this.match(Ke);){let Yt=!1,Pr=null,kn=null;const bn=this.startNode();if(Y&&this.isContextual(118)){const Jn=this.lookahead();Jn.type!==14&&Jn.type!==17&&(this.next(),Pr=this.state.startLoc,y=!1)}if(y&&this.isContextual(106)){const Jn=this.lookahead();Jn.type!==14&&Jn.type!==17&&(this.next(),Yt=!0)}const Dn=this.flowParseVariance();if(this.eat(0))Pr!=null&&this.unexpected(Pr),this.eat(0)?(Dn&&this.unexpected(Dn.loc.start),Ue.internalSlots.push(this.flowParseObjectTypeInternalSlot(bn,Yt))):Ue.indexers.push(this.flowParseObjectTypeIndexer(bn,Yt,Dn));else if(this.match(10)||this.match(47))Pr!=null&&this.unexpected(Pr),Dn&&this.unexpected(Dn.loc.start),Ue.callProperties.push(this.flowParseObjectTypeCallProperty(bn,Yt));else{let Jn="init";(this.isContextual(99)||this.isContextual(104))&&ie(this.lookahead().type)&&(Jn=this.state.value,this.next());const zi=this.flowParseObjectTypeProperty(bn,Yt,Pr,Dn,Jn,H,we??!et);zi===null?(St=!0,kn=this.state.lastTokStartLoc):Ue.properties.push(zi)}this.flowObjectTypeSemicolon(),!kn||this.match(8)||this.match(9)||this.raise(qt.UnexpectedExplicitInexactInObject,kn)}this.expect(Ke),H&&(Ue.inexact=St);const Jt=this.finishNode(Ue,"ObjectTypeAnnotation");return this.state.inType=De,Jt}flowParseObjectTypeProperty(c,y,P,H,Y,we,De){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(we?De||this.raise(qt.InexactInsideExact,this.state.lastTokStartLoc):this.raise(qt.InexactInsideNonObject,this.state.lastTokStartLoc),H&&this.raise(qt.InexactVariance,H),null):(we||this.raise(qt.UnexpectedSpreadType,this.state.lastTokStartLoc),P!=null&&this.unexpected(P),H&&this.raise(qt.SpreadVariance,H),c.argument=this.flowParseType(),this.finishNode(c,"ObjectTypeSpreadProperty"));{c.key=this.flowParseObjectPropertyKey(),c.static=y,c.proto=P!=null,c.kind=Y;let Ue=!1;return this.match(47)||this.match(10)?(c.method=!0,P!=null&&this.unexpected(P),H&&this.unexpected(H.loc.start),c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start)),Y!=="get"&&Y!=="set"||this.flowCheckGetterSetterParams(c),!we&&c.key.name==="constructor"&&c.value.this&&this.raise(qt.ThisParamBannedInConstructor,c.value.this)):(Y!=="init"&&this.unexpected(),c.method=!1,this.eat(17)&&(Ue=!0),c.value=this.flowParseTypeInitialiser(),c.variance=H),c.optional=Ue,this.finishNode(c,"ObjectTypeProperty")}}flowCheckGetterSetterParams(c){const y=c.kind==="get"?0:1,P=c.value.params.length+(c.value.rest?1:0);c.value.this&&this.raise(c.kind==="get"?qt.GetterMayNotHaveThisParam:qt.SetterMayNotHaveThisParam,c.value.this),P!==y&&this.raise(c.kind==="get"?g.BadGetterArity:g.BadSetterArity,c),c.kind==="set"&&c.value.rest&&this.raise(g.BadSetterRestParameter,c)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(c,y){c!=null||(c=this.state.startLoc);let P=y||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const H=this.startNodeAt(c);H.qualification=P,H.id=this.flowParseRestrictedIdentifier(!0),P=this.finishNode(H,"QualifiedTypeIdentifier")}return P}flowParseGenericType(c,y){const P=this.startNodeAt(c);return P.typeParameters=null,P.id=this.flowParseQualifiedTypeIdentifier(c,y),this.match(47)&&(P.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(P,"GenericTypeAnnotation")}flowParseTypeofType(){const c=this.startNode();return this.expect(87),c.argument=this.flowParsePrimaryType(),this.finishNode(c,"TypeofTypeAnnotation")}flowParseTupleType(){const c=this.startNode();for(c.types=[],this.expect(0);this.state.pos0&&arguments[0]!==void 0?arguments[0]:[],y=null,P=null;for(this.match(78)&&(P=this.flowParseFunctionTypeParam(!0),P.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(y=this.flowParseFunctionTypeParam(!1)),{params:c,rest:y,_this:P}}flowIdentToTypeAnnotation(c,y,P){switch(P.name){case"any":return this.finishNode(y,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(y,"BooleanTypeAnnotation");case"mixed":return this.finishNode(y,"MixedTypeAnnotation");case"empty":return this.finishNode(y,"EmptyTypeAnnotation");case"number":return this.finishNode(y,"NumberTypeAnnotation");case"string":return this.finishNode(y,"StringTypeAnnotation");case"symbol":return this.finishNode(y,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(P.name),this.flowParseGenericType(c,P)}}flowParsePrimaryType(){const c=this.state.startLoc,y=this.startNode();let P,H,Y=!1;const we=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,H=this.flowParseTupleType(),this.state.noAnonFunctionType=we,H;case 47:return y.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),P=this.flowParseFunctionTypeParams(),y.params=P.params,y.rest=P.rest,y.this=P._this,this.expect(11),this.expect(19),y.returnType=this.flowParseType(),this.finishNode(y,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(oe(this.state.type)||this.match(78)){const De=this.lookahead().type;Y=De!==17&&De!==14}else Y=!0;if(Y){if(this.state.noAnonFunctionType=!1,H=this.flowParseType(),this.state.noAnonFunctionType=we,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),H;this.eat(12)}return P=H?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(H)]):this.flowParseFunctionTypeParams(),y.params=P.params,y.rest=P.rest,y.this=P._this,this.expect(11),this.expect(19),y.returnType=this.flowParseType(),y.typeParameters=null,this.finishNode(y,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return y.value=this.match(85),this.next(),this.finishNode(y,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",y);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",y);throw this.raise(qt.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(y,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(y,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(y,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(y,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(se(this.state.type)){const De=ye(this.state.type);return this.next(),super.createIdentifier(y,De)}if(oe(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(c,y,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const c=this.state.startLoc;let y=this.flowParsePrimaryType(),P=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const H=this.startNodeAt(c),Y=this.eat(18);P=P||Y,this.expect(0),!Y&&this.match(3)?(H.elementType=y,this.next(),y=this.finishNode(H,"ArrayTypeAnnotation")):(H.objectType=y,H.indexType=this.flowParseType(),this.expect(3),P?(H.optional=Y,y=this.finishNode(H,"OptionalIndexedAccessType")):y=this.finishNode(H,"IndexedAccessType"))}return y}flowParsePrefixType(){const c=this.startNode();return this.eat(17)?(c.typeAnnotation=this.flowParsePrefixType(),this.finishNode(c,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const c=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const y=this.startNodeAt(c.loc.start);return y.params=[this.reinterpretTypeAsFunctionTypeParam(c)],y.rest=null,y.this=null,y.returnType=this.flowParseType(),y.typeParameters=null,this.finishNode(y,"FunctionTypeAnnotation")}return c}flowParseIntersectionType(){const c=this.startNode();this.eat(45);const y=this.flowParseAnonFunctionWithoutParens();for(c.types=[y];this.eat(45);)c.types.push(this.flowParseAnonFunctionWithoutParens());return c.types.length===1?y:this.finishNode(c,"IntersectionTypeAnnotation")}flowParseUnionType(){const c=this.startNode();this.eat(43);const y=this.flowParseIntersectionType();for(c.types=[y];this.eat(43);)c.types.push(this.flowParseIntersectionType());return c.types.length===1?y:this.finishNode(c,"UnionTypeAnnotation")}flowParseType(){const c=this.state.inType;this.state.inType=!0;const y=this.flowParseUnionType();return this.state.inType=c,y}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const c=this.state.startLoc,y=this.parseIdentifier();return this.flowParseGenericType(c,y)}return this.flowParseType()}flowParseTypeAnnotation(){const c=this.startNode();return c.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(c,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(c){const y=c?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(y.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(y)),y}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.loc.end),c.expression}flowParseVariance(){let c=null;return this.match(53)?(c=this.startNode(),this.state.value==="+"?c.kind="plus":c.kind="minus",this.next(),this.finishNode(c,"Variance")):c}parseFunctionBody(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];y?this.forwardNoArrowParamsConversionAt(c,()=>super.parseFunctionBody(c,!0,P)):super.parseFunctionBody(c,!1,P)}parseFunctionBodyAndFinish(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(this.match(14)){const H=this.startNode();[H.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),c.returnType=H.typeAnnotation?this.finishNode(H,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(c,y,P)}parseStatementLike(c){if(this.state.strict&&this.isContextual(129)){if(ce(this.lookahead().type)){const P=this.startNode();return this.next(),this.flowParseInterface(P)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const P=this.startNode();return this.next(),this.flowParseEnumDeclaration(P)}const y=super.parseStatementLike(c);return this.flowPragma!==void 0||this.isValidDirective(y)||(this.flowPragma=null),y}parseExpressionStatement(c,y,P){if(y.type==="Identifier"){if(y.name==="declare"){if(this.match(80)||oe(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(c)}else if(oe(this.state.type)){if(y.name==="interface")return this.flowParseInterface(c);if(y.name==="type")return this.flowParseTypeAlias(c);if(y.name==="opaque")return this.flowParseOpaqueType(c,!1)}}return super.parseExpressionStatement(c,y,P)}shouldParseExportDeclaration(){const{type:c}=this.state;return Se(c)||this.shouldParseEnums()&&c===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:c}=this.state;return Se(c)||this.shouldParseEnums()&&c===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const c=this.startNode();return this.next(),this.flowParseEnumDeclaration(c)}return super.parseExportDefaultExpression()}parseConditional(c,y,P){if(!this.match(17))return c;if(this.state.maybeInArrowParameters){const St=this.lookaheadCharCode();if(St===44||St===61||St===58||St===41)return this.setOptionalParametersError(P),c}this.expect(17);const H=this.state.clone(),Y=this.state.noArrowAt,we=this.startNodeAt(y);let{consequent:De,failed:Ue}=this.tryParseConditionalConsequent(),[Ke,et]=this.getArrowLikeExpressions(De);if(Ue||et.length>0){const St=[...Y];if(et.length>0){this.state=H,this.state.noArrowAt=St;for(let Jt=0;Jt1&&this.raise(qt.AmbiguousConditionalArrow,H.startLoc),Ue&&Ke.length===1&&(this.state=H,St.push(Ke[0].start),this.state.noArrowAt=St,{consequent:De,failed:Ue}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(De,!0),this.state.noArrowAt=Y,this.expect(14),we.test=c,we.consequent=De,we.alternate=this.forwardNoArrowParamsConversionAt(we,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(we,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const c=this.parseMaybeAssignAllowIn(),y=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:c,failed:y}}getArrowLikeExpressions(c,y){const P=[c],H=[];for(;P.length!==0;){const Y=P.pop();Y.type==="ArrowFunctionExpression"?(Y.typeParameters||!Y.returnType?this.finishArrowValidation(Y):H.push(Y),P.push(Y.body)):Y.type==="ConditionalExpression"&&(P.push(Y.consequent),P.push(Y.alternate))}return y?(H.forEach(Y=>this.finishArrowValidation(Y)),[H,[]]):function(Y,we){const De=[],Ue=[];for(let Ke=0;KeY.params.every(we=>this.isAssignable(we,!0)))}finishArrowValidation(c){var y;this.toAssignableList(c.params,(y=c.extra)==null?void 0:y.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(c,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(c,y){let P;return this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),P=y(),this.state.noArrowParamsConversionAt.pop()):P=y(),P}parseParenItem(c,y){if(c=super.parseParenItem(c,y),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const P=this.startNodeAt(y);return P.expression=c,P.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(P,"TypeCastExpression")}return c}assertModuleNodeAllowed(c){c.type==="ImportDeclaration"&&(c.importKind==="type"||c.importKind==="typeof")||c.type==="ExportNamedDeclaration"&&c.exportKind==="type"||c.type==="ExportAllDeclaration"&&c.exportKind==="type"||super.assertModuleNodeAllowed(c)}parseExportDeclaration(c){if(this.isContextual(130)){c.exportKind="type";const y=this.startNode();return this.next(),this.match(5)?(c.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(c),null):this.flowParseTypeAlias(y)}if(this.isContextual(131)){c.exportKind="type";const y=this.startNode();return this.next(),this.flowParseOpaqueType(y,!1)}if(this.isContextual(129)){c.exportKind="type";const y=this.startNode();return this.next(),this.flowParseInterface(y)}if(this.shouldParseEnums()&&this.isContextual(126)){c.exportKind="value";const y=this.startNode();return this.next(),this.flowParseEnumDeclaration(y)}return super.parseExportDeclaration(c)}eatExportStar(c){return!!super.eatExportStar(c)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(c.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(c){const{startLoc:y}=this.state,P=super.maybeParseExportNamespaceSpecifier(c);return P&&c.exportKind==="type"&&this.unexpected(y),P}parseClassId(c,y,P){super.parseClassId(c,y,P),this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(c,y,P){const{startLoc:H}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(c,y))return;y.declare=!0}super.parseClassMember(c,y,P),y.declare&&(y.type!=="ClassProperty"&&y.type!=="ClassPrivateProperty"&&y.type!=="PropertyDefinition"?this.raise(qt.DeclareClassElement,H):y.value&&this.raise(qt.DeclareClassFieldInitializer,y.value))}isIterator(c){return c==="iterator"||c==="asyncIterator"}readIterator(){const c=super.readWord1(),y="@@"+c;this.isIterator(c)&&this.state.inType||this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:y}),this.finishToken(132,y)}getTokenFromCode(c){const y=this.input.charCodeAt(this.state.pos+1);c===123&&y===124?this.finishOp(6,2):!this.state.inType||c!==62&&c!==60?this.state.inType&&c===63?y===46?this.finishOp(18,2):this.finishOp(17,1):function(P,H,Y){return P===64&&H===64&&ke(Y)}(c,y,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(c):this.finishOp(c===62?48:47,1)}isAssignable(c,y){return c.type==="TypeCastExpression"?this.isAssignable(c.expression,y):super.isAssignable(c,y)}toAssignable(c){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];y||c.type!=="AssignmentExpression"||c.left.type!=="TypeCastExpression"||(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,y)}toAssignableList(c,y,P){for(let H=0;H1)&&y||this.raise(qt.TypeCastInPattern,Y.typeAnnotation)}return c}parseArrayLike(c,y,P,H){const Y=super.parseArrayLike(c,y,P,H);return y&&!this.state.maybeInArrowParameters&&this.toReferencedList(Y.elements),Y}isValidLVal(c,y,P){return c==="TypeCastExpression"||super.isValidLVal(c,y,P)}parseClassProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(c)}parseClassPrivateProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(c){return!this.match(14)&&super.isNonstaticConstructor(c)}pushClassMethod(c,y,P,H,Y,we){if(y.variance&&this.unexpected(y.variance.loc.start),delete y.variance,this.match(47)&&(y.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(c,y,P,H,Y,we),y.params&&Y){const De=y.params;De.length>0&&this.isThisParam(De[0])&&this.raise(qt.ThisParamBannedInConstructor,y)}else if(y.type==="MethodDefinition"&&Y&&y.value.params){const De=y.value.params;De.length>0&&this.isThisParam(De[0])&&this.raise(qt.ThisParamBannedInConstructor,y)}}pushClassPrivateMethod(c,y,P,H){y.variance&&this.unexpected(y.variance.loc.start),delete y.variance,this.match(47)&&(y.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(c,y,P,H)}parseClassSuper(c){if(super.parseClassSuper(c),c.superClass&&this.match(47)&&(c.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const y=c.implements=[];do{const P=this.startNode();P.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?P.typeParameters=this.flowParseTypeParameterInstantiation():P.typeParameters=null,y.push(this.finishNode(P,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(c){super.checkGetterSetterParams(c);const y=this.getObjectOrClassMethodParams(c);if(y.length>0){const P=y[0];this.isThisParam(P)&&c.kind==="get"?this.raise(qt.GetterMayNotHaveThisParam,P):this.isThisParam(P)&&this.raise(qt.SetterMayNotHaveThisParam,P)}}parsePropertyNamePrefixOperator(c){c.variance=this.flowParseVariance()}parseObjPropValue(c,y,P,H,Y,we,De){let Ue;c.variance&&this.unexpected(c.variance.loc.start),delete c.variance,this.match(47)&&!we&&(Ue=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const Ke=super.parseObjPropValue(c,y,P,H,Y,we,De);return Ue&&((Ke.value||Ke).typeParameters=Ue),Ke}parseAssignableListItemTypes(c){return this.eat(17)&&(c.type!=="Identifier"&&this.raise(qt.PatternIsOptional,c),this.isThisParam(c)&&this.raise(qt.ThisParamMayNotBeOptional,c),c.optional=!0),this.match(14)?c.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(c)&&this.raise(qt.ThisParamAnnotationRequired,c),this.match(29)&&this.isThisParam(c)&&this.raise(qt.ThisParamNoDefault,c),this.resetEndLocation(c),c}parseMaybeDefault(c,y){const P=super.parseMaybeDefault(c,y);return P.type==="AssignmentPattern"&&P.typeAnnotation&&P.right.startsuper.parseMaybeAssign(c,y),Y),!H.error)return H.node;const{context:Ue}=this.state,Ke=Ue[Ue.length-1];Ke!==O.j_oTag&&Ke!==O.j_expr||Ue.pop()}if((P=H)!=null&&P.error||this.match(47)){var we,De;let Ue;Y=Y||this.state.clone();const Ke=this.tryParse(St=>{var Jt;Ue=this.flowParseTypeParameterDeclaration();const Yt=this.forwardNoArrowParamsConversionAt(Ue,()=>{const kn=super.parseMaybeAssign(c,y);return this.resetStartLocationFromNode(kn,Ue),kn});(Jt=Yt.extra)!=null&&Jt.parenthesized&&St();const Pr=this.maybeUnwrapTypeCastExpression(Yt);return Pr.type!=="ArrowFunctionExpression"&&St(),Pr.typeParameters=Ue,this.resetStartLocationFromNode(Pr,Ue),Yt},Y);let et=null;if(Ke.node&&this.maybeUnwrapTypeCastExpression(Ke.node).type==="ArrowFunctionExpression"){if(!Ke.error&&!Ke.aborted)return Ke.node.async&&this.raise(qt.UnexpectedTypeParameterBeforeAsyncArrowFunction,Ue),Ke.node;et=Ke.node}if((we=H)!=null&&we.node)return this.state=H.failState,H.node;if(et)return this.state=Ke.failState,et;throw(De=H)!=null&&De.thrown?H.error:Ke.thrown?Ke.error:this.raise(qt.UnexpectedTokenAfterTypeParameter,Ue)}return super.parseMaybeAssign(c,y)}parseArrow(c){if(this.match(14)){const y=this.tryParse(()=>{const P=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const H=this.startNode();return[H.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=P,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),H});if(y.thrown)return null;y.error&&(this.state=y.failState),c.returnType=y.node.typeAnnotation?this.finishNode(y.node,"TypeAnnotation"):null}return super.parseArrow(c)}shouldParseArrow(c){return this.match(14)||super.shouldParseArrow(c)}setArrowFunctionParameters(c,y){this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?c.params=y:super.setArrowFunctionParameters(c,y)}checkParams(c,y,P){let H=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!P||this.state.noArrowParamsConversionAt.indexOf(c.start)===-1){for(let Y=0;Y0&&this.raise(qt.ThisParamMustBeFirst,c.params[Y]);super.checkParams(c,y,P,H)}}parseParenAndDistinguishExpression(c){return super.parseParenAndDistinguishExpression(c&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(c,y,P){if(c.type==="Identifier"&&c.name==="async"&&this.state.noArrowAt.indexOf(y.index)!==-1){this.next();const H=this.startNodeAt(y);H.callee=c,H.arguments=super.parseCallExpressionArguments(11,!1),c=this.finishNode(H,"CallExpression")}else if(c.type==="Identifier"&&c.name==="async"&&this.match(47)){const H=this.state.clone(),Y=this.tryParse(De=>this.parseAsyncArrowWithTypeParameters(y)||De(),H);if(!Y.error&&!Y.aborted)return Y.node;const we=this.tryParse(()=>super.parseSubscripts(c,y,P),H);if(we.node&&!we.error)return we.node;if(Y.node)return this.state=Y.failState,Y.node;if(we.node)return this.state=we.failState,we.node;throw Y.error||we.error}return super.parseSubscripts(c,y,P)}parseSubscript(c,y,P,H){if(this.match(18)&&this.isLookaheadToken_lt()){if(H.optionalChainMember=!0,P)return H.stop=!0,c;this.next();const Y=this.startNodeAt(y);return Y.callee=c,Y.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),Y.arguments=this.parseCallExpressionArguments(11,!1),Y.optional=!0,this.finishCallExpression(Y,!0)}if(!P&&this.shouldParseTypes()&&this.match(47)){const Y=this.startNodeAt(y);Y.callee=c;const we=this.tryParse(()=>(Y.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Y.arguments=super.parseCallExpressionArguments(11,!1),H.optionalChainMember&&(Y.optional=!1),this.finishCallExpression(Y,H.optionalChainMember)));if(we.node)return we.error&&(this.state=we.failState),we.node}return super.parseSubscript(c,y,P,H)}parseNewCallee(c){super.parseNewCallee(c);let y=null;this.shouldParseTypes()&&this.match(47)&&(y=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),c.typeArguments=y}parseAsyncArrowWithTypeParameters(c){const y=this.startNodeAt(c);if(this.parseFunctionParams(y,!1),this.parseArrow(y))return super.parseArrowExpression(y,void 0,!0)}readToken_mult_modulo(c){const y=this.input.charCodeAt(this.state.pos+1);if(c===42&&y===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(c)}readToken_pipe_amp(c){const y=this.input.charCodeAt(this.state.pos+1);c!==124||y!==125?super.readToken_pipe_amp(c):this.finishOp(9,2)}parseTopLevel(c,y){const P=super.parseTopLevel(c,y);return this.state.hasFlowComment&&this.raise(qt.UnterminatedFlowComment,this.state.curPosition()),P}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(qt.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const c=this.skipFlowComment();c&&(this.state.pos+=c,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:c}=this.state;let y=2;for(;[32,9].includes(this.input.charCodeAt(c+y));)y++;const P=this.input.charCodeAt(y+c),H=this.input.charCodeAt(y+c+1);return P===58&&H===58?y+2:this.input.slice(y+c,y+c+12)==="flow-include"?y+12:P===58&&H!==58&&y}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(c,y){let{enumName:P,memberName:H}=y;this.raise(qt.EnumBooleanMemberNotInitialized,c,{memberName:H,enumName:P})}flowEnumErrorInvalidMemberInitializer(c,y){return this.raise(y.explicitType?y.explicitType==="symbol"?qt.EnumInvalidMemberInitializerSymbolType:qt.EnumInvalidMemberInitializerPrimaryType:qt.EnumInvalidMemberInitializerUnknownType,c,y)}flowEnumErrorNumberMemberNotInitialized(c,y){this.raise(qt.EnumNumberMemberNotInitialized,c,y)}flowEnumErrorStringMemberInconsistentlyInitialized(c,y){this.raise(qt.EnumStringMemberInconsistentlyInitialized,c,y)}flowEnumMemberInit(){const c=this.state.startLoc,y=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const P=this.parseNumericLiteral(this.state.value);return y()?{type:"number",loc:P.loc.start,value:P}:{type:"invalid",loc:c}}case 133:{const P=this.parseStringLiteral(this.state.value);return y()?{type:"string",loc:P.loc.start,value:P}:{type:"invalid",loc:c}}case 85:case 86:{const P=this.parseBooleanLiteral(this.match(85));return y()?{type:"boolean",loc:P.loc.start,value:P}:{type:"invalid",loc:c}}default:return{type:"invalid",loc:c}}}flowEnumMemberRaw(){const c=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:c}}}flowEnumCheckExplicitTypeMismatch(c,y,P){const{explicitType:H}=y;H!==null&&H!==P&&this.flowEnumErrorInvalidMemberInitializer(c,y)}flowEnumMembers(c){let{enumName:y,explicitType:P}=c;const H=new Set,Y={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let we=!1;for(;!this.match(8);){if(this.eat(21)){we=!0;break}const De=this.startNode(),{id:Ue,init:Ke}=this.flowEnumMemberRaw(),et=Ue.name;if(et==="")continue;/^[a-z]/.test(et)&&this.raise(qt.EnumInvalidMemberName,Ue,{memberName:et,suggestion:et[0].toUpperCase()+et.slice(1),enumName:y}),H.has(et)&&this.raise(qt.EnumDuplicateMemberName,Ue,{memberName:et,enumName:y}),H.add(et);const St={enumName:y,explicitType:P,memberName:et};switch(De.id=Ue,Ke.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,St,"boolean"),De.init=Ke.value,Y.booleanMembers.push(this.finishNode(De,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,St,"number"),De.init=Ke.value,Y.numberMembers.push(this.finishNode(De,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,St,"string"),De.init=Ke.value,Y.stringMembers.push(this.finishNode(De,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Ke.loc,St);case"none":switch(P){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Ke.loc,St);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Ke.loc,St);break;default:Y.defaultedMembers.push(this.finishNode(De,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:Y,hasUnknownMembers:we}}flowEnumStringMembers(c,y,P){let{enumName:H}=P;if(c.length===0)return y;if(y.length===0)return c;if(y.length>c.length){for(const Y of c)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:H});return y}for(const Y of y)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:H});return c}flowEnumParseExplicitType(c){let{enumName:y}=c;if(!this.eatContextual(102))return null;if(!oe(this.state.type))throw this.raise(qt.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:y});const{value:P}=this.state;return this.next(),P!=="boolean"&&P!=="number"&&P!=="string"&&P!=="symbol"&&this.raise(qt.EnumInvalidExplicitType,this.state.startLoc,{enumName:y,invalidEnumType:P}),P}flowEnumBody(c,y){const P=y.name,H=y.loc.start,Y=this.flowEnumParseExplicitType({enumName:P});this.expect(5);const{members:we,hasUnknownMembers:De}=this.flowEnumMembers({enumName:P,explicitType:Y});switch(c.hasUnknownMembers=De,Y){case"boolean":return c.explicitType=!0,c.members=we.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody");case"number":return c.explicitType=!0,c.members=we.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody");case"string":return c.explicitType=!0,c.members=this.flowEnumStringMembers(we.stringMembers,we.defaultedMembers,{enumName:P}),this.expect(8),this.finishNode(c,"EnumStringBody");case"symbol":return c.members=we.defaultedMembers,this.expect(8),this.finishNode(c,"EnumSymbolBody");default:{const Ue=()=>(c.members=[],this.expect(8),this.finishNode(c,"EnumStringBody"));c.explicitType=!1;const Ke=we.booleanMembers.length,et=we.numberMembers.length,St=we.stringMembers.length,Jt=we.defaultedMembers.length;if(Ke||et||St||Jt){if(Ke||et){if(!et&&!St&&Ke>=Jt){for(const Yt of we.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Yt.loc.start,{enumName:P,memberName:Yt.id.name});return c.members=we.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody")}if(!Ke&&!St&&et>=Jt){for(const Yt of we.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Yt.loc.start,{enumName:P,memberName:Yt.id.name});return c.members=we.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody")}return this.raise(qt.EnumInconsistentMemberValues,H,{enumName:P}),Ue()}return c.members=this.flowEnumStringMembers(we.stringMembers,we.defaultedMembers,{enumName:P}),this.expect(8),this.finishNode(c,"EnumStringBody")}return Ue()}}}flowParseEnumDeclaration(c){const y=this.parseIdentifier();return c.id=y,c.body=this.flowEnumBody(this.startNode(),y),this.finishNode(c,"EnumDeclaration")}isLookaheadToken_lt(){const c=this.nextTokenStart();if(this.input.charCodeAt(c)===60){const y=this.input.charCodeAt(c+1);return y!==60&&y!==61}return!1}maybeUnwrapTypeCastExpression(c){return c.type==="TypeCastExpression"?c.expression:c}},typescript:Te=>class extends Te{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Pt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Pt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Pt.InvalidModifierOnTypeParameter})}getScopeHandler(){return Hn}tsIsIdentifier(){return oe(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(c,y){if(!oe(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const P=this.state.value;if(c.indexOf(P)!==-1){if(y&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return P}}tsParseModifiers(c,y){let{allowedModifiers:P,disallowedModifiers:H,stopOnStartOfClassStaticBlock:Y,errorTemplate:we=Pt.InvalidModifierOnTypeMember}=c;const De=(Ke,et,St,Jt)=>{et===St&&y[Jt]&&this.raise(Pt.InvalidModifiersOrder,Ke,{orderedModifiers:[St,Jt]})},Ue=(Ke,et,St,Jt)=>{(y[St]&&et===Jt||y[Jt]&&et===St)&&this.raise(Pt.IncompatibleModifiers,Ke,{modifiers:[St,Jt]})};for(;;){const{startLoc:Ke}=this.state,et=this.tsParseModifier(P.concat(H??[]),Y);if(!et)break;Vs(et)?y.accessibility?this.raise(Pt.DuplicateAccessibilityModifier,Ke,{modifier:et}):(De(Ke,et,et,"override"),De(Ke,et,et,"static"),De(Ke,et,et,"readonly"),y.accessibility=et):In(et)?(y[et]&&this.raise(Pt.DuplicateModifier,Ke,{modifier:et}),y[et]=!0,De(Ke,et,"in","out")):(Object.hasOwnProperty.call(y,et)?this.raise(Pt.DuplicateModifier,Ke,{modifier:et}):(De(Ke,et,"static","readonly"),De(Ke,et,"static","override"),De(Ke,et,"override","readonly"),De(Ke,et,"abstract","override"),Ue(Ke,et,"declare","override"),Ue(Ke,et,"static","abstract")),y[et]=!0),H!=null&&H.includes(et)&&this.raise(we,Ke,{modifier:et})}}tsIsListTerminator(c){switch(c){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(c,y){const P=[];for(;!this.tsIsListTerminator(c);)P.push(y());return P}tsParseDelimitedList(c,y,P){return function(H){if(H==null)throw new Error(`Unexpected ${H} value.`);return H}(this.tsParseDelimitedListWorker(c,y,!0,P))}tsParseDelimitedListWorker(c,y,P,H){const Y=[];let we=-1;for(;!this.tsIsListTerminator(c);){we=-1;const De=y();if(De==null)return;if(Y.push(De),!this.eat(12)){if(this.tsIsListTerminator(c))break;return void(P&&this.expect(12))}we=this.state.lastTokStartLoc.index}return H&&(H.value=we),Y}tsParseBracketedList(c,y,P,H,Y){H||(P?this.expect(0):this.expect(47));const we=this.tsParseDelimitedList(c,y,Y);return P?this.expect(3):this.expect(48),we}tsParseImportType(){const c=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Pt.UnsupportedImportTypeArgument,this.state.startLoc),c.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(c.qualifier=this.tsParseEntityName()),this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSImportType")}tsParseEntityName(){let c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],y=this.parseIdentifier(c);for(;this.eat(16);){const P=this.startNodeAtNode(y);P.left=y,P.right=this.parseIdentifier(c),y=this.finishNode(P,"TSQualifiedName")}return y}tsParseTypeReference(){const c=this.startNode();return c.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeReference")}tsParseThisTypePredicate(c){this.next();const y=this.startNodeAtNode(c);return y.parameterName=c,y.typeAnnotation=this.tsParseTypeAnnotation(!1),y.asserts=!1,this.finishNode(y,"TSTypePredicate")}tsParseThisTypeNode(){const c=this.startNode();return this.next(),this.finishNode(c,"TSThisType")}tsParseTypeQuery(){const c=this.startNode();return this.expect(87),this.match(83)?c.exprName=this.tsParseImportType():c.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeQuery")}tsParseTypeParameter(c){const y=this.startNode();return c(y),y.name=this.tsParseTypeParameterName(),y.constraint=this.tsEatThenParseType(81),y.default=this.tsEatThenParseType(29),this.finishNode(y,"TSTypeParameter")}tsTryParseTypeParameters(c){if(this.match(47))return this.tsParseTypeParameters(c)}tsParseTypeParameters(c){const y=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const P={value:-1};return y.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,P),y.params.length===0&&this.raise(Pt.EmptyTypeParameters,y),P.value!==-1&&this.addExtra(y,"trailingComma",P.value),this.finishNode(y,"TSTypeParameterDeclaration")}tsFillSignature(c,y){const P=c===19;y.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),y.parameters=this.tsParseBindingListForSignature(),(P||this.match(c))&&(y.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(c))}tsParseBindingListForSignature(){const c=super.parseBindingList(11,41,2);for(const y of c){const{type:P}=y;P!=="AssignmentPattern"&&P!=="TSParameterProperty"||this.raise(Pt.UnsupportedSignatureParameterKind,y,{type:P})}return c}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(c,y){return this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon(),this.finishNode(y,c)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!oe(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(c){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const y=this.parseIdentifier();y.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(y),this.expect(3),c.parameters=[y];const P=this.tsTryParseTypeAnnotation();return P&&(c.typeAnnotation=P),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParsePropertyOrMethodSignature(c,y){this.eat(17)&&(c.optional=!0);const P=c;if(this.match(10)||this.match(47)){y&&this.raise(Pt.ReadonlyForMethodSignature,c);const H=P;H.kind&&this.match(47)&&this.raise(Pt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,H),this.tsParseTypeMemberSemicolon();const Y="parameters",we="typeAnnotation";if(H.kind==="get")H[Y].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(H[Y][0])&&this.raise(Pt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(H.kind==="set"){if(H[Y].length!==1)this.raise(g.BadSetterArity,this.state.curPosition());else{const De=H[Y][0];this.isThisParam(De)&&this.raise(Pt.AccesorCannotDeclareThisParameter,this.state.curPosition()),De.type==="Identifier"&&De.optional&&this.raise(Pt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),De.type==="RestElement"&&this.raise(Pt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}H[we]&&this.raise(Pt.SetAccesorCannotHaveReturnType,H[we])}else H.kind="method";return this.finishNode(H,"TSMethodSignature")}{const H=P;y&&(H.readonly=!0);const Y=this.tsTryParseTypeAnnotation();return Y&&(H.typeAnnotation=Y),this.tsParseTypeMemberSemicolon(),this.finishNode(H,"TSPropertySignature")}}tsParseTypeMember(){const c=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(77)){const y=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(y,"new"),this.tsParsePropertyOrMethodSignature(c,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},c),this.tsTryParseIndexSignature(c)||(super.parsePropertyName(c),c.computed||c.key.type!=="Identifier"||c.key.name!=="get"&&c.key.name!=="set"||!this.tsTokenCanFollowModifier()||(c.kind=c.key.name,super.parsePropertyName(c)),this.tsParsePropertyOrMethodSignature(c,!!c.readonly))}tsParseTypeLiteral(){const c=this.startNode();return c.members=this.tsParseObjectTypeMembers(),this.finishNode(c,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const c=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),c}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))))}tsParseMappedTypeParameter(){const c=this.startNode();return c.name=this.tsParseTypeParameterName(),c.constraint=this.tsExpectThenParseType(58),this.finishNode(c,"TSTypeParameter")}tsParseMappedType(){const c=this.startNode();return this.expect(5),this.match(53)?(c.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(c.readonly=!0),this.expect(0),c.typeParameter=this.tsParseMappedTypeParameter(),c.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(c.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(c.optional=!0),c.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(c,"TSMappedType")}tsParseTupleType(){const c=this.startNode();c.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let y=!1;return c.elementTypes.forEach(P=>{const{type:H}=P;!y||H==="TSRestType"||H==="TSOptionalType"||H==="TSNamedTupleMember"&&P.optional||this.raise(Pt.OptionalTypeBeforeRequired,P),y||(y=H==="TSNamedTupleMember"&&P.optional||H==="TSOptionalType")}),this.finishNode(c,"TSTupleType")}tsParseTupleElementType(){const{startLoc:c}=this.state,y=this.eat(21);let P,H,Y,we;const De=ce(this.state.type)?this.lookaheadCharCode():null;if(De===58)P=!0,Y=!1,H=this.parseIdentifier(!0),this.expect(14),we=this.tsParseType();else if(De===63){Y=!0;const Ue=this.state.startLoc,Ke=this.state.value,et=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(P=!0,H=this.createIdentifier(this.startNodeAt(Ue),Ke),this.expect(17),this.expect(14),we=this.tsParseType()):(P=!1,we=et,this.expect(17))}else we=this.tsParseType(),Y=this.eat(17),P=this.eat(14);if(P){let Ue;H?(Ue=this.startNodeAtNode(H),Ue.optional=Y,Ue.label=H,Ue.elementType=we,this.eat(17)&&(Ue.optional=!0,this.raise(Pt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(Ue=this.startNodeAtNode(we),Ue.optional=Y,this.raise(Pt.InvalidTupleMemberLabel,we),Ue.label=we,Ue.elementType=this.tsParseType()),we=this.finishNode(Ue,"TSNamedTupleMember")}else if(Y){const Ue=this.startNodeAtNode(we);Ue.typeAnnotation=we,we=this.finishNode(Ue,"TSOptionalType")}if(y){const Ue=this.startNodeAt(c);Ue.typeAnnotation=we,we=this.finishNode(Ue,"TSRestType")}return we}tsParseParenthesizedType(){const c=this.startNode();return this.expect(10),c.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(c,"TSParenthesizedType")}tsParseFunctionOrConstructorType(c,y){const P=this.startNode();return c==="TSConstructorType"&&(P.abstract=!!y,y&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,P)),this.finishNode(P,c)}tsParseLiteralTypeNode(){const c=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:c.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(c,"TSLiteralType")}tsParseTemplateLiteralType(){const c=this.startNode();return c.literal=super.parseTemplate(!1),this.finishNode(c,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const c=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(c):c}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const c=this.startNode(),y=this.lookahead();return y.type!==134&&y.type!==135&&this.unexpected(),c.literal=this.parseMaybeUnary(),this.finishNode(c,"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:c}=this.state;if(oe(c)||c===88||c===84){const y=c===88?"TSVoidKeyword":c===84?"TSNullKeyword":function(P){switch(P){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(y!==void 0&&this.lookaheadCharCode()!==46){const P=this.startNode();return this.next(),this.finishNode(P,y)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const y=this.startNodeAtNode(c);y.elementType=c,this.expect(3),c=this.finishNode(y,"TSArrayType")}else{const y=this.startNodeAtNode(c);y.objectType=c,y.indexType=this.tsParseType(),this.expect(3),c=this.finishNode(y,"TSIndexedAccessType")}return c}tsParseTypeOperator(){const c=this.startNode(),y=this.state.value;return this.next(),c.operator=y,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),y==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Pt.UnexpectedReadonly,c)}}tsParseInferType(){const c=this.startNode();this.expectContextual(115);const y=this.startNode();return y.name=this.tsParseTypeParameterName(),y.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),c.typeParameter=this.finishNode(y,"TSTypeParameter"),this.finishNode(c,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const c=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return c}}tsParseTypeOperatorOrHigher(){var c;return(c=this.state.type)>=121&&c<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(c,y,P){const H=this.startNode(),Y=this.eat(P),we=[];do we.push(y());while(this.eat(P));return we.length!==1||Y?(H.types=we,this.finishNode(H,c)):we[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(oe(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:c}=this.state,y=c.length;try{return this.parseObjectLike(8,!0),c.length===y}catch{return!1}}if(this.match(0)){this.next();const{errors:c}=this.state,y=c.length;try{return super.parseBindingList(3,93,1),c.length===y}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(c){return this.tsInType(()=>{const y=this.startNode();this.expect(c);const P=this.startNode(),H=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(H&&this.match(78)){let De=this.tsParseThisTypeOrThisTypePredicate();return De.type==="TSThisType"?(P.parameterName=De,P.asserts=!0,P.typeAnnotation=null,De=this.finishNode(P,"TSTypePredicate")):(this.resetStartLocationFromNode(De,P),De.asserts=!0),y.typeAnnotation=De,this.finishNode(y,"TSTypeAnnotation")}const Y=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Y)return H?(P.parameterName=this.parseIdentifier(),P.asserts=H,P.typeAnnotation=null,y.typeAnnotation=this.finishNode(P,"TSTypePredicate"),this.finishNode(y,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,y);const we=this.tsParseTypeAnnotation(!1);return P.parameterName=Y,P.typeAnnotation=we,P.asserts=H,y.typeAnnotation=this.finishNode(P,"TSTypePredicate"),this.finishNode(y,"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 c=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),c}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const c=this.state.containsEsc;return this.next(),!(!oe(this.state.type)&&!this.match(78)||(c&&this.raise(g.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{c&&this.expect(14),y.typeAnnotation=this.tsParseType()}),this.finishNode(y,"TSTypeAnnotation")}tsParseType(){Ys(this.state.inType);const c=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return c;const y=this.startNodeAtNode(c);return y.checkType=c,y.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),y.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),y.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(y,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}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(Pt.ReservedTypeAssertion,this.state.startLoc);const c=this.startNode();return c.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),c.expression=this.parseMaybeUnary(),this.finishNode(c,"TSTypeAssertion")}tsParseHeritageClause(c){const y=this.state.startLoc,P=this.tsParseDelimitedList("HeritageClauseElement",()=>{const H=this.startNode();return H.expression=this.tsParseEntityName(),this.match(47)&&(H.typeParameters=this.tsParseTypeArguments()),this.finishNode(H,"TSExpressionWithTypeArguments")});return P.length||this.raise(Pt.EmptyHeritageClauseType,y,{token:c}),P}tsParseInterfaceDeclaration(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(129),y.declare&&(c.declare=!0),oe(this.state.type)?(c.id=this.parseIdentifier(),this.checkIdentifier(c.id,130)):(c.id=null,this.raise(Pt.MissingInterfaceName,this.state.startLoc)),c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(c.extends=this.tsParseHeritageClause("extends"));const P=this.startNode();return P.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),c.body=this.finishNode(P,"TSInterfaceBody"),this.finishNode(c,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(c){return c.id=this.parseIdentifier(),this.checkIdentifier(c.id,2),c.typeAnnotation=this.tsInType(()=>{if(c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const y=this.startNode();return this.next(),this.finishNode(y,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsInNoContext(c){const y=this.state.context;this.state.context=[y[0]];try{return c()}finally{this.state.context=y}}tsInType(c){const y=this.state.inType;this.state.inType=!0;try{return c()}finally{this.state.inType=y}}tsInDisallowConditionalTypesContext(c){const y=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.state.inDisallowConditionalTypesContext=y}}tsInAllowConditionalTypesContext(c){const y=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.state.inDisallowConditionalTypesContext=y}}tsEatThenParseType(c){if(this.match(c))return this.tsNextThenParseType()}tsExpectThenParseType(c){return this.tsInType(()=>(this.expect(c),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const c=this.startNode();return c.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(c.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(c,"TSEnumMember")}tsParseEnumDeclaration(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return y.const&&(c.const=!0),y.declare&&(c.declare=!0),this.expectContextual(126),c.id=this.parseIdentifier(),this.checkIdentifier(c.id,c.const?8971:8459),this.expect(5),c.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(c,"TSEnumDeclaration")}tsParseModuleBlock(){const c=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(c.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(c,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(c){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c.id=this.parseIdentifier(),y||this.checkIdentifier(c.id,1024),this.eat(16)){const P=this.startNode();this.tsParseModuleOrNamespaceDeclaration(P,!0),c.body=P}else this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(c,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(c){return this.isContextual(112)?(c.global=!0,c.id=this.parseIdentifier()):this.match(133)?c.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(c,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(c,y,P){c.isExport=P||!1,c.id=y||this.parseIdentifier(),this.checkIdentifier(c.id,4096),this.expect(29);const H=this.tsParseModuleReference();return c.importKind==="type"&&H.type!=="TSExternalModuleReference"&&this.raise(Pt.ImportAliasHasImportType,H),c.moduleReference=H,this.semicolon(),this.finishNode(c,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const c=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),c.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(c,"TSExternalModuleReference")}tsLookAhead(c){const y=this.state.clone(),P=c();return this.state=y,P}tsTryParseAndCatch(c){const y=this.tryParse(P=>c()||P());if(!y.aborted&&y.node)return y.error&&(this.state=y.failState),y.node}tsTryParse(c){const y=this.state.clone(),P=c();if(P!==void 0&&P!==!1)return P;this.state=y}tsTryParseDeclare(c){if(this.isLineTerminator())return;let y,P=this.state.type;return this.isContextual(100)&&(P=74,y="let"),this.tsInAmbientContext(()=>{switch(P){case 68:return c.declare=!0,super.parseFunctionStatement(c,!1,!1);case 80:return c.declare=!0,this.parseClass(c,!0,!1);case 126:return this.tsParseEnumDeclaration(c,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(c);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(c,{const:!0,declare:!0})):(c.declare=!0,this.parseVarStatement(c,y||this.state.value,!0));case 129:{const H=this.tsParseInterfaceDeclaration(c,{declare:!0});if(H)return H}default:if(oe(P))return this.tsParseDeclaration(c,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(c,y,P){switch(y.name){case"declare":{const H=this.tsTryParseDeclare(c);return H&&(H.declare=!0),H}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const H=c;return H.global=!0,H.id=y,H.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(H,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,y.name,!1,P)}}tsParseDeclaration(c,y,P,H){switch(y){case"abstract":if(this.tsCheckLineTerminator(P)&&(this.match(80)||oe(this.state.type)))return this.tsParseAbstractDeclaration(c,H);break;case"module":if(this.tsCheckLineTerminator(P)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(c);if(oe(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(P)&&oe(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(P)&&oe(this.state.type))return this.tsParseTypeAliasDeclaration(c)}}tsCheckLineTerminator(c){return c?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(c){if(!this.match(47))return;const y=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const P=this.tsTryParseAndCatch(()=>{const H=this.startNodeAt(c);return H.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(H),H.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),H});return this.state.maybeInArrowParameters=y,P?super.parseArrowExpression(P,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const c=this.startNode();return c.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),c.params.length===0?this.raise(Pt.EmptyTypeArguments,c):this.state.inType||this.curContext()!==O.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(c,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(c=this.state.type)>=124&&c<=130;var c}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(c,y){const P=this.state.startLoc,H={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},H);const Y=H.accessibility,we=H.override,De=H.readonly;4&c||!(Y||De||we)||this.raise(Pt.UnexpectedParameterModifier,P);const Ue=this.parseMaybeDefault();this.parseAssignableListItemTypes(Ue,c);const Ke=this.parseMaybeDefault(Ue.loc.start,Ue);if(Y||De||we){const et=this.startNodeAt(P);return y.length&&(et.decorators=y),Y&&(et.accessibility=Y),De&&(et.readonly=De),we&&(et.override=we),Ke.type!=="Identifier"&&Ke.type!=="AssignmentPattern"&&this.raise(Pt.UnsupportedParameterPropertyKind,et),et.parameter=Ke,this.finishNode(et,"TSParameterProperty")}return y.length&&(Ue.decorators=y),Ke}isSimpleParameter(c){return c.type==="TSParameterProperty"&&super.isSimpleParameter(c.parameter)||super.isSimpleParameter(c)}tsDisallowOptionalPattern(c){for(const y of c.params)y.type!=="Identifier"&&y.optional&&!this.state.isAmbientContext&&this.raise(Pt.PatternIsOptional,y)}setArrowFunctionParameters(c,y,P){super.setArrowFunctionParameters(c,y,P),this.tsDisallowOptionalPattern(c)}parseFunctionBodyAndFinish(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.match(14)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const H=y==="FunctionDeclaration"?"TSDeclareFunction":y==="ClassMethod"||y==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return H&&!this.match(5)&&this.isLineTerminator()?this.finishNode(c,H):H==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Pt.DeclareFunctionHasImplementation,c),c.declare)?super.parseFunctionBodyAndFinish(c,H,P):(this.tsDisallowOptionalPattern(c),super.parseFunctionBodyAndFinish(c,y,P))}registerFunctionStatementId(c){!c.body&&c.id?this.checkIdentifier(c.id,1024):super.registerFunctionStatementId(c)}tsCheckForInvalidTypeCasts(c){c.forEach(y=>{y?.type==="TSTypeCastExpression"&&this.raise(Pt.UnexpectedTypeAnnotation,y.typeAnnotation)})}toReferencedList(c,y){return this.tsCheckForInvalidTypeCasts(c),c}parseArrayLike(c,y,P,H){const Y=super.parseArrayLike(c,y,P,H);return Y.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(Y.elements),Y}parseSubscript(c,y,P,H){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const we=this.startNodeAt(y);return we.expression=c,this.finishNode(we,"TSNonNullExpression")}let Y=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(P)return H.stop=!0,c;H.optionalChainMember=Y=!0,this.next()}if(this.match(47)||this.match(51)){let we;const De=this.tsTryParseAndCatch(()=>{if(!P&&this.atPossibleAsyncArrow(c)){const St=this.tsTryParseGenericAsyncArrowFunction(y);if(St)return St}const Ue=this.tsParseTypeArgumentsInExpression();if(!Ue)return;if(Y&&!this.match(10))return void(we=this.state.curPosition());if(Me(this.state.type)){const St=super.parseTaggedTemplateExpression(c,y,H);return St.typeParameters=Ue,St}if(!P&&this.eat(10)){const St=this.startNodeAt(y);return St.callee=c,St.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(St.arguments),St.typeParameters=Ue,H.optionalChainMember&&(St.optional=Y),this.finishCallExpression(St,H.optionalChainMember)}const Ke=this.state.type;if(Ke===48||Ke===52||Ke!==10&&ne(Ke)&&!this.hasPrecedingLineBreak())return;const et=this.startNodeAt(y);return et.expression=c,et.typeParameters=Ue,this.finishNode(et,"TSInstantiationExpression")});if(we&&this.unexpected(we,10),De)return De.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Pt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),De}return super.parseSubscript(c,y,P,H)}parseNewCallee(c){var y;super.parseNewCallee(c);const{callee:P}=c;P.type!=="TSInstantiationExpression"||(y=P.extra)!=null&&y.parenthesized||(c.typeParameters=P.typeParameters,c.callee=P.expression)}parseExprOp(c,y,P){let H;if(ge(58)>P&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(H=this.isContextual(120)))){const Y=this.startNodeAt(y);return Y.expression=c,Y.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(H&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(Y,H?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Y,y,P)}return super.parseExprOp(c,y,P)}checkReservedWord(c,y,P,H){this.state.isAmbientContext||super.checkReservedWord(c,y,P,H)}checkImportReflection(c){super.checkImportReflection(c),c.module&&c.importKind!=="value"&&this.raise(Pt.ImportReflectionHasImportType,c.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(c){if(super.isPotentialImportPhase(c))return!0;if(this.isContextual(130)){const y=this.lookaheadCharCode();return c?y===123||y===42:y!==61}return!c&&this.isContextual(87)}applyImportPhase(c,y,P,H){super.applyImportPhase(c,y,P,H),y?c.exportKind=P==="type"?"type":"value":c.importKind=P==="type"||P==="typeof"?P:"value"}parseImport(c){if(this.match(133))return c.importKind="value",super.parseImport(c);let y;if(oe(this.state.type)&&this.lookaheadCharCode()===61)return c.importKind="value",this.tsParseImportEqualsDeclaration(c);if(this.isContextual(130)){const P=this.parseMaybeImportPhase(c,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(c,P);y=super.parseImportSpecifiersAndAfter(c,P)}else y=super.parseImport(c);return y.importKind==="type"&&y.specifiers.length>1&&y.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Pt.TypeImportCannotSpecifyDefaultAndNamed,y),y}parseExport(c,y){if(this.match(83)){this.next();let P=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?P=this.parseMaybeImportPhase(c,!1):c.importKind="value",this.tsParseImportEqualsDeclaration(c,P,!0)}if(this.eat(29)){const P=c;return P.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(P,"TSExportAssignment")}if(this.eatContextual(93)){const P=c;return this.expectContextual(128),P.id=this.parseIdentifier(),this.semicolon(),this.finishNode(P,"TSNamespaceExportDeclaration")}return super.parseExport(c,y)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const c=this.startNode();return this.next(),c.abstract=!0,this.parseClass(c,!0,!0)}if(this.match(129)){const c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseExportDefaultExpression()}parseVarStatement(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{isAmbientContext:H}=this.state,Y=super.parseVarStatement(c,y,P||H);if(!H)return Y;for(const{id:we,init:De}of Y.declarations)De&&(y!=="const"||we.typeAnnotation?this.raise(Pt.InitializerNotAllowedInAmbientContext,De):vi(De,this.hasPlugin("estree"))||this.raise(Pt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,De));return Y}parseStatementContent(c,y){if(this.match(75)&&this.isLookaheadContextual("enum")){const P=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(P,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const P=this.tsParseInterfaceDeclaration(this.startNode());if(P)return P}return super.parseStatementContent(c,y)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(c,y){return y.some(P=>Vs(P)?c.accessibility===P:!!c[P])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(c,y,P){const H=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:H,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Pt.InvalidModifierOnTypeParameterPositions},y);const Y=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(y,H)&&this.raise(Pt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(c,y)):this.parseClassMemberWithIsStatic(c,y,P,!!y.static)};y.declare?this.tsInAmbientContext(Y):Y()}parseClassMemberWithIsStatic(c,y,P,H){const Y=this.tsTryParseIndexSignature(y);if(Y)return c.body.push(Y),y.abstract&&this.raise(Pt.IndexSignatureHasAbstract,y),y.accessibility&&this.raise(Pt.IndexSignatureHasAccessibility,y,{modifier:y.accessibility}),y.declare&&this.raise(Pt.IndexSignatureHasDeclare,y),void(y.override&&this.raise(Pt.IndexSignatureHasOverride,y));!this.state.inAbstractClass&&y.abstract&&this.raise(Pt.NonAbstractClassHasAbstractMethod,y),y.override&&(P.hadSuperClass||this.raise(Pt.OverrideNotInSubClass,y)),super.parseClassMemberWithIsStatic(c,y,P,H)}parsePostMemberNameModifiers(c){this.eat(17)&&(c.optional=!0),c.readonly&&this.match(10)&&this.raise(Pt.ClassMethodHasReadonly,c),c.declare&&this.match(10)&&this.raise(Pt.ClassMethodHasDeclare,c)}parseExpressionStatement(c,y,P){return(y.type==="Identifier"?this.tsParseExpressionStatement(c,y,P):void 0)||super.parseExpressionStatement(c,y,P)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(c,y,P){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(c,y,P);const H=this.tryParse(()=>super.parseConditional(c,y));return H.node?(H.error&&(this.state=H.failState),H.node):(H.error&&super.setOptionalParametersError(P,H.error),c)}parseParenItem(c,y){if(c=super.parseParenItem(c,y),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const P=this.startNodeAt(y);return P.expression=c,P.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(P,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(c));const y=this.state.startLoc,P=this.eatContextual(125);if(P&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Pt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const H=oe(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(c);return H?((H.type==="TSInterfaceDeclaration"||H.type==="TSTypeAliasDeclaration"||P)&&(c.exportKind="type"),P&&(this.resetStartLocation(H,y),H.declare=!0),H):null}parseClassId(c,y,P,H){if((!y||P)&&this.isContextual(113))return;super.parseClassId(c,y,P,c.declare?1024:8331);const Y=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);Y&&(c.typeParameters=Y)}parseClassPropertyAnnotation(c){c.optional||(this.eat(35)?c.definite=!0:this.eat(17)&&(c.optional=!0));const y=this.tsTryParseTypeAnnotation();y&&(c.typeAnnotation=y)}parseClassProperty(c){if(this.parseClassPropertyAnnotation(c),this.state.isAmbientContext&&(!c.readonly||c.typeAnnotation)&&this.match(29)&&this.raise(Pt.DeclareClassFieldHasInitializer,this.state.startLoc),c.abstract&&this.match(29)){const{key:y}=c;this.raise(Pt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:y.type!=="Identifier"||c.computed?`[${this.input.slice(y.start,y.end)}]`:y.name})}return super.parseClassProperty(c)}parseClassPrivateProperty(c){return c.abstract&&this.raise(Pt.PrivateElementHasAbstract,c),c.accessibility&&this.raise(Pt.PrivateElementHasAccessibility,c,{modifier:c.accessibility}),this.parseClassPropertyAnnotation(c),super.parseClassPrivateProperty(c)}parseClassAccessorProperty(c){return this.parseClassPropertyAnnotation(c),c.optional&&this.raise(Pt.AccessorCannotBeOptional,c),super.parseClassAccessorProperty(c)}pushClassMethod(c,y,P,H,Y,we){const De=this.tsTryParseTypeParameters(this.tsParseConstModifier);De&&Y&&this.raise(Pt.ConstructorHasTypeParameters,De);const{declare:Ue=!1,kind:Ke}=y;!Ue||Ke!=="get"&&Ke!=="set"||this.raise(Pt.DeclareAccessor,y,{kind:Ke}),De&&(y.typeParameters=De),super.pushClassMethod(c,y,P,H,Y,we)}pushClassPrivateMethod(c,y,P,H){const Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);Y&&(y.typeParameters=Y),super.pushClassPrivateMethod(c,y,P,H)}declareClassPrivateMethodInScope(c,y){c.type!=="TSDeclareMethod"&&(c.type!=="MethodDefinition"||c.value.body)&&super.declareClassPrivateMethodInScope(c,y)}parseClassSuper(c){super.parseClassSuper(c),c.superClass&&(this.match(47)||this.match(51))&&(c.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(c.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(c,y,P,H,Y,we,De){const Ue=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Ue&&(c.typeParameters=Ue),super.parseObjPropValue(c,y,P,H,Y,we,De)}parseFunctionParams(c,y){const P=this.tsTryParseTypeParameters(this.tsParseConstModifier);P&&(c.typeParameters=P),super.parseFunctionParams(c,y)}parseVarId(c,y){super.parseVarId(c,y),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(c.definite=!0);const P=this.tsTryParseTypeAnnotation();P&&(c.id.typeAnnotation=P,this.resetEndLocation(c.id))}parseAsyncArrowFromCallExpression(c,y){return this.match(14)&&(c.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(c,y)}parseMaybeAssign(c,y){var P,H,Y,we,De;let Ue,Ke,et,St;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Ue=this.state.clone(),Ke=this.tryParse(()=>super.parseMaybeAssign(c,y),Ue),!Ke.error)return Ke.node;const{context:Yt}=this.state,Pr=Yt[Yt.length-1];Pr!==O.j_oTag&&Pr!==O.j_expr||Yt.pop()}if(!((P=Ke)!=null&&P.error||this.match(47)))return super.parseMaybeAssign(c,y);Ue&&Ue!==this.state||(Ue=this.state.clone());const Jt=this.tryParse(Yt=>{var Pr,kn;St=this.tsParseTypeParameters(this.tsParseConstModifier);const bn=super.parseMaybeAssign(c,y);return(bn.type!=="ArrowFunctionExpression"||(Pr=bn.extra)!=null&&Pr.parenthesized)&&Yt(),((kn=St)==null?void 0:kn.params.length)!==0&&this.resetStartLocationFromNode(bn,St),bn.typeParameters=St,bn},Ue);if(!Jt.error&&!Jt.aborted)return St&&this.reportReservedArrowTypeParam(St),Jt.node;if(!Ke&&(Ys(!this.hasPlugin("jsx")),et=this.tryParse(()=>super.parseMaybeAssign(c,y),Ue),!et.error))return et.node;if((H=Ke)!=null&&H.node)return this.state=Ke.failState,Ke.node;if(Jt.node)return this.state=Jt.failState,St&&this.reportReservedArrowTypeParam(St),Jt.node;if((Y=et)!=null&&Y.node)return this.state=et.failState,et.node;throw((we=Ke)==null?void 0:we.error)||Jt.error||((De=et)==null?void 0:De.error)}reportReservedArrowTypeParam(c){var y;c.params.length!==1||c.params[0].constraint||(y=c.extra)!=null&&y.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Pt.ReservedArrowTypeParam,c)}parseMaybeUnary(c,y){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(c,y)}parseArrow(c){if(this.match(14)){const y=this.tryParse(P=>{const H=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||P(),H});if(y.aborted)return;y.thrown||(y.error&&(this.state=y.failState),c.returnType=y.node)}return super.parseArrow(c)}parseAssignableListItemTypes(c,y){if(!(2&y))return c;this.eat(17)&&(c.optional=!0);const P=this.tsTryParseTypeAnnotation();return P&&(c.typeAnnotation=P),this.resetEndLocation(c),c}isAssignable(c,y){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,y);case"TSParameterProperty":return!0;default:return super.isAssignable(c,y)}}toAssignable(c){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(c.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(c,y);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":y?this.expressionScope.recordArrowParameterBindingError(Pt.UnexpectedTypeCastInParameter,c):this.raise(Pt.UnexpectedTypeCastInParameter,c),this.toAssignable(c.expression,y);break;case"AssignmentExpression":y||c.left.type!=="TSTypeCastExpression"||(c.left=this.typeCastToParameter(c.left));default:super.toAssignable(c,y)}}toAssignableParenthesizedExpression(c,y){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(c.expression,y);break;default:super.toAssignable(c,y)}}checkToRestConversion(c,y){switch(c.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(c.expression,!1);break;default:super.checkToRestConversion(c,y)}}isValidLVal(c,y,P){return H={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(P!==64||!y)&&["expression",!0],TSSatisfiesExpression:(P!==64||!y)&&["expression",!0],TSTypeAssertion:(P!==64||!y)&&["expression",!0]},Y=c,Object.hasOwnProperty.call(H,Y)&&H[Y]||super.isValidLVal(c,y,P);var H,Y}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(c){if(this.match(47)||this.match(51)){const y=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const P=super.parseMaybeDecoratorArguments(c);return P.typeParameters=y,P}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(c)}checkCommaAfterRest(c){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===c?(this.next(),!1):super.checkCommaAfterRest(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(c,y){const P=super.parseMaybeDefault(c,y);return P.type==="AssignmentPattern"&&P.typeAnnotation&&P.right.startthis.isAssignable(y,!0)):super.shouldParseArrow(c)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(c){if(this.match(47)||this.match(51)){const y=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());y&&(c.typeParameters=y)}return super.jsxParseOpeningElementAfterName(c)}getGetterSetterExpectedParamCount(c){const y=super.getGetterSetterExpectedParamCount(c),P=this.getObjectOrClassMethodParams(c)[0];return P&&this.isThisParam(P)?y+1:y}parseCatchClauseParam(){const c=super.parseCatchClauseParam(),y=this.tsTryParseTypeAnnotation();return y&&(c.typeAnnotation=y,this.resetEndLocation(c)),c}tsInAmbientContext(c){const y=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return c()}finally{this.state.isAmbientContext=y}}parseClass(c,y,P){const H=this.state.inAbstractClass;this.state.inAbstractClass=!!c.abstract;try{return super.parseClass(c,y,P)}finally{this.state.inAbstractClass=H}}tsParseAbstractDeclaration(c,y){if(this.match(80))return c.abstract=!0,this.maybeTakeDecorators(y,this.parseClass(c,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.raise(Pt.NonClassMethodPropertyHasAbstractModifer,c),this.tsParseInterfaceDeclaration(c)}else this.unexpected(null,80)}parseMethod(c,y,P,H,Y,we,De){const Ue=super.parseMethod(c,y,P,H,Y,we,De);if(Ue.abstract&&(this.hasPlugin("estree")?Ue.value.body:Ue.body)){const{key:Ke}=Ue;this.raise(Pt.AbstractMethodHasImplementation,Ue,{methodName:Ke.type!=="Identifier"||Ue.computed?`[${this.input.slice(Ke.start,Ke.end)}]`:Ke.name})}return Ue}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(c,y,P,H){return!y&&H?(this.parseTypeOnlyImportExportSpecifier(c,!1,P),this.finishNode(c,"ExportSpecifier")):(c.exportKind="value",super.parseExportSpecifier(c,y,P,H))}parseImportSpecifier(c,y,P,H,Y){return!y&&H?(this.parseTypeOnlyImportExportSpecifier(c,!0,P),this.finishNode(c,"ImportSpecifier")):(c.importKind="value",super.parseImportSpecifier(c,y,P,H,P?4098:4096))}parseTypeOnlyImportExportSpecifier(c,y,P){const H=y?"imported":"local",Y=y?"local":"exported";let we,De=c[H],Ue=!1,Ke=!0;const et=De.loc.start;if(this.isContextual(93)){const St=this.parseIdentifier();if(this.isContextual(93)){const Jt=this.parseIdentifier();ce(this.state.type)?(Ue=!0,De=St,we=y?this.parseIdentifier():this.parseModuleExportName(),Ke=!1):(we=Jt,Ke=!1)}else ce(this.state.type)?(Ke=!1,we=y?this.parseIdentifier():this.parseModuleExportName()):(Ue=!0,De=St)}else ce(this.state.type)&&(Ue=!0,y?(De=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(De.name,De.loc.start,!0,!0)):De=this.parseModuleExportName());Ue&&P&&this.raise(y?Pt.TypeModifierIsUsedInTypeImports:Pt.TypeModifierIsUsedInTypeExports,et),c[H]=De,c[Y]=we,c[y?"importKind":"exportKind"]=Ue?"type":"value",Ke&&this.eatContextual(93)&&(c[Y]=y?this.parseIdentifier():this.parseModuleExportName()),c[Y]||(c[Y]=ns(c[H])),y&&this.checkIdentifier(c[Y],Ue?4098:4096)}},v8intrinsic:Te=>class extends Te{parseV8Intrinsic(){if(this.match(54)){const c=this.state.startLoc,y=this.startNode();if(this.next(),oe(this.state.type)){const P=this.parseIdentifierName(),H=this.createIdentifier(y,P);if(H.type="V8IntrinsicIdentifier",this.match(10))return H}this.unexpected(c)}}parseExprAtom(c){return this.parseV8Intrinsic()||super.parseExprAtom(c)}},placeholders:Te=>class extends Te{parsePlaceholder(c){if(this.match(144)){const y=this.startNode();return this.next(),this.assertNoSpace(),y.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(y,c)}}finishPlaceholder(c,y){const P=!(!c.expectedNode||c.type!=="Placeholder");return c.expectedNode=y,P?c:this.finishNode(c,"Placeholder")}getTokenFromCode(c){c===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(c)}parseExprAtom(c){return this.parsePlaceholder("Expression")||super.parseExprAtom(c)}parseIdentifier(c){return this.parsePlaceholder("Identifier")||super.parseIdentifier(c)}checkReservedWord(c,y,P,H){c!==void 0&&super.checkReservedWord(c,y,P,H)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(c,y,P){return c==="Placeholder"||super.isValidLVal(c,y,P)}toAssignable(c,y){c&&c.type==="Placeholder"&&c.expectedNode==="Expression"?c.expectedNode="Pattern":super.toAssignable(c,y)}chStartsBindingIdentifier(c,y){return!!super.chStartsBindingIdentifier(c,y)||this.lookahead().type===144}verifyBreakContinue(c,y){c.label&&c.label.type==="Placeholder"||super.verifyBreakContinue(c,y)}parseExpressionStatement(c,y){var P;if(y.type!=="Placeholder"||(P=y.extra)!=null&&P.parenthesized)return super.parseExpressionStatement(c,y);if(this.match(14)){const H=c;return H.label=this.finishPlaceholder(y,"Identifier"),this.next(),H.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(H,"LabeledStatement")}return this.semicolon(),c.name=y.name,this.finishPlaceholder(c,"Statement")}parseBlock(c,y,P){return this.parsePlaceholder("BlockStatement")||super.parseBlock(c,y,P)}parseFunctionId(c){return this.parsePlaceholder("Identifier")||super.parseFunctionId(c)}parseClass(c,y,P){const H=y?"ClassDeclaration":"ClassExpression";this.next();const Y=this.state.strict,we=this.parsePlaceholder("Identifier");if(we){if(!(this.match(81)||this.match(144)||this.match(5))){if(P||!y)return c.id=null,c.body=this.finishPlaceholder(we,"ClassBody"),this.finishNode(c,H);throw this.raise(ki.ClassNameIsRequired,this.state.startLoc)}c.id=we}else this.parseClassId(c,y,P);return super.parseClassSuper(c),c.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!c.superClass,Y),this.finishNode(c,H)}parseExport(c,y){const P=this.parsePlaceholder("Identifier");if(!P)return super.parseExport(c,y);if(!this.isContextual(98)&&!this.match(12))return c.specifiers=[],c.source=null,c.declaration=this.finishPlaceholder(P,"Declaration"),this.finishNode(c,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const H=this.startNode();return H.exported=P,c.specifiers=[this.finishNode(H,"ExportDefaultSpecifier")],super.parseExport(c,y)}isExportDefaultSpecifier(){if(this.match(65)){const c=this.nextTokenStart();if(this.isUnparsedContextual(c,"from")&&this.input.startsWith(ye(144),this.nextTokenStartSince(c+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(c,y){var P;return!((P=c.specifiers)==null||!P.length)||super.maybeParseExportDefaultSpecifier(c,y)}checkExport(c){const{specifiers:y}=c;y!=null&&y.length&&(c.specifiers=y.filter(P=>P.exported.type==="Placeholder")),super.checkExport(c),c.specifiers=y}parseImport(c){const y=this.parsePlaceholder("Identifier");if(!y)return super.parseImport(c);if(c.specifiers=[],!this.isContextual(98)&&!this.match(12))return c.source=this.finishPlaceholder(y,"StringLiteral"),this.semicolon(),this.finishNode(c,"ImportDeclaration");const P=this.startNodeAtNode(y);return P.local=y,c.specifiers.push(this.finishNode(P,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(c)||this.parseNamedImportSpecifiers(c)),this.expectContextual(98),c.source=this.parseImportSource(),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(ki.UnexpectedSpace,this.state.lastTokEndLoc)}}},Ea=Object.keys(Ca),Sa={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class ul extends Yn{checkProto(c,y,P,H){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;const Y=c.key;if((Y.type==="Identifier"?Y.name:Y.value)==="__proto__"){if(y)return void this.raise(g.RecordNoProto,Y);P.used&&(H?H.doubleProtoLoc===null&&(H.doubleProtoLoc=Y.loc.start):this.raise(g.DuplicateProto,Y)),P.used=!0}}shouldExitDescending(c,y){return c.type==="ArrowFunctionExpression"&&c.start===y}getExpression(){this.enterInitialScopes(),this.nextToken();const c=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,y){return c?this.disallowInAnd(()=>this.parseExpressionBase(y)):this.allowInAnd(()=>this.parseExpressionBase(y))}parseExpressionBase(c){const y=this.state.startLoc,P=this.parseMaybeAssign(c);if(this.match(12)){const H=this.startNodeAt(y);for(H.expressions=[P];this.eat(12);)H.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(H.expressions),this.finishNode(H,"SequenceExpression")}return P}parseMaybeAssignDisallowIn(c,y){return this.disallowInAnd(()=>this.parseMaybeAssign(c,y))}parseMaybeAssignAllowIn(c,y){return this.allowInAnd(()=>this.parseMaybeAssign(c,y))}setOptionalParametersError(c,y){var P;c.optionalParametersLoc=(P=y?.loc)!=null?P:this.state.startLoc}parseMaybeAssign(c,y){const P=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let Ue=this.parseYield();return y&&(Ue=y.call(this,Ue,P)),Ue}let H;c?H=!1:(c=new hs,H=!0);const{type:Y}=this.state;(Y===10||oe(Y))&&(this.state.potentialArrowAt=this.state.start);let we=this.parseMaybeConditional(c);if(y&&(we=y.call(this,we,P)),(De=this.state.type)>=29&&De<=33){const Ue=this.startNodeAt(P),Ke=this.state.value;if(Ue.operator=Ke,this.match(29)){this.toAssignable(we,!0),Ue.left=we;const et=P.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=et&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=et&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=et&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else Ue.left=we;return this.next(),Ue.right=this.parseMaybeAssign(),this.checkLVal(we,{in:this.finishNode(Ue,"AssignmentExpression")}),Ue}var De;return H&&this.checkExpressionErrors(c,!0),we}parseMaybeConditional(c){const y=this.state.startLoc,P=this.state.potentialArrowAt,H=this.parseExprOps(c);return this.shouldExitDescending(H,P)?H:this.parseConditional(H,y,c)}parseConditional(c,y,P){if(this.eat(17)){const H=this.startNodeAt(y);return H.test=c,H.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),H.alternate=this.parseMaybeAssign(),this.finishNode(H,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){const y=this.state.startLoc,P=this.state.potentialArrowAt,H=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(H,P)?H:this.parseExprOp(H,y,-1)}parseExprOp(c,y,P){if(this.isPrivateName(c)){const we=this.getPrivateNameSV(c);(P>=ge(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,c,{identifierName:we}),this.classScope.usePrivateName(we,c.loc.start)}const H=this.state.type;if((Y=H)>=39&&Y<=59&&(this.prodParam.hasIn||!this.match(58))){let we=ge(H);if(we>P){if(H===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,y)}const De=this.startNodeAt(y);De.left=c,De.operator=this.state.value;const Ue=H===41||H===42,Ke=H===40;if(Ke&&(we=ge(42)),this.next(),H===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);De.right=this.parseExprOpRightExpr(H,we);const et=this.finishNode(De,Ue||Ke?"LogicalExpression":"BinaryExpression"),St=this.state.type;if(Ke&&(St===41||St===42)||Ue&&St===40)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(et,y,P)}}var Y;return c}parseExprOpRightExpr(c,y){const P=this.state.startLoc;if(c===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(g.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,y),P)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(y))}return this.parseExprOpBaseRightExpr(c,y)}parseExprOpBaseRightExpr(c,y){const P=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),P,c===57?y-1:y)}parseHackPipeBody(){var c;const{startLoc:y}=this.state,P=this.parseMaybeAssign();return!d.has(P.type)||(c=P.extra)!=null&&c.parenthesized||this.raise(g.PipeUnparenthesizedBody,y,{type:P.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,y),P}checkExponentialAfterUnary(c){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,c.argument)}parseMaybeUnary(c,y){const P=this.state.startLoc,H=this.isContextual(96);if(H&&this.isAwaitAllowed()){this.next();const Ke=this.parseAwait(P);return y||this.checkExponentialAfterUnary(Ke),Ke}const Y=this.match(34),we=this.startNode();if(De=this.state.type,fe[De]){we.operator=this.state.value,we.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const Ke=this.match(89);if(this.next(),we.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&Ke){const et=we.argument;et.type==="Identifier"?this.raise(g.StrictDelete,we):this.hasPropertyAsPrivateName(et)&&this.raise(g.DeletePrivateField,we)}if(!Y)return y||this.checkExponentialAfterUnary(we),this.finishNode(we,"UnaryExpression")}var De;const Ue=this.parseUpdate(we,Y,c);if(H){const{type:Ke}=this.state;if((this.hasPlugin("v8intrinsic")?ne(Ke):ne(Ke)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,P),this.parseAwait(P)}return Ue}parseUpdate(c,y,P){if(y){const we=c;return this.checkLVal(we.argument,{in:this.finishNode(we,"UpdateExpression")}),c}const H=this.state.startLoc;let Y=this.parseExprSubscripts(P);if(this.checkExpressionErrors(P,!1))return Y;for(;this.state.type===34&&!this.canInsertSemicolon();){const we=this.startNodeAt(H);we.operator=this.state.value,we.prefix=!1,we.argument=Y,this.next(),this.checkLVal(Y,{in:Y=this.finishNode(we,"UpdateExpression")})}return Y}parseExprSubscripts(c){const y=this.state.startLoc,P=this.state.potentialArrowAt,H=this.parseExprAtom(c);return this.shouldExitDescending(H,P)?H:this.parseSubscripts(H,y)}parseSubscripts(c,y,P){const H={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,y,P,H),H.maybeAsyncArrow=!1;while(!H.stop);return c}parseSubscript(c,y,P,H){const{type:Y}=this.state;if(!P&&Y===15)return this.parseBind(c,y,P,H);if(Me(Y))return this.parseTaggedTemplateExpression(c,y,H);let we=!1;if(Y===18){if(P&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return H.stop=!0,c;H.optionalChainMember=we=!0,this.next()}if(!P&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,y,H,we);{const De=this.eat(0);return De||we||this.eat(16)?this.parseMember(c,y,H,De,we):(H.stop=!0,c)}}parseMember(c,y,P,H,Y){const we=this.startNodeAt(y);return we.object=c,we.computed=H,H?(we.property=this.parseExpression(),this.expect(3)):this.match(138)?(c.type==="Super"&&this.raise(g.SuperPrivateField,y),this.classScope.usePrivateName(this.state.value,this.state.startLoc),we.property=this.parsePrivateName()):we.property=this.parseIdentifier(!0),P.optionalChainMember?(we.optional=Y,this.finishNode(we,"OptionalMemberExpression")):this.finishNode(we,"MemberExpression")}parseBind(c,y,P,H){const Y=this.startNodeAt(y);return Y.object=c,this.next(),Y.callee=this.parseNoCallExpr(),H.stop=!0,this.parseSubscripts(this.finishNode(Y,"BindExpression"),y,P)}parseCoverCallAndAsyncArrowHead(c,y,P,H){const Y=this.state.maybeInArrowParameters;let we=null;this.state.maybeInArrowParameters=!0,this.next();const De=this.startNodeAt(y);De.callee=c;const{maybeAsyncArrow:Ue,optionalChainMember:Ke}=P;Ue&&(this.expressionScope.enter(new br(2)),we=new hs),Ke&&(De.optional=H),De.arguments=H?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",De,we);let et=this.finishCallExpression(De,Ke);return Ue&&this.shouldParseAsyncArrow()&&!H?(P.stop=!0,this.checkDestructuringPrivate(we),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),et=this.parseAsyncArrowFromCallExpression(this.startNodeAt(y),et)):(Ue&&(this.checkExpressionErrors(we,!0),this.expressionScope.exit()),this.toReferencedArguments(et)),this.state.maybeInArrowParameters=Y,et}toReferencedArguments(c,y){this.toReferencedListDeep(c.arguments,y)}parseTaggedTemplateExpression(c,y,P){const H=this.startNodeAt(y);return H.tag=c,H.quasi=this.parseTemplate(!0),P.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,y),this.finishNode(H,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start==5&&c.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(c,y){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),c.arguments.length===0||c.arguments.length>2)this.raise(g.ImportCallArity,c,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const P of c.arguments)P.type==="SpreadElement"&&this.raise(g.ImportCallSpreadArgument,P);return this.finishNode(c,y?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,y,P,H,Y){const we=[];let De=!0;const Ue=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(De)De=!1;else if(this.expect(12),this.match(c)){!y||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(g.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),H&&this.addTrailingCommaExtraToNode(H),this.next();break}we.push(this.parseExprListItem(!1,Y,P))}return this.state.inFSharpPipelineDirectBody=Ue,we}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,y){var P;return this.resetPreviousNodeTrailingComments(y),this.expect(19),this.parseArrowExpression(c,y.arguments,!0,(P=y.extra)==null?void 0:P.trailingCommaLoc),y.innerComments&&mr(c,y.innerComments),y.callee.trailingComments&&mr(c,y.callee.trailingComments),c}parseNoCallExpr(){const c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let y,P=null;const{type:H}=this.state;switch(H){case 79:return this.parseSuper();case 83:return y=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(y):this.match(10)?this.options.createImportExpressions?this.parseImportCall(y):this.finishNode(y,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(y,"Import"));case 78:return y=this.startNode(),this.next(),this.finishNode(y,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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 Y=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(Y)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,c);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,c);case 68:return this.parseFunctionOrFunctionSent();case 26:P=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(P,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{y=this.startNode(),this.next(),y.object=null;const Y=y.callee=this.parseNoCallExpr();if(Y.type==="MemberExpression")return this.finishNode(y,"BindExpression");throw this.raise(g.UnsupportedBind,Y)}case 138:return this.raise(g.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 Y=this.getPluginOption("pipelineOperator","proposal");if(Y)return this.parseTopicReference(Y);this.unexpected();break}case 47:{const Y=this.input.codePointAt(this.nextTokenStart());ke(Y)||Y===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(oe(H)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const Y=this.state.potentialArrowAt===this.state.start,we=this.state.containsEsc,De=this.parseIdentifier();if(!we&&De.name==="async"&&!this.canInsertSemicolon()){const{type:Ue}=this.state;if(Ue===68)return this.resetPreviousNodeTrailingComments(De),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(De));if(oe(Ue))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(De)):De;if(Ue===90)return this.resetPreviousNodeTrailingComments(De),this.parseDo(this.startNodeAtNode(De),!0)}return Y&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(De),[De],!1)):De}this.unexpected()}}parseTopicReferenceThenEqualsSign(c,y){const P=this.getPluginOption("pipelineOperator","proposal");if(P)return this.state.type=c,this.state.value=y,this.state.pos--,this.state.end--,this.state.endLoc=s(this.state.endLoc,-1),this.parseTopicReference(P);this.unexpected()}parseTopicReference(c){const y=this.startNode(),P=this.state.startLoc,H=this.state.type;return this.next(),this.finishTopicReference(y,P,c,H)}finishTopicReference(c,y,P,H){if(this.testTopicReferenceConfiguration(P,y,H)){const Y=P==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(P==="smart"?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,y),this.registerTopicReference(),this.finishNode(c,Y)}throw this.raise(g.PipeTopicUnconfiguredToken,y,{token:ye(H)})}testTopicReferenceConfiguration(c,y,P){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ye(P)}]);case"smart":return P===27;default:throw this.raise(g.PipeTopicRequiresHackPipes,y)}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(rs(!0,this.prodParam.hasYield));const y=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(c,y,!0)}parseDo(c,y){this.expectPlugin("doExpressions"),y&&this.expectPlugin("asyncDoExpressions"),c.async=y,this.next();const P=this.state.labels;return this.state.labels=[],y?(this.prodParam.enter(2),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=P,this.finishNode(c,"DoExpression")}parseSuper(){const c=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(g.UnexpectedSuper,c):this.raise(g.SuperNotAllowed,c),this.match(10)||this.match(0)||this.match(16)||this.raise(g.UnsupportedSuper,c),this.finishNode(c,"Super")}parsePrivateName(){const c=this.startNode(),y=this.startNodeAt(s(this.state.startLoc,1)),P=this.state.value;return this.next(),c.id=this.createIdentifier(y,P),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){const c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const y=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,y,"sent")}return this.parseFunction(c)}parseMetaProperty(c,y,P){c.meta=y;const H=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==P||H)&&this.raise(g.UnsupportedMetaProperty,c.property,{target:y.name,onlyValidPropertyName:P}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){const y=this.createIdentifier(this.startNodeAtNode(c),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,y),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const P=this.isContextual(105);if(P||this.unexpected(),this.expectPlugin(P?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),c.phase=P?"source":"defer",this.parseImportCall(c)}return this.parseMetaProperty(c,y,"meta")}parseLiteralAtNode(c,y,P){return this.addExtra(P,"rawValue",c),this.addExtra(P,"raw",this.input.slice(P.start,this.state.end)),P.value=c,this.next(),this.finishNode(P,y)}parseLiteral(c,y){const P=this.startNode();return this.parseLiteralAtNode(c,y,P)}parseStringLiteral(c){return this.parseLiteral(c,"StringLiteral")}parseNumericLiteral(c){return this.parseLiteral(c,"NumericLiteral")}parseBigIntLiteral(c){return this.parseLiteral(c,"BigIntLiteral")}parseDecimalLiteral(c){return this.parseLiteral(c,"DecimalLiteral")}parseRegExpLiteral(c){const y=this.parseLiteral(c.value,"RegExpLiteral");return y.pattern=c.pattern,y.flags=c.flags,y}parseBooleanLiteral(c){const y=this.startNode();return y.value=c,this.next(),this.finishNode(y,"BooleanLiteral")}parseNullLiteral(){const c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){const y=this.state.startLoc;let P;this.next(),this.expressionScope.enter(new br(1));const H=this.state.maybeInArrowParameters,Y=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const we=this.state.startLoc,De=[],Ue=new hs;let Ke,et,St=!0;for(;!this.match(11);){if(St)St=!1;else if(this.expect(12,Ue.optionalParametersLoc===null?null:Ue.optionalParametersLoc),this.match(11)){et=this.state.startLoc;break}if(this.match(21)){const Pr=this.state.startLoc;if(Ke=this.state.startLoc,De.push(this.parseParenItem(this.parseRestBinding(),Pr)),!this.checkCommaAfterRest(41))break}else De.push(this.parseMaybeAssignAllowIn(Ue,this.parseParenItem))}const Jt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=H,this.state.inFSharpPipelineDirectBody=Y;let Yt=this.startNodeAt(y);return c&&this.shouldParseArrow(De)&&(Yt=this.parseArrow(Yt))?(this.checkDestructuringPrivate(Ue),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Yt,De,!1),Yt):(this.expressionScope.exit(),De.length||this.unexpected(this.state.lastTokStartLoc),et&&this.unexpected(et),Ke&&this.unexpected(Ke),this.checkExpressionErrors(Ue,!0),this.toReferencedListDeep(De,!0),De.length>1?(P=this.startNodeAt(we),P.expressions=De,this.finishNode(P,"SequenceExpression"),this.resetEndLocation(P,Jt)):P=De[0],this.wrapParenthesis(y,P))}wrapParenthesis(c,y){if(!this.options.createParenthesizedExpressions)return this.addExtra(y,"parenthesized",!0),this.addExtra(y,"parenStart",c.index),this.takeSurroundingComments(y,c.index,this.state.lastTokEndLoc.index),y;const P=this.startNodeAt(c);return P.expression=y,this.finishNode(P,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,y){return c}parseNewOrNewTarget(){const c=this.startNode();if(this.next(),this.match(16)){const y=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();const P=this.parseMetaProperty(c,y,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(g.UnexpectedNewTarget,P),P}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){const y=this.parseExprList(11);this.toReferencedList(y),c.arguments=y}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){const y=this.match(83),P=this.parseNoCallExpr();c.callee=P,!y||P.type!=="Import"&&P.type!=="ImportExpression"||this.raise(g.ImportCallNotNewExpression,P)}parseTemplateElement(c){const{start:y,startLoc:P,end:H,value:Y}=this.state,we=y+1,De=this.startNodeAt(s(P,1));Y===null&&(c||this.raise(g.InvalidEscapeSequenceTemplate,s(this.state.firstInvalidTemplateEscapePos,1)));const Ue=this.match(24),Ke=Ue?-1:-2,et=H+Ke;De.value={raw:this.input.slice(we,et).replace(/\r\n?/g,` `),cooked:Y===null?null:Y.slice(1,Ke)},De.tail=Ue,this.next();const St=this.finishNode(De,"TemplateElement");return this.resetEndLocation(St,s(this.state.lastTokEndLoc,Ke)),St}parseTemplate(c){const y=this.startNode();y.expressions=[];let P=this.parseTemplateElement(c);for(y.quasis=[P];!P.tail;)y.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),y.quasis.push(P=this.parseTemplateElement(c));return this.finishNode(y,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,y,P,H){P&&this.expectPlugin("recordAndTuple");const Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const we=Object.create(null);let De=!0;const Ue=this.startNode();for(Ue.properties=[],this.next();!this.match(c);){if(De)De=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(Ue);break}let et;y?et=this.parseBindingProperty():(et=this.parsePropertyDefinition(H),this.checkProto(et,P,we,H)),P&&!this.isObjectProperty(et)&&et.type!=="SpreadElement"&&this.raise(g.InvalidRecordProperty,et),et.shorthand&&this.addExtra(et,"shorthand",!0),Ue.properties.push(et)}this.next(),this.state.inFSharpPipelineDirectBody=Y;let Ke="ObjectExpression";return y?Ke="ObjectPattern":P&&(Ke="RecordExpression"),this.finishNode(Ue,Ke)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(c,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(c){return!c.computed&&c.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(c){let y=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)y.push(this.parseDecorator());const P=this.startNode();let H,Y=!1,we=!1;if(this.match(21))return y.length&&this.unexpected(),this.parseSpread();y.length&&(P.decorators=y,y=[]),P.method=!1,c&&(H=this.state.startLoc);let De=this.eat(55);this.parsePropertyNamePrefixOperator(P);const Ue=this.state.containsEsc,Ke=this.parsePropertyName(P,c);if(!De&&!Ue&&this.maybeAsyncOrAccessorProp(P)){const et=Ke.name;et!=="async"||this.hasPrecedingLineBreak()||(Y=!0,this.resetPreviousNodeTrailingComments(Ke),De=this.eat(55),this.parsePropertyName(P)),et!=="get"&&et!=="set"||(we=!0,this.resetPreviousNodeTrailingComments(Ke),P.kind=et,this.match(55)&&(De=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:et}),this.next()),this.parsePropertyName(P))}return this.parseObjPropValue(P,H,De,Y,!1,we,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var y;const P=this.getGetterSetterExpectedParamCount(c),H=this.getObjectOrClassMethodParams(c);H.length!==P&&this.raise(c.kind==="get"?g.BadGetterArity:g.BadSetterArity,c),c.kind==="set"&&((y=H[H.length-1])==null?void 0:y.type)==="RestElement"&&this.raise(g.BadSetterRestParameter,c)}parseObjectMethod(c,y,P,H,Y){if(Y){const we=this.parseMethod(c,y,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(we),we}if(P||y||this.match(10))return H&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,y,P,!1,!1,"ObjectMethod")}parseObjectProperty(c,y,P,H){if(c.shorthand=!1,this.eat(14))return c.value=P?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(H),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),P)c.value=this.parseMaybeDefault(y,ns(c.key));else if(this.match(29)){const Y=this.state.startLoc;H!=null?H.shorthandAssignLoc===null&&(H.shorthandAssignLoc=Y):this.raise(g.InvalidCoverInitializedName,Y),c.value=this.parseMaybeDefault(y,ns(c.key))}else c.value=ns(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,y,P,H,Y,we,De){const Ue=this.parseObjectMethod(c,P,H,Y,we)||this.parseObjectProperty(c,y,Y,De);return Ue||this.unexpected(),Ue}parsePropertyName(c,y){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:P,value:H}=this.state;let Y;if(ce(P))Y=this.parseIdentifier(!0);else switch(P){case 134:Y=this.parseNumericLiteral(H);break;case 133:Y=this.parseStringLiteral(H);break;case 135:Y=this.parseBigIntLiteral(H);break;case 136:Y=this.parseDecimalLiteral(H);break;case 138:{const we=this.state.startLoc;y!=null?y.privateKeyLoc===null&&(y.privateKeyLoc=we):this.raise(g.UnexpectedPrivateField,we),Y=this.parsePrivateName();break}default:this.unexpected()}c.key=Y,P!==138&&(c.computed=!1)}return c.key}initFunction(c,y){c.id=null,c.generator=!1,c.async=y}parseMethod(c,y,P,H,Y,we){let De=arguments.length>6&&arguments[6]!==void 0&&arguments[6];this.initFunction(c,P),c.generator=y,this.scope.enter(18|(De?64:0)|(Y?32:0)),this.prodParam.enter(rs(P,c.generator)),this.parseFunctionParams(c,H);const Ue=this.parseFunctionBodyAndFinish(c,we,!0);return this.prodParam.exit(),this.scope.exit(),Ue}parseArrayLike(c,y,P,H){P&&this.expectPlugin("recordAndTuple");const Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const we=this.startNode();return this.next(),we.elements=this.parseExprList(c,!P,H,we),this.state.inFSharpPipelineDirectBody=Y,this.finishNode(we,P?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,y,P,H){this.scope.enter(6);let Y=rs(P,!1);!this.match(5)&&this.prodParam.hasIn&&(Y|=8),this.prodParam.enter(Y),this.initFunction(c,P);const we=this.state.maybeInArrowParameters;return y&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,y,H)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=we,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,y,P){this.toAssignableList(y,P,!1),c.params=y}parseFunctionBodyAndFinish(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.parseFunctionBody(c,!1,P),this.finishNode(c,y)}parseFunctionBody(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const H=y&&!this.match(5);if(this.expressionScope.enter(wn()),H)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,y,!1);else{const Y=this.state.strict,we=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),c.body=this.parseBlock(!0,!1,De=>{const Ue=!this.isSimpleParamList(c.params);De&&Ue&&this.raise(g.IllegalLanguageModeDirective,c.kind!=="method"&&c.kind!=="constructor"||!c.key?c:c.key.loc.end);const Ke=!Y&&this.state.strict;this.checkParams(c,!(this.state.strict||y||P||Ue),y,Ke),this.state.strict&&c.id&&this.checkIdentifier(c.id,65,Ke)}),this.prodParam.exit(),this.state.labels=we}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let y=0,P=c.length;y3&&arguments[3]!==void 0)||arguments[3];const Y=!y&&new Set,we={type:"FormalParameters"};for(const De of c.params)this.checkLVal(De,{in:we,binding:5,checkClashes:Y,strictModeChanged:H})}parseExprList(c,y,P,H){const Y=[];let we=!0;for(;!this.eat(c);){if(we)we=!1;else if(this.expect(12),this.match(c)){H&&this.addTrailingCommaExtraToNode(H),this.next();break}Y.push(this.parseExprListItem(y,P))}return Y}parseExprListItem(c,y,P){let H;if(this.match(12))c||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),H=null;else if(this.match(21)){const Y=this.state.startLoc;H=this.parseParenItem(this.parseSpread(y),Y)}else if(this.match(17)){this.expectPlugin("partialApplication"),P||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const Y=this.startNode();this.next(),H=this.finishNode(Y,"ArgumentPlaceholder")}else H=this.parseMaybeAssignAllowIn(y,this.parseParenItem);return H}parseIdentifier(c){const y=this.startNode(),P=this.parseIdentifierName(c);return this.createIdentifier(y,P)}createIdentifier(c,y){return c.name=y,c.loc.identifierName=y,this.finishNode(c,"Identifier")}parseIdentifierName(c){let y;const{startLoc:P,type:H}=this.state;ce(H)?y=this.state.value:this.unexpected();const Y=H<=92;return c?Y&&this.replaceToken(132):this.checkReservedWord(y,P,Y,!1),this.next(),y}checkReservedWord(c,y,P,H){if(!(c.length>10)&&function(Y){return Ct.has(Y)}(c)){if(P&&function(Y){return nt.has(Y)}(c))this.raise(g.UnexpectedKeyword,y,{keyword:c});else if((this.state.strict?H?yr:Ut:er)(c,this.inModule))this.raise(g.UnexpectedReservedWord,y,{reservedWord:c});else if(c==="yield"){if(this.prodParam.hasYield)return void this.raise(g.YieldBindingIdentifier,y)}else if(c==="await"){if(this.prodParam.hasAwait)return void this.raise(g.AwaitBindingIdentifier,y);if(this.scope.inStaticBlock)return void this.raise(g.AwaitBindingIdentifierInStaticBlock,y);this.expressionScope.recordAsyncArrowParametersError(y)}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(g.ArgumentsInClass,y)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(c){const y=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,y),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,y),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(y.argument=this.parseMaybeUnary(null,!0)),this.finishNode(y,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:c}=this.state;return c===53||c===10||c===0||Me(c)||c===102&&!this.state.containsEsc||c===137||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){const c=this.startNode();this.expressionScope.recordParameterInitializerError(g.YieldInParameter,c),this.next();let y=!1,P=null;if(!this.hasPrecedingLineBreak())switch(y=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!y)break;default:P=this.parseMaybeAssign()}return c.delegate=y,c.argument=P,this.finishNode(c,"YieldExpression")}parseImportCall(c){return this.next(),c.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(c.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(c.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(c,"ImportExpression")}checkPipelineAtInfixOperator(c,y){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(g.PipelineHeadSequenceExpression,y)}parseSmartPipelineBodyInStyle(c,y){if(this.isSimpleReference(c)){const P=this.startNodeAt(y);return P.callee=c,this.finishNode(P,"PipelineBareFunction")}{const P=this.startNodeAt(y);return this.checkSmartPipeTopicBodyEarlyErrors(y),P.expression=c,this.finishNode(P,"PipelineTopicExpression")}}isSimpleReference(c){switch(c.type){case"MemberExpression":return!c.computed&&this.isSimpleReference(c.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(c){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,c)}withTopicBindingContext(c){const y=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=y}}withSmartMixTopicForbiddingContext(c){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return c();{const y=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=y}}}withSoloAwaitPermittingContext(c){const y=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=y}}allowInAnd(c){const y=this.prodParam.currentFlags();if(8&~y){this.prodParam.enter(8|y);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){const y=this.prodParam.currentFlags();if(8&y){this.prodParam.enter(-9&y);try{return c()}finally{this.prodParam.exit()}}return c()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(c){const y=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const P=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const H=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),y,c);return this.state.inFSharpPipelineDirectBody=P,H}parseModuleExpression(){this.expectPlugin("moduleBlocks");const c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const y=this.startNodeAt(this.state.endLoc);this.next();const P=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(y,8,"module")}finally{P()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}}const $o={kind:1},Uo={kind:2},gs=/[\uD800-\uDFFF]/u,_i=/in(?:stanceof)?/y;class E1 extends ul{parseTopLevel(c,y){return c.program=this.parseProgram(y),c.comments=this.comments,this.options.tokens&&(c.tokens=function(P,H){for(let Y=0;Y1&&arguments[1]!==void 0?arguments[1]:139,H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(c.sourceType=H,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,P),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[Y,we]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,we,{localName:Y});return y=P===139?this.finishNode(c,"Program"):this.finishNodeAt(c,"Program",s(this.state.startLoc,-1)),y}stmtToDirective(c){const y=c;y.type="Directive",y.value=y.expression,delete y.expression;const P=y.value,H=P.value,Y=this.input.slice(P.start,P.end),we=P.value=Y.slice(1,-1);return this.addExtra(P,"raw",Y),this.addExtra(P,"rawValue",we),this.addExtra(P,"expressionValue",H),P.type="DirectiveLiteral",y}parseInterpreterDirective(){if(!this.match(28))return null;const c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(c,y){if(ke(c)){if(_i.lastIndex=y,_i.test(this.input)){const P=this.codePointAtPos(_i.lastIndex);if(!Ge(P)&&P!==92)return!1}return!0}return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){const c=this.nextTokenStart(),y=this.codePointAtPos(c);return this.chStartsBindingPattern(y)||this.chStartsBindingIdentifier(y,c)}hasInLineFollowingBindingIdentifier(){const c=this.nextTokenInLineStart(),y=this.codePointAtPos(c);return this.chStartsBindingIdentifier(y,c)}startsUsingForOf(){const{type:c,containsEsc:y}=this.lookahead();return!(c===102&&!y)&&(oe(c)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let c=this.nextTokenInLineStart();if(this.isUnparsedContextual(c,"using")){c=this.nextTokenInLineStartSince(c+5);const y=this.codePointAtPos(c);if(this.chStartsBindingIdentifier(y,c))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0],y=0;return this.options.annexB&&!this.state.strict&&(y|=4,c&&(y|=8)),this.parseStatementLike(y)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let y=null;return this.match(26)&&(y=this.parseDecorators(!0)),this.parseStatementContent(c,y)}parseStatementContent(c,y){const P=this.state.type,H=this.startNode(),Y=!!(2&c),we=!!(4&c),De=1&c;switch(P){case 60:return this.parseBreakContinueStatement(H,!0);case 63:return this.parseBreakContinueStatement(H,!1);case 64:return this.parseDebuggerStatement(H);case 90:return this.parseDoWhileStatement(H);case 91:return this.parseForStatement(H);case 68:if(this.lookaheadCharCode()===46)break;return we||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(H,!1,!Y&&we);case 80:return Y||this.unexpected(),this.parseClass(this.maybeTakeDecorators(y,H),!0);case 69:return this.parseIfStatement(H);case 70:return this.parseReturnStatement(H);case 71:return this.parseSwitchStatement(H);case 72:return this.parseThrowStatement(H);case 73:return this.parseTryStatement(H);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?Y||this.raise(g.UnexpectedLexicalDeclaration,H):this.raise(g.AwaitUsingNotInAsyncContext,H),this.next(),this.parseVarStatement(H,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,this.state.startLoc):Y||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(H,"using");case 100:{if(this.state.containsEsc)break;const et=this.nextTokenStart(),St=this.codePointAtPos(et);if(St!==91&&(!Y&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(St,et)&&St!==123))break}case 75:Y||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const et=this.state.value;return this.parseVarStatement(H,et)}case 92:return this.parseWhileStatement(H);case 76:return this.parseWithStatement(H);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(H);case 83:{const et=this.lookaheadCharCode();if(et===40||et===46)break}case 82:{let et;return this.options.allowImportExportEverywhere||De||this.raise(g.UnexpectedImportExport,this.state.startLoc),this.next(),P===83?(et=this.parseImport(H),et.type!=="ImportDeclaration"||et.importKind&&et.importKind!=="value"||(this.sawUnambiguousESM=!0)):(et=this.parseExport(H,y),(et.type!=="ExportNamedDeclaration"||et.exportKind&&et.exportKind!=="value")&&(et.type!=="ExportAllDeclaration"||et.exportKind&&et.exportKind!=="value")&&et.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(et),et}default:if(this.isAsyncFunction())return Y||this.raise(g.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(H,!0,!Y&&we)}const Ue=this.state.value,Ke=this.parseExpression();return oe(P)&&Ke.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(H,Ue,Ke,c):this.parseExpressionStatement(H,Ke,y)}assertModuleNodeAllowed(c){this.options.allowImportExportEverywhere||this.inModule||this.raise(g.ImportOutsideModule,c)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,y,P){return c&&(y.decorators&&y.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(g.DecoratorsBeforeAfterExport,y.decorators[0]),y.decorators.unshift(...c)):y.decorators=c,this.resetStartLocationFromNode(y,c[0]),P&&this.resetStartLocationFromNode(P,y)),y}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){const y=[];do y.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,this.state.startLoc);return y}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const c=this.startNode();if(this.next(),this.hasPlugin("decorators")){const y=this.state.startLoc;let P;if(this.match(10)){const H=this.state.startLoc;this.next(),P=this.parseExpression(),this.expect(11),P=this.wrapParenthesis(H,P);const Y=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(P),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==P&&this.raise(g.DecoratorArgumentsOutsideParentheses,Y)}else{for(P=this.parseIdentifier(!1);this.eat(16);){const H=this.startNodeAt(y);H.object=P,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),H.property=this.parsePrivateName()):H.property=this.parseIdentifier(!0),H.computed=!1,P=this.finishNode(H,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(P)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){const y=this.startNodeAtNode(c);return y.callee=c,y.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(y.arguments),this.finishNode(y,"CallExpression")}return c}parseBreakContinueStatement(c,y){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,y),this.finishNode(c,y?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,y){let P;for(P=0;Pthis.parseStatement()),this.state.labels.pop(),this.expect(92),c.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(c,"DoWhileStatement")}parseForStatement(c){this.next(),this.state.labels.push($o);let y=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(y=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return y!==null&&this.unexpected(y),this.parseFor(c,null);const P=this.isContextual(100);{const Ue=this.isContextual(96)&&this.startsAwaitUsing(),Ke=Ue||this.isContextual(107)&&this.startsUsingForOf(),et=P&&this.hasFollowingBindingAtom()||Ke;if(this.match(74)||this.match(75)||et){const St=this.startNode();let Jt;Ue?(Jt="await using",this.isAwaitAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Jt=this.state.value,this.next(),this.parseVar(St,!0,Jt);const Yt=this.finishNode(St,"VariableDeclaration"),Pr=this.match(58);return Pr&&Ke&&this.raise(g.ForInUsing,Yt),(Pr||this.isContextual(102))&&Yt.declarations.length===1?this.parseForIn(c,Yt,y):(y!==null&&this.unexpected(y),this.parseFor(c,Yt))}}const H=this.isContextual(95),Y=new hs,we=this.parseExpression(!0,Y),De=this.isContextual(102);if(De&&(P&&this.raise(g.ForOfLet,we),y===null&&H&&we.type==="Identifier"&&this.raise(g.ForOfAsync,we)),De||this.match(58)){this.checkDestructuringPrivate(Y),this.toAssignable(we,!0);const Ue=De?"ForOfStatement":"ForInStatement";return this.checkLVal(we,{in:{type:Ue}}),this.parseForIn(c,we,y)}return this.checkExpressionErrors(Y,!0),y!==null&&this.unexpected(y),this.parseFor(c,we)}parseFunctionStatement(c,y,P){return this.next(),this.parseFunction(c,1|(P?2:0)|(y?8:0))}parseIfStatement(c){return this.next(),c.test=this.parseHeaderExpression(),c.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),c.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(c,"IfStatement")}parseReturnStatement(c){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(g.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")}parseSwitchStatement(c){this.next(),c.discriminant=this.parseHeaderExpression();const y=c.cases=[];let P;this.expect(5),this.state.labels.push(Uo),this.scope.enter(0);for(let H;!this.match(8);)if(this.match(61)||this.match(65)){const Y=this.match(61);P&&this.finishNode(P,"SwitchCase"),y.push(P=this.startNode()),P.consequent=[],this.next(),Y?P.test=this.parseExpression():(H&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),H=!0,P.test=null),this.expect(14)}else P?P.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),P&&this.finishNode(P,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,this.state.lastTokEndLoc),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){const c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?8:0),this.checkLVal(c,{in:{type:"CatchClause"},binding:9}),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){const y=this.startNode();this.next(),this.match(10)?(this.expect(10),y.param=this.parseCatchClauseParam(),this.expect(11)):(y.param=null,this.scope.enter(0)),y.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),c.handler=this.finishNode(y,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,c.handler||c.finalizer||this.raise(g.NoCatchOrFinally,c),this.finishNode(c,"TryStatement")}parseVarStatement(c,y){let P=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.next(),this.parseVar(c,!1,y,P),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push($o),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(g.StrictWith,this.state.startLoc),this.next(),c.object=this.parseHeaderExpression(),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(c,"WithStatement")}parseEmptyStatement(c){return this.next(),this.finishNode(c,"EmptyStatement")}parseLabeledStatement(c,y,P,H){for(const De of this.state.labels)De.name===y&&this.raise(g.LabelRedeclaration,P,{labelName:y});const Y=(we=this.state.type)>=90&&we<=92?1:this.match(71)?2:null;var we;for(let De=this.state.labels.length-1;De>=0;De--){const Ue=this.state.labels[De];if(Ue.statementStart!==c.start)break;Ue.statementStart=this.state.start,Ue.kind=Y}return this.state.labels.push({name:y,kind:Y,statementStart:this.state.start}),c.body=8&H?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=P,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,y,P){return c.expression=y,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0],y=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],P=arguments.length>2?arguments[2]:void 0;const H=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),y&&this.scope.enter(0),this.parseBlockBody(H,c,!1,8,P),y&&this.scope.exit(),this.finishNode(H,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,y,P,H,Y){const we=c.body=[],De=c.directives=[];this.parseBlockOrModuleBlockBody(we,y?De:void 0,P,H,Y)}parseBlockOrModuleBlockBody(c,y,P,H,Y){const we=this.state.strict;let De=!1,Ue=!1;for(;!this.match(H);){const Ke=P?this.parseModuleItem():this.parseStatementListItem();if(y&&!Ue){if(this.isValidDirective(Ke)){const et=this.stmtToDirective(Ke);y.push(et),De||et.value.value!=="use strict"||(De=!0,this.setStrict(!0));continue}Ue=!0,this.state.strictErrors.clear()}c.push(Ke)}Y?.call(this,De),we||this.setStrict(!1),this.next()}parseFor(c,y){return c.init=y,this.semicolon(!1),c.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),c.update=this.match(11)?null:this.parseExpression(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,"ForStatement")}parseForIn(c,y,P){const H=this.match(58);return this.next(),H?P!==null&&this.unexpected(P):c.await=P!==null,y.type!=="VariableDeclaration"||y.declarations[0].init==null||H&&this.options.annexB&&!this.state.strict&&y.kind==="var"&&y.declarations[0].id.type==="Identifier"||this.raise(g.ForInOfLoopInitializer,y,{type:H?"ForInStatement":"ForOfStatement"}),y.type==="AssignmentPattern"&&this.raise(g.InvalidLhs,y,{ancestor:{type:"ForStatement"}}),c.left=y,c.right=H?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,H?"ForInStatement":"ForOfStatement")}parseVar(c,y,P){let H=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const Y=c.declarations=[];for(c.kind=P;;){const we=this.startNode();if(this.parseVarId(we,P),we.init=this.eat(29)?y?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,we.init!==null||H||(we.id.type==="Identifier"||y&&(this.match(58)||this.isContextual(102))?P!=="const"||this.match(58)||this.isContextual(102)||this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"}):this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),Y.push(this.finishNode(we,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,y){const P=this.parseBindingAtom();this.checkLVal(P,{in:{type:"VariableDeclarator"},binding:y==="var"?5:8201}),c.id=P}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const P=2&y,H=!!(1&y),Y=H&&!(4&y),we=!!(8&y);this.initFunction(c,we),this.match(55)&&(P&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),c.generator=!0),H&&(c.id=this.parseFunctionId(Y));const De=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(rs(we,c.generator)),H||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(c,H?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),H&&!P&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=De,c}parseFunctionId(c){return c||oe(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,y){this.expect(10),this.expressionScope.enter(new jr(3)),c.params=this.parseBindingList(11,41,2|(y?4:0)),this.expressionScope.exit()}registerFunctionStatementId(c){c.id&&this.scope.declareName(c.id.name,!this.options.annexB||this.state.strict||c.generator||c.async?this.scope.treatFunctionsAsVar?5:8201:17,c.id.loc.start)}parseClass(c,y,P){this.next();const H=this.state.strict;return this.state.strict=!0,this.parseClassId(c,y,P),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,H),this.finishNode(c,y?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(c){return!(c.computed||c.static||c.key.name!=="constructor"&&c.key.value!=="constructor")}parseClassBody(c,y){this.classScope.enter();const P={hadConstructor:!1,hadSuperClass:c};let H=[];const Y=this.startNode();if(Y.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(H.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){H.push(this.parseDecorator());continue}const we=this.startNode();H.length&&(we.decorators=H,this.resetStartLocationFromNode(we,H[0]),H=[]),this.parseClassMember(Y,we,P),we.kind==="constructor"&&we.decorators&&we.decorators.length>0&&this.raise(g.DecoratorConstructor,we)}}),this.state.strict=y,this.next(),H.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(Y,"ClassBody")}parseClassMemberFromModifier(c,y){const P=this.parseIdentifier(!0);if(this.isClassMethod()){const H=y;return H.kind="method",H.computed=!1,H.key=P,H.static=!1,this.pushClassMethod(c,H,!1,!1,!1,!1),!0}if(this.isClassProperty()){const H=y;return H.computed=!1,H.key=P,H.static=!1,c.body.push(this.parseClassProperty(H)),!0}return this.resetPreviousNodeTrailingComments(P),!1}parseClassMember(c,y,P){const H=this.isContextual(106);if(H){if(this.parseClassMemberFromModifier(c,y))return;if(this.eat(5))return void this.parseClassStaticBlock(c,y)}this.parseClassMemberWithIsStatic(c,y,P,H)}parseClassMemberWithIsStatic(c,y,P,H){const Y=y,we=y,De=y,Ue=y,Ke=y,et=Y,St=Y;if(y.static=H,this.parsePropertyNamePrefixOperator(y),this.eat(55)){et.kind="method";const bn=this.match(138);return this.parseClassElementName(et),bn?void this.pushClassPrivateMethod(c,we,!0,!1):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsGenerator,Y.key),void this.pushClassMethod(c,Y,!0,!1,!1,!1))}const Jt=oe(this.state.type)&&!this.state.containsEsc,Yt=this.match(138),Pr=this.parseClassElementName(y),kn=this.state.startLoc;if(this.parsePostMemberNameModifiers(St),this.isClassMethod()){if(et.kind="method",Yt)return void this.pushClassPrivateMethod(c,we,!1,!1);const bn=this.isNonstaticConstructor(Y);let Dn=!1;bn&&(Y.kind="constructor",P.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,Pr),bn&&this.hasPlugin("typescript")&&y.override&&this.raise(g.OverrideOnConstructor,Pr),P.hadConstructor=!0,Dn=P.hadSuperClass),this.pushClassMethod(c,Y,!1,!1,bn,Dn)}else if(this.isClassProperty())Yt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De);else if(Jt&&Pr.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Pr);const bn=this.eat(55);St.optional&&this.unexpected(kn),et.kind="method";const Dn=this.match(138);this.parseClassElementName(et),this.parsePostMemberNameModifiers(St),Dn?this.pushClassPrivateMethod(c,we,bn,!0):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsAsync,Y.key),this.pushClassMethod(c,Y,bn,!0,!1,!1))}else if(!Jt||Pr.name!=="get"&&Pr.name!=="set"||this.match(55)&&this.isLineTerminator())if(Jt&&Pr.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Pr);const bn=this.match(138);this.parseClassElementName(De),this.pushClassAccessorProperty(c,Ke,bn)}else this.isLineTerminator()?Yt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De):this.unexpected();else{this.resetPreviousNodeTrailingComments(Pr),et.kind=Pr.name;const bn=this.match(138);this.parseClassElementName(Y),bn?this.pushClassPrivateMethod(c,we,!1,!1):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsAccessor,Y.key),this.pushClassMethod(c,Y,!1,!1,!1,!1)),this.checkGetterSetterParams(Y)}}parseClassElementName(c){const{type:y,value:P}=this.state;if(y!==132&&y!==133||!c.static||P!=="prototype"||this.raise(g.StaticPrototype,this.state.startLoc),y===138){P==="constructor"&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const H=this.parsePrivateName();return c.key=H,H}return this.parsePropertyName(c)}parseClassStaticBlock(c,y){var P;this.scope.enter(208);const H=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const Y=y.body=[];this.parseBlockOrModuleBlockBody(Y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=H,c.body.push(this.finishNode(y,"StaticBlock")),(P=y.decorators)!=null&&P.length&&this.raise(g.DecoratorStaticBlock,y)}pushClassProperty(c,y){y.computed||y.key.name!=="constructor"&&y.key.value!=="constructor"||this.raise(g.ConstructorClassField,y.key),c.body.push(this.parseClassProperty(y))}pushClassPrivateProperty(c,y){const P=this.parseClassPrivateProperty(y);c.body.push(P),this.classScope.declarePrivateName(this.getPrivateNameSV(P.key),0,P.key.loc.start)}pushClassAccessorProperty(c,y,P){if(!P&&!y.computed){const Y=y.key;Y.name!=="constructor"&&Y.value!=="constructor"||this.raise(g.ConstructorClassField,Y)}const H=this.parseClassAccessorProperty(y);c.body.push(H),P&&this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),0,H.key.loc.start)}pushClassMethod(c,y,P,H,Y,we){c.body.push(this.parseMethod(y,P,H,Y,we,"ClassMethod",!0))}pushClassPrivateMethod(c,y,P,H){const Y=this.parseMethod(y,P,H,!1,!1,"ClassPrivateMethod",!0);c.body.push(Y);const we=Y.kind==="get"?Y.static?6:2:Y.kind==="set"?Y.static?5:1:0;this.declareClassPrivateMethodInScope(Y,we)}declareClassPrivateMethodInScope(c,y){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),y,c.key.loc.start)}parsePostMemberNameModifiers(c){}parseClassPrivateProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassPrivateProperty")}parseClassProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassProperty")}parseClassAccessorProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassAccessorProperty")}parseInitializer(c){this.scope.enter(80),this.expressionScope.enter(wn()),this.prodParam.enter(0),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,y,P){let H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8331;if(oe(this.state.type))c.id=this.parseIdentifier(),y&&this.declareNameFromIdentifier(c.id,H);else{if(!P&&y)throw this.raise(g.MissingClassName,this.state.startLoc);c.id=null}}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,y){const P=this.parseMaybeImportPhase(c,!0),H=this.maybeParseExportDefaultSpecifier(c,P),Y=!H||this.eat(12),we=Y&&this.eatExportStar(c),De=we&&this.maybeParseExportNamespaceSpecifier(c),Ue=Y&&(!De||this.eat(12)),Ke=H||we;if(we&&!De){if(H&&this.unexpected(),y)throw this.raise(g.UnsupportedDecoratorExport,c);return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}const et=this.maybeParseExportNamedSpecifiers(c);let St;if(H&&Y&&!we&&!et&&this.unexpected(null,5),De&&Ue&&this.unexpected(null,98),Ke||et){if(St=!1,y)throw this.raise(g.UnsupportedDecoratorExport,c);this.parseExportFrom(c,Ke)}else St=this.maybeParseExportDeclaration(c);if(Ke||et||St){var Jt;const Yt=c;if(this.checkExport(Yt,!0,!1,!!Yt.source),((Jt=Yt.declaration)==null?void 0:Jt.type)==="ClassDeclaration")this.maybeTakeDecorators(y,Yt.declaration,Yt);else if(y)throw this.raise(g.UnsupportedDecoratorExport,c);return this.finishNode(Yt,"ExportNamedDeclaration")}if(this.eat(65)){const Yt=c,Pr=this.parseExportDefaultExpression();if(Yt.declaration=Pr,Pr.type==="ClassDeclaration")this.maybeTakeDecorators(y,Pr,Yt);else if(y)throw this.raise(g.UnsupportedDecoratorExport,c);return this.checkExport(Yt,!0,!0),this.finishNode(Yt,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c,y){if(y||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",y?.loc.start);const P=y||this.parseIdentifier(!0),H=this.startNodeAtNode(P);return H.exported=P,c.specifiers=[this.finishNode(H,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);const y=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),y.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(y,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);const y=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(y)),c.source=null,c.declaration=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),!0}return!1}maybeParseExportDeclaration(c){return!!this.shouldParseExportDeclaration()&&(c.specifiers=[],c.source=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),c.declaration=this.parseExportDeclaration(c),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const c=this.nextTokenInLineStart();return this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){const c=this.startNode();if(this.match(68))return this.next(),this.parseFunction(c,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(c,13);if(this.match(80))return this.parseClass(c,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(g.UnsupportedDefaultExport,this.state.startLoc);const y=this.parseMaybeAssignAllowIn();return this.semicolon(),y}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:c}=this.state;if(oe(c)){if(c===95&&!this.state.containsEsc||c===100)return!1;if((c===130||c===129)&&!this.state.containsEsc){const{type:H}=this.lookahead();if(oe(H)&&H!==98||H===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const y=this.nextTokenStart(),P=this.isUnparsedContextual(y,"from");if(this.input.charCodeAt(y)===44||oe(this.state.type)&&P)return!0;if(this.match(65)&&P){const H=this.input.charCodeAt(this.nextTokenStartSince(y+4));return H===34||H===39}return!1}parseExportFrom(c,y){this.eatContextual(98)?(c.source=this.parseImportSource(),this.checkExport(c),this.maybeParseImportAttributes(c),this.checkJSONModuleImport(c)):y&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,y,P,H){var Y;if(y){if(P){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var we;const De=c.declaration;De.type!=="Identifier"||De.name!=="from"||De.end-De.start!=4||(we=De.extra)!=null&&we.parenthesized||this.raise(g.ExportDefaultFromAsIdentifier,De)}}else if((Y=c.specifiers)!=null&&Y.length)for(const De of c.specifiers){const{exported:Ue}=De,Ke=Ue.type==="Identifier"?Ue.name:Ue.value;if(this.checkDuplicateExports(De,Ke),!H&&De.local){const{local:et}=De;et.type!=="Identifier"?this.raise(g.ExportBindingIsString,De,{localName:et.value,exportName:Ke}):(this.checkReservedWord(et.name,et.loc.start,!0,!1),this.scope.checkLocalExport(et))}}else if(c.declaration){if(c.declaration.type==="FunctionDeclaration"||c.declaration.type==="ClassDeclaration"){const De=c.declaration.id;if(!De)throw new Error("Assertion failure");this.checkDuplicateExports(c,De.name)}else if(c.declaration.type==="VariableDeclaration")for(const De of c.declaration.declarations)this.checkDeclaration(De.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(const y of c.properties)this.checkDeclaration(y);else if(c.type==="ArrayPattern")for(const y of c.elements)y&&this.checkDeclaration(y);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,y){this.exportedIdentifiers.has(y)&&(y==="default"?this.raise(g.DuplicateDefaultExport,c):this.raise(g.DuplicateExport,c,{exportName:y})),this.exportedIdentifiers.add(y)}parseExportSpecifiers(c){const y=[];let P=!0;for(this.expect(5);!this.eat(8);){if(P)P=!1;else if(this.expect(12),this.eat(8))break;const H=this.isContextual(130),Y=this.match(133),we=this.startNode();we.local=this.parseModuleExportName(),y.push(this.parseExportSpecifier(we,Y,c,H))}return y}parseExportSpecifier(c,y,P,H){return this.eatContextual(93)?c.exported=this.parseModuleExportName():y?c.exported=function(Y){const{type:we,start:De,end:Ue,loc:Ke,range:et,extra:St}=Y;if(we==="Placeholder")return function(Yt){return ns(Yt)}(Y);const Jt=Object.create(Fn);return Jt.type=we,Jt.start=De,Jt.end=Ue,Jt.loc=Ke,Jt.range=et,Y.raw!==void 0?Jt.raw=Y.raw:Jt.extra=St,Jt.value=Y.value,Jt}(c.local):c.exported||(c.exported=ns(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const c=this.parseStringLiteral(this.state.value),y=c.value.match(gs);return y&&this.raise(g.ModuleExportNameHasLoneSurrogate,c,{surrogateCharCode:y[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null&&c.assertions.some(y=>{let{key:P,value:H}=y;return H.value==="json"&&(P.type==="Identifier"?P.name==="type":P.value==="type")})}checkImportReflection(c){const{specifiers:y}=c,P=y.length===1?y[0].type:null;if(c.phase==="source")P!=="ImportDefaultSpecifier"&&this.raise(g.SourcePhaseImportRequiresDefault,y[0].loc.start);else if(c.phase==="defer")P!=="ImportNamespaceSpecifier"&&this.raise(g.DeferImportRequiresNamespace,y[0].loc.start);else if(c.module){var H;P!=="ImportDefaultSpecifier"&&this.raise(g.ImportReflectionNotBinding,y[0].loc.start),((H=c.assertions)==null?void 0:H.length)>0&&this.raise(g.ImportReflectionHasAssertion,y[0].loc.start)}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){const{specifiers:y}=c;if(y!=null){const P=y.find(H=>{let Y;if(H.type==="ExportSpecifier"?Y=H.local:H.type==="ImportSpecifier"&&(Y=H.imported),Y!==void 0)return Y.type==="Identifier"?Y.name!=="default":Y.value!=="default"});P!==void 0&&this.raise(g.ImportJSONBindingNotDefault,P.loc.start)}}}isPotentialImportPhase(c){return!c&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(c,y,P,H){y||(P==="module"?(this.expectPlugin("importReflection",H),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1),P==="source"?(this.expectPlugin("sourcePhaseImports",H),c.phase="source"):P==="defer"?(this.expectPlugin("deferredImportEvaluation",H),c.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(c.phase=null))}parseMaybeImportPhase(c,y){if(!this.isPotentialImportPhase(y))return this.applyImportPhase(c,y,null),null;const P=this.parseIdentifier(!0),{type:H}=this.state;return(ce(H)?H!==98||this.lookaheadCharCode()===102:H!==12)?(this.resetPreviousIdentifierLeadingComments(P),this.applyImportPhase(c,y,P.name,P.loc.start),null):(this.applyImportPhase(c,y,null),P)}isPrecedingIdImportPhase(c){const{type:y}=this.state;return oe(y)?y!==98||this.lookaheadCharCode()===102:y!==12}parseImport(c){return this.match(133)?this.parseImportSourceAndAttributes(c):this.parseImportSpecifiersAndAfter(c,this.parseMaybeImportPhase(c,!1))}parseImportSpecifiersAndAfter(c,y){c.specifiers=[];const P=!this.maybeParseDefaultImportSpecifier(c,y)||this.eat(12),H=P&&this.maybeParseStarImportSpecifier(c);return P&&!H&&this.parseNamedImportSpecifiers(c),this.expectContextual(98),this.parseImportSourceAndAttributes(c)}parseImportSourceAndAttributes(c){return c.specifiers!=null||(c.specifiers=[]),c.source=this.parseImportSource(),this.maybeParseImportAttributes(c),this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(c,y,P){y.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(y,P))}finishImportSpecifier(c,y){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8201;return this.checkLVal(c.local,{in:{type:y},binding:P}),this.finishNode(c,y)}parseImportAttributes(){this.expect(5);const c=[],y=new Set;do{if(this.match(8))break;const P=this.startNode(),H=this.state.value;if(y.has(H)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:H}),y.add(H),this.match(133)?P.key=this.parseStringLiteral(H):P.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);P.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(P,"ImportAttribute"))}while(this.eat(12));return this.expect(8),c}parseModuleAttributes(){const c=[],y=new Set;do{const P=this.startNode();if(P.key=this.parseIdentifier(!0),P.key.name!=="type"&&this.raise(g.ModuleAttributeDifferentFromType,P.key),y.has(P.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,P.key,{key:P.key.name}),y.add(P.key.name),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);P.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(P,"ImportAttribute"))}while(this.eat(12));return c}maybeParseImportAttributes(c){let y,P=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?y=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),y=this.parseImportAttributes()),P=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(g.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(c,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),y=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))y=[];else{if(!this.hasPlugin("moduleAttributes"))return;y=[]}!P&&this.hasPlugin("importAssertions")?c.assertions=y:c.attributes=y}maybeParseDefaultImportSpecifier(c,y){if(y){const P=this.startNodeAtNode(y);return P.local=y,c.specifiers.push(this.finishImportSpecifier(P,"ImportDefaultSpecifier")),!0}return!!ce(this.state.type)&&(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(c){if(this.match(55)){const y=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,y,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let y=!0;for(this.expect(5);!this.eat(8);){if(y)y=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const P=this.startNode(),H=this.match(133),Y=this.isContextual(130);P.imported=this.parseModuleExportName();const we=this.parseImportSpecifier(P,H,c.importKind==="type"||c.importKind==="typeof",Y,void 0);c.specifiers.push(we)}}parseImportSpecifier(c,y,P,H,Y){if(this.eatContextual(93))c.local=this.parseIdentifier();else{const{imported:we}=c;if(y)throw this.raise(g.ImportBindingIsString,c,{importName:we.value});this.checkReservedWord(we.name,c.loc.start,!0,!0),c.local||(c.local=ns(we))}return this.finishImportSpecifier(c,"ImportSpecifier",Y)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}}class no extends E1{constructor(c,y){super(c=function(P){if(P==null)return Object.assign({},Sa);if(P.annexB!=null&&P.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const H={};for(const we of Object.keys(Sa)){var Y;H[we]=(Y=P[we])!=null?Y:Sa[we]}return H}(c),y),this.options=c,this.initializeScopes(),this.plugins=function(P){const H=new Map;for(const Y of P){const[we,De]=Array.isArray(Y)?Y:[Y,{}];H.has(we)||H.set(we,De||{})}return H}(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return en}parse(){this.enterInitialScopes();const c=this.startNode(),y=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,y),c.errors=this.state.errors,c.comments.length=this.state.commentsLen,c}}const Hs=function(Te){const c={};for(const y of Object.keys(Te))c[y]=ae(Te[y]);return c}(pe);function Fi(Te,c){let y=no;return Te!=null&&Te.plugins&&(function(P){if(Mn(P,"decorators")){if(Mn(P,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const H=Fs(P,"decorators","decoratorsBeforeExport");if(H!=null&&typeof H!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const Y=Fs(P,"decorators","allowCallParenthesized");if(Y!=null&&typeof Y!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Mn(P,"flow")&&Mn(P,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Mn(P,"placeholders")&&Mn(P,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Mn(P,"pipelineOperator")){const H=Fs(P,"pipelineOperator","proposal");if(!Bo.includes(H)){const we=Bo.map(De=>`"${De}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${we}.`)}const Y=Mn(P,["recordAndTuple",{syntaxType:"hash"}]);if(H==="hack"){if(Mn(P,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Mn(P,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const we=Fs(P,"pipelineOperator","topicToken");if(!cl.includes(we)){const De=cl.map(Ue=>`"${Ue}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${De}.`)}if(we==="#"&&Y)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(H==="smart"&&Y)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Mn(P,"moduleAttributes")){if(Mn(P,"importAssertions")||Mn(P,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Fs(P,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Mn(P,"importAssertions")&&Mn(P,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(Mn(P,"recordAndTuple")&&Fs(P,"recordAndTuple","syntaxType")!=null&&!Fo.includes(Fs(P,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Fo.map(H=>`'${H}'`).join(", "));if(Mn(P,"asyncDoExpressions")&&!Mn(P,"doExpressions")){const H=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw H.missingPlugins="doExpressions",H}if(Mn(P,"optionalChainingAssign")&&Fs(P,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(Te.plugins),y=function(P){const H=Ea.filter(De=>Mn(P,De)),Y=H.join("/");let we=pl[Y];if(!we){we=no;for(const De of H)we=Ca[De](we);pl[Y]=we}return we}(Te.plugins)),new y(Te,c)}const pl={};e.parse=function(Te,c){var y;if(((y=c)==null?void 0:y.sourceType)!=="unambiguous")return Fi(c,Te).parse();c=Object.assign({},c);try{c.sourceType="module";const P=Fi(c,Te),H=P.parse();if(P.sawUnambiguousESM)return H;if(P.ambiguousScriptDifferentAst)try{return c.sourceType="script",Fi(c,Te).parse()}catch{}else H.program.sourceType="script";return H}catch(P){try{return c.sourceType="script",Fi(c,Te).parse()}catch{}throw P}},e.parseExpression=function(Te,c){const y=Fi(c,Te);return y.options.strictMode&&(y.state.strict=!0),y.getExpression()},e.tokTypes=Hs},(t,e,n)=>{var r;n(12);var a=SyntaxError,i=Function,s=TypeError,o=function(N){try{return i('"use strict"; return ('+N+").constructor;")()}catch{}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=function(){throw new s},p=l?function(){try{return u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,h=n(230)(),d=n(231)(),m=Object.getPrototypeOf||(d?function(N){return N.__proto__}:null),f={},v=typeof Uint8Array<"u"&&m?m(Uint8Array):r,C={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&m?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&m?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map<"u"&&h&&m?m(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set<"u"&&h&&m?m(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&m?m(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":p,"%TypedArray%":v,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(m)try{null.error}catch(N){var E=m(m(N));C["%Error.prototype%"]=E}var x=function N($){var D;if($==="%AsyncFunction%")D=o("async function () {}");else if($==="%GeneratorFunction%")D=o("function* () {}");else if($==="%AsyncGeneratorFunction%")D=o("async function* () {}");else if($==="%AsyncGenerator%"){var R=N("%AsyncGeneratorFunction%");R&&(D=R.prototype)}else if($==="%AsyncIteratorPrototype%"){var K=N("%AsyncGenerator%");K&&m&&(D=m(K.prototype))}return C[$]=D,D},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(71),b=n(233),A=w.call(Function.call,Array.prototype.concat),T=w.call(Function.apply,Array.prototype.splice),O=w.call(Function.call,String.prototype.replace),I=w.call(Function.call,String.prototype.slice),z=w.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,F=function(N,$){var D,R=N;if(b(g,R)&&(R="%"+(D=g[R])[0]+"%"),b(C,R)){var K=C[R];if(K===f&&(K=x(R)),K===void 0&&!$)throw new s("intrinsic "+N+" exists, but is not available. Please file an issue!");return{alias:D,name:R,value:K}}throw new a("intrinsic "+N+" does not exist!")};t.exports=function(N,$){if(typeof N!="string"||N.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new s('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,N)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=function(ce){var ie=I(ce,0,1),ne=I(ce,-1);if(ie==="%"&&ne!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ne==="%"&&ie!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Se=[];return O(ce,U,function(se,ye,ge,Me){Se[Se.length]=ge?O(Me,W,"$1"):ye||se}),Se}(N),R=D.length>0?D[0]:"",K=F("%"+R+"%",$),re=K.name,ue=K.value,Oe=!1,X=K.alias;X&&(R=X[0],T(D,A([0,1],X)));for(var J=1,fe=!0;J=D.length){var oe=l(ue,Ee);ue=(fe=!!oe)&&"get"in oe&&!("originalValue"in oe.get)?oe.get:ue[Ee]}else fe=b(ue,Ee),ue=ue[Ee];fe&&!Oe&&(C[re]=ue)}}return ue}},(t,e,n)=>{const r=n(34),a=n(47),i=n(3),s=n(128),o=n(30),l=n(253),u=n(254),p=n(255),h=n(256),d=n(257),m=n(258),f=n(259),v=n(260),C=n(7),E=n(261),x=n(262),g=n(76),w=n(263),b=n(264),A=n(49),T=n(77),O=n(129),I=n(130),z=n(78),U=n(79),W=n(131),F=n(265),N=n(50),$=n(8),D=n(51),R=n(268),K=n(269),re=n(270),ue=n(271),Oe=n(272),X=n(80),J=n(273),fe=n(274),Ee=n(275),Ae=n(276),pe=n(277);t.exports={parse:o,valid:l,clean:u,inc:p,diff:h,major:d,minor:m,patch:f,prerelease:v,compare:C,rcompare:E,compareLoose:x,compareBuild:g,sort:w,rsort:b,gt:A,lt:T,eq:O,neq:I,gte:z,lte:U,cmp:W,coerce:F,Comparator:N,Range:$,satisfies:D,toComparators:R,maxSatisfying:K,minSatisfying:re,minVersion:ue,validRange:Oe,outside:X,gtr:J,ltr:fe,intersects:Ee,simplifyRange:Ae,subset:pe,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},(t,e,n)=>{let r,a,i,s,{isClean:o,my:l}=n(145),u=n(52),p=n(56),h=n(53);function d(v){return v.map(C=>(C.nodes&&(C.nodes=d(C.nodes)),delete C.source,C))}function m(v){if(v[o]=!1,v.proxyOf.nodes)for(let C of v.proxyOf.nodes)m(C)}class f extends h{append(){for(var C=arguments.length,E=new Array(C),x=0;xE==="proxyOf"?C:C[E]?E==="each"||typeof E=="string"&&E.startsWith("walk")?function(){for(var x=arguments.length,g=new Array(x),w=0;wtypeof b=="function"?(A,T)=>b(A.toProxy(),T):b))}:E==="every"||E==="some"?x=>C[E](function(g){for(var w=arguments.length,b=new Array(w>1?w-1:0),A=1;AC.root().toProxy():E==="nodes"?C.nodes.map(x=>x.toProxy()):E==="first"||E==="last"?C[E].toProxy():C[E]:C[E],set:(C,E,x)=>(C[E]===x||(C[E]=x,E!=="name"&&E!=="params"&&E!=="selector"||C.markDirty()),!0)}}index(C){return typeof C=="number"?C:(C.proxyOf&&(C=C.proxyOf),this.proxyOf.nodes.indexOf(C))}insertAfter(C,E){let x,g=this.index(C),w=this.normalize(E,this.proxyOf.nodes[g]).reverse();g=this.index(C);for(let b of w)this.proxyOf.nodes.splice(g+1,0,b);for(let b in this.indexes)x=this.indexes[b],g(x[l]||f.rebuild(x),(x=x.proxyOf).parent&&x.parent.removeChild(x),x[o]&&m(x),x.raws.before===void 0&&E&&E.raws.before!==void 0&&(x.raws.before=E.raws.before.replace(/\S/g,"")),x.parent=this.proxyOf,x))}prepend(){for(var C=arguments.length,E=new Array(C),x=0;x=C&&(this.indexes[x]=E-1);return this.markDirty(),this}replaceValues(C,E,x){return x||(x=E,E={}),this.walkDecls(g=>{E.props&&!E.props.includes(g.prop)||E.fast&&!g.value.includes(E.fast)||(g.value=g.value.replace(C,x))}),this.markDirty(),this}some(C){return this.nodes.some(C)}walk(C){return this.each((E,x)=>{let g;try{g=C(E,x)}catch(w){throw E.addToError(w)}return g!==!1&&E.walk&&(g=E.walk(C)),g})}walkAtRules(C,E){return E?C instanceof RegExp?this.walk((x,g)=>{if(x.type==="atrule"&&C.test(x.name))return E(x,g)}):this.walk((x,g)=>{if(x.type==="atrule"&&x.name===C)return E(x,g)}):(E=C,this.walk((x,g)=>{if(x.type==="atrule")return E(x,g)}))}walkComments(C){return this.walk((E,x)=>{if(E.type==="comment")return C(E,x)})}walkDecls(C,E){return E?C instanceof RegExp?this.walk((x,g)=>{if(x.type==="decl"&&C.test(x.prop))return E(x,g)}):this.walk((x,g)=>{if(x.type==="decl"&&x.prop===C)return E(x,g)}):(E=C,this.walk((x,g)=>{if(x.type==="decl")return E(x,g)}))}walkRules(C,E){return E?C instanceof RegExp?this.walk((x,g)=>{if(x.type==="rule"&&C.test(x.selector))return E(x,g)}):this.walk((x,g)=>{if(x.type==="rule"&&x.selector===C)return E(x,g)}):(E=C,this.walk((x,g)=>{if(x.type==="rule")return E(x,g)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=v=>{r=v},f.registerRule=v=>{a=v},f.registerAtRule=v=>{i=v},f.registerRoot=v=>{s=v},t.exports=f,f.default=f,f.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,i.prototype):v.type==="rule"?Object.setPrototypeOf(v,a.prototype):v.type==="decl"?Object.setPrototypeOf(v,u.prototype):v.type==="comment"?Object.setPrototypeOf(v,p.prototype):v.type==="root"&&Object.setPrototypeOf(v,s.prototype),v[l]=!0,v.nodes&&v.nodes.forEach(C=>{f.rebuild(C)})}},(t,e,n)=>{var r=n(17);function a(X){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},a(X)}function i(X,J,fe){return Object.defineProperty(X,"prototype",{writable:!1}),X}var s,o,l=n(227).codes,u=l.ERR_AMBIGUOUS_ARGUMENT,p=l.ERR_INVALID_ARG_TYPE,h=l.ERR_INVALID_ARG_VALUE,d=l.ERR_INVALID_RETURN_VALUE,m=l.ERR_MISSING_ARGS,f=n(241),v=n(32).inspect,C=n(32).types,E=C.isPromise,x=C.isRegExp,g=n(242)(),w=n(74)(),b=n(38)("RegExp.prototype.test");function A(){var X=n(245);s=X.isDeepEqual,o=X.isDeepStrictEqual}var T=!1,O=t.exports=W,I={};function z(X){throw X.message instanceof Error?X.message:new f(X)}function U(X,J,fe,Ee){if(!fe){var Ae=!1;if(J===0)Ae=!0,Ee="No value argument passed to `assert.ok()`";else if(Ee instanceof Error)throw Ee;var pe=new f({actual:fe,expected:!0,message:Ee,operator:"==",stackStartFn:X});throw pe.generatedMessage=Ae,pe}}function W(){for(var X=arguments.length,J=new Array(X),fe=0;fe1?fe-1:0),Ae=1;Ae1?fe-1:0),Ae=1;Ae1?fe-1:0),Ae=1;Ae1?fe-1:0),Ae=1;Ae{Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_OPERATORS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.STATEMENT_OR_BLOCK_KEYS=e.NUMBER_UNARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.NOT_LOCAL_BINDING=e.LOGICAL_OPERATORS=e.INHERIT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.EQUALITY_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.COMMENT_KEYS=e.BOOLEAN_UNARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.BLOCK_SCOPED_SYMBOL=e.BINARY_OPERATORS=e.ASSIGNMENT_OPERATORS=void 0,e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],e.FLATTENABLE_KEYS=["body","expressions"],e.FOR_INIT_KEYS=["left","init"],e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const n=e.LOGICAL_OPERATORS=["||","&&","??"],r=(e.UPDATE_OPERATORS=["++","--"],e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),a=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],i=e.COMPARISON_BINARY_OPERATORS=[...a,"in","instanceof"],s=e.BOOLEAN_BINARY_OPERATORS=[...i,...r],o=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],l=(e.BINARY_OPERATORS=["+",...o,...s,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...o.map(h=>h+"="),...n.map(h=>h+"=")],e.BOOLEAN_UNARY_OPERATORS=["delete","!"]),u=e.NUMBER_UNARY_OPERATORS=["+","-","~"],p=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...l,...u,...p],e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return l(p,!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],arguments.length>2&&arguments[2]!==void 0&&arguments[2],new Map)};var r=n(9),a=n(2);const i=Function.call.bind(Object.prototype.hasOwnProperty);function s(p,h,d,m){return p&&typeof p.type=="string"?l(p,h,d,m):p}function o(p,h,d,m){return Array.isArray(p)?p.map(f=>s(f,h,d,m)):s(p,h,d,m)}function l(p){let h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],m=arguments.length>3?arguments[3]:void 0;if(!p)return p;const{type:f}=p,v={type:p.type};if((0,a.isIdentifier)(p))v.name=p.name,i(p,"optional")&&typeof p.optional=="boolean"&&(v.optional=p.optional),i(p,"typeAnnotation")&&(v.typeAnnotation=h?o(p.typeAnnotation,!0,d,m):p.typeAnnotation);else{if(!i(r.NODE_FIELDS,f))throw new Error(`Unknown node type: "${f}"`);for(const C of Object.keys(r.NODE_FIELDS[f]))i(p,C)&&(v[C]=h?(0,a.isFile)(p)&&C==="comments"?u(p.comments,h,d,m):o(p[C],!0,d,m):p[C])}return i(p,"loc")&&(v.loc=d?null:p.loc),i(p,"leadingComments")&&(v.leadingComments=u(p.leadingComments,h,d,m)),i(p,"innerComments")&&(v.innerComments=u(p.innerComments,h,d,m)),i(p,"trailingComments")&&(v.trailingComments=u(p.trailingComments,h,d,m)),i(p,"extra")&&(v.extra=Object.assign({},p.extra)),v}function u(p,h,d,m){return p&&h?p.map(f=>{const v=m.get(f);if(v)return v;const{type:C,value:E,loc:x}=f,g={type:C,value:E,loc:x};return d&&(g.loc=null),m.set(f,g),g}):p}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var r=n(162),a=n(61),i=n(14),s=n(183),o=n(0),l=o,u=n(35),p=n(101),h=n(423),d=n(424),m=n(427),f=n(430),v=n(431),C=n(436),E=n(437),x=n(438),g=n(440),w=n(442),b=n(443),A=n(163);const{validate:T}=o,O=a("babel"),I=e.REMOVED=1,z=e.SHOULD_STOP=2,U=e.SHOULD_SKIP=4;class W{constructor(N,$){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=$,this.hub=N,this.data=null,this.context=null,this.scope=null}static get(N){let{hub:$,parentPath:D,parent:R,container:K,listKey:re,key:ue}=N;if(!$&&D&&($=D.hub),!R)throw new Error("To get a node path the parent needs to exist");const Oe=K[ue],X=u.getOrCreateCachedPaths($,R);let J=X.get(Oe);return J||(J=new W($,R),Oe&&X.set(Oe,J)),J.setup(D,K,re,ue),J}getScope(N){return this.isScope()?new s.default(this):N}setData(N,$){return this.data==null&&(this.data=Object.create(null)),this.data[N]=$}getData(N,$){this.data==null&&(this.data=Object.create(null));let D=this.data[N];return D===void 0&&$!==void 0&&(D=this.data[N]=$),D}hasNode(){return this.node!=null}buildCodeFrameError(N){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:SyntaxError;return this.hub.buildError(this.node,N,$)}traverse(N,$){(0,i.default)(this.node,N,this.scope,$,this)}set(N,$){T(this.node,N,$),this.node[N]=$}getPathLocation(){const N=[];let $=this;do{let D=$.key;$.inList&&(D=`${$.listKey}[${D}]`),N.unshift(D)}while($=$.parentPath);return N.join(".")}debug(N){O.enabled&&O(`${this.getPathLocation()} ${this.type}: ${N}`)}toString(){return(0,p.default)(this.node).code}get inList(){return!!this.listKey}set inList(N){N||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&U)}set shouldSkip(N){N?this._traverseFlags|=U:this._traverseFlags&=~U}get shouldStop(){return!!(this._traverseFlags&z)}set shouldStop(N){N?this._traverseFlags|=z:this._traverseFlags&=~z}get removed(){return!!(this._traverseFlags&I)}set removed(N){N?this._traverseFlags|=I:this._traverseFlags&=~I}}Object.assign(W.prototype,h,d,m,f,v,C,E,x,g,w,b),W.prototype._guessExecutionStatusRelativeToDifferentFunctions=C._guessExecutionStatusRelativeTo;for(const F of l.TYPES){const N=`is${F}`,$=l[N];W.prototype[N]=function(D){return $(this.node,D)},W.prototype[`assert${F}`]=function(D){if(!$(this.node,D))throw new TypeError(`Expected node path of type ${F}`)}}Object.assign(W.prototype,A);for(const F of Object.keys(r))F[0]!=="_"&&(l.TYPES.includes(F)||l.TYPES.push(F));e.default=W},(t,e,n)=>{var r=n(19),a=n(63),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(s,o){return i(a(s),o)}},(t,e,n)=>{const r=n(3);t.exports=function(a,i){let s=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(a instanceof r)return a;try{return new r(a,i)}catch(o){if(!s)return null;throw o}}},(t,e,n)=>{/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */n(12);const r=n(417),a=n(418),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.a=l,e.b=50;const s=2147483647;function o(k){if(k>s)throw new RangeError('The value "'+k+'" is invalid for option "size"');const B=new Uint8Array(k);return Object.setPrototypeOf(B,l.prototype),B}function l(k,B,Z){if(typeof k=="number"){if(typeof B=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(k)}return u(k,B,Z)}function u(k,B,Z){if(typeof k=="string")return function(Le,de){if(typeof de=="string"&&de!==""||(de="utf8"),!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const ke=0|v(Le,de);let Ge=o(ke);const nt=Ge.write(Le,de);return nt!==ke&&(Ge=Ge.slice(0,nt)),Ge}(k,B);if(ArrayBuffer.isView(k))return function(Le){if(se(Le,Uint8Array)){const de=new Uint8Array(Le);return m(de.buffer,de.byteOffset,de.byteLength)}return d(Le)}(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(se(k,ArrayBuffer)||k&&se(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(k,SharedArrayBuffer)||k&&se(k.buffer,SharedArrayBuffer)))return m(k,B,Z);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Pe=k.valueOf&&k.valueOf();if(Pe!=null&&Pe!==k)return l.from(Pe,B,Z);const Ne=function(Le){if(l.isBuffer(Le)){const de=0|f(Le.length),ke=o(de);return ke.length===0||Le.copy(ke,0,0,de),ke}return Le.length!==void 0?typeof Le.length!="number"||ye(Le.length)?o(0):d(Le):Le.type==="Buffer"&&Array.isArray(Le.data)?d(Le.data):void 0}(k);if(Ne)return Ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return l.from(k[Symbol.toPrimitive]("string"),B,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}function p(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function h(k){return p(k),o(k<0?0:0|f(k))}function d(k){const B=k.length<0?0:0|f(k.length),Z=o(B);for(let Pe=0;Pe=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|k}function v(k,B){if(l.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||se(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);const Z=k.length,Pe=arguments.length>2&&arguments[2]===!0;if(!Pe&&Z===0)return 0;let Ne=!1;for(;;)switch(B){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Z;case"hex":return Z>>>1;case"base64":return ne(k).length;default:if(Ne)return Pe?-1:ie(k).length;B=(""+B).toLowerCase(),Ne=!0}}function C(k,B,Z){let Pe=!1;if((B===void 0||B<0)&&(B=0),B>this.length||((Z===void 0||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0)<=(B>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return N(this,B,Z);case"utf8":case"utf-8":return z(this,B,Z);case"ascii":return W(this,B,Z);case"latin1":case"binary":return F(this,B,Z);case"base64":return I(this,B,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,B,Z);default:if(Pe)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),Pe=!0}}function E(k,B,Z){const Pe=k[B];k[B]=k[Z],k[Z]=Pe}function x(k,B,Z,Pe,Ne){if(k.length===0)return-1;if(typeof Z=="string"?(Pe=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),ye(Z=+Z)&&(Z=Ne?0:k.length-1),Z<0&&(Z=k.length+Z),Z>=k.length){if(Ne)return-1;Z=k.length-1}else if(Z<0){if(!Ne)return-1;Z=0}if(typeof B=="string"&&(B=l.from(B,Pe)),l.isBuffer(B))return B.length===0?-1:g(k,B,Z,Pe,Ne);if(typeof B=="number")return B&=255,typeof Uint8Array.prototype.indexOf=="function"?Ne?Uint8Array.prototype.indexOf.call(k,B,Z):Uint8Array.prototype.lastIndexOf.call(k,B,Z):g(k,[B],Z,Pe,Ne);throw new TypeError("val must be string, number or Buffer")}function g(k,B,Z,Pe,Ne){let Le,de=1,ke=k.length,Ge=B.length;if(Pe!==void 0&&((Pe=String(Pe).toLowerCase())==="ucs2"||Pe==="ucs-2"||Pe==="utf16le"||Pe==="utf-16le")){if(k.length<2||B.length<2)return-1;de=2,ke/=2,Ge/=2,Z/=2}function nt(ct,yt){return de===1?ct[yt]:ct.readUInt16BE(yt*de)}if(Ne){let ct=-1;for(Le=Z;Leke&&(Z=ke-Ge),Le=Z;Le>=0;Le--){let ct=!0;for(let yt=0;ytNe&&(Pe=Ne):Pe=Ne;const Le=B.length;let de;for(Pe>Le/2&&(Pe=Le/2),de=0;de>8,Ge=de%256,nt.push(Ge),nt.push(ke);return nt}(B,k.length-Z),k,Z,Pe)}function I(k,B,Z){return B===0&&Z===k.length?r.fromByteArray(k):r.fromByteArray(k.slice(B,Z))}function z(k,B,Z){Z=Math.min(k.length,Z);const Pe=[];let Ne=B;for(;Ne239?4:Le>223?3:Le>191?2:1;if(Ne+ke<=Z){let Ge,nt,ct,yt;switch(ke){case 1:Le<128&&(de=Le);break;case 2:Ge=k[Ne+1],(192&Ge)==128&&(yt=(31&Le)<<6|63&Ge,yt>127&&(de=yt));break;case 3:Ge=k[Ne+1],nt=k[Ne+2],(192&Ge)==128&&(192&nt)==128&&(yt=(15&Le)<<12|(63&Ge)<<6|63&nt,yt>2047&&(yt<55296||yt>57343)&&(de=yt));break;case 4:Ge=k[Ne+1],nt=k[Ne+2],ct=k[Ne+3],(192&Ge)==128&&(192&nt)==128&&(192&ct)==128&&(yt=(15&Le)<<18|(63&Ge)<<12|(63&nt)<<6|63&ct,yt>65535&&yt<1114112&&(de=yt))}}de===null?(de=65533,ke=1):de>65535&&(de-=65536,Pe.push(de>>>10&1023|55296),de=56320|1023&de),Pe.push(de),Ne+=ke}return function(Le){const de=Le.length;if(de<=U)return String.fromCharCode.apply(String,Le);let ke="",Ge=0;for(;GePe.length?(l.isBuffer(Le)||(Le=l.from(Le)),Le.copy(Pe,Ne)):Uint8Array.prototype.set.call(Pe,Le,Ne);else{if(!l.isBuffer(Le))throw new TypeError('"list" argument must be an Array of Buffers');Le.copy(Pe,Ne)}Ne+=Le.length}return Pe},l.byteLength=v,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const k=this.length;if(k%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let B=0;BB&&(k+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(k,B,Z,Pe,Ne){if(se(k,Uint8Array)&&(k=l.from(k,k.offset,k.byteLength)),!l.isBuffer(k))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof k);if(B===void 0&&(B=0),Z===void 0&&(Z=k?k.length:0),Pe===void 0&&(Pe=0),Ne===void 0&&(Ne=this.length),B<0||Z>k.length||Pe<0||Ne>this.length)throw new RangeError("out of range index");if(Pe>=Ne&&B>=Z)return 0;if(Pe>=Ne)return-1;if(B>=Z)return 1;if(this===k)return 0;let Le=(Ne>>>=0)-(Pe>>>=0),de=(Z>>>=0)-(B>>>=0);const ke=Math.min(Le,de),Ge=this.slice(Pe,Ne),nt=k.slice(B,Z);for(let ct=0;ct>>=0,isFinite(Z)?(Z>>>=0,Pe===void 0&&(Pe="utf8")):(Pe=Z,Z=void 0)}const Ne=this.length-B;if((Z===void 0||Z>Ne)&&(Z=Ne),k.length>0&&(Z<0||B<0)||B>this.length)throw new RangeError("Attempt to write outside buffer bounds");Pe||(Pe="utf8");let Le=!1;for(;;)switch(Pe){case"hex":return w(this,k,B,Z);case"utf8":case"utf-8":return b(this,k,B,Z);case"ascii":case"latin1":case"binary":return A(this,k,B,Z);case"base64":return T(this,k,B,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,k,B,Z);default:if(Le)throw new TypeError("Unknown encoding: "+Pe);Pe=(""+Pe).toLowerCase(),Le=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function W(k,B,Z){let Pe="";Z=Math.min(k.length,Z);for(let Ne=B;NePe)&&(Z=Pe);let Ne="";for(let Le=B;LeZ)throw new RangeError("Trying to access beyond buffer length")}function R(k,B,Z,Pe,Ne,Le){if(!l.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(B>Ne||Bk.length)throw new RangeError("Index out of range")}function K(k,B,Z,Pe,Ne){Ae(B,Pe,Ne,k,Z,7);let Le=Number(B&BigInt(4294967295));k[Z++]=Le,Le>>=8,k[Z++]=Le,Le>>=8,k[Z++]=Le,Le>>=8,k[Z++]=Le;let de=Number(B>>BigInt(32)&BigInt(4294967295));return k[Z++]=de,de>>=8,k[Z++]=de,de>>=8,k[Z++]=de,de>>=8,k[Z++]=de,Z}function re(k,B,Z,Pe,Ne){Ae(B,Pe,Ne,k,Z,7);let Le=Number(B&BigInt(4294967295));k[Z+7]=Le,Le>>=8,k[Z+6]=Le,Le>>=8,k[Z+5]=Le,Le>>=8,k[Z+4]=Le;let de=Number(B>>BigInt(32)&BigInt(4294967295));return k[Z+3]=de,de>>=8,k[Z+2]=de,de>>=8,k[Z+1]=de,de>>=8,k[Z]=de,Z+8}function ue(k,B,Z,Pe,Ne,Le){if(Z+Pe>k.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function Oe(k,B,Z,Pe,Ne){return B=+B,Z>>>=0,Ne||ue(k,0,Z,4),a.write(k,B,Z,Pe,23,4),Z+4}function X(k,B,Z,Pe,Ne){return B=+B,Z>>>=0,Ne||ue(k,0,Z,8),a.write(k,B,Z,Pe,52,8),Z+8}l.prototype.slice=function(k,B){const Z=this.length;(k=~~k)<0?(k+=Z)<0&&(k=0):k>Z&&(k=Z),(B=B===void 0?Z:~~B)<0?(B+=Z)<0&&(B=0):B>Z&&(B=Z),B>>=0,B>>>=0,Z||D(k,B,this.length);let Pe=this[k],Ne=1,Le=0;for(;++Le>>=0,B>>>=0,Z||D(k,B,this.length);let Pe=this[k+--B],Ne=1;for(;B>0&&(Ne*=256);)Pe+=this[k+--B]*Ne;return Pe},l.prototype.readUint8=l.prototype.readUInt8=function(k,B){return k>>>=0,B||D(k,1,this.length),this[k]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(k,B){return k>>>=0,B||D(k,2,this.length),this[k]|this[k+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(k,B){return k>>>=0,B||D(k,2,this.length),this[k]<<8|this[k+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(k,B){return k>>>=0,B||D(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(k,B){return k>>>=0,B||D(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},l.prototype.readBigUInt64LE=Me(function(k){pe(k>>>=0,"offset");const B=this[k],Z=this[k+7];B!==void 0&&Z!==void 0||oe(k,this.length-8);const Pe=B+256*this[++k]+65536*this[++k]+this[++k]*2**24,Ne=this[++k]+256*this[++k]+65536*this[++k]+Z*2**24;return BigInt(Pe)+(BigInt(Ne)<>>=0,"offset");const B=this[k],Z=this[k+7];B!==void 0&&Z!==void 0||oe(k,this.length-8);const Pe=B*2**24+65536*this[++k]+256*this[++k]+this[++k],Ne=this[++k]*2**24+65536*this[++k]+256*this[++k]+Z;return(BigInt(Pe)<>>=0,B>>>=0,Z||D(k,B,this.length);let Pe=this[k],Ne=1,Le=0;for(;++Le=Ne&&(Pe-=Math.pow(2,8*B)),Pe},l.prototype.readIntBE=function(k,B,Z){k>>>=0,B>>>=0,Z||D(k,B,this.length);let Pe=B,Ne=1,Le=this[k+--Pe];for(;Pe>0&&(Ne*=256);)Le+=this[k+--Pe]*Ne;return Ne*=128,Le>=Ne&&(Le-=Math.pow(2,8*B)),Le},l.prototype.readInt8=function(k,B){return k>>>=0,B||D(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},l.prototype.readInt16LE=function(k,B){k>>>=0,B||D(k,2,this.length);const Z=this[k]|this[k+1]<<8;return 32768&Z?4294901760|Z:Z},l.prototype.readInt16BE=function(k,B){k>>>=0,B||D(k,2,this.length);const Z=this[k+1]|this[k]<<8;return 32768&Z?4294901760|Z:Z},l.prototype.readInt32LE=function(k,B){return k>>>=0,B||D(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},l.prototype.readInt32BE=function(k,B){return k>>>=0,B||D(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},l.prototype.readBigInt64LE=Me(function(k){pe(k>>>=0,"offset");const B=this[k],Z=this[k+7];B!==void 0&&Z!==void 0||oe(k,this.length-8);const Pe=this[k+4]+256*this[k+5]+65536*this[k+6]+(Z<<24);return(BigInt(Pe)<>>=0,"offset");const B=this[k],Z=this[k+7];B!==void 0&&Z!==void 0||oe(k,this.length-8);const Pe=(B<<24)+65536*this[++k]+256*this[++k]+this[++k];return(BigInt(Pe)<>>=0,B||D(k,4,this.length),a.read(this,k,!0,23,4)},l.prototype.readFloatBE=function(k,B){return k>>>=0,B||D(k,4,this.length),a.read(this,k,!1,23,4)},l.prototype.readDoubleLE=function(k,B){return k>>>=0,B||D(k,8,this.length),a.read(this,k,!0,52,8)},l.prototype.readDoubleBE=function(k,B){return k>>>=0,B||D(k,8,this.length),a.read(this,k,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(k,B,Z,Pe){k=+k,B>>>=0,Z>>>=0,Pe||R(this,k,B,Z,Math.pow(2,8*Z)-1,0);let Ne=1,Le=0;for(this[B]=255&k;++Le>>=0,Z>>>=0,Pe||R(this,k,B,Z,Math.pow(2,8*Z)-1,0);let Ne=Z-1,Le=1;for(this[B+Ne]=255&k;--Ne>=0&&(Le*=256);)this[B+Ne]=k/Le&255;return B+Z},l.prototype.writeUint8=l.prototype.writeUInt8=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,1,255,0),this[B]=255&k,B+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,2,65535,0),this[B]=255&k,this[B+1]=k>>>8,B+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,2,65535,0),this[B]=k>>>8,this[B+1]=255&k,B+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,4,4294967295,0),this[B+3]=k>>>24,this[B+2]=k>>>16,this[B+1]=k>>>8,this[B]=255&k,B+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,4,4294967295,0),this[B]=k>>>24,this[B+1]=k>>>16,this[B+2]=k>>>8,this[B+3]=255&k,B+4},l.prototype.writeBigUInt64LE=Me(function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Me(function(k){return re(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(k,B,Z,Pe){if(k=+k,B>>>=0,!Pe){const ke=Math.pow(2,8*Z-1);R(this,k,B,Z,ke-1,-ke)}let Ne=0,Le=1,de=0;for(this[B]=255&k;++Ne>0)-de&255;return B+Z},l.prototype.writeIntBE=function(k,B,Z,Pe){if(k=+k,B>>>=0,!Pe){const ke=Math.pow(2,8*Z-1);R(this,k,B,Z,ke-1,-ke)}let Ne=Z-1,Le=1,de=0;for(this[B+Ne]=255&k;--Ne>=0&&(Le*=256);)k<0&&de===0&&this[B+Ne+1]!==0&&(de=1),this[B+Ne]=(k/Le>>0)-de&255;return B+Z},l.prototype.writeInt8=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,1,127,-128),k<0&&(k=255+k+1),this[B]=255&k,B+1},l.prototype.writeInt16LE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,2,32767,-32768),this[B]=255&k,this[B+1]=k>>>8,B+2},l.prototype.writeInt16BE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,2,32767,-32768),this[B]=k>>>8,this[B+1]=255&k,B+2},l.prototype.writeInt32LE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,4,2147483647,-2147483648),this[B]=255&k,this[B+1]=k>>>8,this[B+2]=k>>>16,this[B+3]=k>>>24,B+4},l.prototype.writeInt32BE=function(k,B,Z){return k=+k,B>>>=0,Z||R(this,k,B,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),this[B]=k>>>24,this[B+1]=k>>>16,this[B+2]=k>>>8,this[B+3]=255&k,B+4},l.prototype.writeBigInt64LE=Me(function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Me(function(k){return re(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(k,B,Z){return Oe(this,k,B,!0,Z)},l.prototype.writeFloatBE=function(k,B,Z){return Oe(this,k,B,!1,Z)},l.prototype.writeDoubleLE=function(k,B,Z){return X(this,k,B,!0,Z)},l.prototype.writeDoubleBE=function(k,B,Z){return X(this,k,B,!1,Z)},l.prototype.copy=function(k,B,Z,Pe){if(!l.isBuffer(k))throw new TypeError("argument should be a Buffer");if(Z||(Z=0),Pe||Pe===0||(Pe=this.length),B>=k.length&&(B=k.length),B||(B=0),Pe>0&&Pe=this.length)throw new RangeError("Index out of range");if(Pe<0)throw new RangeError("sourceEnd out of bounds");Pe>this.length&&(Pe=this.length),k.length-B>>=0,Z=Z===void 0?this.length:Z>>>0,k||(k=0),typeof k=="number")for(Ne=B;Ne=Pe+4;Z-=3)B=`_${k.slice(Z-3,Z)}${B}`;return`${k.slice(0,Z)}${B}`}function Ae(k,B,Z,Pe,Ne,Le){if(k>Z||k= 0${de} and < 2${de} ** ${8*(Le+1)}${de}`:`>= -(2${de} ** ${8*(Le+1)-1}${de}) and < 2 ** ${8*(Le+1)-1}${de}`,new J.ERR_OUT_OF_RANGE("value",ke,k)}(function(de,ke,Ge){pe(ke,"offset"),de[ke]!==void 0&&de[ke+Ge]!==void 0||oe(ke,de.length-(Ge+1))})(Pe,Ne,Le)}function pe(k,B){if(typeof k!="number")throw new J.ERR_INVALID_ARG_TYPE(B,"number",k)}function oe(k,B,Z){throw Math.floor(k)!==k?(pe(k,Z),new J.ERR_OUT_OF_RANGE("offset","an integer",k)):B<0?new J.ERR_BUFFER_OUT_OF_BOUNDS:new J.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${B}`,k)}fe("ERR_BUFFER_OUT_OF_BOUNDS",function(k){return k?`${k} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),fe("ERR_INVALID_ARG_TYPE",function(k,B){return`The "${k}" argument must be of type number. Received type ${typeof B}`},TypeError),fe("ERR_OUT_OF_RANGE",function(k,B,Z){let Pe=`The value of "${k}" is out of range.`,Ne=Z;return Number.isInteger(Z)&&Math.abs(Z)>2**32?Ne=Ee(String(Z)):typeof Z=="bigint"&&(Ne=String(Z),(Z>BigInt(2)**BigInt(32)||Z<-(BigInt(2)**BigInt(32)))&&(Ne=Ee(Ne)),Ne+="n"),Pe+=` It must be ${B}. Received ${Ne}`,Pe},RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function ie(k,B){let Z;B=B||1/0;const Pe=k.length;let Ne=null;const Le=[];for(let de=0;de55295&&Z<57344){if(!Ne){if(Z>56319){(B-=3)>-1&&Le.push(239,191,189);continue}if(de+1===Pe){(B-=3)>-1&&Le.push(239,191,189);continue}Ne=Z;continue}if(Z<56320){(B-=3)>-1&&Le.push(239,191,189),Ne=Z;continue}Z=65536+(Ne-55296<<10|Z-56320)}else Ne&&(B-=3)>-1&&Le.push(239,191,189);if(Ne=null,Z<128){if((B-=1)<0)break;Le.push(Z)}else if(Z<2048){if((B-=2)<0)break;Le.push(Z>>6|192,63&Z|128)}else if(Z<65536){if((B-=3)<0)break;Le.push(Z>>12|224,Z>>6&63|128,63&Z|128)}else{if(!(Z<1114112))throw new Error("Invalid code point");if((B-=4)<0)break;Le.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,63&Z|128)}}return Le}function ne(k){return r.toByteArray(function(B){if((B=(B=B.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;B.length%4!=0;)B+="=";return B}(k))}function Se(k,B,Z,Pe){let Ne;for(Ne=0;Ne=B.length||Ne>=k.length);++Ne)B[Ne+Z]=k[Ne];return Ne}function se(k,B){return k instanceof B||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===B.name}function ye(k){return k!=k}const ge=function(){const k="0123456789abcdef",B=new Array(256);for(let Z=0;Z<16;++Z){const Pe=16*Z;for(let Ne=0;Ne<16;++Ne)B[Pe+Ne]=k[Z]+k[Ne]}return B}();function Me(k){return typeof BigInt>"u"?ae:k}function ae(){throw new Error("BigInt not supported")}},(t,e,n)=>{var r=n(17),a=Object.getOwnPropertyDescriptors||function(F){for(var N=Object.keys(F),$={},D=0;D=R)return ue;switch(ue){case"%s":return String(D[$++]);case"%d":return Number(D[$++]);case"%j":try{return JSON.stringify(D[$++])}catch{return"[Circular]"}default:return ue}}),re=D[$];$=3&&($.depth=arguments[2]),arguments.length>=4&&($.colors=arguments[3]),v(N)?$.showHidden=N:N&&e._extend($,N),g($.showHidden)&&($.showHidden=!1),g($.depth)&&($.depth=2),g($.colors)&&($.colors=!1),g($.customInspect)&&($.customInspect=!0),$.colors&&($.stylize=u),h($,F,$.depth)}function u(F,N){var $=l.styles[N];return $?"\x1B["+l.colors[$][0]+"m"+F+"\x1B["+l.colors[$][1]+"m":F}function p(F,N){return F}function h(F,N,$){if(F.customInspect&&N&&O(N.inspect)&&N.inspect!==e.inspect&&(!N.constructor||N.constructor.prototype!==N)){var D=N.inspect($,F);return x(D)||(D=h(F,D,$)),D}var R=function(Ee,Ae){if(g(Ae))return Ee.stylize("undefined","undefined");if(x(Ae)){var pe="'"+JSON.stringify(Ae).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ee.stylize(pe,"string")}return E(Ae)?Ee.stylize(""+Ae,"number"):v(Ae)?Ee.stylize(""+Ae,"boolean"):C(Ae)?Ee.stylize("null","null"):void 0}(F,N);if(R)return R;var K=Object.keys(N),re=function(Ee){var Ae={};return Ee.forEach(function(pe,oe){Ae[pe]=!0}),Ae}(K);if(F.showHidden&&(K=Object.getOwnPropertyNames(N)),T(N)&&(K.indexOf("message")>=0||K.indexOf("description")>=0))return d(N);if(K.length===0){if(O(N)){var ue=N.name?": "+N.name:"";return F.stylize("[Function"+ue+"]","special")}if(w(N))return F.stylize(RegExp.prototype.toString.call(N),"regexp");if(A(N))return F.stylize(Date.prototype.toString.call(N),"date");if(T(N))return d(N)}var Oe,X="",J=!1,fe=["{","}"];return f(N)&&(J=!0,fe=["[","]"]),O(N)&&(X=" [Function"+(N.name?": "+N.name:"")+"]"),w(N)&&(X=" "+RegExp.prototype.toString.call(N)),A(N)&&(X=" "+Date.prototype.toUTCString.call(N)),T(N)&&(X=" "+d(N)),K.length!==0||J&&N.length!=0?$<0?w(N)?F.stylize(RegExp.prototype.toString.call(N),"regexp"):F.stylize("[Object]","special"):(F.seen.push(N),Oe=J?function(Ee,Ae,pe,oe,ce){for(var ie=[],ne=0,Se=Ae.length;ne60?pe[0]+(Ae===""?"":Ae+` `)+" "+Ee.join(`, `)+" "+pe[1]:pe[0]+Ae+" "+Ee.join(", ")+" "+pe[1]}(Oe,X,fe)):fe[0]+X+fe[1]}function d(F){return"["+Error.prototype.toString.call(F)+"]"}function m(F,N,$,D,R,K){var re,ue,Oe;if((Oe=Object.getOwnPropertyDescriptor(N,R)||{value:N[R]}).get?ue=Oe.set?F.stylize("[Getter/Setter]","special"):F.stylize("[Getter]","special"):Oe.set&&(ue=F.stylize("[Setter]","special")),z(D,R)||(re="["+R+"]"),ue||(F.seen.indexOf(Oe.value)<0?(ue=C($)?h(F,Oe.value,null):h(F,Oe.value,$-1)).indexOf(` `)>-1&&(ue=K?ue.split(` `).map(function(X){return" "+X}).join(` `).slice(2):` `+ue.split(` `).map(function(X){return" "+X}).join(` `)):ue=F.stylize("[Circular]","special")),g(re)){if(K&&R.match(/^\d+$/))return ue;(re=JSON.stringify(""+R)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(re=re.slice(1,-1),re=F.stylize(re,"name")):(re=re.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),re=F.stylize(re,"string"))}return re+": "+ue}function f(F){return Array.isArray(F)}function v(F){return typeof F=="boolean"}function C(F){return F===null}function E(F){return typeof F=="number"}function x(F){return typeof F=="string"}function g(F){return F===void 0}function w(F){return b(F)&&I(F)==="[object RegExp]"}function b(F){return typeof F=="object"&&F!==null}function A(F){return b(F)&&I(F)==="[object Date]"}function T(F){return b(F)&&(I(F)==="[object Error]"||F instanceof Error)}function O(F){return typeof F=="function"}function I(F){return Object.prototype.toString.call(F)}function z(F,N){return Object.prototype.hasOwnProperty.call(F,N)}e.debuglog=function(F){return F=F.toUpperCase(),s[F]||(o.test(F)?(r.pid,s[F]=function(){e.format.apply(e,arguments)}):s[F]=function(){}),s[F]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=n(228),e.isArray=f,e.isBoolean=v,e.isNull=C,e.isNullOrUndefined=function(F){return F==null},e.isNumber=E,e.isString=x,e.isSymbol=function(F){return typeof F=="symbol"},e.isUndefined=g,e.isRegExp=w,e.types.isRegExp=w,e.isObject=b,e.isDate=A,e.types.isDate=A,e.isError=T,e.types.isNativeError=T,e.isFunction=O,e.isPrimitive=function(F){return F===null||typeof F=="boolean"||typeof F=="number"||typeof F=="string"||typeof F=="symbol"||F===void 0},e.isBuffer=n(240),e.log=function(){},e.inherits=n(158),e._extend=function(F,N){if(!N||!b(N))return F;for(var $=Object.keys(N),D=$.length;D--;)F[$[D]]=N[$[D]];return F};var U=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function W(F,N){if(!F){var $=new Error("Promise was rejected with a falsy value");$.reason=F,F=$}return N(F)}e.promisify=function(F){if(typeof F!="function")throw new TypeError('The "original" argument must be of type Function');if(U&&F[U]){var N;if(typeof(N=F[U])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(N,U,{value:N,enumerable:!1,writable:!1,configurable:!0}),N}function N(){for(var $,D,R=new Promise(function(ue,Oe){$=ue,D=Oe}),K=[],re=0;re{function n(a){const{context:i,node:s}=a;if(s.computed&&i.maybeQueue(a.get("key")),s.decorators)for(const o of a.get("decorators"))i.maybeQueue(o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.requeueComputedKeyAndDecorators=n,e.skipAllButComputedKey=function(a){a.skip(),a.node.computed&&a.context.maybeQueue(a.get("key"))};var r={FunctionParent(a){a.isArrowFunctionExpression()||(a.skip(),a.isMethod()&&n(a))},Property(a){a.isObjectProperty()||(a.skip(),n(a))}};e.default=r},(t,e,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:i}=n(47),s=n(48),o=(e=t.exports={}).re=[],l=e.safeRe=[],u=e.src=[],p=e.t={};let h=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[d,a]],f=(v,C,E)=>{const x=(w=>{for(const[b,A]of m)w=w.split(`${b}*`).join(`${b}{0,${A}}`).split(`${b}+`).join(`${b}{1,${A}}`);return w})(C),g=h++;s(v,g,C),p[v]=g,u[g]=C,o[g]=new RegExp(C,E?"g":void 0),l[g]=new RegExp(x,E?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[p.NUMERICIDENTIFIER]}|${u[p.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NUMERICIDENTIFIERLOOSE]}|${u[p.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),f("FULL",`^${u[p.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),f("LOOSE",`^${u[p.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),f("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",u[p.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(){a(),i()},e.clearPath=a,e.clearScope=i,e.getCachedPaths=function(o,l){var u;return(u=n.get(s))==null?void 0:u.get(l)},e.getOrCreateCachedPaths=function(o,l){let u=n.get(s);u||n.set(s,u=new WeakMap);let p=u.get(l);return p||u.set(l,p=new Map),p},e.scope=e.path=void 0;let n=e.path=new WeakMap,r=e.scope=new WeakMap;function a(){e.path=n=new WeakMap}function i(){e.scope=r=new WeakMap}const s=Object.freeze({})},(t,e,n)=>{var r=n(17);Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=p,e.default=function(h,d,m){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!l){l=!0;const v="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";r.emitWarning?r.emitWarning(v,"DeprecationWarning"):new Error(v).name="DeprecationWarning"}return p(h,{start:{column:m=Math.max(m,0),line:d}},f)};var a=n(428),i=function(h,d){if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=s(!0);if(m&&m.has(h))return m.get(h);var f={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in h)if(C!=="default"&&Object.prototype.hasOwnProperty.call(h,C)){var E=v?Object.getOwnPropertyDescriptor(h,C):null;E&&(E.get||E.set)?Object.defineProperty(f,C,E):f[C]=h[C]}return f.default=h,m&&m.set(h,f),f}(n(224));function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(s=function(f){return f?m:d})(h)}let o,l=!1;const u=/\r\n|[\n\r\u2028\u2029]/;function p(h,d){let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const f=(m.highlightCode||m.forceColor)&&(0,a.shouldHighlight)(m),v=m.forceColor?(o!=null||(o=new i.default.constructor({enabled:!0,level:1})),o):i.default,C=function(I){return{gutter:I.grey,marker:I.red.bold,message:I.red.bold}}(v),E=(I,z)=>f?I(z):z,x=h.split(u),{start:g,end:w,markerLines:b}=function(I,z,U){const W=Object.assign({column:0,line:-1},I.start),F=Object.assign({},W,I.end),{linesAbove:N=2,linesBelow:$=3}=U||{},D=W.line,R=W.column,K=F.line,re=F.column;let ue=Math.max(D-(N+1),0),Oe=Math.min(z.length,K+$);D===-1&&(ue=0),K===-1&&(Oe=z.length);const X=K-D,J={};if(X)for(let fe=0;fe<=X;fe++){const Ee=fe+D;if(R)if(fe===0){const Ae=z[Ee-1].length;J[Ee]=[R,Ae-R+1]}else if(fe===X)J[Ee]=[0,re];else{const Ae=z[Ee-fe].length;J[Ee]=[0,Ae]}else J[Ee]=!0}else J[D]=R===re?!R||[R,0]:[R,re-R];return{start:ue,end:Oe,markerLines:J}}(d,x,m),A=d.start&&typeof d.start.column=="number",T=String(w).length;let O=(f?(0,a.default)(h,m):h).split(u,w).slice(g,w).map((I,z)=>{const U=g+1+z,W=` ${` ${U}`.slice(-T)} |`,F=b[U],N=!b[U+1];if(F){let $="";if(Array.isArray(F)){const D=I.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),R=F[1]||1;$=[` `,E(C.gutter,W.replace(/\d/g," "))," ",D,E(C.marker,"^").repeat(R)].join(""),N&&m.message&&($+=" "+E(C.message,m.message))}return[E(C.marker,">"),E(C.gutter,W),I.length>0?` ${I}`:"",$].join("")}return` ${E(C.gutter,W)}${I.length>0?` ${I}`:""}`}).join(` `);return m.message&&!A&&(O=`${" ".repeat(T+1)}${m.message} ${O}`),f?v.reset(O):O}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var r=n(432),a=n(433);const i=(0,a.default)(r.smart);e.smart=i;const s=(0,a.default)(r.statement);e.statement=s;const o=(0,a.default)(r.statements);e.statements=o;const l=(0,a.default)(r.expression);e.expression=l;const u=(0,a.default)(r.program);e.program=u;var p=Object.assign(i.bind(void 0),{smart:i,statement:s,statements:o,expression:l,program:u,ast:i.ast});e.default=p},(t,e,n)=>{var r=n(22),a=n(41),i=a(r("String.prototype.indexOf"));t.exports=function(s,o){var l=r(s,!!o);return typeof l=="function"&&i(s,".prototype.")>-1?a(l):l}},(t,e)=>{var n;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=function(h){return a?Object.defineProperty(function(){return u(),h(...arguments)},"name",{value:s}):h},e.endHiddenCallStack=function(h){return a?Object.defineProperty(function(){return h(...arguments)},"name",{value:i}):h},e.expectedError=function(h){if(a)return o.add(h),h},e.injectVirtualStackFrame=function(h,d){if(!a)return;let m=l.get(h);return m||l.set(h,m=[]),m.push(function(f){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>f,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>f})}(d)),h};const r=Function.call.bind(Error.prototype.toString),a=!!Error.captureStackTrace&&((n=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:n.writable)===!0,i="startHiding - secret - don't use this - v1",s="stopHiding - secret - don't use this - v1",o=new WeakSet,l=new WeakMap;function u(){u=()=>{};const{prepareStackTrace:h=p}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(d,m){let f=[],v=o.has(d)?"hiding":"unknown";for(let C=0;C{let r,a,i=n(24);class s extends i{constructor(l){super(l),this.type="root",this.nodes||(this.nodes=[])}normalize(l,u,p){let h=super.normalize(l);if(u){if(p==="prepend")this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(let d of h)d.raws.before=u.raws.before}return h}removeChild(l,u){let p=this.index(l);return!u&&p===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[p].raws.before),super.removeChild(l)}toResult(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new r(new a,this,l).stringify()}}s.registerLazyResult=o=>{r=o},s.registerProcessor=o=>{a=o},t.exports=s,s.default=s,i.registerRoot(s)},(t,e,n)=>{var r=n(71),a=n(22),i=n(234),s=a("%TypeError%"),o=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),u=a("%Reflect.apply%",!0)||r.call(l,o),p=a("%Object.defineProperty%",!0),h=a("%Math.max%");if(p)try{p({},"a",{value:1})}catch{p=null}t.exports=function(m){if(typeof m!="function")throw new s("a function is required");var f=u(r,l,arguments);return i(f,1+h(0,m.length-(arguments.length-1)),!0)};var d=function(){return u(r,o,arguments)};p?p(t.exports,"apply",{value:d}):t.exports.apply=d},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,l,u){return!!l&&((0,a.default)(l.type,o)?u===void 0||(0,r.default)(l,u):!u&&l.type==="Placeholder"&&o in s.FLIPPED_ALIAS_KEYS&&(0,i.default)(l.expectedNode,o))};var r=n(96),a=n(98),i=n(168),s=n(9)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return typeof a=="string"&&(!(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])||!(0,r.isKeyword)(a)&&!(0,r.isStrictReservedWord)(a,!0))&&(0,r.isIdentifierName)(a)};var r=n(59)},(t,e,n)=>{var r=n(5),a=n(15),i=n(102),s=n(204),o=n(11),l=r.RegExp,u=l.prototype;a&&o(function(){var p=!0;try{l(".","d")}catch{p=!1}var h={},d="",m=p?"dgimsy":"gimsy",f=function(E,x){Object.defineProperty(h,E,{get:function(){return d+=x,!0}})},v={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var C in p&&(v.hasIndices="d"),v)f(C,v[C]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(h)!==m||d!==m})&&i(u,"flags",{configurable:!0,get:s})},(t,e,n)=>{var r=n(5),a=n(116),i=n(29),s=n(67),o=n(113),l=n(112),u=r.Symbol,p=a("wks"),h=l?u.for||u:u&&u.withoutSetter||s;t.exports=function(d){return i(p,d)||(p[d]=o&&i(u,d)?u[d]:h("Symbol."+d)),p[d]}},(t,e,n)=>{var r=n(123),a=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,s=Array.prototype.concat,o=n(121),l=n(72)(),u=function(h,d,m,f){if(d in h){if(f===!0){if(h[d]===m)return}else if(typeof(v=f)!="function"||i.call(v)!=="[object Function]"||!f())return}var v;l?o(h,d,m,!0):o(h,d,m)},p=function(h,d){var m=arguments.length>2?arguments[2]:{},f=r(d);a&&(f=s.call(f,Object.getOwnPropertySymbols(d)));for(var v=0;v{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},(t,e,n)=>{var r=n(17);const a=(typeof r=="object"&&r.env,()=>{});t.exports=a},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)>0},(t,e,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(m,f){if(f=i(f),m instanceof a){if(m.loose===!!f.loose)return m;m=m.value}m=m.trim().split(/\s+/).join(" "),u("comparator",m,f),this.options=f,this.loose=!!f.loose,this.parse(m),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(m){const f=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],v=m.match(f);if(!v)throw new TypeError(`Invalid comparator: ${m}`);this.operator=v[1]!==void 0?v[1]:"",this.operator==="="&&(this.operator=""),v[2]?this.semver=new p(v[2],this.options.loose):this.semver=r}toString(){return this.value}test(m){if(u("Comparator.test",m,this.options.loose),this.semver===r||m===r)return!0;if(typeof m=="string")try{m=new p(m,this.options)}catch{return!1}return l(m,this.operator,this.semver,this.options)}intersects(m,f){if(!(m instanceof a))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new h(m.value,f).test(this.value):m.operator===""?m.value===""||new h(this.value,f).test(m.semver):!((f=i(f)).includePrerelease&&(this.value==="<0.0.0-0"||m.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||m.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!m.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!m.operator.startsWith("<"))&&(this.semver.version!==m.semver.version||!this.operator.includes("=")||!m.operator.includes("="))&&!(l(this.semver,"<",m.semver,f)&&this.operator.startsWith(">")&&m.operator.startsWith("<"))&&!(l(this.semver,">",m.semver,f)&&this.operator.startsWith("<")&&m.operator.startsWith(">")))}}t.exports=a;const i=n(75),{safeRe:s,t:o}=n(34),l=n(131),u=n(48),p=n(3),h=n(8)},(t,e,n)=>{const r=n(8);t.exports=(a,i,s)=>{try{i=new r(i,s)}catch{return!1}return i.test(a)}},(t,e,n)=>{let r=n(53);class a extends r{constructor(s){s&&s.value!==void 0&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}t.exports=a,a.default=a},(t,e,n)=>{let{isClean:r,my:a}=n(145),i=n(87),s=n(146),o=n(54);function l(p,h){let d=new p.constructor;for(let m in p){if(!Object.prototype.hasOwnProperty.call(p,m)||m==="proxyCache")continue;let f=p[m],v=typeof f;m==="parent"&&v==="object"?h&&(d[m]=h):m==="source"?d[m]=f:Array.isArray(f)?d[m]=f.map(C=>l(C,d)):(v==="object"&&f!==null&&(f=l(f)),d[m]=f)}return d}class u{constructor(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.raws={},this[r]=!1,this[a]=!0;for(let d in h)if(d==="nodes"){this.nodes=[];for(let m of h[d])typeof m.clone=="function"?this.append(m.clone()):this.append(m)}else this[d]=h[d]}addToError(h){if(h.postcssNode=this,h.stack&&this.source&&/\n\s{4}at /.test(h.stack)){let d=this.source;h.stack=h.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return h}after(h){return this.parent.insertAfter(this,h),this}assign(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let d in h)this[d]=h[d];return this}before(h){return this.parent.insertBefore(this,h),this}cleanRaws(h){delete this.raws.before,delete this.raws.after,h||delete this.raws.between}clone(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=l(this);for(let m in h)d[m]=h[m];return d}cloneAfter(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.clone(h);return this.parent.insertAfter(this,d),d}cloneBefore(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.clone(h);return this.parent.insertBefore(this,d),d}error(h){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.source){let{end:m,start:f}=this.rangeBy(d);return this.source.input.error(h,{column:f.column,line:f.line},{column:m.column,line:m.line},d)}return new i(h)}getProxyProcessor(){return{get:(h,d)=>d==="proxyOf"?h:d==="root"?()=>h.root().toProxy():h[d],set:(h,d,m)=>(h[d]===m||(h[d]=m,d!=="prop"&&d!=="value"&&d!=="name"&&d!=="params"&&d!=="important"&&d!=="text"||h.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let h=this;for(;h=h.parent;)h[r]=!1}}next(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h+1]}positionBy(h,d){let m=this.source.start;if(h.index)m=this.positionInside(h.index,d);else if(h.word){let f=(d=this.toString()).indexOf(h.word);f!==-1&&(m=this.positionInside(f,d))}return m}positionInside(h,d){let m=d||this.toString(),f=this.source.start.column,v=this.source.start.line;for(let C=0;Ctypeof x=="object"&&x.toJSON?x.toJSON(null,d):x);else if(typeof E=="object"&&E.toJSON)m[C]=E.toJSON(null,d);else if(C==="source"){let x=d.get(E.input);x==null&&(x=v,d.set(E.input,v),v++),m[C]={end:E.end,inputId:x,start:E.start}}else m[C]=E}return f&&(m.inputs=[...d.keys()].map(C=>C.toJSON())),m}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o;h.stringify&&(h=h.stringify);let d="";return h(this,m=>{d+=m}),d}warn(h,d,m){let f={node:this};for(let v in m)f[v]=m[v];return h.warn(d,f)}get proxyOf(){return this}}t.exports=u,u.default=u},(t,e,n)=>{let r=n(146);function a(i,s){new r(s).stringify(i)}t.exports=a,a.default=a},(t,e,n)=>{let{SourceMapConsumer:r,SourceMapGenerator:a}=n(149),{fileURLToPath:i,pathToFileURL:s}=n(318),{isAbsolute:o,resolve:l}=n(150),{nanoid:u}=n(319),p=n(317),h=n(87),d=n(151),m=Symbol("fromOffsetCache"),f=!!(r&&a),v=!!(l&&o);class C{constructor(x){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(x==null||typeof x=="object"&&!x.toString)throw new Error(`PostCSS received ${x} instead of CSS string`);if(this.css=x.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,g.from&&(!v||/^\w+:\/\//.test(g.from)||o(g.from)?this.file=g.from:this.file=l(g.from)),v&&f){let w=new d(this.css,g);if(w.text){this.map=w;let b=w.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(x,g,w){let b,A,T,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(g&&typeof g=="object"){let z=g,U=w;if(typeof z.offset=="number"){let W=this.fromOffset(z.offset);g=W.line,w=W.col}else g=z.line,w=z.column;if(typeof U.offset=="number"){let W=this.fromOffset(U.offset);A=W.line,T=W.col}else A=U.line,T=U.column}else if(!w){let z=this.fromOffset(g);g=z.line,w=z.col}let I=this.origin(g,w,A,T);return b=I?new h(x,I.endLine===void 0?I.line:{column:I.column,line:I.line},I.endLine===void 0?I.column:{column:I.endColumn,line:I.endLine},I.source,I.file,O.plugin):new h(x,A===void 0?g:{column:w,line:g},A===void 0?w:{column:T,line:A},this.css,this.file,O.plugin),b.input={column:w,endColumn:T,endLine:A,line:g,source:this.css},this.file&&(s&&(b.input.url=s(this.file).toString()),b.input.file=this.file),b}fromOffset(x){let g,w;if(this[m])w=this[m];else{let A=this.css.split(` `);w=new Array(A.length);let T=0;for(let O=0,I=A.length;O=g)b=w.length-1;else{let A,T=w.length-2;for(;b>1),x=w[A+1])){b=A;break}b=A+1}}return{col:x-w[b]+1,line:b+1}}mapResolve(x){return/^\w+:\/\//.test(x)?x:l(this.map.consumer().sourceRoot||this.map.root||".",x)}origin(x,g,w,b){if(!this.map)return!1;let A,T,O=this.map.consumer(),I=O.originalPositionFor({column:g,line:x});if(!I.source)return!1;typeof w=="number"&&(A=O.originalPositionFor({column:b,line:w})),T=o(I.source)?s(I.source):new URL(I.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let z={column:I.column,endColumn:A&&A.column,endLine:A&&A.line,line:I.line,url:T.toString()};if(T.protocol==="file:"){if(!i)throw new Error("file: protocol is not available in this PostCSS build");z.file=i(T)}let U=O.sourceContentFor(I.source);return U&&(z.source=U),z}toJSON(){let x={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(x[g]=this[g]);return this.map&&(x.map={...this.map},x.map.consumerCache&&(x.map.consumerCache=void 0)),x}get from(){return this.file||this.id}}t.exports=C,C.default=C,p&&p.registerInput&&p.registerInput(C)},(t,e,n)=>{let r=n(53);class a extends r{constructor(s){super(s),this.type="comment"}}t.exports=a,a.default=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.explode=d,e.isExplodedVisitor=h,e.merge=function(w){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],A=arguments.length>2?arguments[2]:void 0;const T={};for(let O=0;Oz.toString()),U}),T[O]=I)}return T}function C(w){w.enter&&!Array.isArray(w.enter)&&(w.enter=[w.enter]),w.exit&&!Array.isArray(w.exit)&&(w.exit=[w.exit])}function E(w,b){const A=a[`is${w}`],T=function(O){if(A.call(O))return b.apply(this,arguments)};return T.toString=()=>b.toString(),T}function x(w){return w[0]==="_"||w==="enter"||w==="exit"||w==="shouldSkip"||w==="denylist"||w==="noScope"||w==="skipKeys"||w==="blacklist"}function g(w,b){for(const A of["enter","exit"])b[A]&&(w[A]=[].concat(w[A]||[],b[A]))}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r,a){if(n.has(r))return;n.add(r);const{internal:i,trace:s}=function(o,l){const{stackTraceLimit:u,prepareStackTrace:p}=Error;let h;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(m,f){h=f},new Error().stack,Error.stackTraceLimit=u,Error.prepareStackTrace=p,!h)return{internal:!1,trace:""};const d=h.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(d[1].getFileName()),trace:d.map(m=>` at ${m}`).join(` `)}}()};const n=new Set},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return a.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return a.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return a.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return a.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return a.isStrictReservedWord}});var r=n(353),a=n(354)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(2);function a(i,s,o,l){const u=[].concat(i),p=Object.create(null);for(;u.length;){const h=u.shift();if(!h||l&&((0,r.isAssignmentExpression)(h)||(0,r.isUnaryExpression)(h)))continue;const d=a.keys[h.type];if((0,r.isIdentifier)(h))s?(p[h.name]=p[h.name]||[]).push(h):p[h.name]=h;else if(!(0,r.isExportDeclaration)(h)||(0,r.isExportAllDeclaration)(h)){if(o){if((0,r.isFunctionDeclaration)(h)){u.push(h.id);continue}if((0,r.isFunctionExpression)(h))continue}if(d)for(let m=0;m{t.exports=function(){return function(){}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){if(!p.isExportDeclaration()||p.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(p.isExportDefaultDeclaration()){const v=p.get("declaration"),C=v.isFunctionDeclaration()||v.isClassDeclaration(),E=v.isFunctionExpression()||v.isClassExpression(),x=v.isScope()?v.scope.parent:v.scope;let g=v.node.id,w=!1;g?E&&x.hasBinding(g.name)&&(w=!0,g=x.generateUidIdentifier(g.name)):(w=!0,g=x.generateUidIdentifier("default"),(C||E)&&(v.node.id=a(g)));const b=C?v.node:l("var",[u(a(g),v.node)]),A=i(null,[s(a(g),o("default"))]);return p.insertAfter(A),p.replaceWith(b),w&&x.registerDeclaration(p),p}if(p.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const h=p.get("declaration"),d=h.getOuterBindingIdentifiers(),m=Object.keys(d).map(v=>s(o(v),o(v))),f=i(null,m);return p.insertAfter(f),p.replaceWith(h.node),p};var r=n(0);const{cloneNode:a,exportNamedDeclaration:i,exportSpecifier:s,identifier:o,variableDeclaration:l,variableDeclarator:u}=r},(t,e,n)=>{var r=n(187),a=Object;t.exports=function(i){return a(r(i))}},(t,e,n)=>{var r=n(5),a=n(106),i="__core-js_shared__",s=r[i]||a(i,{});t.exports=s},(t,e,n)=>{var r=n(20),a=String,i=TypeError;t.exports=function(s){if(r(s))return s;throw new i(a(s)+" is not an object")}},(t,e,n)=>{var r=n(104),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},(t,e,n)=>{var r=n(19),a=0,i=Math.random(),s=r(1 .toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+s(++a+i,36)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return p.buildDynamicImport}}),e.buildNamespaceInitStatements=function(F,N){let $=arguments.length>2&&arguments[2]!==void 0&&arguments[2],D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:u.wrapReference;var R;const K=[],re=x(N.name);for(const Oe of N.importsNamespace)Oe!==N.name&&K.push(a.template.statement`var NAME = SOURCE;`({NAME:Oe,SOURCE:f(re)}));const ue=(R=D(re,N.wrap))!=null?R:re;$&&K.push(...z(F,N,!0,D));for(const Oe of N.reexportNamespace)K.push((a.types.isIdentifier(ue)?a.template.statement`EXPORTS.NAME = NAMESPACE;`:a.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); `)({EXPORTS:F.exportName,NAME:Oe,NAMESPACE:f(ue)}));if(N.reexportAll){const Oe=function(X,J,fe){return(fe?a.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; EXPORTS[key] = NAMESPACE[key]; }); `:a.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; Object.defineProperty(EXPORTS, key, { enumerable: true, get: function() { return NAMESPACE[key]; }, }); }); `)({NAMESPACE:J,EXPORTS:X.exportName,VERIFY_NAME_LIST:X.exportNameListName?a.template` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; `({EXPORTS_LIST:X.exportNameListName}):null})}(F,f(ue),$);Oe.loc=N.reexportAll.loc,K.push(Oe)}return K},e.ensureStatementsHoisted=function(F){F.forEach(N=>{N._blockHoist=3})},Object.defineProperty(e,"getModuleName",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"hasExports",{enumerable:!0,get:function(){return l.hasExports}}),Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return i.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return l.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=function(F,N){let{exportName:$,strict:D,allowTopLevelThis:R,strictMode:K,noInterop:re,importInterop:ue=re?"none":"babel",lazy:Oe,getWrapperPayload:X=u.toGetWrapperPayload(Oe!=null&&Oe),wrapReference:J=u.wrapReference,esNamespaceOnly:fe,filename:Ee,constantReexports:Ae=arguments[1].loose,enumerableModuleMeta:pe=arguments[1].loose,noIncompleteNsImportDetection:oe}=N;(0,l.validateImportInteropOption)(ue),r((0,i.isModule)(F),"Cannot process module statements in a script"),F.node.sourceType="script";const ce=(0,l.default)(F,$,{importInterop:ue,initializeReexports:Ae,getWrapperPayload:X,esNamespaceOnly:fe,filename:Ee});R||(0,s.default)(F),(0,o.default)(F,ce,J),K!==!1&&(F.node.directives.some(se=>se.value.value==="use strict")||F.unshiftContainer("directives",v(C("use strict"))));const ie=[];(0,l.hasExports)(ce)&&!D&&ie.push(function(Se){return(arguments.length>1&&arguments[1]!==void 0&&arguments[1]?a.template.statement` EXPORTS.__esModule = true; `:a.template.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); `)({EXPORTS:Se.exportName})}(ce,pe));const ne=function(Se,se){const ye=Object.create(null);for(const ae of se.local.values())for(const k of ae.names)ye[k]=!0;let ge=!1;for(const ae of se.source.values()){for(const k of ae.reexports.keys())ye[k]=!0;for(const k of ae.reexportNamespace)ye[k]=!0;ge=ge||!!ae.reexportAll}if(!ge||Object.keys(ye).length===0)return null;const Me=Se.scope.generateUidIdentifier("exportNames");return delete ye.default,{name:Me.name,statement:T("var",[O(Me,A(ye))])}}(F,ce);return ne&&(ce.exportNameListName=ne.name,ie.push(ne.statement)),ie.push(...function(Se,se,ye){let ge=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Me=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const ae=[];for(const[B,Z]of se.local)if(Z.kind!=="import"){if(Z.kind==="hoisted")ae.push([Z.names[0],W(se,Z.names,x(B))]);else if(!Me)for(const Pe of Z.names)ae.push([Pe,null])}for(const B of se.source.values()){if(!ge){const Z=z(se,B,!1,ye),Pe=[...B.reexports.keys()];for(let Ne=0;Ne{let[Pe]=B,[Ne]=Z;return Pe0&&(k.push(W(se,Pe,Se.scope.buildUndefinedNode())),Pe=[]),k.push(de)):Pe.push(Le)}Pe.length>0&&k.push(W(se,Pe,Se.scope.buildUndefinedNode()))}return k}(F,ce,J,Ae,oe)),{meta:ce,headers:ie}},Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return s.default}}),e.wrapInterop=function(F,N,$){if($==="none")return null;if($==="node-namespace")return m(F.hub.addHelper("interopRequireWildcard"),[N,d(!0)]);if($==="node-default")return null;let D;if($==="default")D="interopRequireDefault";else{if($!=="namespace")throw new Error(`Unknown interop: ${$}`);D="interopRequireWildcard"}return m(F.hub.addHelper(D),[N])};var r=n(25),a=n(1),i=n(93),s=n(449),o=n(450),l=n(252),u=n(451),p=n(330),h=n(452);const{booleanLiteral:d,callExpression:m,cloneNode:f,directive:v,directiveLiteral:C,expressionStatement:E,identifier:x,isIdentifier:g,memberExpression:w,stringLiteral:b,valueToNode:A,variableDeclaration:T,variableDeclarator:O}=a.types;e.getDynamicImportSource=n(330).getDynamicImportSource;const I={constant:a.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:a.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:a.template.statement` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); `};function z(F,N,$,D){var R;let K=x(N.name);K=(R=D(K,N.wrap))!=null?R:K;const{stringSpecifiers:re}=F;return Array.from(N.reexports,ue=>{let[Oe,X]=ue,J=f(K);X==="default"&&N.interop==="node-default"||(J=re.has(X)?w(J,b(X),!0):w(J,x(X)));const fe={EXPORTS:F.exportName,EXPORT_NAME:Oe,NAMESPACE_IMPORT:J};return $||g(J)?re.has(Oe)?I.constantComputed(fe):I.constant(fe):I.spec(fe)})}const U={computed:a.template.expression`EXPORTS["NAME"] = VALUE`,default:a.template.expression`EXPORTS.NAME = VALUE`,define:a.template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`};function W(F,N,$){const{stringSpecifiers:D,exportName:R}=F;return E(N.reduce((K,re)=>{const ue={EXPORTS:R,NAME:re,VALUE:K};return re==="__proto__"?U.define(ue):D.has(re)?U.computed(ue):U.default(ue)},$))}},(t,e,n)=>{var r=n(70);t.exports=function(){return r()&&!!Symbol.toStringTag}},t=>{t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;for(n in e[n]=42,e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,n);if(i.value!==42||i.enumerable!==!0)return!1}return!0}},(t,e,n)=>{var r=n(232);t.exports=Function.prototype.bind||r},(t,e,n)=>{var r=n(22)("%Object.defineProperty%",!0),a=function(){if(r)try{return r({},"a",{value:1}),!0}catch{return!1}return!1};a.hasArrayLengthDefineBug=function(){if(!a())return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=a},(t,e,n)=>{var r=n(22)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}t.exports=r},(t,e,n)=>{var r=n(125);t.exports=function(){return typeof Object.is=="function"?Object.is:r}},t=>{const e=Object.freeze({loose:!0}),n=Object.freeze({});t.exports=r=>r?typeof r!="object"?e:r:n},(t,e,n)=>{const r=n(3);t.exports=(a,i,s)=>{const o=new r(a,s),l=new r(i,s);return o.compare(l)||o.compareBuild(l)}},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)<0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)>=0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)<=0},(t,e,n)=>{const r=n(3),a=n(50),{ANY:i}=a,s=n(8),o=n(51),l=n(49),u=n(77),p=n(79),h=n(78);t.exports=(d,m,f,v)=>{let C,E,x,g,w;switch(d=new r(d,v),m=new s(m,v),f){case">":C=l,E=p,x=u,g=">",w=">=";break;case"<":C=u,E=h,x=l,g="<",w="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(d,m,v))return!1;for(let b=0;b{I.semver===i&&(I=new a(">=0.0.0")),T=T||I,O=O||I,C(I.semver,T.semver,v)?T=I:x(I.semver,O.semver,v)&&(O=I)}),T.operator===g||T.operator===w||(!O.operator||O.operator===g)&&E(d,O.semver)||O.operator===w&&x(d,O.semver))return!1}return!0}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=function(n){return null},e.findPackageData=function*(n){return{filepath:n,directories:[],pkg:null,isPackage:!1}},e.findRelativeConfig=function*(n,r,a){return{config:null,ignore:null}},e.findRootConfig=function*(n,r,a){return null},e.loadConfig=function*(n,r,a,i){throw new Error(`Cannot load ${n} relative to ${r} in a browser`)},e.loadPlugin=function(n,r){throw new Error(`Cannot load plugin ${n} relative to ${r} in a browser`)},e.loadPreset=function(n,r){throw new Error(`Cannot load preset ${n} relative to ${r} in a browser`)},e.resolvePlugin=function(n,r){return null},e.resolvePreset=function(n,r){return null},e.resolveShowConfigPath=function*(n){return null},e.ROOT_CONFIG_FILENAMES=[]},(t,e,n)=>{function r(){const f=n(13);return r=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(f,v,C){if(C!==void 0)(0,o.beginHiddenCallStack)(d.errback)(f,v,C);else{if(typeof v!="function")return m(f,v);(0,o.beginHiddenCallStack)(d.errback)(f,void 0,C)}},e.createConfigItemAsync=function(){return(0,o.beginHiddenCallStack)(d.async)(...arguments)},e.createConfigItemSync=m,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a.default}}),e.loadOptions=function(f,v){if(v!==void 0)(0,o.beginHiddenCallStack)(p.errback)(f,v);else{if(typeof f!="function")return h(f);(0,o.beginHiddenCallStack)(p.errback)(void 0,f)}},e.loadOptionsAsync=function(){return(0,o.beginHiddenCallStack)(p.async)(...arguments)},e.loadOptionsSync=h,e.loadPartialConfig=function(f,v){if(v!==void 0)(0,o.beginHiddenCallStack)(l.errback)(f,v);else{if(typeof f!="function")return u(f);(0,o.beginHiddenCallStack)(l.errback)(void 0,f)}},e.loadPartialConfigAsync=function(){return(0,o.beginHiddenCallStack)(l.async)(...arguments)},e.loadPartialConfigSync=u;var a=n(454),i=n(294),s=n(83),o=n(39);const l=r()(i.loadPartialConfig);function u(){return(0,o.beginHiddenCallStack)(l.sync)(...arguments)}const p=r()(function*(f){var v;const C=yield*(0,a.default)(f);return(v=C?.options)!=null?v:null});function h(){return(0,o.beginHiddenCallStack)(p.sync)(...arguments)}const d=r()(s.createConfigItem);function m(){return(0,o.beginHiddenCallStack)(d.sync)(...arguments)}},(t,e,n)=>{function r(){const l=n(10);return r=function(){return l},l}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(l){let{dirname:u=".",type:p}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){return i(yield*(0,a.createDescriptor)(l,r().resolve(u),{type:p,alias:"programmatic item"}))}()},e.createItemFromDescriptor=i,e.getItemDescriptor=function(l){if(l!=null&&l[s])return l._descriptor};var a=n(279);function i(l){return new o(l)}const s=Symbol.for("@babel/core@7 - ConfigItem");class o{constructor(u){this._descriptor=void 0,this[s]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=u,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,s,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(o.prototype)},(t,e,n)=>{function r(){const C=n(13);return r=function(){return C},C}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=f,e.makeStrongCache=u,e.makeStrongCacheSync=function(C){return s(u(C))},e.makeWeakCache=l,e.makeWeakCacheSync=function(C){return s(l(C))};var a=n(133),i=n(134);const s=C=>r()(C).sync;function*o(){return!0}function l(C){return p(WeakMap,C)}function u(C){return p(Map,C)}function p(C,E){const x=new C,g=new C,w=new C;return function*(b,A){const T=yield*(0,a.isAsync)(),O=T?g:x,I=yield*function*(N,$,D,R,K){const re=yield*h($,R,K);if(re.valid)return re;if(N){const ue=yield*h(D,R,K);if(ue.valid)return{valid:!0,value:yield*(0,a.waitFor)(ue.value.promise)}}return{valid:!1,value:null}}(T,O,w,b,A);if(I.valid)return I.value;const z=new m(A),U=E(b,z);let W,F;return F=(0,i.isIterableIterator)(U)?yield*(0,a.onFirstPause)(U,()=>{W=function(N,$,D){const R=new v;return d($,N,D,R),R}(z,w,b)}):U,d(O,z,b,F),W&&(w.delete(b),W.release(F)),F}}function*h(C,E,x){const g=C.get(E);if(g){for(const{value:w,valid:b}of g)if(yield*b(x))return{valid:!0,value:w}}return{valid:!1,value:null}}function d(C,E,x,g){E.configured()||E.forever();let w=C.get(x);switch(E.deactivate(),E.mode()){case"forever":w=[{value:g,valid:o}],C.set(x,w);break;case"invalidate":w=[{value:g,valid:E.validator()}],C.set(x,w);break;case"valid":w?w.push({value:g,valid:E.validator()}):(w=[{value:g,valid:E.validator()}],C.set(x,w))}}class m{constructor(E){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=E}simple(){return function(E){function x(g){if(typeof g!="boolean")return E.using(()=>f(g()));g?E.forever():E.never()}return x.forever=()=>E.forever(),x.never=()=>E.never(),x.using=g=>E.using(()=>f(g())),x.invalidate=g=>E.invalidate(()=>f(g())),x}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(E){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;const x=E(this._data),g=(0,a.maybeAsync)(E,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,a.isThenable)(x)?x.then(w=>(this._pairs.push([w,g]),w)):(this._pairs.push([x,g]),x)}invalidate(E){return this._invalidate=!0,this.using(E)}validator(){const E=this._pairs;return function*(x){for(const[g,w]of E)if(g!==(yield*w(x)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function f(C){if((0,a.isThenable)(C))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(C!=null&&typeof C!="string"&&typeof C!="boolean"&&typeof C!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return C}class v{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(E=>{this._resolve=E})}release(E){this.released=!0,this._resolve(E)}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(f,v,C,E){if(v===0)return;const x=f[v-1],g=f[v];x.file&&x.options===void 0&&typeof g.value=="object"&&(E.message+=` - Maybe you meant to use "${C}s": [ ["${x.file.request}", ${JSON.stringify(g.value,void 0,2)}] ] To be a valid ${C}, its name and options should be wrapped in a pair of brackets`)},e.validate=function(f,v,C){try{return h({type:"root",source:f},v)}catch(E){const x=new i.default(E.message,C);throw E.code&&(x.code=E.code),x}};var r=n(470),a=n(293),i=n(140);const s={cwd:a.assertString,root:a.assertString,rootMode:a.assertRootMode,configFile:a.assertConfigFileSearch,caller:a.assertCallerMetadata,filename:a.assertString,filenameRelative:a.assertString,code:a.assertBoolean,ast:a.assertBoolean,cloneInputAst:a.assertBoolean,envName:a.assertString},o={babelrc:a.assertBoolean,babelrcRoots:a.assertBabelrcSearch},l={extends:a.assertString,ignore:a.assertIgnoreList,only:a.assertIgnoreList,targets:a.assertTargets,browserslistConfigFile:a.assertConfigFileSearch,browserslistEnv:a.assertString},u={inputSourceMap:a.assertInputSourceMap,presets:a.assertPluginList,plugins:a.assertPluginList,passPerPreset:a.assertBoolean,assumptions:a.assertAssumptions,env:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,a.msg)(f)} is not allowed inside of another .env block`);const C=f.parent,E=(0,a.assertObject)(f,v);if(E)for(const x of Object.keys(E)){const g=(0,a.assertObject)((0,a.access)(f,x),E[x]);g&&h({type:"env",name:x,parent:C},g)}return E},overrides:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,a.msg)(f)} is not allowed inside an .env block`);if(f.parent.type==="overrides")throw new Error(`${(0,a.msg)(f)} is not allowed inside an .overrides block`);const C=f.parent,E=(0,a.assertArray)(f,v);if(E)for(const[x,g]of E.entries()){const w=(0,a.access)(f,x),b=(0,a.assertObject)(w,g);if(!b)throw new Error(`${(0,a.msg)(w)} must be an object`);h({type:"overrides",index:x,parent:C},b)}return E},test:a.assertConfigApplicableTest,include:a.assertConfigApplicableTest,exclude:a.assertConfigApplicableTest,retainLines:a.assertBoolean,comments:a.assertBoolean,shouldPrintComment:a.assertFunction,compact:a.assertCompact,minified:a.assertBoolean,auxiliaryCommentBefore:a.assertString,auxiliaryCommentAfter:a.assertString,sourceType:a.assertSourceType,wrapPluginVisitorMethod:a.assertFunction,highlightCode:a.assertBoolean,sourceMaps:a.assertSourceMaps,sourceMap:a.assertSourceMaps,sourceFileName:a.assertString,sourceRoot:a.assertString,parserOpts:a.assertObject,generatorOpts:a.assertObject};function p(f){return f.type==="root"?f.source:p(f.parent)}function h(f,v){const C=p(f);return function(E){if(m(E,"sourceMap")&&m(E,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(v),Object.keys(v).forEach(E=>{const x={type:"option",name:E,parent:f};if(C==="preset"&&l[E])throw new Error(`${(0,a.msg)(x)} is not allowed in preset options`);if(C!=="arguments"&&s[E])throw new Error(`${(0,a.msg)(x)} is only allowed in root programmatic options`);if(C!=="arguments"&&C!=="configfile"&&o[E])throw C==="babelrcfile"||C==="extendsfile"?new Error(`${(0,a.msg)(x)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,a.msg)(x)} is only allowed in root programmatic options, or babel.config.js/config file options`);(u[E]||l[E]||o[E]||s[E]||d)(x,v[E])}),v}function d(f){const v=f.name;if(r.default[v]){const{message:C,version:E=5}=r.default[v];throw new Error(`Using removed Babel ${E} option: ${(0,a.msg)(f)} - ${C}`)}{const C=new Error(`Unknown option: ${(0,a.msg)(f)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw C.code="BABEL_UNKNOWN_OPTION",C}}function m(f,v){return Object.prototype.hasOwnProperty.call(f,v)}Object.assign(u,{getModuleId:a.assertFunction,moduleRoot:a.assertString,moduleIds:a.assertBoolean,moduleId:a.assertString}),e.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"])},t=>{var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(a){return e.call(a,n,"+")},RFC3986:function(a){return String(a)}},RFC1738:"RFC1738",RFC3986:r}},(t,e,n)=>{let r=n(316),a=n(317);class i extends Error{constructor(o,l,u,p,h,d){super(o),this.name="CssSyntaxError",this.reason=o,h&&(this.file=h),p&&(this.source=p),d&&(this.plugin=d),l!==void 0&&u!==void 0&&(typeof l=="number"?(this.line=l,this.column=u):(this.line=l.line,this.column=l.column,this.endLine=u.line,this.endColumn=u.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",this.line!==void 0&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(o){if(!this.source)return"";let l=this.source;o==null&&(o=r.isColorSupported),a&&o&&(l=a(l));let u,p,h=l.split(/\r?\n/),d=Math.max(this.line-3,0),m=Math.min(this.line+2,h.length),f=String(m).length;if(o){let{bold:v,gray:C,red:E}=r.createColors(!0);u=x=>v(E(x)),p=x=>C(x)}else u=p=v=>v;return h.slice(d,m).map((v,C)=>{let E=d+1+C,x=" "+(" "+E).slice(-f)+" | ";if(E===this.line){let g=p(x.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+p(x)+v+` `+g+u("^")}return" "+p(x)+v}).join(` `)}toString(){let o=this.showSourceCode();return o&&(o=` `+o+` `),this.name+": "+this.message+o}}t.exports=i,i.default=i},(t,e,n)=>{let r,a,i=n(24);class s extends i{constructor(l){super({type:"document",...l}),this.nodes||(this.nodes=[])}toResult(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new r(new a,this,l).stringify()}}s.registerLazyResult=o=>{r=o},s.registerProcessor=o=>{a=o},t.exports=s,s.default=s},(t,e,n)=>{let r=n(153);class a{constructor(s,o,l){this.processor=s,this.messages=[],this.root=o,this.opts=l,this.css=void 0,this.map=void 0}toString(){return this.css}warn(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let l=new r(s,o);return this.messages.push(l),l}warnings(){return this.messages.filter(s=>s.type==="warning")}get content(){return this.css}}t.exports=a,a.default=a},(t,e,n)=>{let r=n(24),a=n(320),i=n(55);function s(o,l){let u=new i(o,l),p=new a(u);try{p.parse()}catch(h){throw h}return p.root}t.exports=s,s.default=s,r.registerParse(s)},(t,e,n)=>{let r=n(24);class a extends r{constructor(s){super(s),this.type="atrule"}append(){return this.proxyOf.nodes||(this.nodes=[]),super.append(...arguments)}prepend(){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...arguments)}}t.exports=a,a.default=a,r.registerAtRule(a)},(t,e,n)=>{let r=n(24),a=n(154);class i extends r{constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return a.comma(this.selector)}set selectors(o){let l=this.selector?this.selector.match(/,\s*/):null,u=l?l[0]:","+this.raw("between","beforeOpen");this.selector=o.join(u)}}t.exports=i,i.default=i,r.registerRule(i)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),e.addDefault=function(i,s,o){return new r.default(i).addDefault(s,o)},e.addNamed=function(i,s,o,l){return new r.default(i).addNamed(s,o,l)},e.addNamespace=function(i,s,o){return new r.default(i).addNamespace(s,o)},e.addSideEffect=function(i,s,o){return new r.default(i).addSideEffect(s,o)},Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return a.default}});var r=n(447),a=n(250)},function(t,e){(function(n){class r{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:o=>this.replacement=o}}replace(o,l,u,p){o&&(u!==null?o[l][u]=p:o[l]=p)}remove(o,l,u){o&&(u!==null?o[l].splice(u,1):delete o[l])}}class a extends r{constructor(o,l){super(),this.enter=o,this.leave=l}visit(o,l,u,p){if(o){if(this.enter){const h=this.should_skip,d=this.should_remove,m=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,o,l,u,p),this.replacement&&(o=this.replacement,this.replace(l,u,p,o)),this.should_remove&&this.remove(l,u,p);const f=this.should_skip,v=this.should_remove;if(this.should_skip=h,this.should_remove=d,this.replacement=m,f)return o;if(v)return null}for(const h in o){const d=o[h];if(typeof d=="object")if(Array.isArray(d))for(let m=0;m{function r(){const m=n(161);return r=function(){return m},m}function a(){const m=n(14);return a=function(){return m},m}function i(){const m=n(36);return i=function(){return m},m}function s(){const m=n(0);return s=function(){return m},m}function o(){const m=n(68);return o=function(){return m},m}function l(){const m=n(23);return l=function(){return m},m}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const{cloneNode:u,interpreterDirective:p}=s(),h={enter(m,f){const v=m.node.loc;v&&(f.loc=v,m.stop())}};class d{constructor(f,v){let{code:C,ast:E,inputMap:x}=v;this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=f,this.code=C,this.ast=E,this.inputMap=x,this.path=a().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){const{interpreter:f}=this.path.node;return f?f.value:""}set shebang(f){f?this.path.get("interpreter").replaceWith(p(f)):this.path.get("interpreter").remove()}set(f,v){if(f==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(f,v)}get(f){return this._map.get(f)}has(f){return this._map.has(f)}getModuleName(){return(0,o().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(f,v){let C;try{C=r().minVersion(f)}catch(E){if(E.code!=="BABEL_HELPER_UNKNOWN")throw E;return!1}return typeof v!="string"||(l().valid(v)&&(v=`^${v}`),!l().intersects(`<${C}`,v)&&!l().intersects(">=8.0.0",v))}addHelper(f){const v=this.declarations[f];if(v)return u(v);const C=this.get("helperGenerator");if(C){const b=C(f);if(b)return b}r().ensure(f,d);const E=this.declarations[f]=this.scope.generateUidIdentifier(f),x={};for(const b of r().getDependencies(f))x[b]=this.addHelper(b);const{nodes:g,globals:w}=r().get(f,b=>x[b],E,Object.keys(this.scope.getAllBindings()));return w.forEach(b=>{this.path.scope.hasBinding(b,!0)&&this.path.scope.rename(b)}),g.forEach(b=>{b._compact=!0}),this.path.unshiftContainer("body",g),this.path.get("body").forEach(b=>{g.indexOf(b.node)!==-1&&b.isVariableDeclaration()&&this.scope.registerDeclaration(b)}),E}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(f,v){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:SyntaxError,E=f&&(f.loc||f._loc);if(!E&&f){const x={loc:null};(0,a().default)(f,h,this.scope,x),E=x.loc;let g="This is an error on an internal node. Probably an internal error.";E&&(g+=" Location has been estimated."),v+=` (${g})`}if(E){const{highlightCode:x=!0}=this.opts;v+=` `+(0,i().codeFrameColumns)(this.code,{start:{line:E.start.line,column:E.start.column+1},end:E.end&&E.start.line===E.end.line?{line:E.end.line,column:E.end.column+1}:void 0},{highlightCode:x})}return new C(v)}}e.default=d},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,r){const a=Object.keys(r);for(const i of a)if(n[i]!==r[i])return!1;return!0}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s,o,l){if(!s)return;const u=r.NODE_FIELDS[s.type];u&&(a(s,o,l,u[o]),i(s,o,l))},e.validateChild=i,e.validateField=a;var r=n(9);function a(s,o,l,u){u!=null&&u.validate&&(u.optional&&l==null||u.validate(s,o,l))}function i(s,o,l){if(l==null)return;const u=r.NODE_PARENT_VALIDATIONS[l.type];u&&u(s,o,l)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,i){if(a===i)return!0;if(a==null||r.ALIAS_KEYS[i])return!1;const s=r.FLIPPED_ALIAS_KEYS[i];if(s){if(s[0]===a)return!0;for(const o of s)if(a===o)return!0}return!1};var r=n(9)},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,r,a){r&&a&&(r[n]=Array.from(new Set([].concat(r[n],a[n]).filter(Boolean))))}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=function(s,o,l,u,p,h,d){const m=i[s.type];if(!m)return!1;const f=new r.default(l,o,u,p);if(d)return(h==null||!h[p.parentKey])&&f.visitQueue([p]);for(const v of m)if((h==null||!h[v])&&f.visit(s,v))return!0;return!1};var r=n(400),a=n(0);const{VISITOR_KEYS:i}=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const u=i(l,o),p=o.sourceMaps?new r.default(o,l):null;return new a.default(u,p).generate(s)};var r=n(405),a=n(408);function i(s,o){var l;const u={auxiliaryCommentBefore:o.auxiliaryCommentBefore,auxiliaryCommentAfter:o.auxiliaryCommentAfter,shouldPrintComment:o.shouldPrintComment,retainLines:o.retainLines,retainFunctionParens:o.retainFunctionParens,comments:o.comments==null||o.comments,compact:o.compact,minified:o.minified,concise:o.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},o.jsescOption),recordAndTupleSyntaxType:(l=o.recordAndTupleSyntaxType)!=null?l:"hash",topicToken:o.topicToken,importAttributesKeyword:o.importAttributesKeyword};u.decoratorsBeforeExport=o.decoratorsBeforeExport,u.jsescOption.json=o.jsonCompatibleStrings,u.minified?(u.compact=!0,u.shouldPrintComment=u.shouldPrintComment||(()=>u.comments)):u.shouldPrintComment=u.shouldPrintComment||(m=>u.comments||m.includes("@license")||m.includes("@preserve")),u.compact==="auto"&&(u.compact=typeof s=="string"&&s.length>5e5,u.compact),u.compact&&(u.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:p,auxiliaryCommentAfter:h,shouldPrintComment:d}=u;return p&&!d(p)&&(u.auxiliaryCommentBefore=void 0),h&&!d(h)&&(u.auxiliaryCommentAfter=void 0),u}e.CodeGenerator=class{constructor(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=s,this._format=i(l,o),this._map=o.sourceMaps?new r.default(o,l):null}generate(){return new a.default(this._format,this._map).generate(this._ast)}}},(t,e,n)=>{var r=n(103),a=n(109);t.exports=function(i,s,o){return o.get&&r(o.get,s,{getter:!0}),o.set&&r(o.set,s,{setter:!0}),a.f(i,s,o)}},(t,e,n)=>{var r=n(19),a=n(11),i=n(6),s=n(29),o=n(15),l=n(188).CONFIGURABLE,u=n(189),p=n(107),h=p.enforce,d=p.get,m=String,f=Object.defineProperty,v=r("".slice),C=r("".replace),E=r([].join),x=o&&!a(function(){return f(function(){},"length",{value:8}).length!==8}),g=String(String).split("String"),w=t.exports=function(b,A,T){v(m(A),0,7)==="Symbol("&&(A="["+C(m(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(A="get "+A),T&&T.setter&&(A="set "+A),(!s(b,"name")||l&&b.name!==A)&&(o?f(b,"name",{value:A,configurable:!0}):b.name=A),x&&T&&s(T,"arity")&&b.length!==T.arity&&f(b,"length",{value:T.arity});try{T&&s(T,"constructor")&&T.constructor?o&&f(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var O=h(b);return s(O,"source")||(O.source=E(g,typeof A=="string"?A:"")),b};Function.prototype.toString=w(function(){return i(this)&&d(this).source||u(this)},"toString")},(t,e,n)=>{var r=n(11);t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},t=>{t.exports=function(e){return e==null}},(t,e,n)=>{var r=n(5),a=Object.defineProperty;t.exports=function(i,s){try{a(r,i,{value:s,configurable:!0,writable:!0})}catch{r[i]=s}return s}},(t,e,n)=>{var r,a,i,s=n(190),o=n(5),l=n(20),u=n(108),p=n(29),h=n(64),d=n(117),m=n(203),f="Object already initialized",v=o.TypeError,C=o.WeakMap;if(s||h.state){var E=h.state||(h.state=new C);E.get=E.get,E.has=E.has,E.set=E.set,r=function(g,w){if(E.has(g))throw new v(f);return w.facade=g,E.set(g,w),w},a=function(g){return E.get(g)||{}},i=function(g){return E.has(g)}}else{var x=d("state");m[x]=!0,r=function(g,w){if(p(g,x))throw new v(f);return w.facade=g,u(g,x,w),w},a=function(g){return p(g,x)?g[x]:{}},i=function(g){return p(g,x)}}t.exports={set:r,get:a,has:i,enforce:function(g){return i(g)?a(g):r(g,{})},getterFor:function(g){return function(w){var b;if(!l(w)||(b=a(w)).type!==g)throw new v("Incompatible receiver, "+g+" required");return b}}}},(t,e,n)=>{var r=n(15),a=n(109),i=n(202);t.exports=r?function(s,o,l){return a.f(s,o,i(1,l))}:function(s,o,l){return s[o]=l,s}},(t,e,n)=>{var r=n(15),a=n(191),i=n(193),s=n(65),o=n(194),l=TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",m="writable";e.f=r?i?function(f,v,C){if(s(f),v=o(v),s(C),typeof f=="function"&&v==="prototype"&&"value"in C&&m in C&&!C[m]){var E=p(f,v);E&&E[m]&&(f[v]=C.value,C={configurable:d in C?C[d]:E[d],enumerable:h in C?C[h]:E[h],writable:!1})}return u(f,v,C)}:u:function(f,v,C){if(s(f),v=o(v),s(C),a)try{return u(f,v,C)}catch{}if("get"in C||"set"in C)throw new l("Accessors not supported");return"value"in C&&(f[v]=C.value),f}},(t,e,n)=>{var r=n(196),a=n(6),i=n(111),s=n(112),o=Object;t.exports=s?function(l){return typeof l=="symbol"}:function(l){var u=r("Symbol");return a(u)&&i(u.prototype,o(l))}},(t,e,n)=>{var r=n(19);t.exports=r({}.isPrototypeOf)},(t,e,n)=>{var r=n(113);t.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(t,e,n)=>{var r=n(197),a=n(11),i=n(5).String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var s=Symbol("symbol detection");return!i(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&r&&r<41})},(t,e,n)=>{var r=n(6),a=n(115),i=TypeError;t.exports=function(s){if(r(s))return s;throw new i(a(s)+" is not a function")}},t=>{var e=String;t.exports=function(n){try{return e(n)}catch{return"Object"}}},(t,e,n)=>{var r=n(201),a=n(64);(t.exports=function(i,s){return a[i]||(a[i]=s!==void 0?s:{})})("versions",[]).push({version:"3.35.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},(t,e,n)=>{var r=n(116),a=n(67),i=r("keys");t.exports=function(s){return i[s]||(i[s]=a(s))}},(t,e,n)=>{var r=n(220);t.exports=function(a){var i=+a;return i!=i||i===0?0:r(i)}},(t,e,n)=>{n(44),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(O){let I,{node:z,parent:U,scope:W,id:F}=O,N=arguments.length>1&&arguments[1]!==void 0&&arguments[1],$=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(z.id)return;if(!v(U)&&!f(U,{kind:"method"})||U.computed&&!d(U.key)){if(g(U)){if(F=U.id,h(F)&&!N){const R=W.parent.getBinding(F.name);if(R&&R.constant&&W.getBinding(F.name)===R)return z.id=s(F),void(z.id[i]=!0)}}else if(l(U,{operator:"="}))F=U.left;else if(!F)return}else F=U.key;if(F&&d(F)?I=function(R){return m(R)?"null":C(R)?`_${R.pattern}_${R.flags}`:x(R)?R.quasis.map(K=>K.value.raw).join(""):R.value!==void 0?R.value+"":""}(F):F&&h(F)&&(I=F.name),I===void 0||!$&&p(z)&&/[\uD800-\uDFFF]/.test(I))return;I=w(I);const D=o(I);return D[i]=!0,function(R,K,re,ue){if(R.selfReference){if(!ue.hasBinding(re.name)||ue.hasGlobal(re.name)){if(!p(K))return;let Oe=b;K.generator&&(Oe=A);const X=Oe({FUNCTION:K,FUNCTION_ID:re,FUNCTION_KEY:ue.generateUidIdentifier(re.name)}).expression,J=X.callee.body.body[0].params;for(let fe=0,Ee=function(Ae){const pe=Ae.params.findIndex(oe=>u(oe)||E(oe));return pe===-1?Ae.params.length:pe}(K);fe{Object.defineProperty(e,"__esModule",{value:!0}),e.merge=function(r,a){const{placeholderWhitelist:i=r.placeholderWhitelist,placeholderPattern:s=r.placeholderPattern,preserveComments:o=r.preserveComments,syntacticPlaceholders:l=r.syntacticPlaceholders}=a;return{parser:Object.assign({},r.parser,a.parser),placeholderWhitelist:i,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}},e.normalizeReplacements=function(r){if(Array.isArray(r))return r.reduce((a,i,s)=>(a["$"+s]=i,a),{});if(typeof r=="object"||r==null)return r||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},e.validate=function(r){if(r!=null&&typeof r!="object")throw new Error("Unknown template options.");const a=r||{},{placeholderWhitelist:i,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}=a,u=function(p,h){if(p==null)return{};var d,m,f={},v=Object.keys(p);for(m=0;m=0||(f[d]=p[d]);return f}(a,n);if(i!=null&&!(i instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(s!=null&&!(s instanceof RegExp)&&s!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(o!=null&&typeof o!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(l!=null&&typeof l!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(l===!0&&(i!=null||s!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:u,placeholderWhitelist:i||void 0,placeholderPattern:s??void 0,preserveComments:o??void 0,syntacticPlaceholders:l??void 0}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},(t,e,n)=>{var r=n(72)(),a=n(22),i=r&&a("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch{i=!1}var s=a("%SyntaxError%"),o=a("%TypeError%"),l=n(73);t.exports=function(u,p,h){if(!u||typeof u!="object"&&typeof u!="function")throw new o("`obj` must be an object or a function`");if(typeof p!="string"&&typeof p!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,m=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,v=arguments.length>6&&arguments[6],C=!!l&&l(u,p);if(i)i(u,p,{configurable:f===null&&C?C.configurable:!f,enumerable:d===null&&C?C.enumerable:!d,value:h,writable:m===null&&C?C.writable:!m});else{if(!v&&(d||m||f))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");u[p]=h}}},(t,e,n)=>{var r=n(236),a=n(238),i=n(41),s=n(38),o=n(73),l=s("Object.prototype.toString"),u=n(69)(),p=typeof globalThis>"u"?n.g:globalThis,h=a(),d=s("String.prototype.slice"),m=Object.getPrototypeOf,f=s("Array.prototype.indexOf",!0)||function(C,E){for(var x=0;x-1?E:E==="Object"&&function(x){var g=!1;return r(v,function(w,b){if(!g)try{w(x),g=d(b,1)}catch{}}),g}(C)}return o?function(x){var g=!1;return r(v,function(w,b){if(!g)try{"$"+w(x)===b&&(g=d(b,1))}catch{}}),g}(C):null}},(t,e,n)=>{var r=Array.prototype.slice,a=n(124),i=Object.keys,s=i?function(l){return i(l)}:n(244),o=Object.keys;s.shim=function(){if(Object.keys){var l=function(){var u=Object.keys(arguments);return u&&u.length===arguments.length}(1,2);l||(Object.keys=function(u){return a(u)?o(r.call(u)):o(u)})}else Object.keys=s;return Object.keys||s},t.exports=s},t=>{var e=Object.prototype.toString;t.exports=function(n){var r=e.call(n),a=r==="[object Arguments]";return a||(a=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),a}},t=>{var e=function(n){return n!=n};t.exports=function(n,r){return n===0&&r===0?1/n==1/r:n===r||!(!e(n)||!e(r))}},t=>{t.exports=function(e){return e!=e}},(t,e,n)=>{var r=n(126);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},t=>{const e=/^[0-9]+$/,n=(r,a)=>{const i=e.test(r),s=e.test(a);return i&&s&&(r=+r,a=+a),r===a?0:i&&!s?-1:s&&!i?1:rn(a,r)}},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)===0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)!==0},(t,e,n)=>{const r=n(129),a=n(130),i=n(49),s=n(78),o=n(77),l=n(79);t.exports=(u,p,h,d)=>{switch(p){case"===":return typeof u=="object"&&(u=u.version),typeof h=="object"&&(h=h.version),u===h;case"!==":return typeof u=="object"&&(u=u.version),typeof h=="object"&&(h=h.version),u!==h;case"":case"=":case"==":return r(u,h,d);case"!=":return a(u,h,d);case">":return i(u,h,d);case">=":return s(u,h,d);case"<":return o(u,h,d);case"<=":return l(u,h,d);default:throw new TypeError(`Invalid operator: ${p}`)}}},(t,e,n)=>{const r=n(266),a=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),o=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),p=Symbol("noDisposeOnSet"),h=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1,v=(b,A,T)=>{const O=b[d].get(A);if(O){const I=O.value;if(C(b,I)){if(x(b,O),!b[o])return}else T&&(b[m]&&(O.value.now=Date.now()),b[h].unshiftNode(O));return I.value}},C=(b,A)=>{if(!A||!A.maxAge&&!b[l])return!1;const T=Date.now()-A.now;return A.maxAge?T>A.maxAge:b[l]&&T>b[l]},E=b=>{if(b[i]>b[a])for(let A=b[h].tail;b[i]>b[a]&&A!==null;){const T=A.prev;x(b,A),A=T}},x=(b,A)=>{if(A){const T=A.value;b[u]&&b[u](T.key,T.value),b[i]-=T.length,b[d].delete(T.key),b[h].removeNode(A)}};class g{constructor(A,T,O,I,z){this.key=A,this.value=T,this.length=O,this.now=I,this.maxAge=z||0}}const w=(b,A,T,O)=>{let I=T.value;C(b,I)&&(x(b,T),b[o]||(I=void 0)),I&&A.call(O,I.value,I.key,b)};t.exports=class{constructor(b){if(typeof b=="number"&&(b={max:b}),b||(b={}),b.max&&(typeof b.max!="number"||b.max<0))throw new TypeError("max must be a non-negative number");this[a]=b.max||1/0;const A=b.length||f;if(this[s]=typeof A!="function"?f:A,this[o]=b.stale||!1,b.maxAge&&typeof b.maxAge!="number")throw new TypeError("maxAge must be a number");this[l]=b.maxAge||0,this[u]=b.dispose,this[p]=b.noDisposeOnSet||!1,this[m]=b.updateAgeOnGet||!1,this.reset()}set max(b){if(typeof b!="number"||b<0)throw new TypeError("max must be a non-negative number");this[a]=b||1/0,E(this)}get max(){return this[a]}set allowStale(b){this[o]=!!b}get allowStale(){return this[o]}set maxAge(b){if(typeof b!="number")throw new TypeError("maxAge must be a non-negative number");this[l]=b,E(this)}get maxAge(){return this[l]}set lengthCalculator(b){typeof b!="function"&&(b=f),b!==this[s]&&(this[s]=b,this[i]=0,this[h].forEach(A=>{A.length=this[s](A.value,A.key),this[i]+=A.length})),E(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[h].length}rforEach(b,A){A=A||this;for(let T=this[h].tail;T!==null;){const O=T.prev;w(this,b,T,A),T=O}}forEach(b,A){A=A||this;for(let T=this[h].head;T!==null;){const O=T.next;w(this,b,T,A),T=O}}keys(){return this[h].toArray().map(b=>b.key)}values(){return this[h].toArray().map(b=>b.value)}reset(){this[u]&&this[h]&&this[h].length&&this[h].forEach(b=>this[u](b.key,b.value)),this[d]=new Map,this[h]=new r,this[i]=0}dump(){return this[h].map(b=>!C(this,b)&&{k:b.key,v:b.value,e:b.now+(b.maxAge||0)}).toArray().filter(b=>b)}dumpLru(){return this[h]}set(b,A,T){if((T=T||this[l])&&typeof T!="number")throw new TypeError("maxAge must be a number");const O=T?Date.now():0,I=this[s](A,b);if(this[d].has(b)){if(I>this[a])return x(this,this[d].get(b)),!1;const U=this[d].get(b).value;return this[u]&&(this[p]||this[u](b,U.value)),U.now=O,U.maxAge=T,U.value=A,this[i]+=I-U.length,U.length=I,this.get(b),E(this),!0}const z=new g(b,A,I,O,T);return z.length>this[a]?(this[u]&&this[u](b,A),!1):(this[i]+=z.length,this[h].unshift(z),this[d].set(b,this[h].head),E(this),!0)}has(b){if(!this[d].has(b))return!1;const A=this[d].get(b).value;return!C(this,A)}get(b){return v(this,b,!0)}peek(b){return v(this,b,!1)}pop(){const b=this[h].tail;return b?(x(this,b),b.value):null}del(b){x(this,this[d].get(b))}load(b){this.reset();const A=Date.now();for(let T=b.length-1;T>=0;T--){const O=b[T],I=O.e||0;if(I===0)this.set(O.k,O.v);else{const z=I-A;z>0&&this.set(O.k,O.v,z)}}}prune(){this[d].forEach((b,A)=>v(this,A,!1))}}},(t,e,n)=>{function r(){const h=n(13);return r=function(){return h},h}function a(h,d,m,f,v,C,E){try{var x=h[C](E),g=x.value}catch(w){return void m(w)}x.done?d(g):Promise.resolve(g).then(f,v)}function i(h){return function(){var d=this,m=arguments;return new Promise(function(f,v){var C=h.apply(d,m);function E(g){a(C,f,v,E,x,"next",g)}function x(g){a(C,f,v,E,x,"throw",g)}E(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=function(h,d){const m=r()(h);return o(f=>{const v=m[f];return d(v)})},e.isAsync=void 0,e.isThenable=p,e.maybeAsync=function(h,d){return r()({sync(){for(var m=arguments.length,f=new Array(m),v=0;v!1,errback:h=>h(null,!0)});const o=r()({sync:h=>h("sync"),async:(l=i(function*(h){return h("async")}),function(h){return l.apply(this,arguments)})});var l,u;function p(h){return!(!h||typeof h!="object"&&typeof h!="function"||!h.then||typeof h.then!="function")}e.onFirstPause=r()({name:"onFirstPause",arity:2,sync:function(h){return s.sync(h)},errback:function(h,d,m){let f=!1;s.errback(h,(v,C)=>{f=!0,m(v,C)}),f||d()}}),e.waitFor=r()({sync:h=>h,async:(u=i(function*(h){return h}),function(h){return u.apply(this,arguments)})})},(t,e)=>{function n(r,a){for(const i of Object.keys(a)){const s=a[i];s!==void 0&&(r[i]=s)}}Object.defineProperty(e,"__esModule",{value:!0}),e.isIterableIterator=function(r){return!!r&&typeof r.next=="function"&&typeof r[Symbol.iterator]=="function"},e.mergeOptions=function(r,a){for(const i of Object.keys(a))if(i!=="parserOpts"&&i!=="generatorOpts"&&i!=="assumptions"||!a[i]){const s=a[i];s!==void 0&&(r[i]=s)}else{const s=a[i];n(r[i]||(r[i]={}),s)}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(136);e.default=class{constructor(a,i,s){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:(0,r.finalize)([]);this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=a.name||s,this.manipulateOptions=a.manipulateOptions,this.post=a.post,this.pre=a.pre,this.visitor=a.visitor||{},this.parserOverride=a.parserOverride,this.generatorOverride=a.generatorOverride,this.options=i,this.externalDependencies=o}}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=function(n){return Object.freeze(n)},e.flattenToSet=function(n){const r=new Set,a=[n];for(;a.length>0;)for(const i of a.pop())Array.isArray(i)?a.push(i):r.add(i);return r}},t=>{function e(n){this.name="BrowserslistError",this.message=n,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,e)}e.prototype=Error.prototype,t.exports=e},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getHighestUnreleased=function(p,h,d){return u(p,h,d)===p?h:p},e.getLowestImplementedVersion=function(p,h){const d=p[h];return d||h!=="android"?d:p.chrome},e.getLowestUnreleased=u,e.isUnreleasedVersion=function(p,h){const d=i.unreleasedLabels[h];return!!d&&d===p.toString().toLowerCase()},e.semverMin=l,e.semverify=function(p){if(typeof p=="string"&&r.valid(p))return p;o.invariant(typeof p=="number"||typeof p=="string"&&s.test(p),`'${p}' is not a valid version`),p=p.toString();let h=0,d=0;for(;(h=p.indexOf(".",h+1))>0;)d++;return p+".0".repeat(2-d)};var r=n(23),a=n(289),i=n(139);const s=/^(\d+|\d+.\d+)$/,o=new a.OptionValidator("@babel/helper-compilation-targets");function l(p,h){return p&&r.lt(p,h)?p:h}function u(p,h,d){const m=i.unreleasedLabels[d];return p===m?h:h===m?p:l(p,h)}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.unreleasedLabels=e.browserNameMap=void 0,e.unreleasedLabels={safari:"tp"},e.browserNameMap={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(39);class a extends Error{constructor(s,o){super(s),(0,r.expectedError)(this),o&&(0,r.injectVirtualStackFrame)(this,o)}}e.default=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(33),a=n(299),i=n(300),s=n(1);const{assignmentExpression:o,booleanLiteral:l,callExpression:u,cloneNode:p,identifier:h,memberExpression:d,sequenceExpression:m,stringLiteral:f,thisExpression:v}=s.types;{const b=n(33);e.environmentVisitor=b.default,e.skipAllButComputedKey=b.skipAllButComputedKey}function C(b,A,T,O){b=p(b);const I=A||O?b:d(b,h("prototype"));return u(T.addHelper("getPrototypeOf"),[I])}const E=s.traverse.visitors.merge([r.default,{Super(b,A){const{node:T,parentPath:O}=b;O.isMemberExpression({object:T})&&A.handle(O)}}]),x=s.traverse.visitors.merge([r.default,{Scopable(b,A){let{refName:T}=A;const O=b.scope.getOwnBinding(T);O&&O.identifier.name===T&&b.scope.rename(T)}}]),g={memoise(b,A){const{scope:T,node:O}=b,{computed:I,property:z}=O;if(!I)return;const U=T.maybeGenerateMemoised(z);U&&this.memoiser.set(z,U,A)},prop(b){const{computed:A,property:T}=b.node;return this.memoiser.has(T)?p(this.memoiser.get(T)):A?p(T):f(T.name)},get(b){return this._get(b,this._getThisRefs())},_get(b,A){const T=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("get"),[A.memo?m([A.memo,T]):T,this.prop(b),A.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:v()};const b=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:o("=",b,v()),this:p(b)}},set(b,A){const T=this._getThisRefs(),O=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("set"),[T.memo?m([T.memo,O]):O,this.prop(b),A,T.this,l(b.isInStrictMode())])},destructureSet(b){throw b.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(b,A){const T=this._getThisRefs();return(0,i.default)(this._get(b,T),p(T.this),A,!1)},optionalCall(b,A){const T=this._getThisRefs();return(0,i.default)(this._get(b,T),p(T.this),A,!0)},delete(b){return b.node.computed?m([u(this.file.addHelper("toPropertyKey"),[p(b.node.property)]),s.template.expression.ast` function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() `]):s.template.expression.ast` function () { throw new ReferenceError("'delete super.prop' is invalid"); }() `}},w=Object.assign({},g,{prop(b){const{property:A}=b.node;return this.memoiser.has(A)?p(this.memoiser.get(A)):p(A)},get(b){const{isStatic:A,getSuperRef:T}=this,{computed:O}=b.node,I=this.prop(b);let z;var U,W;return z=A?(U=T())!=null?U:d(h("Function"),h("prototype")):d((W=T())!=null?W:h("Object"),h("prototype")),d(z,I,O)},set(b,A){const{computed:T}=b.node,O=this.prop(b);return o("=",d(v(),O,T),A)},destructureSet(b){const{computed:A}=b.node,T=this.prop(b);return d(v(),T,A)},call(b,A){return(0,i.default)(this.get(b),v(),A,!1)},optionalCall(b,A){return(0,i.default)(this.get(b),v(),A,!0)}});e.default=class{constructor(b){var A;const T=b.methodPath;this.methodPath=T,this.isDerivedConstructor=T.isClassMethod({kind:"constructor"})&&!!b.superRef,this.isStatic=T.isObjectMethod()||T.node.static||(T.isStaticBlock==null?void 0:T.isStaticBlock()),this.isPrivateMethod=T.isPrivate()&&T.isMethod(),this.file=b.file,this.constantSuper=(A=b.constantSuper)!=null?A:b.isLoose,this.opts=b}getObjectRef(){return p(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?p(this.opts.superRef):this.opts.getSuperRef?p(this.opts.getSuperRef()):void 0}replace(){this.opts.refToPreserve&&this.methodPath.traverse(x,{refName:this.opts.refToPreserve.name});const b=this.constantSuper?w:g;(0,a.default)(this.methodPath,E,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:b.get},b))}}},(t,e,n)=>{t.exports=n(503)},(t,e,n)=>{/** * @vue/compiler-dom v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/Object.defineProperty(e,"__esModule",{value:!0});var r=n(309),a=n(142);const i=Symbol(""),s=Symbol(""),o=Symbol(""),l=Symbol(""),u=Symbol(""),p=Symbol(""),h=Symbol(""),d=Symbol(""),m=Symbol(""),f=Symbol("");r.registerRuntimeHelpers({[i]:"vModelRadio",[s]:"vModelCheckbox",[o]:"vModelText",[l]:"vModelSelect",[u]:"vModelDynamic",[p]:"withModifiers",[h]:"withKeys",[d]:"vShow",[m]:"Transition",[f]:"TransitionGroup"});const v={parseMode:"html",isVoidTag:a.isVoidTag,isNativeTag:X=>a.isHTMLTag(X)||a.isSVGTag(X)||a.isMathMLTag(X),isPreTag:X=>X==="pre",decodeEntities:void 0,isBuiltInComponent:X=>X==="Transition"||X==="transition"?m:X==="TransitionGroup"||X==="transition-group"?f:void 0,getNamespace(X,J,fe){let Ee=J?J.ns:fe;if(J&&Ee===2)if(J.tag==="annotation-xml"){if(X==="svg")return 1;J.props.some(Ae=>Ae.type===6&&Ae.name==="encoding"&&Ae.value!=null&&(Ae.value.content==="text/html"||Ae.value.content==="application/xhtml+xml"))&&(Ee=0)}else/^m(?:[ions]|text)$/.test(J.tag)&&X!=="mglyph"&&X!=="malignmark"&&(Ee=0);else J&&Ee===1&&(J.tag!=="foreignObject"&&J.tag!=="desc"&&J.tag!=="title"||(Ee=0));if(Ee===0){if(X==="svg")return 1;if(X==="math")return 2}return Ee}},C=X=>{X.type===1&&X.props.forEach((J,fe)=>{J.type===6&&J.name==="style"&&J.value&&(X.props[fe]={type:7,name:"bind",arg:r.createSimpleExpression("style",!0,J.loc),exp:E(J.value.content,J.loc),modifiers:[],loc:J.loc})})},E=(X,J)=>{const fe=a.parseStringStyle(X);return r.createSimpleExpression(JSON.stringify(fe),!1,J,3)};function x(X,J){return r.createCompilerError(X,J,g)}const g={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on ,