const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-CYH3TOzo.js","./css-DPfMkruS.js","./javascript-BMMyXqK5.js","./typescript-DlfHMoPT.js","./json-Cp-IABpG.js","./html-B8pBdPMQ.js","./vue-html-zSiQ3dJi.js","./components-BvbJYQUf.js","./index-ENvNlo7R.css","./pinia-CydCddd0.js","./router-CjEa9MSq.js","./pages-cKsoKw9g.js","./SectionBlock-CLZFQW91.js","./IconTitle.vue_vue_type_script_setup_true_lang-BKb_WVnP.js","./SectionBlock-BYDDTsu3.css","./timeline-CWTKEViw.js","./timeline-DQ8UE2TV.css","./assets-B7zubrMs.js","./settings-Dfia6tsi.js","./custom-inspector-tab-view--RVvY-O-.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 Ux="modulepreload",qx=function(t,e){return new URL(t,e).href},fg={},ps=function(e,n,r){let a=Promise.resolve();if(n&&n.length>0){let p=function(u){return Promise.all(u.map(h=>Promise.resolve(h).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");a=p(n.map(u=>{if(u=qx(u,r),u in fg)return;fg[u]=!0;const h=u.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const C=s[v];if(C.href===u&&(!h||C.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const f=document.createElement("link");if(f.rel=h?"stylesheet":Ux,h||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),h)return new Promise((v,C)=>{f.addEventListener("load",v),f.addEventListener("error",()=>C(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 Wx=Object.create,$6=Object.defineProperty,Gx=Object.getOwnPropertyDescriptor,U6=Object.getOwnPropertyNames,Kx=Object.getPrototypeOf,Xx=Object.prototype.hasOwnProperty,Yx=(t,e)=>function(){return e||(0,t[U6(t)[0]])((e={exports:{}}).exports,e),e.exports},Jx=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var a=U6(e),i=0,s=a.length,o;ie[l]).bind(null,o),enumerable:!(r=Gx(e,o))||r.enumerable});return t},Qx=(t,e,n)=>(n=t!=null?Wx(Kx(t)):{},Jx($6(n,"default",{value:t,enumerable:!0}),t));const zu=typeof navigator<"u",qt=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{},Ra=typeof qt.chrome<"u"&&!!qt.chrome.devtools,q6=zu&&qt.self!==qt.top,ph=typeof navigator<"u"&&navigator.userAgent?.toLowerCase().includes("electron"),W6=!q6&&!Ra&&!ph;var Zx=Yx({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js":((t,e)=>{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?u:p;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(u(Array.from(m),f))),l.set(Set,(m,f)=>new Set(u(Array.from(m),f))),i.constructorHandlers)for(const m of i.constructorHandlers)l.set(m[0],m[1]);let p=null;return i.proto?d:h;function u(m,f){const v=Object.keys(m),C=new Array(v.length);for(let S=0;Snavigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),tw=/(?:^|[-_/])(\w)/g,rw=/-(\w)/g;function G6(t,e){return e?e.toUpperCase():""}function nw(t){return t&&`${t}`.replace(tw,G6)}function sw(t){return t&&t.replace(rw,G6)}function iw(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 K6(t){return t&&t.slice().sort((e,n)=>e.keyn.key?1:0)}const ow=/^https?:\/\//;function aw(t){return t.startsWith("/")||ow.test(t)}const t0=(0,ew.default)({circles:!0});function lw(){return Math.random().toString(36).slice(2)}function dg(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function mg(t){return Array.isArray(t)}const cw={trailing:!0};function xl(t,e=25,n={}){if(n={...cw,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,a,i=[],s,o;const l=(p,u)=>(s=uw(t,p,u),s.finally(()=>{if(s=null,n.trailing&&o&&!a){const h=l(p,o);return o=null,h}}),s);return function(...p){return s?(n.trailing&&(o=p),s):new Promise(u=>{const h=!a&&n.leading;clearTimeout(a),a=setTimeout(()=>{a=null;const d=n.leading?r:l(this,p);for(const m of i)m(d);i=[]},e),h?(r=l(this,p),u(r)):i.push(u)})}}async function uw(t,e,n){return await t.apply(e,n)}function r0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?r0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}const pw={run:t=>t()},hw=()=>pw,X6=typeof console.createTask<"u"?console.createTask:hw;function fw(t,e){const n=e.shift(),r=X6(n);return t.reduce((a,i)=>a.then(()=>r.run(()=>i(...e))),Promise.resolve())}function dw(t,e){const n=e.shift(),r=X6(n);return Promise.all(t.map(a=>r.run(()=>a(...e))))}function sd(t,e){for(const n of[...t])n(e)}let mw=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=r0(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=r0(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(fw,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(dw,e,...n)}callHookWith(e,n,...r){const a=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&sd(this._before,a);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&a&&sd(this._after,a)}):(this._after&&a&&sd(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 Y6(){return new mw}const gg="q",vg="s",gw=6e4;function J6(t){return t}const vw=J6,{clearTimeout:yw,setTimeout:bw}=globalThis,Cw=Math.random.bind(Math);function Sw(t,e){const{post:n,on:r,off:a=()=>{},eventNames:i=[],serialize:s=J6,deserialize:o=vw,resolver:l,bind:p="rpc",timeout:u=gw}=e,h=new Map;let d,m=!1;const f=new Proxy({},{get(x,g){if(g==="$functions")return t;if(g==="$close")return v;if(g==="$rejectPendingCalls")return C;if(g==="$closed")return m;if(g==="then"&&!i.includes("then")&&!("then"in t))return;const w=(..._)=>{n(s({m:g,a:_,t:gg}))};if(i.includes(g))return w.asEvent=w,w;const y=async(..._)=>{if(m)throw new Error(`[birpc] rpc is closed, cannot call "${g}"`);if(d)try{await d}finally{d=void 0}return new Promise((T,O)=>{const I=xw();let z;u>=0&&(z=bw(()=>{try{if(e.onTimeoutError?.(g,_)!==!0)throw new Error(`[birpc] timeout on calling "${g}"`)}catch(q){O(q)}h.delete(I)},u),typeof z=="object"&&(z=z.unref?.())),h.set(I,{resolve:T,reject:O,timeoutId:z,method:g}),n(s({m:g,a:_,i:I,t:"q"}))})};return y.asEvent=w,y}});function v(x){m=!0,h.forEach(({reject:g,method:w})=>{const y=new Error(`[birpc] rpc is closed, cannot call "${w}"`);if(x)return x.cause??=y,g(x);g(y)}),h.clear(),a(S)}function C(x){const w=Array.from(h.values()).map(({method:y,reject:_})=>x?x({method:y,reject:_}):_(new Error(`[birpc]: rejected pending call "${y}".`)));return h.clear(),w}async function S(x,...g){let w;try{w=o(x)}catch(y){if(e.onGeneralError?.(y)!==!0)throw y;return}if(w.t===gg){const{m:y,a:_}=w;let T,O;const I=l?l(y,t[y]):t[y];if(!I)O=new Error(`[birpc] function "${y}" not found`);else try{T=await I.apply(p==="rpc"?f:t,_)}catch(z){O=z}if(w.i){if(O&&e.onError&&e.onError(O,y,_),O&&e.onFunctionError&&e.onFunctionError(O,y,_)===!0)return;if(!O)try{n(s({t:vg,i:w.i,r:T}),...g);return}catch(z){if(O=z,e.onGeneralError?.(z,y,_)!==!0)throw z}try{n(s({t:vg,i:w.i,e:O}),...g)}catch(z){if(e.onGeneralError?.(z,y,_)!==!0)throw z}}}else{const{i:y,r:_,e:T}=w,O=h.get(y);O&&(yw(O.timeoutId),T?O.reject(T):O.resolve(_)),h.delete(y)}}return d=r(S),f}const Ew="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function xw(t=21){let e="",n=t;for(;n--;)e+=Ew[Cw()*64|0];return e}/** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function hh(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const yn={},wc=[],Yi=()=>{},ww=()=>!1,Nu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),A5=t=>t.startsWith("onUpdate:"),Kn=Object.assign,_5=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Tw=Object.prototype.hasOwnProperty,Pn=(t,e)=>Tw.call(t,e),gr=Array.isArray,Tc=t=>Gc(t)==="[object Map]",Ol=t=>Gc(t)==="[object Set]",yg=t=>Gc(t)==="[object Date]",Aw=t=>Gc(t)==="[object RegExp]",Dr=t=>typeof t=="function",ss=t=>typeof t=="string",ao=t=>typeof t=="symbol",Rn=t=>t!==null&&typeof t=="object",M5=t=>(Rn(t)||Dr(t))&&Dr(t.then)&&Dr(t.catch),Q6=Object.prototype.toString,Gc=t=>Q6.call(t),_w=t=>Gc(t).slice(8,-1),fh=t=>Gc(t)==="[object Object]",P5=t=>ss(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ac=hh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dh=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Mw=/-(\w)/g,ti=dh(t=>t.replace(Mw,(e,n)=>n?n.toUpperCase():"")),Pw=/\B([A-Z])/g,Ti=dh(t=>t.replace(Pw,"-$1").toLowerCase()),Vu=dh(t=>t.charAt(0).toUpperCase()+t.slice(1)),B1=dh(t=>t?`on${Vu(t)}`:""),vi=(t,e)=>!Object.is(t,e),_c=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},yp=t=>{const e=parseFloat(t);return isNaN(e)?t:e},bp=t=>{const e=ss(t)?Number(t):NaN;return isNaN(e)?t:e};let bg;const mh=()=>bg||(bg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Lw="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",Ow=hh(Lw);function Hs(t){if(gr(t)){const e={};for(let n=0;n{if(n){const r=n.split(kw);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function $r(t){let e="";if(ss(t))e=t;else if(gr(t))for(let n=0;nja(n,e))}const ey=t=>!!(t&&t.__v_isRef===!0),cn=t=>ss(t)?t:t==null?"":gr(t)||Rn(t)&&(t.toString===Q6||!Dr(t.toString))?ey(t)?cn(t.value):JSON.stringify(t,ty,2):String(t),ty=(t,e)=>ey(e)?ty(t,e.value):Tc(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,a],i)=>(n[id(r,i)+" =>"]=a,n),{})}:Ol(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>id(n))}:ao(e)?id(e):Rn(e)&&!gr(e)&&!fh(e)?String(e):e,id=(t,e="")=>{var n;return ao(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};function Rw(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}/** * @vue/reactivity v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ii;class L5{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ii,!e&&ii&&(this.index=(ii.scopes||(ii.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&&--this._on===0&&(ii=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if($1){let e=$1;for($1=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;F1;){let e=F1;for(F1=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 sy(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function iy(t){let e,n=t.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),z5(r),Bw(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}t.deps=e,t.depsTail=n}function s0(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(oy(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function oy(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===iu)||(t.globalVersion=iu,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!s0(t))))return;t.flags|=2;const e=t.dep,n=rs,r=io;rs=t,io=!0;try{sy(t);const a=t.fn(t._value);(e.version===0||vi(a,t._value))&&(t.flags|=128,t._value=a,e.version++)}catch(a){throw e.version++,a}finally{rs=n,io=r,iy(t),t.flags&=-3}}function z5(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)z5(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bw(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function Fw(t,e){t.effect instanceof su&&(t=t.effect.fn);const n=new su(t);e&&Kn(n,e);try{n.run()}catch(a){throw n.stop(),a}const r=n.run.bind(n);return r.effect=n,r}function $w(t){t.effect.stop()}let io=!0;const ay=[];function Zo(){ay.push(io),io=!1}function ea(){const t=ay.pop();io=t===void 0?!0:t}function Cg(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=rs;rs=void 0;try{e()}finally{rs=n}}}let iu=0;class Uw{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 bh{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!rs||!io||rs===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==rs)n=this.activeLink=new Uw(rs,this),rs.deps?(n.prevDep=rs.depsTail,rs.depsTail.nextDep=n,rs.depsTail=n):rs.deps=rs.depsTail=n,ly(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=rs.depsTail,n.nextDep=void 0,rs.depsTail.nextDep=n,rs.depsTail=n,rs.deps===n&&(rs.deps=r)}return n}trigger(e){this.version++,iu++,this.notify(e)}notify(e){I5();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{k5()}}}function ly(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)ly(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Cp=new WeakMap,bl=Symbol(""),i0=Symbol(""),ou=Symbol("");function ai(t,e,n){if(io&&rs){let r=Cp.get(t);r||Cp.set(t,r=new Map);let a=r.get(n);a||(r.set(n,a=new bh),a.map=r,a.key=n),a.track()}}function qo(t,e,n,r,a,i){const s=Cp.get(t);if(!s){iu++;return}const o=l=>{l&&l.trigger()};if(I5(),e==="clear")s.forEach(o);else{const l=gr(t),p=l&&P5(n);if(l&&n==="length"){const u=Number(r);s.forEach((h,d)=>{(d==="length"||d===ou||!ao(d)&&d>=u)&&o(h)})}else switch((n!==void 0||s.has(void 0))&&o(s.get(n)),p&&o(s.get(ou)),e){case"add":l?p&&o(s.get("length")):(o(s.get(bl)),Tc(t)&&o(s.get(i0)));break;case"delete":l||(o(s.get(bl)),Tc(t)&&o(s.get(i0)));break;case"set":Tc(t)&&o(s.get(bl));break}}k5()}function qw(t,e){const n=Cp.get(t);return n&&n.get(e)}function pc(t){const e=gn(t);return e===t?e:(ai(e,"iterate",ou),Ni(t)?e:e.map(Ys))}function Ch(t){return ai(t=gn(t),"iterate",ou),t}const Ww={__proto__:null,[Symbol.iterator](){return ad(this,Symbol.iterator,Ys)},concat(...t){return pc(this).concat(...t.map(e=>gr(e)?pc(e):e))},entries(){return ad(this,"entries",t=>(t[1]=Ys(t[1]),t))},every(t,e){return jo(this,"every",t,e,void 0,arguments)},filter(t,e){return jo(this,"filter",t,e,n=>n.map(Ys),arguments)},find(t,e){return jo(this,"find",t,e,Ys,arguments)},findIndex(t,e){return jo(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return jo(this,"findLast",t,e,Ys,arguments)},findLastIndex(t,e){return jo(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return jo(this,"forEach",t,e,void 0,arguments)},includes(...t){return ld(this,"includes",t)},indexOf(...t){return ld(this,"indexOf",t)},join(t){return pc(this).join(t)},lastIndexOf(...t){return ld(this,"lastIndexOf",t)},map(t,e){return jo(this,"map",t,e,void 0,arguments)},pop(){return _1(this,"pop")},push(...t){return _1(this,"push",t)},reduce(t,...e){return Sg(this,"reduce",t,e)},reduceRight(t,...e){return Sg(this,"reduceRight",t,e)},shift(){return _1(this,"shift")},some(t,e){return jo(this,"some",t,e,void 0,arguments)},splice(...t){return _1(this,"splice",t)},toReversed(){return pc(this).toReversed()},toSorted(t){return pc(this).toSorted(t)},toSpliced(...t){return pc(this).toSpliced(...t)},unshift(...t){return _1(this,"unshift",t)},values(){return ad(this,"values",Ys)}};function ad(t,e,n){const r=Ch(t),a=r[e]();return r!==t&&!Ni(t)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.value&&(i.value=n(i.value)),i}),a}const Gw=Array.prototype;function jo(t,e,n,r,a,i){const s=Ch(t),o=s!==t&&!Ni(t),l=s[e];if(l!==Gw[e]){const h=l.apply(t,i);return o?Ys(h):h}let p=n;s!==t&&(o?p=function(h,d){return n.call(this,Ys(h),d,t)}:n.length>2&&(p=function(h,d){return n.call(this,h,d,t)}));const u=l.call(s,p,r);return o&&a?a(u):u}function Sg(t,e,n,r){const a=Ch(t);let i=n;return a!==t&&(Ni(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,Ys(o),l,t)}),a[e](i,...r)}function ld(t,e,n){const r=gn(t);ai(r,"iterate",ou);const a=r[e](...n);return(a===-1||a===!1)&&wh(n[0])?(n[0]=gn(n[0]),r[e](...n)):a}function _1(t,e,n=[]){Zo(),I5();const r=gn(t)[e].apply(t,n);return k5(),ea(),r}const Kw=hh("__proto__,__v_isRef,__isVue"),cy=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ao));function Xw(t){ao(t)||(t=String(t));const e=gn(this);return ai(e,"has",t),e.hasOwnProperty(t)}class uy{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?gy:my:i?dy:fy).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const s=gr(e);if(!a){let l;if(s&&(l=Ww[n]))return l;if(n==="hasOwnProperty")return Xw}const o=Reflect.get(e,n,xn(e)?e:r);return(ao(n)?cy.has(n):Kw(n))||(a||ai(e,"get",n),i)?o:xn(o)?s&&P5(n)?o:o.value:Rn(o)?a?Il(o):lo(o):o}}class py extends uy{constructor(e=!1){super(!1,e)}set(e,n,r,a){let i=e[n];if(!this._isShallow){const l=ta(i);if(!Ni(r)&&!ta(r)&&(i=gn(i),r=gn(r)),!gr(e)&&xn(i)&&!xn(r))return l?!1:(i.value=r,!0)}const s=gr(e)&&P5(n)?Number(n)t,I2=t=>Reflect.getPrototypeOf(t);function eT(t,e,n){return function(...r){const a=this.__v_raw,i=gn(a),s=Tc(i),o=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,p=a[t](...r),u=n?o0:e?Sp:Ys;return!e&&ai(i,"iterate",l?i0:bl),{next(){const{value:h,done:d}=p.next();return d?{value:h,done:d}:{value:o?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function k2(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function tT(t,e){const n={get(a){const i=this.__v_raw,s=gn(i),o=gn(a);t||(vi(a,o)&&ai(s,"get",a),ai(s,"get",o));const{has:l}=I2(s),p=e?o0:t?Sp:Ys;if(l.call(s,a))return p(i.get(a));if(l.call(s,o))return p(i.get(o));i!==s&&i.get(a)},get size(){const a=this.__v_raw;return!t&&ai(gn(a),"iterate",bl),Reflect.get(a,"size",a)},has(a){const i=this.__v_raw,s=gn(i),o=gn(a);return t||(vi(a,o)&&ai(s,"has",a),ai(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=gn(o),p=e?o0:t?Sp:Ys;return!t&&ai(l,"iterate",bl),o.forEach((u,h)=>a.call(i,p(u),p(h),s))}};return Kn(n,t?{add:k2("add"),set:k2("set"),delete:k2("delete"),clear:k2("clear")}:{add(a){!e&&!Ni(a)&&!ta(a)&&(a=gn(a));const i=gn(this);return I2(i).has.call(i,a)||(i.add(a),qo(i,"add",a,a)),this},set(a,i){!e&&!Ni(i)&&!ta(i)&&(i=gn(i));const s=gn(this),{has:o,get:l}=I2(s);let p=o.call(s,a);p||(a=gn(a),p=o.call(s,a));const u=l.call(s,a);return s.set(a,i),p?vi(i,u)&&qo(s,"set",a,i):qo(s,"add",a,i),this},delete(a){const i=gn(this),{has:s,get:o}=I2(i);let l=s.call(i,a);l||(a=gn(a),l=s.call(i,a)),o&&o.call(i,a);const p=i.delete(a);return l&&qo(i,"delete",a,void 0),p},clear(){const a=gn(this),i=a.size!==0,s=a.clear();return i&&qo(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=eT(a,t,e)}),n}function Sh(t,e){const n=tT(t,e);return(r,a,i)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?r:Reflect.get(Pn(n,a)&&a in r?n:r,a,i)}const rT={get:Sh(!1,!1)},nT={get:Sh(!1,!0)},sT={get:Sh(!0,!1)},iT={get:Sh(!0,!0)},fy=new WeakMap,dy=new WeakMap,my=new WeakMap,gy=new WeakMap;function oT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aT(t){return t.__v_skip||!Object.isExtensible(t)?0:oT(_w(t))}function lo(t){return ta(t)?t:xh(t,!1,Yw,rT,fy)}function Eh(t){return xh(t,!1,Qw,nT,dy)}function Il(t){return xh(t,!0,Jw,sT,my)}function Hu(t){return xh(t,!0,Zw,iT,gy)}function xh(t,e,n,r,a){if(!Rn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=aT(t);if(i===0)return t;const s=a.get(t);if(s)return s;const o=new Proxy(t,i===2?r:n);return a.set(t,o),o}function Ia(t){return ta(t)?Ia(t.__v_raw):!!(t&&t.__v_isReactive)}function ta(t){return!!(t&&t.__v_isReadonly)}function Ni(t){return!!(t&&t.__v_isShallow)}function wh(t){return t?!!t.__v_raw:!1}function gn(t){const e=t&&t.__v_raw;return e?gn(e):t}function N5(t){return!Pn(t,"__v_skip")&&Object.isExtensible(t)&&n0(t,"__v_skip",!0),t}const Ys=t=>Rn(t)?lo(t):t,Sp=t=>Rn(t)?Il(t):t;function xn(t){return t?t.__v_isRef===!0:!1}function xt(t){return vy(t,!1)}function qr(t){return vy(t,!0)}function vy(t,e){return xn(t)?t:new lT(t,e)}class lT{constructor(e,n){this.dep=new bh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:gn(e),this._value=n?e:Ys(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Ni(e)||ta(e);e=r?e:gn(e),vi(e,n)&&(this._rawValue=e,this._value=r?e:Ys(e),this.dep.trigger())}}function cT(t){t.dep&&t.dep.trigger()}function $e(t){return xn(t)?t.value:t}function Pr(t){return Dr(t)?t():$e(t)}const uT={get:(t,e,n)=>e==="__v_raw"?t:$e(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const a=t[e];return xn(a)&&!xn(n)?(a.value=n,!0):Reflect.set(t,e,n,r)}};function V5(t){return Ia(t)?t:new Proxy(t,uT)}class pT{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new bh,{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 Th(t){return new pT(t)}function yy(t){const e=gr(t)?new Array(t.length):{};for(const n in t)e[n]=Cy(t,n);return e}class hT{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 qw(gn(this._object),this._key)}}class fT{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 by(t,e,n){return xn(t)?t:Dr(t)?new fT(t):Rn(t)&&arguments.length>1?Cy(t,e,n):xt(t)}function Cy(t,e,n){const r=t[e];return xn(r)?r:new hT(t,e,n)}class dT{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new bh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=iu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&rs!==this)return ny(this,!0),!0}get value(){const e=this.dep.track();return oy(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function mT(t,e,n=!1){let r,a;return Dr(t)?r=t:(r=t.get,a=t.set),new dT(r,a,n)}const gT={GET:"get",HAS:"has",ITERATE:"iterate"},vT={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},z2={},Ep=new WeakMap;let Ta;function yT(){return Ta}function Sy(t,e=!1,n=Ta){if(n){let r=Ep.get(n);r||Ep.set(n,r=[]),r.push(t)}}function bT(t,e,n=yn){const{immediate:r,deep:a,once:i,scheduler:s,augmentJob:o,call:l}=n,p=w=>a?w:Ni(w)||a===!1||a===0?Wo(w,1):Wo(w);let u,h,d,m,f=!1,v=!1;if(xn(t)?(h=()=>t.value,f=Ni(t)):Ia(t)?(h=()=>p(t),f=!0):gr(t)?(v=!0,f=t.some(w=>Ia(w)||Ni(w)),h=()=>t.map(w=>{if(xn(w))return w.value;if(Ia(w))return p(w);if(Dr(w))return l?l(w,2):w()})):Dr(t)?e?h=l?()=>l(t,2):t:h=()=>{if(d){Zo();try{d()}finally{ea()}}const w=Ta;Ta=u;try{return l?l(t,3,[m]):t(m)}finally{Ta=w}}:h=Yi,e&&a){const w=h,y=a===!0?1/0:a;h=()=>Wo(w(),y)}const C=yh(),S=()=>{u.stop(),C&&C.active&&_5(C.effects,u)};if(i&&e){const w=e;e=(...y)=>{w(...y),S()}}let x=v?new Array(t.length).fill(z2):z2;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(e){const y=u.run();if(a||f||(v?y.some((_,T)=>vi(_,x[T])):vi(y,x))){d&&d();const _=Ta;Ta=u;try{const T=[y,x===z2?void 0:v&&x[0]===z2?[]:x,m];x=y,l?l(e,3,T):e(...T)}finally{Ta=_}}}else u.run()};return o&&o(g),u=new su(h),u.scheduler=s?()=>s(g,!1):g,m=w=>Sy(w,!1,u),d=u.onStop=()=>{const w=Ep.get(u);if(w){if(l)l(w,4);else for(const y of w)y();Ep.delete(u)}},e?r?g(!0):x=u.run():s?s(g.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Wo(t,e=1/0,n){if(e<=0||!Rn(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,xn(t))Wo(t.value,e,n);else if(gr(t))for(let r=0;r{Wo(r,e,n)});else if(fh(t)){for(const r in t)Wo(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&Wo(t[r],e,n)}return t}/** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Ey=[];function CT(t){Ey.push(t)}function ST(){Ey.pop()}function ET(t,e){}const xT={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"},wT={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 Kc(t,e,n,r){try{return r?t(...r):t()}catch(a){kl(a,e,n)}}function Qi(t,e,n,r){if(Dr(t)){const a=Kc(t,e,n,r);return a&&M5(a)&&a.catch(i=>{kl(i,e,n)}),a}if(gr(t)){const a=[];for(let i=0;i>>1,a=yi[r],i=lu(a);i=lu(n)?yi.push(t):yi.splice(AT(e),0,t),t.flags|=1,wy()}}function wy(){xp||(xp=xy.then(Ty))}function au(t){gr(t)?Mc.push(...t):Aa&&t.id===-1?Aa.splice(mc+1,0,t):t.flags&1||(Mc.push(t),t.flags|=1),wy()}function Eg(t,e,n=Co+1){for(;nlu(n)-lu(r));if(Mc.length=0,Aa){Aa.push(...e);return}for(Aa=e,mc=0;mct.id==null?t.flags&2?-1:1/0:t.id;function Ty(t){try{for(Co=0;Cogc.emit(a,...i)),N2=[]):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=>{Ay(i,e)}),setTimeout(()=>{gc||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,N2=[])},3e3)):N2=[]}let Qs=null,Ah=null;function cu(t){const e=Qs;return Qs=t,Ah=t&&t.type.__scopeId||null,e}function D5(t){Ah=t}function R5(){Ah=null}const j5=t=>zt;function zt(t,e=Qs,n){if(!e||t._n)return t;const r=(...a)=>{r._d&&d0(-1);const i=cu(e);let s;try{s=t(...a)}finally{cu(i),r._d&&d0(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Dn(t,e){if(Qs===null)return t;const n=Bu(Qs),r=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,U1=t=>t&&(t.disabled||t.disabled===""),xg=t=>t&&(t.defer||t.defer===""),wg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Tg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,a0=(t,e)=>{const n=t&&t.to;return ss(n)?e?e(n):null:n},Py={name:"Teleport",__isTeleport:!0,process(t,e,n,r,a,i,s,o,l,p){const{mc:u,pc:h,pbc:d,o:{insert:m,querySelector:f,createText:v,createComment:C}}=p,S=U1(e.props);let{shapeFlag:x,children:g,dynamicChildren:w}=e;if(t==null){const y=e.el=v(""),_=e.anchor=v("");m(y,n,r),m(_,n,r);const T=(I,z)=>{x&16&&(a&&a.isCE&&(a.ce._teleportTarget=I),u(g,I,z,a,i,s,o,l))},O=()=>{const I=e.target=a0(e.props,f),z=Ly(I,e,v,m);I&&(s!=="svg"&&wg(I)?s="svg":s!=="mathml"&&Tg(I)&&(s="mathml"),S||(T(I,z),ip(e,!1)))};S&&(T(n,_),ip(e,!0)),xg(e.props)?(e.el.__isMounted=!1,Ns(()=>{O(),delete e.el.__isMounted},i)):O()}else{if(xg(e.props)&&t.el.__isMounted===!1){Ns(()=>{Py.process(t,e,n,r,a,i,s,o,l,p)},i);return}e.el=t.el,e.targetStart=t.targetStart;const y=e.anchor=t.anchor,_=e.target=t.target,T=e.targetAnchor=t.targetAnchor,O=U1(t.props),I=O?n:_,z=O?y:T;if(s==="svg"||wg(_)?s="svg":(s==="mathml"||Tg(_))&&(s="mathml"),w?(d(t.dynamicChildren,w,I,a,i,s,o),tm(t,e,!0)):l||h(t,e,I,z,a,i,s,o,!1),S)O?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):V2(e,n,y,p,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const q=e.target=a0(e.props,f);q&&V2(e,q,null,p,0)}else O&&V2(e,_,T,p,1);ip(e,S)}},remove(t,e,n,{um:r,o:{remove:a}},i){const{shapeFlag:s,children:o,anchor:l,targetStart:p,targetAnchor:u,target:h,props:d}=t;if(h&&(a(p),a(u)),i&&a(l),s&16){const m=i||!U1(d);for(let f=0;f{t.isMounted=!0}),Xc(()=>{t.isUnmounting=!0}),t}const Bi=[Function,Array],$5={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bi,onEnter:Bi,onAfterEnter:Bi,onEnterCancelled:Bi,onBeforeLeave:Bi,onLeave:Bi,onAfterLeave:Bi,onLeaveCancelled:Bi,onBeforeAppear:Bi,onAppear:Bi,onAfterAppear:Bi,onAppearCancelled:Bi},Oy=t=>{const e=t.subTree;return e.component?Oy(e.component):e},MT={name:"BaseTransition",props:$5,setup(t,{slots:e}){const n=ws(),r=F5();return()=>{const a=e.default&&_h(e.default(),!0);if(!a||!a.length)return;const i=Iy(a),s=gn(t),{mode:o}=s;if(r.isLeaving)return cd(i);const l=Ag(i);if(!l)return cd(i);let p=Vc(l,s,r,n,h=>p=h);l.type!==Ms&&ra(l,p);let u=n.subTree&&Ag(n.subTree);if(u&&u.type!==Ms&&!to(l,u)&&Oy(n).type!==Ms){let h=Vc(u,s,r,n);if(ra(u,h),o==="out-in"&&l.type!==Ms)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},cd(i);o==="in-out"&&l.type!==Ms?h.delayLeave=(d,m,f)=>{const v=zy(r,u);v[String(u.key)]=u,d[_a]=()=>{m(),d[_a]=void 0,delete p.delayedLeave,u=void 0},p.delayedLeave=()=>{f(),delete p.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function Iy(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Ms){e=n;break}}return e}const ky=MT;function zy(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 Vc(t,e,n,r,a){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:p,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:m,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:C,onAppear:S,onAfterAppear:x,onAppearCancelled:g}=e,w=String(t.key),y=zy(n,t),_=(I,z)=>{I&&Qi(I,r,9,z)},T=(I,z)=>{const q=z[1];_(I,z),gr(I)?I.every(W=>W.length<=1)&&q():I.length<=1&&q()},O={mode:s,persisted:o,beforeEnter(I){let z=l;if(!n.isMounted)if(i)z=C||l;else return;I[_a]&&I[_a](!0);const q=y[w];q&&to(t,q)&&q.el[_a]&&q.el[_a](),_(z,[I])},enter(I){let z=p,q=u,W=h;if(!n.isMounted)if(i)z=S||p,q=x||u,W=g||h;else return;let F=!1;const N=I[H2]=$=>{F||(F=!0,$?_(W,[I]):_(q,[I]),O.delayedLeave&&O.delayedLeave(),I[H2]=void 0)};z?T(z,[I,N]):N()},leave(I,z){const q=String(t.key);if(I[H2]&&I[H2](!0),n.isUnmounting)return z();_(d,[I]);let W=!1;const F=I[_a]=N=>{W||(W=!0,z(),N?_(v,[I]):_(f,[I]),I[_a]=void 0,y[q]===t&&delete y[q])};y[q]=t,m?T(m,[I,F]):F()},clone(I){const z=Vc(I,e,n,r,a);return a&&a(z),z}};return O}function cd(t){if(Du(t))return t=_o(t),t.children=null,t}function Ag(t){if(!Du(t))return My(t.type)&&t.children?Iy(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Dr(n.default))return n.default()}}function ra(t,e){t.shapeFlag&6&&t.component?(t.transition=e,ra(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 _h(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 Pc(t,e,n,r,a=!1){if(gr(t)){t.forEach((f,v)=>Pc(f,e&&(gr(e)?e[v]:e),n,r,a));return}if(ka(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pc(t,e,n,r.component.subTree);return}const i=r.shapeFlag&4?Bu(r.component):r.el,s=a?null:i,{i:o,r:l}=t,p=e&&e.r,u=o.refs===yn?o.refs={}:o.refs,h=o.setupState,d=gn(h),m=h===yn?()=>!1:f=>Pn(d,f);if(p!=null&&p!==l&&(ss(p)?(u[p]=null,m(p)&&(h[p]=null)):xn(p)&&(p.value=null)),Dr(l))Kc(l,o,12,[s,u]);else{const f=ss(l),v=xn(l);if(f||v){const C=()=>{if(t.f){const S=f?m(l)?h[l]:u[l]:l.value;a?gr(S)&&_5(S,i):gr(S)?S.includes(i)||S.push(i):f?(u[l]=[i],m(l)&&(h[l]=u[l])):(l.value=[i],t.k&&(u[t.k]=l.value))}else f?(u[l]=s,m(l)&&(h[l]=s)):v&&(l.value=s,t.k&&(u[t.k]=s))};s?(C.id=-1,Ns(C,n)):C()}}}let _g=!1;const hc=()=>{_g||(console.error("Hydration completed but contains mismatches."),_g=!0)},OT=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",IT=t=>t.namespaceURI.includes("MathML"),D2=t=>{if(t.nodeType===1){if(OT(t))return"svg";if(IT(t))return"mathml"}},Sc=t=>t.nodeType===8;function kT(t){const{mt:e,p:n,o:{patchProp:r,createText:a,nextSibling:i,parentNode:s,remove:o,insert:l,createComment:p}}=t,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),wp(),w._vnode=g;return}h(w.firstChild,g,null,null,null),wp(),w._vnode=g},h=(g,w,y,_,T,O=!1)=>{O=O||!!w.dynamicChildren;const I=Sc(g)&&g.data==="[",z=()=>v(g,w,y,_,T,I),{type:q,ref:W,shapeFlag:F,patchFlag:N}=w;let $=g.nodeType;w.el=g,N===-2&&(O=!1,w.dynamicChildren=null);let H=null;switch(q){case za:$!==3?w.children===""?(l(w.el=a(""),s(g),g),H=g):H=z():(g.data!==w.children&&(hc(),g.data=w.children),H=i(g));break;case Ms:x(g)?(H=i(g),S(w.el=g.content.firstChild,g,y)):$!==8||I?H=z():H=i(g);break;case Sl:if(I&&(g=i(g),$=g.nodeType),$===1||$===3){H=g;const R=!w.children.length;for(let K=0;K{O=O||!!w.dynamicChildren;const{type:I,props:z,patchFlag:q,shapeFlag:W,dirs:F,transition:N}=w,$=I==="input"||I==="option";if($||q!==-1){F&&So(w,null,y,"created");let H=!1;if(x(g)){H=a8(null,N)&&y&&y.vnode.props&&y.vnode.props.appear;const K=g.content.firstChild;if(H){const se=K.getAttribute("class");se&&(K.$cls=se),N.beforeEnter(K)}S(K,g,y),w.el=g=K}if(W&16&&!(z&&(z.innerHTML||z.textContent))){let K=m(g.firstChild,w,g,y,_,T,O);for(;K;){R2(g,1)||hc();const se=K;K=K.nextSibling,o(se)}}else if(W&8){let K=w.children;K[0]===` `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(K=K.slice(1)),g.textContent!==K&&(R2(g,0)||hc(),g.textContent=w.children)}if(z){if($||!O||q&48){const K=g.tagName.includes("-");for(const se in z)($&&(se.endsWith("value")||se==="indeterminate")||Nu(se)&&!Ac(se)||se[0]==="."||K)&&r(g,se,null,z[se],void 0,y)}else if(z.onClick)r(g,"onClick",null,z.onClick,void 0,y);else if(q&4&&Ia(z.style))for(const K in z.style)z.style[K]}let R;(R=z&&z.onVnodeBeforeMount)&&Ei(R,y,w),F&&So(w,null,y,"beforeMount"),((R=z&&z.onVnodeMounted)||F||H)&&g8(()=>{R&&Ei(R,y,w),H&&N.enter(g),F&&So(w,null,y,"mounted")},_)}return g.nextSibling},m=(g,w,y,_,T,O,I)=>{I=I||!!w.dynamicChildren;const z=w.children,q=z.length;for(let W=0;W{const{slotScopeIds:I}=w;I&&(T=T?T.concat(I):I);const z=s(g),q=m(i(g),w,z,y,_,T,O);return q&&Sc(q)&&q.data==="]"?i(w.anchor=q):(hc(),l(w.anchor=p("]"),z,q),q)},v=(g,w,y,_,T,O)=>{if(R2(g.parentElement,1)||hc(),w.el=null,O){const q=C(g);for(;;){const W=i(g);if(W&&W!==q)o(W);else break}}const I=i(g),z=s(g);return o(g),n(null,w,z,I,y,_,D2(z),T),y&&(y.vnode.el=w.el,kh(y,w.el)),I},C=(g,w="[",y="]")=>{let _=0;for(;g;)if(g=i(g),g&&Sc(g)&&(g.data===w&&_++,g.data===y)){if(_===0)return i(g);_--}return g},S=(g,w,y)=>{const _=w.parentNode;_&&_.replaceChild(g,w);let T=y;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[u,h]}const Mg="data-allow-mismatch",zT={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function R2(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Mg);)t=t.parentElement;const n=t&&t.getAttribute(Mg);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return e===0&&r.includes("children")?!0:r.includes(zT[e])}}const NT=mh().requestIdleCallback||(t=>setTimeout(t,1)),VT=mh().cancelIdleCallback||(t=>clearTimeout(t)),HT=(t=1e4)=>e=>{const n=NT(e,{timeout:t});return()=>VT(n)};function DT(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(DT(a))return e(),r.disconnect(),!1;r.observe(a)}}),()=>r.disconnect()},jT=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},BT=(t=[])=>(e,n)=>{ss(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 FT(t,e){if(Sc(t)&&t.data==="["){let n=1,r=t.nextSibling;for(;r;){if(r.nodeType===1){if(e(r)===!1)break}else if(Sc(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else e(t)}const ka=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function q5(t){Dr(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 p=null,u,h=0;const d=()=>(h++,p=null,m()),m=()=>{let f;return p||(f=p=e().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((C,S)=>{l(v,()=>C(d()),()=>S(v),h+1)});throw v}).then(v=>f!==p&&p?p:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return lr({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(f,v,C){let S=!1;(v.bu||(v.bu=[])).push(()=>S=!0);const x=()=>{S||C()},g=i?()=>{const w=i(x,y=>FT(f,y));w&&(v.bum||(v.bum=[])).push(w)}:x;u?g():m().then(()=>!v.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const f=Js;if(U5(f),u)return()=>ud(u,f);const v=g=>{p=null,kl(g,f,13,!r)};if(o&&f.suspense||Dc)return m().then(g=>()=>ud(g,f)).catch(g=>(v(g),()=>r?gt(r,{error:g}):null));const C=xt(!1),S=xt(),x=xt(!!a);return a&&setTimeout(()=>{x.value=!1},a),s!=null&&setTimeout(()=>{if(!C.value&&!S.value){const g=new Error(`Async component timed out after ${s}ms.`);v(g),S.value=g}},s),m().then(()=>{C.value=!0,f.parent&&Du(f.parent.vnode)&&f.parent.update()}).catch(g=>{v(g),S.value=g}),()=>{if(C.value&&u)return ud(u,f);if(S.value&&r)return gt(r,{error:S.value});if(n&&!x.value)return gt(n)}}})}function ud(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 Du=t=>t.type.__isKeepAlive,$T={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=ws(),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:p,um:u,o:{createElement:h}}}=r,d=h("div");r.activate=(x,g,w,y,_)=>{const T=x.component;p(x,g,w,0,o),l(T.vnode,x,g,w,T,o,y,x.slotScopeIds,_),Ns(()=>{T.isDeactivated=!1,T.a&&_c(T.a);const O=x.props&&x.props.onVnodeMounted;O&&Ei(O,T.parent,x)},o)},r.deactivate=x=>{const g=x.component;Ap(g.m),Ap(g.a),p(x,d,null,1,o),Ns(()=>{g.da&&_c(g.da);const w=x.props&&x.props.onVnodeUnmounted;w&&Ei(w,g.parent,x),g.isDeactivated=!0},o)};function m(x){pd(x),u(x,n,o,!0)}function f(x){a.forEach((g,w)=>{const y=b0(g.type);y&&!x(y)&&v(w)})}function v(x){const g=a.get(x);g&&(!s||!to(g,s))?m(g):s&&pd(s),a.delete(x),i.delete(x)}Lr(()=>[t.include,t.exclude],([x,g])=>{x&&f(w=>H1(x,w)),g&&f(w=>!H1(g,w))},{flush:"post",deep:!0});let C=null;const S=()=>{C!=null&&(_p(n.subTree.type)?Ns(()=>{a.set(C,j2(n.subTree))},n.subTree.suspense):a.set(C,j2(n.subTree)))};return ri(S),Ph(S),Xc(()=>{a.forEach(x=>{const{subTree:g,suspense:w}=n,y=j2(g);if(x.type===y.type&&x.key===y.key){pd(y);const _=y.component.da;_&&Ns(_,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(!sa(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return s=null,g;let w=j2(g);if(w.type===Ms)return s=null,w;const y=w.type,_=b0(ka(w)?w.type.__asyncResolved||{}:y),{include:T,exclude:O,max:I}=t;if(T&&(!_||!H1(T,_))||O&&_&&H1(O,_))return w.shapeFlag&=-257,s=w,g;const z=w.key==null?y:w.key,q=a.get(z);return w.el&&(w=_o(w),g.shapeFlag&128&&(g.ssContent=w)),C=z,q?(w.el=q.el,w.component=q.component,w.transition&&ra(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,_p(g.type)?g:w}}},UT=$T;function H1(t,e){return gr(t)?t.some(n=>H1(n,e)):ss(t)?t.split(",").includes(e):Aw(t)?(t.lastIndex=0,t.test(e)):!1}function Ny(t,e){Hy(t,"a",e)}function Vy(t,e){Hy(t,"da",e)}function Hy(t,e,n=Js){const r=t.__wdc||(t.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Mh(e,r,n),n){let a=n.parent;for(;a&&a.parent;)Du(a.parent.vnode)&&qT(r,e,n,a),a=a.parent}}function qT(t,e,n,r){const a=Mh(e,t,r,!0);pi(()=>{_5(r[e],a)},n)}function pd(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function j2(t){return t.shapeFlag&128?t.ssContent:t}function Mh(t,e,n=Js,r=!1){if(n){const a=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{Zo();const o=Tl(n),l=Qi(e,n,t,s);return o(),ea(),l});return r?a.unshift(i):a.push(i),i}}const aa=t=>(e,n=Js)=>{(!Dc||t==="sp")&&Mh(t,(...r)=>e(...r),n)},Dy=aa("bm"),ri=aa("m"),W5=aa("bu"),Ph=aa("u"),Xc=aa("bum"),pi=aa("um"),Ry=aa("sp"),jy=aa("rtg"),By=aa("rtc");function Fy(t,e=Js){Mh("ec",t,e)}const G5="components",WT="directives";function na(t,e){return K5(G5,t,!0,e)||t}const $y=Symbol.for("v-ndc");function Ao(t){return ss(t)?K5(G5,t,!1)||t:t||$y}function Uy(t){return K5(WT,t)}function K5(t,e,n=!0,r=!1){const a=Qs||Js;if(a){const i=a.type;if(t===G5){const o=b0(i,!1);if(o&&(o===e||o===ti(e)||o===Vu(ti(e))))return i}const s=Pg(a[t]||i[t],e)||Pg(a.appContext[t],e);return!s&&r?i:s}}function Pg(t,e){return t&&(t[e]||t[ti(e)]||t[Vu(ti(e))])}function xs(t,e,n,r){let a;const i=n&&n[r],s=gr(t);if(s||ss(t)){const o=s&&Ia(t);let l=!1,p=!1;o&&(l=!Ni(t),p=ta(t),t=Ch(t)),a=new Array(t.length);for(let u=0,h=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,p=o.length;l{const i=r.fn(...a);return i&&(i.key=r.key),i}:r.fn)}return t}function hn(t,e,n={},r,a){if(Qs.ce||Qs.parent&&ka(Qs.parent)&&Qs.parent.ce)return e!=="default"&&(n.name=e),Je(),Jt(Vr,null,[gt("slot",n,r&&r())],64);let i=t[e];i&&i._c&&(i._d=!1),Je();const s=i&&Y5(i(n)),o=n.key||s&&s.key,l=Jt(Vr,{key:(o&&!ao(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 Y5(t){return t.some(e=>sa(e)?!(e.type===Ms||e.type===Vr&&!Y5(e.children)):!0)?t:null}function qy(t,e){const n={};for(const r in t)n[e&&/[A-Z]/.test(r)?`on:${r}`:B1(r)]=t[r];return n}const l0=t=>t?E8(t)?Bu(t):l0(t.parent):null,q1=Kn(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=>l0(t.parent),$root:t=>l0(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>J5(t),$forceUpdate:t=>t.f||(t.f=()=>{H5(t.update)}),$nextTick:t=>t.n||(t.n=Es.bind(t.proxy)),$watch:t=>bA.bind(t)}),hd=(t,e)=>t!==yn&&!t.__isScriptSetup&&Pn(t,e),c0={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 p;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(hd(r,e))return s[e]=1,r[e];if(a!==yn&&Pn(a,e))return s[e]=2,a[e];if((p=t.propsOptions[0])&&Pn(p,e))return s[e]=3,i[e];if(n!==yn&&Pn(n,e))return s[e]=4,n[e];u0&&(s[e]=0)}}const u=q1[e];let h,d;if(u)return e==="$attrs"&&ai(t.attrs,"get",""),u(t);if((h=o.__cssModules)&&(h=h[e]))return h;if(n!==yn&&Pn(n,e))return s[e]=4,n[e];if(d=l.config.globalProperties,Pn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:a,ctx:i}=t;return hd(a,e)?(a[e]=n,!0):r!==yn&&Pn(r,e)?(r[e]=n,!0):Pn(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!==yn&&Pn(t,s)||hd(e,s)||(o=i[0])&&Pn(o,s)||Pn(r,s)||Pn(q1,s)||Pn(a.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Pn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},GT=Kn({},c0,{get(t,e){if(e!==Symbol.unscopables)return c0.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Ow(e)}});function KT(){return null}function XT(){return null}function YT(t){}function JT(t){}function QT(){return null}function ZT(){}function eA(t,e){return null}function Lh(){return Gy().slots}function Wy(){return Gy().attrs}function Gy(t){const e=ws();return e.setupContext||(e.setupContext=T8(e))}function uu(t){return gr(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function tA(t,e){const n=uu(t);for(const r in e){if(r.startsWith("__skip"))continue;let a=n[r];a?gr(a)||Dr(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 Hc(t,e){return!t||!e?t||e:gr(t)&&gr(e)?t.concat(e):Kn({},uu(t),uu(e))}function rA(t,e){const n={};for(const r in t)e.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>t[r]});return n}function nA(t){const e=ws();let n=t();return g0(),M5(n)&&(n=n.catch(r=>{throw Tl(e),r})),[n,()=>Tl(e)]}let u0=!0;function sA(t){const e=J5(t),n=t.proxy,r=t.ctx;u0=!1,e.beforeCreate&&Lg(e.beforeCreate,t,"bc");const{data:a,computed:i,methods:s,watch:o,provide:l,inject:p,created:u,beforeMount:h,mounted:d,beforeUpdate:m,updated:f,activated:v,deactivated:C,beforeDestroy:S,beforeUnmount:x,destroyed:g,unmounted:w,render:y,renderTracked:_,renderTriggered:T,errorCaptured:O,serverPrefetch:I,expose:z,inheritAttrs:q,components:W,directives:F,filters:N}=e;if(p&&iA(p,r,null),s)for(const R in s){const K=s[R];Dr(K)&&(r[R]=K.bind(n))}if(a){const R=a.call(n,n);Rn(R)&&(t.data=lo(R))}if(u0=!0,i)for(const R in i){const K=i[R],se=Dr(K)?K.bind(n,n):Dr(K.get)?K.get.bind(n,n):Yi,he=!Dr(K)&&Dr(K.set)?K.set.bind(n):Yi,Le=pt({get:se,set:he});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>Le.value,set:X=>Le.value=X})}if(o)for(const R in o)Ky(o[R],r,n,R);if(l){const R=Dr(l)?l.call(n):l;Reflect.ownKeys(R).forEach(K=>{_s(K,R[K])})}u&&Lg(u,t,"c");function H(R,K){gr(K)?K.forEach(se=>R(se.bind(n))):K&&R(K.bind(n))}if(H(Dy,h),H(ri,d),H(W5,m),H(Ph,f),H(Ny,v),H(Vy,C),H(Fy,O),H(By,_),H(jy,T),H(Xc,x),H(pi,w),H(Ry,I),gr(z))if(z.length){const R=t.exposed||(t.exposed={});z.forEach(K=>{Object.defineProperty(R,K,{get:()=>n[K],set:se=>n[K]=se,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===Yi&&(t.render=y),q!=null&&(t.inheritAttrs=q),W&&(t.components=W),F&&(t.directives=F),I&&U5(t)}function iA(t,e,n=Yi){gr(t)&&(t=p0(t));for(const r in t){const a=t[r];let i;Rn(a)?"default"in a?i=zn(a.from||r,a.default,!0):i=zn(a.from||r):i=zn(a),xn(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function Lg(t,e,n){Qi(gr(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ky(t,e,n,r){let a=r.includes(".")?h8(n,r):()=>n[r];if(ss(t)){const i=e[t];Dr(i)&&Lr(a,i)}else if(Dr(t))Lr(a,t.bind(n));else if(Rn(t))if(gr(t))t.forEach(i=>Ky(i,e,n,r));else{const i=Dr(t.handler)?t.handler.bind(n):e[t.handler];Dr(i)&&Lr(a,i,t)}}function J5(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(p=>Tp(l,p,s,!0)),Tp(l,e,s)),Rn(e)&&i.set(e,l),l}function Tp(t,e,n,r=!1){const{mixins:a,extends:i}=e;i&&Tp(t,i,n,!0),a&&a.forEach(s=>Tp(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const o=oA[s]||n&&n[s];t[s]=o?o(t[s],e[s]):e[s]}return t}const oA={data:Og,props:Ig,emits:Ig,methods:D1,computed:D1,beforeCreate:gi,created:gi,beforeMount:gi,mounted:gi,beforeUpdate:gi,updated:gi,beforeDestroy:gi,beforeUnmount:gi,destroyed:gi,unmounted:gi,activated:gi,deactivated:gi,errorCaptured:gi,serverPrefetch:gi,components:D1,directives:D1,watch:lA,provide:Og,inject:aA};function Og(t,e){return e?t?function(){return Kn(Dr(t)?t.call(this,this):t,Dr(e)?e.call(this,this):e)}:e:t}function aA(t,e){return D1(p0(t),p0(e))}function p0(t){if(gr(t)){const e={};for(let n=0;n1)return n&&Dr(e)?e.call(r&&r.proxy):e}}function Q5(){return!!(ws()||Cl)}const Yy={},Jy=()=>Object.create(Yy),Qy=t=>Object.getPrototypeOf(t)===Yy;function pA(t,e,n,r=!1){const a={},i=Jy();t.propsDefaults=Object.create(null),Zy(t,e,a,i);for(const s in t.propsOptions[0])s in a||(a[s]=void 0);n?t.props=r?a:Eh(a):t.type.props?t.props=a:t.props=i,t.attrs=i}function hA(t,e,n,r){const{props:a,attrs:i,vnode:{patchFlag:s}}=t,o=gn(a),[l]=t.propsOptions;let p=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,m]=e8(h,e,!0);Kn(s,d),m&&o.push(...m)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!l)return Rn(t)&&r.set(t,wc),wc;if(gr(i))for(let u=0;ut==="_"||t==="__"||t==="_ctx"||t==="$stable",em=t=>gr(t)?t.map(wi):[wi(t)],dA=(t,e,n)=>{if(e._n)return e;const r=zt((...a)=>em(e(...a)),n);return r._c=!1,r},t8=(t,e,n)=>{const r=t._ctx;for(const a in t){if(Z5(a))continue;const i=t[a];if(Dr(i))e[a]=dA(a,i,r);else if(i!=null){const s=em(i);e[a]=()=>s}}},r8=(t,e)=>{const n=em(e);t.slots.default=()=>n},n8=(t,e,n)=>{for(const r in e)(n||!Z5(r))&&(t[r]=e[r])},mA=(t,e,n)=>{const r=t.slots=Jy();if(t.vnode.shapeFlag&32){const a=e.__;a&&n0(r,"__",a,!0);const i=e._;i?(n8(r,e,n),n&&n0(r,"_",i,!0)):t8(e,r)}else e&&r8(t,e)},gA=(t,e,n)=>{const{vnode:r,slots:a}=t;let i=!0,s=yn;if(r.shapeFlag&32){const o=e._;o?n&&o===1?i=!1:n8(a,e,n):(i=!e.$stable,t8(e,a)),s=e}else e&&(r8(t,e),s={default:1});if(i)for(const o in a)!Z5(o)&&s[o]==null&&delete a[o]},Ns=g8;function s8(t){return o8(t)}function i8(t){return o8(t,kT)}function o8(t,e){const n=mh();n.__VUE__=!0;const{insert:r,remove:a,patchProp:i,createElement:s,createText:o,createComment:l,setText:p,setElementText:u,parentNode:h,nextSibling:d,setScopeId:m=Yi,insertStaticContent:f}=t,v=(ne,ge,xe,He=null,ee=null,k=null,j=void 0,J=null,Te=!!ge.dynamicChildren)=>{if(ne===ge)return;ne&&!to(ne,ge)&&(He=ue(ne),X(ne,ee,k,!0),ne=null),ge.patchFlag===-2&&(Te=!1,ge.dynamicChildren=null);const{type:Ie,ref:Pe,shapeFlag:de}=ge;switch(Ie){case za:C(ne,ge,xe,He);break;case Ms:S(ne,ge,xe,He);break;case Sl:ne==null&&x(ge,xe,He,j);break;case Vr:W(ne,ge,xe,He,ee,k,j,J,Te);break;default:de&1?y(ne,ge,xe,He,ee,k,j,J,Te):de&6?F(ne,ge,xe,He,ee,k,j,J,Te):(de&64||de&128)&&Ie.process(ne,ge,xe,He,ee,k,j,J,Te,oe)}Pe!=null&&ee?Pc(Pe,ne&&ne.ref,k,ge||ne,!ge):Pe==null&&ne&&ne.ref!=null&&Pc(ne.ref,null,k,ne,!0)},C=(ne,ge,xe,He)=>{if(ne==null)r(ge.el=o(ge.children),xe,He);else{const ee=ge.el=ne.el;ge.children!==ne.children&&p(ee,ge.children)}},S=(ne,ge,xe,He)=>{ne==null?r(ge.el=l(ge.children||""),xe,He):ge.el=ne.el},x=(ne,ge,xe,He)=>{[ne.el,ne.anchor]=f(ne.children,ge,xe,He,ne.el,ne.anchor)},g=({el:ne,anchor:ge},xe,He)=>{let ee;for(;ne&&ne!==ge;)ee=d(ne),r(ne,xe,He),ne=ee;r(ge,xe,He)},w=({el:ne,anchor:ge})=>{let xe;for(;ne&&ne!==ge;)xe=d(ne),a(ne),ne=xe;a(ge)},y=(ne,ge,xe,He,ee,k,j,J,Te)=>{ge.type==="svg"?j="svg":ge.type==="math"&&(j="mathml"),ne==null?_(ge,xe,He,ee,k,j,J,Te):I(ne,ge,ee,k,j,J,Te)},_=(ne,ge,xe,He,ee,k,j,J)=>{let Te,Ie;const{props:Pe,shapeFlag:de,transition:ke,dirs:Ge}=ne;if(Te=ne.el=s(ne.type,k,Pe&&Pe.is,Pe),de&8?u(Te,ne.children):de&16&&O(ne.children,Te,null,He,ee,fd(ne,k),j,J),Ge&&So(ne,null,He,"created"),T(Te,ne,ne.scopeId,j,He),Pe){for(const ct in Pe)ct!=="value"&&!Ac(ct)&&i(Te,ct,null,Pe[ct],k,He);"value"in Pe&&i(Te,"value",null,Pe.value,k),(Ie=Pe.onVnodeBeforeMount)&&Ei(Ie,He,ne)}Ge&&So(ne,null,He,"beforeMount");const nt=a8(ee,ke);nt&&ke.beforeEnter(Te),r(Te,ge,xe),((Ie=Pe&&Pe.onVnodeMounted)||nt||Ge)&&Ns(()=>{Ie&&Ei(Ie,He,ne),nt&&ke.enter(Te),Ge&&So(ne,null,He,"mounted")},ee)},T=(ne,ge,xe,He,ee)=>{if(xe&&m(ne,xe),He)for(let k=0;k{for(let Ie=Te;Ie{const J=ge.el=ne.el;let{patchFlag:Te,dynamicChildren:Ie,dirs:Pe}=ge;Te|=ne.patchFlag&16;const de=ne.props||yn,ke=ge.props||yn;let Ge;if(xe&&ll(xe,!1),(Ge=ke.onVnodeBeforeUpdate)&&Ei(Ge,xe,ge,ne),Pe&&So(ge,ne,xe,"beforeUpdate"),xe&&ll(xe,!0),(de.innerHTML&&ke.innerHTML==null||de.textContent&&ke.textContent==null)&&u(J,""),Ie?z(ne.dynamicChildren,Ie,J,xe,He,fd(ge,ee),k):j||K(ne,ge,J,null,xe,He,fd(ge,ee),k,!1),Te>0){if(Te&16)q(J,de,ke,xe,ee);else if(Te&2&&de.class!==ke.class&&i(J,"class",null,ke.class,ee),Te&4&&i(J,"style",de.style,ke.style,ee),Te&8){const nt=ge.dynamicProps;for(let ct=0;ct{Ge&&Ei(Ge,xe,ge,ne),Pe&&So(ge,ne,xe,"updated")},He)},z=(ne,ge,xe,He,ee,k,j)=>{for(let J=0;J{if(ge!==xe){if(ge!==yn)for(const k in ge)!Ac(k)&&!(k in xe)&&i(ne,k,ge[k],null,ee,He);for(const k in xe){if(Ac(k))continue;const j=xe[k],J=ge[k];j!==J&&k!=="value"&&i(ne,k,J,j,ee,He)}"value"in xe&&i(ne,"value",ge.value,xe.value,ee)}},W=(ne,ge,xe,He,ee,k,j,J,Te)=>{const Ie=ge.el=ne?ne.el:o(""),Pe=ge.anchor=ne?ne.anchor:o("");let{patchFlag:de,dynamicChildren:ke,slotScopeIds:Ge}=ge;Ge&&(J=J?J.concat(Ge):Ge),ne==null?(r(Ie,xe,He),r(Pe,xe,He),O(ge.children||[],xe,Pe,ee,k,j,J,Te)):de>0&&de&64&&ke&&ne.dynamicChildren?(z(ne.dynamicChildren,ke,xe,ee,k,j,J),(ge.key!=null||ee&&ge===ee.subTree)&&tm(ne,ge,!0)):K(ne,ge,xe,Pe,ee,k,j,J,Te)},F=(ne,ge,xe,He,ee,k,j,J,Te)=>{ge.slotScopeIds=J,ne==null?ge.shapeFlag&512?ee.ctx.activate(ge,xe,He,j,Te):N(ge,xe,He,ee,k,j,Te):$(ne,ge,Te)},N=(ne,ge,xe,He,ee,k,j)=>{const J=ne.component=S8(ne,He,ee);if(Du(ne)&&(J.ctx.renderer=oe),x8(J,!1,j),J.asyncDep){if(ee&&ee.registerDep(J,H,j),!ne.el){const Te=J.subTree=gt(Ms);S(null,Te,ge,xe),ne.placeholder=Te.el}}else H(J,ne,ge,xe,ee,k,j)},$=(ne,ge,xe)=>{const He=ge.component=ne.component;if(wA(ne,ge,xe))if(He.asyncDep&&!He.asyncResolved){R(He,ge,xe);return}else He.next=ge,He.update();else ge.el=ne.el,He.vnode=ge},H=(ne,ge,xe,He,ee,k,j)=>{const J=()=>{if(ne.isMounted){let{next:de,bu:ke,u:Ge,parent:nt,vnode:ct}=ne;{const vr=l8(ne);if(vr){de&&(de.el=ct.el,R(ne,de,j)),vr.asyncDep.then(()=>{ne.isUnmounted||J()});return}}let yt=de,Qt;ll(ne,!1),de?(de.el=ct.el,R(ne,de,j)):de=ct,ke&&_c(ke),(Qt=de.props&&de.props.onVnodeBeforeUpdate)&&Ei(Qt,nt,de,ct),ll(ne,!0);const Bt=op(ne),sr=ne.subTree;ne.subTree=Bt,v(sr,Bt,h(sr.el),ue(sr),ne,ee,k),de.el=Bt.el,yt===null&&kh(ne,Bt.el),Ge&&Ns(Ge,ee),(Qt=de.props&&de.props.onVnodeUpdated)&&Ns(()=>Ei(Qt,nt,de,ct),ee)}else{let de;const{el:ke,props:Ge}=ge,{bm:nt,m:ct,parent:yt,root:Qt,type:Bt}=ne,sr=ka(ge);if(ll(ne,!1),nt&&_c(nt),!sr&&(de=Ge&&Ge.onVnodeBeforeMount)&&Ei(de,yt,ge),ll(ne,!0),ke&&Se){const vr=()=>{ne.subTree=op(ne),Se(ke,ne.subTree,ne,ee,null)};sr&&Bt.__asyncHydrate?Bt.__asyncHydrate(ke,ne,vr):vr()}else{Qt.ce&&Qt.ce._def.shadowRoot!==!1&&Qt.ce._injectChildStyle(Bt);const vr=ne.subTree=op(ne);v(null,vr,xe,He,ne,ee,k),ge.el=vr.el}if(ct&&Ns(ct,ee),!sr&&(de=Ge&&Ge.onVnodeMounted)){const vr=ge;Ns(()=>Ei(de,yt,vr),ee)}(ge.shapeFlag&256||yt&&ka(yt.vnode)&&yt.vnode.shapeFlag&256)&&ne.a&&Ns(ne.a,ee),ne.isMounted=!0,ge=xe=He=null}};ne.scope.on();const Te=ne.effect=new su(J);ne.scope.off();const Ie=ne.update=Te.run.bind(Te),Pe=ne.job=Te.runIfDirty.bind(Te);Pe.i=ne,Pe.id=ne.uid,Te.scheduler=()=>H5(Pe),ll(ne,!0),Ie()},R=(ne,ge,xe)=>{ge.component=ne;const He=ne.vnode.props;ne.vnode=ge,ne.next=null,hA(ne,ge.props,He,xe),gA(ne,ge.children,xe),Zo(),Eg(ne),ea()},K=(ne,ge,xe,He,ee,k,j,J,Te=!1)=>{const Ie=ne&&ne.children,Pe=ne?ne.shapeFlag:0,de=ge.children,{patchFlag:ke,shapeFlag:Ge}=ge;if(ke>0){if(ke&128){he(Ie,de,xe,He,ee,k,j,J,Te);return}else if(ke&256){se(Ie,de,xe,He,ee,k,j,J,Te);return}}Ge&8?(Pe&16&&Me(Ie,ee,k),de!==Ie&&u(xe,de)):Pe&16?Ge&16?he(Ie,de,xe,He,ee,k,j,J,Te):Me(Ie,ee,k,!0):(Pe&8&&u(xe,""),Ge&16&&O(de,xe,He,ee,k,j,J,Te))},se=(ne,ge,xe,He,ee,k,j,J,Te)=>{ne=ne||wc,ge=ge||wc;const Ie=ne.length,Pe=ge.length,de=Math.min(Ie,Pe);let ke;for(ke=0;kePe?Me(ne,ee,k,!0,!1,de):O(ge,xe,He,ee,k,j,J,Te,de)},he=(ne,ge,xe,He,ee,k,j,J,Te)=>{let Ie=0;const Pe=ge.length;let de=ne.length-1,ke=Pe-1;for(;Ie<=de&&Ie<=ke;){const Ge=ne[Ie],nt=ge[Ie]=Te?Ma(ge[Ie]):wi(ge[Ie]);if(to(Ge,nt))v(Ge,nt,xe,null,ee,k,j,J,Te);else break;Ie++}for(;Ie<=de&&Ie<=ke;){const Ge=ne[de],nt=ge[ke]=Te?Ma(ge[ke]):wi(ge[ke]);if(to(Ge,nt))v(Ge,nt,xe,null,ee,k,j,J,Te);else break;de--,ke--}if(Ie>de){if(Ie<=ke){const Ge=ke+1,nt=Geke)for(;Ie<=de;)X(ne[Ie],ee,k,!0),Ie++;else{const Ge=Ie,nt=Ie,ct=new Map;for(Ie=nt;Ie<=ke;Ie++){const Jr=ge[Ie]=Te?Ma(ge[Ie]):wi(ge[Ie]);Jr.key!=null&&ct.set(Jr.key,Ie)}let yt,Qt=0;const Bt=ke-nt+1;let sr=!1,vr=0;const Ct=new Array(Bt);for(Ie=0;Ie=Bt){X(Jr,ee,k,!0);continue}let Gr;if(Jr.key!=null)Gr=ct.get(Jr.key);else for(yt=nt;yt<=ke;yt++)if(Ct[yt-nt]===0&&to(Jr,ge[yt])){Gr=yt;break}Gr===void 0?X(Jr,ee,k,!0):(Ct[Gr-nt]=Ie+1,Gr>=vr?vr=Gr:sr=!0,v(Jr,ge[Gr],xe,null,ee,k,j,J,Te),Qt++)}const Zr=sr?vA(Ct):wc;for(yt=Zr.length-1,Ie=Bt-1;Ie>=0;Ie--){const Jr=nt+Ie,Gr=ge[Jr],un=ge[Jr+1],nn=Jr+1{const{el:k,type:j,transition:J,children:Te,shapeFlag:Ie}=ne;if(Ie&6){Le(ne.component.subTree,ge,xe,He);return}if(Ie&128){ne.suspense.move(ge,xe,He);return}if(Ie&64){j.move(ne,ge,xe,oe);return}if(j===Vr){r(k,ge,xe);for(let de=0;deJ.enter(k),ee);else{const{leave:de,delayLeave:ke,afterLeave:Ge}=J,nt=()=>{ne.ctx.isUnmounted?a(k):r(k,ge,xe)},ct=()=>{de(k,()=>{nt(),Ge&&Ge()})};ke?ke(k,nt,ct):ct()}else r(k,ge,xe)},X=(ne,ge,xe,He=!1,ee=!1)=>{const{type:k,props:j,ref:J,children:Te,dynamicChildren:Ie,shapeFlag:Pe,patchFlag:de,dirs:ke,cacheIndex:Ge}=ne;if(de===-2&&(ee=!1),J!=null&&(Zo(),Pc(J,null,xe,ne,!0),ea()),Ge!=null&&(ge.renderCache[Ge]=void 0),Pe&256){ge.ctx.deactivate(ne);return}const nt=Pe&1&&ke,ct=!ka(ne);let yt;if(ct&&(yt=j&&j.onVnodeBeforeUnmount)&&Ei(yt,ge,ne),Pe&6)Ce(ne.component,xe,He);else{if(Pe&128){ne.suspense.unmount(xe,He);return}nt&&So(ne,null,ge,"beforeUnmount"),Pe&64?ne.type.remove(ne,ge,xe,oe,He):Ie&&!Ie.hasOnce&&(k!==Vr||de>0&&de&64)?Me(Ie,ge,xe,!1,!0):(k===Vr&&de&384||!ee&&Pe&16)&&Me(Te,ge,xe),He&&Q(ne)}(ct&&(yt=j&&j.onVnodeUnmounted)||nt)&&Ns(()=>{yt&&Ei(yt,ge,ne),nt&&So(ne,null,ge,"unmounted")},xe)},Q=ne=>{const{type:ge,el:xe,anchor:He,transition:ee}=ne;if(ge===Vr){fe(xe,He);return}if(ge===Sl){w(ne);return}const k=()=>{a(xe),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(ne.shapeFlag&1&&ee&&!ee.persisted){const{leave:j,delayLeave:J}=ee,Te=()=>j(xe,k);J?J(ne.el,k,Te):Te()}else k()},fe=(ne,ge)=>{let xe;for(;ne!==ge;)xe=d(ne),a(ne),ne=xe;a(ge)},Ce=(ne,ge,xe)=>{const{bum:He,scope:ee,job:k,subTree:j,um:J,m:Te,a:Ie,parent:Pe,slots:{__:de}}=ne;Ap(Te),Ap(Ie),He&&_c(He),Pe&&gr(de)&&de.forEach(ke=>{Pe.renderCache[ke]=void 0}),ee.stop(),k&&(k.flags|=8,X(j,ne,ge,xe)),J&&Ns(J,ge),Ns(()=>{ne.isUnmounted=!0},ge),ge&&ge.pendingBranch&&!ge.isUnmounted&&ne.asyncDep&&!ne.asyncResolved&&ne.suspenseId===ge.pendingId&&(ge.deps--,ge.deps===0&&ge.resolve())},Me=(ne,ge,xe,He=!1,ee=!1,k=0)=>{for(let j=k;j{if(ne.shapeFlag&6)return ue(ne.component.subTree);if(ne.shapeFlag&128)return ne.suspense.next();const ge=d(ne.anchor||ne.el),xe=ge&&ge[_y];return xe?d(xe):ge};let ae=!1;const ce=(ne,ge,xe)=>{ne==null?ge._vnode&&X(ge._vnode,null,null,!0):v(ge._vnode||null,ne,ge,null,null,null,xe),ge._vnode=ne,ae||(ae=!0,Eg(),wp(),ae=!1)},oe={p:v,um:X,m:Le,r:Q,mt:N,mc:O,pc:K,pbc:z,n:ue,o:t};let ie,Se;return e&&([ie,Se]=e(oe)),{render:ce,hydrate:ie,createApp:uA(ce,ie)}}function fd({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 ll({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function a8(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function tm(t,e,n=!1){const r=t.children,a=e.children;if(gr(r)&&gr(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 l8(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:l8(e)}function Ap(t){if(t)for(let e=0;ezn(c8);function Zs(t,e){return Ru(t,null,e)}function yA(t,e){return Ru(t,null,{flush:"post"})}function p8(t,e){return Ru(t,null,{flush:"sync"})}function Lr(t,e,n){return Ru(t,e,n)}function Ru(t,e,n=yn){const{immediate:r,deep:a,flush:i,once:s}=n,o=Kn({},n),l=e&&r||!e&&i!=="post";let p;if(Dc){if(i==="sync"){const m=u8();p=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Yi,m.resume=Yi,m.pause=Yi,m}}const u=Js;o.call=(m,f,v)=>Qi(m,u,f,v);let h=!1;i==="post"?o.scheduler=m=>{Ns(m,u&&u.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(m,f)=>{f?m():H5(m)}),o.augmentJob=m=>{e&&(m.flags|=4),h&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const d=bT(t,e,o);return Dc&&(p?p.push(d):l&&d()),d}function bA(t,e,n){const r=this.proxy,a=ss(t)?t.includes(".")?h8(r,t):()=>r[t]:t.bind(r,r);let i;Dr(e)?i=e:(i=e.handler,n=e);const s=Tl(this),o=Ru(a,i.bind(r),n);return s(),o}function h8(t,e){const n=e.split(".");return()=>{let r=t;for(let a=0;a{let u,h=yn,d;return p8(()=>{const m=t[a];vi(u,m)&&(u=m,p())}),{get(){return l(),n.get?n.get(u):u},set(m){const f=n.set?n.set(m):m;if(!vi(f,u)&&!(h!==yn&&vi(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)||(u=m,p()),r.emit(`update:${e}`,f),vi(m,f)&&vi(m,h)&&!vi(f,d)&&p(),h=m,d=f}}});return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||yn:o,done:!1}:{done:!0}}}},o}const f8=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ti(e)}Modifiers`]||t[`${Ti(e)}Modifiers`];function CA(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||yn;let a=n;const i=e.startsWith("update:"),s=i&&f8(r,e.slice(7));s&&(s.trim&&(a=n.map(u=>ss(u)?u.trim():u)),s.number&&(a=n.map(yp)));let o,l=r[o=B1(e)]||r[o=B1(ti(e))];!l&&i&&(l=r[o=B1(Ti(e))]),l&&Qi(l,t,6,a);const p=r[o+"Once"];if(p){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,Qi(p,t,6,a)}}function d8(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(!Dr(t)){const l=p=>{const u=d8(p,e,!0);u&&(o=!0,Kn(s,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!o?(Rn(t)&&r.set(t,null),null):(gr(i)?i.forEach(l=>s[l]=null):Kn(s,i),Rn(t)&&r.set(t,s),s)}function Ih(t,e){return!t||!Nu(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pn(t,e[0].toLowerCase()+e.slice(1))||Pn(t,Ti(e))||Pn(t,e))}function op(t){const{type:e,vnode:n,proxy:r,withProxy:a,propsOptions:[i],slots:s,attrs:o,emit:l,render:p,renderCache:u,props:h,data:d,setupState:m,ctx:f,inheritAttrs:v}=t,C=cu(t);let S,x;try{if(n.shapeFlag&4){const w=a||r,y=w;S=wi(p.call(y,w,u,h,m,d,f)),x=o}else{const w=e;S=wi(w.length>1?w(h,{attrs:o,slots:s,emit:l}):w(h,null)),x=e.props?o:EA(o)}}catch(w){W1.length=0,kl(w,t,1),S=gt(Ms)}let g=S;if(x&&v!==!1){const w=Object.keys(x),{shapeFlag:y}=g;w.length&&y&7&&(i&&w.some(A5)&&(x=xA(x,i)),g=_o(g,x,!1,!0))}return n.dirs&&(g=_o(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&ra(g,n.transition),S=g,cu(C),S}function SA(t,e=!0){let n;for(let r=0;r{let e;for(const n in t)(n==="class"||n==="style"||Nu(n))&&((e||(e={}))[n]=t[n]);return e},xA=(t,e)=>{const n={};for(const r in t)(!A5(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function wA(t,e,n){const{props:r,children:a,component:i}=t,{props:s,children:o,patchFlag:l}=e,p=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?zg(r,s,p):!!s;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;let f0=0;const TA={name:"Suspense",__isSuspense:!0,process(t,e,n,r,a,i,s,o,l,p){if(t==null)_A(e,n,r,a,i,s,o,l,p);else{if(i&&i.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}MA(t,e,n,r,a,s,o,l,p)}},hydrate:PA,normalize:LA},AA=TA;function pu(t,e){const n=t.props&&t.props[e];Dr(n)&&n()}function _A(t,e,n,r,a,i,s,o,l){const{p,o:{createElement:u}}=l,h=u("div"),d=t.suspense=m8(t,a,r,e,h,n,i,s,o,l);p(null,d.pendingBranch=t.ssContent,h,null,r,d,i,s),d.deps>0?(pu(t,"onPending"),pu(t,"onFallback"),p(null,t.ssFallback,e,n,r,null,i,s),Lc(d,t.ssFallback)):d.resolve(!1,!0)}function MA(t,e,n,r,a,i,s,o,{p:l,um:p,o:{createElement:u}}){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:S}=h;if(v)h.pendingBranch=d,to(d,v)?(l(v,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0?h.resolve():C&&(S||(l(f,m,n,r,a,null,i,s,o),Lc(h,m)))):(h.pendingId=f0++,S?(h.isHydrating=!1,h.activeBranch=v):p(v,a,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("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),Lc(h,m))):f&&to(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&&to(d,f))l(f,d,n,r,a,h,i,s,o),Lc(h,d);else if(pu(e,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=f0++,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 m8(t,e,n,r,a,i,s,o,l,p,u=!1){const{p:h,m:d,um:m,n:f,o:{parentNode:v,remove:C}}=p;let S;const x=OA(t);x&&e&&e.pendingBranch&&(S=e.pendingId,e.deps++);const g=t.props?bp(t.props.timeout):void 0,w=i,y={vnode:t,parent:e,parentComponent:n,namespace:s,container:r,hiddenContainer:a,deps:0,pendingId:f0++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(_=!1,T=!1){const{vnode:O,activeBranch:I,pendingBranch:z,pendingId:q,effects:W,parentComponent:F,container:N}=y;let $=!1;y.isHydrating?y.isHydrating=!1:_||($=I&&z.transition&&z.transition.mode==="out-in",$&&(I.transition.afterLeave=()=>{q===y.pendingId&&(d(z,N,i===w?f(I):i,0),au(W))}),I&&(v(I.el)===N&&(i=f(I)),m(I,F,y,!0)),$||d(z,N,i,0)),Lc(y,z),y.pendingBranch=null,y.isInFallback=!1;let H=y.parent,R=!1;for(;H;){if(H.pendingBranch){H.effects.push(...W),R=!0;break}H=H.parent}!R&&!$&&au(W),y.effects=[],x&&e&&e.pendingBranch&&S===e.pendingId&&(e.deps--,e.deps===0&&!T&&e.resolve()),pu(O,"onResolve")},fallback(_){if(!y.pendingBranch)return;const{vnode:T,activeBranch:O,parentComponent:I,container:z,namespace:q}=y;pu(T,"onFallback");const W=f(O),F=()=>{y.isInFallback&&(h(null,_,z,W,I,null,q,o,l),Lc(y,_))},N=_.transition&&_.transition.mode==="out-in";N&&(O.transition.afterLeave=F),y.isInFallback=!0,m(O,I,null,!0),N||F()},move(_,T,O){y.activeBranch&&d(y.activeBranch,_,T,O),y.container=_},next(){return y.activeBranch&&f(y.activeBranch)},registerDep(_,T,O){const I=!!y.pendingBranch;I&&y.deps++;const z=_.vnode.el;_.asyncDep.catch(q=>{kl(q,_,0)}).then(q=>{if(_.isUnmounted||y.isUnmounted||y.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:W}=_;v0(_,q,!1),z&&(W.el=z);const F=!z&&_.subTree.el;T(_,W,v(z||_.subTree.el),z?null:f(_.subTree),y,s,O),F&&C(F),kh(_,W.el),I&&--y.deps===0&&y.resolve()})},unmount(_,T){y.isUnmounted=!0,y.activeBranch&&m(y.activeBranch,n,_,T),y.pendingBranch&&m(y.pendingBranch,n,_,T)}};return y}function PA(t,e,n,r,a,i,s,o,l){const p=e.suspense=m8(e,r,n,t.parentNode,document.createElement("div"),null,a,i,s,o,!0),u=l(t,p.pendingBranch=e.ssContent,n,p,i,s);return p.deps===0&&p.resolve(!1,!0),u}function LA(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=Ng(r?n.default:n),t.ssFallback=r?Ng(n.fallback):gt(Ms)}function Ng(t){let e;if(Dr(t)){const n=wl&&t._c;n&&(t._d=!1,Je()),t=t(),n&&(t._d=!0,e=ci,v8())}return gr(t)&&(t=SA(t)),t=wi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function g8(t,e){e&&e.pendingBranch?gr(t)?e.effects.push(...t):e.effects.push(t):au(t)}function Lc(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,kh(r,a))}function OA(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Vr=Symbol.for("v-fgt"),za=Symbol.for("v-txt"),Ms=Symbol.for("v-cmt"),Sl=Symbol.for("v-stc"),W1=[];let ci=null;function Je(t=!1){W1.push(ci=t?null:[])}function v8(){W1.pop(),ci=W1[W1.length-1]||null}let wl=1;function d0(t,e=!1){wl+=t,t<0&&ci&&e&&(ci.hasOnce=!0)}function y8(t){return t.dynamicChildren=wl>0?ci||wc:null,v8(),wl>0&&ci&&ci.push(t),t}function lt(t,e,n,r,a,i){return y8(Ze(t,e,n,r,a,i,!0))}function Jt(t,e,n,r,a){return y8(gt(t,e,n,r,a,!0))}function sa(t){return t?t.__v_isVNode===!0:!1}function to(t,e){return t.type===e.type&&t.key===e.key}function IA(t){}const b8=({key:t})=>t??null,ap=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ss(t)||xn(t)||Dr(t)?{i:Qs,r:t,k:e,f:!!n}:t:null);function Ze(t,e=null,n=null,r=0,a=null,i=t===Vr?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&b8(e),ref:e&&ap(e),scopeId:Ah,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:Qs};return o?(rm(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=ss(n)?8:16),wl>0&&!s&&ci&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ci.push(l),l}const gt=kA;function kA(t,e=null,n=null,r=0,a=null,i=!1){if((!t||t===$y)&&(t=Ms),sa(t)){const o=_o(t,e,!0);return n&&rm(o,n),wl>0&&!i&&ci&&(o.shapeFlag&6?ci[ci.indexOf(t)]=o:ci.push(o)),o.patchFlag=-2,o}if(jA(t)&&(t=t.__vccOpts),e){e=ju(e);let{class:o,style:l}=e;o&&!ss(o)&&(e.class=$r(o)),Rn(l)&&(wh(l)&&!gr(l)&&(l=Kn({},l)),e.style=Hs(l))}const s=ss(t)?1:_p(t)?128:My(t)?64:Rn(t)?4:Dr(t)?2:0;return Ze(t,e,n,r,a,s,i,!0)}function ju(t){return t?wh(t)||Qy(t)?Kn({},t):t:null}function _o(t,e,n=!1,r=!1){const{props:a,ref:i,patchFlag:s,children:o,transition:l}=t,p=e?Is(a||{},e):a,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:p,key:p&&b8(p),ref:e&&e.ref?n&&i?gr(i)?i.concat(ap(e)):[i,ap(e)]:ap(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!==Vr?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&&_o(t.ssContent),ssFallback:t.ssFallback&&_o(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&ra(u,l.clone(u)),u}function ln(t=" ",e=0){return gt(za,null,t,e)}function C8(t,e){const n=gt(Sl,null,t);return n.staticCount=e,n}function rr(t="",e=!1){return e?(Je(),Jt(Ms,null,t)):gt(Ms,null,t)}function wi(t){return t==null||typeof t=="boolean"?gt(Ms):gr(t)?gt(Vr,null,t.slice()):sa(t)?Ma(t):gt(za,null,String(t))}function Ma(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:_o(t)}function rm(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(gr(e))n=16;else if(typeof e=="object")if(r&65){const a=e.default;a&&(a._c&&(a._d=!1),rm(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!Qy(e)?e._ctx=Qs:a===3&&Qs&&(Qs.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Dr(e)?(e={default:e,_ctx:Qs},n=32):(e=String(e),r&64?(n=16,e=[ln(e)]):n=8);t.children=e,t.shapeFlag|=n}function Is(...t){const e={};for(let n=0;nJs||Qs;let Mp,m0;{const t=mh(),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)}};Mp=e("__VUE_INSTANCE_SETTERS__",n=>Js=n),m0=e("__VUE_SSR_SETTERS__",n=>Dc=n)}const Tl=t=>{const e=Js;return Mp(t),t.scope.on(),()=>{t.scope.off(),Mp(e)}},g0=()=>{Js&&Js.scope.off(),Mp(null)};function E8(t){return t.vnode.shapeFlag&4}let Dc=!1;function x8(t,e=!1,n=!1){e&&m0(e);const{props:r,children:a}=t.vnode,i=E8(t);pA(t,r,i,e),mA(t,a,n||e);const s=i?VA(t,e):void 0;return e&&m0(!1),s}function VA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,c0);const{setup:r}=n;if(r){Zo();const a=t.setupContext=r.length>1?T8(t):null,i=Tl(t),s=Kc(r,t,0,[t.props,a]),o=M5(s);if(ea(),i(),(o||t.sp)&&!ka(t)&&U5(t),o){if(s.then(g0,g0),e)return s.then(l=>{v0(t,l,e)}).catch(l=>{kl(l,t,0)});t.asyncDep=s}else v0(t,s,e)}else w8(t,e)}function v0(t,e,n){Dr(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Rn(e)&&(t.setupState=V5(e)),w8(t,n)}let Pp,y0;function HA(t){Pp=t,y0=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,GT))}}const DA=()=>!Pp;function w8(t,e,n){const r=t.type;if(!t.render){if(!e&&Pp&&!r.render){const a=r.template||J5(t).template;if(a){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:l}=r,p=Kn(Kn({isCustomElement:i,delimiters:o},s),l);r.render=Pp(a,p)}}t.render=r.render||Yi,y0&&y0(t)}{const a=Tl(t);Zo();try{sA(t)}finally{ea(),a()}}}const RA={get(t,e){return ai(t,"get",""),t[e]}};function T8(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,RA),slots:t.slots,emit:t.emit,expose:e}}function Bu(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(V5(N5(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in q1)return q1[n](t)},has(e,n){return n in e||n in q1}})):t.proxy}function b0(t,e=!0){return Dr(t)?t.displayName||t.name:t.name||e&&t.__name}function jA(t){return Dr(t)&&"__vccOpts"in t}const pt=(t,e)=>mT(t,e,Dc);function Wa(t,e,n){const r=arguments.length;return r===2?Rn(e)&&!gr(e)?sa(e)?gt(t,null,[e]):gt(t,e):gt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sa(n)&&(n=[n]),gt(t,e,n))}function BA(){}function FA(t,e,n,r){const a=n[r];if(a&&A8(a,t))return a;const i=e();return i.memo=t.slice(),i.cacheIndex=r,n[r]=i}function A8(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let r=0;r0&&ci&&ci.push(t),!0}const _8="3.5.18",$A=Yi,UA=wT,qA=gc,WA=Ay,GA={createComponentInstance:S8,setupComponent:x8,renderComponentRoot:op,setCurrentRenderingInstance:cu,isVNode:sa,normalizeVNode:wi,getComponentPublicInstance:Bu,ensureValidVNode:Y5,pushWarningContext:CT,popWarningContext:ST},KA=GA,XA=null,YA=null,JA=null;/** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let C0;const Vg=typeof window<"u"&&window.trustedTypes;if(Vg)try{C0=Vg.createPolicy("vue",{createHTML:t=>t})}catch{}const M8=C0?t=>C0.createHTML(t):t=>t,QA="http://www.w3.org/2000/svg",ZA="http://www.w3.org/1998/Math/MathML",Uo=typeof document<"u"?document:null,Hg=Uo&&Uo.createElement("template"),e_={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"?Uo.createElementNS(QA,t):e==="mathml"?Uo.createElementNS(ZA,t):n?Uo.createElement(t,{is:n}):Uo.createElement(t);return t==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:t=>Uo.createTextNode(t),createComment:t=>Uo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Uo.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{Hg.innerHTML=M8(r==="svg"?`${t}`:r==="mathml"?`${t}`:t);const o=Hg.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]}},ya="transition",M1="animation",Rc=Symbol("_vtc"),P8={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},L8=Kn({},$5,P8),t_=t=>(t.displayName="Transition",t.props=L8,t),zh=t_((t,{slots:e})=>Wa(ky,O8(t),e)),cl=(t,e=[])=>{gr(t)?t.forEach(n=>n(...e)):t&&t(...e)},Dg=t=>t?gr(t)?t.some(e=>e.length>1):t.length>1:!1;function O8(t){const e={};for(const W in t)W in P8||(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:p=s,appearToClass:u=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=t,f=r_(a),v=f&&f[0],C=f&&f[1],{onBeforeEnter:S,onEnter:x,onEnterCancelled:g,onLeave:w,onLeaveCancelled:y,onBeforeAppear:_=S,onAppear:T=x,onAppearCancelled:O=g}=e,I=(W,F,N,$)=>{W._enterCancelled=$,Ca(W,F?u:o),Ca(W,F?p:s),N&&N()},z=(W,F)=>{W._isLeaving=!1,Ca(W,h),Ca(W,m),Ca(W,d),F&&F()},q=W=>(F,N)=>{const $=W?T:x,H=()=>I(F,W,N);cl($,[F,H]),Rg(()=>{Ca(F,W?l:i),yo(F,W?u:o),Dg($)||jg(F,r,v,H)})};return Kn(e,{onBeforeEnter(W){cl(S,[W]),yo(W,i),yo(W,s)},onBeforeAppear(W){cl(_,[W]),yo(W,l),yo(W,p)},onEnter:q(!1),onAppear:q(!0),onLeave(W,F){W._isLeaving=!0;const N=()=>z(W,F);yo(W,h),W._enterCancelled?(yo(W,d),S0()):(S0(),yo(W,d)),Rg(()=>{W._isLeaving&&(Ca(W,h),yo(W,m),Dg(w)||jg(W,r,C,N))}),cl(w,[W,N])},onEnterCancelled(W){I(W,!1,void 0,!0),cl(g,[W])},onAppearCancelled(W){I(W,!0,void 0,!0),cl(O,[W])},onLeaveCancelled(W){z(W),cl(y,[W])}})}function r_(t){if(t==null)return null;if(Rn(t))return[dd(t.enter),dd(t.leave)];{const e=dd(t);return[e,e]}}function dd(t){return bp(t)}function yo(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Rc]||(t[Rc]=new Set)).add(e)}function Ca(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Rc];n&&(n.delete(e),n.size||(t[Rc]=void 0))}function Rg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let n_=0;function jg(t,e,n,r){const a=t._endId=++n_,i=()=>{a===t._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:o,propCount:l}=I8(t,e);if(!s)return r();const p=s+"end";let u=0;const h=()=>{t.removeEventListener(p,d),i()},d=m=>{m.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[f]||"").split(", "),a=r(`${ya}Delay`),i=r(`${ya}Duration`),s=Bg(a,i),o=r(`${M1}Delay`),l=r(`${M1}Duration`),p=Bg(o,l);let u=null,h=0,d=0;e===ya?s>0&&(u=ya,h=s,d=i.length):e===M1?p>0&&(u=M1,h=p,d=l.length):(h=Math.max(s,p),u=h>0?s>p?ya:M1:null,d=u?u===ya?i.length:l.length:0);const m=u===ya&&/\b(transform|all)(,|$)/.test(r(`${ya}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:m}}function Bg(t,e){for(;t.lengthFg(n)+Fg(t[r])))}function Fg(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function S0(){return document.body.offsetHeight}function s_(t,e,n){const r=t[Rc];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Lp=Symbol("_vod"),k8=Symbol("_vsh"),nm={beforeMount(t,{value:e},{transition:n}){t[Lp]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):P1(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),P1(t,!0),r.enter(t)):r.leave(t,()=>{P1(t,!1)}):P1(t,e))},beforeUnmount(t,{value:e}){P1(t,e)}};function P1(t,e){t.style.display=e?t[Lp]:"none",t[k8]=!e}function i_(){nm.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const z8=Symbol("");function o_(t){const e=ws();if(!e)return;const n=e.ut=(a=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>Op(i,a))},r=()=>{const a=t(e.proxy);e.ce?Op(e.ce,a):E0(e.subTree,a),n(a)};W5(()=>{au(r)}),ri(()=>{Lr(r,Yi,{flush:"post"});const a=new MutationObserver(r);a.observe(e.subTree.el.parentNode,{childList:!0}),pi(()=>a.disconnect())})}function E0(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{E0(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Op(t.el,e);else if(t.type===Vr)t.children.forEach(n=>E0(n,e));else if(t.type===Sl){let{el:n,anchor:r}=t;for(;n&&(Op(n,e),n!==r);)n=n.nextSibling}}function Op(t,e){if(t.nodeType===1){const n=t.style;let r="";for(const a in e){const i=Rw(e[a]);n.setProperty(`--${a}`,i),r+=`--${a}: ${i};`}n[z8]=r}}const a_=/(^|;)\s*display\s*:/;function l_(t,e,n){const r=t.style,a=ss(n);let i=!1;if(n&&!a){if(e)if(ss(e))for(const s of e.split(";")){const o=s.slice(0,s.indexOf(":")).trim();n[o]==null&&lp(r,o,"")}else for(const s in e)n[s]==null&&lp(r,s,"");for(const s in n)s==="display"&&(i=!0),lp(r,s,n[s])}else if(a){if(e!==n){const s=r[z8];s&&(n+=";"+s),r.cssText=n,i=a_.test(n)}}else e&&t.removeAttribute("style");Lp in t&&(t[Lp]=i?r.display:"",t[k8]&&(r.display="none"))}const $g=/\s*!important$/;function lp(t,e,n){if(gr(n))n.forEach(r=>lp(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=c_(t,e);$g.test(n)?t.setProperty(Ti(r),n.replace($g,""),"important"):t[r]=n}}const Ug=["Webkit","Moz","ms"],md={};function c_(t,e){const n=md[e];if(n)return n;let r=ti(e);if(r!=="filter"&&r in t)return md[e]=r;r=Vu(r);for(let a=0;agd||(f_.then(()=>gd=0),gd=Date.now());function m_(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Qi(g_(r,n.value),e,5,[r])};return n.value=t,n.attached=d_(),n}function g_(t,e){if(gr(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 Yg=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,v_=(t,e,n,r,a,i)=>{const s=a==="svg";e==="class"?s_(t,r,s):e==="style"?l_(t,n,r):Nu(e)?A5(e)||p_(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):y_(t,e,r,s))?(Gg(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Wg(t,e,r,s,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ss(r))?Gg(t,ti(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Wg(t,e,r,s))};function y_(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Yg(e)&&Dr(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||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 Yg(e)&&ss(n)?!1:e in t}const Jg={};/*! #__NO_SIDE_EFFECTS__ */function N8(t,e,n){const r=lr(t,e);fh(r)&&Kn(r,e);class a extends Nh{constructor(s){super(r,s,n)}}return a.def=r,a}/*! #__NO_SIDE_EFFECTS__ */const b_=(t,e)=>N8(t,e,W8),C_=typeof HTMLElement<"u"?HTMLElement:class{};class Nh extends C_{constructor(e,n={},r=hu){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!==hu?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Nh){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Es(()=>{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&&!gr(i))for(const l in i){const p=i[l];(p===Number||p&&p.type===Number)&&(l in this._props&&(this._props[l]=bp(this._props[l])),(o||(o=Object.create(null)))[ti(l)]=!0)}this._numberProps=o,this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,e(this._def=r,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)Pn(this,r)||Object.defineProperty(this,r,{get:()=>$e(n[r])})}_resolveProps(e){const{props:n}=e,r=gr(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(ti))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):Jg;const a=ti(e);n&&this._numberProps&&this._numberProps[a]&&(r=bp(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===Jg?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(Ti(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ti(e),n+""):n||this.removeAttribute(Ti(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),zp(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=gt(this._def,Kn(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,fh(s[0])?Kn({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{a(i,s),Ti(i)!==i&&a(Ti(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),w_=x_({name:"TransitionGroup",props:Kn({},L8,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=ws(),r=F5();let a,i;return Ph(()=>{if(!a.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!P_(a[0].el,n.vnode.el,s)){a=[];return}a.forEach(A_),a.forEach(__);const o=a.filter(M_);S0(),o.forEach(l=>{const p=l.el,u=p.style;yo(p,s),u.transform=u.webkitTransform=u.transitionDuration="";const h=p[Ip]=d=>{d&&d.target!==p||(!d||/transform$/.test(d.propertyName))&&(p.removeEventListener("transitionend",h),p[Ip]=null,Ca(p,s))};p.addEventListener("transitionend",h)}),a=[]}),()=>{const s=gn(t),o=O8(s);let l=s.tag||Vr;if(a=[],i)for(let p=0;p{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}=I8(r);return i.removeChild(r),s}const Ba=t=>{const e=t.props["onUpdate:modelValue"]||!1;return gr(e)?n=>_c(e,n):e};function L_(t){t.target.composing=!0}function Zg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ji=Symbol("_assign"),kp={created(t,{modifiers:{lazy:e,trim:n,number:r}},a){t[Ji]=Ba(a);const i=r||a.props&&a.props.type==="number";Go(t,e?"change":"input",s=>{if(s.target.composing)return;let o=t.value;n&&(o=o.trim()),i&&(o=yp(o)),t[Ji](o)}),n&&Go(t,"change",()=>{t.value=t.value.trim()}),e||(Go(t,"compositionstart",L_),Go(t,"compositionend",Zg),Go(t,"change",Zg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},s){if(t[Ji]=Ba(s),t.composing)return;const o=(i||t.type==="number")&&!/^0\d/.test(t.value)?yp(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))}},sm={deep:!0,created(t,e,n){t[Ji]=Ba(n),Go(t,"change",()=>{const r=t._modelValue,a=jc(t),i=t.checked,s=t[Ji];if(gr(r)){const o=vh(r,a),l=o!==-1;if(i&&!l)s(r.concat(a));else if(!i&&l){const p=[...r];p.splice(o,1),s(p)}}else if(Ol(r)){const o=new Set(r);i?o.add(a):o.delete(a),s(o)}else s(j8(t,i))})},mounted:e9,beforeUpdate(t,e,n){t[Ji]=Ba(n),e9(t,e,n)}};function e9(t,{value:e,oldValue:n},r){t._modelValue=e;let a;if(gr(e))a=vh(e,r.props.value)>-1;else if(Ol(e))a=e.has(r.props.value);else{if(e===n)return;a=ja(e,j8(t,!0))}t.checked!==a&&(t.checked=a)}const im={created(t,{value:e},n){t.checked=ja(e,n.props.value),t[Ji]=Ba(n),Go(t,"change",()=>{t[Ji](jc(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Ji]=Ba(r),e!==n&&(t.checked=ja(e,r.props.value))}},R8={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const a=Ol(e);Go(t,"change",()=>{const i=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?yp(jc(s)):jc(s));t[Ji](t.multiple?a?new Set(i):i:i[0]),t._assigning=!0,Es(()=>{t._assigning=!1})}),t[Ji]=Ba(r)},mounted(t,{value:e}){t9(t,e)},beforeUpdate(t,e,n){t[Ji]=Ba(n)},updated(t,{value:e}){t._assigning||t9(t,e)}};function t9(t,e){const n=t.multiple,r=gr(e);if(!(n&&!r&&!Ol(e))){for(let a=0,i=t.options.length;aString(p)===String(o)):s.selected=vh(e,o)>-1}else s.selected=e.has(o);else if(ja(jc(s),e)){t.selectedIndex!==a&&(t.selectedIndex=a);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function jc(t){return"_value"in t?t._value:t.value}function j8(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const om={created(t,e,n){B2(t,e,n,null,"created")},mounted(t,e,n){B2(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){B2(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){B2(t,e,n,r,"updated")}};function B8(t,e){switch(t){case"SELECT":return R8;case"TEXTAREA":return kp;default:switch(e){case"checkbox":return sm;case"radio":return im;default:return kp}}}function B2(t,e,n,r,a){const s=B8(t.tagName,n.props&&n.props.type)[a];s&&s(t,e,n,r)}function O_(){kp.getSSRProps=({value:t})=>({value:t}),im.getSSRProps=({value:t},e)=>{if(e.props&&ja(e.props.value,t))return{checked:!0}},sm.getSSRProps=({value:t},e)=>{if(gr(t)){if(e.props&&vh(t,e.props.value)>-1)return{checked:!0}}else if(Ol(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},om.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=B8(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const I_=["ctrl","shift","alt","meta"],k_={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)=>I_.some(n=>t[`${n}Key`]&&!e.includes(n))},ro=(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=Ti(a.key);if(e.some(s=>s===i||z_[s]===i))return t(a)})},$8=Kn({patchProp:v_},e_);let G1,r9=!1;function U8(){return G1||(G1=s8($8))}function q8(){return G1=r9?G1:i8($8),r9=!0,G1}const zp=(...t)=>{U8().render(...t)},N_=(...t)=>{q8().hydrate(...t)},hu=(...t)=>{const e=U8().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=K8(r);if(!a)return;const i=e._component;!Dr(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=n(a,!1,G8(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},e},W8=(...t)=>{const e=q8().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=K8(r);if(a)return n(a,!0,G8(a))},e};function G8(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function K8(t){return ss(t)?document.querySelector(t):t}let n9=!1;const V_=()=>{n9||(n9=!0,O_(),i_())};/** * vue v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const H_=()=>{},D_=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:ky,BaseTransitionPropsValidators:$5,Comment:Ms,DeprecationTypes:JA,EffectScope:L5,ErrorCodes:xT,ErrorTypeStrings:UA,Fragment:Vr,KeepAlive:UT,ReactiveEffect:su,Static:Sl,Suspense:AA,Teleport:B5,Text:za,TrackOpTypes:gT,Transition:zh,TransitionGroup:T_,TriggerOpTypes:vT,VueElement:Nh,assertNumber:ET,callWithAsyncErrorHandling:Qi,callWithErrorHandling:Kc,camelize:ti,capitalize:Vu,cloneVNode:_o,compatUtils:YA,compile:H_,computed:pt,createApp:hu,createBlock:Jt,createCommentVNode:rr,createElementBlock:lt,createElementVNode:Ze,createHydrationRenderer:i8,createPropsRestProxy:rA,createRenderer:s8,createSSRApp:W8,createSlots:X5,createStaticVNode:C8,createTextVNode:ln,createVNode:gt,customRef:Th,defineAsyncComponent:q5,defineComponent:lr,defineCustomElement:N8,defineEmits:XT,defineExpose:YT,defineModel:ZT,defineOptions:JT,defineProps:KT,defineSSRCustomElement:b_,defineSlots:QT,devtools:qA,effect:Fw,effectScope:jw,getCurrentInstance:ws,getCurrentScope:yh,getCurrentWatcher:yT,getTransitionRawChildren:_h,guardReactiveProps:ju,h:Wa,handleError:kl,hasInjectionContext:Q5,hydrate:N_,hydrateOnIdle:HT,hydrateOnInteraction:BT,hydrateOnMediaQuery:jT,hydrateOnVisible:RT,initCustomFormatter:BA,initDirectivesForSSR:V_,inject:zn,isMemoSame:A8,isProxy:wh,isReactive:Ia,isReadonly:ta,isRef:xn,isRuntimeOnly:DA,isShallow:Ni,isVNode:sa,markRaw:N5,mergeDefaults:tA,mergeModels:Hc,mergeProps:Is,nextTick:Es,normalizeClass:$r,normalizeProps:gh,normalizeStyle:Hs,onActivated:Ny,onBeforeMount:Dy,onBeforeUnmount:Xc,onBeforeUpdate:W5,onDeactivated:Vy,onErrorCaptured:Fy,onMounted:ri,onRenderTracked:By,onRenderTriggered:jy,onScopeDispose:O5,onServerPrefetch:Ry,onUnmounted:pi,onUpdated:Ph,onWatcherCleanup:Sy,openBlock:Je,popScopeId:R5,provide:_s,proxyRefs:V5,pushScopeId:D5,queuePostFlushCb:au,reactive:lo,readonly:Il,ref:xt,registerRuntimeCompiler:HA,render:zp,renderList:xs,renderSlot:hn,resolveComponent:na,resolveDirective:Uy,resolveDynamicComponent:Ao,resolveFilter:XA,resolveTransitionHooks:Vc,setBlockTracking:d0,setDevtoolsHook:WA,setTransitionHooks:ra,shallowReactive:Eh,shallowReadonly:Hu,shallowRef:qr,ssrContextKey:c8,ssrUtils:KA,stop:$w,toDisplayString:cn,toHandlerKey:B1,toHandlers:qy,toRaw:gn,toRef:by,toRefs:yy,toValue:Pr,transformVNodeArgs:IA,triggerRef:cT,unref:$e,useAttrs:Wy,useCssModule:E_,useCssVars:o_,useHost:V8,useId:PT,useModel:Oh,useSSRContext:u8,useShadowRoot:S_,useSlots:Lh,useTemplateRef:LT,useTransitionState:F5,vModelCheckbox:sm,vModelDynamic:om,vModelRadio:im,vModelSelect:R8,vModelText:kp,vShow:nm,version:_8,warn:$A,watch:Lr,watchEffect:Zs,watchPostEffect:yA,watchSyncEffect:p8,withAsyncContext:nA,withCtx:zt,withDefaults:eA,withDirectives:Dn,withKeys:F8,withMemo:FA,withModifiers:ro,withScopeId:j5},Symbol.toStringTag,{value:"Module"}));var R_=Object.create,X8=Object.defineProperty,j_=Object.getOwnPropertyDescriptor,Y8=Object.getOwnPropertyNames,B_=Object.getPrototypeOf,F_=Object.prototype.hasOwnProperty,J8=(t,e)=>function(){return e||(0,t[Y8(t)[0]])((e={exports:{}}).exports,e),e.exports},$_=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var a=Y8(e),i=0,s=a.length,o;ie[l]).bind(null,o),enumerable:!(r=j_(e,o))||r.enumerable});return t},U_=(t,e,n)=>(n=t!=null?R_(B_(t)):{},$_(X8(n,"default",{value:t,enumerable:!0}),t));function q_(t){const e=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return e==="index"&&t.__file?.endsWith("index.vue")?"":e}function Q8(t){const e=t.__file;if(e)return nw(iw(e,".vue"))}function W_(t){const e=t.displayName||t.name||t._componentTag;return e||Q8(t)}function s9(t,e){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=e,e}function am(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__}function Z8(t){const e=t.subTree?.type,n=am(t);return n?n?.types?.Fragment===e:!1}function Fu(t){const e=q_(t?.type||{});if(e)return e;if(t?.root===t)return"Root";for(const r in t.parent?.type?.components)if(t.parent.type.components[r]===t?.type)return s9(t,r);for(const r in t.appContext?.components)if(t.appContext.components[r]===t?.type)return s9(t,r);const n=Q8(t?.type||{});return n||"Anonymous Component"}function G_(t){const e=t?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__??0,n=t===t?.root?"root":t.uid;return`${e}:${n}`}function Ga(t){try{return t()}catch(e){return e}}function x0(t,e){return e=e||`${t.id}:root`,t.instanceMap.get(e)||t.instanceMap.get(":root")}function Gi(t,e,n=!1){return n||typeof t=="object"&&t!==null?e in t:!1}function K_(){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}let F2;function X_(t){return F2||(F2=document.createRange()),F2.selectNode(t),F2.getBoundingClientRect()}function Y_(t){const e=K_();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}const i9={top:0,left:0,right:0,bottom:0,width:0,height:0};function Al(t){const e=t.subTree.el;return typeof window>"u"?i9:Z8(t)?Y_(t.subTree):e?.nodeType===1?e?.getBoundingClientRect():t.subTree.component?Al(t.subTree.component):i9}function lm(t){return Z8(t)?Q_(t.subTree):t.subTree?[t.subTree.el]:[]}function Q_(t){if(!t.children)return[];const e=[];return t.children.forEach(n=>{n.component?e.push(...lm(n.component)):n?.el&&e.push(n.el)}),e}const e7="__vue-devtools-component-inspector__",t7="__vue-devtools-component-inspector__card__",r7="__vue-devtools-component-inspector__name__",n7="__vue-devtools-component-inspector__indicator__",s7={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Z_={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)"},eM={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Yc(){return document.getElementById(e7)}function tM(){return document.getElementById(t7)}function rM(){return document.getElementById(n7)}function nM(){return document.getElementById(r7)}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 um(t){const e=document.createElement("div");e.id=t.elementId??e7,Object.assign(e.style,{...s7,...cm(t.bounds),...t.style});const n=document.createElement("span");n.id=t7,Object.assign(n.style,{...Z_,top:t.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=r7,r.innerHTML=`<${t.name}>  `;const a=document.createElement("i");return a.id=n7,a.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(a.style,eM),n.appendChild(r),n.appendChild(a),e.appendChild(n),document.body.appendChild(e),e}function pm(t){const e=Yc(),n=tM(),r=nM(),a=rM();e&&(Object.assign(e.style,{...s7,...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 sM(t){const e=Al(t);if(!e.width&&!e.height)return;const n=Fu(t);Yc()?pm({bounds:e,name:n}):um({bounds:e,name:n})}function i7(){const t=Yc();t&&(t.style.display="none")}let w0=null;function T0(t){const e=t.target;if(e){const n=e.__vueParentComponent;if(n&&(w0=n,n.vnode.el)){const a=Al(n),i=Fu(n);Yc()?pm({bounds:a,name:i}):um({bounds:a,name:i})}}}function iM(t,e){if(t.preventDefault(),t.stopPropagation(),w0){const n=G_(w0);e(n)}}let Np=null;function oM(){i7(),window.removeEventListener("mouseover",T0),window.removeEventListener("click",Np,!0),Np=null}function aM(){return window.addEventListener("mouseover",T0),new Promise(t=>{function e(n){n.preventDefault(),n.stopPropagation(),iM(n,r=>{window.removeEventListener("click",e,!0),Np=null,window.removeEventListener("mouseover",T0);const a=Yc();a&&(a.style.display="none"),t(JSON.stringify({id:r}))})}Np=e,window.addEventListener("click",e,!0)})}function lM(t){const e=x0(Fs.value,t.id);if(e){const[n]=lm(e);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Al(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=Al(e);if(r.width||r.height){const a=Fu(e),i=Yc();i?pm({...t,name:a,bounds:r}):um({...t,name:a,bounds:r}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}qt.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??=!0;function cM(t){let e=0;const n=setInterval(()=>{qt.__VUE_INSPECTOR__&&(clearInterval(n),e+=30,t()),e>=5e3&&clearInterval(n)},30)}function uM(){const t=qt.__VUE_INSPECTOR__,e=t.openInEditor;t.openInEditor=async(...n)=>{t.disable(),e(...n)}}function pM(){return new Promise(t=>{function e(){uM(),t(qt.__VUE_INSPECTOR__)}qt.__VUE_INSPECTOR__?e():cM(()=>{e()})})}let Vp=(function(t){return t.SKIP="__v_skip",t.IS_REACTIVE="__v_isReactive",t.IS_READONLY="__v_isReadonly",t.IS_SHALLOW="__v_isShallow",t.RAW="__v_raw",t})({});function hM(t){return!!(t&&t[Vp.IS_READONLY])}function o7(t){return hM(t)?o7(t[Vp.RAW]):!!(t&&t[Vp.IS_REACTIVE])}function vd(t){return!!(t&&t.__v_isRef===!0)}function R1(t){const e=t&&t[Vp.RAW];return e?R1(e):t}var fM=class{refEditor=new dM;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):R1(e)instanceof Map?e.delete(n):R1(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):R1(e)instanceof Map?e.set(t.newKey||n,r):R1(e)instanceof Set?e.add(r):e[t.newKey||n]=r}}}},dM=class{set(t,e){if(vd(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 vd(t)?t.value:t}isRef(t){return vd(t)||o7(t)}};const a7="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function mM(t){!zu||typeof localStorage>"u"||localStorage===null||localStorage.setItem(a7,JSON.stringify(t))}function gM(){if(!zu||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=localStorage.getItem(a7);return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}qt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??=[];const l7=new Proxy(qt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(t,e,n){return Reflect.get(t,e,n)}});function vM(t,e){ks.timelineLayersState[e.id]=!1,l7.push({...t,descriptorId:e.id,appRecord:am(e.app)})}function yM(t){const e={...ks.timelineLayersState,...t};mM(e),u7({timelineLayersState:e})}qt.__VUE_DEVTOOLS_KIT_INSPECTOR__??=[];const hm=new Proxy(qt.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(t,e,n){return Reflect.get(t,e,n)}}),c7=xl(()=>{Fa.hooks.callHook(xi.SEND_INSPECTOR_TO_CLIENT,fm())});function bM(t,e){hm.push({options:t,descriptor:e,treeFilterPlaceholder:t.treeFilterPlaceholder??"Search tree...",stateFilterPlaceholder:t.stateFilterPlaceholder??"Search state...",treeFilter:"",selectedNodeId:"",appRecord:am(e.app)}),c7()}function fm(){return hm.filter(t=>t.descriptor.app===Fs.value.app).filter(t=>t.descriptor.id!=="components").map(t=>{const e=t.descriptor,n=t.options;return{id:n.id,label:n.label,logo:e.logo,icon:`custom-ic-baseline-${n?.icon?.replace(/_/g,"-")}`,packageName:e.packageName,homepage:e.homepage,pluginId:e.id}})}function CM(t){const e=Na(t,Fs.value.app);if(!e)return;const n=e.descriptor,r=e.options,a=l7.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 Na(t,e){return hm.find(n=>n.options.id===t&&(e?n.descriptor.app===e:!0))}function o9(t){return Na(t)?.options.actions}function a9(t){return Na(t)?.options.nodeActions}let oi=(function(t){return t.VISIT_COMPONENT_TREE="visitComponentTree",t.INSPECT_COMPONENT="inspectComponent",t.EDIT_COMPONENT_STATE="editComponentState",t.GET_INSPECTOR_TREE="getInspectorTree",t.GET_INSPECTOR_STATE="getInspectorState",t.EDIT_INSPECTOR_STATE="editInspectorState",t.INSPECT_TIMELINE_EVENT="inspectTimelineEvent",t.TIMELINE_CLEARED="timelineCleared",t.SET_PLUGIN_SETTINGS="setPluginSettings",t})({}),ns=(function(t){return 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})({}),xi=(function(t){return 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})({});function SM(){const t=Y6();t.hook(ns.ADD_INSPECTOR,({inspector:r,plugin:a})=>{bM(r,a.descriptor)});const e=xl(async({inspectorId:r,plugin:a})=>{if(!r||!a?.descriptor?.app||ks.highPerfModeEnabled)return;const i=Na(r,a.descriptor.app),s={app:a.descriptor.app,inspectorId:r,filter:i?.treeFilter||"",rootNodes:[]};await new Promise(o=>{t.callHookWith(async l=>{await Promise.all(l.map(p=>p(s))),o()},oi.GET_INSPECTOR_TREE)}),t.callHookWith(async o=>{await Promise.all(o.map(l=>l({inspectorId:r,rootNodes:s.rootNodes})))},xi.SEND_INSPECTOR_TREE_TO_CLIENT)},120);t.hook(ns.SEND_INSPECTOR_TREE,e);const n=xl(async({inspectorId:r,plugin:a})=>{if(!r||!a?.descriptor?.app||ks.highPerfModeEnabled)return;const i=Na(r,a.descriptor.app),s={app:a.descriptor.app,inspectorId:r,nodeId:i?.selectedNodeId||"",state:null},o={currentTab:`custom-inspector:${r}`};s.nodeId&&await new Promise(l=>{t.callHookWith(async p=>{await Promise.all(p.map(u=>u(s,o))),l()},oi.GET_INSPECTOR_STATE)}),t.callHookWith(async l=>{await Promise.all(l.map(p=>p({inspectorId:r,nodeId:s.nodeId,state:s.state})))},xi.SEND_INSPECTOR_STATE_TO_CLIENT)},120);return t.hook(ns.SEND_INSPECTOR_STATE,n),t.hook(ns.CUSTOM_INSPECTOR_SELECT_NODE,({inspectorId:r,nodeId:a,plugin:i})=>{const s=Na(r,i.descriptor.app);s&&(s.selectedNodeId=a)}),t.hook(ns.TIMELINE_LAYER_ADDED,({options:r,plugin:a})=>{vM(r,a.descriptor)}),t.hook(ns.TIMELINE_EVENT_ADDED,({options:r,plugin:a})=>{const i=["performance","component-event","keyboard","mouse"];ks.highPerfModeEnabled||!ks.timelineLayersState?.[a.descriptor.id]&&!i.includes(r.layerId)||t.callHookWith(async s=>{await Promise.all(s.map(o=>o(r)))},xi.SEND_TIMELINE_EVENT_TO_CLIENT)}),t.hook(ns.GET_COMPONENT_INSTANCES,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(ns.GET_COMPONENT_BOUNDS,async({instance:r})=>Al(r)),t.hook(ns.GET_COMPONENT_NAME,({instance:r})=>Fu(r)),t.hook(ns.COMPONENT_HIGHLIGHT,({uid:r})=>{const a=Fs.value.instanceMap.get(r);a&&sM(a)}),t.hook(ns.COMPONENT_UNHIGHLIGHT,()=>{i7()}),t}qt.__VUE_DEVTOOLS_KIT_APP_RECORDS__??=[];qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??={};qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??="";qt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??=[];qt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??=[];const Ko="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function EM(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:gM()}}qt[Ko]??=EM();const xM=xl(t=>{Fa.hooks.callHook(xi.DEVTOOLS_STATE_UPDATED,{state:t})}),wM=xl((t,e)=>{Fa.hooks.callHook(xi.DEVTOOLS_CONNECTED_UPDATED,{state:t,oldState:e})}),$u=new Proxy(qt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(t,e,n){return e==="value"?qt.__VUE_DEVTOOLS_KIT_APP_RECORDS__:qt.__VUE_DEVTOOLS_KIT_APP_RECORDS__[e]}}),Fs=new Proxy(qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(t,e,n){return e==="value"?qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:e==="id"?qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[e]}});function dm(){xM({...qt[Ko],appRecords:$u.value,activeAppRecordId:Fs.id,tabs:qt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:qt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function TM(t){qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=t,dm()}function AM(t){qt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,dm()}const ks=new Proxy(qt[Ko],{get(t,e){return e==="appRecords"?$u:e==="activeAppRecordId"?Fs.id:e==="tabs"?qt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:e==="commands"?qt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:qt[Ko][e]},deleteProperty(t,e){return delete t[e],!0},set(t,e,n){return{...qt[Ko]},t[e]=n,qt[Ko][e]=n,!0}});function u7(t){const e={...qt[Ko],appRecords:$u.value,activeAppRecordId:Fs.id};(e.connected!==t.connected&&t.connected||e.clientConnected!==t.clientConnected&&t.clientConnected)&&wM(qt[Ko],e),Object.assign(qt[Ko],t),dm()}function _M(t){u7({clientConnected:t})}function MM(t={}){const{file:e,host:n,baseUrl:r=window.location.origin,line:a=0,column:i=0}=t;if(e){if(n==="chrome-extension"){const s=e.replace(/\\/g,"\\\\"),o=window.VUE_DEVTOOLS_CONFIG?.openInEditorHost??"/";fetch(`${o}__open-in-editor?file=${encodeURI(e)}`).then(l=>{if(!l.ok){const p=`Opening component ${s} failed`;console.log(`%c${p}`,"color:red")}})}else if(ks.vitePluginDetected){const s=qt.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__??r;qt.__VUE_INSPECTOR__.openInEditor(s,e,a,i)}}}qt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??=[];const mm=new Proxy(qt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(t,e,n){return Reflect.get(t,e,n)}});function A0(t){const e={};return Object.keys(t).forEach(n=>{e[n]=t[n].defaultValue}),e}function gm(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function PM(t){return(mm.find(n=>n[0].id===t&&!!n[0]?.settings)?.[0]??null)?.settings??null}function p7(t,e){const n=gm(t);if(n){const r=localStorage.getItem(n);if(r)return JSON.parse(r)}if(t){const r=mm.find(a=>a[0].id===t)?.[0]??null;return A0(r?.settings??{})}return A0(e)}function LM(t,e){const n=gm(t);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(A0(e)))}function OM(t,e,n){const r=gm(t),a=localStorage.getItem(r),i=JSON.parse(a||"{}"),s={...i,[e]:n};localStorage.setItem(r,JSON.stringify(s)),Fa.hooks.callHookWith(o=>{o.forEach(l=>l({pluginId:t,key:e,oldValue:i[e],newValue:n,settings:s}))},oi.SET_PLUGIN_SETTINGS)}let $i=(function(t){return t.APP_INIT="app:init",t.APP_UNMOUNT="app:unmount",t.COMPONENT_UPDATED="component:updated",t.COMPONENT_ADDED="component:added",t.COMPONENT_REMOVED="component:removed",t.COMPONENT_EMIT="component:emit",t.PERFORMANCE_START="perf:start",t.PERFORMANCE_END="perf:end",t.ADD_ROUTE="router:add-route",t.REMOVE_ROUTE="router:remove-route",t.RENDER_TRACKED="render:tracked",t.RENDER_TRIGGERED="render:triggered",t.APP_CONNECTED="app:connected",t.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",t})({});const Ui=qt.__VUE_DEVTOOLS_HOOK??=Y6(),IM={vueAppInit(t){Ui.hook($i.APP_INIT,t)},vueAppUnmount(t){Ui.hook($i.APP_UNMOUNT,t)},vueAppConnected(t){Ui.hook($i.APP_CONNECTED,t)},componentAdded(t){return Ui.hook($i.COMPONENT_ADDED,t)},componentEmit(t){return Ui.hook($i.COMPONENT_EMIT,t)},componentUpdated(t){return Ui.hook($i.COMPONENT_UPDATED,t)},componentRemoved(t){return Ui.hook($i.COMPONENT_REMOVED,t)},setupDevtoolsPlugin(t){Ui.hook($i.SETUP_DEVTOOLS_PLUGIN,t)},perfStart(t){return Ui.hook($i.PERFORMANCE_START,t)},perfEnd(t){return Ui.hook($i.PERFORMANCE_END,t)}},kM={on:IM};var zM=class{plugin;hooks;constructor({plugin:t,ctx:e}){this.hooks=e.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook(oi.VISIT_COMPONENT_TREE,t)},inspectComponent:t=>{this.hooks.hook(oi.INSPECT_COMPONENT,t)},editComponentState:t=>{this.hooks.hook(oi.EDIT_COMPONENT_STATE,t)},getInspectorTree:t=>{this.hooks.hook(oi.GET_INSPECTOR_TREE,t)},getInspectorState:t=>{this.hooks.hook(oi.GET_INSPECTOR_STATE,t)},editInspectorState:t=>{this.hooks.hook(oi.EDIT_INSPECTOR_STATE,t)},inspectTimelineEvent:t=>{this.hooks.hook(oi.INSPECT_TIMELINE_EVENT,t)},timelineCleared:t=>{this.hooks.hook(oi.TIMELINE_CLEARED,t)},setPluginSettings:t=>{this.hooks.hook(oi.SET_PLUGIN_SETTINGS,t)}}}notifyComponentUpdate(t){if(ks.highPerfModeEnabled)return;const e=fm().find(n=>n.packageName===this.plugin.descriptor.packageName);if(e?.id){if(t){const n=[t.appContext.app,t.uid,t.parent?.uid,t];Ui.callHook($i.COMPONENT_UPDATED,...n)}else Ui.callHook($i.COMPONENT_UPDATED);this.hooks.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:e.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook(ns.ADD_INSPECTOR,{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&LM(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){ks.highPerfModeEnabled||this.hooks.callHook(ns.SEND_INSPECTOR_TREE,{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){ks.highPerfModeEnabled||this.hooks.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,e){this.hooks.callHook(ns.CUSTOM_INSPECTOR_SELECT_NODE,{inspectorId:t,nodeId:e,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook(oi.VISIT_COMPONENT_TREE,t)}now(){return ks.highPerfModeEnabled?0:Date.now()}addTimelineLayer(t){this.hooks.callHook(ns.TIMELINE_LAYER_ADDED,{options:t,plugin:this.plugin})}addTimelineEvent(t){ks.highPerfModeEnabled||this.hooks.callHook(ns.TIMELINE_EVENT_ADDED,{options:t,plugin:this.plugin})}getSettings(t){return p7(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook(ns.GET_COMPONENT_INSTANCES,{app:t})}getComponentBounds(t){return this.hooks.callHook(ns.GET_COMPONENT_BOUNDS,{instance:t})}getComponentName(t){return this.hooks.callHook(ns.GET_COMPONENT_NAME,{instance:t})}highlightElement(t){const e=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook(ns.COMPONENT_HIGHLIGHT,{uid:e})}unhighlightElement(){return this.hooks.callHook(ns.COMPONENT_UNHIGHLIGHT)}};const NM=zM,VM=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"]),l9=/^\[native Symbol Symbol\((.*)\)\]$/,HM=/^\[object (\w+)\]$/,Hp=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,DM=/^(?:function|class) (\w+)/,c9=1e4,u9=5e3,Jc="__vue_devtool_undefined__",Uu="__vue_devtool_infinity__",qu="__vue_devtool_negative_infinity__",Wu="__vue_devtool_nan__",RM={"<":"<",">":">",'"':""","&":"&"};function h7(t){return!Gi(t,"_")||!Vh(t._)?!1:Object.keys(t._).includes("vnode")}function Vh(t){return Object.prototype.toString.call(t)==="[object Object]"}function jM(t){if(t==null)return!0;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}function f7(t){return!!t.__v_isRef}function BM(t){return f7(t)&&!!t.effect}function FM(t){return!!t.__v_isReactive}function $M(t){return!!t.__v_isReadonly}const Dp={[Jc]:"undefined",[Wu]:"NaN",[Uu]:"Infinity",[qu]:"-Infinity"},yd=Object.entries(Dp).reduce((t,[e,n])=>(t[n]=e,t),{});function UM(t){return t===null?"null":typeof t=="string"&&Dp[t]||!1}function qM(t){const e=new RegExp(`"(${Object.keys(Dp).join("|")})"`,"g");return t.replace(e,(n,r)=>Dp[r])}function WM(t){const e=yd[t.trim()];if(e)return`"${e}"`;const n=new RegExp(`:\\s*(${Object.keys(yd).join("|")})`,"g");return t.replace(n,(r,a)=>`:"${yd[a]}"`)}function d7(t){if(Array.isArray(t))return t.map(n=>d7(n)).join(" or ");if(t==null)return"null";const e=t.toString().match(DM);return typeof t=="function"&&e&&e[1]||"any"}function GM(t){return!jM(t)&&!Array.isArray(t)&&!Vh(t)?Object.prototype.toString.call(t):t}function m7(t){try{return{ref:f7(t),computed:BM(t),reactive:FM(t),readonly:$M(t)}}catch{return{ref:!1,computed:!1,reactive:!1,readonly:!1}}}function g7(t){return t?.__v_raw?t.__v_raw:t}function Hh(t){return t.replace(/[<>"&]/g,e=>RM[e]||e)}function Rp(t,e,n){if(typeof e=="function"&&(e=e.options),!e)return t;const{mixins:r,extends:a}=e;a&&Rp(t,a),r&&r.forEach(i=>Rp(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 KM(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=>Rp(i,s)),Rp(i,e),i}function XM(t){const e=[],n=t?.type?.props;for(const r in t?.props){const a=n?n[r]:null,i=sw(r);e.push({type:"props",key:i,value:Ga(()=>t.props[r]),editable:!0,meta:a?{type:a.type?d7(a.type):"any",required:!!a.required,...a.default?{default:a.default.toString()}:{}}:{type:"invalid"}})}return e}function YM(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:Ga(()=>i[s]),editable:!0}))}function JM(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 QM(t){const e=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(n=>!VM.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{const r=Ga(()=>g7(t.setupState[n])),a=r instanceof Error,i=e[n];let s,o=a||typeof r=="function"||Gi(r,"render")&&typeof r.render=="function"||Gi(r,"__asyncLoader")&&typeof r.__asyncLoader=="function"||typeof r=="object"&&r&&("setup"in r||"props"in r)||/^v[A-Z]/.test(n);if(i&&!a){const p=m7(i),{stateType:u,stateTypeName:h}=JM(p),d=p.ref||p.computed||p.reactive,m=Gi(i,"effect")?i.effect?.raw?.toString()||i.effect?.fn?.toString():null;u&&(o=!1),s={...u?{stateType:u,stateTypeName:h}:{},...m?{raw:m}:{},editable:d&&!p.readonly}}return{key:n,value:r,type:o?"setup (other)":"setup",...s}})}function ZM(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:Ga(()=>t?.proxy?.[i]),editable:typeof s.set=="function"})}return r}function eP(t){return Object.keys(t.attrs).map(e=>({type:"attrs",key:e,value:Ga(()=>t.attrs[e])}))}function tP(t){return Reflect.ownKeys(t.provides).map(e=>({type:"provided",key:e.toString(),value:Ga(()=>t.provides[e])}))}function rP(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:Ga(()=>t.ctx.hasOwnProperty(a)?t.ctx[a]:t.provides.hasOwnProperty(i)?t.provides[i]:r)}))}function nP(t){return Object.keys(t.refs).map(e=>({type:"template refs",key:e,value:Ga(()=>t.refs[e])}))}function sP(t){const e=t.type.emits,n=Array.isArray(e)?e:Object.keys(e??{}),r=Object.keys(t?.vnode?.props??{}),a=[];for(const i of r){const[s,...o]=i.split(/(?=[A-Z])/);if(s==="on"){const l=o.join("-").toLowerCase(),p=n.includes(l);a.push({type:"event listeners",key:l,value:{_custom:{displayText:p?"✅ Declared":"⚠️ Not declared",key:p?"✅ Declared":"⚠️ Not declared",value:p?"✅ Declared":"⚠️ Not declared",tooltipText:p?null:`The event ${l} is not declared in the emits option. It will leak into the component's attributes ($attrs).`}}})}}return a}function iP(t){const e=KM(t);return XM(t).concat(YM(t),QM(t),ZM(t,e),eP(t),tP(t),rP(t,e),nP(t),sP(t))}qt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??=new Set;function oP(t,e){const[n,r]=t;if(n.app!==e)return;const a=new NM({plugin:{setupFn:r,descriptor:n},ctx:Fa});n.packageName==="vuex"&&a.on.editInspectorState(i=>{a.sendInspectorState(i.inspectorId)}),r(a)}function v7(t,e){qt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||ks.highPerfModeEnabled&&!e?.inspectingComponent||(qt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),mm.forEach(n=>{oP(n,t)}))}const jp="__VUE_DEVTOOLS_ROUTER__",fu="__VUE_DEVTOOLS_ROUTER_INFO__";qt[fu]??={currentRoute:null,routes:[]};qt[jp]??={};const aP=new Proxy(qt[fu],{get(t,e){return qt[fu][e]}}),p9=new Proxy(qt[jp],{get(t,e){if(e==="value")return qt[jp]}});function lP(t){const e=new Map;return(t?.getRoutes()||[]).filter(n=>!e.has(n.path)&&e.set(n.path,1))}function vm(t){return t.map(e=>{let{path:n,name:r,children:a,meta:i}=e;return a?.length&&(a=vm(a)),{path:n,name:r,children:a,meta:i}})}function cP(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:vm(s)}}return t}function uP(t,e){function n(){const r=t.app?.config.globalProperties.$router,a=cP(r?.currentRoute.value),i=vm(lP(r)),s=console.warn;console.warn=()=>{},qt[fu]={currentRoute:a?t0(a):{},routes:t0(i)},qt[jp]=r,console.warn=s}n(),kM.on.componentUpdated(xl(()=>{e.value?.app===t.app&&(n(),!ks.highPerfModeEnabled&&Fa.hooks.callHook(xi.ROUTER_INFO_UPDATED,{state:qt[fu]}))},200))}function pP(t){return{async getInspectorTree(e){const n={...e,app:Fs.value.app,rootNodes:[]};return await new Promise(r=>{t.callHookWith(async a=>{await Promise.all(a.map(i=>i(n))),r()},oi.GET_INSPECTOR_TREE)}),n.rootNodes},async getInspectorState(e){const n={...e,app:Fs.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()},oi.GET_INSPECTOR_STATE)}),n.state},editInspectorState(e){const n=new fM,r={...e,app:Fs.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))},oi.EDIT_INSPECTOR_STATE)},sendInspectorState(e){const n=Na(e);t.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:e,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return aM()},cancelInspectComponentInspector(){return oM()},getComponentRenderCode(e){const n=x0(Fs.value,e);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(e){return lM({id:e})},openInEditor:MM,getVueInspector:pM,toggleApp(e,n){const r=$u.value.find(a=>a.id===e);r&&(AM(e),TM(r),uP(r,Fs),c7(),v7(r.app,n))},inspectDOM(e){const n=x0(Fs.value,e);if(n){const[r]=lm(n);r&&(qt.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(e,n,r){OM(e,n,r)},getPluginSettings(e){return{options:PM(e),values:p7(e)}}}}qt.__VUE_DEVTOOLS_ENV__??={vitePluginDetected:!1};const h9=SM();qt.__VUE_DEVTOOLS_KIT_CONTEXT__??={hooks:h9,get state(){return{...ks,activeAppRecordId:Fs.id,activeAppRecord:Fs.value,appRecords:$u.value}},api:pP(h9)};const Fa=qt.__VUE_DEVTOOLS_KIT_CONTEXT__;var hP=J8({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js":((t,e)=>{(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(""),p=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),h=function(C,S){var x="-",g="",w="",y=!0,_={},T,O,I,z,q,W,F,N,$,H,R,K,se,he,Le="";if(typeof C!="string")return"";if(typeof S=="string"&&(x=S),F=o.en,N=s.en,typeof S=="object"){T=S.maintainCase||!1,_=S.custom&&typeof S.custom=="object"?S.custom:_,I=+S.truncate>1&&S.truncate||!1,z=S.uric||!1,q=S.uricNoSlash||!1,W=S.mark||!1,y=!(S.symbols===!1||S.lang===!1),x=S.separator||x,z&&(Le+=l),q&&(Le+=p),W&&(Le+=u),F=S.lang&&o[S.lang]&&y?o[S.lang]:y?o.en:{},N=S.lang&&s[S.lang]?s[S.lang]:S.lang===!1||S.lang===!0?{}:s.en,S.titleCase&&typeof S.titleCase.length=="number"&&Array.prototype.toString.call(S.titleCase)?(S.titleCase.forEach(function(X){_[X+""]=X+""}),O=!0):O=!!S.titleCase,S.custom&&typeof S.custom.length=="number"&&Array.prototype.toString.call(S.custom)&&S.custom.forEach(function(X){_[X+""]=X+""}),Object.keys(_).forEach(function(X){var Q;X.length>1?Q=new RegExp("\\b"+m(X)+"\\b","gi"):Q=new RegExp(m(X),"gi"),C=C.replace(Q,_[X])});for(R in _)Le+=R}for(Le+=x,Le=m(Le),C=C.replace(/(^\s+|\s+$)/g,""),se=!1,he=!1,H=0,K=C.length;H=0?(w+=R,R=""):he===!0?(R=i[w]+r[R],w=""):R=se&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],se=!1,he=!1):R in i?(w+=R,R="",H===K-1&&(R=i[w]),he=!0):F[R]&&!(z&&l.indexOf(R)!==-1)&&!(q&&p.indexOf(R)!==-1)?(R=se||g.substr(-1).match(/[A-Za-z0-9]/)?x+F[R]:F[R],R+=C[H+1]!==void 0&&C[H+1].match(/[A-Za-z0-9]/)?x:"",se=!0):(he===!0?(R=i[w]+R,w="",he=!1):se&&(/[A-Za-z0-9]/.test(R)||g.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),se=!1),g+=R.replace(new RegExp("[^\\w\\s"+Le+"_-]","g"),x);return O&&(g=g.replace(/(\w)(\S*)/g,function(X,Q,fe){var Ce=Q.toUpperCase()+(fe!==null?fe:"");return Object.keys(_).indexOf(Ce.toLowerCase())<0?Ce:Ce.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 S in C)if(C[S]===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)})}),fP=J8({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js":((t,e)=>{e.exports=hP()})});fP();qt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__??={id:0,appIds:new Set};function dP(t){ks.highPerfModeEnabled=t??!ks.highPerfModeEnabled,!t&&Fs.value&&v7(Fs.value.app)}function mP(t){const e=new Set,n=t._custom.value;for(let r=0;r"${r?.string?`${L1(t)}`:L1(t)}"`:t=r?.string?`${L1(t)}`:L1(t)}return t}function L1(t){return Hh(t).replace(/ /g," ").replace(/\n/g,"\\n")}function ym(t){let e;const n=du(t)==="custom";let r={};if(n){const a=t,i=a._custom?.value,s=a._custom?.type,o=typeof i=="object"&&i!==null&&"_custom"in i?ym(i):{inherit:void 0,value:void 0,customType:void 0};r=o.inherit||a._custom?.fields||{},t=o.value||i,e=o.customType||s}return t&&t._isArray&&(t=t.items),{value:t,inherit:r,customType:e}}function vP(t,e){return e==="bigint"||e==="date"?t:qM(JSON.stringify(t))}function cp(t,e){return e==="bigint"?BigInt(t):e==="date"?new Date(t):JSON.parse(WM(t),y7)}function C7(t){ks.devtoolsClientDetected={...ks.devtoolsClientDetected,...t};const e=Object.values(ks.devtoolsClientDetected).some(Boolean);dP(!e)}qt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??=C7;var yP=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()}},S7=class{constructor(e){this.generateIdentifier=e,this.kv=new yP}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)}},bP=class extends S7{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)}};function CP(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 SP(t,e){const n=CP(t);if("find"in n)return n.find(e);const r=n;for(let a=0;ae(r,n))}function up(t,e){return t.indexOf(e)!==-1}function f9(t,e){for(let n=0;ne.isApplicable(t))}findByName(t){return this.transfomers[t]}};const xP=t=>Object.prototype.toString.call(t).slice(8,-1),E7=t=>typeof t>"u",wP=t=>t===null,mu=t=>typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype,_0=t=>mu(t)&&Object.keys(t).length===0,$a=t=>Array.isArray(t),TP=t=>typeof t=="string",AP=t=>typeof t=="number"&&!isNaN(t),_P=t=>typeof t=="boolean",MP=t=>t instanceof RegExp,gu=t=>t instanceof Map,vu=t=>t instanceof Set,x7=t=>xP(t)==="Symbol",PP=t=>t instanceof Date&&!isNaN(t.valueOf()),LP=t=>t instanceof Error,d9=t=>typeof t=="number"&&isNaN(t),OP=t=>_P(t)||wP(t)||E7(t)||AP(t)||TP(t)||x7(t),IP=t=>typeof t=="bigint",kP=t=>t===1/0||t===-1/0,zP=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),NP=t=>t instanceof URL,w7=t=>t.replace(/\./g,"\\."),bd=t=>t.map(String).map(w7).join("."),K1=t=>{const e=[];let n="";for(let a=0;anull,()=>{}),vo(IP,"bigint",t=>t.toString(),t=>typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),vo(PP,"Date",t=>t.toISOString(),t=>new Date(t)),vo(LP,"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}),vo(MP,"regexp",t=>""+t,t=>{const e=t.slice(1,t.lastIndexOf("/")),n=t.slice(t.lastIndexOf("/")+1);return new RegExp(e,n)}),vo(vu,"set",t=>[...t.values()],t=>new Set(t)),vo(gu,"map",t=>[...t.entries()],t=>new Map(t)),vo(t=>d9(t)||kP(t),"number",t=>d9(t)?"NaN":t>0?"Infinity":"-Infinity",Number),vo(t=>t===0&&1/t===-1/0,"number",()=>"-0",Number),vo(NP,"URL",t=>t.toString(),t=>new URL(t))];function Rh(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}const A7=Rh((t,e)=>x7(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}),VP=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,e)=>(t[e.name]=e,t),{}),_7=Rh(zP,t=>["typed-array",t.constructor.name],t=>[...t],(t,e)=>{const n=VP[e[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(t)});function M7(t,e){return t?.constructor?!!e.classRegistry.getIdentifier(t.constructor):!1}const P7=Rh(M7,(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)}),L7=Rh((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)}),HP=[P7,A7,L7,_7],m9=(t,e)=>{const n=f9(HP,a=>a.isApplicable(t,e));if(n)return{value:n.transform(t,e),type:n.annotation(t,e)};const r=f9(T7,a=>a.isApplicable(t,e));if(r)return{value:r.transform(t,e),type:r.annotation}},O7={};T7.forEach(t=>{O7[t.annotation]=t});const DP=(t,e,n)=>{if($a(e))switch(e[0]){case"symbol":return A7.untransform(t,e,n);case"class":return P7.untransform(t,e,n);case"custom":return L7.untransform(t,e,n);case"typed-array":return _7.untransform(t,e,n);default:throw new Error("Unknown transformation: "+e)}else{const r=O7[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(t,n)}},Ec=(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 I7(t){if(up(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(up(t,"prototype"))throw new Error("prototype is not allowed as a property");if(up(t,"constructor"))throw new Error("constructor is not allowed as a property")}const RP=(t,e)=>{I7(e);for(let n=0;n{if(I7(e),e.length===0)return n(t);let r=t;for(let i=0;iP0(i,e,[...n,...K1(s)]));return}const[r,a]=t;a&&Bc(a,(i,s)=>{P0(i,e,[...n,...K1(s)])}),e(r,n)}function jP(t,e,n){return P0(e,(r,a)=>{t=M0(t,a,i=>DP(i,r,n))}),t}function BP(t,e){function n(r,a){const i=RP(t,K1(a));r.map(K1).forEach(s=>{t=M0(t,s,()=>i)})}if($a(e)){const[r,a]=e;r.forEach(i=>{t=M0(t,K1(i),()=>t)}),a&&Bc(a,n)}else Bc(e,n);return t}const FP=(t,e)=>mu(t)||$a(t)||gu(t)||vu(t)||M7(t,e);function $P(t,e,n){const r=n.get(t);r?r.push(e):n.set(t,[e])}function UP(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(bd):n[bd(i)]=s.map(bd)}),r?_0(n)?[r]:[r,n]:_0(n)?void 0:n}const k7=(t,e,n,r,a=[],i=[],s=new Map)=>{const o=OP(t);if(!o){$P(t,a,e);const m=s.get(t);if(m)return r?{transformedValue:null}:m}if(!FP(t,n)){const m=m9(t,n),f=m?{transformedValue:m.value,annotations:[m.type]}:{transformedValue:t};return o||s.set(t,f),f}if(up(i,t))return{transformedValue:null};const l=m9(t,n),p=l?.value??t,u=$a(p)?[]:{},h={};Bc(p,(m,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")throw new Error(`Detected property ${f}. This is a prototype pollution risk, please remove it from your object.`);const v=k7(m,e,n,r,[...a,f],[...i,t],s);u[f]=v.transformedValue,$a(v.annotations)?h[f]=v.annotations:mu(v.annotations)&&Bc(v.annotations,(C,S)=>{h[w7(f)+"."+S]=C})});const d=_0(h)?{transformedValue:u,annotations:l?[l.type]:void 0}:{transformedValue:u,annotations:l?[l.type,h]:h};return o||s.set(t,d),d};function z7(t){return Object.prototype.toString.call(t).slice(8,-1)}function g9(t){return z7(t)==="Array"}function qP(t){if(z7(t)!=="Object")return!1;const e=Object.getPrototypeOf(t);return!!e&&e.constructor===Object&&e===Object.prototype}function WP(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 L0(t,e={}){if(g9(t))return t.map(a=>L0(a,e));if(!qP(t))return t;const n=Object.getOwnPropertyNames(t),r=Object.getOwnPropertySymbols(t);return[...n,...r].reduce((a,i)=>{if(g9(e.props)&&!e.props.includes(i))return a;const s=t[i],o=L0(s,e);return WP(a,i,o,t,e.nonenumerable),a},{})}var kr=class{constructor({dedupe:t=!1}={}){this.classRegistry=new bP,this.symbolRegistry=new S7(e=>e.description??""),this.customTransformerRegistry=new EP,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const e=new Map,n=k7(t,e,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const a=UP(e,this.dedupe);return a&&(r.meta={...r.meta,referentialEqualities:a}),r}deserialize(t){const{json:e,meta:n}=t;let r=L0(e);return n?.values&&(r=jP(r,n.values,this)),n?.referentialEqualities&&(r=BP(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)}};kr.defaultInstance=new kr;kr.serialize=kr.defaultInstance.serialize.bind(kr.defaultInstance);kr.deserialize=kr.defaultInstance.deserialize.bind(kr.defaultInstance);kr.stringify=kr.defaultInstance.stringify.bind(kr.defaultInstance);kr.parse=kr.defaultInstance.parse.bind(kr.defaultInstance);kr.registerClass=kr.defaultInstance.registerClass.bind(kr.defaultInstance);kr.registerSymbol=kr.defaultInstance.registerSymbol.bind(kr.defaultInstance);kr.registerCustom=kr.defaultInstance.registerCustom.bind(kr.defaultInstance);kr.allowErrorProps=kr.defaultInstance.allowErrorProps.bind(kr.defaultInstance);kr.serialize;kr.deserialize;kr.stringify;kr.parse;kr.registerClass;kr.registerCustom;kr.registerSymbol;kr.allowErrorProps;const v9="__devtools-kit-broadcast-messaging-event-key__",GP="__devtools-kit:broadcast-channel__";function y9(){const t=new BroadcastChannel(GP);return{post:e=>{t.postMessage(kr.stringify({event:v9,data:e}))},on:e=>{t.onmessage=n=>{const r=kr.parse(n.data);r.event===v9&&e(r.data)}}}}const KP="electron:client-context",XP="electron:proxy-context",YP="electron:server-context",Oa={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function JP(){return qt[KP]}function QP(){return qt[XP]}function ZP(){return qt[YP]}function eL(){const t=JP();return{post:e=>{t.emit(Oa.CLIENT_TO_PROXY,kr.stringify(e))},on:e=>{t.on(Oa.PROXY_TO_CLIENT,n=>{e(kr.parse(n))})}}}function tL(){const t=QP();return{post:e=>{},on:e=>{t.on(Oa.SERVER_TO_PROXY,n=>{t.broadcast.emit(Oa.PROXY_TO_CLIENT,n)}),t.on(Oa.CLIENT_TO_PROXY,n=>{t.broadcast.emit(Oa.PROXY_TO_SERVER,n)})}}}function rL(){const t=ZP();return{post:e=>{t.emit(Oa.SERVER_TO_PROXY,kr.stringify(e))},on:e=>{t.on(Oa.PROXY_TO_SERVER,n=>{e(kr.parse(n))})}}}const nL="electron:client-context",Bp={PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function sL(t){qt[nL]=t}function iL(){let t=!1,e=null,n=null,r=null;function a(){try{clearTimeout(n),e=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),sL(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(kr.stringify(i))},on:i=>{r=s=>{t||i(kr.parse(s))},e?.onMessage.addListener(r)}}}function oL(){const t=chrome.runtime.connect({name:"content-script"});function e(r){window.postMessage({source:Bp.PROXY_TO_SERVER,payload:r},"*")}function n(r){if(r.data&&r.data.source===Bp.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(kr.stringify({event:"shutdown"}))}),e(kr.stringify({event:"init"})),{post:r=>{},on:r=>{}}}function aL(){return{post:t=>{window.postMessage({source:Bp.SERVER_TO_PROXY,payload:kr.stringify(t)},"*")},on:t=>{const e=n=>{n.data.source===Bp.PROXY_TO_SERVER&&n.data.payload&&t(kr.parse(n.data.payload))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}}}const Fp="__devtools-kit-iframe-messaging-event-key__",lL="iframe:server-context";function b9(){return qt[lL]}function cL(){return zu?{post:t=>window.parent.postMessage(kr.stringify({event:Fp,data:t}),"*"),on:t=>window.addEventListener("message",e=>{try{const n=kr.parse(e.data);e.source===window.parent&&n.event===Fp&&t(n.data)}catch{}})}:{post:t=>{},on:t=>{}}}function uL(){return zu?{post:t=>{b9()?.contentWindow?.postMessage(kr.stringify({event:Fp,data:t}),"*")},on:t=>{window.addEventListener("message",e=>{const n=b9();try{const r=kr.parse(e.data);e.source===n?.contentWindow&&r.event===Fp&&t(r.data)}catch{}})}}:{post:t=>{},on:t=>{}}}const $p="__devtools-kit-vite-messaging-event-key__",N7="vite:client-context",pL="vite:server-context";function hL(){return qt[N7]}function fL(t){qt[N7]=t}function dL(){return qt[pL]}function mL(){const t=hL();return{post:e=>{t?.send($p,kr.stringify(e))},on:e=>{t?.on($p,n=>{e(kr.parse(n))})}}}function gL(){const t=dL(),e=t.hot??t.ws;return{post:n=>e?.send($p,kr.stringify(n)),on:n=>e?.on($p,r=>{n(kr.parse(r))})}}qt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??=[];qt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__??=null;qt.__VUE_DEVTOOLS_KIT_RPC_SERVER__??=null;qt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??=null;qt.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??=null;qt.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??=null;function vL(t){qt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=t}function yL(){return qt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function V7(){return qt.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function bL(t){qt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=t}function CL(){return qt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function SL(t,e="client"){const n={iframe:{client:cL,server:uL}[e],electron:{client:eL,proxy:tL,server:rL}[e],vite:{client:mL,server:gL}[e],broadcast:{client:y9,server:y9}[e],extension:{client:iL,proxy:oL,server:aL}[e]}[t];return n()}function O0(t,e={}){const{channel:n,options:r,preset:a}=e,i=a?SL(a):n,s=Sw(t,{...r,...i,timeout:-1});if(a==="vite"){bL(s);return}return vL(s),s}function EL(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 ${Hh(i)}${a}`,tooltipText:e.trim()?`
${e}
`:null}}}function xL(t){const e=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${e})`,value:e}}}function wL(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 TL(t){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(t),readOnly:!0,fields:{abstract:!0}}}}function AL(t){const e=Array.from(t);return{_custom:{type:"set",displayText:`Set[${e.length}]`,value:e,readOnly:!0}}}function _L(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 ML(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 PL(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 zL(t){try{return{_custom:{type:"HTMLElement",displayText:`<${t.tagName.toLowerCase()}>`,value:PL(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`${String(t)}`}}}}function NL(t){if(Gi(t,"_value",!0))return t._value;if(Gi(t,"value",!0))return t.value}function VL(t){const e=m7(t);if(e.ref||e.computed||e.reactive){const r=e.computed?"Computed":e.ref?"Ref":e.reactive?"Reactive":null,a=g7(e.reactive?t:NL(t)),i=Gi(t,"effect")?t.effect?.raw?.toString()||t.effect?.fn?.toString():null;return{_custom:{type:r?.toLowerCase(),stateTypeName:r,value:a,...i?{tooltipText:`${i}`}:{}}}}if(Gi(t,"__asyncLoader")&&typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function HL(t,e,n,r){if(t==="compilerOptions")return;const a=this[t],i=typeof a;if(Array.isArray(a)){const s=a.length;return s>u9?{_isArray:!0,length:s,items:a.slice(0,u9)}:a}else{if(typeof a=="string")return a.length>c9?`${a.substring(0,c9)}... (${a.length} total length)`:a;if(i==="undefined")return Jc;if(a===Number.POSITIVE_INFINITY)return Uu;if(a===Number.NEGATIVE_INFINITY)return qu;if(typeof a=="function")return EL(a);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(a)}]`;if(typeof a=="bigint")return xL(a);if(a!==null&&typeof a=="object"){const s=Object.prototype.toString.call(a);if(s==="[object Map]")return TL(a);if(s==="[object Set]")return AL(a);if(s==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(a)}]`;if(s==="[object Date]")return wL(a);if(s==="[object Error]")return`[native Error ${a.message}<>${a.stack}]`;if(Gi(a,"state",!0)&&Gi(a,"_vm",!0))return LL(a);if(a.constructor&&a.constructor.name==="VueRouter")return OL(a);if(h7(a)){const l=IL(a),p=r?.get(a);return p&&p`:(r?.set(a,n),l)}else{if(Gi(a,"render",!0)&&typeof a.render=="function")return kL(a);if(a.constructor&&a.constructor.name==="VNode")return`[native VNode <${a.tag}>]`;if(typeof HTMLElement<"u"&&a instanceof HTMLElement)return zL(a);if(a.constructor?.name==="Store"&&"_wrappedGetters"in a)return"[object Store]";if(Gi(a,"currentRoute",!0))return"[object Router]"}const o=VL(a);if(o!=null)return o}else if(Number.isNaN(a))return Wu}return GM(a)}const $2=2*1024*1024;function C9(t,e){return e==="[object Object]"}function DL(t,e){return e==="[object Array]"}function RL(t){const e=t?.constructor?.name;return e==="Dep"&&"activeLink"in t||e==="Link"&&"dep"in t}function I0(t,e,n,r,a=0,i=new Map){let s,o,l,p,u;const h=r.get(t);if(h!=null)return h;const d=n.length,m=Object.prototype.toString.call(t);if(C9(t,m)){if(RL(t))return d;s={},r.set(t,d),n.push(s);const f=Object.keys(t);for(p=0,u=f.length;pe?.(a,i)?.call(this),n)}catch{r=FL(t,e,n)}if(r.length>$2){const a=Math.ceil(r.length/$2),i=[];for(let s=0;s{const e={file:t};return Ra&&(e.host="chrome-extension"),Yt.value.openInEditor(e)};function k0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?k0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}const UL={run:t=>t()},qL=()=>UL,H7=typeof console.createTask<"u"?console.createTask:qL;function WL(t,e){const n=e.shift(),r=H7(n);return t.reduce((a,i)=>a.then(()=>r.run(()=>i(...e))),Promise.resolve())}function GL(t,e){const n=e.shift(),r=H7(n);return Promise.all(t.map(a=>r.run(()=>a(...e))))}function Cd(t,e){for(const n of[...t])n(e)}var KL=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=k0(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=k0(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(WL,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(GL,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&Cd(this._before,r);const a=t(e in this._hooks?[...this._hooks[e]]:[],n);return a instanceof Promise?a.finally(()=>{this._after&&r&&Cd(this._after,r)}):(this._after&&r&&Cd(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 D7(){return new KL}const U2=D7();let Ln=(function(t){return 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})({});function E9(){const t=as.ctx.state;return{connected:t.connected,clientConnected:!0,vueVersion:t?.activeAppRecord?.version||"",tabs:t.tabs,commands:t.commands,vitePluginDetected:t.vitePluginDetected,appRecords:t.appRecords.map(e=>({id:e.id,name:e.name,version:e.version,routerId:e.routerId,iframe:e.iframe})),activeAppRecordId:t.activeAppRecordId,timelineLayersState:t.timelineLayersState}}const x9={on:(t,e)=>{U2.hook(t,e)},off:(t,e)=>{U2.removeHook(t,e)},once:(t,e)=>{U2.hookOnce(t,e)},emit:(t,...e)=>{U2.callHook(t,...e)},heartbeat:()=>!0,devtoolsState:()=>E9(),async getInspectorTree(t){const e=await as.ctx.api.getInspectorTree(t);return O1(e)},async getInspectorState(t){const e=Na(t.inspectorId);e&&(e.selectedNodeId=t.nodeId);const n=await as.ctx.api.getInspectorState(t);return O1(n)},async editInspectorState(t){return await as.ctx.api.editInspectorState(t)},sendInspectorState(t){return as.ctx.api.sendInspectorState(t)},inspectComponentInspector(){return as.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return as.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(t){return as.ctx.api.getComponentRenderCode(t)},scrollToComponent(t){return as.ctx.api.scrollToComponent(t)},inspectDOM(t){return as.ctx.api.inspectDOM(t)},getInspectorNodeActions(t){return a9(t)},getInspectorActions(t){return o9(t)},updateTimelineLayersState(t){return yM(t)},callInspectorNodeAction(t,e,n){const r=a9(t);r?.length&&r[e].action?.(n)},callInspectorAction(t,e){const n=o9(t);n?.length&&n[e].action?.()},openInEditor(t){return as.ctx.api.openInEditor(t)},async checkVueInspectorDetected(){return!!await as.ctx.api.getVueInspector()},async enableVueInspector(){const t=await as?.api?.getVueInspector?.();t&&await t.enable()},async toggleApp(t,e){return as.ctx.api.toggleApp(t,e)},updatePluginSettings(t,e,n){return as.ctx.api.updatePluginSettings(t,e,n)},getPluginSettings(t){return as.ctx.api.getPluginSettings(t)},getRouterInfo(){return aP},navigate(t){return p9.value?.push(t).catch(()=>({}))},getMatchedRoutes(t){const e=console.warn;console.warn=()=>{};const n=p9.value?.resolve?.({path:t||"/"}).matched??[];return console.warn=e,n},toggleClientConnected(t){_M(t)},getCustomInspector(){return fm()},getInspectorInfo(t){return CM(t)},highlighComponent(t){return as.ctx.hooks.callHook(ns.COMPONENT_HIGHLIGHT,{uid:t})},unhighlight(){return as.ctx.hooks.callHook(ns.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(t){C7(t)},initDevToolsServerListener(){const e=V7().broadcast;as.ctx.hooks.hook(xi.SEND_INSPECTOR_TREE_TO_CLIENT,n=>{e.emit(Ln.INSPECTOR_TREE_UPDATED,O1(n))}),as.ctx.hooks.hook(xi.SEND_INSPECTOR_STATE_TO_CLIENT,n=>{e.emit(Ln.INSPECTOR_STATE_UPDATED,O1(n))}),as.ctx.hooks.hook(xi.DEVTOOLS_STATE_UPDATED,()=>{e.emit(Ln.DEVTOOLS_STATE_UPDATED,E9())}),as.ctx.hooks.hook(xi.ROUTER_INFO_UPDATED,({state:n})=>{e.emit(Ln.ROUTER_INFO_UPDATED,n)}),as.ctx.hooks.hook(xi.SEND_TIMELINE_EVENT_TO_CLIENT,n=>{e.emit(Ln.TIMELINE_EVENT_UPDATED,O1(n))}),as.ctx.hooks.hook(xi.SEND_INSPECTOR_TO_CLIENT,n=>{e.emit(Ln.INSPECTOR_UPDATED,n)}),as.ctx.hooks.hook(xi.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{e.emit(Ln.ACTIVE_APP_UNMOUNTED)})}},Yt=new Proxy({value:{},functions:{}},{get(t,e){const n=yL();if(e==="value")return n;if(e==="functions")return n.$functions}});new Proxy({value:{},functions:{}},{get(t,e){const n=V7();if(e==="value")return n;if(e==="functions")return n.functions}});function Yo(t){let e=null,n=0;function r(){Yt.value?.heartbeat?.().then(()=>{t(),clearTimeout(e)}).catch(()=>{})}e=setInterval(()=>{n>=30&&clearTimeout(e),n++,r()},n*200+200),r()}const q2=D7(),XL={on:(t,e)=>{q2.hook(t,e)},off:(t,e)=>{q2.removeHook(t,e)},once:(t,e)=>{q2.hookOnce(t,e)},emit:(t,...e)=>{q2.callHook(t,...e)},heartbeat:()=>!0},YL=new Proxy({value:{},functions:{}},{get(t,e){const n=CL();if(e==="value")return n;if(e==="functions")return n?.$functions}});function tX(t){let e=null;function n(){YL.value?.heartbeat?.().then(()=>{clearTimeout(e),t()}).catch(()=>({})),e=setTimeout(()=>{n()},80)}n()}function JL(){O0(XL,{preset:"vite"})}const R7=Symbol.for("__VueDevToolsStateSymbol__");function QL(){return{install(t){const e=ZL();e.getDevToolsState(),t.provide(R7,e),t.config.globalProperties.$getDevToolsState=e.getDevToolsState,t.config.globalProperties.$disconnectDevToolsClient=()=>{e.clientConnected.value=!1,e.connected.value=!1}}}}function ZL(){const t=xt(!1),e=xt(!1),n=xt(""),r=xt([]),a=xt([]),i=xt(!1),s=xt([]),o=xt(""),l=xt({});function p(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 u(){Yo(()=>{Yt.value.devtoolsState().then(h=>{p(h)}),Yt.functions.off(Ln.DEVTOOLS_STATE_UPDATED,p),Yt.functions.on(Ln.DEVTOOLS_STATE_UPDATED,p)})}return{getDevToolsState:u,connected:t,clientConnected:e,vueVersion:n,tabs:r,commands:a,vitePluginDetected:i,appRecords:s,activeAppRecordId:o,timelineLayersState:l}}function zl(){return zn(R7)}const vc=[];function eO(t){const{connected:e,clientConnected:n}=zl();vc.push(t),pi(()=>{vc.splice(vc.indexOf(t),1)});const r=pt(()=>n.value&&e.value);if(r.value)t();else{const a=Lr(r,i=>{i&&(t(),a())})}return()=>{vc.splice(vc.indexOf(t),1)}}function j7(){vc.forEach(t=>t())}async function tO(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.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const yc=typeof document<"u";function B7(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function rO(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&B7(t.default)}const ls=Object.assign;function Sd(t,e){const n={};for(const r in e){const a=e[r];n[r]=co(a)?a.map(t):t(a)}return n}const X1=()=>{},co=Array.isArray,F7=/#/g,nO=/&/g,sO=/\//g,iO=/=/g,oO=/\?/g,$7=/\+/g,aO=/%5B/g,lO=/%5D/g,U7=/%5E/g,cO=/%60/g,q7=/%7B/g,uO=/%7C/g,W7=/%7D/g,pO=/%20/g;function bm(t){return encodeURI(""+t).replace(uO,"|").replace(aO,"[").replace(lO,"]")}function hO(t){return bm(t).replace(q7,"{").replace(W7,"}").replace(U7,"^")}function z0(t){return bm(t).replace($7,"%2B").replace(pO,"+").replace(F7,"%23").replace(nO,"%26").replace(cO,"`").replace(q7,"{").replace(W7,"}").replace(U7,"^")}function fO(t){return z0(t).replace(iO,"%3D")}function dO(t){return bm(t).replace(F7,"%23").replace(oO,"%3F")}function mO(t){return t==null?"":dO(t).replace(sO,"%2F")}function yu(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const gO=/\/$/,vO=t=>t.replace(gO,"");function Ed(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=SO(r??e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:a,hash:yu(s)}}function yO(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function bO(t,e,n){const r=e.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&Fc(e.matched[r],n.matched[a])&&G7(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Fc(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function G7(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!CO(t[n],e[n]))return!1;return!0}function CO(t,e){return co(t)?w9(t,e):co(e)?w9(e,t):t===e}function w9(t,e){return co(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function SO(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 ba={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var bu;(function(t){t.pop="pop",t.push="push"})(bu||(bu={}));var Up;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Up||(Up={}));const xd="";function EO(t){if(!t)if(yc){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),vO(t)}const xO=/^[^#]+#/;function wO(t,e){return t.replace(xO,"#")+e}function TO(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 AO=()=>({left:window.scrollX,top:window.scrollY});function _O(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=TO(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 T9(t,e){return(history.state?history.state.position-e:-1)+t}const N0=new Map;function MO(t,e){N0.set(t,e)}function PO(t){const e=N0.get(t);return N0.delete(t),e}function LO(t=""){let e=[],n=[[xd,{}]],r=0;t=EO(t);function a(o,l={}){r++,r!==n.length&&n.splice(r),n.push([o,l])}function i(o,l,{direction:p,delta:u}){const h={direction:p,delta:u,type:bu.pop};for(const d of e)d(o,l,h)}const s={location:xd,state:{},base:t,createHref:wO.bind(null,t),replace(o,l){n.splice(r--,1),a(o,l)},push(o,l){a(o,l)},listen(o){return e.push(o),()=>{const l=e.indexOf(o);l>-1&&e.splice(l,1)}},destroy(){e=[],n=[[xd,{}]],r=0},go(o,l=!0){const p=this.location,u=o<0?Up.back:Up.forward;r=Math.max(0,Math.min(r+o,n.length-1)),l&&i(this.location,p,{direction:u,delta:o})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r][0]}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n[r][1]}),s}function OO(t){return typeof t=="string"||t&&typeof t=="object"}function K7(t){return typeof t=="string"||typeof t=="symbol"}const X7=Symbol("");var A9;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(A9||(A9={}));function $c(t,e){return ls(new Error,{type:t,[X7]:!0},e)}function Bo(t,e){return t instanceof Error&&X7 in t&&(e==null||!!(t.type&e))}const _9="[^/]+?",IO={sensitive:!1,strict:!1,start:!0,end:!0},kO=/[.+*?^${}()[\]/\\]/g;function zO(t,e){const n=ls({},IO,e),r=[];let a=n.start?"^":"";const i=[];for(const p of t){const u=p.length?[]:[90];n.strict&&!p.length&&(a+="/");for(let h=0;he.length?e.length===1&&e[0]===80?1:-1:0}function Y7(t,e){let n=0;const r=t.score,a=e.score;for(;n0&&e[e.length-1]<0}const VO={type:0,value:""},HO=/[a-zA-Z0-9_]/;function DO(t){if(!t)return[[]];if(t==="/")return[[VO]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${n})/"${p}": ${m}`)}let n=0,r=n;const a=[];let i;function s(){i&&a.push(i),i=[]}let o=0,l,p="",u="";function h(){p&&(n===0?i.push({type:0,value:p}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:p,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),p="")}function d(){p+=l}for(;o{s(g)}:X1}function s(h){if(K7(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=$O(h,n);n.splice(d,0,h),h.record.name&&!O9(h)&&r.set(h.record.name,h)}function p(h,d){let m,f={},v,C;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw $c(1,{location:h});C=m.record.name,f=ls(P9(d.params,m.keys.filter(g=>!g.optional).concat(m.parent?m.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),h.params&&P9(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 $c(1,{location:h,currentLocation:d});C=m.record.name,f=ls({},d.params,h.params),v=m.stringify(f)}const S=[];let x=m;for(;x;)S.unshift(x.record),x=x.parent;return{name:C,path:v,params:f,matched:S,meta:FO(S)}}t.forEach(h=>i(h));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:p,removeRoute:s,clearRoutes:u,getRoutes:o,getRecordMatcher:a}}function P9(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function L9(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:BO(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 BO(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 O9(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function FO(t){return t.reduce((e,n)=>ls(e,n.meta),{})}function I9(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function $O(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;Y7(t,e[i])<0?r=i:n=i+1}const a=UO(t);return a&&(r=e.lastIndexOf(a,r-1)),r}function UO(t){let e=t;for(;e=e.parent;)if(J7(e)&&Y7(t,e)===0)return e}function J7({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function qO(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;ai&&z0(i)):[r&&z0(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function WO(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=co(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return e}const GO=Symbol(""),z9=Symbol(""),jh=Symbol(""),Cm=Symbol(""),V0=Symbol("");function I1(){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 Pa(t,e,n,r,a,i=s=>s()){const s=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((o,l)=>{const p=d=>{d===!1?l($c(4,{from:n,to:e})):d instanceof Error?l(d):OO(d)?l($c(2,{from:e,to:d})):(s&&r.enterCallbacks[a]===s&&typeof d=="function"&&s.push(d),o())},u=i(()=>t.call(r&&r.instances[a],e,n,p));let h=Promise.resolve(u);t.length<3&&(h=h.then(p)),h.catch(d=>l(d))})}function wd(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(B7(l)){const u=(l.__vccOpts||l)[e];u&&i.push(Pa(u,n,r,s,o,a))}else{let p=l();i.push(()=>p.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${o}" at "${s.path}"`);const h=rO(u)?u.default:u;s.mods[o]=u,s.components[o]=h;const m=(h.__vccOpts||h)[e];return m&&Pa(m,n,r,s,o,a)()}))}}return i}function N9(t){const e=zn(jh),n=zn(Cm),r=pt(()=>{const l=$e(t.to);return e.resolve(l)}),a=pt(()=>{const{matched:l}=r.value,{length:p}=l,u=l[p-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(Fc.bind(null,u));if(d>-1)return d;const m=V9(l[p-2]);return p>1&&V9(u)===m&&h[h.length-1].path!==m?h.findIndex(Fc.bind(null,l[p-2])):d}),i=pt(()=>a.value>-1&&JO(n.params,r.value.params)),s=pt(()=>a.value>-1&&a.value===n.matched.length-1&&G7(n.params,r.value.params));function o(l={}){if(YO(l)){const p=e[$e(t.replace)?"replace":"push"]($e(t.to)).catch(X1);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>p),p}return Promise.resolve()}return{route:r,href:pt(()=>r.value.href),isActive:i,isExactActive:s,navigate:o}}function KO(t){return t.length===1?t[0]:t}const XO=lr({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"},viewTransition:Boolean},useLink:N9,setup(t,{slots:e}){const n=lo(N9(t)),{options:r}=zn(jh),a=pt(()=>({[H9(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[H9(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&KO(e.default(n));return t.custom?i:Wa("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),Q7=XO;function YO(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 JO(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(!co(a)||a.length!==r.length||r.some((i,s)=>i!==a[s]))return!1}return!0}function V9(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const H9=(t,e,n)=>t??e??n,QO=lr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=zn(V0),a=pt(()=>t.route||r.value),i=zn(z9,0),s=pt(()=>{let p=$e(i);const{matched:u}=a.value;let h;for(;(h=u[p])&&!h.components;)p++;return p}),o=pt(()=>a.value.matched[s.value]);_s(z9,pt(()=>s.value+1)),_s(GO,o),_s(V0,a);const l=xt();return Lr(()=>[l.value,o.value,t.name],([p,u,h],[d,m,f])=>{u&&(u.instances[h]=p,m&&m!==u&&p&&p===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),p&&u&&(!m||!Fc(u,m)||!d)&&(u.enterCallbacks[h]||[]).forEach(v=>v(p))},{flush:"post"}),()=>{const p=a.value,u=t.name,h=o.value,d=h&&h.components[u];if(!d)return D9(n.default,{Component:d,route:p});const m=h.props[u],f=m?m===!0?p.params:typeof m=="function"?m(p):m:null,C=Wa(d,ls({},f,e,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return D9(n.default,{Component:C,route:p})||C}}});function D9(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const ZO=QO;function eI(t){const e=jO(t.routes,t),n=t.parseQuery||qO,r=t.stringifyQuery||k9,a=t.history,i=I1(),s=I1(),o=I1(),l=qr(ba);let p=ba;yc&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Sd.bind(null,ue=>""+ue),h=Sd.bind(null,mO),d=Sd.bind(null,yu);function m(ue,ae){let ce,oe;return K7(ue)?(ce=e.getRecordMatcher(ue),oe=ae):oe=ue,e.addRoute(oe,ce)}function f(ue){const ae=e.getRecordMatcher(ue);ae&&e.removeRoute(ae)}function v(){return e.getRoutes().map(ue=>ue.record)}function C(ue){return!!e.getRecordMatcher(ue)}function S(ue,ae){if(ae=ls({},ae||l.value),typeof ue=="string"){const ge=Ed(n,ue,ae.path),xe=e.resolve({path:ge.path},ae),He=a.createHref(ge.fullPath);return ls(ge,xe,{params:d(xe.params),hash:yu(ge.hash),redirectedFrom:void 0,href:He})}let ce;if(ue.path!=null)ce=ls({},ue,{path:Ed(n,ue.path,ae.path).path});else{const ge=ls({},ue.params);for(const xe in ge)ge[xe]==null&&delete ge[xe];ce=ls({},ue,{params:h(ge)}),ae.params=h(ae.params)}const oe=e.resolve(ce,ae),ie=ue.hash||"";oe.params=u(d(oe.params));const Se=yO(r,ls({},ue,{hash:hO(ie),path:oe.path})),ne=a.createHref(Se);return ls({fullPath:Se,hash:ie,query:r===k9?WO(ue.query):ue.query||{}},oe,{redirectedFrom:void 0,href:ne})}function x(ue){return typeof ue=="string"?Ed(n,ue,l.value.path):ls({},ue)}function g(ue,ae){if(p!==ue)return $c(8,{from:ae,to:ue})}function w(ue){return T(ue)}function y(ue){return w(ls(x(ue),{replace:!0}))}function _(ue){const ae=ue.matched[ue.matched.length-1];if(ae&&ae.redirect){const{redirect:ce}=ae;let oe=typeof ce=="function"?ce(ue):ce;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=x(oe):{path:oe},oe.params={}),ls({query:ue.query,hash:ue.hash,params:oe.path!=null?{}:ue.params},oe)}}function T(ue,ae){const ce=p=S(ue),oe=l.value,ie=ue.state,Se=ue.force,ne=ue.replace===!0,ge=_(ce);if(ge)return T(ls(x(ge),{state:typeof ge=="object"?ls({},ie,ge.state):ie,force:Se,replace:ne}),ae||ce);const xe=ce;xe.redirectedFrom=ae;let He;return!Se&&bO(r,oe,ce)&&(He=$c(16,{to:xe,from:oe}),Le(oe,oe,!0,!1)),(He?Promise.resolve(He):z(xe,oe)).catch(ee=>Bo(ee)?Bo(ee,2)?ee:he(ee):K(ee,xe,oe)).then(ee=>{if(ee){if(Bo(ee,2))return T(ls({replace:ne},x(ee.to),{state:typeof ee.to=="object"?ls({},ie,ee.to.state):ie,force:Se}),ae||xe)}else ee=W(xe,oe,!0,ne,ie);return q(xe,oe,ee),ee})}function O(ue,ae){const ce=g(ue,ae);return ce?Promise.reject(ce):Promise.resolve()}function I(ue){const ae=fe.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(ue):ue()}function z(ue,ae){let ce;const[oe,ie,Se]=tI(ue,ae);ce=wd(oe.reverse(),"beforeRouteLeave",ue,ae);for(const ge of oe)ge.leaveGuards.forEach(xe=>{ce.push(Pa(xe,ue,ae))});const ne=O.bind(null,ue,ae);return ce.push(ne),Me(ce).then(()=>{ce=[];for(const ge of i.list())ce.push(Pa(ge,ue,ae));return ce.push(ne),Me(ce)}).then(()=>{ce=wd(ie,"beforeRouteUpdate",ue,ae);for(const ge of ie)ge.updateGuards.forEach(xe=>{ce.push(Pa(xe,ue,ae))});return ce.push(ne),Me(ce)}).then(()=>{ce=[];for(const ge of Se)if(ge.beforeEnter)if(co(ge.beforeEnter))for(const xe of ge.beforeEnter)ce.push(Pa(xe,ue,ae));else ce.push(Pa(ge.beforeEnter,ue,ae));return ce.push(ne),Me(ce)}).then(()=>(ue.matched.forEach(ge=>ge.enterCallbacks={}),ce=wd(Se,"beforeRouteEnter",ue,ae,I),ce.push(ne),Me(ce))).then(()=>{ce=[];for(const ge of s.list())ce.push(Pa(ge,ue,ae));return ce.push(ne),Me(ce)}).catch(ge=>Bo(ge,8)?ge:Promise.reject(ge))}function q(ue,ae,ce){o.list().forEach(oe=>I(()=>oe(ue,ae,ce)))}function W(ue,ae,ce,oe,ie){const Se=g(ue,ae);if(Se)return Se;const ne=ae===ba,ge=yc?history.state:{};ce&&(oe||ne?a.replace(ue.fullPath,ls({scroll:ne&&ge&&ge.scroll},ie)):a.push(ue.fullPath,ie)),l.value=ue,Le(ue,ae,ce,ne),he()}let F;function N(){F||(F=a.listen((ue,ae,ce)=>{if(!Ce.listening)return;const oe=S(ue),ie=_(oe);if(ie){T(ls(ie,{replace:!0,force:!0}),oe).catch(X1);return}p=oe;const Se=l.value;yc&&MO(T9(Se.fullPath,ce.delta),AO()),z(oe,Se).catch(ne=>Bo(ne,12)?ne:Bo(ne,2)?(T(ls(x(ne.to),{force:!0}),oe).then(ge=>{Bo(ge,20)&&!ce.delta&&ce.type===bu.pop&&a.go(-1,!1)}).catch(X1),Promise.reject()):(ce.delta&&a.go(-ce.delta,!1),K(ne,oe,Se))).then(ne=>{ne=ne||W(oe,Se,!1),ne&&(ce.delta&&!Bo(ne,8)?a.go(-ce.delta,!1):ce.type===bu.pop&&Bo(ne,20)&&a.go(-1,!1)),q(oe,Se,ne)}).catch(X1)}))}let $=I1(),H=I1(),R;function K(ue,ae,ce){he(ue);const oe=H.list();return oe.length?oe.forEach(ie=>ie(ue,ae,ce)):console.error(ue),Promise.reject(ue)}function se(){return R&&l.value!==ba?Promise.resolve():new Promise((ue,ae)=>{$.add([ue,ae])})}function he(ue){return R||(R=!ue,N(),$.list().forEach(([ae,ce])=>ue?ce(ue):ae()),$.reset()),ue}function Le(ue,ae,ce,oe){const{scrollBehavior:ie}=t;if(!yc||!ie)return Promise.resolve();const Se=!ce&&PO(T9(ue.fullPath,0))||(oe||!ce)&&history.state&&history.state.scroll||null;return Es().then(()=>ie(ue,ae,Se)).then(ne=>ne&&_O(ne)).catch(ne=>K(ne,ue,ae))}const X=ue=>a.go(ue);let Q;const fe=new Set,Ce={currentRoute:l,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:C,getRoutes:v,resolve:S,options:t,push:w,replace:y,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:i.add,beforeResolve:s.add,afterEach:o.add,onError:H.add,isReady:se,install(ue){const ae=this;ue.component("RouterLink",Q7),ue.component("RouterView",ZO),ue.config.globalProperties.$router=ae,Object.defineProperty(ue.config.globalProperties,"$route",{enumerable:!0,get:()=>$e(l)}),yc&&!Q&&l.value===ba&&(Q=!0,w(a.location).catch(ie=>{}));const ce={};for(const ie in ba)Object.defineProperty(ce,ie,{get:()=>l.value[ie],enumerable:!0});ue.provide(jh,ae),ue.provide(Cm,Eh(ce)),ue.provide(V0,l);const oe=ue.unmount;fe.add(ue),ue.unmount=function(){fe.delete(ue),fe.size<1&&(p=ba,F&&F(),F=null,l.value=ba,Q=!1,R=!1),oe()}}};function Me(ue){return ue.reduce((ae,ce)=>ae.then(()=>I(ce)),Promise.resolve())}return Ce}function tI(t,e){const n=[],r=[],a=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;sFc(p,o))?r.push(o):n.push(o));const l=t.matched[s];l&&(e.matched.find(p=>Fc(p,l))||a.push(l))}return[n,r,a]}function Bh(){return zn(jh)}function Sm(t){return zn(Cm)}const rI=["top","right","bottom","left"],R9=["start","end"],j9=rI.reduce((t,e)=>t.concat(e,e+"-"+R9[0],e+"-"+R9[1]),[]),Cu=Math.min,hl=Math.max,nI={left:"right",right:"left",bottom:"top",top:"bottom"},sI={start:"end",end:"start"};function H0(t,e,n){return hl(t,Cu(e,n))}function Nl(t,e){return typeof t=="function"?t(e):t}function Mo(t){return t.split("-")[0]}function oo(t){return t.split("-")[1]}function Z7(t){return t==="x"?"y":"x"}function Em(t){return t==="y"?"height":"width"}function _l(t){return["top","bottom"].includes(Mo(t))?"y":"x"}function xm(t){return Z7(_l(t))}function eb(t,e,n){n===void 0&&(n=!1);const r=oo(t),a=xm(t),i=Em(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Wp(s)),[s,Wp(s)]}function iI(t){const e=Wp(t);return[qp(t),e,qp(e)]}function qp(t){return t.replace(/start|end/g,e=>sI[e])}function oI(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 aI(t,e,n,r){const a=oo(t);let i=oI(Mo(t),n==="start",r);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(qp)))),i}function Wp(t){return t.replace(/left|right|bottom|top/g,e=>nI[e])}function lI(t){return{top:0,right:0,bottom:0,left:0,...t}}function tb(t){return typeof t!="number"?lI(t):{top:t,right:t,bottom:t,left:t}}function Y1(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 B9(t,e,n){let{reference:r,floating:a}=t;const i=_l(e),s=xm(e),o=Em(s),l=Mo(e),p=i==="y",u=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:u,y:r.y-a.height};break;case"bottom":m={x:u,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(oo(e)){case"start":m[s]-=d*(n&&p?-1:1);break;case"end":m[s]+=d*(n&&p?-1:1);break}return m}const cI=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 p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:u,y:h}=B9(p,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:p,padding:u=0}=Nl(t,e)||{};if(p==null)return{};const h=tb(u),d={x:n,y:r},m=xm(a),f=Em(m),v=await s.getDimensions(p),C=m==="y",S=C?"top":"left",x=C?"bottom":"right",g=C?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[m]-d[m]-i.floating[f],y=d[m]-i.reference[m],_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p));let T=_?_[g]:0;(!T||!await(s.isElement==null?void 0:s.isElement(_)))&&(T=o.floating[g]||i.floating[f]);const O=w/2-y/2,I=T/2-v[f]/2-1,z=Cu(h[S],I),q=Cu(h[x],I),W=z,F=T-v[f]-q,N=T/2-v[f]/2+O,$=H0(W,N,F),H=!l.arrow&&oo(a)!=null&&N!==$&&i.reference[f]/2-(Noo(a)===t),...n.filter(a=>oo(a)!==t)]:n.filter(a=>Mo(a)===a)).filter(a=>t?oo(a)===t||(e?qp(a)!==a:!1):!0)}const hI=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:p}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:d=j9,autoAlignment:m=!0,...f}=Nl(t,e),v=h!==void 0||d===j9?pI(h||null,m,d):d,C=await Fh(e,f),S=((n=s.autoPlacement)==null?void 0:n.index)||0,x=v[S];if(x==null)return{};const g=eb(x,i,await(l.isRTL==null?void 0:l.isRTL(p.floating)));if(o!==x)return{reset:{placement:v[0]}};const w=[C[Mo(x)],C[g[0]],C[g[1]]],y=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:x,overflows:w}],_=v[S+1];if(_)return{data:{index:S+1,overflows:y},reset:{placement:_}};const T=y.map(z=>{const q=oo(z.placement);return[z.placement,q&&u?z.overflows.slice(0,2).reduce((W,F)=>W+F,0):z.overflows[0],z.overflows]}).sort((z,q)=>z[1]-q[1]),I=((a=T.filter(z=>z[2].slice(0,oo(z[0])?2:3).every(q=>q<=0))[0])==null?void 0:a[0])||T[0][0];return I!==o?{data:{index:S+1,overflows:y},reset:{placement:I}}:{}}}},fI=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:p}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...C}=Nl(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=Mo(a),x=_l(o),g=Mo(o)===o,w=await(l.isRTL==null?void 0:l.isRTL(p.floating)),y=d||(g||!v?[Wp(o)]:iI(o)),_=f!=="none";!d&&_&&y.push(...aI(o,v,f,w));const T=[o,...y],O=await Fh(e,C),I=[];let z=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&I.push(O[S]),h){const N=eb(a,s,w);I.push(O[N[0]],O[N[1]])}if(z=[...z,{placement:a,overflows:I}],!I.every(N=>N<=0)){var q,W;const N=(((q=i.flip)==null?void 0:q.index)||0)+1,$=T[N];if($)return{data:{index:N,overflows:z},reset:{placement:$}};let H=(W=z.filter(R=>R.overflows[0]<=0).sort((R,K)=>R.overflows[1]-K.overflows[1])[0])==null?void 0:W.placement;if(!H)switch(m){case"bestFit":{var F;const R=(F=z.filter(K=>{if(_){const se=_l(K.placement);return se===x||se==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(se=>se>0).reduce((se,he)=>se+he,0)]).sort((K,se)=>K[1]-se[1])[0])==null?void 0:F[0];R&&(H=R);break}case"initialPlacement":H=o;break}if(a!==H)return{reset:{placement:H}}}return{}}}};async function dI(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=Mo(n),o=oo(n),l=_l(n)==="y",p=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,h=Nl(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*u,y:d*p}:{x:d*p,y:m*u}}const mI=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 dI(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}}}}},gI=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:S,y:x}=C;return{x:S,y:x}}},...l}=Nl(t,e),p={x:n,y:r},u=await Fh(e,l),h=_l(Mo(a)),d=Z7(h);let m=p[d],f=p[h];if(i){const C=d==="y"?"top":"left",S=d==="y"?"bottom":"right",x=m+u[C],g=m-u[S];m=H0(x,m,g)}if(s){const C=h==="y"?"top":"left",S=h==="y"?"bottom":"right",x=f+u[C],g=f-u[S];f=H0(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}}}}}},vI=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=()=>{},...p}=Nl(t,e),u=await Fh(e,p),h=Mo(a),d=oo(a),m=_l(a)==="y",{width:f,height:v}=i.floating;let C,S;h==="top"||h==="bottom"?(C=h,S=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(S=h,C=d==="end"?"top":"bottom");const x=v-u.top-u.bottom,g=f-u.left-u.right,w=Cu(v-u[C],x),y=Cu(f-u[S],g),_=!e.middlewareData.shift;let T=w,O=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(O=g),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(T=x),_&&!d){const z=hl(u.left,0),q=hl(u.right,0),W=hl(u.top,0),F=hl(u.bottom,0);m?O=f-2*(z!==0||q!==0?z+q:hl(u.left,u.right)):T=v-2*(W!==0||F!==0?W+F:hl(u.top,u.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 Ki(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function wo(t){return Ki(t).getComputedStyle(t)}const F9=Math.min,J1=Math.max,Gp=Math.round;function rb(t){const e=wo(t);let n=parseFloat(e.width),r=parseFloat(e.height);const a=t.offsetWidth,i=t.offsetHeight,s=Gp(n)!==a||Gp(r)!==i;return s&&(n=a,r=i),{width:n,height:r,fallback:s}}function Ua(t){return sb(t)?(t.nodeName||"").toLowerCase():""}let W2;function nb(){if(W2)return W2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(W2=t.brands.map((e=>e.brand+"/"+e.version)).join(" "),W2):navigator.userAgent}function To(t){return t instanceof Ki(t).HTMLElement}function Va(t){return t instanceof Ki(t).Element}function sb(t){return t instanceof Ki(t).Node}function $9(t){return typeof ShadowRoot>"u"?!1:t instanceof Ki(t).ShadowRoot||t instanceof ShadowRoot}function $h(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=wo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(a)}function yI(t){return["table","td","th"].includes(Ua(t))}function D0(t){const e=/firefox/i.test(nb()),n=wo(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 ib(){return!/^((?!chrome|android).)*safari/i.test(nb())}function wm(t){return["html","body","#document"].includes(Ua(t))}function ob(t){return Va(t)?t:t.contextElement}const ab={x:1,y:1};function Oc(t){const e=ob(t);if(!To(e))return ab;const n=e.getBoundingClientRect(),{width:r,height:a,fallback:i}=rb(e);let s=(i?Gp(n.width):n.width)/r,o=(i?Gp(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function Su(t,e,n,r){var a,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),o=ob(t);let l=ab;e&&(r?Va(r)&&(l=Oc(r)):l=Oc(t));const p=o?Ki(o):window,u=!ib()&&n;let h=(s.left+(u&&((a=p.visualViewport)==null?void 0:a.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=p.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,m=s.width/l.x,f=s.height/l.y;if(o){const v=Ki(o),C=r&&Va(r)?Ki(r):r;let S=v.frameElement;for(;S&&r&&C!==v;){const x=Oc(S),g=S.getBoundingClientRect(),w=getComputedStyle(S);g.x+=(S.clientLeft+parseFloat(w.paddingLeft))*x.x,g.y+=(S.clientTop+parseFloat(w.paddingTop))*x.y,h*=x.x,d*=x.y,m*=x.x,f*=x.y,h+=g.x,d+=g.y,S=Ki(S).frameElement}}return{width:m,height:f,top:d,right:h+m,bottom:d+f,left:h,x:h,y:d}}function Ha(t){return((sb(t)?t.ownerDocument:t.document)||window.document).documentElement}function Uh(t){return Va(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lb(t){return Su(Ha(t)).left+Uh(t).scrollLeft}function Eu(t){if(Ua(t)==="html")return t;const e=t.assignedSlot||t.parentNode||$9(t)&&t.host||Ha(t);return $9(e)?e.host:e}function cb(t){const e=Eu(t);return wm(e)?e.ownerDocument.body:To(e)&&$h(e)?e:cb(e)}function Kp(t,e){var n;e===void 0&&(e=[]);const r=cb(t),a=r===((n=t.ownerDocument)==null?void 0:n.body),i=Ki(r);return a?e.concat(i,i.visualViewport||[],$h(r)?r:[]):e.concat(r,Kp(r))}function U9(t,e,n){return e==="viewport"?Y1((function(r,a){const i=Ki(r),s=Ha(r),o=i.visualViewport;let l=s.clientWidth,p=s.clientHeight,u=0,h=0;if(o){l=o.width,p=o.height;const d=ib();(d||!d&&a==="fixed")&&(u=o.offsetLeft,h=o.offsetTop)}return{width:l,height:p,x:u,y:h}})(t,n)):Va(e)?Y1((function(r,a){const i=Su(r,!0,a==="fixed"),s=i.top+r.clientTop,o=i.left+r.clientLeft,l=To(r)?Oc(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)):Y1((function(r){const a=Ha(r),i=Uh(r),s=r.ownerDocument.body,o=J1(a.scrollWidth,a.clientWidth,s.scrollWidth,s.clientWidth),l=J1(a.scrollHeight,a.clientHeight,s.scrollHeight,s.clientHeight);let p=-i.scrollLeft+lb(r);const u=-i.scrollTop;return wo(s).direction==="rtl"&&(p+=J1(a.clientWidth,s.clientWidth)-o),{width:o,height:l,x:p,y:u}})(Ha(t)))}function q9(t){return To(t)&&wo(t).position!=="fixed"?t.offsetParent:null}function W9(t){const e=Ki(t);let n=q9(t);for(;n&&yI(n)&&wo(n).position==="static";)n=q9(n);return n&&(Ua(n)==="html"||Ua(n)==="body"&&wo(n).position==="static"&&!D0(n))?e:n||(function(r){let a=Eu(r);for(;To(a)&&!wm(a);){if(D0(a))return a;a=Eu(a)}return null})(t)||e}function bI(t,e,n){const r=To(e),a=Ha(e),i=Su(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(r||!r&&n!=="fixed")if((Ua(e)!=="body"||$h(a))&&(s=Uh(e)),To(e)){const l=Su(e,!0);o.x=l.x+e.clientLeft,o.y=l.y+e.clientTop}else a&&(o.x=lb(a));return{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}const CI={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const i=n==="clippingAncestors"?(function(p,u){const h=u.get(p);if(h)return h;let d=Kp(p).filter((C=>Va(C)&&Ua(C)!=="body")),m=null;const f=wo(p).position==="fixed";let v=f?Eu(p):p;for(;Va(v)&&!wm(v);){const C=wo(v),S=D0(v);(f?S||m:S||C.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=C:d=d.filter((x=>x!==v)),v=Eu(v)}return u.set(p,d),d})(e,this._c):[].concat(n),s=[...i,r],o=s[0],l=s.reduce(((p,u)=>{const h=U9(e,u,a);return p.top=J1(h.top,p.top),p.right=F9(h.right,p.right),p.bottom=F9(h.bottom,p.bottom),p.left=J1(h.left,p.left),p}),U9(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=To(n),i=Ha(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")&&((Ua(n)!=="body"||$h(i))&&(s=Uh(n)),To(n))){const p=Su(n);o=Oc(n),l.x=p.x+n.clientLeft,l.y=p.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:Va,getDimensions:function(t){return To(t)?rb(t):t.getBoundingClientRect()},getOffsetParent:W9,getDocumentElement:Ha,getScale:Oc,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const a=this.getOffsetParent||W9,i=this.getDimensions;return{reference:bI(e,await a(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>wo(t).direction==="rtl"},SI=(t,e,n)=>{const r=new Map,a={platform:CI,...n},i={...a.platform,_c:r};return cI(t,e,{...a,platform:i})},El={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 xu(t,e){let n=El.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=El.themes[n.$extend]||{}:(n=null,r=El[e]):n=null;while(n);return r}function EI(t){const e=[t];let n=El.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=El.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function G9(t){const e=[t];let n=El.themes[t]||{};do n.$extend?(e.push(n.$extend),n=El.themes[n.$extend]||{}):n=null;while(n);return e}let Uc=!1;if(typeof window<"u"){Uc=!1;try{const t=Object.defineProperty({},"passive",{get(){Uc=!0}});window.addEventListener("test",null,t)}catch{}}let ub=!1;typeof window<"u"&&typeof navigator<"u"&&(ub=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const pb=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),K9={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},X9={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Y9(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Td(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const no=[];let ul=null;const J9={};function Q9(t){let e=J9[t];return e||(e=J9[t]=[]),e}let R0=function(){};typeof window<"u"&&(R0=window.Element);function En(t){return function(e){return xu(e.theme,t)}}const Ad="__floating-vue__popper",hb=()=>lr({name:"VPopper",provide(){return{[Ad]:{parentPopper:this}}},inject:{[Ad]:{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:En("disabled")},positioningDisabled:{type:Boolean,default:En("positioningDisabled")},placement:{type:String,default:En("placement"),validator:t=>pb.includes(t)},delay:{type:[String,Number,Object],default:En("delay")},distance:{type:[Number,String],default:En("distance")},skidding:{type:[Number,String],default:En("skidding")},triggers:{type:Array,default:En("triggers")},showTriggers:{type:[Array,Function],default:En("showTriggers")},hideTriggers:{type:[Array,Function],default:En("hideTriggers")},popperTriggers:{type:Array,default:En("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:En("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:En("popperHideTriggers")},container:{type:[String,Object,R0,Boolean],default:En("container")},boundary:{type:[String,R0],default:En("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:En("strategy")},autoHide:{type:[Boolean,Function],default:En("autoHide")},handleResize:{type:Boolean,default:En("handleResize")},instantMove:{type:Boolean,default:En("instantMove")},eagerMount:{type:Boolean,default:En("eagerMount")},popperClass:{type:[String,Array,Object],default:En("popperClass")},computeTransformOrigin:{type:Boolean,default:En("computeTransformOrigin")},autoMinSize:{type:Boolean,default:En("autoMinSize")},autoSize:{type:[Boolean,String],default:En("autoSize")},autoMaxSize:{type:Boolean,default:En("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:En("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:En("preventOverflow")},overflowPadding:{type:[Number,String],default:En("overflowPadding")},arrowPadding:{type:[Number,String],default:En("arrowPadding")},arrowOverflow:{type:Boolean,default:En("arrowOverflow")},flip:{type:Boolean,default:En("flip")},shift:{type:Boolean,default:En("shift")},shiftCrossAxis:{type:Boolean,default:En("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:En("noAutoFocus")},disposeTimeout:{type:Number,default:En("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[Ad])==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(mI({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(hI({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(gI({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(fI({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(uI({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,p;return i.startsWith("top")||i.startsWith("bottom")?l=a.reference.width:p=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"]=p!=null?`${p}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(vI({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 SI(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),ul&&this.instantMove&&ul.instantMove&&ul!==this.parentPopper){ul.$_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&&(ul=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 Td(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Kp(this.$_referenceNode),...Kp(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,Y9(no,this),no.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of G9(this.theme)){const r=Q9(n);Y9(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}ul===this&&(ul=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 Td(),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,K9,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],K9,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,X9,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],X9,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,Uc?{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(Q1>=t.left&&Q1<=t.right&&Z1>=t.top&&Z1<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Q1-Sa,r=Z1-Ea,a=e.left+e.width/2-Sa+(e.top+e.height/2)-Ea+e.width+e.height,i=Sa+n*a,s=Ea+r*a;return G2(Sa,Ea,i,s,e.left,e.top,e.left,e.bottom)||G2(Sa,Ea,i,s,e.left,e.top,e.right,e.top)||G2(Sa,Ea,i,s,e.right,e.top,e.right,e.bottom)||G2(Sa,Ea,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(ub){const t=Uc?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>Z9(e),t),document.addEventListener("touchend",e=>ev(e,!0),t)}else window.addEventListener("mousedown",t=>Z9(t),!0),window.addEventListener("click",t=>ev(t,!1),!0);window.addEventListener("resize",TI)}function Z9(t,e){for(let n=0;n=0;r--){const a=no[r];try{const i=a.containsGlobalTarget=a.mouseDownContains||a.popperNode().contains(t.target);a.pendingHide=!1,requestAnimationFrame(()=>{if(a.pendingHide=!1,!n[a.randomId]&&tv(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&&tv(s,s.containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function tv(t,e,n){return n.closeAllPopover||n.closePopover&&e||wI(t,n)&&!e}function wI(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function TI(){for(let t=0;t{Sa=Q1,Ea=Z1,Q1=t.clientX,Z1=t.clientY},Uc?{passive:!0}:void 0);function G2(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)),p=((n-t)*(e-i)-(r-e)*(t-a))/((o-i)*(n-t)-(s-a)*(r-e));return l>=0&&l<=1&&p>=0&&p<=1}const AI={extends:hb()},qh=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n};function _I(t,e,n,r,a,i){return Je(),lt("div",{ref:"reference",class:$r(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[hn(t.$slots,"default",gh(ju(t.slotData)))],2)}const MI=qh(AI,[["render",_I]]);function PI(){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 pp;function j0(){j0.init||(j0.init=!0,pp=PI()!==-1)}var Wh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){j0(),Es(()=>{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",pp&&this.$el.appendChild(t),t.data="about:blank",pp||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&&(!pp&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const LI=j5();D5("data-v-b329ee4c");const OI={class:"resize-observer",tabindex:"-1"};R5();const II=LI((t,e,n,r,a,i)=>(Je(),Jt("div",OI)));Wh.render=II;Wh.__scopeId="data-v-b329ee4c";Wh.__file="src/components/ResizeObserver.vue";const fb=(t="theme")=>({computed:{themeClass(){return EI(this[t])}}}),kI=lr({name:"VPopperContent",components:{ResizeObserver:Wh},mixins:[fb()],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}}}),zI=["id","aria-hidden","tabindex","data-popper-placement"],NI={ref:"inner",class:"v-popper__inner"},VI=Ze("div",{class:"v-popper__arrow-outer"},null,-1),HI=Ze("div",{class:"v-popper__arrow-inner"},null,-1),DI=[VI,HI];function RI(t,e,n,r,a,i){const s=na("ResizeObserver");return Je(),lt("div",{id:t.popperId,ref:"popover",class:$r(["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:Hs(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]=F8(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:Hs(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ze("div",NI,[t.mounted?(Je(),lt(Vr,{key:0},[Ze("div",null,[hn(t.$slots,"default")]),t.handleResize?(Je(),Jt(s,{key:0,onNotify:e[1]||(e[1]=o=>t.$emit("resize",o))})):rr("",!0)],64)):rr("",!0)],512),Ze("div",{ref:"arrow",class:"v-popper__arrow-container",style:Hs(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},DI,4)],4)],46,zI)}const db=qh(kI,[["render",RI]]),mb={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 B0=function(){};typeof window<"u"&&(B0=window.Element);const jI=lr({name:"VPopperWrapper",components:{Popper:MI,PopperContent:db},mixins:[mb,fb("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,B0,Boolean],default:void 0},boundary:{type:[String,B0],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 BI(t,e,n,r,a,i){const s=na("PopperContent"),o=na("Popper");return Je(),Jt(o,Is({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:zt(({popperId:l,isShown:p,shouldMountContent:u,skipTransition:h,autoHide:d,show:m,hide:f,handleResize:v,onResize:C,classes:S,result:x})=>[hn(t.$slots,"default",{shown:p,show:m,hide:f}),gt(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:p,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:S,result:x,onHide:f,onResize:C},{default:zt(()=>[hn(t.$slots,"popper",{shown:p,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 Tm=qh(jI,[["render",BI]]),FI={...Tm,name:"VDropdown",vPopperTheme:"dropdown"};({...Tm});const $I={...Tm,name:"VTooltip",vPopperTheme:"tooltip"},UI=lr({name:"VTooltipDirective",components:{Popper:hb(),PopperContent:db},mixins:[mb],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>xu(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>xu(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}}}),qI=["innerHTML"],WI=["textContent"];function GI(t,e,n,r,a,i){const s=na("PopperContent"),o=na("Popper");return Je(),Jt(o,Is({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:zt(({popperId:l,isShown:p,shouldMountContent:u,skipTransition:h,autoHide:d,hide:m,handleResize:f,onResize:v,classes:C,result:S})=>[gt(s,{ref:"popperContent",class:$r({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:p,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":f,classes:C,result:S,onHide:m,onResize:v},{default:zt(()=>[t.html?(Je(),lt("div",{key:0,innerHTML:t.finalContent},null,8,qI)):(Je(),lt("div",{key:1,textContent:cn(t.finalContent)},null,8,WI))]),_: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 KI=qh(UI,[["render",GI]]),gb="v-popper--has-tooltip";function XI(t,e){let n=t.placement;if(!n&&e)for(const r of pb)e[r]&&(n=r);return n||(n=xu(t.theme||"tooltip","placement")),n}function vb(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=XI(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let _d,wu,YI=0;function JI(){if(_d)return;wu=xt([]),_d=hu({name:"VTooltipDirectiveApp",setup(){return{directives:wu}},render(){return this.directives.map(e=>Wa(KI,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),_d.mount(t)}function QI(t,e,n){JI();const r=xt(vb(t,e,n)),a=xt(!1),i={id:YI++,options:r,shown:a};return wu.value.push(i),t.classList&&t.classList.add(gb),t.$_popper={options:r,item:i,show(){a.value=!0},hide(){a.value=!1}}}function yb(t){if(t.$_popper){const e=wu.value.indexOf(t.$_popper.item);e!==-1&&wu.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(gb)}function rv(t,{value:e,modifiers:n}){const r=vb(t,e,n);if(!r.content||xu(r.theme||"tooltip","disabled"))yb(t);else{let a;t.$_popper?(a=t.$_popper,a.options.value=r):a=QI(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?a.show():a.hide())}}const ZI={beforeMount:rv,updated:rv,beforeUnmount(t){yb(t)}};function nv(t){t.addEventListener("mousedown",Xp),t.addEventListener("click",Xp),t.addEventListener("touchstart",bb,Uc?{passive:!0}:!1)}function sv(t){t.removeEventListener("mousedown",Xp),t.removeEventListener("click",Xp),t.removeEventListener("touchstart",bb),t.removeEventListener("touchend",Cb),t.removeEventListener("touchcancel",Sb)}function Xp(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function bb(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",Cb),e.addEventListener("touchcancel",Sb)}}function Cb(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 Sb(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const ek={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&nv(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?nv(t):sv(t))},beforeUnmount(t){sv(t)}},Ss=ZI,Eb=ek,tk=FI,rk=$I;function Po(t){return yh()?(O5(t),!0):!1}const Md=new WeakMap,nk=(...t)=>{var e;const n=t[0],r=(e=ws())==null?void 0:e.proxy;if(r==null&&!Q5())throw new Error("injectLocal must be called in setup");return r&&Md.has(r)&&n in Md.get(r)?Md.get(r)[n]:zn(...t)};function sk(t,e,{enumerable:n=!1,unwrap:r=!0}={}){for(const[a,i]of Object.entries(e))a!=="value"&&(xn(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 rX(t){if(!xn(t))return lo(t);const e=new Proxy({},{get(n,r,a){return $e(Reflect.get(t.value,r,a))},set(n,r,a){return xn(t.value[r])&&!xn(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 lo(e)}const Ml=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ik=t=>typeof t<"u",xb=t=>t!=null,ok=Object.prototype.toString,ak=t=>ok.call(t)==="[object Object]",ki=()=>{},F0=lk();function lk(){var t,e;return Ml&&((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 Am(...t){if(t.length!==1)return by(...t);const e=t[0];return typeof e=="function"?Il(Th(()=>({get:e,set:ki}))):xt(e)}function wb(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 Tb=t=>t();function Ab(t,e={}){let n,r,a=ki;const i=l=>{clearTimeout(l),a(),a=ki};let s;return l=>{const p=Pr(t),u=Pr(e.maxWait);return n&&i(n),p<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((h,d)=>{a=e.rejectOnCancel?d:h,s=l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,h(s())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,h(l())},p)})}}function ck(t=Tb,e={}){const{initialState:n="active"}=e,r=Am(n==="active");function a(){r.value=!1}function i(){r.value=!0}const s=(...o)=>{r.value&&t(...o)};return{isActive:Il(r),pause:a,resume:i,eventFilter:s}}function uk(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 iv(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Ic(t){return Array.isArray(t)?t:[t]}function pk(t){return ws()}function hk(t,e=200,n={}){return wb(Ab(e,n),t)}function fk(t,e=200,n={}){const r=xt(Pr(t)),a=hk(()=>{r.value=t.value},e,n);return Lr(t,()=>a()),Hu(r)}function dk(t,e={}){let n=t,r,a;const i=Th((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 sk(i,{get:s,set:o,untrackedGet:()=>s(!1),silentSet:d=>o(d,!1),peek:()=>s(!1),lay:d=>o(d,!1)},{enumerable:!0})}function _b(t,e,n={}){const{eventFilter:r=Tb,...a}=n;return Lr(t,wb(r,e),a)}function mk(t,e,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:s,pause:o,resume:l,isActive:p}=ck(r,{initialState:a});return{stop:_b(t,e,{...i,eventFilter:s}),pause:o,resume:l,isActive:p}}const gk=Pr;function Qc(t,e=!0,n){pk()?ri(t,n):e?t():Es(t)}function vk(t,e=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let i=null;const s=qr(!1);function o(){i&&(clearInterval(i),i=null)}function l(){s.value=!1,o()}function p(){const u=Pr(e);u<=0||(s.value=!0,a&&t(),o(),s.value&&(i=setInterval(t,u)))}if(r&&Ml&&p(),xn(e)||typeof e=="function"){const u=Lr(e,()=>{s.value&&Ml&&p()});Po(u)}return Po(l),{isActive:Hu(s),pause:l,resume:p}}function yk(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=qr(!1);let s;function o(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,o()}function p(...u){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},Pr(e))}return r&&(i.value=!0,Ml&&p()),Po(l),{isPending:Hu(i),start:p,stop:l}}function bk(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=xn(t),i=qr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Pr(n);return i.value=i.value===l?Pr(r):l,i.value}}return a?s:[i,s]}function nX(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return _b(t,e,{...i,eventFilter:Ab(r,{maxWait:a})})}function Ck(t,e,n){return Lr(t,e,{...n,immediate:!0})}function sX(t,e,n){return Lr(t,e,{...n,once:!0})}function iX(t,e,n){var r;let a;xn(n)?a={evaluating:n}:a={};const{lazy:i=!1,flush:s="pre",evaluating:o=void 0,shallow:l=!0,onError:p=(r=globalThis.reportError)!=null?r:ki}=a,u=qr(!i),h=l?qr(e):xt(e);let d=0;return Zs(async m=>{if(!u.value)return;d++;const f=d;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const C=await t(S=>{m(()=>{o&&(o.value=!1),v||S()})});f===d&&(h.value=C)}catch(C){p(C)}finally{o&&f===d&&(o.value=!1),v=!0}},{flush:s}),i?pt(()=>(u.value=!0,h.value)):h}const Ai=Ml?window:void 0,Sk=Ml?window.document:void 0,Mb=Ml?window.navigator:void 0;function qs(t){var e;const n=Pr(t);return(e=n?.$el)!=null?e:n}function ui(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,p,u)=>(o.addEventListener(l,p,u),()=>o.removeEventListener(l,p,u)),a=pt(()=>{const o=Ic(Pr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=Ck(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(p=>qs(p)))!=null?l:[Ai].filter(p=>p!=null),Ic(Pr(a.value?t[1]:t[0])),Ic($e(a.value?t[2]:t[1])),Pr(a.value?t[3]:t[2])]},([o,l,p,u])=>{if(n(),!o?.length||!l?.length||!p?.length)return;const h=ak(u)?{...u}:u;e.push(...o.flatMap(d=>l.flatMap(m=>p.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return Po(n),s}let ov=!1;function Ek(t,e,n={}){const{window:r=Ai,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:o=!1}=n;if(!r)return o?{stop:ki,cancel:ki,trigger:ki}:ki;if(F0&&!ov){ov=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(S=>S.addEventListener("click",ki,C)),r.document.documentElement.addEventListener("click",ki,C)}let l=!0;const p=C=>Pr(a).some(S=>{if(typeof S=="string")return Array.from(r.document.querySelectorAll(S)).some(x=>x===C.target||C.composedPath().includes(x));{const x=qs(S);return x&&(C.target===x||C.composedPath().includes(x))}});function u(C){const S=Pr(C);return S&&S.$.subTree.shapeFlag===16}function h(C,S){const x=Pr(C),g=x.$.subTree&&x.$.subTree.children;return g==null||!Array.isArray(g)?!1:g.some(w=>w.el===S.target||S.composedPath().includes(w.el))}const d=C=>{const S=qs(t);if(C.target!=null&&!(!(S instanceof Element)&&u(t)&&h(t,C))&&!(!S||S===C.target||C.composedPath().includes(S))){if("detail"in C&&C.detail===0&&(l=!p(C)),!l){l=!0;return}e(C)}};let m=!1;const f=[ui(r,"click",C=>{m||(m=!0,setTimeout(()=>{m=!1},0),d(C))},{passive:!0,capture:i}),ui(r,"pointerdown",C=>{const S=qs(t);l=!p(C)&&!!(S&&!C.composedPath().includes(S))},{passive:!0}),s&&ui(r,"blur",C=>{setTimeout(()=>{var S;const x=qs(t);((S=r.document.activeElement)==null?void 0:S.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 xk(){const t=qr(!1),e=ws();return e&&ri(()=>{t.value=!0},e),t}function Vl(t){const e=xk();return pt(()=>(e.value,!!t()))}function wk(t,e,n={}){const{window:r=Ai,...a}=n;let i;const s=Vl(()=>r&&"MutationObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const d=Pr(t),m=Ic(d).map(qs).filter(xb);return new Set(m)}),p=Lr(l,d=>{o(),s.value&&d.size&&(i=new MutationObserver(e),d.forEach(m=>i.observe(m,a)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),h=()=>{p(),o()};return Po(h),{isSupported:s,stop:h,takeRecords:u}}function Tk(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function Pb(...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=Ai,eventName:i="keydown",passive:s=!1,dedupe:o=!1}=r,l=Tk(e);return ui(a,i,u=>{u.repeat&&Pr(o)||l(u)&&n(u)},s)}function Ak(t,e={}){const{immediate:n=!0,fpsLimit:r=void 0,window:a=Ai,once:i=!1}=e,s=qr(!1),o=pt(()=>r?1e3/Pr(r):null);let l=0,p=null;function u(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=qr(typeof r=="number"),s=qr(),o=qr(!1),l=p=>{o.value=p.matches};return Zs(()=>{if(i.value){i.value=!a.value;const p=Pr(t).split(",");o.value=p.some(u=>{const h=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||m);return d&&f&&(f=r>=iv(d[1])),m&&f&&(f=r<=iv(m[1])),h?!f:f});return}a.value&&(s.value=n.matchMedia(Pr(t)),o.value=s.value.matches)}),ui(s,"change",l,{passive:!0}),pt(()=>o.value)}function av(t,e={}){const{controls:n=!1,navigator:r=Mb}=e,a=Vl(()=>r&&"permissions"in r),i=qr(),s=typeof t=="string"?{name:t}:t,o=qr(),l=()=>{var u,h;o.value=(h=(u=i.value)==null?void 0:u.state)!=null?h:"prompt"};ui(i,"change",l,{passive:!0});const p=uk(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 gn(i.value)}});return p(),n?{state:o,isSupported:a,query:p}:o}function Pk(t={}){const{navigator:e=Mb,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=Vl(()=>e&&"clipboard"in e),o=av("clipboard-read"),l=av("clipboard-write"),p=pt(()=>s.value||i),u=qr(""),h=qr(!1),d=yk(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&S(o.value));if(!x)try{u.value=await e.clipboard.readText()}catch{x=!0}x&&(u.value=C())}p.value&&n&&ui(["copy","cut"],m,{passive:!0});async function f(x=Pr(r)){if(p.value&&x!=null){let g=!(s.value&&S(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),u.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 S(x){return x==="granted"||x==="prompt"}return{isSupported:p,text:u,copied:h,copy:f}}function Lk(t){return JSON.parse(JSON.stringify(t))}const K2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},X2="__vueuse_ssr_handlers__",Ok=Ik();function Ik(){return X2 in K2||(K2[X2]=K2[X2]||{}),K2[X2]}function Lb(t,e){return Ok[t]||e}function kk(t){return _m("(prefers-color-scheme: dark)",t)}function zk(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 Nk={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()}},lv="vueuse-storage";function Ob(t,e,n,r={}){var a;const{flush:i="pre",deep:s=!0,listenToStorageChanges:o=!0,writeDefaults:l=!0,mergeDefaults:p=!1,shallow:u,window:h=Ai,eventFilter:d,onError:m=N=>{console.error(N)},initOnMounted:f}=r,v=(u?qr:xt)(typeof e=="function"?e():e),C=pt(()=>Pr(t));if(!n)try{n=Lb("getDefaultStorage",()=>{var N;return(N=Ai)==null?void 0:N.localStorage})()}catch(N){m(N)}if(!n)return v;const S=Pr(e),x=zk(S),g=(a=r.serializer)!=null?a:Nk[x],{pause:w,resume:y}=mk(v,N=>z(N),{flush:i,deep:s,eventFilter:d});Lr(C,()=>W(),{flush:i});let _=!1;const T=N=>{f&&!_||W(N)},O=N=>{f&&!_||F(N)};h&&o&&(n instanceof Storage?ui(h,"storage",T,{passive:!0}):ui(h,lv,O)),f?Qc(()=>{_=!0,W()}):W();function I(N,$){if(h){const H={key:C.value,oldValue:N,newValue:$,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(lv,{detail:H}))}}function z(N){try{const $=n.getItem(C.value);if(N==null)I($,null),n.removeItem(C.value);else{const H=g.write(N);$!==H&&(n.setItem(C.value,H),I($,H))}}catch($){m($)}}function q(N){const $=N?N.newValue:n.getItem(C.value);if($==null)return l&&S!=null&&n.setItem(C.value,g.write(S)),S;if(!N&&p){const H=g.read($);return typeof p=="function"?p(H,S):x==="object"&&!Array.isArray(H)?{...S,...H}:H}else return typeof $!="string"?$:g.read($)}function W(N){if(!(N&&N.storageArea!==n)){if(N&&N.key==null){v.value=S;return}if(!(N&&N.key!==C.value)){w();try{const $=g.write(v.value);(N===void 0||N?.newValue!==$)&&(v.value=q(N))}catch($){m($)}finally{N?Es(y):y()}}}}function F(N){W(N.detail)}return v}const Vk="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Hk(t={}){const{selector:e="html",attribute:n="class",initialValue:r="auto",window:a=Ai,storage:i,storageKey:s="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:l,emitAuto:p,disableTransition:u=!0}=t,h={auto:"",light:"light",dark:"dark",...t.modes||{}},d=kk({window:a}),m=pt(()=>d.value?"dark":"light"),f=l||(s==null?Am(r):Ob(s,r,i,{window:a,listenToStorageChanges:o})),v=pt(()=>f.value==="auto"?m.value:f.value),C=Lb("updateHTMLAttrs",(w,y,_)=>{const T=typeof w=="string"?a?.document.querySelector(w):qs(w);if(!T)return;const O=new Set,I=new Set;let z=null;if(y==="class"){const W=_.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:y,value:_};if(O.size===0&&I.size===0&&z===null)return;let q;u&&(q=a.document.createElement("style"),q.appendChild(document.createTextNode(Vk)),a.document.head.appendChild(q));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),u&&(a.getComputedStyle(q).opacity,document.head.removeChild(q))});function S(w){var y;C(e,n,(y=h[w])!=null?y:w)}function x(w){t.onChanged?t.onChanged(w,S):S(w)}Lr(v,x,{flush:"post",immediate:!0}),Qc(()=>x(v.value));const g=pt({get(){return p?f.value:v.value},set(w){f.value=w}});return Object.assign(g,{store:f,system:m,state:v})}function Mm(t,e,n={}){const{window:r=Ai,...a}=n;let i;const s=Vl(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Pr(t);return Array.isArray(h)?h.map(d=>qs(d)):[qs(h)]}),p=Lr(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"}),u=()=>{o(),p()};return Po(u),{isSupported:s,stop:u}}function Dk(t,e={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:i=!0,updateTiming:s="sync"}=e,o=qr(0),l=qr(0),p=qr(0),u=qr(0),h=qr(0),d=qr(0),m=qr(0),f=qr(0);function v(){const S=qs(t);if(!S){n&&(o.value=0,l.value=0,p.value=0,u.value=0,h.value=0,d.value=0,m.value=0,f.value=0);return}const x=S.getBoundingClientRect();o.value=x.height,l.value=x.bottom,p.value=x.left,u.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 Mm(t,C),Lr(()=>qs(t),S=>!S&&C()),wk(t,C,{attributeFilter:["style","class"]}),a&&ui("scroll",C,{capture:!0,passive:!0}),r&&ui("resize",C,{passive:!0}),Qc(()=>{i&&C()}),{height:o,bottom:l,left:p,right:u,top:h,width:d,x:m,y:f,update:C}}function Rk(t,e={width:0,height:0},n={}){const{window:r=Ai,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=qs(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=qr(e.width),o=qr(e.height),{stop:l}=Mm(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=qs(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=Ic(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);Qc(()=>{const h=qs(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const p=Lr(()=>qs(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function u(){l(),p()}return{width:s,height:o,stop:u}}function jk(t,e,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:s=Ai,immediate:o=!0}=n,l=Vl(()=>s&&"IntersectionObserver"in s),p=pt(()=>{const f=Pr(t);return Ic(f).map(qs).filter(xb)});let u=ki;const h=qr(o),d=l.value?Lr(()=>[p.value,qs(r),h.value],([f,v])=>{if(u(),!h.value||!f.length)return;const C=new IntersectionObserver(e,{root:qs(v),rootMargin:a,threshold:i});f.forEach(S=>S&&C.observe(S)),u=()=>{C.disconnect(),u=ki}},{immediate:o,flush:"post"}):ki,m=()=>{u(),d(),h.value=!1};return Po(m),{isSupported:l,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:m}}function Bk(t={}){const{initialValue:e=""}=t,n=Vl(()=>typeof window<"u"&&"EyeDropper"in window),r=qr(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 Pd(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function Fk(t,e,n={}){const{window:r=Ai}=n;return Ob(t,e,r?.localStorage,n)}function $k(t={}){const{controls:e=!1,interval:n="requestAnimationFrame",immediate:r=!0}=t,a=xt(new Date),i=()=>a.value=new Date,s=n==="requestAnimationFrame"?Ak(i,{immediate:r}):vk(i,n,{immediate:r});return e?{now:a,...s}:a}function Uk(t){const e=_m("(prefers-reduced-motion: reduce)",t);return pt(()=>e.value?"reduce":"no-preference")}function Ib(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 Ld=new WeakMap;function Wk(t,e=!1){const n=qr(e);let r=null,a="";Lr(Am(t),o=>{const l=Pd(Pr(o));if(l){const p=l;if(Ld.get(p)||Ld.set(p,p.style.overflow),p.style.overflow!=="hidden"&&(a=p.style.overflow),p.style.overflow==="hidden")return n.value=!0;if(n.value)return p.style.overflow="hidden"}},{immediate:!0});const i=()=>{const o=Pd(Pr(t));!o||n.value||(F0&&(r=ui(o,"touchmove",l=>{qk(l)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},s=()=>{const o=Pd(Pr(t));!o||!n.value||(F0&&r?.(),o.style.overflow=a,Ld.delete(o),n.value=!1)};return Po(s),pt({get(){return n.value},set(o){o?i():s()}})}let Gk=0;function oX(t,e={}){const n=qr(!1),{document:r=Sk,immediate:a=!0,manual:i=!1,id:s=`vueuse_styletag_${++Gk}`}=e,o=qr(t);let l=()=>{};const p=()=>{if(!r)return;const h=r.getElementById(s)||r.createElement("style");h.isConnected||(h.id=s,e.nonce&&(h.nonce=e.nonce),e.media&&(h.media=e.media),r.head.appendChild(h)),!n.value&&(l=Lr(o,d=>{h.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return a&&!i&&Qc(p),i||Po(u),{id:s,css:o,unload:u,load:p,isLoaded:Il(n)}}const Kk=[{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"}],Xk={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 Yk(t){return t.toISOString().slice(0,10)}function aX(t,e={}){const{controls:n=!1,updateInterval:r=3e4}=e,{now:a,...i}=$k({interval:r,controls:!0}),s=pt(()=>Jk(new Date(Pr(t)),e,Pr(a)));return n?{timeAgo:s,...i}:s}function Jk(t,e={},n=Date.now()){var r;const{max:a,messages:i=Xk,fullDateFormatter:s=Yk,units:o=Kk,showSecond:l=!1,rounding:p="round"}=e,u=typeof p=="number"?C=>+C.toFixed(p):Math[p],h=+n-+t,d=Math.abs(h);function m(C,S){return u(Math.abs(C)/S.value)}function f(C,S){const x=m(C,S),g=C>0,w=v(S.name,x,g);return v(g?"past":"future",w,g)}function v(C,S,x){const g=i[C];return typeof g=="function"?g(S,x):g.replace("{0}",S.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(S=>S.name===a))==null?void 0:r.max;if(C&&d>C)return s(new Date(t))}for(const[C,S]of o.entries()){if(m(h,S)<=0&&o[C-1])return f(h,o[C-1]);if(do?typeof o=="function"?o(g):Lk(g):g,S=()=>ik(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=S(),w=xt(g);let y=!1;return Lr(()=>t[e],_=>{y||(y=!0,w.value=C(_),Es(()=>y=!1))}),Lr(w,_=>{!y&&(_!==t[e]||u)&&x(_)},{deep:u}),w}else return pt({get(){return S()},set(g){x(g)}})}function Qk(t={}){const{window:e=Ai,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:i=!0,type:s="inner"}=t,o=qr(n),l=qr(r),p=()=>{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)};p(),Qc(p);const u={passive:!0};if(ui("resize",p,u),e&&s==="visual"&&e.visualViewport&&ui(e.visualViewport,"resize",p,u),a){const h=_m("(orientation: portrait)");Lr(h,()=>p())}return{width:o,height:l}}let $s=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Zk(t){return Pm(t)}function Pm(t){return Array.isArray(t)?ez(t):t instanceof RegExp?t:typeof t=="object"?tz(t):t}function ez(t){let e=[];for(let n=0,r=t.length;n{for(let r in n)t[r]=n[r]}),t}function zb(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?zb(t.substring(0,t.length-1)):t.substr(~e+1)}var Od=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Y2=class{static hasCaptures(t){return t===null?!1:(Od.lastIndex=0,Od.test(t))}static replaceCaptures(t,e,n){return t.replace(Od,(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 Nb(t,e){return te?1:0}function Vb(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=>rz(t.parent,a.parentScopes));return r?new Rb(r.fontStyle,r.foreground,r.background):null}},Id=class hp{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new hp(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&&!nz(t.scopeName,r);){if(a)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function nz(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Rb=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function sz(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 iz(v,C,a,l,p,u)}}return n}var iz=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}},li=(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))(li||{});function oz(t,e){t.sort((l,p)=>{let u=Nb(l.scope,p.scope);return u!==0||(u=Vb(l.parentScopes,p.parentScopes),u!==0)?u:l.index-p.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 az(e),s=new Rb(n,i.getId(r),i.getId(a)),o=new cz(new $0(0,null,-1,0,0),[]);for(let l=0,p=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)}},cz=class U0{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(U0._cmpBySpecificity),n}insert(e,n,r,a,i,s){if(n===""){this._doInsertHere(e,r,a,i,s);return}let o=n.indexOf("."),l,p;o===-1?(l=n,p=""):(l=n.substring(0,o),p=n.substring(o+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new U0(this._mainRule.clone(),$0.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,p,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=Fi.getLanguageId(e),p=Fi.getTokenType(e),u=Fi.containsBalancedBrackets(e)?1:0,h=Fi.getFontStyle(e),d=Fi.getForeground(e),m=Fi.getBackground(e);return n!==0&&(l=n),r!==8&&(p=r),a!==null&&(u=a?1:0),i!==-1&&(h=i),s!==0&&(d=s),o!==0&&(m=o),(l<<0|p<<8|u<<10|h<<11|d<<15|m<<24)>>>0}};function Jp(t,e){const n=[],r=uz(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 p=s();if(n.push({matcher:p,priority:l}),a!==",")break;a=r.next()}return n;function i(){if(a==="-"){a=r.next();const l=i();return p=>!!l&&!l(p)}if(a==="("){a=r.next();const l=o();return a===")"&&(a=r.next()),l}if(uv(a)){const l=[];do l.push(a),a=r.next();while(uv(a));return p=>e(l,p)}return null}function s(){const l=[];let p=i();for(;p;)l.push(p),p=i();return u=>l.every(h=>h(u))}function o(){const l=[];let p=s();for(;p&&(l.push(p),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");p=s()}return u=>l.some(h=>h(u))}}function uv(t){return!!t&&!!t.match(/[\w\.:]+/)}function uz(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 Bb(t){typeof t.dispose=="function"&&t.dispose()}var Tu=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},pz=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},hz=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))}},fz=class{constructor(t,e){this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Tu(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const t=this.Q;this.Q=[];const e=new hz;for(const n of t)dz(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Tu){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 dz(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 Tu?fp({baseGrammar:i,selfGrammar:a},r):q0(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 Tu(o))}function q0(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];Qp([r],e,n)}}function fp(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Qp(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Qp(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Qp(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?kb({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&Qp(r.patterns,{...e,repository:a},n);const i=r.include;if(!i)continue;const s=Fb(i);switch(s.kind){case 0:fp({...e,selfGrammar:e.baseGrammar},n);break;case 1:fp(e,n);break;case 2:q0(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?q0(s.ruleName,l,n):fp(l,n)}else s.kind===4?n.add(new pz(s.scopeName,s.ruleName)):n.add(new Tu(s.scopeName));break}}}var mz=class{kind=0},gz=class{kind=1},vz=class{constructor(t){this.ruleName=t}kind=2},yz=class{constructor(t){this.scopeName=t}kind=3},bz=class{constructor(t,e){this.scopeName=t,this.ruleName=e}kind=4};function Fb(t){if(t==="$base")return new mz;if(t==="$self")return new gz;const e=t.indexOf("#");if(e===-1)return new yz(t);if(e===0)return new vz(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new bz(n,r)}}var Cz=/\\(\d+)/,pv=/\\(\d+)/g,Sz=-1,$b=-2;var Gu=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,e,n,r){this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=Y2.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Y2.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${zb(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:Y2.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Y2.replaceCaptures(this._contentName,t,e)}},Ez=class extends Gu{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!")}},xz=class extends Gu{_match;captures;_cachedCompiledPatterns;constructor(t,e,n,r,a){super(t,e,n,null),this._match=new Au(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}},hv=class extends Gu{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}},W0=class extends Gu{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,a,i,s,o,l,p){super(t,e,n,r),this._begin=new Au(a,this.id),this.beginCaptures=i,this._end=new Au(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=p.patterns,this.hasMissingPatterns=p.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}},Zp=class extends Gu{_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 Au(a,this.id),this.beginCaptures=i,this.whileCaptures=o,this._while=new Au(s,$b),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}},Ub=class si{static createCaptureRule(e,n,r,a,i){return e.registerRule(s=>new Ez(n,s,r,a,i))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(a=>{if(e.id=a,e.match)return new xz(e.$vscodeTextmateLocation,e.id,e.name,e.match,si._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=kb({},r,e.repository));let i=e.patterns;return typeof i>"u"&&e.include&&(i=[{include:e.include}]),new hv(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,si._compilePatterns(i,n,r))}return e.while?new Zp(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,si._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,si._compileCaptures(e.whileCaptures||e.captures,n,r),si._compilePatterns(e.patterns,n,r)):new W0(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,si._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,si._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,si._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=si.getCompiledRuleId(e[s],n,r)),a[o]=si.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 pv.lastIndex=0,this.source.replace(pv,(a,i)=>Hb(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 fv(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 fv(t,r,this._items.map(a=>a.ruleId))}},fv=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 kd(n,r)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(G0.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/},Tz=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])=>Hb(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])}},dv=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function Wb(t,e,n,r,a,i,s,o){const l=e.content.length;let p=!1,u=-1;if(s){const m=Az(t,e,n,r,a,i);a=m.stack,r=m.linePos,n=m.isFirstLine,u=m.anchorPosition}const h=Date.now();for(;!p;){if(o!==0&&Date.now()-h>o)return new dv(a,!0);d()}return new dv(a,!1);function d(){const m=_z(t,e,n,r,a,u);if(!m){i.produce(a,l),p=!0;return}const f=m.captureIndices,v=m.matchedRuleId,C=f&&f.length>0?f[0].end>r:!1;if(v===Sz){const S=a.getRule(t);i.produce(a,f[0].start),a=a.withContentNameScopesList(a.nameScopesList),j1(t,e,n,a,i,S.endCaptures,f),i.produce(a,f[0].end);const x=a;if(a=a.parent,u=x.getAnchorPos(),!C&&x.getEnterPos()===r){a=x,i.produce(a,l),p=!0;return}}else{const S=t.getRule(v);i.produce(a,f[0].start);const x=a,g=S.getName(e.content,f),w=a.contentNameScopesList.pushAttributed(g,t);if(a=a.push(v,r,u,f[0].end===l,null,w,w),S instanceof W0){const y=S;j1(t,e,n,a,i,y.beginCaptures,f),i.produce(a,f[0].end),u=f[0].end;const _=y.getContentName(e.content,f),T=w.pushAttributed(_,t);if(a=a.withContentNameScopesList(T),y.endHasBackReferences&&(a=a.withEndRule(y.getEndWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),p=!0;return}}else if(S instanceof Zp){const y=S;j1(t,e,n,a,i,y.beginCaptures,f),i.produce(a,f[0].end),u=f[0].end;const _=y.getContentName(e.content,f),T=w.pushAttributed(_,t);if(a=a.withContentNameScopesList(T),y.whileHasBackReferences&&(a=a.withEndRule(y.getWhileWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),p=!0;return}}else if(j1(t,e,n,a,i,S.captures,f),i.produce(a,f[0].end),a=a.pop(),!C){a=a.safePop(),i.produce(a,l),p=!0;return}}f[0].end>r&&(r=f[0].end,n=!1)}}function Az(t,e,n,r,a,i){let s=a.beginRuleCapturedEOL?0:-1;const o=[];for(let l=a;l;l=l.pop()){const p=l.getRule(t);p instanceof Zp&&o.push({rule:p,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:p,findOptions:u}=Lz(l.rule,t,l.stack.endRule,n,r===s),h=p.findNextMatchSync(e,r,u);if(h){if(h.ruleId!==$b){a=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(i.produce(l.stack,h.captureIndices[0].start),j1(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 _z(t,e,n,r,a,i){const s=Mz(t,e,n,r,a,i),o=t.getInjections();if(o.length===0)return s;const l=Pz(o,t,e,n,r,a,i);if(!l)return s;if(!s)return l;const p=s.captureIndices[0].start,u=l.captureIndices[0].start;return u=o)&&(o=g,l=x.captureIndices,p=x.ruleId,u=f.priority,o===a))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:p}:null}function Gb(t,e,n,r,a){return{ruleScanner:t.compileAG(e,n,r,a),findOptions:0}}function Lz(t,e,n,r,a){return{ruleScanner:t.compileWhileAG(e,n,r,a),findOptions:0}}function j1(t,e,n,r,a,i,s){if(i.length===0)return;const o=e.content,l=Math.min(i.length,s.length),p=[],u=s[0].end;for(let h=0;hu)break;for(;p.length>0&&p[p.length-1].endPos<=m.start;)a.produceFromScopes(p[p.length-1].scopes,p[p.length-1].endPos),p.pop();if(p.length>0?a.produceFromScopes(p[p.length-1].scopes,m.start):a.produce(r,m.start),d.retokenizeCapturedWithRuleId){const v=d.getName(o,s),C=r.contentNameScopesList.pushAttributed(v,t),S=d.getContentName(o,s),x=C.pushAttributed(S,t),g=r.push(d.retokenizeCapturedWithRuleId,m.start,-1,!1,null,C,x),w=t.createOnigString(o.substring(0,m.end));Wb(t,w,n&&m.start===0,m.start,g,a,!1,0),Bb(w);continue}const f=d.getName(o,s);if(f!==null){const C=(p.length>0?p[p.length-1].scopes:r.contentNameScopesList).pushAttributed(f,t);p.push(new Oz(C,m.end))}}for(;p.length>0;)a.produceFromScopes(p[p.length-1].scopes,p[p.length-1].endPos),p.pop()}var Oz=class{scopes;endPos;constructor(t,e){this.scopes=t,this.endPos=e}};function Iz(t,e,n,r,a,i,s,o){return new zz(t,e,n,r,a,i,s,o)}function mv(t,e,n,r,a){const i=Jp(e,eh),s=Ub.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 eh(t,e){if(e.length{for(let a=n;an&&t.substr(0,n)===e&&t[n]==="."}var zz=class{constructor(t,e,n,r,a,i,s,o){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=o,this._basicScopeAttributesProvider=new wz(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=gv(e,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const l of Object.keys(a)){const p=Jp(l,eh);for(const u of p)this._tokenTypeMatchers.push({matcher:u.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)mv(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&&mv(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]=gv(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=Ub.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!e||e===K0.NULL){a=!0;const p=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),h=qc.set(0,p.languageId,p.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=eu.createRootAndLookUpScopeName(d,h,this):m=eu.createRoot("unknown",h),e=new K0(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 Vz(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Wb(this,i,a,0,e,o,!0,r);return Bb(i),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function gv(t,e){return t=Zk(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 eu=class bo{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=Id.push(a,i.scopeNames),r=new bo(r,a,i.encodedTokenAttributes);return r}static createRoot(e,n){return new bo(null,new Id(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const a=r.getMetadataForScope(e),i=new Id(null,e),s=r.themeProvider.themeMatch(i),o=bo.mergeAttributes(n,a,s);return new bo(null,i,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return bo.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),qc.set(e,n.languageId,n.tokenType,null,a,i,s)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return bo._pushAttributed(this,e,n);const r=e.split(/ /g);let a=this;for(const i of r)a=bo._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=bo.mergeAttributes(e.tokenAttributes,a,s);return new bo(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}},K0=class fl{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 fl(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:fl._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?eu.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(){fl._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,a,i,s,o){return new fl(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 fl(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=eu.fromExtension(e?.nameScopesList??null,n.nameScopesList);return new fl(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,eu.fromExtension(r,n.contentNameScopesList))}},Nz=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,e){this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Jp(n,eh).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>Jp(n,eh).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}},Vz=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=qc.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(r=qc.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)}},X0=K0.NULL;const Rz=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Ku{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}Ku.prototype.normal={};Ku.prototype.property={};Ku.prototype.space=void 0;function Kb(t,e){const n={},r={};for(const a of t)Object.assign(n,a.property),Object.assign(r,a.normal);return new Ku(n,r,e)}function Y0(t){return t.toLowerCase()}class _i{constructor(e,n){this.attribute=n,this.property=e}}_i.prototype.attribute="";_i.prototype.booleanish=!1;_i.prototype.boolean=!1;_i.prototype.commaOrSpaceSeparated=!1;_i.prototype.commaSeparated=!1;_i.prototype.defined=!1;_i.prototype.mustUseProperty=!1;_i.prototype.number=!1;_i.prototype.overloadedBoolean=!1;_i.prototype.property="";_i.prototype.spaceSeparated=!1;_i.prototype.space=void 0;let jz=0;const Qr=Dl(),Os=Dl(),Xb=Dl(),Rt=Dl(),ts=Dl(),kc=Dl(),Ii=Dl();function Dl(){return 2**++jz}const J0=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qr,booleanish:Os,commaOrSpaceSeparated:Ii,commaSeparated:kc,number:Rt,overloadedBoolean:Xb,spaceSeparated:ts},Symbol.toStringTag,{value:"Module"})),zd=Object.keys(J0);class Lm extends _i{constructor(e,n,r,a){let i=-1;if(super(e,n),vv(this,"space",a),typeof r=="number")for(;++i4&&n.slice(0,4)==="data"&&Uz.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(yv,Gz);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!yv.test(i)){let s=i.replace($z,Wz);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}a=Lm}return new a(r,e)}function Wz(t){return"-"+t.toLowerCase()}function Gz(t){return t.charAt(1).toUpperCase()}const Kz=Kb([Yb,Bz,Zb,eC,tC],"html"),rC=Kb([Yb,Fz,Zb,eC,tC],"svg"),bv={}.hasOwnProperty;function Xz(t,e){const n=e||{};function r(a,...i){let s=r.invalid;const o=r.handlers;if(a&&bv.call(a,t)){const l=String(a[t]);s=bv.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 Yz=/["&'<>`]/g,Jz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qz=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Zz=/[|\\{}()[\]^$+*?.]/g,Cv=new WeakMap;function eN(t,e){if(t=t.replace(e.subset?tN(e.subset):Yz,r),e.subset||e.escapeOnly)return t;return t.replace(Jz,n).replace(Qz,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 tN(t){let e=Cv.get(t);return e||(e=rN(t),Cv.set(t,e)),e}function rN(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:"€"},lN=["cent","copy","divide","gt","lt","not","para","times"],nC={}.hasOwnProperty,Q0={};let J2;for(J2 in Nd)nC.call(Nd,J2)&&(Q0[Nd[J2]]=J2);const cN=/[^\dA-Za-z]/;function uN(t,e,n,r){const a=String.fromCharCode(t);if(nC.call(Q0,a)){const i=Q0[a],s="&"+i;return n&&aN.includes(i)&&!lN.includes(i)&&(!r||e&&e!==61&&cN.test(String.fromCharCode(e)))?s:s+";"}return""}function pN(t,e,n){let r=sN(t,e,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=uN(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=oN(t,e,n.omitOptionalSemicolons);i.length|^->||--!>|"],dN=["<",">"];function mN(t,e,n,r){return r.settings.bogusComments?"":"";function a(i){return zc(i,Object.assign({},r.settings.characterReferences,{subset:dN}))}}function gN(t,e,n,r){return""}function Sv(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 vN(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function yN(t){return t.join(" ").trim()}const bN=/[ \t\n\f\r]/g;function Om(t){return typeof t=="object"?t.type==="text"?Ev(t.value):!1:Ev(t)}function Ev(t){return t.replace(bN,"")===""}const Ds=iC(1),sC=iC(-1),CN=[];function iC(t){return e;function e(n,r,a){const i=n?n.children:CN;let s=(r||0)+t,o=i[s];if(!a)for(;o&&Om(o);)s+=t,o=i[s];return o}}const SN={}.hasOwnProperty;function oC(t){return e;function e(n,r,a){return SN.call(t,n.tagName)&&t[n.tagName](n,r,a)}}const Im=oC({body:xN,caption:Vd,colgroup:Vd,dd:_N,dt:AN,head:Vd,html:EN,li:TN,optgroup:MN,option:PN,p:wN,rp:xv,rt:xv,tbody:ON,td:wv,tfoot:IN,th:wv,thead:LN,tr:kN});function Vd(t,e,n){const r=Ds(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Om(r.value.charAt(0)))}function EN(t,e,n){const r=Ds(n,e);return!r||r.type!=="comment"}function xN(t,e,n){const r=Ds(n,e);return!r||r.type!=="comment"}function wN(t,e,n){const r=Ds(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 TN(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&r.tagName==="li"}function AN(t,e,n){const r=Ds(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function _N(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function xv(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function MN(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function PN(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function LN(t,e,n){const r=Ds(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function ON(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function IN(t,e,n){return!Ds(n,e)}function kN(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function wv(t,e,n){const r=Ds(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const zN=oC({body:HN,colgroup:DN,head:VN,html:NN,tbody:RN});function NN(t){const e=Ds(t,-1);return!e||e.type!=="comment"}function VN(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 HN(t){const e=Ds(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Om(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function DN(t,e,n){const r=sC(n,e),a=Ds(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Im(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function RN(t,e,n){const r=sC(n,e),a=Ds(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Im(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Q2={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 jN(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=rC);const p=BN(r,t.properties),u=r.all(a.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=a,u&&(s=!1),(p||!i||!zN(t,e,n))&&(o.push("<",t.tagName,p?" "+p:""),s&&(a.space==="svg"||r.settings.closeSelfClosing)&&(l=p.charAt(p.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(u),!s&&(!i||!Im(t,e,n))&&o.push(""),o.join("")}function BN(t,e){const n=[];let r=-1,a;if(e){for(a in e)if(e[a]!==null&&e[a]!==void 0){const i=FN(t,a,e[a]);i&&n.push(i)}}for(;++rSv(n,t.alternative)&&(s=t.alternative),o=s+zc(n,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?Q2.single:Q2.double)[a][i],attribute:!0}))+s),l+(o&&"="+o))}const $N=["<","&"];function aC(t,e,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?t.value:zc(t.value,Object.assign({},r.settings.characterReferences,{subset:$N}))}function UN(t,e,n,r){return r.settings.allowDangerousHtml?t.value:aC(t,e,n,r)}function qN(t,e,n,r){return r.all(t)}const WN=Xz("type",{invalid:GN,unknown:KN,handlers:{comment:mN,doctype:gN,element:jN,raw:UN,root:qN,text:aC}});function GN(t){throw new Error("Expected node, not `"+t+"`")}function KN(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const XN={},YN={},JN=[];function QN(t,e){const n=e||XN,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ZN,all:eV,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||Rz,characterReferences:n.characterReferences||YN,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?rC:Kz,quote:r,alternative:a}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function ZN(t,e,n){return WN(t,e,n,this)}function eV(t){const e=[],n=t&&t.children||JN;let r=-1;for(;++re.default||e)}function km(t){return!t||["plaintext","txt","text","plain"].includes(t)}function rV(t){return t==="ansi"||km(t)}function zm(t){return t==="none"}function nV(t){return zm(t)}function cC(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 Gh(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?oV(a,i):a})):t}function lV(t,e,n,r,a="css-vars"){const i={content:t.content,explanation:t.explanation,offset:t.offset},s=e.map(u=>rh(t.variants[u])),o=new Set(s.flatMap(u=>Object.keys(u))),l={},p=(u,h)=>{const d=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return n+e[u]+(h==="color"?"":d)};return s.forEach((u,h)=>{for(const d of o){const m=u[d]||"inherit";if(h===0&&r&&iV.includes(d))if(r===Nm&&s.length>1){const f=e.findIndex(x=>x==="light"),v=e.findIndex(x=>x==="dark");if(f===-1||v===-1)throw new $s('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const C=s[f][d]||"inherit",S=s[v][d]||"inherit";l[d]=`light-dark(${C}, ${S})`,a==="css-vars"&&(l[p(h,d)]=m)}else l[d]=m;else a==="css-vars"&&(l[p(h,d)]=m)}}),i.htmlStyle=l,i}function rh(t){const e={};if(t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle){t.fontStyle&li.Italic&&(e["font-style"]="italic"),t.fontStyle&li.Bold&&(e["font-weight"]="bold");const n=[];t.fontStyle&li.Underline&&n.push("underline"),t.fontStyle&li.Strikethrough&&n.push("line-through"),n.length&&(e["text-decoration"]=n.join(" "))}return e}function Z0(t){return typeof t=="string"?t:Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}const uC=new WeakMap;function Kh(t,e){uC.set(t,e)}function Mu(t){return uC.get(t)}class e1{_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 e1(Object.fromEntries(tV(n).map(r=>[r,X0])),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 cV(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function cV(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 uV(t,e){if(!(t instanceof e1))throw new $s("Invalid grammar state");return t.getInternalStack(e)}function pV(){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 $s(`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 $s(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${a.lines.length}`);let l=s.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new $s(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,character:l,offset:a.posToIndex(s.line,l)}}};const a=sV(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));hV(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 aV(n,a)},code(n){if(!this.options.decorations?.length)return;const r=e(this),a=Array.from(n.children).filter(u=>u.type==="element"&&u.tagName==="span");if(a.length!==r.converter.lines.length)throw new $s(`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(u,h,d,m){const f=a[u];let v="",C=-1,S=-1;if(h===0&&(C=0),d===0&&(S=0),d===Number.POSITIVE_INFINITY&&(S=f.children.length),C===-1||S===-1)for(let g=0;gv);return u.tagName=h.tagName||"span",u.properties={...u.properties,...m,class:u.properties.class},h.properties?.class&&cC(u,h.properties.class),u=f(u,d)||u,u}const l=[],p=r.decorations.sort((u,h)=>h.start.offset-u.start.offset||u.end.offset-h.end.offset);for(const u of p){const{start:h,end:d}=u;if(h.line===d.line)i(h.line,h.character,d.character,u);else if(h.lines(m,u));i(d.line,0,d.character,u)}}l.forEach(u=>u())}}}function hV(t){for(let e=0;en.end.offset)throw new $s(`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 mV(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)Hd[r]&&e.push({type:"setDecoration",value:Hd[r]});else if(r<=29){const a=Hd[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:gl[r-30]}});else if(r===38){const a=Tv(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:gl[r-40]}});else if(r===48){const a=Tv(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:gl[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:gl[r-100+8]}})}return e}function gV(){let t=null,e=null,n=new Set;return{parse(r){const a=[];let i=0;do{const s=dV(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=mV(s.sequence);for(const p of l)p.type==="resetAll"?(t=null,e=null,n.clear()):p.type==="resetForegroundColor"?t=null:p.type==="resetBackgroundColor"?e=null:p.type==="resetDecoration"&&n.delete(p.value);for(const p of l)p.type==="setForegroundColor"?t=p.value:p.type==="setBackgroundColor"?e=p.value:p.type==="setDecoration"&&n.add(p.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 p=0;p[o,t.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=gV();return a.map(o=>s.parse(o[0]).map(l=>{let p,u;l.decorations.has("reverse")?(p=l.background?i.value(l.background):t.bg,u=l.foreground?i.value(l.foreground):t.fg):(p=l.foreground?i.value(l.foreground):t.fg,u=l.background?i.value(l.background):void 0),p=Da(p,r),u=Da(u,r),l.decorations.has("dim")&&(p=CV(p));let h=li.None;return l.decorations.has("bold")&&(h|=li.Bold),l.decorations.has("italic")&&(h|=li.Italic),l.decorations.has("underline")&&(h|=li.Underline),l.decorations.has("strikethrough")&&(h|=li.Strikethrough),{content:l.value,offset:o[1],color:p,bgColor:u,fontStyle:h}}))}function CV(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 Vm(t,e,n={}){const{lang:r="text",theme:a=t.getLoadedThemes()[0]}=n;if(km(r)||zm(a))return Gh(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=t.setTheme(a);if(r==="ansi")return bV(i,e,n);const o=t.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new $s(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new $s(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return EV(e,o,i,s,n)}function SV(...t){if(t.length===2)return Mu(t[1]);const[e,n,r={}]=t,{lang:a="text",theme:i=e.getLoadedThemes()[0]}=r;if(km(a)||zm(i))throw new $s("Plain language does not have grammar state");if(a==="ansi")throw new $s("ANSI language does not have grammar state");const{theme:s,colorMap:o}=e.setTheme(i),l=e.getLanguage(a);return new e1(sh(n,l,s,o,r).stateStack,l.name,s.name)}function EV(t,e,n,r,a){const i=sh(t,e,n,r,a),s=new e1(sh(t,e,n,r,a).stateStack,e.name,n.name);return Kh(i.tokens,s),i.tokens}function sh(t,e,n,r,a){const i=th(n,a),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=a,l=Gh(t);let p=a.grammarState?uV(a.grammarState,n.name)??X0:a.grammarContextCode!=null?sh(a.grammarContextCode,e,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:X0,u=[];const h=[];for(let d=0,m=l.length;d0&&f.length>=s){u=[],h.push([{content:f,offset:v,color:"",fontStyle:0}]);continue}let C,S,x;a.includeExplanation&&(C=e.tokenizeLine(f,p,o),S=C.tokens,x=0);const g=e.tokenizeLine2(f,p,o),w=g.tokens.length/2;for(let y=0;yH.trim());break;case"object":$=N.scope;break;default:continue}W.push({settings:N,selectors:$.map(H=>H.split(/ /))})}q.explanation=[];let F=0;for(;_+F({scopeName:e}))}function wV(t,e){const n=[];for(let r=0,a=e.length;r=0&&a>=0;)Av(t[r],n[a])&&(r-=1),a-=1;return r===-1}function AV(t,e,n){const r=[];for(const{selectors:a,settings:i}of t)for(const s of a)if(TV(s,e,n)){r.push(i);break}return r}function hC(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 p=Vm(t,e,{...n,theme:l.theme}),u=Mu(p),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:p,state:u,theme:h}}),i=_V(...a.map(l=>l.tokens)),s=i[0].map((l,p)=>l.map((u,h)=>{const d={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=u.explanation),i.forEach((m,f)=>{const{content:v,explanation:C,offset:S,...x}=m[p][h];d.variants[r[f].color]=x}),d})),o=a[0].state?new e1(Object.fromEntries(a.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),a[0].state.lang):void 0;return o&&Kh(s,o),s}function _V(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;rl[r]),i=e.map(()=>[]);e.forEach((l,p)=>l.push(i[p]));const s=a.map(()=>0),o=a.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(p=>p.content.length));for(let p=0;pS[1]).map(S=>({color:S[0],theme:S[1]})).sort((S,x)=>S.color===p?-1:x.color===p?1:0);if(d.length===0)throw new $s("`themes` option must not be empty");const m=hC(t,e,n);if(l=Mu(m),p&&Nm!==p&&!d.find(S=>S.color===p))throw new $s(`\`themes\` option must contain the defaultColor key \`${p}\``);const f=d.map(S=>t.getTheme(S.theme)),v=d.map(S=>S.color);i=m.map(S=>S.map(x=>lV(x,v,u,p,h))),l&&Kh(i,l);const C=d.map(S=>th(S.theme,n));a=_v(d,f,C,u,p,"fg",h),r=_v(d,f,C,u,p,"bg",h),s=`shiki-themes ${f.map(S=>S.name).join(" ")}`,o=p?void 0:[a,r].join(";")}else if("theme"in n){const p=th(n.theme,n);i=Vm(t,e,n);const u=t.getTheme(n.theme);r=Da(u.bg,p),a=Da(u.fg,p),s=u.name,l=Mu(i)}else throw new $s("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:r,themeName:s,rootStyle:o,grammarState:l}}function _v(t,e,n,r,a,i,s){return t.map((o,l)=>{const p=Da(e[l][i],n[l])||"inherit",u=`${r+o.color}${i==="bg"?"-bg":""}:${p}`;if(l===0&&a){if(a===Nm&&t.length>1){const h=t.findIndex(v=>v.color==="light"),d=t.findIndex(v=>v.color==="dark");if(h===-1||d===-1)throw new $s('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const m=Da(e[h][i],n[h])||"inherit",f=Da(e[d][i],n[d])||"inherit";return`light-dark(${m}, ${f});${u}`}return p}return s==="css-vars"?u:null}).filter(o=>!!o).join(";")}function oh(t,e,n,r={meta:{},options:n,codeToHast:(a,i)=>oh(t,a,i),codeToTokens:(a,i)=>ih(t,a,i)}){let a=e;for(const f of nh(n))a=f.preprocess?.call(r,a,n)||a;let{tokens:i,fg:s,bg:o,themeName:l,rootStyle:p,grammarState:u}=ih(t,a,n);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:d=!1}=n;h===!0?i=PV(i):h==="never"&&(i=LV(i)),d&&(i=OV(i));const m={...r,get source(){return a}};for(const f of nh(n))i=f.tokens?.call(m,i)||i;return MV(i,{...n,fg:s,bg:o,themeName:l,rootStyle:p},m,u)}function MV(t,e,n,r=Mu(t)){const a=nh(e),i=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=e;let p={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:[]},u={type:"element",tagName:"code",properties:{},children:i};const h=[],d={...n,structure:o,addClassToHast:cC,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return s},get pre(){return p},get code(){return u},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:[]},S=0;for(const x of f){let g={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const w=Z0(x.htmlStyle||rh(x));w&&(g.properties.style=w);for(const y of a)g=y?.span?.call(d,g,v+1,S,C,x)||g;o==="inline"?s.children.push(g):o==="classic"&&C.children.push(g),S+=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)u=f?.code?.call(d,u)||u;p.children.push(u);for(const f of a)p=f?.pre?.call(d,p)||p;s.children.push(p)}let m=s;for(const f of a)m=f?.root?.call(d,m)||m;return r&&Kh(m,r),m}function PV(t){return t.map(e=>{const n=[];let r="",a=0;return e.forEach((i,s)=>{const l=!(i.fontStyle&&(i.fontStyle&li.Underline||i.fontStyle&li.Strikethrough));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 LV(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}))}function OV(t){return t.map(e=>{const n=[];for(const r of e){if(n.length===0){n.push({...r});continue}const a=n[n.length-1],i=Z0(a.htmlStyle||rh(a)),s=Z0(r.htmlStyle||rh(r)),o=a.fontStyle&&(a.fontStyle&li.Underline||a.fontStyle&li.Strikethrough),l=r.fontStyle&&(r.fontStyle&li.Underline||r.fontStyle&li.Strikethrough);!o&&!l&&i===s?a.content+=r.content:n.push({...r})}return n})}const IV=QN;function kV(t,e,n){const r={meta:{},options:n,codeToHast:(i,s)=>oh(t,i,s),codeToTokens:(i,s)=>ih(t,i,s)};let a=IV(oh(t,e,n,r));for(const i of nh(n))a=i.postprocess?.call(r,a,n)||a;return a}const Mv={light:"#333333",dark:"#bbbbbb"},Pv={light:"#fffffe",dark:"#1e1e1e"},Lv="__shiki_resolved";function Hm(t){if(t?.[Lv])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"?Mv.light:Mv.dark),n||(n=e.type==="light"?Pv.light:Pv.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("#"),p=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!p)return o;const u={...o,settings:{...o.settings}};if(l){const h=s(o.settings.foreground);e.colorReplacements[h]=o.settings.foreground,u.settings.foreground=h}if(p){const h=s(o.settings.background);e.colorReplacements[h]=o.settings.background,u.settings.background=h}return u});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,Lv,{enumerable:!1,writable:!1,value:!0}),e}async function fC(t){return Array.from(new Set((await Promise.all(t.filter(e=>!rV(e)).map(async e=>await lC(e).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function dC(t){return(await Promise.all(t.map(async n=>nV(n)?null:Hm(await lC(n))))).filter(n=>!!n)}let zV=3;function NV(t,e=3){e>zV||console.trace(`[SHIKI DEPRECATE]: ${t}`)}class xc extends Error{constructor(e){super(e),this.name="ShikiError"}}class VV extends Dz{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=Hm(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=Yp.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 xc(`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 xc(`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 HV{_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 k1=0;function DV(t){k1+=1,t.warnings!==!1&&k1>=10&&k1%10===0&&console.warn(`[Shiki] ${k1} 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 xc("`engine` option is required for synchronous mode");const n=(t.langs||[]).flat(1),r=(t.themes||[]).flat(1).map(Hm),a=new HV(t.engine,n),i=new VV(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 xc(`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 xc(`Theme \`${x}\` not found, you may need to load it first`);return g}function p(x){C();const g=l(x);s!==x&&(i.setTheme(g),s=x);const w=i.getColorMap();return{theme:g,colorMap:w}}function u(){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 fC(x))}function f(...x){C();for(const g of x.flat(1))i.loadTheme(g)}async function v(...x){return C(),f(await dC(x))}function C(){if(e)throw new xc("Shiki instance has been disposed")}function S(){e||(e=!0,i.dispose(),k1-=1)}return{setTheme:p,getTheme:l,getLanguage:o,getLoadedThemes:u,getLoadedLanguages:h,loadLanguage:m,loadLanguageSync:d,loadTheme:v,loadThemeSync:f,dispose:S,[Symbol.dispose]:S}}async function RV(t){t.engine||NV("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,n,r]=await Promise.all([dC(t.themes||[]),fC(t.langs||[]),t.engine]);return DV({...t,themes:e,langs:n,engine:r})}async function jV(t){const e=await RV(t);return{getLastGrammarState:(...n)=>SV(e,...n),codeToTokensBase:(n,r)=>Vm(e,n,r),codeToTokensWithThemes:(n,r)=>hC(e,n,r),codeToTokens:(n,r)=>ih(e,n,r),codeToHast:(n,r)=>oh(e,n,r),codeToHtml:(n,r)=>kV(e,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}function t1(t){if([...t].length!==1)throw new Error(`Expected "${t}" to be a single code point`);return t.codePointAt(0)}function BV(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}const Dm=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Us=String.raw;function r1(t,e){if(t==null)throw new Error(e??"Value expected");return t}const mC=Us`\[\^?`,gC=`c.? | C(?:-.?)?|${Us`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Us`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Us`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Us`o\{[^\}]*\}?`}|${Us`\d{1,3}`}`,Rm=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Z2=new RegExp(Us` \\ (?: ${gC} | [gk]<[^>]*>? | [gk]'[^']*'? | . ) | \( (?: \? (?: [:=!>({] | <[=!] | <[^>]*> | '[^']*' | ~\|? | #(?:[^)\\]|\\.?)* | [^:)]*[:)] )? | \*[^\)]*\)? )? | (?:${Rm.source})+ | ${mC} | . `.replace(/\s+/g,""),"gsu"),Dd=new RegExp(Us` \\ (?: ${gC} | . ) | \[:(?:\^?\p{Alpha}+|\^):\] | ${mC} | && | . `.replace(/\s+/g,""),"gsu");function FV(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=aH(n.flags),a=[r.extended],i={captureGroup:n.rules.captureGroup,getCurrentModX(){return 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(Z2.lastIndex=0;o=Z2.exec(t);){const h=$V(i,t,o[0],Z2.lastIndex);h.tokens?s.push(...h.tokens):h.token&&s.push(h.token),h.lastIndex!==void 0&&(Z2.lastIndex=h.lastIndex)}const l=[];let p=0;s.filter(h=>h.type==="GroupOpen").forEach(h=>{h.kind==="capturing"?h.number=++p:h.raw==="("&&l.push(h)}),p||l.forEach((h,d)=>{h.kind="capturing",h.number=d+1});const u=p||l.length;return{tokens:s.map(h=>h.type==="EscapedNumber"?cH(h,u):h).flat(),flags:r}}function $V(t,e,n,r){const[a,i]=n;if(n==="["||n==="[^"){const s=UV(e,n,r);return{tokens:s.tokens,lastIndex:s.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:Ov(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:eH(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:yC(n)}}if(i==="K")return{token:bC("keep",n)};if(i==="N"||i==="R")return{token:vl("newline",n,{negate:i==="N"})};if(i==="O")return{token:vl("any",n)};if(i==="X")return{token:vl("text_segment",n)};const s=vC(n,{inCharClass:!1});return Array.isArray(s)?{tokens:s}:{token:s}}if(a==="("){if(i==="*")return{token:sH(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:nH(n,t)};if(t.pushModX(t.getCurrentModX()),t.numOpenGroups++,n==="("&&!t.captureGroup||n==="(?:")return{token:bc("group",n)};if(n==="(?>")return{token:bc("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?")||n.startsWith("(?'")&&n.endsWith("'"))return{token:bc("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:bc("absence_repeater",n)}}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:JV(n)}}if(t.getCurrentModX()){if(n==="#"){const s=e.indexOf(` `,r);return{lastIndex:s===-1?e.length:s}}if(/^\s$/.test(n)){const s=/\s+/y;return s.lastIndex=r,{lastIndex:s.exec(e)?s.lastIndex:r}}}if(n===".")return{token:vl("dot",n)};if(n==="^"||n==="$"){const s=t.singleline?{"^":Us`\A`,$:Us`\Z`}[n]:n;return{token:Ov(s,n)}}return n==="|"?{token:WV(n)}:Rm.test(n)?{tokens:uH(n)}:{token:Xo(t1(n),n)}}function UV(t,e,n){const r=[Iv(e[1]==="^",e)];let a=1,i;for(Dd.lastIndex=n;i=Dd.exec(t);){const s=i[0];if(s[0]==="["&&s[1]!==":")a++,r.push(Iv(s[1]==="^",s));else if(s==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Xo(93,s));else if(a--,r.push(GV(s)),!a)break}else{const o=qV(s);Array.isArray(o)?r.push(...o):r.push(o)}}return{tokens:r,lastIndex:Dd.lastIndex||t.length}}function qV(t){if(t[0]==="\\")return vC(t,{inCharClass:!0});if(t[0]==="["){const e=/\[:(?\^?)(?[a-z]+):\]/.exec(t);if(!e||!Dm.has(e.groups.name))throw new Error(`Invalid POSIX class "${t}"`);return vl("posix",t,{value:e.groups.name,negate:!!e.groups.negate})}return t==="-"?KV(t):t==="&&"?XV(t):Xo(t1(t),t)}function vC(t,{inCharClass:e}){const n=t[1];if(n==="c"||n==="C")return rH(t);if("dDhHsSwW".includes(n))return iH(t);if(t.startsWith(Us`\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 oH(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 Xo(t1(s),o)})}catch{throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Xo(lH(t),t);if(kv.has(n))return Xo(kv.get(n),t);if(/\d/.test(n))return YV(e,t);if(t==="\\")throw new Error(Us`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${t}"`);if([...t].length===2)return Xo(t.codePointAt(1),t);throw new Error(`Unexpected escape "${t}"`)}function WV(t){return{type:"Alternator",raw:t}}function Ov(t,e){return{type:"Assertion",kind:t,raw:e}}function yC(t){return{type:"Backreference",raw:t}}function Xo(t,e){return{type:"Character",value:t,raw:e}}function GV(t){return{type:"CharacterClassClose",raw:t}}function KV(t){return{type:"CharacterClassHyphen",raw:t}}function XV(t){return{type:"CharacterClassIntersector",raw:t}}function Iv(t,e){return{type:"CharacterClassOpen",negate:t,raw:e}}function vl(t,e,n={}){return{type:"CharacterSet",kind:t,...n,raw:e}}function bC(t,e,n={}){return t==="keep"?{type:"Directive",kind:t,raw:e}:{type:"Directive",kind:t,flags:r1(n.flags),raw:e}}function YV(t,e){return{type:"EscapedNumber",inCharClass:t,raw:e}}function JV(t){return{type:"GroupClose",raw:t}}function bc(t,e,n={}){return{type:"GroupOpen",kind:t,...n,raw:e}}function QV(t,e,n,r){return{type:"NamedCallout",kind:t,tag:e,arguments:n,raw:r}}function ZV(t,e,n,r){return{type:"Quantifier",kind:t,min:e,max:n,raw:r}}function eH(t){return{type:"Subroutine",raw:t}}const tH=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),kv=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function rH(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 Xo(t1(e.toUpperCase())-64,t)}function nH(t,e){let{on:n,off:r}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(t).groups;r??="";const a=(e.getCurrentModX()||n.includes("x"))&&!r.includes("x"),i=Nv(n),s=Nv(r),o={};if(i&&(o.enable=i),s&&(o.disable=s),t.endsWith(")"))return e.replaceCurrentModX(a),bC("flags",t,{flags:o});if(t.endsWith(":"))return e.pushModX(a),e.numOpenGroups++,bc("group",t,{...(i||s)&&{flags:o}});throw new Error(`Unexpected flag modifier "${t}"`)}function sH(t){const e=/\(\*(?[A-Za-z_]\w*)?(?:\[(?(?:[A-Za-z_]\w*)?)\])?(?:\{(?[^}]*)\})?\)/.exec(t);if(!e)throw new Error(`Incomplete or invalid named callout "${t}"`);const{name:n,tag:r,args:a}=e.groups;if(!n)throw new Error(`Invalid named callout "${t}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${t}"`);const i=a?a.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[s,o,l]=i,p=tH.has(n)?n.toLowerCase():"custom";switch(p){case"fail":case"mismatch":case"skip":if(i.length>0)throw new Error(`Named callout arguments not allowed "${i}"`);break;case"error":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(typeof s=="string")throw new Error(`Named callout argument must be a number "${s}"`);break;case"max":if(!i.length||i.length>2)throw new Error(`Named callout must have one or two arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(i.length===2&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${o}"`);break;case"count":case"total_count":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(i.length===1&&(typeof s=="number"||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${s}"`);break;case"cmp":if(i.length!==3)throw new Error(`Named callout must have three arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(typeof o=="number"||!/^(?:[<>!=]=|[<>])$/.test(o))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${o}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${p}"`)}return QV(p,r??null,a?.split(",")??null,t)}function zv(t){let e=null,n,r;if(t[0]==="{"){const{minStr:a,maxStr:i}=/^\{(?\d*)(?:,(?\d*))?/.exec(t).groups,s=1e5;if(+a>s||i&&+i>s)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=i===void 0?+a:i===""?1/0:+i,n>r&&(e="possessive",[n,r]=[r,n]),t.endsWith("?")){if(e==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');e="lazy"}else e||(e="greedy")}else n=t[0]==="+"?1:0,r=t[0]==="?"?1:1/0,e=t[1]==="+"?"possessive":t[1]==="?"?"lazy":"greedy";return ZV(e,n,r,t)}function iH(t){const e=t[1].toLowerCase();return vl({d:"digit",h:"hex",s:"space",w:"word"}[e],t,{negate:t[1]!==e})}function oH(t){const{p:e,neg:n,value:r}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(t).groups;return vl("property",t,{value:r,negate:e==="P"&&!n||e==="p"&&!!n})}function Nv(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 aH(t){const e={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n\p{AHex}+)/u.exec(t).groups.hex:t.slice(2);return parseInt(e,16)}function cH(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[yC(n)];const i=[],s=a.match(/^[0-7]+|\d/g);for(let o=0;o127)throw new Error(Us`Octal encoded byte above 177 unsupported "${n}"`)}else p=t1(l);i.push(Xo(p,(o===0?"\\":"")+l))}return i}function uH(t){const e=[],n=new RegExp(Rm,"gy");let r;for(;r=n.exec(t);){const a=r[0];if(a[0]==="{"){const i=/^\{(?\d+),(?\d+)\}\??$/.exec(a);if(i){const{min:s,max:o}=i.groups;if(+s>+o&&a.endsWith("?")){n.lastIndex--,e.push(zv(a.slice(0,-1)));continue}}}e.push(zv(a))}return e}function CC(t,e){if(!Array.isArray(t.body))throw new Error("Expected node with body array");if(t.body.length!==1)return!1;const n=t.body[0];return!e||Object.keys(e).every(r=>e[r]===n[r])}function pH(t){return hH.has(t.type)}const hH=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function SC(t,e={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e,rules:{captureGroup:!1,singleline:!1,...e.rules}},r=FV(t,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(d,m)=>{const f=r.tokens[i.nextIndex];switch(i.parent=d,i.nextIndex++,f.type){case"Alternator":return Pl();case"Assertion":return fH(f);case"Backreference":return dH(f,i);case"Character":return Xh(f.value,{useLastValid:!!m.isCheckingRangeEnd});case"CharacterClassHyphen":return mH(f,i,m);case"CharacterClassOpen":return gH(f,i,m);case"CharacterSet":return vH(f,i);case"Directive":return xH(f.kind,{flags:f.flags});case"GroupOpen":return yH(f,i,m);case"NamedCallout":return TH(f.kind,f.tag,f.arguments);case"Quantifier":return bH(f,i);case"Subroutine":return CH(f,i);default:throw new Error(`Unexpected token type "${f.type}"`)}},i={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},s=_H(wH(r.flags));let o=s.body[0];for(;i.nextIndexl.length)throw new Error("Subroutine uses a group number that's not defined");d&&(l[d-1].isSubroutined=!0)}else if(u.has(d)){if(u.get(d).length>1)throw new Error(Us`Subroutine uses a duplicate group name "\g<${d}>"`);u.get(d)[0].isSubroutined=!0}else throw new Error(Us`Subroutine uses a group name that's not defined "\g<${d}>"`);return s}function fH({kind:t}){return e5(r1({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[t],`Unexpected assertion kind "${t}"`),{negate:t===Us`\B`||t===Us`\Y`})}function dH({raw:t},e){const n=/^\\k[<']/.test(t),r=n?t.slice(3,-1):t.slice(1),a=(i,s=!1)=>{const o=e.capturingGroups.length;let l=!1;if(i>o)if(e.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${t}"`);return e.hasNumberedRef=!0,t5(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 "${t}"`);if(!e.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${t}"`);return t5(r)}return a(+r)}function mH(t,e,n){const{tokens:r,walk:a}=e,i=e.parent,s=i.body.at(-1),o=r[e.nextIndex];if(!n.isCheckingRangeEnd&&s&&s.type!=="CharacterClass"&&s.type!=="CharacterClassRange"&&o&&o.type!=="CharacterClassOpen"&&o.type!=="CharacterClassClose"&&o.type!=="CharacterClassIntersector"){const l=a(i,{...n,isCheckingRangeEnd:!0});if(s.type==="Character"&&l.type==="Character")return i.body.pop(),EH(s,l);throw new Error("Invalid character class range")}return Xh(t1("-"))}function gH({negate:t},e,n){const{tokens:r,walk:a}=e,i=r[e.nextIndex],s=[dp()];let o=Dv(i);for(;o.type!=="CharacterClassClose";){if(o.type==="CharacterClassIntersector")s.push(dp()),e.nextIndex++;else{const p=s.at(-1);p.body.push(a(p,n))}o=Dv(r[e.nextIndex],i)}const l=dp({negate:t});return s.length===1?l.body=s[0].body:(l.kind="intersection",l.body=s.map(p=>p.body.length===1?p.body[0]:p)),e.nextIndex++,l}function vH({kind:t,negate:e,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s}=r;if(t==="property"){const o=Yh(n);if(Dm.has(o)&&!s?.has(o))t="posix",n=o;else return Cc(n,{negate:e,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s})}return t==="posix"?AH(n,{negate:e}):r5(t,{negate:e})}function yH(t,e,n){const{tokens:r,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:s,walk:o}=e,l=MH(t),p=l.type==="AbsenceFunction",u=Hv(l),h=u&&l.negate;if(l.type==="CapturingGroup"&&(a.push(l),l.name&&BV(i,l.name,[]).push(l)),p&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let d=Rv(r[e.nextIndex]);for(;d.type!=="GroupClose";){if(d.type==="Alternator")l.body.push(Pl()),e.nextIndex++;else{const m=l.body.at(-1),f=o(m,{...n,isInAbsenceFunction:n.isInAbsenceFunction||p,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||h});if(m.body.push(f),(u||n.isInLookbehind)&&!s){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(h||n.isInNegLookbehind){if(Vv(f)||f.type==="CapturingGroup")throw new Error(v)}else if(Vv(f)||Hv(f)&&f.negate)throw new Error(v)}}d=Rv(r[e.nextIndex])}return e.nextIndex++,l}function bH({kind:t,min:e,max:n},r){const a=r.parent,i=a.body.at(-1);if(!i||!pH(i))throw new Error("Quantifier requires a repeatable token");const s=xC(t,e,n,i);return a.body.pop(),s}function CH({raw:t},e){const{capturingGroups:n,subroutines:r}=e;let a=t.slice(3,-1);const i=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(a);if(i){const o=+i.groups.num,l=n.length;if(e.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=wC(a);return r.push(s),s}function SH(t,e){return{type:"AbsenceFunction",kind:t,body:Xu(e?.body)}}function Pl(t){return{type:"Alternative",body:TC(t?.body)}}function e5(t,e){const n={type:"Assertion",kind:t};return(t==="word_boundary"||t==="text_segment_boundary")&&(n.negate=!!e?.negate),n}function t5(t,e){const n=!!e?.orphan;return{type:"Backreference",ref:t,...n&&{orphan:n}}}function EC(t,e){const n={name:void 0,isSubroutined:!1,...e};if(n.name!==void 0&&!PH(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:t,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:Xu(e?.body)}}function Xh(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:"Character",value:t}}function dp(t){const e={kind:"union",negate:!1,...t};return{type:"CharacterClass",kind:e.kind,negate:e.negate,body:TC(t?.body)}}function EH(t,e){if(e.valuen)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:t,min:e,max:n,body:r}}function _H(t,e){return{type:"Regex",body:Xu(e?.body),flags:t}}function wC(t){return{type:"Subroutine",ref:t}}function Cc(t,e){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e};let r=n.unicodePropertyMap?.get(Yh(t));if(!r){if(n.normalizeUnknownPropertyNames)r=LH(t);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(Us`Invalid Unicode property "\p{${t}}"`)}return{type:"CharacterSet",kind:"property",value:r??t,negate:n.negate}}function MH({flags:t,kind:e,name:n,negate:r,number:a}){switch(e){case"absence_repeater":return SH("repeater");case"atomic":return so({atomic:!0});case"capturing":return EC(a,{name:n});case"group":return so({flags:t});case"lookahead":case"lookbehind":return dl({behind:e==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${e}"`)}}function Xu(t){if(t===void 0)t=[Pl()];else if(!Array.isArray(t)||!t.length||!t.every(e=>e.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return t}function TC(t){if(t===void 0)t=[];else if(!Array.isArray(t)||!t.every(e=>!!e.type))throw new Error("Invalid body; expected array of nodes");return t}function Vv(t){return t.type==="LookaroundAssertion"&&t.kind==="lookahead"}function Hv(t){return t.type==="LookaroundAssertion"&&t.kind==="lookbehind"}function PH(t){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(t)}function LH(t){return t.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}function Yh(t){return t.replace(/[- _]+/g,"").toLowerCase()}function Dv(t,e){return r1(t,`${e?.type==="Character"&&e.value===93?"Empty":"Unclosed"} character class`)}function Rv(t){return r1(t,"Unclosed group")}function tu(t,e,n=null){function r(i,s){for(let o=0;oA-Za-z\-]|<[=!]|\(DEFINE\))`;function IH(t,e){for(let n=0;n=e&&t[n]++}function kH(t,e,n,r){return t.slice(0,e)+r+t.slice(e+n.length)}const Xi=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function jm(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:p,groups:{$skip:u}}=l;if(!u&&(!r||r===Xi.DEFAULT==!s)){n instanceof Function?o+=n(l,{context:s?Xi.CHAR_CLASS:Xi.DEFAULT,negated:i[i.length-1]}):o+=n;continue}p[0]==="["?(s++,i.push(p[1]==="^")):p==="]"&&s&&(s--,i.pop()),o+=p}return o}function AC(t,e,n,r){jm(t,e,n,r)}function zH(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===Xi.DEFAULT==!i))return s;o==="["?i++:o==="]"&&i&&i--,a.lastIndex==s.index&&a.lastIndex++}return null}function tp(t,e,n){return!!zH(t,e,0,n)}function NH(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 jv=new RegExp(String.raw`(?${OH})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function VH(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,p=0,u=NaN,h;do{h=!1;let d=0,m=0,f=!1,v;for(jv.lastIndex=Number.isNaN(u)?0:u+i.length;v=jv.exec(t);){const{0:C,index:S,groups:{capturingStart:x,noncapturingStart:g}}=v;if(C==="[")d++;else if(d)C==="]"&&d--;else if(C===a&&!f)u=S,f=!0;else if(f&&g)m++;else if(x)f?m++:(l++,s.push(l+p));else if(C===")"&&f){if(!m){p++;const w=l+p;if(t=`${t.slice(0,u)}${i}${t.slice(u+a.length,S)}))<$$${w}>)${t.slice(S+1)}`,h=!0,o.push(w),IH(n,w),r.size){const y=new Map;r.forEach((_,T)=>{y.set(T>=w?T+1:T,_.map(O=>O>=w?O+1:O))}),r=y}break}m--}}}while(h);return n.push(...o),t=jm(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}`},Xi.DEFAULT),{pattern:t,captureTransfers:r,hiddenCaptures:n}}const _C=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Rd=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\) ))? | (?${_C})(?[?+]?)(?[?*+\{]?) | \\?. `.replace(/\s+/g,""),"gsu");function HH(t){if(!new RegExp(`${_C}\\+`).test(t))return{pattern:t};const e=[];let n=null,r=null,a="",i=0,s;for(Rd.lastIndex=0;s=Rd.exec(t);){const{0:o,index:l,groups:{qBase:p,qMod:u,invalidQ:h}}=s;if(o==="[")i||(r=l),i++;else if(o==="]")i?i--:r=null;else if(!i)if(u==="+"&&a&&!a.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${o}"`);let d=-1;if(/^\{\d+\}$/.test(p))t=kH(t,l+p.length,u,"");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)}${p})${t.slice(l+o.length)}`}else t=`${t.slice(0,l-a.length)}(?>${a}${p})${t.slice(l+o.length)}`;d+=4}Rd.lastIndex+=d}else o[0]==="("?e.push(l):o===")"&&(n=e.length?e.pop():null);a=o}return{pattern:t}}const Wi=String.raw,DH=Wi`\\g<(?[^>&]+)&R=(?[^>]+)>`,n5=Wi`\(\?R=(?[^\)]+)\)|${DH}`,Jh=Wi`\(\?<(?![=!])(?[^>]+)>`,MC=Wi`${Jh}|(?\()(?!\?)`,pl=new RegExp(Wi`${Jh}|${n5}|\(\?|\\?.`,"gsu"),jd="Cannot use multiple overlapping recursions";function RH(t,e){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...e};let a=e?.captureTransfers??new Map;if(!new RegExp(n5,"su").test(t))return{pattern:t,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&tp(t,Wi`\(\?\(DEFINE\)`,Xi.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],s=tp(t,Wi`\\[1-9]`,Xi.DEFAULT),o=new Map,l=[];let p=!1,u=0,h=0,d;for(pl.lastIndex=0;d=pl.exec(t);){const{0:m,groups:{captureName:f,rDepth:v,gRNameOrNum:C,gRDepth:S}}=d;if(m==="[")u++;else if(u)m==="]"&&u--;else if(v){if(Bv(v),p)throw new Error(jd);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(pl.lastIndex);if(tp(g,n5,Xi.DEFAULT))throw new Error(jd);const w=+v-1;t=Fv(x,g,w,!1,n,i,h),a=Uv(a,x,w,i.length,0,h);break}else if(C){Bv(S);let x=!1;for(const W of l)if(W.name===C||W.num===+C){if(x=!0,W.hasRecursedWithin)throw new Error(jd);break}if(!x)throw new Error(Wi`Recursive \g cannot be used outside the referenced group "${r==="external"?C:Wi`\g<${C}&R=${S}>`}"`);const g=o.get(C),w=NH(t,g);if(s&&tp(w,Wi`${Jh}|\((?!\?)`,Xi.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const y=t.slice(g,d.index),_=w.slice(y.length+m.length),T=i.length,O=+S-1,I=Fv(y,_,O,!0,n,i,h);a=Uv(a,y,O,i.length-T,T,h);const z=t.slice(0,g),q=t.slice(g+w.length);t=`${z}${I}${q}`,pl.lastIndex+=I.length-m.length-y.length-_.length,l.forEach(W=>W.hasRecursedWithin=!0),p=!0}else if(f)h++,o.set(String(h),pl.lastIndex),o.set(f,pl.lastIndex),l.push({num:h,name:f});else if(m[0]==="("){const x=m==="(";x&&(h++,o.set(String(h),pl.lastIndex)),l.push(x?{num:h}:{})}else m===")"&&l.pop()}return n.push(...i),{pattern:t,captureTransfers:a,hiddenCaptures:n}}function Bv(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 Fv(t,e,n,r,a,i,s){const o=new Set;r&&AC(t+e,Jh,({groups:{captureName:p}})=>{o.add(p)},Xi.DEFAULT);const l=[n,r?o:null,a,i,s];return`${t}${$v(`(?:${t}`,"forward",...l)}(?:)${$v(`${e})`,"backward",...l)}${e}`}function $v(t,e,n,r,a,i,s){const l=u=>e==="forward"?u+2:n-u+2-1;let p="";for(let u=0;u[^>]+)>`,({0:d,groups:{captureName:m,unnamed:f,backref:v}})=>{if(v&&r&&!r.has(v))return d;const C=`_$${h}`;if(f||m){const S=s+i.length+1;return i.push(S),jH(a,S),f?d:`(?<${m}${C}>`}return Wi`\k<${v}${C}>`},Xi.DEFAULT)}return p}function jH(t,e){for(let n=0;n=e&&t[n]++}function Uv(t,e,n,r,a,i){if(t.size&&r){let s=0;AC(e,MC,()=>s++,Xi.DEFAULT);const o=i-s+a,l=new Map;return t.forEach((p,u)=>{const h=(r-s*n)/n,d=s*n,m=u>o+s?u+r:u,f=[];for(const v of p)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 Vs=String.fromCodePoint,Yr=String.raw,Jo={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};Jo.bugFlagVLiteralHyphenIsRange=Jo.unicodeSets?(()=>{try{new RegExp(Yr`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Jo.bugNestedClassIgnoresNegation=Jo.unicodeSets&&new RegExp("[[^a]]","v").test("a");function ah(t,{enable:e,disable:n}){return{dotAll:!n?.dotAll&&!!(e?.dotAll||t.dotAll),ignoreCase:!n?.ignoreCase&&!!(e?.ignoreCase||t.ignoreCase)}}function Pu(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}function s5(t,e){return qv[t]>=qv[e]}function BH(t,e){if(t==null)throw new Error(e??"Value expected");return t}var qv={ES2025:2025,ES2024:2024,ES2018:2018},FH={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function PC(t={}){if({}.toString.call(t)!=="[object Object]")throw new Error("Unexpected options");if(t.target!==void 0&&!FH[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=Jo.flagGroups?"ES2025":Jo.unicodeSets?"ES2024":"ES2018"),e}var $H="[ -\r ]",UH=new Set([Vs(304),Vs(305)]),Fo=Yr`[\p{L}\p{M}\p{N}\p{Pc}]`;function LC(t){if(UH.has(t))return[t];const e=new Set,n=t.toLowerCase(),r=n.toUpperCase(),a=GH.get(n),i=qH.get(n),s=WH.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 Bm=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=>[Yh(t),t])),qH=new Map([["s",Vs(383)],[Vs(383),"s"]]),WH=new Map([[Vs(223),Vs(7838)],[Vs(107),Vs(8490)],[Vs(229),Vs(8491)],[Vs(969),Vs(8486)]]),GH=new Map([xa(453),xa(456),xa(459),xa(498),...Bd(8072,8079),...Bd(8088,8095),...Bd(8104,8111),xa(8124),xa(8140),xa(8188)]),KH=new Map([["alnum",Yr`[\p{Alpha}\p{Nd}]`],["alpha",Yr`\p{Alpha}`],["ascii",Yr`\p{ASCII}`],["blank",Yr`[\p{Zs}\t]`],["cntrl",Yr`\p{Cc}`],["digit",Yr`\p{Nd}`],["graph",Yr`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Yr`\p{Lower}`],["print",Yr`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Yr`[\p{P}\p{S}]`],["space",Yr`\p{space}`],["upper",Yr`\p{Upper}`],["word",Yr`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Yr`\p{AHex}`]]);function XH(t,e){const n=[];for(let r=t;r<=e;r++)n.push(r);return n}function xa(t){const e=Vs(t);return[e.toLowerCase(),e]}function Bd(t,e){return XH(t,e).map(n=>xa(n))}var OC=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function YH(t,e){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...e};IC(t);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:s5(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};tu(t,JH,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};tu(t,QH,i);const s={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return tu(t,ZH,s),t._originMap=i.groupOriginByCopy,t._strategy=r.strategy,t}var JH={AbsenceFunction({node:t,parent:e,replaceWith:n}){const{body:r,kind:a}=t;if(a==="repeater"){const i=so();i.body[0].body.push(dl({negate:!0,body:r}),Cc("Any"));const s=so();s.body[0].body.push(xC("greedy",0,1/0,i)),n(Ts(s,e),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:t,parent:e,key:n},{flagDirectivesByAlt:r}){const a=t.body.filter(i=>i.kind==="flags");for(let i=n+1;i\r\n|${a?Yr`\p{RGI_Emoji}`:d}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(l==="hex")n(wa(Cc("AHex",{negate:p}),e));else if(l==="newline")n(Ts($o(p?`[^ ]`:`(?>\r ?|[ \v\f…\u2028\u2029])`),e));else if(l==="posix")if(!a&&(u==="graph"||u==="print")){if(r==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[u];p&&(h=`\0-${Vs(h.codePointAt(0)-1)}${Vs(h.codePointAt(2)+1)}-􏿿`),n(Ts($o(`[${h}]`),e))}else n(Ts(Ud($o(KH.get(u)),p),e));else if(l==="property")Bm.has(Yh(u))||(t.key="sc");else if(l==="space")n(wa(Cc("space",{negate:p}),e));else if(l==="word")n(Ts(Ud($o(Fo),p),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==="flags")if(!l.enable&&!l.disable)r();else{const p=so({flags:l});p.body[0].body=s(),a(Ts(p,e),{traverse:!0})}else if(o==="keep"){const p=n.body[0],h=n.body.length===1&&CC(p,{type:"Group"})&&p.body[0].body.length===1?p.body[0]:n;if(e.parent!==h||h.body.length>1)throw new Error(Yr`Uses "\K" in a way that's unsupported`);const d=dl({behind:!0});d.body[0].body=i(),a(Ts(d,e))}else throw new Error(`Unexpected directive kind "${o}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');if(t.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].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==="lookbehind"&&(e.passedLookbehind=!0)},NamedCallout({node:t,parent:e,replaceWith:n}){const{kind:r}=t;if(r==="fail")n(Ts(dl({negate:!0}),e));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:t}){if(t.body.type==="Quantifier"){const e=so();e.body[0].body.push(t.body),t.body=Ts(e,t)}},Regex:{enter({node:t},{supportedGNodes:e}){const n=[];let r=!1,a=!1;for(const i of t.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{const s=VC(i.body);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(Yr`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:n}=t;typeof n=="string"&&!$d(n)&&(n=Fd(n,e),t.ref=n)}},QH={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 p=a.get(t);if(p&&o.has(t.number)){const h=wa(Wv(t.number),e);l.set(h,o.get(t.number)),n(h);return}o.set(t.number,t),s.set(t.number,[]),t.name&&Pu(s,t.name,[]);const u=s.get(t.name??t.number);for(let h=0;hd.type==="Group"&&!!d.flags)),h=u?ah(r.globalFlags,u):r.globalFlags;eD(h,r.currentFlags)||(p=so({flags:nD(h)}),p.body[0].body.push(l))}n(Ts(p,e),{traverse:!o})}},ZH={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=>tD(s,t));if(!i.length)n(Ts(dl({negate:!0}),e));else if(i.length>1){const s=so({atomic:!0,body:i.reverse().map(o=>Pl({body:[t5(o.number)]}))});n(Ts(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},Regex:{exit({node:t},e){const n=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let r=0;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 nD({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 NC(t){if(!t)throw new Error("Node expected");const{body:e}=t;return Array.isArray(e)?e:e?[e]:null}function VC(t){const e=t.find(n=>n.kind==="search_start"||oD(n,{negate:!1})||!sD(n));if(!e)return null;if(e.kind==="search_start")return e;if(e.type==="LookaroundAssertion")return e.body[0].body[0];if(e.type==="CapturingGroup"||e.type==="Group"){const n=[];for(const r of e.body){const a=VC(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function HC(t,e){const n=NC(t)??[];for(const r of n)if(r===e||HC(r,e))return!0;return!1}function sD({type:t}){return t==="Assertion"||t==="Directive"||t==="LookaroundAssertion"}function iD(t){const e=["Character","CharacterClass","CharacterSet"];return e.includes(t.type)||t.type==="Quantifier"&&t.min&&e.includes(t.body.type)}function oD(t,e){const n={negate:null,...e};return t.type==="LookaroundAssertion"&&(n.negate===null||t.negate===n.negate)&&t.body.length===1&&CC(t.body[0],{type:"Assertion",kind:"search_start"})}function $d(t){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(t)}function $o(t,e){const r=SC(t,{...e,unicodePropertyMap:Bm}).body;return r.length>1||r[0].body.length>1?so({body:r}):r[0].body[0]}function Ud(t,e){return t.negate=e,t}function wa(t,e){return t.parent=e,t}function Ts(t,e){return IC(t),t.parent=e,t}function aD(t,e){const n=PC(e),r=s5(n.target,"ES2024"),a=s5(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];tu(t,lD,{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 p=t;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},inCharClass:!1,lastNode:p,originMap:t._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&s&&o),useFlagMods:a,useFlagV:r,verbose:n.verbose};function h(m){return u.lastNode=p,p=m,BH(cD[m.type],`Unexpected node type "${m.type}"`)(m,u,h)}const d={pattern:t.body.map(h).join("|"),flags:h(t.flags),options:{...t.options}};return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=new Map,d._hiddenCaptures=[],u.captureMap.forEach((m,f)=>{m.hidden&&d._hiddenCaptures.push(f),m.transferTo&&Pu(d._captureTransfers,m.transferTo,[]).push(f)}),d}var lD={"*":{enter({node:t},e){if(Kv(t)){const n=e.getCurrentModI();e.pushModI(t.flags?ah({ignoreCase:n},t.flags).ignoreCase:n)}},exit({node:t},e){Kv(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){Fm(Vs(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},n){e(),DC(t,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:t},e){t.kind==="property"&&OC.has(t.value)&&e.setHasCasedChar()}},cD={Alternative({body:t},e,n){return t.map(n).join("")},Assertion({kind:t,negate:e}){if(t==="string_end")return"$";if(t==="string_start")return"^";if(t==="word_boundary")return e?Yr`\B`:Yr`\b`;throw new Error(`Unexpected assertion kind "${t}"`)},Backreference({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},CapturingGroup(t,e,n){const{body:r,name:a,number:i}=t,s={ignoreCase:e.currentFlags.ignoreCase},o=e.originMap.get(t);return o&&(s.hidden=!0,i>o.number&&(s.transferTo=o.number)),e.captureMap.set(i,s),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:t},e){const n=Vs(t),r=dc(t,{escDigit:e.lastNode.type==="Backreference",inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(r!==n)return r;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&Fm(n)){const a=LC(n);return e.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(t,e,n){const{kind:r,negate:a,parent:i}=t;let{body:s}=t;if(r==="intersection"&&!e.useFlagV)throw new Error("Use of class intersection requires min target ES2024");Jo.bugFlagVLiteralHyphenIsRange&&e.useFlagV&&s.some(Xv)&&(s=[Xh(45),...s.filter(p=>!Xv(p))]);const o=()=>`[${a?"^":""}${s.map(n).join(r==="intersection"?"&&":"")}]`;if(!e.inCharClass){if((!e.useFlagV||Jo.bugNestedClassIgnoresNegation)&&!a){const u=s.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(u.length){const h=so(),d=h.body[0];return h.parent=i,d.parent=h,s=s.filter(m=>!u.includes(m)),t.body=s,s.length?(t.parent=d,d.body.push(t)):h.body.pop(),u.forEach(m=>{const f=Pl({body:[m]});m.parent=f,f.parent=h,h.body.push(f)}),n(h)}}e.inCharClass=!0;const p=o();return e.inCharClass=!1,p}const l=s[0];if(r==="union"&&!a&&l&&((!e.useFlagV||!e.verbose)&&i.kind==="union"&&!(Jo.bugFlagVLiteralHyphenIsRange&&e.useFlagV)||!e.verbose&&i.kind==="intersection"&&s.length===1&&l.type!=="CharacterClassRange"))return s.map(n).join("");if(!e.useFlagV&&i.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return o()},CharacterClassRange(t,e){const n=t.min.value,r=t.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},i=dc(n,a),s=dc(r,a),o=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){const l=DC(t);dD(l).forEach(u=>{o.add(Array.isArray(u)?`${dc(u[0],a)}-${dc(u[1],a)}`:dc(u,a))})}return`${i}-${s}${[...o].join("")}`},CharacterSet({kind:t,negate:e,value:n,key:r},a){if(t==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":Yr`[^\n]`;if(t==="digit")return e?Yr`\D`:Yr`\d`;if(t==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&OC.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${e?Yr`\P`:Yr`\p`}{${r?`${r}=`:""}${n}}`}if(t==="word")return e?Yr`\W`:Yr`\w`;throw new Error(`Unexpected character set kind "${t}"`)},Flags(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")},Group({atomic:t,body:e,flags:n,parent:r},a,i){const s=a.currentFlags;n&&(a.currentFlags=ah(s,n));const o=e.map(i).join("|"),l=!a.verbose&&e.length===1&&r.type!=="Quantifier"&&!t&&(!a.useFlagMods||!n)?o:`(?${mD(t,n,a.useFlagMods)}${o})`;return a.currentFlags=s,l},LookaroundAssertion({body:t,kind:e,negate:n},r,a){return`(?${`${e==="lookahead"?"":"<"}${n?"!":"="}`}${t.map(a).join("|")})`},Quantifier(t,e,n){return n(t.body)+gD(t)},Subroutine({isRecursive:t,ref:e},n){if(!t)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return e===0?`(?R=${r})`:Yr`\g<${e}&R=${r}>`}},uD=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),pD=new Set(["-","\\","]","^","["]),hD=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Gv=new Map([[9,Yr`\t`],[10,Yr`\n`],[11,Yr`\v`],[12,Yr`\f`],[13,Yr`\r`],[8232,Yr`\u2028`],[8233,Yr`\u2029`],[65279,Yr`\uFEFF`]]),fD=/^\p{Cased}$/u;function Fm(t){return fD.test(t)}function DC(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=Vs(s);if(!Fm(o))continue;const l=LC(o).filter(p=>{const u=p.codePointAt(0);return ua});if(l.length&&(i.push(...l),n))break}return i}function dc(t,{escDigit:e,inCharClass:n,useFlagV:r}){if(Gv.has(t))return Gv.get(t);if(t<32||t>126&&t<160||t>262143||e&&vD(t))return t>255?`\\u{${t.toString(16).toUpperCase()}}`:`\\x${t.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?hD:pD:uD,i=Vs(t);return(a.has(i)?"\\":"")+i}function dD(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 gD({kind:t,max:e,min:n}){let r;return!n&&e===1?r="?":!n&&e===1/0?r="*":n===1&&e===1/0?r="+":n===e?r=`{${n}}`:r=`{${n},${e===1/0?"":e}}`,r+{greedy:"",lazy:"?",possessive:"+"}[t]}function Kv({type:t}){return t==="CapturingGroup"||t==="Group"||t==="LookaroundAssertion"}function vD(t){return t>47&&t<58}function Xv({type:t,value:e}){return t==="Character"&&e===45}var yD=class i5 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 i5&&(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=CD(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 i5(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&&(bD(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 CD(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)Pu(n,i,{}).transferTo=r;return n}function SD(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 ED(t,e){const n=xD(t,e);return n.options?new yD(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function xD(t,e){const n=PC(e),r=SC(t,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Bm}),a=YH(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=aD(a,n),s=RH(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),o=HH(s.pattern),l=VH(o.pattern,{captureTransfers:s.captureTransfers,hiddenCaptures:s.hiddenCaptures}),p={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 u=l.hiddenCaptures.sort((f,v)=>f-v),h=Array.from(l.captureTransfers),d=a._strategy,m=p.pattern.length>=n.lazyCompileLength;(u.length||h.length||d||m)&&(p.options={...u.length&&{hiddenCaptures:u},...h.length&&{transfers:h},...d&&{strategy:d},...m&&{lazyCompile:m}})}return p}const Yv=4294967295;class wD{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,p=0){return{index:o,captureIndices:l.indices.map(u=>u==null?{start:Yv,end:Yv,length:0}:{start:u[0]+p,end:u[1]+p,length:u[1]-u[0]})}}for(let o=0;ol[1].index));for(const[l,p,u]of i)if(p.index===o)return s(l,p,u)}return null}}function TD(t,e){return ED(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function AD(t={}){const e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||=n=>TD(n,{target:e.target}),{createScanner(n){return new wD(n,e)},createString(n){return{content:n}}}}const _D={"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":''},$m=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},MD={},PD={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function LD(t,e){return Je(),lt("span",PD,[hn(t.$slots,"default")])}const uX=$m(MD,[["render",LD]]),OD={},ID={class:"h-3 w-3 $ui-inline-fcc"};function kD(t,e){return Je(),lt("div",ID,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 RC=$m(OD,[["render",kD]]),zD={key:2},Cs=lr({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=Wy(),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"}},p=Lh(),u=pt(()=>n.flat?l.flat[n.type]:n.outlined?l.outlined[n.type]:l.normal[n.type]);return(h,d)=>(Je(),Jt(Ao(i.value),Is(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",u.value]]],onClickCapture:o}),{default:zt(()=>[h.loading?(Je(),Jt(RC,{key:0,class:"mt0.5 h-full w3"})):hn(h.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),$e(p).default?(Je(),lt("div",zD,[hn(h.$slots,"default")])):rr("",!0),hn(h.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),ND={},VD={class:"$ui-base border $ui-border-base rounded shadow-sm"};function HD(t,e){return Je(),lt("div",VD,[hn(t.$slots,"default")])}const DD=$m(ND,[["render",HD]]),pX=lr({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Hl(t,"modelValue",e);return(r,a)=>(Je(),lt("div",{class:$r(["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:$r([[$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))}}),rp=qr();let Jv=null;function RD(t,e="text"){if(!Jv&&!rp.value){const r=AD();Jv=jV({themes:[ps(()=>import("./vitesse-dark-D0r3Knsf.js"),[],import.meta.url),ps(()=>import("./vitesse-light-CVO1_9PV.js"),[],import.meta.url)],langs:[ps(()=>import("./json-Cp-IABpG.js"),[],import.meta.url),ps(()=>import("./yaml-Buea-lGh.js"),[],import.meta.url),ps(()=>import("./css-DPfMkruS.js"),[],import.meta.url),ps(()=>import("./javascript-BMMyXqK5.js"),[],import.meta.url),ps(()=>import("./typescript-DlfHMoPT.js"),[],import.meta.url),ps(()=>import("./vue-CYH3TOzo.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),ps(()=>import("./vue-html-zSiQ3dJi.js"),__vite__mapDeps([6,0,1,2,3,4,5]),import.meta.url),ps(()=>import("./html-B8pBdPMQ.js"),__vite__mapDeps([5,2,1]),import.meta.url),ps(()=>import("./diff-D97Zzqfu.js"),[],import.meta.url),ps(()=>import("./shellscript-Yzrsuije.js"),[],import.meta.url)],engine:r}).then(a=>{rp.value=a})}const n=rp.value?.getLoadedLanguages().includes(e);return n?{code:rp.value.codeToHtml(t,{lang:e,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:t,supported:n}}const jD=["innerHTML"],BD={class:"shiki"},FD=["textContent"],$D=lr({__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}:RD(n.code,n.lang)||{code:n.code,supported:!1};return i.supported&&n.transformRendered&&(i.code=n.transformRendered(i.code)),i.supported&&Es(()=>r("loaded")),i});return(i,s)=>i.lang&&a.value.supported?(Je(),lt("pre",{key:0,class:$r(["code-block",i.lines?"code-block-lines":""]),innerHTML:a.value.code},null,10,jD)):(Je(),lt("pre",{key:1,class:$r(["code-block",i.lines?"code-block-lines":""])},[Ze("pre",BD,[Ze("code",null,[(Je(!0),lt(Vr,null,xs(i.code.split(` `),(o,l)=>(Je(),lt(Vr,{key:l},[Ze("span",{class:"line",textContent:cn(o)},null,8,FD),s[0]||(s[0]=Ze("br",null,null,-1))],64))),128))])])],2))}}),Um=lr({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(t){return(e,n)=>(Je(),lt("div",{class:$r(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc $ui-bg-base transition-opacity transition-duration-300",[e.dim?"bg-opacity-50!":"bg-opacity-0!",e.blur?"backdrop-blur-sm":"",e.position]])},[hn(e.$slots,"default")],2))}}),UD={class:"h7.5 w-full $ui-fbc"},qD={class:"text-4.5"},WD={class:"content transition-all transition-duration-300"},GD={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},KD={class:"$ui-fcc"},jC=lr({__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=Hl(n,"modelValue",e,{passive:!0}),a=Wk(()=>window.document.documentElement);Zs(()=>{r.value?a.value=!0:a.value=!1});function i(){r.value&&n.autoClose&&(r.value=!1)}Pb("Escape",()=>{i()});const s=xt(!1);return ri(()=>s.value=!0),(o,l)=>s.value||o.mountTo==="body"?(Je(),Jt(B5,{key:0,to:o.mountTo},[gt(zh,{"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:zt(()=>[$e(r)?(Je(),Jt(Um,{key:0,dim:o.dim,blur:o.blur,position:o.position},{default:zt(()=>[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:Hs({width:n.width,height:n.height})},[Ze("div",UD,[Ze("div",qD,[hn(o.$slots,"title",{},()=>[ln(cn(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)]))):rr("",!0)]),Ze("div",WD,[hn(o.$slots,"default")]),Ze("div",GD,[hn(o.$slots,"footer",{},()=>[hn(o.$slots,"footer",{},()=>[Ze("div",KD,[gt(Cs,{type:"primary",onClick:i},{default:zt(()=>l[1]||(l[1]=[ln(" close ",-1)])),_:1,__:[1]})])])])])],4)]),_:3},8,["dim","blur","position"])):rr("",!0)]),_:3})],8,["to"])):rr("",!0)}}),XD={class:"$ui-fec gap2.5"},hX=lr({__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=Hl(n,"modelValue",r);Zs(()=>{a.value||r("close")});function i(s=!1){(n.autoClose||s)&&(a.value=!1)}return(s,o)=>(Je(),Jt(jC,{modelValue:$e(a),"onUpdate:modelValue":o[2]||(o[2]=l=>xn(a)?a.value=l:null),width:s.width,height:s.height,title:s.title,closable:!1},{footer:zt(()=>[Ze("div",XD,[gt(Cs,{onClick:o[0]||(o[0]=()=>{r("cancel"),i(!0)})},{default:zt(()=>[ln(cn(s.cancelText),1)]),_:1}),gt(Cs,{loading:s.loading,type:"primary",onClick:o[1]||(o[1]=()=>{r("confirm"),i()})},{default:zt(()=>[ln(cn(s.confirmText),1)]),_:1},8,["loading"])])]),default:zt(()=>[hn(s.$slots,"default",{class:"h-auto w-auto"},()=>[ln(cn(s.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),YD=lr({__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);ri(()=>{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:$r(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":s.placement.startsWith("top")},{"bottom-0":s.placement.startsWith("bottom")}]])},[gt(zh,{"enter-from-class":i.value,"leave-to-class":i.value,onAfterLeave:o[0]||(o[0]=()=>{a.value||s.onClose?.()})},{default:zt(()=>[a.value?(Je(),lt("div",{key:0,class:"flex transition-all duration-300",style:Hs({justifyContent:s.placement.includes("right")?"right":s.placement.includes("left")?"left":"center"})},[Ze("div",{class:$r(["m3 flex-inline items-center gap2 b-1 b-1 rounded $ui-bg-base px4 py1 shadow transition-all duration-300",[s.classes,r[s.type]]])},[Ze("div",{class:$r(n[s.type])},null,2),Ze("div",null,cn(s.message),1)],2)],4)):rr("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}});function Qv(t){const e=document.createElement("div");e.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(e);const n=t.onClose;function r(){zp(null,e)}t.onClose=()=>{r(),n?.(),document.body.removeChild(e)};const a=Wa(YD,t);zp(a,e)}const JD="__vue-devtools-theme__";function qm(t={}){const e=Hk({...t,storageKey:JD});return{colorMode:e,isDark:pt(()=>e.value==="dark")}}const QD={class:"$ui-dark-toggle-vtr"},ZD=lr({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const e=t,n=Hl(e,"isDark"),{colorMode:r}=qm({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,p=o.clientY,u=Math.hypot(Math.max(l,innerWidth-l),Math.max(p,innerHeight-p));document.startViewTransition(async()=>{a.value=!a.value,await Es()}).ready.then(()=>{const h=[`circle(0px at ${l}px ${p}px)`,`circle(${u}px at ${l}px ${p}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",QD,[hn(o.$slots,"default",gh(ju({mode:$e(r),isDark:a.value,toggle:s})))]))}}),fX=lr({__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}=Rk(()=>typeof n.top=="string"?document.querySelector(n.top):n.top,void 0,{box:"border-box"}),i=Hl(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%"}};Pb("Escape",()=>{n.closable&&(i.value=!1)});const o=pt(()=>s[n.placement]),l=xt(!1);return ri(()=>l.value=!0),(p,u)=>l.value||p.mountTo==="body"?(Je(),Jt(B5,{key:0,to:p.mountTo},[gt(zh,{"enter-from-class":`${o.value.transition}`,"leave-to-class":`${o.value.transition}`},{default:zt(()=>[$e(i)?(Je(),Jt(Um,{key:0,class:$r({"pointer-events-none":p.permanent}),dim:p.dim,blur:p.blur,position:p.position,onClick:u[2]||(u[2]=h=>p.closeOutside&&p.closable&&(i.value=!1))},{default:zt(()=>[Ze("div",{class:$r([[o.value.class,p.contentClass??"",p.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:Hs({top:p.placement==="bottom"?"auto":`${$e(a)}px`,height:["top","bottom"].includes(p.placement)?"auto":`calc(100% - ${$e(a)}px)`}),onClick:u[1]||(u[1]=ro(()=>{},["stop"]))},[p.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:u[0]||(u[0]=h=>i.value=!1)})):rr("",!0),hn(p.$slots,"default")],6)]),_:3},8,["class","dim","blur","position"])):rr("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):rr("",!0)}}),eR={class:"overflow-hidden rounded-lg shadow-lg"},Lu=lr({__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 _s("$ui-dropdown-disabled",pt(()=>e.disabled)),(n,r)=>(Je(),Jt($e(tk),{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:zt(({hide:a})=>[Ze("div",eR,[hn(n.$slots,"popper",gh(ju({hide:a})),()=>[r[2]||(r[2]=Ze("div",{class:"p2 opacity-40"}," Empty... ",-1))])])]),default:zt(()=>[hn(n.$slots,"default",{},()=>[gt(Cs,Is({...n.buttonProps,disabled:n.disabled},{class:n.buttonClass}),X5({icon:zt(()=>[hn(n.$slots,"button-icon")]),"icon-right":zt(()=>[hn(n.$slots,"button-icon-right")]),_:2},[n.label?{name:"default",fn:zt(()=>[ln(cn(n.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),Zv=lr({__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=zn("$ui-dropdown-disabled",void 0);return(r,a)=>Dn((Je(),Jt(Cs,Is({...e,round:!1},{disabled:$e(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:zt(()=>[hn(r.$slots,"icon")]),default:zt(()=>[hn(r.$slots,"default")]),_:3},16,["disabled"])),[[$e(Eb)]])}}),As=lr({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(e,n)=>(Je(),Jt(Ao(e.inline?"span":"div"),{class:$r(["$ui-base",[e.icon,e.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}}),tR=["type","placeholder","disabled"],rR={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"},qd="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",Lo=lr({__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=Hl(n,"modelValue",r),i=fk(pt(()=>n.loading),n.loadingDebounceTime),s=dk(!1,{onChanged(h){r("updateFocused",h)}}),o=pt(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),l=pt(()=>n.disabled||i.value),p=xt();let u=!1;return Zs(()=>{i.value&&s.value?u=!0:!i.value&&u&&(u=!1,Es(()=>{s.value=!0}))}),ri(()=>{n.autoFocus&&(s.value=!0)}),Zs(()=>{s.value&&p.value?.focus()}),(h,d)=>(Je(),lt("div",{class:$r(["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:$r(qd)},[gt(As,{icon:h.leftIcon},null,8,["icon"])])):rr("",!0),Dn(Ze("input",{ref_key:"inputRef",ref:p,"onUpdate:modelValue":d[0]||(d[0]=m=>xn(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,tR),[[om,$e(a)]]),$e(i)?(Je(),lt("div",{key:1,class:$r(qd)},[gt(RC)])):h.rightIcon?(Je(),lt("div",{key:2,class:$r(qd)},[gt(As,{icon:h.rightIcon},null,8,["icon"])])):rr("",!0),o.value?rr("",!0):(Je(),lt("div",rR))],2))}}),nR=["innerHTML"],Ou=lr({__name:"IcIcon",props:{name:{}},setup(t){const e=t,n=pt(()=>_D[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,nR))]))}}),sR={class:"m1 min-w-35 w-auto flex flex-col"},iR=["onClick"],BC=lr({__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=Lh(),i=pt({get:()=>n.modelValue,set:l=>r("update:modelValue",l)}),s=pt(()=>{const l=n.options.find(p=>p.value===i.value);return l?.label?n.labelRenderer(l.label):n.placeholder});function o(l){n.multiple?i.value=i.value.includes(l.value)?i.value.filter(p=>p!==l.value):[...i.value,l.value]:i.value=l.value}return(l,p)=>(Je(),Jt(Lu,Is({label:s.value},{buttonProps:l.buttonProps,disabled:l.disabled}),X5({popper:zt(()=>[Ze("div",sR,[$e(a).item?(Je(!0),lt(Vr,{key:0},xs(l.options,u=>(Je(),lt("div",{key:u.value,class:"cursor-pointer",onClick:h=>o(u)},[hn(l.$slots,"item",Is({ref_for:!0},{item:u,active:l.multiple?i.value.includes(u.value):u.value===i.value,disabled:l.disabled}))],8,iR))),128)):(Je(!0),lt(Vr,{key:1},xs(l.options,u=>Dn((Je(),Jt(Cs,{key:u.value,disabled:l.disabled,round:"normal",class:$r(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:l.multiple?i.value.includes(u.value):u.value===i.value}]),onClick:h=>o(u)},{default:zt(()=>[ln(cn(u.label),1)]),_:2},1032,["disabled","class","onClick"])),[[$e(Eb),l.autoClose]])),128))])]),"button-icon-right":zt(()=>[p[0]||(p[0]=Ze("div",{class:"i-mdi-chevron-down"},null,-1))]),_:2},[$e(a).button?{name:"default",fn:zt(()=>[hn(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),oR=lr({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Hl(t,"modelValue",e),r=bk(n);return(a,i)=>(Je(),lt("div",{class:$r([[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)())},[hn(a.$slots,"default"),Ze("div",{class:$r([{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:$r(["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))}}),aR=lr({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(e,n)=>(Je(),Jt($e(rk),Is({disabled:e.disabled,placement:e.placement},e.$attrs),{popper:zt(()=>[hn(e.$slots,"popper")]),default:zt(()=>[hn(e.$slots,"default")]),_:3},16,["disabled","placement"]))}}),lR="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",cR={class:"h-screen w-screen $ui-fcc flex-col"},uR={class:"outer"},pR={class:"inner"},hR=["src"],fR=lr({__name:"AppConnecting",setup(t){return(e,n)=>(Je(),lt("div",cR,[Ze("div",uR,[Ze("div",pR,[Ze("img",{src:$e(lR),class:"max-w-18",alt:"Vue logo"},null,8,hR)])]),hn(e.$slots,"default",{},void 0,!0)]))}}),dR=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},mR=dR(fR,[["__scopeId","data-v-56eba732"]]);function gR(){const{copy:t,copied:e}=Pk();return{copy:(r,a={})=>{const{silent:i=!1,type:s=""}=a;t(r).then(()=>{i||Qv({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{i||Qv({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:e}}const vR=["src","alt"],yR=["title"],e6="custom-ic-",Qh=lr({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0},fallback:{}},setup(t){const e=t,n=xt(e.icon);Lr(()=>e.icon,a=>{n.value=a});function r(){n.value=e.fallback}return(a,i)=>$e(n)&&$e(aw)($e(n))?(Je(),lt("img",Is({key:0,style:{width:"1em",height:"1em"}},a.$attrs,{src:$e(n),alt:a.title,onError:r}),null,16,vR)):$e(n)?.startsWith(e6)?(Je(),Jt($e(Ou),Is({key:1,name:$e(n).slice(e6.length)},a.$attrs,{title:a.showTitle?a.title:void 0}),null,16,["name","title"])):(Je(),lt("div",Is({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,yR))}});function ia(t){return Array.isArray?Array.isArray(t):UC(t)==="[object Array]"}function bR(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function CR(t){return t==null?"":bR(t)}function Eo(t){return typeof t=="string"}function FC(t){return typeof t=="number"}function SR(t){return t===!0||t===!1||ER(t)&&UC(t)=="[object Boolean]"}function $C(t){return typeof t=="object"}function ER(t){return $C(t)&&t!==null}function zi(t){return t!=null}function Wd(t){return!t.trim().length}function UC(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const xR="Incorrect 'index' type",wR=t=>`Invalid value for key ${t}`,TR=t=>`Pattern length exceeds max of ${t}.`,AR=t=>`Missing ${t} property in key`,_R=t=>`Property 'weight' in key '${t}' must be a positive integer`,t6=Object.prototype.hasOwnProperty;class MR{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let a=qC(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 qC(t){let e=null,n=null,r=null,a=1,i=null;if(Eo(t)||ia(t))r=t,e=r6(t),n=o5(t);else{if(!t6.call(t,"name"))throw new Error(AR("name"));const s=t.name;if(r=s,t6.call(t,"weight")&&(a=t.weight,a<=0))throw new Error(_R(s));e=r6(s),n=o5(s),i=t.getFn}return{path:e,id:n,weight:a,src:r,getFn:i}}function r6(t){return ia(t)?t:t.split(".")}function o5(t){return ia(t)?t.join("."):t}function PR(t,e){let n=[],r=!1;const a=(i,s,o)=>{if(zi(i))if(!s[o])n.push(i);else{let l=s[o];const p=i[l];if(!zi(p))return;if(o===s.length-1&&(Eo(p)||FC(p)||SR(p)))n.push(CR(p));else if(ia(p)){r=!0;for(let u=0,h=p.length;ut.score===e.score?t.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Eo(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();Eo(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(zi(s)){if(ia(s)){let o=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:p,value:u}=l.pop();if(zi(u))if(Eo(u)&&!Wd(u)){let h={v:u,i:p,n:this.norm.get(u)};o.push(h)}else ia(u)&&u.forEach((h,d)=>{l.push({nestedArrIndex:d,value:h})})}r.$[i]=o}else if(Eo(s)&&!Wd(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 WC(t,e,{getFn:n=Ur.getFn,fieldNormWeight:r=Ur.fieldNormWeight}={}){const a=new Wm({getFn:n,fieldNormWeight:r});return a.setKeys(t.map(qC)),a.setSources(e),a.create(),a}function VR(t,{getFn:e=Ur.getFn,fieldNormWeight:n=Ur.fieldNormWeight}={}){const{keys:r,records:a}=t,i=new Wm({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function np(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Ur.distance,ignoreLocation:i=Ur.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 HR(t=[],e=Ur.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 DR(t,e,n,{location:r=Ur.location,distance:a=Ur.distance,threshold:i=Ur.threshold,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,includeMatches:l=Ur.includeMatches,ignoreLocation:p=Ur.ignoreLocation}={}){if(e.length>ml)throw new Error(TR(ml));const u=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 S;for(;(S=t.indexOf(e,f))>-1;){let T=np(e,{currentLocation:S,expectedLocation:d,distance:a,ignoreLocation:p});if(m=Math.min(T,m),f=S+u,v){let O=0;for(;O=z;N-=1){let $=N-1,H=n[t.charAt($)];if(v&&(C[$]=+!!H),W[N]=(W[N+1]<<1|1)&H,T&&(W[N]|=(x[N+1]|x[N])<<1|1|x[N+1]),W[N]&y&&(g=np(e,{errors:T,currentLocation:$,expectedLocation:d,distance:a,ignoreLocation:p}),g<=m)){if(m=g,f=$,f<=d)break;z=Math.max(1,2*d-f)}}if(np(e,{errors:T+1,currentLocation:d,expectedLocation:d,distance:a,ignoreLocation:p})>m)break;x=W}const _={isMatch:f>=0,score:Math.max(.001,g)};if(v){const T=HR(C,o);T.length?l&&(_.indices=T):_.isMatch=!1}return _}function RR(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 GC{constructor(e,{location:n=Ur.location,threshold:r=Ur.threshold,distance:a=Ur.distance,includeMatches:i=Ur.includeMatches,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,isCaseSensitive:l=Ur.isCaseSensitive,ignoreDiacritics:p=Ur.ignoreDiacritics,ignoreLocation:u=Ur.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:p,ignoreLocation:u},e=l?e:e.toLowerCase(),e=p?lh(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,f)=>{this.chunks.push({pattern:m,alphabet:RR(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}=DR(e,v,C,{location:i+S,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:p,includeMatches:a,ignoreLocation:u});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 Ka{constructor(e){this.pattern=e}static isMultiMatch(e){return n6(e,this.multiRegex)}static isSingleMatch(e){return n6(e,this.singleRegex)}search(){}}function n6(t,e){const n=t.match(e);return n?n[1]:null}class jR extends Ka{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 BR extends Ka{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 FR extends Ka{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 $R extends Ka{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 UR extends Ka{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 qR extends Ka{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 KC extends Ka{constructor(e,{location:n=Ur.location,threshold:r=Ur.threshold,distance:a=Ur.distance,includeMatches:i=Ur.includeMatches,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,isCaseSensitive:l=Ur.isCaseSensitive,ignoreDiacritics:p=Ur.ignoreDiacritics,ignoreLocation:u=Ur.ignoreLocation}={}){super(e),this._bitapSearch=new GC(e,{location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:p,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class XC extends Ka{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 a5=[jR,XC,FR,$R,qR,UR,BR,KC],s6=a5.length,WR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,GR="|";function KR(t,e={}){return t.split(GR).map(n=>{let r=n.trim().split(WR).filter(i=>i&&!!i.trim()),a=[];for(let i=0,s=r.length;i!!(t[ch.AND]||t[ch.OR]),QR=t=>!!t[u5.PATH],ZR=t=>!ia(t)&&$C(t)&&!p5(t),i6=t=>({[ch.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function YC(t,e,{auto:n=!0}={}){const r=a=>{let i=Object.keys(a);const s=QR(a);if(!s&&i.length>1&&!p5(a))return r(i6(a));if(ZR(a)){const l=s?a[u5.PATH]:i[0],p=s?a[u5.PATTERN]:a[l];if(!Eo(p))throw new Error(wR(l));const u={keyId:o5(l),pattern:p};return n&&(u.searcher=c5(p,e)),u}let o={children:[],operator:i[0]};return i.forEach(l=>{const p=a[l];ia(p)&&p.forEach(u=>{o.children.push(r(u))})}),o};return p5(t)||(t=i6(t)),r(t)}function ej(t,{ignoreFieldNorm:e=Ur.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 tj(t,e){const n=t.matches;e.matches=[],zi(n)&&n.forEach(r=>{if(!zi(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 rj(t,e){e.score=t.score}function nj(t,e,{includeMatches:n=Ur.includeMatches,includeScore:r=Ur.includeScore}={}){const a=[];return n&&a.push(tj),r&&a.push(rj),t.map(i=>{const{idx:s}=i,o={item:e[s],refIndex:s};return a.length&&a.forEach(l=>{l(i,o)}),o})}class n1{constructor(e,n={},r){this.options={...Ur,...n},this.options.useExtendedSearch,this._keyStore=new MR(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Wm))throw new Error(xR);this._myIndex=n||WC(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){zi(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)),nj(l,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e){const n=c5(e,this.options),{records:r}=this._myIndex,a=[];return r.forEach(({v:i,i:s,n:o})=>{if(!zi(i))return;const{isMatch:l,score:p,indices:u}=n.searchIn(i);l&&a.push({item:i,idx:s,matches:[{score:p,value:i,norm:o,indices:u}]})}),a}_searchLogical(e){const n=YC(e,this.options),r=(o,l,p)=>{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:p,item:l,matches:m}]:[]}const u=[];for(let h=0,d=o.children.length;h{if(zi(o)){let p=r(n,o,l);p.length&&(i[l]||(i[l]={idx:l,item:o,matches:[]},s.push(i[l])),p.forEach(({matches:u})=>{i[l].matches.push(...u)}))}}),s}_searchObjectList(e){const n=c5(e,this.options),{keys:r,records:a}=this._myIndex,i=[];return a.forEach(({$:s,i:o})=>{if(!zi(s))return;let l=[];r.forEach((p,u)=>{l.push(...this._findMatches({key:p,value:s[u],searcher:n}))}),l.length&&i.push({idx:o,item:s,matches:l})}),i}_findMatches({key:e,value:n,searcher:r}){if(!zi(n))return[];let a=[];if(ia(n))n.forEach(({v:i,i:s,n:o})=>{if(!zi(i))return;const{isMatch:l,score:p,indices:u}=r.searchIn(i);l&&a.push({score:p,key:e,value:i,idx:s,norm:o,indices:u})});else{const{v:i,n:s}=n,{isMatch:o,score:l,indices:p}=r.searchIn(i);o&&a.push({score:l,key:e,value:i,norm:s,indices:p})}return a}}n1.version="7.1.0";n1.createIndex=WC;n1.parseIndex=VR;n1.config=Ur;n1.parseQuery=YC;JR(YR);function sj(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Gd,o6;function ij(){return o6||(o6=1,Gd=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}),Gd}var oj=ij();const JC=sj(oj),s1={__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=Lh(),i=xt([]),s=pt(()=>i.value.reduce((ue,ae)=>(ue[~~ae.id]=ae)&&ue,{})),o=pt(()=>i.value.length),l=xt(null),p=xt(!1),u=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":u.value.dragging})),m=()=>{document.addEventListener("mousemove",C,{passive:!1}),document.addEventListener("mouseup",S),"ontouchstart"in window&&(document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",S))},f=()=>{document.removeEventListener("mousemove",C,{passive:!1}),document.removeEventListener("mouseup",S),"ontouchstart"in window&&(document.removeEventListener("touchmove",C,{passive:!1}),document.removeEventListener("touchend",S))},v=(ue,ae)=>{const ce=ue.target.closest(".splitpanes__splitter");if(ce){const{left:oe,top:ie}=ce.getBoundingClientRect(),{clientX:Se,clientY:ne}="ontouchstart"in window&&ue.touches?ue.touches[0]:ue;u.value.cursorOffset=r.horizontal?ne-ie:Se-oe}m(),u.value.mouseDown=!0,u.value.activeSplitter=ae},C=ue=>{u.value.mouseDown&&(ue.preventDefault(),u.value.dragging=!0,requestAnimationFrame(()=>{T(y(ue)),Ce("resize",{event:ue},!0)}))},S=ue=>{u.value.dragging&&(window.getSelection().removeAllRanges(),Ce("resized",{event:ue},!0)),u.value.mouseDown=!1,u.value.activeSplitter=null,setTimeout(()=>{u.value.dragging=!1,f()},100)},x=(ue,ae)=>{"ontouchstart"in window&&(ue.preventDefault(),h.value.splitter===ae?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,g(ue,ae),h.value.splitter=null):(h.value.splitter=ae,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),u.value.dragging||Ce("splitter-click",{event:ue,index:ae},!0)},g=(ue,ae)=>{if(Ce("splitter-dblclick",{event:ue,index:ae},!0),r.maximizePanes){let ce=0;i.value=i.value.map((oe,ie)=>(oe.size=ie===ae?oe.max:oe.min,ie!==ae&&(ce+=oe.min),oe)),i.value[ae].size-=ce,Ce("pane-maximize",{event:ue,index:ae,pane:i.value[ae]}),Ce("resized",{event:ue,index:ae},!0)}},w=(ue,ae)=>{Ce("pane-click",{event:ue,index:s.value[ae].index,pane:s.value[ae]})},y=ue=>{const ae=l.value.getBoundingClientRect(),{clientX:ce,clientY:oe}="ontouchstart"in window&&ue.touches?ue.touches[0]:ue;return{x:ce-(r.horizontal?0:u.value.cursorOffset)-ae.left,y:oe-(r.horizontal?u.value.cursorOffset:0)-ae.top}},_=ue=>{ue=ue[r.horizontal?"y":"x"];const ae=l.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(ue=ae-ue),ue*100/ae},T=ue=>{const ae=u.value.activeSplitter;let ce={prevPanesSize:I(ae),nextPanesSize:z(ae),prevReachedMinPanes:0,nextReachedMinPanes:0};const oe=0+(r.pushOtherPanes?0:ce.prevPanesSize),ie=100-(r.pushOtherPanes?0:ce.nextPanesSize),Se=Math.max(Math.min(_(ue),ie),oe);let ne=[ae,ae+1],ge=i.value[ne[0]]||null,xe=i.value[ne[1]]||null;const He=ge.max<100&&Se>=ge.max+ce.prevPanesSize,ee=xe.max<100&&Se<=100-(xe.max+z(ae+1));if(He||ee){He?(ge.size=ge.max,xe.size=Math.max(100-ge.max-ce.prevPanesSize-ce.nextPanesSize,0)):(ge.size=Math.max(100-xe.max-ce.prevPanesSize-z(ae+1),0),xe.size=xe.max);return}if(r.pushOtherPanes){const k=O(ce,Se);if(!k)return;({sums:ce,panesToResize:ne}=k),ge=i.value[ne[0]]||null,xe=i.value[ne[1]]||null}ge!==null&&(ge.size=Math.min(Math.max(Se-ce.prevPanesSize-ce.prevReachedMinPanes,ge.min),ge.max)),xe!==null&&(xe.size=Math.min(Math.max(100-Se-ce.nextPanesSize-ce.nextReachedMinPanes,xe.min),xe.max))},O=(ue,ae)=>{const ce=u.value.activeSplitter,oe=[ce,ce+1];return ae{Se>oe[0]&&Se<=ce&&(ie.size=ie.min,ue.prevReachedMinPanes+=ie.min)}),ue.prevPanesSize=I(oe[0]),oe[0]===void 0)?(ue.prevReachedMinPanes=0,i.value[0].size=i.value[0].min,i.value.forEach((ie,Se)=>{Se>0&&Se<=ce&&(ie.size=ie.min,ue.prevReachedMinPanes+=ie.min)}),i.value[oe[1]].size=100-ue.prevReachedMinPanes-i.value[0].min-ue.prevPanesSize-ue.nextPanesSize,null):ae>100-ue.nextPanesSize-i.value[oe[1]].min&&(oe[1]=W(ce).index,ue.nextReachedMinPanes=0,oe[1]>ce+1&&i.value.forEach((ie,Se)=>{Se>ce&&Se{Se=ce+1&&(ie.size=ie.min,ue.nextReachedMinPanes+=ie.min)}),i.value[oe[0]].size=100-ue.prevPanesSize-z(oe[0]-1),null):{sums:ue,panesToResize:oe}},I=ue=>i.value.reduce((ae,ce,oe)=>ae+(oei.value.reduce((ae,ce,oe)=>ae+(oe>ue+1?ce.size:0),0),q=ue=>[...i.value].reverse().find(ae=>ae.indexae.min)||{},W=ue=>i.value.find(ae=>ae.index>ue+1&&ae.size>ae.min)||{},F=()=>{var ue;const ae=Array.from(((ue=l.value)==null?void 0:ue.children)||[]);for(const ce of ae){const oe=ce.classList.contains("splitpanes__pane"),ie=ce.classList.contains("splitpanes__splitter");!oe&&!ie&&(ce.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},N=(ue,ae,ce=!1)=>{const oe=ue-1,ie=document.createElement("div");ie.classList.add("splitpanes__splitter"),ce||(ie.onmousedown=Se=>v(Se,oe),typeof window<"u"&&"ontouchstart"in window&&(ie.ontouchstart=Se=>v(Se,oe)),ie.onclick=Se=>x(Se,oe+1)),ie.ondblclick=Se=>g(Se,oe+1),ae.parentNode.insertBefore(ie,ae)},$=ue=>{ue.onmousedown=void 0,ue.onclick=void 0,ue.ondblclick=void 0,ue.remove()},H=()=>{var ue;const ae=Array.from(((ue=l.value)==null?void 0:ue.children)||[]);for(const oe of ae)oe.className.includes("splitpanes__splitter")&&$(oe);let ce=0;for(const oe of ae)oe.className.includes("splitpanes__pane")&&(!ce&&r.firstSplitter?N(ce,oe,!0):ce&&N(ce,oe),ce++)},R=({uid:ue,...ae})=>{const ce=s.value[ue];for(const[oe,ie]of Object.entries(ae))ce[oe]=ie},K=ue=>{var ae;let ce=-1;Array.from(((ae=l.value)==null?void 0:ae.children)||[]).some(oe=>(oe.className.includes("splitpanes__pane")&&ce++,oe.isSameNode(ue.el))),i.value.splice(ce,0,{...ue,index:ce}),i.value.forEach((oe,ie)=>oe.index=ie),p.value&&Es(()=>{H(),he({addedPane:i.value[ce]}),Ce("pane-add",{pane:i.value[ce]})})},se=ue=>{const ae=i.value.findIndex(oe=>oe.id===ue);i.value[ae].el=null;const ce=i.value.splice(ae,1)[0];i.value.forEach((oe,ie)=>oe.index=ie),Es(()=>{H(),Ce("pane-remove",{pane:ce}),he({removedPane:{...ce}})})},he=(ue={})=>{!ue.addedPane&&!ue.removedPane?X():i.value.some(ae=>ae.givenSize!==null||ae.min||ae.max<100)?Q(ue):Le(),p.value&&Ce("resized")},Le=()=>{const ue=100/o.value;let ae=0;const ce=[],oe=[];for(const ie of i.value)ie.size=Math.max(Math.min(ue,ie.max),ie.min),ae-=ie.size,ie.size>=ie.max&&ce.push(ie.id),ie.size<=ie.min&&oe.push(ie.id);ae>.1&&fe(ae,ce,oe)},X=()=>{let ue=100;const ae=[],ce=[];let oe=0;for(const Se of i.value)ue-=Se.size,Se.givenSize!==null&&oe++,Se.size>=Se.max&&ae.push(Se.id),Se.size<=Se.min&&ce.push(Se.id);let ie=100;if(ue>.1){for(const Se of i.value)Se.givenSize===null&&(Se.size=Math.max(Math.min(ue/(o.value-oe),Se.max),Se.min)),ie-=Se.size;ie>.1&&fe(ie,ae,ce)}},Q=({addedPane:ue,removedPane:ae}={})=>{let ce=100/o.value,oe=0;const ie=[],Se=[];(ue?.givenSize??null)!==null&&(ce=(100-ue.givenSize)/(o.value-1));for(const ne of i.value)oe-=ne.size,ne.size>=ne.max&&ie.push(ne.id),ne.size<=ne.min&&Se.push(ne.id);if(!(Math.abs(oe)<.1)){for(const ne of i.value)ue?.givenSize!==null&&ue?.id===ne.id||(ne.size=Math.max(Math.min(ce,ne.max),ne.min)),oe-=ne.size,ne.size>=ne.max&&ie.push(ne.id),ne.size<=ne.min&&Se.push(ne.id);oe>.1&&fe(oe,ie,Se)}},fe=(ue,ae,ce)=>{let oe;ue>0?oe=ue/(o.value-ae.length):oe=ue/(o.value-ce.length),i.value.forEach((ie,Se)=>{if(ue>0&&!ae.includes(ie.id)){const ne=Math.max(Math.min(ie.size+oe,ie.max),ie.min),ge=ne-ie.size;ue-=ge,ie.size=ne}else if(!ce.includes(ie.id)){const ne=Math.max(Math.min(ie.size+oe,ie.max),ie.min),ge=ne-ie.size;ue-=ge,ie.size=ne}}),Math.abs(ue)>.1&&Es(()=>{p.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},Ce=(ue,ae=void 0,ce=!1)=>{const oe=ae?.index??u.value.activeSplitter??null;n(ue,{...ae,...oe!==null&&{index:oe},...ce&&oe!==null&&{prevPane:i.value[oe-(r.firstSplitter?1:0)],nextPane:i.value[oe+(r.firstSplitter?0:1)]},panes:i.value.map(ie=>({min:ie.min,max:ie.max,size:ie.size}))})};Lr(()=>r.firstSplitter,()=>H()),ri(()=>{F(),H(),he(),Ce("ready"),p.value=!0}),Xc(()=>p.value=!1);const Me=()=>{var ue;return Wa("div",{ref:l,class:d.value},(ue=a.default)==null?void 0:ue.call(a))};return _s("panes",i),_s("indexedPanes",s),_s("horizontal",pt(()=>r.horizontal)),_s("requestUpdate",R),_s("onPaneAdd",K),_s("onPaneRemove",se),_s("onPaneClick",w),(ue,ae)=>(Je(),Jt(Ao(Me)))}},Vi={__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=zn("requestUpdate"),a=zn("onPaneAdd"),i=zn("horizontal"),s=zn("onPaneRemove"),o=zn("onPaneClick"),l=(e=ws())==null?void 0:e.uid,p=zn("indexedPanes"),u=pt(()=>p.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=u.value)==null?void 0:C.size}%`});return Lr(()=>d.value,C=>r({uid:l,size:C})),Lr(()=>m.value,C=>r({uid:l,min:C})),Lr(()=>f.value,C=>r({uid:l,max:C})),ri(()=>{a({id:l,el:h.value,min:m.value,max:f.value,givenSize:n.size===void 0?null:d.value,size:d.value})}),Xc(()=>s(l)),(C,S)=>(Je(),lt("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:S[0]||(S[0]=x=>$e(o)(x,C._.uid)),style:Hs(v.value)},[hn(C.$slots,"default")],4))}};function aj(){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 mp;function h5(){h5.init||(h5.init=!0,mp=aj()!==-1)}var Zh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){h5(),Es(()=>{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",mp&&this.$el.appendChild(t),t.data="about:blank",mp||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&&(!mp&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lj=j5();D5("data-v-b329ee4c");const cj={class:"resize-observer",tabindex:"-1"};R5();const uj=lj((t,e,n,r,a,i)=>(Je(),Jt("div",cj)));Zh.render=uj;Zh.__scopeId="data-v-b329ee4c";Zh.__file="src/components/ResizeObserver.vue";function gp(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gp=function(e){return typeof e}:gp=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gp(t)}function pj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hj(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 p=arguments.length,u=new Array(p>1?p-1:0),h=1;h1){var p=o.find(function(h){return h.isIntersecting});p&&(l=p)}if(a.callback){var u=l.isIntersecting&&l.intersectionRatio>=a.threshold;if(u===a.oldResult)return;a.oldResult=u,a.callback(u,l)}},this.options.intersection),Es(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 ZC(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 Cj(t,r,n);t._vue_visibilityState=a}}function Sj(t,e,n){var r=e.value,a=e.oldValue;if(!QC(r,a)){var i=t._vue_visibilityState;if(!r){eS(t);return}i?i.createObserver(r,n):ZC(t,{value:r},n)}}function eS(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}var Ej={beforeMount:ZC,updated:Sj,unmounted:eS},xj={itemsLimit:1e3},wj=/(auto|scroll)/;function tS(t,e){return t.parentNode===null?e:tS(t.parentNode,e.concat([t]))}var Kd=function(e,n){return getComputedStyle(e,null).getPropertyValue(n)},Tj=function(e){return Kd(e,"overflow")+Kd(e,"overflow-y")+Kd(e,"overflow-x")},Aj=function(e){return wj.test(Tj(e))};function l6(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var e=tS(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=N5({id:Lj++,index:e,used:!0,key:r,type:a}),s=Eh({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,p=l.length,u=this.sizes,h=this.$_views,d=this.$_unusedViews,m=this.pool,f=this.itemIndexByKey;let v,C,S,x,g;if(!p)v=C=x=g=S=0;else if(this.$_prerender)v=x=0,C=g=Math.min(this.prerender,l.length),S=null;else{const z=this.getScroll();if(e){let F=z.start-this.$_lastUpdateScrollPosition;if(F<0&&(F=-F),n===null&&Fz.start&&($=H),H=~~((N+$)/2);while(H!==R);for(H<0&&(H=0),v=H,S=u[p-1].accumulator,C=H;Cp&&(C=p)),x=v;xp&&(C=p),x<0&&(x=0),g>p&&(g=p),S=Math.ceil(p/r)*n}}C-v>xj.itemsLimit&&this.itemsLimitError(),this.totalSize=S;let w;const y=v<=this.$_endIndex&&C>=this.$_startIndex;if(y)for(let z=0,q=m.length;z=C)&&this.unuseView(w));const _=y?null:new Map;let T,O,I;for(let z=v;z=W.length)&&(w=this.addView(m,z,T,q,O),this.unuseView(w,!0),W=d.get(O)),w=W[I],_.set(O,I+1)),h.delete(w.nr.key),w.nr.used=!0,w.nr.index=z,w.nr.key=q,w.nr.type=O,h.set(q,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=u[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:y}},getListenerTarget(){let t=l6(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,m5?{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=l6(this.$el),s=i.tagName==="HTML"?0:i[e.scroll],o=i.getBoundingClientRect(),p=this.$el.getBoundingClientRect()[e.start]-o[e.start];n=i,r=e.scroll,a=t+s+p}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 Oj={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Ij={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function kj(t,e,n,r,a,i){const s=na("ResizeObserver"),o=Uy("observe-visibility");return Dn((Je(),lt("div",{class:$r(["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",Oj,[hn(t.$slots,"before")],512)):rr("v-if",!0),(Je(),Jt(Ao(n.listTag),{ref:"wrapper",style:Hs({[t.direction==="vertical"?"minHeight":"minWidth"]:a.totalSize+"px"}),class:$r(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:zt(()=>[(Je(!0),lt(Vr,null,xs(a.pool,l=>(Je(),Jt(Ao(n.itemTag),Is({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}]]},qy(n.skipHover?{}:{mouseenter:()=>{a.hoverKey=l.nr.key},mouseleave:()=>{a.hoverKey=null}})),{default:zt(()=>[hn(t.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),hn(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(Je(),lt("div",Ij,[hn(t.$slots,"after")],512)):rr("v-if",!0),gt(s,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[o,i.handleVisibilityChange]])}Gm.render=kj;Gm.__file="src/components/RecycleScroller.vue";var rS=typeof global=="object"&&global&&global.Object===Object&&global,zj=typeof self=="object"&&self&&self.Object===Object&&self,la=rS||zj||Function("return this")(),Oo=la.Symbol,nS=Object.prototype,Nj=nS.hasOwnProperty,Vj=nS.toString,z1=Oo?Oo.toStringTag:void 0;function Hj(t){var e=Nj.call(t,z1),n=t[z1];try{t[z1]=void 0;var r=!0}catch{}var a=Vj.call(t);return r&&(e?t[z1]=n:delete t[z1]),a}var Dj=Object.prototype,Rj=Dj.toString;function jj(t){return Rj.call(t)}var Bj="[object Null]",Fj="[object Undefined]",c6=Oo?Oo.toStringTag:void 0;function i1(t){return t==null?t===void 0?Fj:Bj:c6&&c6 in Object(t)?Hj(t):jj(t)}function Wc(t){return t!=null&&typeof t=="object"}var $j="[object Symbol]";function Km(t){return typeof t=="symbol"||Wc(t)&&i1(t)==$j}function Uj(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<=pB}function lS(t){return t!=null&&Ym(t.length)&&!iS(t)}var hB=Object.prototype;function fB(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||hB;return t===n}function dB(t,e){for(var n=-1,r=Array(t);++n-1}function SF(t,e){var n=this.__data__,r=ef(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ca(t){var e=-1,n=t==null?0:t.length;for(this.clear();++eo))return!1;var p=i.get(t),u=i.get(e);if(p&&u)return p==e&&u==t;var h=-1,d=!0,m=n&c$?new uh:void 0;for(i.set(t,e),i.set(e,t);++hbS)return!1;let a=!1;const i=Object.keys(t);let s,o;for(let l=0;lbS)return!1;let a=!1,i;for(let s=0;soU({[o.key]:o.value},n));s.length&&(a[i]=r?r(s):s)}return a}const ES=lr({__name:"NodeTag",props:{tag:{}},setup(t){return(e,n)=>Dn((Je(),lt("span",{style:Hs({color:`#${$e(I6)(e.tag.textColor)}`,backgroundColor:`#${$e(I6)(e.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[ln(cn(e.tag.label),1)],4)),[[$e(Ss),{content:e.tag.tooltip,html:!0}]])}}),cU={class:"p2"},uU=["onClick"],pU=lr({__name:"SelectiveList",props:Hc({data:{}},{modelValue:{},modelModifiers:{}}),emits:Hc(["select"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Oh(t,"modelValue");function a(i){r.value=i,n("select",i)}return(i,s)=>(Je(),lt("ul",cU,[(Je(!0),lt(Vr,null,xs(i.data,o=>(Je(),lt("li",{key:o.id,class:$r(["selectable-item",{active:o.id===r.value}]),onClick:l=>a(o.id)},[ln(cn(o.label)+" ",1),(Je(!0),lt(Vr,null,xs(o.tags,(l,p)=>(Je(),Jt(ES,{key:p,tag:l},null,8,["tag"]))),128))],10,uU))),128))]))}}),n4=Symbol("VirtualRouteKey"),xS=Symbol("VirtualRoutesKey");function s4(t,e){const n=e?.defaultRoutePath??Pr(t)[0].path,r=xt({path:n}),a=pt(()=>Pr(t)),i=pt(()=>r.value.path),s=lr({setup(){return()=>{const l=a.value.find(p=>p.path===i.value);return l?Wa(l.component):null}}});function o(){r.value.path=n}return _s(n4,r),_s(xS,a),{VirtualRouterView:s,restoreRouter:o}}function Yu(){const t=zn(n4);return{push(e){t.value.path=e}}}function hU(){const t=zn(xS),e=zn(n4);return{routes:t,currentRoute:e}}const fU={border:"b base",class:"flex items-center justify-between px3"},dU=["href"],mU=["href"],o1=lr({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(t){const e=Yu();return(n,r)=>(Je(),lt("div",fU,[Ze("div",null,[hn(n.$slots,"default",{},()=>[Ze("i",{class:"i-ep:back cursor-pointer text-base op70 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 text-base op70 hover:op100"},null,-1)]),8,dU),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 text-base op70 hover:op100"},null,-1)]),8,mU)):rr("",!0)])]))}}),Xa=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},gU={},vU={class:"h-full flex flex-col items-center justify-center op50"};function yU(t,e){return Je(),lt("div",vU,[e[0]||(e[0]=Ze("i",{class:"i-lets-icons:blank-light"},null,-1)),Ze("span",null,[hn(t.$slots,"default")])])}const Nc=Xa(gU,[["render",yU]]),bU={class:"flex gap3"},CU=["onClick"],a1=lr({__name:"Navbar",setup(t){const{routes:e,currentRoute:n}=hU(),r=Yu();return(a,i)=>(Je(),lt("ul",bU,[(Je(!0),lt(Vr,null,xs($e(e),(s,o)=>(Je(),lt("li",{key:o,class:$r(["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)},cn(s.name),11,CU))),128))]))}}),i4=lr({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(t){return(e,n)=>(Je(),lt("i",{class:$r(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":e.value}])},null,2))}}),wS=Symbol("StateEditorSymbol");function SU(t){const e=xt(t);return _s(wS,e),{context:e}}function o4(){return zn(wS)}function EU(){const t=xt(""),e=xt("string"),n=xt(!1),r=o4();return{editingText:t,editing:n,toggleEditing(a){a&&(e.value=a),n.value=!n.value},editingType:e,nodeId:pt(()=>r.value.nodeId)}}function xU(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 wU(){const t=xt({enable:!1,key:"",value:"undefined"});function e(r,a){const i=xU(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 TS="expanded-state";function oa(t=""){const e=xt([]);return _s(`${TS}-${t}`,e),{expanded:e}}function a4(t=""){const e=zn(`${TS}-${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 l4(t){return yh()?(O5(t),!0):!1}const c4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const TU=t=>typeof t<"u",AU=Object.prototype.toString,_U=t=>AU.call(t)==="[object Object]",S5=()=>{};function AS(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 MU=t=>t();function _S(t,e={}){let n,r,a=S5;const i=o=>{clearTimeout(o),a(),a=S5};let s;return o=>{const l=Pr(t),p=Pr(e.maxWait);return n&&i(n),l<=0||p!==void 0&&p<=0?(r&&(i(r),r=void 0),Promise.resolve(o())):new Promise((u,h)=>{a=e.rejectOnCancel?h:u,s=o,p&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,u(s())},p)),n=setTimeout(()=>{r&&i(r),r=void 0,u(o())},l)})}}function z6(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function PU(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 vp(t){return Array.isArray(t)?t:[t]}function LU(t){return ws()}function N6(t,e=200,n={}){return AS(_S(e,n),t)}function OU(t,e,n={}){const{eventFilter:r=MU,...a}=n;return Lr(t,AS(r,e),a)}function IU(t,e=!0,n){LU()?ri(t,n):e?t():Es(t)}function E5(t,e=!1){function n(h,{flush:d="sync",deep:m=!1,timeout:f,throwOnTimeout:v}={}){let C=null;const S=[new Promise(x=>{C=Lr(t,g=>{h(g)!==e&&(C?C():Es(()=>C?.()),x(g))},{flush:d,deep:m,immediate:!0})})];return f!=null&&S.push(z6(f,v).then(()=>Pr(t)).finally(()=>C?.())),Promise.race(S)}function r(h,d){if(!xn(h))return n(g=>g===h,d);const{flush:m="sync",deep:f=!1,timeout:v,throwOnTimeout:C}=d??{};let S=null;const x=[new Promise(g=>{S=Lr([t,h],([w,y])=>{e!==(w===y)&&(S?S():Es(()=>S?.()),g(w))},{flush:m,deep:f,immediate:!0})})];return v!=null&&x.push(z6(v,C).then(()=>Pr(t)).finally(()=>(S?.(),Pr(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(Pr(h))},d)}function p(h){return u(1,h)}function u(h=1,d){let m=-1;return n(()=>(m+=1,m>=h),d)}return Array.isArray(Pr(t))?{toMatch:n,toContains:l,changed:p,changedTimes:u,get not(){return E5(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:i,toBeNaN:o,toBeUndefined:s,changed:p,changedTimes:u,get not(){return E5(t,!e)}}}function MS(t){return E5(t)}function kU(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=qr(!1);let s;function o(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,o()}function p(...u){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},Pr(e))}return r&&(i.value=!0,c4&&p()),l4(l),{isPending:Hu(i),start:p,stop:l}}function PS(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=xn(t),i=qr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Pr(n);return i.value=i.value===l?Pr(r):l,i.value}}return a?s:[i,s]}function LS(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return OU(t,e,{...i,eventFilter:_S(r,{maxWait:a})})}function zU(t,e,n){return Lr(t,e,{...n,immediate:!0})}const Ju=c4?window:void 0,OS=c4?window.navigator:void 0;function yl(t){var e;const n=Pr(t);return(e=n?.$el)!=null?e:n}function xo(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,p,u)=>(o.addEventListener(l,p,u),()=>o.removeEventListener(l,p,u)),a=pt(()=>{const o=vp(Pr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=zU(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(p=>yl(p)))!=null?l:[Ju].filter(p=>p!=null),vp(Pr(a.value?t[1]:t[0])),vp($e(a.value?t[2]:t[1])),Pr(a.value?t[3]:t[2])]},([o,l,p,u])=>{if(n(),!o?.length||!l?.length||!p?.length)return;const h=_U(u)?{...u}:u;e.push(...o.flatMap(d=>l.flatMap(m=>p.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return l4(n),s}function NU(){const t=qr(!1),e=ws();return e&&ri(()=>{t.value=!0},e),t}function u4(t){const e=NU();return pt(()=>(e.value,!!t()))}function VU(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function N1(...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=Ju,eventName:i="keydown",passive:s=!1,dedupe:o=!1}=r,l=VU(e);return xo(a,i,p=>{p.repeat&&Pr(o)||l(p)&&n(p)},s)}function V6(t,e={}){const{controls:n=!1,navigator:r=OS}=e,a=u4(()=>r&&"permissions"in r),i=qr(),s=typeof t=="string"?{name:t}:t,o=qr(),l=()=>{var u,h;o.value=(h=(u=i.value)==null?void 0:u.state)!=null?h:"prompt"};xo(i,"change",l,{passive:!0});const p=PU(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 gn(i.value)}});return p(),n?{state:o,isSupported:a,query:p}:o}function HU(t={}){const{navigator:e=OS,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=u4(()=>e&&"clipboard"in e),o=V6("clipboard-read"),l=V6("clipboard-write"),p=pt(()=>s.value||i),u=qr(""),h=qr(!1),d=kU(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&S(o.value));if(!x)try{u.value=await e.clipboard.readText()}catch{x=!0}x&&(u.value=C())}p.value&&n&&xo(["copy","cut"],m,{passive:!0});async function f(x=Pr(r)){if(p.value&&x!=null){let g=!(s.value&&S(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),u.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 S(x){return x==="granted"||x==="prompt"}return{isSupported:p,text:u,copied:h,copy:f}}function DU(t){return JSON.parse(JSON.stringify(t))}function RU(t,e,n={}){const{window:r=Ju,...a}=n;let i;const s=u4(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Pr(t);return Array.isArray(h)?h.map(d=>yl(d)):[yl(h)]}),p=Lr(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"}),u=()=>{o(),p()};return l4(u),{isSupported:s,stop:u}}function jU(t,e={width:0,height:0},n={}){const{window:r=Ju,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=yl(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=qr(e.width),o=qr(e.height),{stop:l}=RU(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=yl(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=vp(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);IU(()=>{const h=yl(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const p=Lr(()=>yl(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function u(){l(),p()}return{width:s,height:o,stop:u}}const BU={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function FU(t={}){const{reactive:e=!1,target:n=Ju,aliasMap:r=BU,passive:a=!0,onEventFired:i=S5}=t,s=lo(new Set),o={toJSON(){return{}},current:s},l=e?lo(o):o,p=new Set,u=new Set,h=new Set;function d(C,S){C in l&&(e?l[C]=S:l[C].value=S)}function m(){s.clear();for(const C of h)d(C,!1)}function f(C,S){var x,g;const w=(x=C.key)==null?void 0:x.toLowerCase(),y=[(g=C.code)==null?void 0:g.toLowerCase(),w].filter(Boolean);w&&(S?s.add(w):s.delete(w));for(const _ of y)h.add(_),d(_,S);if(w==="shift"&&!S){const _=Array.from(u),T=_.indexOf("shift");_.forEach((O,I)=>{I>=T&&(s.delete(O),d(O,!1))}),u.clear()}else typeof C.getModifierState=="function"&&C.getModifierState("Shift")&&S&&[...s,...y].forEach(_=>u.add(_));w==="meta"&&!S?(p.forEach(_=>{s.delete(_),d(_,!1)}),p.clear()):typeof C.getModifierState=="function"&&C.getModifierState("Meta")&&S&&[...s,...y].forEach(_=>p.add(_))}xo(n,"keydown",C=>(f(C,!0),i(C)),{passive:a}),xo(n,"keyup",C=>(f(C,!1),i(C)),{passive:a}),xo("blur",m,{passive:a}),xo("focus",m,{passive:a});const v=new Proxy(l,{get(C,S,x){if(typeof S!="string")return Reflect.get(C,S,x);if(S=S.toLowerCase(),S in r&&(S=r[S]),!(S in l))if(/[+_-]/.test(S)){const w=S.split(/[+_-]/g).map(y=>y.trim());l[S]=pt(()=>w.map(y=>Pr(v[y])).every(Boolean))}else l[S]=qr(!1);const g=Reflect.get(C,S,x);return e?Pr(g):g}});return v}function $U(t,e,n,r={}){var a,i,s;const{clone:o=!1,passive:l=!1,eventName:p,deep:u=!1,defaultValue:h,shouldEmit:d}=r,m=ws(),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=p;v=v||`update:${e.toString()}`;const C=g=>o?typeof o=="function"?o(g):DU(g):g,S=()=>TU(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=S(),w=xt(g);let y=!1;return Lr(()=>t[e],_=>{y||(y=!0,w.value=C(_),Es(()=>y=!1))}),Lr(w,_=>{!y&&(_!==t[e]||u)&&x(_)},{deep:u}),w}else return pt({get(){return S()},set(g){x(g)}})}function UU(t,e={}){const{enter:n=()=>{},leave:r=()=>{},initial:a=!1}=e,i=xt(a);return xo(t,"mouseenter",()=>{i.value=!0,n()}),xo(t,"mouseleave",()=>{i.value=!1,r()}),{isHovering:i}}const qU={class:"flex pl5px"},WU={class:"w160px py5px"},GU=lr({__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=o4(),{copy:r,isSupported:a}=HU(),i=xt(!1),s=pt(()=>ym(e.data.value)),o=pt(()=>s.value.value),l=pt(()=>s.value.customType),p=pt(()=>o.value===null?"null":typeof o.value),u={flat:!0,size:"mini"},h=pt(()=>({"opacity-0":!e.hovering}));async function d(f,v=!1){await Yt.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:gn(f),type:p.value,remove:v}}),await Yt.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",qU,[!e.disableEdit&&f.data.editable?(Je(),lt(Vr,{key:0},[p.value==="string"||p.value==="number"||p.value==="object"||p.value==="null"?(Je(),lt(Vr,{key:0},[Dn((Je(),Jt($e(Cs),Is(u,{class:h.value,onClick:v[0]||(v[0]=ro(C=>f.$emit("enableEditInput",p.value),["stop"]))}),{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[$e(Ss),{content:"Edit value"}]]),p.value==="object"&&f.showAddIfNeeded?Dn((Je(),Jt($e(Cs),Is({key:0},u,{class:h.value,onClick:v[1]||(v[1]=ro(C=>f.$emit("addNewProp",Array.isArray(o.value)?"array":"object"),["stop"]))}),{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[$e(Ss),{content:"Add new value"}]]):rr("",!0)],64)):rr("",!0),p.value==="boolean"?(Je(),Jt($e(Cs),Is({key:1},u,{class:h.value,onClick:v[2]||(v[2]=C=>d(!o.value))}),{icon:zt(()=>[gt($e(As),{icon:o.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):p.value==="number"||l.value==="bigint"?(Je(),lt(Vr,{key:2},[gt($e(Cs),Is(u,{class:h.value,onClick:v[3]||(v[3]=ro(C=>m(o.value,1),["stop"]))}),{icon:zt(()=>[gt($e(As),{icon:"i-carbon-add"})]),_:1},16,["class"]),gt($e(Cs),Is(u,{class:h.value,onClick:v[4]||(v[4]=ro(C=>m(o.value,-1),["stop"]))}),{icon:zt(()=>[gt($e(As),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):rr("",!0)],64)):rr("",!0),!e.disableEdit&&f.depth>0&&f.data.editable?(Je(),Jt($e(Cs),Is({key:1},u,{class:h.value,onClick:v[5]||(v[5]=ro(C=>d(o.value,!0),["stop"]))}),{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):rr("",!0),gt($e(Lu),{class:$r({"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:zt(()=>[Ze("div",WU,[gt($e(Zv),{onClick:v[6]||(v[6]=C=>$e(r)(typeof o.value=="object"?JSON.stringify(o.value):o.value.toString()))},{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[9]||(v[9]=ln(" Copy Value ",-1))]),_:1}),gt($e(Zv),{onClick:v[7]||(v[7]=()=>{$e(r)(f.data.key)})},{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[10]||(v[10]=ln(" Copy Path ",-1))]),_:1})])]),"button-icon":zt(()=>[gt($e(As),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),KU={class:"flex-inline items-center gap4px"},Qd=lr({__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}=FU();Zs(()=>{i.value?r("cancel"):s.value&&r("submit")});const o=$U(n,"modelValue",r);function l(u){try{return cp(u,n.customType),!0}catch{return!1}}const p=xt(!1);return Lr(o,xl(()=>{p.value=!l(o.value)},300)),(u,h)=>(Je(),lt("span",KU,[gt($e(Lo),{modelValue:$e(o),"onUpdate:modelValue":h[0]||(h[0]=d=>xn(o)?o.value=d:null),type:a.value,variant:p.value?"warning":"normal",class:$r(["h25px px4px",u.customType==="date"?"w240px":"w120px"]),"auto-focus":u.autoFocus,onClick:h[1]||(h[1]=ro(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),u.showActions?(Je(),lt(Vr,{key:0},[Dn((Je(),Jt($e(Cs),{size:"mini",flat:"",class:"p2px!",onClick:h[2]||(h[2]=ro(d=>u.$emit("cancel"),["stop"]))},{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-cancel"})]),_:1})),[[$e(Ss),{content:"Esc to cancel"}]]),p.value?Dn((Je(),Jt($e(As),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[$e(Ss),{content:"Invalid value"}]]):Dn((Je(),Jt($e(Cs),{key:0,size:"mini",flat:"",class:"p2px!",onClick:h[3]||(h[3]=ro(d=>u.$emit("submit"),["stop"]))},{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-save"})]),_:1})),[[$e(Ss),{content:"Enter to submit change"}]])],64)):rr("",!0)]))}}),XU={key:1,pl5:""},YU={"whitespace-nowrap":"","text-purple-700":"",op70:"","dark:text-purple-300":""},JU=["innerHTML"],QU={key:0},ZU={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},H6=30,eq=lr({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(t){const e=t,n=xt(H6),r=pt(()=>b7(e.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),a=pt(()=>du(e.data.value)),i=pt(()=>ym(e.data.value)),{expanded:s,toggleExpanded:o}=a4(e.expandedStateId??""),l=pt(()=>a.value==="custom"?`${e.data.value._custom?.type??"string"}-custom-state`:"unknown-state-type"),p=pt(()=>{const{value:F}=i.value;return mg(F)?F.length:dg(F)?Object.keys(F).length:0}),u=pt(()=>e.data.path||[e.data.key]),h=pt(()=>u.value[u.value.length-1]),d=pt(()=>{const F=["Reactive"],N=e.data.value?._custom?.stateTypeName||e.data?.stateTypeName;if(F.includes(N))return N;if(e.data.value?.fields?.abstract)return"";{const $=e.data.value?._custom?.type,H=a.value==="custom"&&!$?`"${r.value}"`:r.value===""?'""':r.value,R=a.value==="custom"&&$==="ref"?du(H):a.value,K=a.value==="string"?"select-text":"",se=`${H}`;return N?`${se} (${N})`:se}}),m=pt(()=>{const{value:F,inherit:N,customType:$}=i.value,H=$==="set";let R=[];return mg(F)?F.slice(0,n.value).map((K,se)=>({key:se.toString(),path:[...u.value,se.toString()],value:K,...N,editable:e.data.editable&&!H,creating:!1})):(dg(F)&&(R=Object.keys(F).slice(0,n.value).map(K=>({key:K,path:[...u.value,K],value:F[K],...N,editable:e.data.editable&&!H,creating:!1})),a.value!=="custom"&&(R=K6(R))),R===e.data.value?[]:R)}),f=pt(()=>m.value.length>0),v=xt(),C=o4(),{isHovering:S}=UU(()=>v.value),{editingType:x,editing:g,editingText:w,toggleEditing:y,nodeId:_}=EU();Lr(()=>g.value,F=>{if(F){const{value:N}=i.value;w.value=vP(N,i.value.customType)}else w.value=""});async function T(){const F=e.data;await Yt.value.editInspectorState({path:u.value,inspectorId:C.value.inspectorId,type:F.stateType,nodeId:_.value,state:{newKey:null,type:x.value,value:cp(w.value,i.value.customType)}}),await Yt.value.sendInspectorState(C.value.inspectorId),y()}const{addNewProp:O,draftingNewProp:I,resetDrafting:z}=wU();function q(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 Yt.value.editInspectorState({path:[...u.value,I.value.key],inspectorId:C.value.inspectorId,type:F.stateType,nodeId:_.value,state:{newKey:I.value.key,type:typeof cp(I.value.value),value:cp(I.value.value)}}),await Yt.value.sendInspectorState(C.value.inspectorId),z()}return(F,N)=>(Je(),lt("div",null,[Ze("div",{ref_key:"containerRef",ref:v,class:$r(["font-state-field flex items-center text-3.5",[f.value&&"cursor-pointer hover:bg-active"]]),style:Hs({paddingLeft:`${F.depth*15+4}px`}),onClick:N[1]||(N[1]=$=>$e(o)(`${F.depth}-${F.index}`))},[f.value?(Je(),Jt(i4,{key:0,value:$e(s).includes(`${F.depth}-${F.index}`)},null,8,["value"])):(Je(),lt("span",XU)),Ze("span",YU,cn(h.value),1),N[5]||(N[5]=Ze("span",{mx1:""},":",-1)),$e(g)?(Je(),Jt(Qd,{key:2,modelValue:$e(w),"onUpdate:modelValue":N[0]||(N[0]=$=>xn(w)?w.value=$:null),class:"mr-1","custom-type":i.value.customType,onCancel:$e(y),onSubmit:T},null,8,["modelValue","custom-type","onCancel"])):rr("",!0),Ze("span",{class:$r([l.value,"flex whitespace-nowrap dark:text-#bdc6cf"])},[Ze("span",{class:"flex",innerHTML:d.value},null,8,JU)],2),gt(GU,{hovering:$e(S),"disable-edit":$e(C).disableEdit||$e(g),data:F.data,depth:F.depth,onEnableEditInput:$e(y),onAddNewProp:q},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),f.value&&$e(s).includes(`${F.depth}-${F.index}`)?(Je(),lt("div",QU,[gt(IS,{data:m.value,depth:F.depth,index:F.index},null,8,["data","depth","index"]),p.value>n.value?Dn((Je(),Jt($e(Cs),{key:0,flat:"",size:"mini",class:"ml-4",onClick:N[2]||(N[2]=$=>n.value+=H6)},{icon:zt(()=>[gt($e(As),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[$e(Ss),"Show more"]]):rr("",!0),$e(I).enable?(Je(),lt("div",{key:1,style:Hs({paddingLeft:`${(F.depth+1)*15+4}px`})},[Ze("span",ZU,[gt(Qd,{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(Qd,{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)):rr("",!0)])):rr("",!0)]))}}),tq=Xa(eq,[["__scopeId","data-v-7918b8f2"]]),IS=lr({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(t){return(e,n)=>(Je(),lt("div",null,[(Je(!0),lt(Vr,null,xs(e.data,(r,a)=>(Je(),lt("div",{key:a},[gt(tq,{data:r,depth:e.depth+1,index:`${e.index}-${a}`,"expanded-state-id":e.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),rq=["onClick"],nq={key:1,pl5:""},sq={"font-state-field":"","text-3.5":"","text-hex-a3a3a3":""},iq={key:0},Qu=lr({__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}=SU(n());Zs(()=>{r.value=n()});const{expanded:a,toggleExpanded:i}=a4(e.expandedStateId);return(s,o)=>(Je(),lt("div",null,[(Je(!0),lt(Vr,null,xs(s.data,(l,p,u)=>(Je(),lt("div",{key:u},[Ze("div",{class:$r(["flex items-center",[l?.length&&"cursor-pointer hover:bg-active"]]),onClick:h=>$e(i)(`${u}`)},[l?.length?(Je(),Jt(i4,{key:0,value:$e(a).includes(`${u}`)},null,8,["value"])):(Je(),lt("span",nq)),Ze("span",sq,cn(p),1)],10,rq),l?.length&&$e(a).includes(`${u}`)?(Je(),lt("div",iq,[gt(IS,{data:l,index:`${u}`,"expanded-state-id":s.expandedStateId},null,8,["data","index","expanded-state-id"])])):rr("",!0)]))),128))]))}}),oq={class:"p3"},aq=["onClick"],lq={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},cq={class:"h-full flex items-center truncate pl5"},uq={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},pq={pl2:"",op30:""},hq=lr({__name:"EventList",props:Hc({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=Oh(t,"modelValue"),r=["#3e5770","#42b983","#0098c4"],a=xt(null),i=pt(()=>{let s=-1,o=0;return e.data.forEach((l,p)=>{(l.groupId!==o||s===-1)&&(s=(s+1)%r.length),o=l.groupId??o,l.id=p,l.color=r[s]}),e.data});return Lr(()=>i.value.length,s=>{a.value?.scrollToItem(s-1)},{flush:"post"}),(s,o)=>(Je(),lt("div",oq,[gt($e(Gm),{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:zt(({item:l})=>[Ze("div",{class:"relative mb7 h6 cursor-pointer",style:Hs({color:n.value===l.id?l.color:""}),onClick:p=>n.value=l.id},[Ze("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:Hs({border:`3px solid ${l.color}`})},null,4),l.ido.timelineLayersState.value?.[n.pluginId]),p=pt(()=>a.value[s.value]??null),u=pt(()=>l.value?"Stop recording":"Start recording"),h=pt(()=>{const x=[];for(const g in p.value?.data)x.push({key:g,type:g,editable:!1,value:p.value.data[g]});return x}),d=pt(()=>{const x=p.value?.groupId,g=i.value.get(x);if(g){const w=g[g.length-1]?.time-(g[0]?.time??0);return[{key:"events",type:"events",editable:!1,value:g.length},w&&{key:"duration",type:"duration",editable:!1,value:`${w}ms`}].filter(Boolean)}}),m=pt(()=>({"Event Info":h.value,...d.value&&{"Group Info":d.value}}));function f(x){const g=x.groupId;g!==void 0&&(i.value.set(g,i.value.get(g)??[]),i.value.get(g)?.push(x))}function v(x){const g=ei(x);if(!g)return;const{layerId:w,event:y}=g;n.layerIds.includes(w)&&(a.value.push(y),f(y))}Yt.functions.on(Ln.TIMELINE_EVENT_UPDATED,v),pi(()=>{Yt.functions.off(Ln.TIMELINE_EVENT_UPDATED,v)});function C(){a.value=[],i.value.clear()}e({clear:C});function S(){Yt.value.updateTimelineLayersState({[n.pluginId]:!l.value})}return(x,g)=>(Je(),lt("div",fq,[x.headerVisible?(Je(),Jt(o1,{key:0,"doc-link":x.docLink,"github-repo-link":x.githubRepoLink},{default:zt(()=>[gt(a1)]),_:1},8,["doc-link","github-repo-link"])):rr("",!0),a.value.length?(Je(),lt("div",dq,[gt($e(s1),{class:"h-full"},{default:zt(()=>[gt($e(Vi),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",mq,[gt(hq,{modelValue:s.value,"onUpdate:modelValue":g[0]||(g[0]=w=>s.value=w),data:a.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Vi),{size:"60"},{default:zt(()=>[Ze("div",gq,[gt(Qu,{class:"p3",data:m.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(Je(),Jt(Nc,{key:2,class:"flex-1"},{default:zt(()=>g[1]||(g[1]=[ln(" No events ",-1)])),_:1,__:[1]})),x.switcherVisible?(Je(),lt("div",vq,[Ze("div",yq,[Dn((Je(),lt("div",{class:"flex items-center gap1",onClick:S},[l.value?(Je(),lt("span",bq)):(Je(),lt("span",Cq))])),[[$e(Ss),{content:u.value},void 0,{"bottom-end":!0}]]),Dn((Je(),lt("div",{class:"flex items-center gap1",onClick:C},[gt($e(Ou),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Ss),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),Dn((Je(),lt("div",Sq,[gt($e(Ou),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Ss),{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}]])])])):rr("",!0)]))}}),p4=Xa(Eq,[["__scopeId","data-v-3dbcfd2a"]]);function xq(){const t=xt([]),e=xt([]);function n(a){e.value=a,a.length{r(i)})}Yo(()=>{Yt.value.getCustomInspector().then(a=>{e.value=a,e.value.forEach(i=>{r(i)})}),Yt.functions.on(Ln.INSPECTOR_UPDATED,n)});function r(a){t.value.some(i=>i.id===a.id)||t.value.push(a)}return pi(()=>{Yt.functions.off(Ln.INSPECTOR_UPDATED,n)}),{registeredInspector:t,register:r}}const kS=Symbol("SelectedSymbolKey");function wq(){const t=xt("");return _s(kS,t),{selected:t}}function Tq(){const t=zn(kS,xt(""));function e(n){t.value=n}return{selected:t,select:e}}const Aq=["onClick","onDblclick","onMouseover"],_q={key:1,pl5:""},Mq={"font-state-field":"","text-3.5":""},Pq={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},Lq={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},Oq={key:2,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},Iq={key:2,class:"ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"},kq={key:3,class:"ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"},zq={key:0},Zu=lr({__name:"TreeViewer",props:Hc({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:Hc(["hover","leave"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Oh(t,"modelValue"),{expanded:a,toggleExpanded:i}=a4();Tq();function s(l){return"name"in l&&l?.name||"label"in l&&l.label}function o(l){r.value=l}return(l,p)=>(Je(!0),lt(Vr,null,xs(l.data,(u,h)=>(Je(),lt("div",{key:h,class:$r({"min-w-max":l.depth===0})},[Ze("div",{class:$r(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600",{"bg-primary-600! active":r.value===u.id}]),style:Hs({paddingLeft:`${15*l.depth+4}px`}),onClick:d=>o(u.id),onDblclick:d=>$e(i)(u.id),onMouseover:()=>n("hover",u.id),onMouseleave:p[0]||(p[0]=()=>n("leave"))},[u?.children?.length?(Je(),Jt(i4,{key:0,value:$e(a).includes(u.id),class:"[.active_&]:op20 group-hover:op20",onClick:ro(d=>$e(i)(u.id),["stop"])},null,8,["value","onClick"])):(Je(),lt("span",_q)),Ze("span",Mq,[l.withTag?(Je(),lt("span",Pq,"<")):rr("",!0),Ze("span",Lq,cn(s(u)),1),(u.renderKey===0||u.renderKey)&&u.renderKey!==$e(Jc)?(Je(),lt("span",{key:1,class:$r(["text-xs opacity-50",{"opacity-100":r.value===u.id}])},[Ze("span",{class:$r([r.value===u.id?"text-purple-200":"text-purple-500"])}," key",2),p[4]||(p[4]=ln("=",-1)),Ze("span",null,cn(u.renderKey),1)],2)):rr("",!0),l.withTag?(Je(),lt("span",Oq,">")):rr("",!0)]),u.isFragment?Dn((Je(),lt("span",Iq,p[5]||(p[5]=[ln(" fragment ",-1)]))),[[$e(Ss),"Has multiple root DOM nodes"]]):rr("",!0),u.inactive?Dn((Je(),lt("span",kq,p[6]||(p[6]=[ln(" inactive ",-1)]))),[[$e(Ss),"Currently inactive but not destroyed"]]):rr("",!0),(Je(!0),lt(Vr,null,xs(u.tags,(d,m)=>(Je(),Jt(ES,{key:m,tag:d},null,8,["tag"]))),128))],46,Aq),u?.children?.length&&$e(a).includes(u.id)?(Je(),lt("div",zq,[gt(Zu,{modelValue:r.value,"onUpdate:modelValue":p[1]||(p[1]=d=>r.value=d),data:u?.children,depth:l.depth+1,"with-tag":l.withTag,onHover:p[2]||(p[2]=d=>n("hover",d)),onLeave:p[3]||(p[3]=d=>n("leave"))},null,8,["modelValue","data","depth","with-tag"])])):rr("",!0)],2))),128))}}),D6=200;function Nq(){return{highlight:N6(t=>Yt.value.highlighComponent(t),D6),unhighlight:N6(()=>Yt.value.unhighlight(),D6)}}const Vq={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"},Hq={class:"flex-1 overflow-scroll text-3.5"},Dq=lr({__name:"RenderCode",props:{code:{}},emits:["close"],setup(t,{emit:e}){const n=e;function r(){n("close")}return(a,i)=>(Je(),lt("div",Vq,[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",Hq,[gt($e($D),{code:a.code,lang:"javascript"},null,8,["code"])])]))}}),Rq={class:"h-full w-full"},jq={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},Bq={key:0,class:"h-full flex flex-col p2"},Fq={class:"flex py2"},$q={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"},Uq={class:"h-full flex flex-col p2"},qq={class:"flex py2"},Wq={key:0,class:"font-state-field flex items-center px-1 text-3.5"},Gq={"group-hover:text-white":"",class:"max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"},Kq={class:"flex items-center gap-2 px-1"},Xq={class:"h-full flex flex-col items-center justify-center gap-2"},Yq={class:"block"},Jq={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"},Qq={class:"flex items-center justify-center"},V1="components",Zq=lr({__name:"index",emits:["openInEditor","onInspectComponentStart","onInspectComponentEnd"],setup(t,{emit:e}){const n=e,r=xt(),a=xt(!1),{width:i}=jU(r),s=pt(()=>a.value?i.value<700:!1),o=xt(""),l=xt(""),[p,u]=PS(!0),h=xt(!1),d=xt(!1),m=xt(""),f=xt(!1),v=Nq();function C(ee,k=[],j=[]){return k.push(ee.id),ee.children?.length===0&&j.push([...k]),Array.isArray(ee.children)&&ee.children.forEach(J=>{C(J,k,j)}),k.pop(),j}function S(ee){const k=[],j=J=>{J?.forEach(Te=>{k.push(Te),Te.children?.length&&j(Te.children)})};return j(ee),k}function x(ee,k){const j=[];return ee?.forEach(J=>{j.push(...J.slice(0,k+1))}),[...new Set(j)]}function g(ee,k){const j=[];return ee.forEach(J=>{const Te=J.indexOf(k);Te!==-1&&j.push(...J.slice(0,Te+1))}),[...new Set(j)]}const w=xt([]),y=pt(()=>w.value?.length?C(w.value?.[0]):[]),_=pt(()=>S(w.value)),T=pt(()=>_.value.map(ee=>ee.id)),O=xt({}),I=xt(""),z=pt(()=>{const ee=[],k=j=>{j.forEach(J=>{J.id===I.value&&ee.push(J),J.children?.length&&k(J.children)})};return k(w.value),ee[0]}),q=pt(()=>z.value?.file??""),W=pt(()=>r4({state:O.value,filterKey:l.value,processGroup(ee){return DF(Object.values(sU(K6(ee),"stateType")))}})),{expanded:F}=oa(),{expanded:N}=oa("component-state");wq();async function $(ee=""){return Yt.value.getInspectorTree({inspectorId:V1,filter:ee}).then(k=>{const j=ei(k);w.value=j,I.value=w.value?.[0]?.id,F.value=x(y.value,1),h.value=!0})}function H(ee){if(!ee||!ee?.state)return{};const k={};return ee.state.forEach(j=>{k[j.type]||(k[j.type]=[]),k[j.type].push(j)}),k}function R(ee){Yt.value.getInspectorState({inspectorId:V1,nodeId:ee}).then(k=>{const j=ei(k);j&&(O.value=H(j),N.value=Array.from({length:Object.keys(O.value).length},(J,Te)=>`${Te}`))})}Lr(I,ee=>{R(ee),f.value&&Se()});function K(ee){const k=ei(ee);k.inspectorId!==V1||k.nodeId!==I.value||(O.value=H({state:k.state.state}))}Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,K),$();function se(ee){const k=ee.trim().toLowerCase();u(),$(k).then(()=>{u()})}LS(o,ee=>{se(ee)},{debounce:300});function he(ee){const k=ei(ee);k.inspectorId===V1&&(o.value?se(o.value):w.value=k.rootNodes,T.value.includes(I.value)||(I.value=w.value?.[0]?.id,F.value=x(y.value,1)))}Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,he),pi(()=>{Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,K),Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,he)});const Le=zl(),X=pt(()=>Le.appRecords.value.map(ee=>({label:ee.name+(ee.version?` (${ee.version})`:""),value:ee.id,iframe:ee.iframe}))),Q=pt(()=>X.value.map(ee=>({label:ee.label+(ee.iframe?` (iframe: ${ee.iframe})`:""),id:ee.value}))),fe=xt(Le.activeAppRecordId.value);Zs(()=>{fe.value=Le.activeAppRecordId.value});async function Ce(ee,k={}){await Yt.value.toggleApp(ee,k),I.value="",await $()}async function Me(){d.value=!0,n("onInspectComponentStart");try{const ee=JSON.parse(await Yt.value.inspectComponentInspector()),k=ee.id.split(":")[0];fe.value!==ee.appId&&await Ce(k,{inspectingComponent:!0}),I.value=ee.id,F.value.includes(ee.id)||F.value.push(ee.id),F.value=[...new Set([...F.value,...g(y.value,ee.id)])],xe()}finally{d.value=!1,n("onInspectComponentEnd")}}function ue(){d.value=!1,Yt.value.cancelInspectComponentInspector()}xo("keydown",ee=>{ee.key==="s"&&(ee.ctrlKey||ee.metaKey)&&!d.value?Me():ee.key==="Escape"&&d.value&&ue()}),N1("ArrowRight",()=>{const ee=F.value.includes(I.value),k=_.value.find(j=>j.id===I.value)?.children?.length;!ee&&k&&F.value.push(I.value)}),N1("ArrowLeft",()=>{F.value.includes(I.value)&&F.value.splice(F.value.indexOf(I.value),1)}),N1("ArrowDown",()=>{const ee=T.value.indexOf(I.value);if(F.value.includes(I.value)&&ee>=0&&ee{const ee=I.value,k=y.value.find(Pe=>Pe.includes(ee));if(!k)return;const j=k.indexOf(ee),J=j>0?j-1:0,Te=k[J],Ie=ae(Te);Ie&&(I.value=Ie.id)}),N1([" ","Enter"],()=>{if(!_.value.find(k=>k.id===I.value)?.children?.length)return;const ee=F.value.indexOf(I.value);ee===-1?F.value.push(I.value):F.value.splice(ee,1)});function ae(ee){const k=_.value.find(Te=>Te.id===ee);if(!k||!k.children?.length||k.children.length===1)return k;const j=k?.children?.findIndex(Te=>Te.id===I.value);if(j<=0)return k;let J=k.children[j-1];for(;J&&F.value.includes(J.id)&&J.children?.length;){const Te=J.children[J.children.length-1],Ie=ae(Te.id);if(!Ie||Ie.id===J.id)break;J=Ie}return J||k}function ce(){const ee=y.value,k=[...ee].findLastIndex(Ie=>Ie?.includes(I.value));if(k===-1)return I.value;const j=ee[k],J=ee[k+1],Te=J?.findIndex((Ie,Pe)=>Ie!==j[Pe])??-1;return Te!==-1?J[Te]:I.value}function oe(){Yt.value.scrollToComponent(I.value)}function ie(){Yt.value.inspectDOM(I.value).then(()=>{chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)")})}function Se(){Yt.value.getComponentRenderCode(I.value).then(ee=>{m.value=ee,f.value=!0})}function ne(){n("openInEditor",q.value)}const ge=xt();function xe(){setTimeout(()=>{ge.value?.querySelector(".active")?.scrollIntoView({behavior:"smooth",block:"center"})},300)}function He(){m.value="",f.value=!1}return(ee,k)=>(Je(),lt("div",Rq,[gt($e(s1),{ref_key:"splitpanesRef",ref:r,class:"flex-1 overflow-auto",horizontal:s.value,onReady:k[4]||(k[4]=j=>a.value=!0)},{default:zt(()=>[X.value.length>1?(Je(),Jt($e(Vi),{key:0,border:"base h-full",size:"20"},{default:zt(()=>[Ze("div",jq,[gt(pU,{modelValue:fe.value,"onUpdate:modelValue":k[0]||(k[0]=j=>fe.value=j),data:Q.value,class:"w-full",onSelect:Ce},null,8,["modelValue","data"])])]),_:1})):rr("",!0),gt($e(Vi),{border:"base","h-full":""},{default:zt(()=>[h.value?(Je(),lt("div",Bq,[Ze("div",Fq,[gt($e(Lo),{modelValue:o.value,"onUpdate:modelValue":k[1]||(k[1]=j=>o.value=j),"loading-debounce-time":250,loading:!$e(p),placeholder:"Find components...",class:"flex-1 text-3.5"},null,8,["modelValue","loading"]),$e(W6)?rr("",!0):Dn((Je(),lt("button",{key:0,"px-1":"",class:"hover:color-#00dc82",onClick:Me},[(Je(),lt("svg",$q,k[6]||(k[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(Ss),"Select component in the page",void 0,{bottom:!0}]])]),Ze("div",{ref_key:"componentTreeContainer",ref:ge,class:"no-scrollbar flex-1 select-none overflow-scroll"},[gt(Zu,{modelValue:I.value,"onUpdate:modelValue":k[2]||(k[2]=j=>I.value=j),data:w.value,"with-tag":!0,onHover:$e(v).highlight,onLeave:$e(v).unhighlight},null,8,["modelValue","data","onHover","onLeave"])],512)])):rr("",!0)]),_:1}),gt($e(Vi),{relative:"","h-full":""},{default:zt(()=>[Ze("div",Uq,[Ze("div",qq,[z.value?.name?(Je(),lt("span",Wq,[k[7]||(k[7]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},"<",-1)),Ze("span",Gq,cn(z.value.name),1),k[8]||(k[8]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},">",-1))])):rr("",!0),gt($e(Lo),{modelValue:l.value,"onUpdate:modelValue":k[3]||(k[3]=j=>l.value=j),"loading-debounce-time":250,placeholder:"Filter State...",class:"flex-1 text-3.5"},null,8,["modelValue"]),Ze("div",Kq,[Dn(Ze("i",{class:"i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",onClick:oe},null,512),[[$e(Ss),"Scroll to component",void 0,{bottom:!0}]]),Dn(Ze("i",{class:"i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",onClick:Se},null,512),[[$e(Ss),"Show render code",void 0,{bottom:!0}]]),$e(Ra)?Dn((Je(),lt("i",{key:0,class:"i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",onClick:ie},null,512)),[[$e(Ss),"Inspect DOM",void 0,{bottom:!0}]]):rr("",!0),q.value?Dn((Je(),lt("i",{key:1,class:"i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",onClick:ne},null,512)),[[$e(Ss),"Open in Editor",void 0,{bottom:!0}]]):rr("",!0)])]),gt(Qu,{class:"no-scrollbar flex-1 overflow-scroll",data:W.value,"node-id":I.value,"inspector-id":V1,"expanded-state-id":"component-state"},null,8,["data","node-id"])]),f.value&&m.value?(Je(),Jt(Dq,{key:0,code:m.value,onClose:He},null,8,["code"])):rr("",!0)]),_:1})]),_:1},8,["horizontal"]),$e(Ra)?(Je(),Jt($e(jC),{key:0,modelValue:d.value,"onUpdate:modelValue":k[5]||(k[5]=j=>d.value=j),title:"",height:"12rem",closable:!1},{footer:zt(()=>[Ze("div",Qq,[gt($e(Cs),{onClick:ue},{default:zt(()=>k[11]||(k[11]=[ln(" Cancel ",-1)])),_:1,__:[11]})])]),default:zt(()=>[Ze("div",Xq,[Ze("span",Yq,[(Je(),lt("svg",Jq,k[9]||(k[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)])))]),k[10]||(k[10]=Ze("p",null," Click on a component on the page to select it ",-1))])]),_:1},8,["modelValue"])):rr("",!0)]))}}),dX=Xa(Zq,[["__scopeId","data-v-fbde5eca"]]),eW={},tW={class:"h-screen w-screen $ui-fcc flex-col"};function rW(t,e){return Je(),lt("div",tW,[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)),hn(t.$slots,"default",{},void 0,!0)])}const nW=Xa(eW,[["render",rW],["__scopeId","data-v-b8018f07"]]),zS=Symbol.for("VueDevToolsCustomInspectorStateSymbol");function qa(){return zn(zS)}function h4(){const t=xt({homepage:"",id:"",label:"",logo:"",timelineLayerIds:[]});return _s(zS,t),t}const sW={},iW={width:"175",height:"34",viewBox:"0 0 175 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function oW(t,e){return Je(),lt("svg",iW,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 aW=Xa(sW,[["render",oW]]),lW={"h-full":"","w-full":"",flex:"","items-center":""},cW={flex:"~ col gap2",ma:"","px-5":""},uW={flex:"~ col","mt-20":"","items-center":""},pW={flex:"~","mt--10":"","items-center":"","justify-center":""},hW={class:"mr-1"},fW={key:0,class:"inline-block w20"},dW=["src","alt"],mW={key:1,class:"mr2 inline-block min-w-20 text-center text-10 font-600"},gW={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},vW={op40:""},yW={flex:"~ gap2 wrap"},bW={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},CW=["href"],SW=lr({__name:"About",setup(t){const e=Yu(),n=qa(),r=xt(!1),a=xt(!1);function i(){r.value=!0}function s(){r.value=!0,a.value=!0}return(o,l)=>(Je(),lt("div",lW,[Ze("div",cW,[l[5]||(l[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",uW,[Ze("div",pW,[Ze("span",hW,[r.value?rr("",!0):(Je(),lt("span",fW)),Dn(Ze("img",{src:$e(n).logo,alt:`${$e(n).label} Logo`,class:"inline-block h16",onError:s,onLoad:i},null,40,dW),[[nm,r.value&&!a.value]]),a.value?(Je(),lt("span",mW,cn($e(n).label),1)):rr("",!0)]),Ze("span",null,[gt(aW,{"h-18":""})])]),Ze("div",gW,[Ze("span",vW,cn($e(n).label)+" DevTools ",1)])]),l[6]||(l[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",yW,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",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)])),$e(n).timelineLayerIds?.length?(Je(),lt("div",{key:0,flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",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)]))):rr("",!0)]),Ze("div",bW,[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),ln(" View Documentation ",-1)]),8,CW)]),l[7]||(l[7]=Ze("div",{"flex-auto":""},null,-1))])]))}}),EW={class:"flex-1 overflow-y-auto p2"},xW={class:"max-w-[190px] flex-1 select-none py-1.5 text-sm"},wW={class:"w-4/5"},TW={key:0,class:"flex justify-start"},AW={key:1},NS=lr({__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){Yt.value.updatePluginSettings(n.pluginId,o,l),Yt.value.getPluginSettings(n.pluginId).then(p=>{r("update",p)})}return(o,l)=>(Je(),lt("div",EW,[Ze("ul",null,[(Je(!0),lt(Vr,null,xs(a.value,(p,u)=>(Je(),lt("li",{key:u,class:"flex items-center py-2"},[Ze("div",xW,cn(p.label),1),Ze("div",wW,[p.type==="boolean"?(Je(),lt("div",TW,[gt($e(oR),{"model-value":i.value[u],class:"row-reverse flex py1 pl2 pr1 hover:bg-active","onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","onUpdate:modelValue"])])):p.type==="choice"?(Je(),lt("div",AW,[gt($e(BC),{"model-value":i.value[u],options:p.options,"onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","options","onUpdate:modelValue"])])):p.type==="text"?(Je(),Jt($e(Lo),{key:2,"model-value":i.value[u],"onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","onUpdate:modelValue"])):rr("",!0)])]))),128))])]))}}),_W={class:"h-full flex flex-col"},MW=lr({__name:"Settings",setup(t){const e=zn("pluginSettings"),n=qa(),r=pt(()=>e.value.options),a=pt(()=>e.value.values);function i(s){e.value=s}return(s,o)=>(Je(),lt("div",_W,[gt(o1,{"doc-link":$e(n).homepage},{default:zt(()=>[gt(a1)]),_:1},8,["doc-link"]),gt(NS,{"plugin-id":$e(n).pluginId,options:r.value,values:a.value,onUpdate:i},null,8,["plugin-id","options","values"])]))}}),PW={class:"h-full flex flex-col"},LW={class:"h-full flex flex-col p2"},OW={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},IW={key:0,class:"flex items-center gap-2 px-1"},kW=["onClick"],zW={key:0,class:"no-scrollbar flex-1 select-none overflow-scroll"},NW={class:"h-full flex flex-col p2"},VW={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},HW={key:0,class:"flex items-center gap-2 px-1"},DW=["onClick"],RW=lr({__name:"Index",setup(t){const{expanded:e}=oa(),{expanded:n}=oa("custom-inspector-state"),r=qa(),a=pt(()=>r.value.id),i=xt([]),s=xt([]),o=xt([]),l=pt(()=>o.value?.length?x(o.value?.[0]):[]),p=pt(()=>w(o.value)),u=pt(()=>p.value.map($=>$.id)),h=xt(""),d=xt({}),m=pt(()=>!Object.keys(d.value).length),f=qa(),v=xt(""),C=xt("");Lr(v,($,H)=>{!$.trim().length&&!H.trim().length||W($)});const S=pt(()=>r4({state:d.value,filterKey:C.value}));function x($,H=[],R=[]){return H.push($.id),$.children?.length===0&&R.push([...H]),Array.isArray($.children)&&$.children.forEach(K=>{x(K,H,R)}),H.pop(),R}function g($,H){const R=[];return $?.forEach(K=>{R.push(...K.slice(0,H+1))}),[...new Set(R)]}function w($){const H=[],R=K=>{K?.forEach(se=>{H.push(se),se.children?.length&&R(se.children)})};return R($),H}function y(){Yt.value.getInspectorNodeActions(a.value).then($=>{i.value=$})}function _(){Yt.value.getInspectorActions(a.value).then($=>{s.value=$})}y(),_();function T($){Yt.value.callInspectorNodeAction(a.value,$,h.value)}function O($){Yt.value.callInspectorAction(a.value,$)}function I($){for(const H in $)$[H]?.length||delete $[H];return $}function z($){Yt.value.getInspectorState({inspectorId:a.value,nodeId:$}).then(H=>{const R=ei(H);R&&(d.value=I(R),n.value=Array.from({length:Object.keys(d.value).length},(K,se)=>`${se}`))})}function q(){d.value={}}Lr(h,()=>{q(),z(h.value)});function W($=""){Yt.value.getInspectorTree({inspectorId:a.value,filter:$}).then(H=>{const R=ei(H);o.value=R,!h.value&&R.length&&(h.value=R[0].id,e.value=g(l.value,1),z(R[0].id))})}MS(a).toBeTruthy().then(()=>W());function F($){const H=ei($);!H.rootNodes.length||H.inspectorId!==a.value||(o.value=H.rootNodes,u.value.includes(h.value)||(h.value=o.value?.[0]?.id,e.value=g(l.value,1)))}function N($){const H=ei($);if(H.inspectorId!==a.value||!H.state||H.nodeId!==h.value)return;const{inspectorId:R,...K}=H.state;d.value=I(K)}return Yo(()=>{Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,F),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,N)}),pi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,F),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,N)}),($,H)=>(Je(),lt("div",PW,[gt(o1,{"doc-link":$e(r).homepage},{default:zt(()=>[gt(a1)]),_:1},8,["doc-link"]),!o.value.length&&!v.value.trim().length?(Je(),Jt(Nc,{key:0},{default:zt(()=>H[3]||(H[3]=[ln(" No Data ",-1)])),_:1,__:[3]})):(Je(),Jt($e(s1),{key:1,class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Vi),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",LW,[Ze("div",OW,[gt($e(Lo),{modelValue:v.value,"onUpdate:modelValue":H[0]||(H[0]=R=>v.value=R),placeholder:$e(f).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),s.value?.length?(Je(),lt("div",IW,[(Je(!0),lt(Vr,null,xs(s.value,(R,K)=>Dn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:se=>O(K)},[gt($e(Ou),{name:`baseline-${R.icon.replace(/\_/g,"-")}`,"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,8,["name"])],8,kW)),[[$e(Ss),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),o.value.length?(Je(),lt("div",zW,[gt(Zu,{modelValue:h.value,"onUpdate:modelValue":H[1]||(H[1]=R=>h.value=R),data:o.value},null,8,["modelValue","data"])])):(Je(),Jt(Nc,{key:1},{default:zt(()=>H[4]||(H[4]=[ln(" No Data ",-1)])),_:1,__:[4]}))])]),_:1}),gt($e(Vi),{size:"60"},{default:zt(()=>[Ze("div",NW,[Ze("div",VW,[gt($e(Lo),{modelValue:C.value,"onUpdate:modelValue":H[2]||(H[2]=R=>C.value=R),placeholder:$e(f).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),i.value?.length?(Je(),lt("div",HW,[(Je(!0),lt(Vr,null,xs(i.value,(R,K)=>Dn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:se=>T(K)},[gt($e(Ou),{name:`baseline-${R.icon.replace(/\_/g,"-")}`,"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,8,["name"])],8,DW)),[[$e(Ss),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),h.value&&!m.value?(Je(),Jt(Qu,{key:0,data:S.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(),Jt(Nc,{key:1},{default:zt(()=>H[5]||(H[5]=[ln(" No Data ",-1)])),_:1,__:[5]}))])]),_:1})]),_:1}))]))}}),jW=lr({__name:"Index",setup(t){const e=qa();return(n,r)=>(Je(),Jt(p4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":$e(e).homepage,"plugin-id":$e(e).pluginId},null,8,["layer-ids","doc-link","plugin-id"]))}}),BW={"h-full":"","w-full":""},FW={key:0},$W=lr({__name:"index",props:{id:{},pluginId:{}},emits:["loadError"],setup(t,{emit:e}){const n=t,r=e,a=h4(),i=xt(!1),s=xt(null);_s("pluginSettings",s);const o=pt(()=>[{path:"/state",name:"State",component:RW,icon:"i-carbon-tree-view-alt"},a.value.timelineLayerIds?.length&&{path:"/timeline",name:"Timeline",component:jW,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:SW},s.value&&{path:"/settings",name:"Settings",component:MW,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:l,restoreRouter:p}=s4(o,{defaultRoutePath:"/state"});function u(){i.value=!0,Yo(()=>{Yt.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,p(),i.value=!1}),Yt.value.getPluginSettings(n.pluginId).then(h=>{h.options?s.value=h:s.value=null})})}return Lr(()=>n.id,()=>{u()},{immediate:!0}),pi(()=>{Yt.value.unhighlight()}),(h,d)=>(Je(),lt("div",BW,[i.value?(Je(),lt("div",FW,[gt(nW)])):(Je(),Jt($e(l),{key:1}))]))}}),UW={},qW={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function WW(t,e){return Je(),lt("svg",qW,e[0]||(e[0]=[C8('',2)]))}const GW=Xa(UW,[["render",WW]]),KW={"h-full":"","w-full":"",flex:"","items-center":""},XW={flex:"~ col gap2",ma:"","px-5":""},YW={flex:"~ col","mt-20":"","items-center":""},JW={flex:"~","mt--10":"","items-center":"","justify-center":""},QW={flex:"~ gap2 wrap"},ZW=lr({__name:"About",setup(t){const e=Yu();return(n,r)=>(Je(),lt("div",KW,[Ze("div",XW,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",YW,[Ze("div",JW,[gt(GW,{"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",QW,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",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":"","theme-card-lime":"",p4:"",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":""}),ln(" 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":""}),ln(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),eG={class:"h-full flex flex-col"},tG=lr({__name:"Settings",setup(t){const e=zn("pluginSettings"),n=pt(()=>e.value.options),r=pt(()=>e.value.values);function a(i){e.value=i}return(i,s)=>(Je(),lt("div",eG,[gt(o1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:zt(()=>[gt(a1)]),_:1}),gt(NS,{"plugin-id":"dev.esm.pinia",options:n.value,values:r.value,onUpdate:a},null,8,["options","values"])]))}}),rG="dev.esm.pinia",VS="pinia",nG={class:"h-full flex flex-col"},sG={class:"h-full flex flex-col p2"},iG={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},oG={key:0,class:"flex items-center gap-2 px-1"},aG=["onClick"],lG={class:"no-scrollbar flex-1 select-none overflow-scroll"},cG={class:"h-full flex flex-col p2"},uG={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},pG={key:0,class:"flex items-center gap-2 px-1"},hG=["onClick"],fG=lr({__name:"Index",setup(t){const{expanded:e}=oa(),{expanded:n}=oa("pinia-store-state"),r=VS,a=xt([]),i=xt([]),s=qa(),o=xt(""),l=xt([]),p=pt(()=>l.value?.length?S(l.value?.[0]):[]),u=pt(()=>g(l.value)),h=pt(()=>u.value.map(N=>N.id)),d=xt({}),m=xt(""),f=xt("");Lr(m,(N,$)=>{!N.trim().length&&!$.trim().length||q(N)});const v=pt(()=>r4({state:d.value,filterKey:f.value})),C=pt(()=>!d.value.state?.length&&!d.value.getters?.length);function S(N,$=[],H=[]){return $.push(N.id),N.children?.length===0&&H.push([...$]),Array.isArray(N.children)&&N.children.forEach(R=>{S(R,$,H)}),$.pop(),H}function x(N,$){const H=[];return N?.forEach(R=>{H.push(...R.slice(0,$+1))}),[...new Set(H)]}function g(N){const $=[],H=R=>{R?.forEach(K=>{$.push(K),K.children?.length&&H(K.children)})};return H(N),$}function w(){Yt.value.getInspectorNodeActions(r).then(N=>{a.value=N})}function y(){Yt.value.getInspectorActions(r).then(N=>{i.value=N})}w(),y();function _(N){Yt.value.callInspectorNodeAction(r,N,o.value)}function T(N){Yt.value.callInspectorAction(r,N)}function O(N){for(const $ in N)N[$]?.length||delete N[$];return N}function I(N){Yt.value.getInspectorState({inspectorId:r,nodeId:N}).then($=>{const H=ei($);H&&(d.value=O(H),n.value=Array.from({length:Object.keys(d.value).length},(R,K)=>`${K}`))})}function z(){d.value={}}Lr(o,()=>{z(),I(o.value)});function q(N=""){Yt.value.getInspectorTree({inspectorId:r,filter:N}).then($=>{const H=ei($);l.value=H,!o.value&&H.length&&(o.value=H[0].id,I(H[0].id),e.value=x(p.value,1))})}q();function W(N){const $=ei(N);$.inspectorId!==r||!$.rootNodes.length||(l.value=$.rootNodes,h.value.includes(o.value)||(o.value=$.rootNodes[0].id,e.value=x(p.value,1),I($.rootNodes[0].id)))}function F(N){const $=ei(N);if($.inspectorId!==r)return;const H=$.state;H&&(d.value=O({state:H.state,getters:H.getters}))}return Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,W),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,F),pi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,W),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,F)}),(N,$)=>(Je(),lt("div",nG,[gt(o1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:zt(()=>[gt(a1)]),_:1}),gt($e(s1),{class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Vi),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",sG,[Ze("div",iG,[gt($e(Lo),{modelValue:m.value,"onUpdate:modelValue":$[0]||($[0]=H=>m.value=H),placeholder:$e(s).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),i.value?.length?(Je(),lt("div",oG,[(Je(!0),lt(Vr,null,xs(i.value,(H,R)=>Dn((Je(),lt("div",{key:R,class:"flex items-center gap1",onClick:K=>T(R)},[Ze("i",{class:$r(`i-ic-baseline-${H.icon.replace(/\_/g,"-")}`),"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,2)],8,aG)),[[$e(Ss),{content:H.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),Ze("div",lG,[gt(Zu,{modelValue:o.value,"onUpdate:modelValue":$[1]||($[1]=H=>o.value=H),data:l.value},null,8,["modelValue","data"])])])]),_:1}),gt($e(Vi),{size:"60"},{default:zt(()=>[Ze("div",cG,[Ze("div",uG,[gt($e(Lo),{modelValue:f.value,"onUpdate:modelValue":$[2]||($[2]=H=>f.value=H),placeholder:$e(s).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),a.value?.length?(Je(),lt("div",pG,[(Je(!0),lt(Vr,null,xs(a.value,(H,R)=>Dn((Je(),lt("div",{key:R,class:"flex items-center gap1",onClick:K=>_(R)},[Ze("i",{class:$r(`i-ic-baseline-${H.icon.replace(/\_/g,"-")}`),"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,2)],8,hG)),[[$e(Ss),{content:H.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),o.value&&!C.value?(Je(),Jt(Qu,{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(),Jt(Nc,{key:1},{default:zt(()=>$[3]||($[3]=[ln(" No Data ",-1)])),_:1,__:[3]}))])]),_:1})]),_:1})]))}}),dG="dev.esm.pinia",mG=lr({__name:"Index",setup(t){const e=["pinia:mutations"];return(n,r)=>(Je(),Jt(p4,{"layer-ids":e,"doc-link":"https://pinia.vuejs.org/","plugin-id":dG,"github-repo-link":"https://github.com/vuejs/pinia"}))}}),gG={"h-full":"","w-full":""},mX=lr({__name:"index",setup(t){const e=xt(null);_s("pluginSettings",e);const n=pt(()=>[{path:"/store",name:"Store",component:fG,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:mG,icon:"i-mdi:timeline-clock-outline"},{path:"/",name:"About",component:ZW,icon:"i-logos-pinia"},e.value&&{path:"/settings",name:"Settings",component:tG,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:r}=s4(n,{defaultRoutePath:"/store"}),a=h4();return Yo(()=>{Yt.value.getPluginSettings(rG).then(i=>{i.options?e.value=i:e.value=null}),Yt.value.getInspectorInfo(VS).then(i=>{i&&(a.value={stateFilterPlaceholder:i.stateFilterPlaceholder,treeFilterPlaceholder:i.treeFilterPlaceholder})})}),(i,s)=>(Je(),lt("div",gG,[gt($e(r))]))}}),vG={},yG={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function bG(t,e){return Je(),lt("svg",yG,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 CG=Xa(vG,[["render",bG]]),SG={"h-full":"","w-full":"",flex:"","items-center":""},EG={flex:"~ col gap2",ma:"","px-5":""},xG={flex:"~ col","mt-20":"","items-center":""},wG={flex:"~","mt--10":"","items-center":"","justify-center":""},TG={flex:"~ gap2 wrap"},AG=lr({__name:"About",setup(t){const e=Yu();return(n,r)=>(Je(),lt("div",SG,[Ze("div",EG,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",xG,[Ze("div",wG,[gt(CG,{"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",TG,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",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":"","theme-card-lime":"",p4:"",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":""}),ln(" 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":""}),ln(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),_G={class:"h-full flex flex-col"},MG={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},PG={class:"pb2"},LG={"h-full":"","overflow-scroll":"",class:"no-scrollbar"},OG=lr({__name:"Index",setup(t){const{expanded:e}=oa(),{expanded:n}=oa("routes-state"),r=qa(),a=pt(()=>r.value.id),i=xt(""),s=xt(""),[o,l]=PS(!0),p=xt([]),u=pt(()=>p.value?.length?f(p.value?.[0]):[]),h=pt(()=>C(p.value)),d=pt(()=>h.value.map(O=>O.id)),m=xt({});function f(O,I=[],z=[]){return I.push(O.id),O.children?.length===0&&z.push([...I]),Array.isArray(O.children)&&O.children.forEach(q=>{f(q,I,z)}),I.pop(),z}function v(O,I){const z=[];return O?.forEach(q=>{z.push(...q.slice(0,I+1))}),[...new Set(z)]}function C(O){const I=[],z=q=>{q?.forEach(W=>{I.push(W),W.children?.length&&z(W.children)})};return z(O),I}function S(O){for(const I in O)O[I]?.length||delete O[I];return O}function x(O){Yt.value.getInspectorState({inspectorId:a.value,nodeId:O}).then(I=>{const z=ei(I);z&&(m.value=S(z),n.value=Array.from({length:Object.keys(m.value).length},(q,W)=>`${W}`))})}function g(){m.value={}}Lr(i,()=>{g(),x(i.value)});const w=async(O="")=>{await Yt.value.getInspectorTree({inspectorId:a.value,filter:O}).then(I=>{const z=ei(I);p.value=z,!i.value&&z.length&&(i.value=z[0].id,x(z[0].id),e.value=v(u.value,1))})};MS(a).toBeTruthy().then(()=>{w()});function y(O){const I=ei(O);I.inspectorId!==a.value||!I.rootNodes.length||(p.value=I.rootNodes,d.value.includes(i.value)||(i.value=I.rootNodes[0].id,e.value=v(u.value,1),x(I.rootNodes[0].id)))}function _(O){const I=ei(O);if(I.inspectorId!==a.value)return;const z=I.state;m.value=S(z)}Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,y),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,_),pi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,y),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,_)});function T(O){const I=O.trim().toLowerCase();l(),w(I).then(()=>{l()})}return LS(s,O=>{T(O)},{debounce:300}),(O,I)=>(Je(),lt("div",_G,[gt(o1,{"doc-link":"https://router.vuejs.org/","github-repo-link":"https://github.com/vuejs/router"},{default:zt(()=>[gt(a1)]),_:1}),gt($e(s1),{class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Vi),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",MG,[Ze("div",PG,[gt($e(Lo),{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(Zu,{modelValue:i.value,"onUpdate:modelValue":I[1]||(I[1]=z=>i.value=z),data:p.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Vi),{size:"60"},{default:zt(()=>[Ze("div",LG,[i.value?(Je(),Jt(Qu,{key:0,class:"p3",data:m.value,"node-id":"","inspector-id":"router","expanded-state-id":"routes-state"},null,8,["data"])):(Je(),Jt(Nc,{key:1},{default:zt(()=>I[2]||(I[2]=[ln(" No Data ",-1)])),_:1,__:[2]}))])]),_:1})]),_:1})]))}}),IG="org.vuejs.router",kG=lr({__name:"Index",setup(t){const e=qa();return(n,r)=>(Je(),Jt(p4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":"https://router.vuejs.org/","plugin-id":IG,"github-repo-link":"https://github.com/vuejs/router"},null,8,["layer-ids"]))}}),zG={"h-full":"","w-full":""},gX=lr({__name:"index",props:{id:{}},setup(t){const e=t,n=h4(),r=xt(!1),{VirtualRouterView:a,restoreRouter:i}=s4([{path:"/routes",name:"Routes",component:OG,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:kG,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:AG,icon:"i-ri-route-line"}],{defaultRoutePath:"/routes"});function s(){r.value=!0,Yo(()=>{Yt.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(p=>p.id)};n.value=l,i(),r.value=!1})})}return Lr(()=>e.id,o=>{o&&s()}),(o,l)=>(Je(),lt("div",zG,[gt($e(a))]))}}),NG=[["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"}]]],HS=["assets","graph","vite-inspect"];function VG(t,e){const n=t0(NG);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&&!ph&&!Ra?n:n.map(([r,a])=>[r,a.filter(i=>!HS.includes(i.name))])}const x5="custom-tab-view",nu="custom-inspector-tab-view";function HG(){const{registeredInspector:t}=xq();return pt(()=>t.value.map((n,r)=>({order:r,name:n.id,icon:n.logo,fallbackIcon:n.icon,title:n.label,path:`${nu}/${n.id}`,category:"modules",pluginId:n.pluginId})))}function DS(){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 ms=Fk("__VUE_DEVTOOLS_CLIENT_STATE__",DS(),{mergeDefaults:!0});function vX(){ms.value=DS()}Lr(()=>ms.value.splitScreen.enabled,(t,e)=>{e&&!t&&(ms.value.splitScreen.size=[50,50])});const DG=Uk();Lr(DG,t=>{ms.value.reduceMotion=t==="reduce"},{immediate:!0});function f4(){const t=zl(),e=HG();let n=[];const r=pt(()=>JC(t.tabs.value,n)?n:(n=t.tabs.value,t.tabs.value)),a=pt(()=>{const p=t.vitePluginDetected.value,u=[...VG(p,e.value)];return r.value.forEach(h=>{const d=u.find(m=>m[0]===h.category);if(d){if(d[1].some(m=>m.name===h.name)||(!p||ph||Ra)&&HS.includes(h.name))return;d[1].push({...h})}}),[...u]}),i=pt(()=>a.value.reduce((p,[u,h])=>(h.forEach(d=>{p.push(d)}),p),[])),s=pt(()=>{const{hiddenTabCategories:p,hiddenTabs:u,pinnedTabs:h}=ms.value.tabSettings,d=p.includes("pinned"),m=a.value.reduce((f,[v,C])=>{const S=[{hidden:!1,name:v},[]],x=p.includes(v);return C.forEach(g=>{const w=u.includes(g.name);if(h.includes(g.name))f[0][1].push({...g,hidden:w||d});else{const y=w||x;S[1].push({...g,hidden:y})}}),S[0].hidden=S[1].every(g=>g.hidden),f.push(S),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((p,[u,h])=>{if(u.hidden)return p;const d=h.filter(m=>!m.hidden);return d.length&&p.push([u,d]),p},[])),l=pt(()=>o.value.reduce((p,[u,h])=>(h.forEach(d=>{p.push(d)}),p),[]));return{categorizedTabs:s,flattenedTabs:i,enabledTabs:o,enabledFlattenTabs:l}}function R6(t,e){return pt(()=>{const n=[],r=ms.value.tabSettings.pinnedTabs;Pr(e).reduce((s,[{name:o,hidden:l},p])=>(p.forEach(u=>{if(Pr(t).some(h=>h.name===u.name)){const h=r.includes(u.name)?"pinned":o||"app";s.push({tab:u,category:{name:h,hidden:l}})}}),s),[]).forEach(({tab:s,category:o})=>{const l=n.find(([{name:p}])=>p===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 RG(t){const e=new Map;return t.forEach(n=>e.set(n.id,n)),Array.from(e.values())}const w5=lo(new Map);function jG(){const{enabledFlattenTabs:t}=f4(),e=Bh(),n=zl();let r=[];const a=pt(()=>JC(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:()=>FG()}],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(()=>RG([...i,...s.value,...BG(a.value),...Array.from(w5.values()).flatMap(o=>Pr(o))]))}function j6(t){t?.type==="url"&&window.open(t.src,"_blank")}function BG(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:()=>{j6(n.action)}})).sort((n,r)=>(r.order??0)-(n.order??0));j6(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0))}function B6(t){const e=lw();w5.set(e,t),pi(()=>{w5.delete(e)})}let Zd;const F6={"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 FG(){return Zd||(Zd=(await ps(()=>import("./vue-apis-DJBctb31.js"),[],import.meta.url).then(e=>e.default)).map(e=>({...e,icon:F6[e.description]??F6["...others"],action:()=>{window.open(e.url,"_blank")}}))),Zd}const $G={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":""},UG={border:"b base","flex-none":""},qG={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},WG=["id","onClick","onMouseover"],GG={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},KG={"ws-nowrap":""},XG={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},YG={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},JG={"text-primary":""},QG={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},ZG={"text-xs":"",flex:"~ items-center gap2"},eK={px1:""},tK={px1:""},rK={"text-xs":"",flex:"~ items-center gap2"},nK={op75:""},sK={"text-xs":"",flex:"~ items-center gap2"},iK={px1:""},oK=lr({__name:"CommandPalette",setup(t){const e=xt(!1),n=xt(""),r=jG(),a=xt(),i=pt(()=>a.value||r.value),s=pt(()=>new n1(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);Lr(n,()=>{l.value=0,u()});function p(d){l.value=(l.value+d+o.value.length)%o.value.length,u()}function u(){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 ui("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(),p(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=Qh;return $e(e)?(Je(),Jt($e(Um),{key:0,dim:"",class:"$ui-z-max-override backdrop-blur-2xl!"},{default:zt(()=>[Ze("div",$G,[Ze("header",UG,[gt($e(Lo),{modelValue:$e(n),"onUpdate:modelValue":m[0]||(m[0]=v=>xn(n)?n.value=v:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),Ze("div",qG,[(Je(!0),lt(Vr,null,xs($e(o),(v,C)=>(Je(),lt("button",{id:v.id,key:v.id,onClick:S=>h(v),onMouseover:S=>l.value=C},[Ze("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:$r($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",GG,[Ze("span",KG,cn(v.title),1),Ze("span",XG,cn(v.description),1)]),$e(l)===C?(Je(),Jt($e(As),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):rr("",!0)],2)],40,WG))),128)),$e(o).length?rr("",!0):(Je(),lt("div",YG,[gt($e(As),{icon:"carbon-search",op50:""}),Ze("div",null,[m[1]||(m[1]=Ze("span",{op50:""},"No results for",-1)),Ze("strong",JG,' "'+cn($e(n))+'" ',1)])]))]),Ze("footer",QG,[Ze("div",ZG,[Ze("button",eK,[gt($e(As),{icon:"i-carbon-arrow-down"})]),Ze("button",tK,[gt($e(As),{icon:"i-carbon-arrow-up"})]),m[2]||(m[2]=Ze("span",{op75:""},"to navigate",-1))]),Ze("div",rK,[m[3]||(m[3]=Ze("button",{px1:""}," Esc ",-1)),Ze("span",nK,"to "+cn($e(a)?"go back":"close"),1)]),Ze("div",sK,[Ze("button",iK,[gt($e(As),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),m[4]||(m[4]=Ze("span",{op75:""},"to select",-1))])])])]),_:1})):rr("",!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 aK=[(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 vr.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Bt.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return S.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 u.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.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 oe.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return _.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 ge.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return Pe.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 Ce.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 Me.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return ne.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 H.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 se.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return Qt.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return Le.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 p=n(364),u=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),S=n(371),x=n(372),g=n(373),w=n(374),y=n(172),_=n(173),T=n(174),O=n(175),I=n(176),z=n(375),q=n(376);Object.keys(q).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===q[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return q[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),H=n(379),R=n(380),K=n(178),se=n(381),he=n(382),Le=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 Q=n(384),fe=n(385),Ce=n(386),Me=n(181),ue=n(179),ae=n(171),ce=n(60),oe=n(387),ie=n(388);Object.keys(ie).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===ie[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return ie[Ct]}}))}));var Se=n(180),ne=n(96),ge=n(42),xe=n(389),He=n(390),ee=n(391),k=n(182),j=n(170),J=n(392),Te=n(168),Ie=n(393),Pe=n(394),de=n(395),ke=n(98),Ge=n(396),nt=n(43),ct=n(397),yt=n(165),Qt=n(97),Bt=n(164),sr=n(2);Object.keys(sr).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===sr[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return sr[Ct]}}))}));var vr=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 u().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 p().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 p(){const C=n(14);return p=function(){return C},C}function u(){const C=n(37);return u=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:p}=n(128);class u{constructor(d,m){if(m=l(m),d instanceof u){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]),p(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=u},(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 p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"ArrayExpression",elements:p})},e.arrayPattern=function(p){return(0,r.default)({type:"ArrayPattern",elements:p})},e.arrayTypeAnnotation=function(p){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:p})},e.arrowFunctionExpression=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"ArrowFunctionExpression",params:p,body:u,async:h,expression:null})},e.assignmentExpression=function(p,u,h){return(0,r.default)({type:"AssignmentExpression",operator:p,left:u,right:h})},e.assignmentPattern=function(p,u){return(0,r.default)({type:"AssignmentPattern",left:p,right:u})},e.awaitExpression=function(p){return(0,r.default)({type:"AwaitExpression",argument:p})},e.bigIntLiteral=function(p){return(0,r.default)({type:"BigIntLiteral",value:p})},e.binaryExpression=function(p,u,h){return(0,r.default)({type:"BinaryExpression",operator:p,left:u,right:h})},e.bindExpression=function(p,u){return(0,r.default)({type:"BindExpression",object:p,callee:u})},e.blockStatement=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return(0,r.default)({type:"BlockStatement",body:p,directives:u})},e.booleanLiteral=function(p){return(0,r.default)({type:"BooleanLiteral",value:p})},e.booleanLiteralTypeAnnotation=function(p){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:p})},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"BreakStatement",label:p})},e.callExpression=function(p,u){return(0,r.default)({type:"CallExpression",callee:p,arguments:u})},e.catchClause=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"CatchClause",param:p,body:u})},e.classAccessorProperty=function(p){let u=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:p,value:u,typeAnnotation:h,decorators:d,computed:m,static:f})},e.classBody=function(p){return(0,r.default)({type:"ClassBody",body:p})},e.classDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,superClass:u,body:h,decorators:d})},e.classExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,superClass:u,body:h,decorators:d})},e.classImplements=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ClassImplements",id:p,typeParameters:u})},e.classMethod=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=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:p,key:u,params:h,body:d,computed:m,static:f,generator:v,async:C})},e.classPrivateMethod=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=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:p,key:u,params:h,body:d,static:m})},e.classPrivateProperty=function(p){let u=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:p,value:u,decorators:h,static:d})},e.classProperty=function(p){let u=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:p,value:u,typeAnnotation:h,decorators:d,computed:m,static:f})},e.conditionalExpression=function(p,u,h){return(0,r.default)({type:"ConditionalExpression",test:p,consequent:u,alternate:h})},e.continueStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ContinueStatement",label:p})},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(p){return(0,r.default)({type:"DecimalLiteral",value:p})},e.declareClass=function(p){let u=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:p,typeParameters:u,extends:h,body:d})},e.declareExportAllDeclaration=function(p){return(0,r.default)({type:"DeclareExportAllDeclaration",source:p})},e.declareExportDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,specifiers:u,source:h})},e.declareFunction=function(p){return(0,r.default)({type:"DeclareFunction",id:p})},e.declareInterface=function(p){let u=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:p,typeParameters:u,extends:h,body:d})},e.declareModule=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareModule",id:p,body:u,kind:h})},e.declareModuleExports=function(p){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:p})},e.declareOpaqueType=function(p){let u=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:p,typeParameters:u,supertype:h})},e.declareTypeAlias=function(p){let u=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:p,typeParameters:u,right:h})},e.declareVariable=function(p){return(0,r.default)({type:"DeclareVariable",id:p})},e.declaredPredicate=function(p){return(0,r.default)({type:"DeclaredPredicate",value:p})},e.decorator=function(p){return(0,r.default)({type:"Decorator",expression:p})},e.directive=function(p){return(0,r.default)({type:"Directive",value:p})},e.directiveLiteral=function(p){return(0,r.default)({type:"DirectiveLiteral",value:p})},e.doExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"DoExpression",body:p,async:u})},e.doWhileStatement=function(p,u){return(0,r.default)({type:"DoWhileStatement",test:p,body:u})},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(p){return(0,r.default)({type:"EnumBooleanBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumBooleanMember=function(p){return(0,r.default)({type:"EnumBooleanMember",id:p,init:null})},e.enumDeclaration=function(p,u){return(0,r.default)({type:"EnumDeclaration",id:p,body:u})},e.enumDefaultedMember=function(p){return(0,r.default)({type:"EnumDefaultedMember",id:p})},e.enumNumberBody=function(p){return(0,r.default)({type:"EnumNumberBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumNumberMember=function(p,u){return(0,r.default)({type:"EnumNumberMember",id:p,init:u})},e.enumStringBody=function(p){return(0,r.default)({type:"EnumStringBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumStringMember=function(p,u){return(0,r.default)({type:"EnumStringMember",id:p,init:u})},e.enumSymbolBody=function(p){return(0,r.default)({type:"EnumSymbolBody",members:p,hasUnknownMembers:null})},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(p){return(0,r.default)({type:"ExportAllDeclaration",source:p})},e.exportDefaultDeclaration=function(p){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:p})},e.exportDefaultSpecifier=function(p){return(0,r.default)({type:"ExportDefaultSpecifier",exported:p})},e.exportNamedDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,specifiers:u,source:h})},e.exportNamespaceSpecifier=function(p){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:p})},e.exportSpecifier=function(p,u){return(0,r.default)({type:"ExportSpecifier",local:p,exported:u})},e.expressionStatement=function(p){return(0,r.default)({type:"ExpressionStatement",expression:p})},e.file=function(p){let u=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:p,comments:u,tokens:h})},e.forInStatement=function(p,u,h){return(0,r.default)({type:"ForInStatement",left:p,right:u,body:h})},e.forOfStatement=function(p,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ForOfStatement",left:p,right:u,body:h,await:d})},e.forStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,test:u,update:h,body:d})},e.functionDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,params:u,body:h,generator:d,async:m})},e.functionExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,params:u,body:h,generator:d,async:m})},e.functionTypeAnnotation=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,params:u,rest:h,returnType:d})},e.functionTypeParam=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"FunctionTypeParam",name:p,typeAnnotation:u})},e.genericTypeAnnotation=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"GenericTypeAnnotation",id:p,typeParameters:u})},e.identifier=function(p){return(0,r.default)({type:"Identifier",name:p})},e.ifStatement=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"IfStatement",test:p,consequent:u,alternate:h})},e.import=function(){return{type:"Import"}},e.importAttribute=function(p,u){return(0,r.default)({type:"ImportAttribute",key:p,value:u})},e.importDeclaration=function(p,u){return(0,r.default)({type:"ImportDeclaration",specifiers:p,source:u})},e.importDefaultSpecifier=function(p){return(0,r.default)({type:"ImportDefaultSpecifier",local:p})},e.importExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ImportExpression",source:p,options:u})},e.importNamespaceSpecifier=function(p){return(0,r.default)({type:"ImportNamespaceSpecifier",local:p})},e.importSpecifier=function(p,u){return(0,r.default)({type:"ImportSpecifier",local:p,imported:u})},e.indexedAccessType=function(p,u){return(0,r.default)({type:"IndexedAccessType",objectType:p,indexType:u})},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(p){let u=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:p,typeParameters:u,extends:h,body:d})},e.interfaceExtends=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"InterfaceExtends",id:p,typeParameters:u})},e.interfaceTypeAnnotation=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"InterfaceTypeAnnotation",extends:p,body:u})},e.interpreterDirective=function(p){return(0,r.default)({type:"InterpreterDirective",value:p})},e.intersectionTypeAnnotation=function(p){return(0,r.default)({type:"IntersectionTypeAnnotation",types:p})},e.jSXAttribute=e.jsxAttribute=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"JSXAttribute",name:p,value:u})},e.jSXClosingElement=e.jsxClosingElement=function(p){return(0,r.default)({type:"JSXClosingElement",name:p})},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(p){let u=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:p,closingElement:u,children:h,selfClosing:d})},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(p){return(0,r.default)({type:"JSXExpressionContainer",expression:p})},e.jSXFragment=e.jsxFragment=function(p,u,h){return(0,r.default)({type:"JSXFragment",openingFragment:p,closingFragment:u,children:h})},e.jSXIdentifier=e.jsxIdentifier=function(p){return(0,r.default)({type:"JSXIdentifier",name:p})},e.jSXMemberExpression=e.jsxMemberExpression=function(p,u){return(0,r.default)({type:"JSXMemberExpression",object:p,property:u})},e.jSXNamespacedName=e.jsxNamespacedName=function(p,u){return(0,r.default)({type:"JSXNamespacedName",namespace:p,name:u})},e.jSXOpeningElement=e.jsxOpeningElement=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"JSXOpeningElement",name:p,attributes:u,selfClosing:h})},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(p){return(0,r.default)({type:"JSXSpreadAttribute",argument:p})},e.jSXSpreadChild=e.jsxSpreadChild=function(p){return(0,r.default)({type:"JSXSpreadChild",expression:p})},e.jSXText=e.jsxText=function(p){return(0,r.default)({type:"JSXText",value:p})},e.labeledStatement=function(p,u){return(0,r.default)({type:"LabeledStatement",label:p,body:u})},e.logicalExpression=function(p,u,h){return(0,r.default)({type:"LogicalExpression",operator:p,left:u,right:h})},e.memberExpression=function(p,u){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:p,property:u,computed:h,optional:d})},e.metaProperty=function(p,u){return(0,r.default)({type:"MetaProperty",meta:p,property:u})},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(p){return(0,r.default)({type:"ModuleExpression",body:p})},e.newExpression=function(p,u){return(0,r.default)({type:"NewExpression",callee:p,arguments:u})},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(p){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:p})},e.numberLiteral=function(p){return(0,a.default)("NumberLiteral","NumericLiteral","The node type "),i(p)},e.numberLiteralTypeAnnotation=function(p){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:p})},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=i,e.objectExpression=function(p){return(0,r.default)({type:"ObjectExpression",properties:p})},e.objectMethod=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=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:p,key:u,params:h,body:d,computed:m,generator:f,async:v})},e.objectPattern=function(p){return(0,r.default)({type:"ObjectPattern",properties:p})},e.objectProperty=function(p,u){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:p,value:u,computed:h,shorthand:d,decorators:m})},e.objectTypeAnnotation=function(p){let u=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:p,indexers:u,callProperties:h,internalSlots:d,exact:m})},e.objectTypeCallProperty=function(p){return(0,r.default)({type:"ObjectTypeCallProperty",value:p,static:null})},e.objectTypeIndexer=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,key:u,value:h,variance:d,static:null})},e.objectTypeInternalSlot=function(p,u,h,d,m){return(0,r.default)({type:"ObjectTypeInternalSlot",id:p,value:u,optional:h,static:d,method:m})},e.objectTypeProperty=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ObjectTypeProperty",key:p,value:u,variance:h,kind:null,method:null,optional:null,proto:null,static:null})},e.objectTypeSpreadProperty=function(p){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:p})},e.opaqueType=function(p){let u=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:p,typeParameters:u,supertype:h,impltype:d})},e.optionalCallExpression=function(p,u,h){return(0,r.default)({type:"OptionalCallExpression",callee:p,arguments:u,optional:h})},e.optionalIndexedAccessType=function(p,u){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:p,indexType:u,optional:null})},e.optionalMemberExpression=function(p,u){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:p,property:u,computed:h,optional:d})},e.parenthesizedExpression=function(p){return(0,r.default)({type:"ParenthesizedExpression",expression:p})},e.pipelineBareFunction=function(p){return(0,r.default)({type:"PipelineBareFunction",callee:p})},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(p){return(0,r.default)({type:"PipelineTopicExpression",expression:p})},e.placeholder=function(p,u){return(0,r.default)({type:"Placeholder",expectedNode:p,name:u})},e.privateName=function(p){return(0,r.default)({type:"PrivateName",id:p})},e.program=function(p){let u=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:p,directives:u,sourceType:h,interpreter:d,sourceFile:null})},e.qualifiedTypeIdentifier=function(p,u){return(0,r.default)({type:"QualifiedTypeIdentifier",id:p,qualification:u})},e.recordExpression=function(p){return(0,r.default)({type:"RecordExpression",properties:p})},e.regExpLiteral=s,e.regexLiteral=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,a.default)("RegexLiteral","RegExpLiteral","The node type "),s(p,u)},e.restElement=o,e.restProperty=function(p){return(0,a.default)("RestProperty","RestElement","The node type "),o(p)},e.returnStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ReturnStatement",argument:p})},e.sequenceExpression=function(p){return(0,r.default)({type:"SequenceExpression",expressions:p})},e.spreadElement=l,e.spreadProperty=function(p){return(0,a.default)("SpreadProperty","SpreadElement","The node type "),l(p)},e.staticBlock=function(p){return(0,r.default)({type:"StaticBlock",body:p})},e.stringLiteral=function(p){return(0,r.default)({type:"StringLiteral",value:p})},e.stringLiteralTypeAnnotation=function(p){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:p})},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"SwitchCase",test:p,consequent:u})},e.switchStatement=function(p,u){return(0,r.default)({type:"SwitchStatement",discriminant:p,cases:u})},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(p,u){return(0,r.default)({type:"TaggedTemplateExpression",tag:p,quasi:u})},e.templateElement=function(p){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"TemplateElement",value:p,tail:u})},e.templateLiteral=function(p,u){return(0,r.default)({type:"TemplateLiteral",quasis:p,expressions:u})},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(p){return(0,r.default)({type:"ThrowStatement",argument:p})},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(p){let u=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:p,handler:u,finalizer:h})},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(p){return(0,r.default)({type:"TSArrayType",elementType:p})},e.tSAsExpression=e.tsAsExpression=function(p,u){return(0,r.default)({type:"TSAsExpression",expression:p,typeAnnotation:u})},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,parameters:u,typeAnnotation:h})},e.tSConditionalType=e.tsConditionalType=function(p,u,h,d){return(0,r.default)({type:"TSConditionalType",checkType:p,extendsType:u,trueType:h,falseType:d})},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,parameters:u,typeAnnotation:h})},e.tSConstructorType=e.tsConstructorType=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,parameters:u,typeAnnotation:h})},e.tSDeclareFunction=e.tsDeclareFunction=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,typeParameters:u,params:h,returnType:d})},e.tSDeclareMethod=e.tsDeclareMethod=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,key:u,typeParameters:h,params:d,returnType:m})},e.tSEnumDeclaration=e.tsEnumDeclaration=function(p,u){return(0,r.default)({type:"TSEnumDeclaration",id:p,members:u})},e.tSEnumMember=e.tsEnumMember=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSEnumMember",id:p,initializer:u})},e.tSExportAssignment=e.tsExportAssignment=function(p){return(0,r.default)({type:"TSExportAssignment",expression:p})},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:p,typeParameters:u})},e.tSExternalModuleReference=e.tsExternalModuleReference=function(p){return(0,r.default)({type:"TSExternalModuleReference",expression:p})},e.tSFunctionType=e.tsFunctionType=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,parameters:u,typeAnnotation:h})},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(p,u){return(0,r.default)({type:"TSImportEqualsDeclaration",id:p,moduleReference:u,isExport:null})},e.tSImportType=e.tsImportType=function(p){let u=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:p,qualifier:u,typeParameters:h})},e.tSIndexSignature=e.tsIndexSignature=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSIndexSignature",parameters:p,typeAnnotation:u})},e.tSIndexedAccessType=e.tsIndexedAccessType=function(p,u){return(0,r.default)({type:"TSIndexedAccessType",objectType:p,indexType:u})},e.tSInferType=e.tsInferType=function(p){return(0,r.default)({type:"TSInferType",typeParameter:p})},e.tSInstantiationExpression=e.tsInstantiationExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSInstantiationExpression",expression:p,typeParameters:u})},e.tSInterfaceBody=e.tsInterfaceBody=function(p){return(0,r.default)({type:"TSInterfaceBody",body:p})},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(p){let u=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:p,typeParameters:u,extends:h,body:d})},e.tSIntersectionType=e.tsIntersectionType=function(p){return(0,r.default)({type:"TSIntersectionType",types:p})},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(p){return(0,r.default)({type:"TSLiteralType",literal:p})},e.tSMappedType=e.tsMappedType=function(p){let u=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:p,typeAnnotation:u,nameType:h})},e.tSMethodSignature=e.tsMethodSignature=function(p){let u=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:p,typeParameters:u,parameters:h,typeAnnotation:d,kind:null})},e.tSModuleBlock=e.tsModuleBlock=function(p){return(0,r.default)({type:"TSModuleBlock",body:p})},e.tSModuleDeclaration=e.tsModuleDeclaration=function(p,u){return(0,r.default)({type:"TSModuleDeclaration",id:p,body:u})},e.tSNamedTupleMember=e.tsNamedTupleMember=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"TSNamedTupleMember",label:p,elementType:u,optional:h})},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(p){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:p})},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(p){return(0,r.default)({type:"TSNonNullExpression",expression:p})},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(p){return(0,r.default)({type:"TSOptionalType",typeAnnotation:p})},e.tSParameterProperty=e.tsParameterProperty=function(p){return(0,r.default)({type:"TSParameterProperty",parameter:p})},e.tSParenthesizedType=e.tsParenthesizedType=function(p){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:p})},e.tSPropertySignature=e.tsPropertySignature=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSPropertySignature",key:p,typeAnnotation:u,kind:null})},e.tSQualifiedName=e.tsQualifiedName=function(p,u){return(0,r.default)({type:"TSQualifiedName",left:p,right:u})},e.tSRestType=e.tsRestType=function(p){return(0,r.default)({type:"TSRestType",typeAnnotation:p})},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(p,u){return(0,r.default)({type:"TSSatisfiesExpression",expression:p,typeAnnotation:u})},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(p){return(0,r.default)({type:"TSTupleType",elementTypes:p})},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(p){let u=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:p,typeParameters:u,typeAnnotation:h})},e.tSTypeAnnotation=e.tsTypeAnnotation=function(p){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:p})},e.tSTypeAssertion=e.tsTypeAssertion=function(p,u){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:p,expression:u})},e.tSTypeLiteral=e.tsTypeLiteral=function(p){return(0,r.default)({type:"TSTypeLiteral",members:p})},e.tSTypeOperator=e.tsTypeOperator=function(p){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:p,operator:null})},e.tSTypeParameter=e.tsTypeParameter=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,default:u,name:h})},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(p){return(0,r.default)({type:"TSTypeParameterDeclaration",params:p})},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(p){return(0,r.default)({type:"TSTypeParameterInstantiation",params:p})},e.tSTypePredicate=e.tsTypePredicate=function(p){let u=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:p,typeAnnotation:u,asserts:h})},e.tSTypeQuery=e.tsTypeQuery=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeQuery",exprName:p,typeParameters:u})},e.tSTypeReference=e.tsTypeReference=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeReference",typeName:p,typeParameters:u})},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(p){return(0,r.default)({type:"TSUnionType",types:p})},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"TupleExpression",elements:p})},e.tupleTypeAnnotation=function(p){return(0,r.default)({type:"TupleTypeAnnotation",types:p})},e.typeAlias=function(p){let u=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:p,typeParameters:u,right:h})},e.typeAnnotation=function(p){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:p})},e.typeCastExpression=function(p,u){return(0,r.default)({type:"TypeCastExpression",expression:p,typeAnnotation:u})},e.typeParameter=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=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:p,default:u,variance:h,name:null})},e.typeParameterDeclaration=function(p){return(0,r.default)({type:"TypeParameterDeclaration",params:p})},e.typeParameterInstantiation=function(p){return(0,r.default)({type:"TypeParameterInstantiation",params:p})},e.typeofTypeAnnotation=function(p){return(0,r.default)({type:"TypeofTypeAnnotation",argument:p})},e.unaryExpression=function(p,u){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return(0,r.default)({type:"UnaryExpression",operator:p,argument:u,prefix:h})},e.unionTypeAnnotation=function(p){return(0,r.default)({type:"UnionTypeAnnotation",types:p})},e.updateExpression=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"UpdateExpression",operator:p,argument:u,prefix:h})},e.v8IntrinsicIdentifier=function(p){return(0,r.default)({type:"V8IntrinsicIdentifier",name:p})},e.variableDeclaration=function(p,u){return(0,r.default)({type:"VariableDeclaration",kind:p,declarations:u})},e.variableDeclarator=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"VariableDeclarator",id:p,init:u})},e.variance=function(p){return(0,r.default)({type:"Variance",kind:p})},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(p,u){return(0,r.default)({type:"WhileStatement",test:p,body:u})},e.withStatement=function(p,u){return(0,r.default)({type:"WithStatement",object:p,body:u})},e.yieldExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"YieldExpression",argument:p,delegate:u})};var r=n(352),a=n(58);function i(p){return(0,r.default)({type:"NumericLiteral",value:p})}function s(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)({type:"RegExpLiteral",pattern:p,flags:u})}function o(p){return(0,r.default)({type:"RestElement",argument:p})}function l(p){return(0,r.default)({type:"SpreadElement",argument:p})}},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(H,R){if(R=i(R),H instanceof r)return H.loose===!!R.loose&&H.includePrerelease===!!R.includePrerelease?H:new r(H.raw,R);if(H instanceof s)return this.raw=H.value,this.set=[[H]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=H.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((se=>!C(se[0]))),this.set.length===0)this.set=[K];else if(this.set.length>1){for(const se of this.set)if(se.length===1&&S(se[0])){this.set=[se];break}}}this.format()}format(){return this.range=this.set.map((H=>H.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(H){const R=((this.options.includePrerelease&&f)|(this.options.loose&&v))+":"+H,K=a.get(R);if(K)return K;const se=this.options.loose,he=se?p[u.HYPHENRANGELOOSE]:p[u.HYPHENRANGE];H=H.replace(he,F(this.options.includePrerelease)),o("hyphen replace",H),H=H.replace(p[u.COMPARATORTRIM],h),o("comparator trim",H),H=H.replace(p[u.TILDETRIM],d),o("tilde trim",H),H=H.replace(p[u.CARETTRIM],m),o("caret trim",H);let Le=H.split(" ").map((Ce=>g(Ce,this.options))).join(" ").split(/\s+/).map((Ce=>W(Ce,this.options)));se&&(Le=Le.filter((Ce=>(o("loose invalid filter",Ce,this.options),!!Ce.match(p[u.COMPARATORLOOSE]))))),o("range list",Le);const X=new Map,Q=Le.map((Ce=>new s(Ce,this.options)));for(const Ce of Q){if(C(Ce))return[Ce];X.set(Ce.value,Ce)}X.size>1&&X.has("")&&X.delete("");const fe=[...X.values()];return a.set(R,fe),fe}intersects(H,R){if(!(H instanceof r))throw new TypeError("a Range is required");return this.set.some((K=>x(K,R)&&H.set.some((se=>x(se,R)&&K.every((he=>se.every((Le=>he.intersects(Le,R)))))))))}test(H){if(!H)return!1;if(typeof H=="string")try{H=new l(H,this.options)}catch{return!1}for(let R=0;R$.value==="<0.0.0-0",S=$=>$.value==="",x=($,H)=>{let R=!0;const K=$.slice();let se=K.pop();for(;R&&K.length;)R=K.every((he=>se.intersects(he,H))),se=K.pop();return R},g=($,H)=>(o("comp",$,H),$=T($,H),o("caret",$),$=y($,H),o("tildes",$),$=I($,H),o("xrange",$),$=q($,H),o("stars",$),$),w=$=>!$||$.toLowerCase()==="x"||$==="*",y=($,H)=>$.trim().split(/\s+/).map((R=>_(R,H))).join(" "),_=($,H)=>{const R=H.loose?p[u.TILDELOOSE]:p[u.TILDE];return $.replace(R,((K,se,he,Le,X)=>{let Q;return o("tilde",$,K,se,he,Le,X),w(se)?Q="":w(he)?Q=`>=${se}.0.0 <${+se+1}.0.0-0`:w(Le)?Q=`>=${se}.${he}.0 <${se}.${+he+1}.0-0`:X?(o("replaceTilde pr",X),Q=`>=${se}.${he}.${Le}-${X} <${se}.${+he+1}.0-0`):Q=`>=${se}.${he}.${Le} <${se}.${+he+1}.0-0`,o("tilde return",Q),Q}))},T=($,H)=>$.trim().split(/\s+/).map((R=>O(R,H))).join(" "),O=($,H)=>{o("caret",$,H);const R=H.loose?p[u.CARETLOOSE]:p[u.CARET],K=H.includePrerelease?"-0":"";return $.replace(R,((se,he,Le,X,Q)=>{let fe;return o("caret",$,se,he,Le,X,Q),w(he)?fe="":w(Le)?fe=`>=${he}.0.0${K} <${+he+1}.0.0-0`:w(X)?fe=he==="0"?`>=${he}.${Le}.0${K} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.0${K} <${+he+1}.0.0-0`:Q?(o("replaceCaret pr",Q),fe=he==="0"?Le==="0"?`>=${he}.${Le}.${X}-${Q} <${he}.${Le}.${+X+1}-0`:`>=${he}.${Le}.${X}-${Q} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.${X}-${Q} <${+he+1}.0.0-0`):(o("no pr"),fe=he==="0"?Le==="0"?`>=${he}.${Le}.${X}${K} <${he}.${Le}.${+X+1}-0`:`>=${he}.${Le}.${X}${K} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.${X} <${+he+1}.0.0-0`),o("caret return",fe),fe}))},I=($,H)=>(o("replaceXRanges",$,H),$.split(/\s+/).map((R=>z(R,H))).join(" ")),z=($,H)=>{$=$.trim();const R=H.loose?p[u.XRANGELOOSE]:p[u.XRANGE];return $.replace(R,((K,se,he,Le,X,Q)=>{o("xRange",$,K,se,he,Le,X,Q);const fe=w(he),Ce=fe||w(Le),Me=Ce||w(X),ue=Me;return se==="="&&ue&&(se=""),Q=H.includePrerelease?"-0":"",fe?K=se===">"||se==="<"?"<0.0.0-0":"*":se&&ue?(Ce&&(Le=0),X=0,se===">"?(se=">=",Ce?(he=+he+1,Le=0,X=0):(Le=+Le+1,X=0)):se==="<="&&(se="<",Ce?he=+he+1:Le=+Le+1),se==="<"&&(Q="-0"),K=`${se+he}.${Le}.${X}${Q}`):Ce?K=`>=${he}.0.0${Q} <${+he+1}.0.0-0`:Me&&(K=`>=${he}.${Le}.0${Q} <${he}.${+Le+1}.0-0`),o("xRange return",K),K}))},q=($,H)=>(o("replaceStars",$,H),$.trim().replace(p[u.STAR],"")),W=($,H)=>(o("replaceGTE0",$,H),$.trim().replace(p[H.includePrerelease?u.GTE0PRE:u.GTE0],"")),F=$=>(H,R,K,se,he,Le,X,Q,fe,Ce,Me,ue,ae)=>`${R=w(K)?"":w(se)?`>=${K}.0.0${$?"-0":""}`:w(he)?`>=${K}.${se}.0${$?"-0":""}`:Le?`>=${R}`:`>=${R}${$?"-0":""}`} ${Q=w(fe)?"":w(Ce)?`<${+fe+1}.0.0-0`:w(Me)?`<${fe}.${+Ce+1}.0-0`:ue?`<=${fe}.${Ce}.${Me}-${ue}`:$?`<${fe}.${Ce}.${+Me+1}-0`:`<=${Q}`}`.trim(),N=($,H,R)=>{for(let K=0;K<$.length;K++)if(!$[K].test(H))return!1;if(H.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 se=$[K].semver;if(se.major===H.major&&se.minor===H.minor&&se.patch===H.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 p,u="",h=0,d=-1,m=0,f=0;f<=o.length;++f){if(f2){var v=u.lastIndexOf("/");if(v!==u.length-1){v===-1?(u="",h=0):h=(u=u.slice(0,v)).length-1-u.lastIndexOf("/"),d=f,m=0;continue}}else if(u.length===2||u.length===1){u="",h=0,d=f,m=0;continue}}l&&(u.length>0?u+="/..":u="..",h=2)}else u.length>0?u+="/"+o.slice(d+1,f):u=o.slice(d+1,f),h=f-d-1;d=f,m=0}else p===46&&m!==-1?++m:m=-1}return u}var s={resolve:function(){for(var o,l="",p=!1,u=arguments.length-1;u>=-1&&!p;u--){var h;u>=0?h=arguments[u]:(o===void 0&&(o=r.cwd()),h=o),a(h),h.length!==0&&(l=h+"/"+l,p=h.charCodeAt(0)===47)}return l=i(l,!p),p?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(o){if(a(o),o.length===0)return".";var l=o.charCodeAt(0)===47,p=o.charCodeAt(o.length-1)===47;return(o=i(o,!l)).length!==0||l||(o="."),o.length>0&&p&&(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=p:o+="/"+p)}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 p=1;pf){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(p+C)===47?v=C:C===0&&(v=0));break}var S=o.charCodeAt(p+C);if(S!==l.charCodeAt(d+C))break;S===47&&(v=C)}var x="";for(C=p+v+1;C<=u;++C)C!==u&&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),p=l===47,u=-1,h=!0,d=o.length-1;d>=1;--d)if((l=o.charCodeAt(d))===47){if(!h){u=d;break}}else h=!1;return u===-1?p?"/":".":p&&u===1?"//":o.slice(0,u)},basename:function(o,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');a(o);var p,u=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(p=o.length-1;p>=0;--p){var v=o.charCodeAt(p);if(v===47){if(!d){u=p+1;break}}else f===-1&&(d=!1,f=p+1),m>=0&&(v===l.charCodeAt(m)?--m==-1&&(h=p):(m=-1,h=f))}return u===h?h=f:h===-1&&(h=o.length),o.slice(u,h)}for(p=o.length-1;p>=0;--p)if(o.charCodeAt(p)===47){if(!d){u=p+1;break}}else h===-1&&(d=!1,h=p+1);return h===-1?"":o.slice(u,h)},extname:function(o){a(o);for(var l=-1,p=0,u=-1,h=!0,d=0,m=o.length-1;m>=0;--m){var f=o.charCodeAt(m);if(f!==47)u===-1&&(h=!1,u=m+1),f===46?l===-1?l=m:d!==1&&(d=1):l!==-1&&(d=-1);else if(!h){p=m+1;break}}return l===-1||u===-1||d===0||d===1&&l===u-1&&l===p+1?"":o.slice(l,u)},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,p){var u=p.dir||p.root,h=p.base||(p.name||"")+(p.ext||"");return u?u===p.root?u+h:u+"/"+h:h})(0,o)},parse:function(o){a(o);var l={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return l;var p,u=o.charCodeAt(0),h=u===47;h?(l.root="/",p=1):p=0;for(var d=-1,m=0,f=-1,v=!0,C=o.length-1,S=0;C>=p;--C)if((u=o.charCodeAt(C))!==47)f===-1&&(v=!1,f=C+1),u===46?d===-1?d=C:S!==1&&(S=1):d!==-1&&(S=-1);else if(!v){m=C+1;break}return d===-1||f===-1||S===0||S===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),p=n(11),u=r.RangeError,h=r.Int8Array,d=h&&h.prototype,m=d&&d.set,f=i.aTypedArray,v=i.exportTypedArrayMethod,C=!p((function(){var x=new Uint8ClampedArray(2);return a(m,x,{length:1,0:3},1),x[1]!==3})),S=C&&i.NATIVE_ARRAY_BUFFER_VIEWS&&p((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 y=this.length,_=s(w),T=0;if(_+g>y)throw new u("Wrong length");for(;T<_;)this[g+T]=w[T++]}),!C||S)},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,S,x,g){if(typeof x===C||g&&x===void 0)return;let w;throw w=g?`Expected opts.${S} to be either a ${C}, or undefined.`:`Expected opts.${S} to be a ${C}.`,l(w,i)}function l(C,S){return Object.assign(new Error(C),{code:S})}function p(C){let{name:S,arity:x,sync:g,async:w}=C;return v(S,x,(function*(){const y=yield e;for(var _=arguments.length,T=new Array(_),O=0;O<_;O++)T[O]=arguments[O];if(!y)return g.call(this,T);let I;try{w.call(this,T,(z=>{I||(I={value:z},y())}),(z=>{I||(I={err:z},y())}))}catch(z){I={err:z},y()}if(yield n,I.hasOwnProperty("err"))throw I.err;return I.value}))}function u(C){let S;for(;!({value:S}=C.next()).done;)d(S,C);return S}function h(C,S,x){(function g(){try{let w;for(;!({value:w}=C.next()).done;){d(w,C);let y=!0,_=!1;const T=C.next((()=>{y?_=!0:g()}));if(y=!1,m(T,C),!_)return}return S(w)}catch(w){return x(w)}})()}function d(C,S){C!==e&&f(S,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,S){let{value:x,done:g}=C;(g||x!==n)&&f(S,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,S){throw C.throw&&C.throw(S),S}function v(C,S,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 S=="number"){const g=Object.getOwnPropertyDescriptor(x,"length");g&&!g.configurable||Object.defineProperty(x,"length",Object.assign(g||{},{configurable:!0,value:S}))}return x}t.exports=Object.assign((function(C){let S=C;return S=typeof C!="function"?(function(x){let{name:g,arity:w,sync:y,async:_,errback:T}=x;if(o("string","name",g,!0),o("number","arity",w,!0),o("function","sync",y),o("function","async",_,!0),o("function","errback",T,!0),_&&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),_&&_.name&&_.name!=="async"&&(O=_.name.replace(/Async$/,"")),y&&y.name&&y.name!=="sync"&&(O=y.name.replace(/Sync$/,"")),typeof O=="string"&&(g=O)}return typeof w!="number"&&(w=y.length),p({name:g,arity:w,sync:function(O){return y.apply(this,O)},async:function(O,I,z){_?_.apply(this,O).then(I,z):T?T.call(this,...O,((q,W)=>{q==null?I(W):z(q)})):I(y.apply(this,O))}})})(C):(function(x){return v(x.name,x.length,(function(){for(var g=arguments.length,w=new Array(g),y=0;y{h(x.apply(this,y),T,O)}))},errback:function(){for(var w=arguments.length,y=new Array(w),_=0;_T(void 0,I)),(I=>T(I)))}}})(S))}),{all:p({name:"all",arity:1,sync:function(C){return Array.from(C[0]).map((S=>u(S)))},async:function(C,S,x){const g=Array.from(C[0]);if(g.length===0)return void Promise.resolve().then((()=>S([])));let w=0;const y=g.map((()=>{}));g.forEach(((_,T)=>{h(_,(O=>{y[T]=O,w+=1,w===y.length&&S(y)}),x)}))}}),race:p({name:"race",arity:1,sync:function(C){const S=Array.from(C[0]);if(S.length===0)throw l("Must race at least 1 item",s);return u(S[0])},async:function(C,S,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,S,x)}})})},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return p.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),p=n(444);const{VISITOR_KEYS:u,removeProperties:h,traverseFast:d}=a;function m(v){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=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&&!S&&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.");u[v.type]&&(r.explode(C),(0,s.traverseNode)(v,C,S,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,S,x,g,w){(0,s.traverseNode)(v,C,S,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,S){if(S!=null&&S.includes(v.type))return!1;if(v.type===C)return!0;const x={has:!1,type:C};return m(v,{noScope:!0,denylist:S,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(p,u){if(typeof p=="number"){if(!Number.isInteger(p))throw new Error("Expected string or integer value.");p=`^${p}.0.0-0`}if(typeof p!="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=u.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${u}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${p}", but was loaded with "${u}". 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:u,range:p})})(l,o.version)}};function r(o){return(l,p,u)=>{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,p||{},u)}}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=[],p=!1,u=-1;function h(){p&&o&&(p=!1,o.length?l=o.concat(l):u=-1,l.length&&d())}function d(){if(!p){var v=s(h);p=!0;for(var C=l.length;C;){for(o=l,l=[];++u1)for(var S=1;S{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=S,e.assertNodeOrValueType=function(){for(var I=arguments.length,z=new Array(I),q=0;q1&&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 H=z.filter((R=>!N.includes(R)));N.unshift(...H),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={},p=e.BUILDER_KEYS={},u=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"),S(I))}function C(I){return v(f(I))}function S(I){function z(q,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 y=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],_=["default","optional","deprecated","validate"],T={};function O(I){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const q=z.inherits&&T[z.inherits]||{};let W=z.fields;if(!W&&(W={},q.fields)){const H=Object.getOwnPropertyNames(q.fields);for(const R of H){const K=q.fields[R],se=K.default;if(Array.isArray(se)?se.length>0:se&&typeof se=="object")throw new Error("field defaults can only be primitives or empty arrays currently");W[R]={default:Array.isArray(se)?[]:se,optional:K.optional,deprecated:K.deprecated,validate:K.validate}}}const F=z.visitor||q.visitor||[],N=z.aliases||q.aliases||[],$=z.builder||q.builder||z.visitor||[];for(const H of Object.keys(z))if(y.indexOf(H)===-1)throw new Error(`Unknown type option "${H}" on ${I}`);z.deprecatedAlias&&(u[z.deprecatedAlias]=I);for(const H of F.concat($))W[H]=W[H]||{};for(const H of Object.keys(W)){const R=W[H];R.default!==void 0&&$.indexOf(H)===-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(_.indexOf(K)===-1)throw new Error(`Unknown field key "${K}" on ${I}.${H}`)}i[I]=z.visitor=F,p[I]=z.builder=$,l[I]=z.fields=W,s[I]=z.aliases=N,N.forEach((H=>{o[H]=o[H]||[],o[H].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(Ae,c){if(Ae==null)return{};var b,M,D={},Y=Object.keys(Ae);for(M=0;M=0||(D[b]=Ae[b]);return D}n(44),Object.defineProperty(e,"__esModule",{value:!0});class a{constructor(c,b,M){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=b,this.index=M}}class i{constructor(c,b){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=b}}function s(Ae,c){const{line:b,column:M,index:D}=Ae;return new a(b,M+c,D+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 p={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"},u=Ae=>{let{type:c,prefix:b}=Ae;return c==="UpdateExpression"?p.UpdateExpression[String(b)]:p[c]};var h={AccessorIsGenerator:Ae=>{let{kind:c}=Ae;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:Ae=>{let{kind:c}=Ae;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:Ae=>{let{exportName:c}=Ae;return`\`${c}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:Ae=>{let{phase:c}=Ae;return`'import.${c}(...)' can only be parsed when using the 'createImportExpressions' option.`},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:Ae=>{let{localName:c,exportName:b}=Ae;return`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${c}' as '${b}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:Ae=>{let{type:c}=Ae;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:Ae=>{let{type:c}=Ae;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:Ae=>{let{importName:c}=Ae;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:Ae=>{let{maxArgumentCount:c}=Ae;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:Ae=>{let{radix:c}=Ae;return`Expected number in radix ${c}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:Ae=>{let{reservedWord:c}=Ae;return`Escape sequence in keyword ${c}.`},InvalidIdentifier:Ae=>{let{identifierName:c}=Ae;return`Invalid identifier ${c}.`},InvalidLhs:Ae=>{let{ancestor:c}=Ae;return`Invalid left-hand side in ${u(c)}.`},InvalidLhsBinding:Ae=>{let{ancestor:c}=Ae;return`Binding invalid left-hand side in ${u(c)}.`},InvalidLhsOptionalChaining:Ae=>{let{ancestor:c}=Ae;return`Invalid optional chaining in the left-hand side of ${u(c)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:Ae=>{let{unexpected:c}=Ae;return`Unexpected character '${c}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:Ae=>{let{identifierName:c}=Ae;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:Ae=>{let{labelName:c}=Ae;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:Ae=>{let{missingPlugin:c}=Ae;return`This experimental syntax requires enabling the parser plugin: ${c.map((b=>JSON.stringify(b))).join(", ")}.`},MissingOneOfPlugins:Ae=>{let{missingPlugin:c}=Ae;return`This experimental syntax requires enabling one of the following parser plugin(s): ${c.map((b=>JSON.stringify(b))).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:Ae=>{let{key:c}=Ae;return`Duplicate key "${c}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:Ae=>{let{surrogateCharCode:c}=Ae;return`An export name cannot include a lone surrogate, found '\\u${c.toString(16)}'.`},ModuleExportUndefined:Ae=>{let{localName:c}=Ae;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:Ae=>{let{identifierName:c}=Ae;return`Private names are only allowed in property accesses (\`obj.#${c}\`) or in \`in\` expressions (\`#${c} in obj\`).`},PrivateNameRedeclaration:Ae=>{let{identifierName:c}=Ae;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:Ae=>{let{keyword:c}=Ae;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:Ae=>{let{reservedWord:c}=Ae;return`Unexpected reserved word '${c}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:Ae=>{let{expected:c,unexpected:b}=Ae;return`Unexpected token${b?` '${b}'.`:""}${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:Ae=>{let{target:c,onlyValidPropertyName:b}=Ae;return`The only valid meta property for ${c} is ${c}.${b}.`},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:Ae=>{let{identifierName:c}=Ae;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:Ae=>{let{token:c}=Ae;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:Ae=>{let{type:c}=Ae;return`Hack-style pipe body cannot be an unparenthesized ${u({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(Ae,c,b){Object.defineProperty(Ae,c,{enumerable:!1,configurable:!0,value:b})}function S(Ae){let{toMessage:c}=Ae,b=r(Ae,f);return function M(D,Y){const we=new SyntaxError;return Object.assign(we,b,{loc:D,pos:D.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:Et}=(Ue=De.loc)!=null?Ue:D;return M(new a(Ke,et,Et),Object.assign({},Y,De.details))})),C(we,"details",Y),Object.defineProperty(we,"message",{configurable:!0,get(){const De=`${c(Y)} (${D.line}:${D.column})`;return this.message=De,De},set(De){Object.defineProperty(this,"message",{value:De,writable:!0})}}),we}}function x(Ae,c){if(Array.isArray(Ae))return M=>x(M,Ae[0]);const b={};for(const M of Object.keys(Ae)){const D=Ae[M],Y=typeof D=="string"?{message:()=>D}:typeof D=="function"?{message:D}:D,{message:we}=Y,De=r(Y,v),Ue=typeof we=="string"?()=>we:we;b[M]=S(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:M,toMessage:Ue},c?{syntaxPlugin:c}:{},De))}return b}const g=Object.assign({},x(l),x(h),x({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:Ae=>{let{referenceName:c}=Ae;return`Assigning to '${c}' in strict mode.`},StrictEvalArgumentsBinding:Ae=>{let{bindingName:c}=Ae;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,y=(Ae,c)=>w(Ae,c,{enumerable:!1,value:Ae[c]});function _(Ae){return Ae.loc.start&&y(Ae.loc.start,"index"),Ae.loc.end&&y(Ae.loc.end,"index"),Ae}class T{constructor(c,b){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!b}}const O={brace:new T("{"),j_oTag:new T("...
",!0)};O.template=new T("`",!0);const I=!0,z=!0,q=!0,W=!0,F=!0;class N{constructor(c){let b=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=b.keyword,this.beforeExpr=!!b.beforeExpr,this.startsExpr=!!b.startsExpr,this.rightAssociative=!!b.rightAssociative,this.isLoop=!!b.isLoop,this.isAssign=!!b.isAssign,this.prefix=!!b.prefix,this.postfix=!!b.postfix,this.binop=b.binop!=null?b.binop:null,this.updateContext=null}}const $=new Map;function H(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c.keyword=Ae;const b=Ce(Ae,c);return $.set(Ae,b),b}function R(Ae,c){return Ce(Ae,{beforeExpr:I,binop:c})}let K=-1;const se=[],he=[],Le=[],X=[],Q=[],fe=[];function Ce(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var b,M,D,Y;return++K,he.push(Ae),Le.push((b=c.binop)!=null?b:-1),X.push((M=c.beforeExpr)!=null&&M),Q.push((D=c.startsExpr)!=null&&D),fe.push((Y=c.prefix)!=null&&Y),se.push(new N(Ae,c)),K}function Me(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var b,M,D,Y;return++K,$.set(Ae,K),he.push(Ae),Le.push((b=c.binop)!=null?b:-1),X.push((M=c.beforeExpr)!=null&&M),Q.push((D=c.startsExpr)!=null&&D),fe.push((Y=c.prefix)!=null&&Y),se.push(new N("name",c)),K}const ue={bracketL:Ce("[",{beforeExpr:I,startsExpr:z}),bracketHashL:Ce("#[",{beforeExpr:I,startsExpr:z}),bracketBarL:Ce("[|",{beforeExpr:I,startsExpr:z}),bracketR:Ce("]"),bracketBarR:Ce("|]"),braceL:Ce("{",{beforeExpr:I,startsExpr:z}),braceBarL:Ce("{|",{beforeExpr:I,startsExpr:z}),braceHashL:Ce("#{",{beforeExpr:I,startsExpr:z}),braceR:Ce("}"),braceBarR:Ce("|}"),parenL:Ce("(",{beforeExpr:I,startsExpr:z}),parenR:Ce(")"),comma:Ce(",",{beforeExpr:I}),semi:Ce(";",{beforeExpr:I}),colon:Ce(":",{beforeExpr:I}),doubleColon:Ce("::",{beforeExpr:I}),dot:Ce("."),question:Ce("?",{beforeExpr:I}),questionDot:Ce("?."),arrow:Ce("=>",{beforeExpr:I}),template:Ce("template"),ellipsis:Ce("...",{beforeExpr:I}),backQuote:Ce("`",{startsExpr:z}),dollarBraceL:Ce("${",{beforeExpr:I,startsExpr:z}),templateTail:Ce("...`",{startsExpr:z}),templateNonTail:Ce("...${",{beforeExpr:I,startsExpr:z}),at:Ce("@"),hash:Ce("#",{startsExpr:z}),interpreterDirective:Ce("#!..."),eq:Ce("=",{beforeExpr:I,isAssign:W}),assign:Ce("_=",{beforeExpr:I,isAssign:W}),slashAssign:Ce("_=",{beforeExpr:I,isAssign:W}),xorAssign:Ce("_=",{beforeExpr:I,isAssign:W}),moduloAssign:Ce("_=",{beforeExpr:I,isAssign:W}),incDec:Ce("++/--",{prefix:F,postfix:!0,startsExpr:z}),bang:Ce("!",{beforeExpr:I,prefix:F,startsExpr:z}),tilde:Ce("~",{beforeExpr:I,prefix:F,startsExpr:z}),doubleCaret:Ce("^^",{startsExpr:z}),doubleAt:Ce("@@",{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:Ce("+/-",{beforeExpr:I,binop:9,prefix:F,startsExpr:z}),modulo:Ce("%",{binop:10,startsExpr:z}),star:Ce("*",{binop:10}),slash:R("/",10),exponent:Ce("**",{beforeExpr:I,binop:11,rightAssociative:!0}),_in:H("in",{beforeExpr:I,binop:7}),_instanceof:H("instanceof",{beforeExpr:I,binop:7}),_break:H("break"),_case:H("case",{beforeExpr:I}),_catch:H("catch"),_continue:H("continue"),_debugger:H("debugger"),_default:H("default",{beforeExpr:I}),_else:H("else",{beforeExpr:I}),_finally:H("finally"),_function:H("function",{startsExpr:z}),_if:H("if"),_return:H("return",{beforeExpr:I}),_switch:H("switch"),_throw:H("throw",{beforeExpr:I,prefix:F,startsExpr:z}),_try:H("try"),_var:H("var"),_const:H("const"),_with:H("with"),_new:H("new",{beforeExpr:I,startsExpr:z}),_this:H("this",{startsExpr:z}),_super:H("super",{startsExpr:z}),_class:H("class",{startsExpr:z}),_extends:H("extends",{beforeExpr:I}),_export:H("export"),_import:H("import",{startsExpr:z}),_null:H("null",{startsExpr:z}),_true:H("true",{startsExpr:z}),_false:H("false",{startsExpr:z}),_typeof:H("typeof",{beforeExpr:I,prefix:F,startsExpr:z}),_void:H("void",{beforeExpr:I,prefix:F,startsExpr:z}),_delete:H("delete",{beforeExpr:I,prefix:F,startsExpr:z}),_do:H("do",{isLoop:q,beforeExpr:I}),_for:H("for",{isLoop:q}),_while:H("while",{isLoop:q}),_as:Me("as",{startsExpr:z}),_assert:Me("assert",{startsExpr:z}),_async:Me("async",{startsExpr:z}),_await:Me("await",{startsExpr:z}),_defer:Me("defer",{startsExpr:z}),_from:Me("from",{startsExpr:z}),_get:Me("get",{startsExpr:z}),_let:Me("let",{startsExpr:z}),_meta:Me("meta",{startsExpr:z}),_of:Me("of",{startsExpr:z}),_sent:Me("sent",{startsExpr:z}),_set:Me("set",{startsExpr:z}),_source:Me("source",{startsExpr:z}),_static:Me("static",{startsExpr:z}),_using:Me("using",{startsExpr:z}),_yield:Me("yield",{startsExpr:z}),_asserts:Me("asserts",{startsExpr:z}),_checks:Me("checks",{startsExpr:z}),_exports:Me("exports",{startsExpr:z}),_global:Me("global",{startsExpr:z}),_implements:Me("implements",{startsExpr:z}),_intrinsic:Me("intrinsic",{startsExpr:z}),_infer:Me("infer",{startsExpr:z}),_is:Me("is",{startsExpr:z}),_mixins:Me("mixins",{startsExpr:z}),_proto:Me("proto",{startsExpr:z}),_require:Me("require",{startsExpr:z}),_satisfies:Me("satisfies",{startsExpr:z}),_keyof:Me("keyof",{startsExpr:z}),_readonly:Me("readonly",{startsExpr:z}),_unique:Me("unique",{startsExpr:z}),_abstract:Me("abstract",{startsExpr:z}),_declare:Me("declare",{startsExpr:z}),_enum:Me("enum",{startsExpr:z}),_module:Me("module",{startsExpr:z}),_namespace:Me("namespace",{startsExpr:z}),_interface:Me("interface",{startsExpr:z}),_type:Me("type",{startsExpr:z}),_opaque:Me("opaque",{startsExpr:z}),name:Ce("name",{startsExpr:z}),string:Ce("string",{startsExpr:z}),num:Ce("num",{startsExpr:z}),bigint:Ce("bigint",{startsExpr:z}),decimal:Ce("decimal",{startsExpr:z}),regexp:Ce("regexp",{startsExpr:z}),privateName:Ce("#name",{startsExpr:z}),eof:Ce("eof"),jsxName:Ce("jsxName"),jsxText:Ce("jsxText",{beforeExpr:!0}),jsxTagStart:Ce("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ce("jsxTagEnd"),placeholder:Ce("%%",{startsExpr:!0})};function ae(Ae){return Ae>=93&&Ae<=132}function ce(Ae){return Ae>=58&&Ae<=132}function oe(Ae){return Ae>=58&&Ae<=136}function ie(Ae){return Q[Ae]}function Se(Ae){return Ae>=129&&Ae<=131}function ne(Ae){return Ae>=58&&Ae<=92}function ge(Ae){return he[Ae]}function xe(Ae){return Le[Ae]}function He(Ae){return Ae>=24&&Ae<=25}function ee(Ae){return se[Ae]}se[8].updateContext=Ae=>{Ae.pop()},se[5].updateContext=se[7].updateContext=se[23].updateContext=Ae=>{Ae.push(O.brace)},se[22].updateContext=Ae=>{Ae[Ae.length-1]===O.template?Ae.pop():Ae.push(O.template)},se[142].updateContext=Ae=>{Ae.push(O.j_expr,O.j_oTag)};let k="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",j="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const J=new RegExp("["+k+"]"),Te=new RegExp("["+k+j+"]");k=j=null;const Ie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,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],Pe=[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(Ae,c){let b=65536;for(let M=0,D=c.length;MAe)return!1;if(b+=c[M+1],b>=Ae)return!0}return!1}function ke(Ae){return Ae<65?Ae===36:Ae<=90||(Ae<97?Ae===95:Ae<=122||(Ae<=65535?Ae>=170&&J.test(String.fromCharCode(Ae)):de(Ae,Ie)))}function Ge(Ae){return Ae<48?Ae===36:Ae<58||!(Ae<65)&&(Ae<=90||(Ae<97?Ae===95:Ae<=122||(Ae<=65535?Ae>=170&&Te.test(String.fromCharCode(Ae)):de(Ae,Ie)||de(Ae,Pe))))}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 Qt(Ae,c){return c&&Ae==="await"||Ae==="enum"}function Bt(Ae,c){return Qt(Ae,c)||ct.has(Ae)}function sr(Ae){return yt.has(Ae)}function vr(Ae,c){return Bt(Ae,c)||sr(Ae)}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 Zr{constructor(c){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=c}}class Jr{constructor(c,b){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=b}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:b}=this.scopeStack[c];if(128&b)return!0;if(451&b)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new Zr(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,b,M){let D=this.currentScope();if(8&b||16&b){this.checkRedeclarationInScope(D,c,b,M);let Y=D.names.get(c)||0;16&b?Y|=4:(D.firstLexicalName||(D.firstLexicalName=c),Y|=2),D.names.set(c,Y),8&b&&this.maybeExportDefined(D,c)}else if(4&b)for(let Y=this.scopeStack.length-1;Y>=0&&(D=this.scopeStack[Y],this.checkRedeclarationInScope(D,c,b,M),D.names.set(c,1|(D.names.get(c)||0)),this.maybeExportDefined(D,c),!(387&D.flags));--Y);this.parser.inModule&&1&D.flags&&this.undefinedExports.delete(c)}maybeExportDefined(c,b){this.parser.inModule&&1&c.flags&&this.undefinedExports.delete(b)}checkRedeclarationInScope(c,b,M,D){this.isRedeclaredInScope(c,b,M)&&this.parser.raise(g.VarRedeclaration,D,{identifierName:b})}isRedeclaredInScope(c,b,M){if(!(1&M))return!1;if(8&M)return c.names.has(b);const D=c.names.get(b);return 16&M?(2&D)>0||!this.treatFunctionsAsVarInScope(c)&&(1&D)>0:(2&D)>0&&!(8&c.flags&&c.firstLexicalName===b)||!this.treatFunctionsAsVarInScope(c)&&(4&D)>0}checkLocalExport(c){const{name:b}=c;this.scopeStack[0].names.has(b)||this.undefinedExports.set(b,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:b}=this.scopeStack[c];if(387&b)return b}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:b}=this.scopeStack[c];if(451&b&&!(4&b))return b}}}class Gr extends Zr{constructor(){super(...arguments),this.declareFunctions=new Set}}class un extends Jr{createScope(c){return new Gr(c)}declareName(c,b,M){const D=this.currentScope();if(2048&b)return this.checkRedeclarationInScope(D,c,b,M),this.maybeExportDefined(D,c),void D.declareFunctions.add(c);super.declareName(c,b,M)}isRedeclaredInScope(c,b,M){if(super.isRedeclaredInScope(c,b,M))return!0;if(2048&M&&!c.declareFunctions.has(b)){const D=c.names.get(b);return(4&D)>0||(2&D)>0}return!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}}class nn{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{const[b,M]=c;if(!this.hasPlugin(b))return!1;const D=this.plugins.get(b);for(const Y of Object.keys(M))if(D?.[Y]!==M[Y])return!1;return!0}}getPluginOption(c,b){var M;return(M=this.plugins.get(c))==null?void 0:M[b]}}function is(Ae,c){Ae.trailingComments===void 0?Ae.trailingComments=c:Ae.trailingComments.unshift(...c)}function fr(Ae,c){Ae.innerComments===void 0?Ae.innerComments=c:Ae.innerComments.unshift(...c)}function jn(Ae,c,b){let M=null,D=c.length;for(;M===null&&D>0;)M=c[--D];M===null||M.start>b.start?fr(Ae,b.comments):is(M,b.comments)}class gs extends nn{addComment(c){this.filename&&(c.loc.filename=this.filename);const{commentsLen:b}=this.state;this.comments.length!=b&&(this.comments.length=b),this.comments.push(c),this.state.commentsLen++}processComment(c){const{commentStack:b}=this.state,M=b.length;if(M===0)return;let D=M-1;const Y=b[D];Y.start===c.end&&(Y.leadingNode=c,D--);const{start:we}=c;for(;D>=0;D--){const De=b[D],Ue=De.end;if(!(Ue>we)){Ue===we&&(De.trailingNode=c);break}De.containingNode=c,this.finalizeComment(De),b.splice(D,1)}}finalizeComment(c){const{comments:b}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&is(c.leadingNode,b),c.trailingNode!==null&&(function(M,D){M.leadingComments===void 0?M.leadingComments=D:M.leadingComments.unshift(...D)})(c.trailingNode,b);else{const{containingNode:M,start:D}=c;if(this.input.charCodeAt(D-1)===44)switch(M.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":jn(M,M.properties,c);break;case"CallExpression":case"OptionalCallExpression":jn(M,M.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":jn(M,M.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":jn(M,M.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":jn(M,M.specifiers,c);break;default:fr(M,b)}else fr(M,b)}}finalizeRemainingComments(){const{commentStack:c}=this.state;for(let b=c.length-1;b>=0;b--)this.finalizeComment(c[b]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){const{commentStack:b}=this.state,{length:M}=b;if(M===0)return;const D=b[M-1];D.leadingNode===c&&(D.leadingNode=null)}resetPreviousIdentifierLeadingComments(c){const{commentStack:b}=this.state,{length:M}=b;M!==0&&(b[M-1].trailingNode===c?b[M-1].trailingNode=null:M>=2&&b[M-2].trailingNode===c&&(b[M-2].trailingNode=null))}takeSurroundingComments(c,b,M){const{commentStack:D}=this.state,Y=D.length;if(Y===0)return;let we=Y-1;for(;we>=0;we--){const De=D[we],Ue=De.end;if(De.start===M)De.leadingNode=c;else if(Ue===b)De.trailingNode=c;else if(Ue0}set strict(c){c?this.flags|=1:this.flags&=-2}init(c){let{strictMode:b,sourceType:M,startLine:D,startColumn:Y}=c;this.strict=b!==!1&&(b===!0||M==="module"),this.curLine=D,this.lineStart=-Y,this.startLoc=this.endLoc=new a(D,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 Ut;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 dr=function(Ae){return Ae>=48&&Ae<=57};const Zt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ut={bin:Ae=>Ae===48||Ae===49,oct:Ae=>Ae>=48&&Ae<=55,dec:Ae=>Ae>=48&&Ae<=57,hex:Ae=>Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102};function Tt(Ae,c,b,M,D,Y){const we=b,De=M,Ue=D;let Ke="",et=null,Et=b;const{length:Xt}=c;for(;;){if(b>=Xt){Y.unterminated(we,De,Ue),Ke+=c.slice(Et,b);break}const Kt=c.charCodeAt(b);if(wt(Ae,Kt,c,b)){Ke+=c.slice(Et,b);break}if(Kt===92){Ke+=c.slice(Et,b);const Tr=Dt(c,b,M,D,Ae==="template",Y);Tr.ch!==null||et?Ke+=Tr.ch:et={pos:b,lineStart:M,curLine:D},{pos:b,lineStart:M,curLine:D}=Tr,Et=b}else Kt===8232||Kt===8233?(++D,M=++b):Kt===10||Kt===13?Ae==="template"?(Ke+=c.slice(Et,b)+` `,++b,Kt===13&&c.charCodeAt(b)===10&&++b,++D,Et=M=b):Y.unterminated(we,De,Ue):++b}return{pos:b,str:Ke,firstInvalidLoc:et,lineStart:M,curLine:D,containsInvalid:!!et}}function wt(Ae,c,b,M){return Ae==="template"?c===96||c===36&&b.charCodeAt(M+1)===123:c===(Ae==="double"?34:39)}function Dt(Ae,c,b,M,D,Y){const we=!D;c++;const De=Ke=>({pos:c,ch:Ke,lineStart:b,curLine:M}),Ue=Ae.charCodeAt(c++);switch(Ue){case 110:return De(` `);case 114:return De("\r");case 120:{let Ke;return{code:Ke,pos:c}=nr(Ae,c,b,M,2,!1,we,Y),De(Ke===null?null:String.fromCharCode(Ke))}case 117:{let Ke;return{code:Ke,pos:c}=tr(Ae,c,b,M,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:Ae.charCodeAt(c)===10&&++c;case 10:b=c,++M;case 8232:case 8233:return De("");case 56:case 57:if(D)return De(null);Y.strictNumericEscape(c-1,b,M);default:if(Ue>=48&&Ue<=55){const Ke=c-1;let et=Ae.slice(Ke,c+2).match(/^[0-7]+/)[0],Et=parseInt(et,8);Et>255&&(et=et.slice(0,-1),Et=parseInt(et,8)),c+=et.length-1;const Xt=Ae.charCodeAt(c);if(et!=="0"||Xt===56||Xt===57){if(D)return De(null);Y.strictNumericEscape(Ke,b,M)}return De(String.fromCharCode(Et))}return De(String.fromCharCode(Ue))}}function nr(Ae,c,b,M,D,Y,we,De){const Ue=c;let Ke;return{n:Ke,pos:c}=Ar(Ae,c,b,M,16,D,Y,!1,De,!we),Ke===null&&(we?De.invalidEscapeSequence(Ue,b,M):c=Ue-1),{code:Ke,pos:c}}function Ar(Ae,c,b,M,D,Y,we,De,Ue,Ke){const et=c,Et=D===16?Zt.hex:Zt.decBinOct,Xt=D===16?ut.hex:D===10?ut.dec:D===8?ut.oct:ut.bin;let Kt=!1,Tr=0;for(let Mn=0,mn=Y??1/0;Mn=97?kn-97+10:kn>=65?kn-65+10:dr(kn)?kn-48:1/0,Un>=D){if(Un<=9&&Ke)return{n:null,pos:c};if(Un<=9&&Ue.invalidDigit(c,b,M,D))Un=0;else{if(!we)break;Un=0,Kt=!0}}++c,Tr=Tr*D+Un}else{const Pi=Ae.charCodeAt(c-1),Vn=Ae.charCodeAt(c+1);if(De){if(Number.isNaN(Vn)||!Xt(Vn)||Et.has(Pi)||Et.has(Vn)){if(Ke)return{n:null,pos:c};Ue.unexpectedNumericSeparator(c,b,M)}}else{if(Ke)return{n:null,pos:c};Ue.numericSeparatorInEscapeSequence(c,b,M)}++c}}return c===et||Y!=null&&c-et!==Y||Kt?{n:null,pos:c}:{n:Tr,pos:c}}function tr(Ae,c,b,M,D,Y){let we;if(Ae.charCodeAt(c)===123){if(++c,{code:we,pos:c}=nr(Ae,c,b,M,Ae.indexOf("}",c)-c,!0,D,Y),++c,we!==null&&we>1114111){if(!D)return{code:null,pos:c};Y.invalidCodePoint(c,b,M)}}else({code:we,pos:c}=nr(Ae,c,b,M,4,!1,D,Y));return{code:we,pos:c}}function xr(Ae,c,b){return new a(b,Ae-c,Ae)}const sn=new Set([103,109,115,105,121,117,100,118]);class wr{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 Rr extends gs{constructor(c,b){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(M,D,Y,we)=>!!this.options.errorRecovery&&(this.raise(g.InvalidDigit,xr(M,D,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:(M,D,Y)=>{this.recordStrictModeErrors(g.StrictNumericEscape,xr(M,D,Y))},unterminated:(M,D,Y)=>{throw this.raise(g.UnterminatedString,xr(M-1,D,Y))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(M,D,Y)=>{throw this.raise(g.UnterminatedTemplate,xr(M,D,Y))}}),this.state=new Ut,this.state.init(c),this.input=b,this.length=b.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 wr(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 b=this.state;return this.state=c,b}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 At.lastIndex=c,At.test(this.input)?At.lastIndex:c}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(c){let b=this.input.charCodeAt(c);if((64512&b)==55296&&++c{let[M,D]=b;return this.raise(M,D)})),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 b;this.isLookahead||(b=this.state.curPosition());const M=this.state.pos,D=this.input.indexOf(c,M+2);if(D===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=D+c.length,ft.lastIndex=M+2;ft.test(this.input)&&ft.lastIndex<=D;)++this.state.curLine,this.state.lineStart=ft.lastIndex;if(this.isLookahead)return;const Y={type:"CommentBlock",value:this.input.slice(M+2,D),start:M,end:D+c.length,loc:new i(b,this.state.curPosition())};return this.options.tokens&&this.pushToken(Y),Y}skipLineComment(c){const b=this.state.pos;let M;this.isLookahead||(M=this.state.curPosition());let D=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&&b.push(Y))}}else{if(M!==60||this.inModule||!this.options.annexB)break e;{const D=this.state.pos;if(this.input.charCodeAt(D+1)!==33||this.input.charCodeAt(D+2)!==45||this.input.charCodeAt(D+3)!==45)break e;{const Y=this.skipLineComment(4);Y!==void 0&&(this.addComment(Y),this.options.attachComment&&b.push(Y))}}}}}if(b.length>0){const M={start:c,end:this.state.pos,comments:b,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(M)}}finishToken(c,b){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const M=this.state.type;this.state.type=c,this.state.value=b,this.isLookahead||this.updateContext(M)}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,b=this.codePointAtPos(c);if(b>=48&&b<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(b===123||b===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(b===123?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,b===123?this.finishToken(7):this.finishToken(1)}else ke(b)?(++this.state.pos,this.finishToken(138,this.readWord1(b))):b===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 b=this.state.pos;for(this.state.pos+=1;!dt(c)&&++this.state.pos=48&&b<=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 b=this.input.charCodeAt(this.state.pos+1);if(b===120||b===88)return void this.readRadixNumber(16);if(b===111||b===79)return void this.readRadixNumber(8);if(b===98||b===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,b){const M=this.input.slice(this.state.pos,this.state.pos+b);this.state.pos+=b,this.finishToken(c,M)}readRegexp(){const c=this.state.startLoc,b=this.state.start+1;let M,D,{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(M)M=!1;else{if(Ke===91)D=!0;else if(Ke===93&&D)D=!1;else if(Ke===47&&!D)break;M=Ke===92}}const we=this.input.slice(b,Y);++Y;let De="";const Ue=()=>s(c,Y+2-b);for(;Y2&&arguments[2]!==void 0&&arguments[2],D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];const{n:Y,pos:we}=Ar(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,b,M,D,this.errorHandlers_readInt,!1);return this.state.pos=we,Y}readRadixNumber(c){const b=this.state.curPosition();let M=!1;this.state.pos+=2;const D=this.readInt(c);D==null&&this.raise(g.InvalidDigit,s(b,2),{radix:c});const Y=this.input.charCodeAt(this.state.pos);if(Y===110)++this.state.pos,M=!0;else if(Y===109)throw this.raise(g.InvalidDecimal,b);if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(M){const we=this.input.slice(b.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,we)}else this.finishToken(134,D)}readNumber(c){const b=this.state.pos,M=this.state.curPosition();let D=!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-b>=2&&this.input.charCodeAt(b)===48;if(Ke){const Kt=this.input.slice(b,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,M),!this.state.strict){const Tr=Kt.indexOf("_");Tr>0&&this.raise(g.ZeroDigitNumericSeparator,s(M,Tr))}Ue=Ke&&!/[89]/.test(Kt)}let et=this.input.charCodeAt(this.state.pos);if(et!==46||Ue||(++this.state.pos,this.readInt(10),D=!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,M),D=!0,De=!0,et=this.input.charCodeAt(this.state.pos)),et===110&&((D||Ke)&&this.raise(g.InvalidBigIntLiteral,M),++this.state.pos,Y=!0),et===109&&(this.expectPlugin("decimal",this.state.curPosition()),(De||Ke)&&this.raise(g.InvalidDecimal,M),++this.state.pos,we=!0),ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const Et=this.input.slice(b,this.state.pos).replace(/[_mn]/g,"");if(Y)return void this.finishToken(135,Et);if(we)return void this.finishToken(136,Et);const Xt=Ue?parseInt(Et,8):parseFloat(Et);this.finishToken(134,Xt)}readCodePoint(c){const{code:b,pos:M}=tr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=M,b}readString(c){const{str:b,pos:M,curLine:D,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=M+1,this.state.lineStart=Y,this.state.curLine=D,this.finishToken(133,b)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const c=this.input[this.state.pos],{str:b,firstInvalidLoc:M,pos:D,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=D+1,this.state.lineStart=we,this.state.curLine=Y,M&&(this.state.firstInvalidTemplateEscapePos=new a(M.curLine,M.pos-M.lineStart,M.pos)),this.input.codePointAt(D)===96?this.finishToken(24,M?null:c+b+"`"):(this.state.pos++,this.finishToken(25,M?null:c+b+"${"))}recordStrictModeErrors(c,b){const M=b.index;this.state.strict&&!this.state.strictErrors.has(M)?this.raise(c,b):this.state.strictErrors.set(M,[c,b])}readWord1(c){this.state.containsEsc=!1;let b="";const M=this.state.pos;let D=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos2&&arguments[2]!==void 0?arguments[2]:{};const D=c(b instanceof a?b:b.loc.start,M);if(!this.options.errorRecovery)throw D;return this.isLookahead||this.state.errors.push(D),D}raiseOverwrite(c,b){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const D=b instanceof a?b:b.loc.start,Y=D.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(D,M);if(Ue.loc.indexthis.hasPlugin(b))))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:c})}errorBuilder(c){return(b,M,D)=>{this.raise(c,xr(b,M,D))}}}class jr{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class On{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 jr)}exit(){const c=this.stack.pop(),b=this.current();for(const[M,D]of Array.from(c.undefinedPrivateNames))b?b.undefinedPrivateNames.has(M)||b.undefinedPrivateNames.set(M,D):this.parser.raise(g.InvalidPrivateFieldResolution,D,{identifierName:M})}declarePrivateName(c,b,M){const{privateNames:D,loneAccessors:Y,undefinedPrivateNames:we}=this.current();let De=D.has(c);if(3&b){const Ue=De&&Y.get(c);Ue?(De=(3&Ue)==(3&b)||(4&Ue)!=(4&b),De||Y.delete(c)):De||Y.set(c,b)}De&&this.parser.raise(g.PrivateNameRedeclaration,M,{identifierName:c}),D.add(c),we.delete(c)}usePrivateName(c,b){let M;for(M of this.stack)if(M.privateNames.has(c))return;M?M.undefinedPrivateNames.set(c,b):this.parser.raise(g.InvalidPrivateFieldResolution,b,{identifierName:c})}}class Hr{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 yr extends Hr{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,b){const M=b.index;this.declarationErrors.set(M,[c,b])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}}class en{constructor(c){this.parser=void 0,this.stack=[new Hr],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,b){const M=b.loc.start,{stack:D}=this;let Y=D.length-1,we=D[Y];for(;!we.isCertainlyParameterDeclaration();){if(!we.canBeArrowParameterDeclaration())return;we.recordDeclarationError(c,M),we=D[--Y]}this.parser.raise(c,M)}recordArrowParameterBindingError(c,b){const{stack:M}=this,D=M[M.length-1],Y=b.loc.start;if(D.isCertainlyParameterDeclaration())this.parser.raise(c,Y);else{if(!D.canBeArrowParameterDeclaration())return;D.recordDeclarationError(c,Y)}}recordAsyncArrowParametersError(c){const{stack:b}=this;let M=b.length-1,D=b[M];for(;D.canBeArrowParameterDeclaration();)D.type===2&&D.recordDeclarationError(g.AwaitBindingIdentifier,c),D=b[--M]}validateAsPattern(){const{stack:c}=this,b=c[c.length-1];b.canBeArrowParameterDeclaration()&&b.iterateErrors((M=>{let[D,Y]=M;this.parser.raise(D,Y);let we=c.length-2,De=c[we];for(;De.canBeArrowParameterDeclaration();)De.clearDeclarationError(Y.index),De=c[--we]}))}}function bn(){return new Hr}class hs{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 Xn(Ae,c){return(Ae?2:0)|(c?1:0)}class Cn extends Rr{addExtra(c,b,M){let D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!c)return;const Y=c.extra=c.extra||{};D?Y[b]=M:Object.defineProperty(Y,b,{enumerable:D,value:M})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,b){const M=c+b.length;if(this.input.slice(c,M)===b){const D=this.input.charCodeAt(M);return!(Ge(D)||(64512&D)==55296)}return!1}isLookaheadContextual(c){const b=this.nextTokenStart();return this.isUnparsedContextual(b,c)}eatContextual(c){return!!this.isContextual(c)&&(this.next(),!0)}expectContextual(c,b){if(!this.eatContextual(c)){if(b!=null)throw this.raise(b,this.state.startLoc);this.unexpected(null,c)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Bn.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,b){this.eat(c)||this.unexpected(b,c)}tryParse(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone();const M={node:null};try{const D=c((function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw M.node=Y,M}));if(this.state.errors.length>b.errors.length){const Y=this.state;return this.state=b,this.state.tokensLength=Y.tokensLength,{node:D,error:Y.errors[b.errors.length],thrown:!1,aborted:!1,failState:Y}}return{node:D,error:null,thrown:!1,aborted:!1,failState:null}}catch(D){const Y=this.state;if(this.state=b,D instanceof SyntaxError)return{node:null,error:D,thrown:!0,aborted:!1,failState:Y};if(D===M)return{node:M.node,error:null,thrown:!1,aborted:!0,failState:Y};throw D}}checkExpressionErrors(c,b){if(!c)return!1;const{shorthandAssignLoc:M,doubleProtoLoc:D,privateKeyLoc:Y,optionalParametersLoc:we}=c;if(!b)return!!(M||D||we||Y);M!=null&&this.raise(g.InvalidCoverInitializedName,M),D!=null&&this.raise(g.DuplicateProto,D),Y!=null&&this.raise(g.UnexpectedPrivateField,Y),we!=null&&this.unexpected(we)}isLiteralPropertyName(){return oe(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 b=this.state.labels;this.state.labels=[];const M=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const D=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 hs;const Ue=this.classScope;this.classScope=new On(this);const Ke=this.expressionScope;return this.expressionScope=new en(this),()=>{this.state.labels=b,this.exportedIdentifiers=M,this.inModule=D,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:b}=c;b!==null&&this.expectPlugin("destructuringPrivate",b)}}class os{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Tn{constructor(c,b,M){this.type="",this.start=b,this.end=0,this.loc=new i(M),c!=null&&c.options.ranges&&(this.range=[b,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}}const Hn=Tn.prototype;function Yn(Ae){const{type:c,start:b,end:M,loc:D,range:Y,extra:we,name:De}=Ae,Ue=Object.create(Hn);return Ue.type=c,Ue.start=b,Ue.end=M,Ue.loc=D,Ue.range=Y,Ue.extra=we,Ue.name=De,c==="Placeholder"&&(Ue.expectedNode=Ae.expectedNode),Ue}Hn.__clone=function(){const Ae=new Tn(void 0,this.start,this.loc.start),c=Object.keys(this);for(let b=0,M=c.length;b1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;c.end=b.index,c.loc.end=b,this.options.ranges&&(c.range[1]=b.index)}resetStartLocationFromNode(c,b){this.resetStartLocation(c,b.loc.start)}}const Fn=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ft=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:Ae=>{let{reservedType:c}=Ae;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:Ae=>{let{memberName:c,enumName:b}=Ae;return`Boolean enum members need to be initialized. Use either \`${c} = true,\` or \`${c} = false,\` in enum \`${b}\`.`},EnumDuplicateMemberName:Ae=>{let{memberName:c,enumName:b}=Ae;return`Enum member names need to be unique, but the name \`${c}\` has already been used before in enum \`${b}\`.`},EnumInconsistentMemberValues:Ae=>{let{enumName:c}=Ae;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:Ae=>{let{invalidEnumType:c,enumName:b}=Ae;return`Enum type \`${c}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${b}\`.`},EnumInvalidExplicitTypeUnknownSupplied:Ae=>{let{enumName:c}=Ae;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${c}\`.`},EnumInvalidMemberInitializerPrimaryType:Ae=>{let{enumName:c,memberName:b,explicitType:M}=Ae;return`Enum \`${c}\` has type \`${M}\`, so the initializer of \`${b}\` needs to be a ${M} literal.`},EnumInvalidMemberInitializerSymbolType:Ae=>{let{enumName:c,memberName:b}=Ae;return`Symbol enum members cannot be initialized. Use \`${b},\` in enum \`${c}\`.`},EnumInvalidMemberInitializerUnknownType:Ae=>{let{enumName:c,memberName:b}=Ae;return`The enum member initializer for \`${b}\` needs to be a literal (either a boolean, number, or string) in enum \`${c}\`.`},EnumInvalidMemberName:Ae=>{let{enumName:c,memberName:b,suggestion:M}=Ae;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${b}\`, consider using \`${M}\`, in enum \`${c}\`.`},EnumNumberMemberNotInitialized:Ae=>{let{enumName:c,memberName:b}=Ae;return`Number enum members need to be initialized, e.g. \`${b} = 1\` in enum \`${c}\`.`},EnumStringMemberInconsistentlyInitialized:Ae=>{let{enumName:c}=Ae;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:Ae=>{let{reservedType:c}=Ae;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:Ae=>{let{unsupportedExportKind:c,suggestion:b}=Ae;return`\`declare export ${c}\` is not supported. Use \`${b}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ws(Ae){return Ae.importKind==="type"||Ae.importKind==="typeof"}const Rs={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},vs=/\*?\s*@((?:no)?flow)\b/,Xr={__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:"♦"},Jn=x`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:Ae=>{let{openingTagName:c}=Ae;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:Ae=>{let{unexpected:c,HTMLEntity:b}=Ae;return`Unexpected token \`${c}\`. Did you mean \`${b}\` 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 _r(Ae){return!!Ae&&(Ae.type==="JSXOpeningFragment"||Ae.type==="JSXClosingFragment")}function fn(Ae){if(Ae.type==="JSXIdentifier")return Ae.name;if(Ae.type==="JSXNamespacedName")return Ae.namespace.name+":"+Ae.name.name;if(Ae.type==="JSXMemberExpression")return fn(Ae.object)+"."+fn(Ae.property);throw new Error("Node had unexpected type: "+Ae.type)}class $t extends Zr{constructor(){super(...arguments),this.tsNames=new Map}}class In extends Jr{constructor(){super(...arguments),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new $t(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,b){const M=this.importsStack.length;if(this.importsStack[M-1].has(c))return!0;if(!b&&M>1){for(let D=0;D0?!(256&M)||!!(512&M)!=(4&D)>0:128&M&&(8&D)>0?!!(2&c.names.get(b))&&!!(1&M):!!(2&M&&(1&D)>0)||super.isRedeclaredInScope(c,b,M)}checkLocalExport(c){const{name:b}=c;if(!this.hasImport(b)){for(let M=this.scopeStack.length-1;M>=0;M--){const D=this.scopeStack[M].tsNames.get(b);if((1&D)>0||(16&D)>0)return}super.checkLocalExport(c)}}}const Nn=Ae=>Ae.type==="ParenthesizedExpression"?Nn(Ae.expression):Ae;class $n extends bi{toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];var M,D;let Y;switch((c.type==="ParenthesizedExpression"||(M=c.extra)!=null&&M.parenthesized)&&(Y=Nn(c),b?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;DeD.type!=="ObjectMethod"&&(Y===M||D.type!=="SpreadElement")&&this.isAssignable(D)))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every((M=>M===null||this.isAssignable(M)));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!b;default:return!1}}toReferencedList(c,b){return c}toReferencedListDeep(c,b){this.toReferencedList(c,b);for(const M of c)M?.type==="ArrayExpression"&&this.toReferencedListDeep(M.elements)}parseSpread(c){const b=this.startNode();return this.next(),b.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(b,"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,b,M){const D=1&M,Y=[];let we=!0;for(;!this.eat(c);)if(we?we=!1:this.expect(12),D&&this.match(12))Y.push(null);else{if(this.eat(c))break;if(this.match(21)){if(Y.push(this.parseAssignableListItemTypes(this.parseRestBinding(),M)),!this.checkCommaAfterRest(b)){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(M,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:b,startLoc:M}=this.state;return b===21?this.parseBindingRestProperty(c):(b===138?(this.expectPlugin("destructuringPrivate",M),this.classScope.usePrivateName(this.state.value,M),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,M,!1,!1,!0,!1))}parseAssignableListItem(c,b){const M=this.parseMaybeDefault();this.parseAssignableListItemTypes(M,c);const D=this.parseMaybeDefault(M.loc.start,M);return b.length&&(M.decorators=b),D}parseAssignableListItemTypes(c,b){return c}parseMaybeDefault(c,b){var M;if(c!=null||(c=this.state.startLoc),b=(M=b)!=null?M:this.parseBindingAtom(),!this.eat(29))return b;const D=this.startNodeAt(c);return D.left=b,D.right=this.parseMaybeAssignAllowIn(),this.finishNode(D,"AssignmentPattern")}isValidLVal(c,b,M){return D={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},Y=c,Object.hasOwnProperty.call(D,Y)&&D[Y];var D,Y}isOptionalMemberExpression(c){return c.type==="OptionalMemberExpression"}checkLVal(c,b){let{in:M,binding:D=64,checkClashes:Y=!1,strictModeChanged:we=!1,hasParenthesizedAncestor:De=!1}=b;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),M.type!=="AssignmentExpression"&&this.raise(g.InvalidLhsOptionalChaining,c,{ancestor:M})),void(D!==64&&this.raise(g.InvalidPropertyBindingPattern,c));if(Ke==="Identifier"){this.checkIdentifier(c,D,we);const{name:Mn}=c;return void(Y&&(Y.has(Mn)?this.raise(g.ParamDupe,c):Y.add(Mn)))}const Et=this.isValidLVal(Ke,!(De||(Ue=c.extra)!=null&&Ue.parenthesized)&&M.type==="AssignmentExpression",D);if(Et===!0)return;if(Et===!1){const Mn=D===64?g.InvalidLhs:g.InvalidLhsBinding;return void this.raise(Mn,c,{ancestor:M})}const[Xt,Kt]=Array.isArray(Et)?Et:[Et,Ke==="ParenthesizedExpression"],Tr=Ke==="ArrayPattern"||Ke==="ObjectPattern"?{type:Ke}:M;for(const Mn of[].concat(c[Xt]))Mn&&this.checkLVal(Mn,{in:Tr,binding:D,checkClashes:Y,strictModeChanged:we,hasParenthesizedAncestor:Kt})}checkIdentifier(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.state.strict&&(M?vr(c.name,this.inModule):sr(c.name))&&(b===64?this.raise(g.StrictEvalArguments,c,{referenceName:c.name}):this.raise(g.StrictEvalArgumentsBinding,c,{bindingName:c.name})),8192&b&&c.name==="let"&&this.raise(g.LetInLexicalBinding,c),64&b||this.declareNameFromIdentifier(c,b)}declareNameFromIdentifier(c,b){this.scope.declareName(c.name,b,c.loc.start)}checkToRestConversion(c,b){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,b);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(b)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 js(Ae){if(!Ae)throw new Error("Assert fail")}const Mt=x`typescript`({AbstractMethodHasImplementation:Ae=>{let{methodName:c}=Ae;return`Method '${c}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:Ae=>{let{propertyName:c}=Ae;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:Ae=>{let{kind:c}=Ae;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:Ae=>{let{modifier:c}=Ae;return"Accessibility modifier already seen."},DuplicateModifier:Ae=>{let{modifier:c}=Ae;return`Duplicate modifier: '${c}'.`},EmptyHeritageClauseType:Ae=>{let{token:c}=Ae;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:Ae=>{let{modifiers:c}=Ae;return`'${c[0]}' modifier cannot be used with '${c[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:Ae=>{let{modifier:c}=Ae;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:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:Ae=>{let{orderedModifiers:c}=Ae;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:Ae=>{let{modifier:c}=Ae;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:Ae=>{let{typeParameterName:c}=Ae;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:Ae=>{let{type:c}=Ae;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${c}.`}});function Ps(Ae){return Ae==="private"||Ae==="public"||Ae==="protected"}function _n(Ae){return Ae==="in"||Ae==="out"}function dn(Ae){if(Ae.type!=="MemberExpression")return!1;const{computed:c,property:b}=Ae;return(!c||b.type==="StringLiteral"||!(b.type!=="TemplateLiteral"||b.expressions.length>0))&&Sn(Ae.object)}function hi(Ae,c){var b;const{type:M}=Ae;if((b=Ae.extra)!=null&&b.parenthesized)return!1;if(c){if(M==="Literal"){const{value:D}=Ae;if(typeof D=="string"||typeof D=="boolean")return!0}}else if(M==="StringLiteral"||M==="BooleanLiteral")return!0;return!(!Qn(Ae,c)&&!(function(D,Y){if(D.type==="UnaryExpression"){const{operator:we,argument:De}=D;if(we==="-"&&Qn(De,Y))return!0}return!1})(Ae,c))||M==="TemplateLiteral"&&Ae.expressions.length===0||!!dn(Ae)}function Qn(Ae,c){return c?Ae.type==="Literal"&&(typeof Ae.value=="number"||"bigint"in Ae):Ae.type==="NumericLiteral"||Ae.type==="BigIntLiteral"}function Sn(Ae){return Ae.type==="Identifier"||Ae.type==="MemberExpression"&&!Ae.computed&&Sn(Ae.object)}const Mi=x`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function wn(Ae,c){const[b,M]=typeof c=="string"?[c,{}]:c,D=Object.keys(M),Y=D.length===0;return Ae.some((we=>{if(typeof we=="string")return Y&&we===b;{const[De,Ue]=we;if(De!==b)return!1;for(const Ke of D)if(Ue[Ke]!==M[Ke])return!1;return!0}}))}function zs(Ae,c,b){const M=Ae.find((D=>Array.isArray(D)?D[0]===c:D===c));return M&&Array.isArray(M)&&M.length>1?M[1][b]:null}const Io=["minimal","fsharp","hack","smart"],Ya=["^^","@@","^","%","#"],ko=["hash","bar"],pa={estree:Ae=>class extends Ae{parse(){const c=_(super.parse());return this.options.tokens&&(c.tokens=c.tokens.map(_)),c}parseRegExpLiteral(c){let{pattern:b,flags:M}=c,D=null;try{D=new RegExp(b,M)}catch{}const Y=this.estreeParseLiteral(D);return Y.regex={pattern:b,flags:M},Y}parseBigIntLiteral(c){let b;try{b=BigInt(c)}catch{b=null}const M=this.estreeParseLiteral(b);return M.bigint=String(M.value||c),M}parseDecimalLiteral(c){const b=this.estreeParseLiteral(null);return b.decimal=String(b.value||c),b}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 b=c.value;delete c.value,b.type="Literal",b.raw=b.extra.raw,b.value=b.extra.expressionValue;const M=c;return M.type="ExpressionStatement",M.expression=b,M.directive=b.extra.rawValue,delete b.extra,M}initFunction(c,b){super.initFunction(c,b),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 b;return c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&!((b=c.expression.extra)!=null&&b.parenthesized)}parseBlockBody(c,b,M,D,Y){super.parseBlockBody(c,b,M,D,Y);const we=c.directives.map((De=>this.directiveToStmt(De)));c.body=we.concat(c.body),delete c.directives}pushClassMethod(c,b,M,D,Y,we){this.parseMethod(b,M,D,Y,we,"ClassMethod",!0),b.typeParameters&&(b.value.typeParameters=b.typeParameters,delete b.typeParameters),c.body.push(b)}parsePrivateName(){const c=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(c):c}convertPrivateNameToPrivateIdentifier(c){const b=super.getPrivateNameSV(c);return delete c.id,c.name=b,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,b){const M=super.parseLiteral(c,b);return M.raw=M.extra.raw,delete M.extra,M}parseFunctionBody(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];super.parseFunctionBody(c,b,M),c.expression=c.body.type!=="BlockStatement"}parseMethod(c,b,M,D,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,b,M,D,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,b,M,D,Y){const we=super.parseObjectMethod(c,b,M,D,Y);return we&&(we.type="Property",we.kind==="method"&&(we.kind="init"),we.shorthand=!1),we}parseObjectProperty(c,b,M,D){const Y=super.parseObjectProperty(c,b,M,D);return Y&&(Y.kind="init",Y.type="Property"),Y}isValidLVal(c,b,M){return c==="Property"?"value":super.isValidLVal(c,b,M)}isAssignable(c,b){return c!=null&&this.isObjectProperty(c)?this.isAssignable(c.value,b):super.isAssignable(c,b)}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c!=null&&this.isObjectProperty(c)){const{key:M,value:D}=c;this.isPrivateName(M)&&this.classScope.usePrivateName(this.getPrivateNameSV(M),M.loc.start),this.toAssignable(D,b)}else super.toAssignable(c,b)}toAssignableObjectExpressionProp(c,b,M){c.kind==="get"||c.kind==="set"?this.raise(g.PatternHasAccessor,c.key):c.method?this.raise(g.PatternHasMethod,c.key):super.toAssignableObjectExpressionProp(c,b,M)}finishCallExpression(c,b){const M=super.finishCallExpression(c,b);var D,Y;return M.callee.type==="Import"&&(M.type="ImportExpression",M.source=M.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(M.options=(D=M.arguments[1])!=null?D:null,M.attributes=(Y=M.arguments[1])!=null?Y:null),delete M.arguments,delete M.callee),M}toReferencedArguments(c){c.type!=="ImportExpression"&&super.toReferencedArguments(c)}parseExport(c,b){const M=this.state.lastTokStartLoc,D=super.parseExport(c,b);switch(D.type){case"ExportAllDeclaration":D.exported=null;break;case"ExportNamedDeclaration":D.specifiers.length===1&&D.specifiers[0].type==="ExportNamespaceSpecifier"&&(D.type="ExportAllDeclaration",D.exported=D.specifiers[0].exported,delete D.specifiers);case"ExportDefaultDeclaration":{var Y;const{declaration:we}=D;we?.type==="ClassDeclaration"&&((Y=we.decorators)==null?void 0:Y.length)>0&&we.start===D.start&&this.resetStartLocation(D,M)}}return D}parseSubscript(c,b,M,D){const Y=super.parseSubscript(c,b,M,D);if(D.optionalChainMember){if(Y.type!=="OptionalMemberExpression"&&Y.type!=="OptionalCallExpression"||(Y.type=Y.type.substring(8)),D.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,b,M){return _(super.finishNodeAt(c,b,M))}resetStartLocation(c,b){super.resetStartLocation(c,b),_(c)}resetEndLocation(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(c,b),_(c)}},jsx:Ae=>class extends Ae{jsxReadToken(){let c="",b=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Jn.UnterminatedJsxContent,this.state.startLoc);const M=this.input.charCodeAt(this.state.pos);switch(M){case 60:case 123:return this.state.pos===this.state.start?void(M===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(M)):(c+=this.input.slice(b,this.state.pos),void this.finishToken(141,c));case 38:c+=this.input.slice(b,this.state.pos),c+=this.jsxReadEntity(),b=this.state.pos;break;default:dt(M)?(c+=this.input.slice(b,this.state.pos),c+=this.jsxReadNewLine(!0),b=this.state.pos):++this.state.pos}}}jsxReadNewLine(c){const b=this.input.charCodeAt(this.state.pos);let M;return++this.state.pos,b===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,M=c?` `:`\r `):M=String.fromCharCode(b),++this.state.curLine,this.state.lineStart=this.state.pos,M}jsxReadString(c){let b="",M=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const D=this.input.charCodeAt(this.state.pos);if(D===c)break;D===38?(b+=this.input.slice(M,this.state.pos),b+=this.jsxReadEntity(),M=this.state.pos):dt(D)?(b+=this.input.slice(M,this.state.pos),b+=this.jsxReadNewLine(!1),M=this.state.pos):++this.state.pos}b+=this.input.slice(M,this.state.pos++),this.finishToken(133,b)}jsxReadEntity(){const c=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let b=10;this.codePointAtPos(this.state.pos)===120&&(b=16,++this.state.pos);const M=this.readInt(b,void 0,!1,"bail");if(M!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(M)}else{let b=0,M=!1;for(;b++<10&&this.state.posclass extends Ae{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return un}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(c,b){c!==133&&c!==13&&c!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(c,b)}addComment(c){if(this.flowPragma===void 0){const b=vs.exec(c.value);if(b)if(b[1]==="flow")this.flowPragma="flow";else{if(b[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(c)}flowParseTypeInitialiser(c){const b=this.state.inType;this.state.inType=!0,this.expect(c||14);const M=this.flowParseType();return this.state.inType=b,M}flowParsePredicate(){const c=this.startNode(),b=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>b.index+1&&this.raise(Ft.UnexpectedSpaceBetweenModuloChecks,b),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 b=null,M=null;return this.match(54)?(this.state.inType=c,M=this.flowParsePredicate()):(b=this.flowParseType(),this.state.inType=c,this.match(54)&&(M=this.flowParsePredicate())),[b,M]}flowParseDeclareClass(c){return this.next(),this.flowParseInterfaceish(c,!0),this.finishNode(c,"DeclareClass")}flowParseDeclareFunction(c){this.next();const b=c.id=this.parseIdentifier(),M=this.startNode(),D=this.startNode();this.match(47)?M.typeParameters=this.flowParseTypeParameterDeclaration():M.typeParameters=null,this.expect(10);const Y=this.flowParseFunctionTypeParams();return M.params=Y.params,M.rest=Y.rest,M.this=Y._this,this.expect(11),[M.returnType,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),D.typeAnnotation=this.finishNode(M,"FunctionTypeAnnotation"),b.typeAnnotation=this.finishNode(D,"TypeAnnotation"),this.resetEndLocation(b),this.semicolon(),this.scope.declareName(c.id.name,2048,c.id.loc.start),this.finishNode(c,"DeclareFunction")}flowParseDeclare(c,b){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):(b&&this.raise(Ft.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,b):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 b=c.body=this.startNode(),M=b.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(Ft.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(we)):(this.expectContextual(125,Ft.UnsupportedStatementInDeclareModule),we=this.flowParseDeclare(we,!0)),M.push(we)}this.scope.exit(),this.expect(8),this.finishNode(b,"BlockStatement");let D=null,Y=!1;return M.forEach((we=>{(function(De){return De.type==="DeclareExportAllDeclaration"||De.type==="DeclareExportDeclaration"&&(!De.declaration||De.declaration.type!=="TypeAlias"&&De.declaration.type!=="InterfaceDeclaration")})(we)?(D==="CommonJS"&&this.raise(Ft.AmbiguousDeclareModuleKind,we),D="ES"):we.type==="DeclareModuleExports"&&(Y&&this.raise(Ft.DuplicateDeclareModuleExports,we),D==="ES"&&this.raise(Ft.AmbiguousDeclareModuleKind,we),D="CommonJS",Y=!0)})),c.kind=D||"CommonJS",this.finishNode(c,"DeclareModule")}flowParseDeclareExportDeclaration(c,b){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))&&!b){const M=this.state.value;throw this.raise(Ft.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:M,suggestion:Rs[M]})}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 b=this.flowParseTypeAlias(c);return b.type="DeclareTypeAlias",b}flowParseDeclareOpaqueType(c){this.next();const b=this.flowParseOpaqueType(c,!0);return b.type="DeclareOpaqueType",b}flowParseDeclareInterface(c){return this.next(),this.flowParseInterfaceish(c,!1),this.finishNode(c,"DeclareInterface")}flowParseInterfaceish(c,b){if(c.id=this.flowParseRestrictedIdentifier(!b,!0),this.scope.declareName(c.id.name,b?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(!b&&this.eat(12));if(b){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:b,allowExact:!1,allowSpread:!1,allowProto:b,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(Ft.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(c,b,M){Fn.has(c)&&this.raise(M?Ft.AssignReservedType:Ft.UnexpectedReservedType,b,{reservedType:c})}flowParseRestrictedIdentifier(c,b){return this.checkReservedType(this.state.value,this.state.startLoc,b),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,b){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,b||(c.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(c,"OpaqueType")}flowParseTypeParameter(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const b=this.state.startLoc,M=this.startNode(),D=this.flowParseVariance(),Y=this.flowParseTypeAnnotatableIdentifier();return M.name=Y.name,M.variance=D,M.bound=Y.typeAnnotation,this.match(29)?(this.eat(29),M.default=this.flowParseType()):c&&this.raise(Ft.MissingTypeParamDefault,b),this.finishNode(M,"TypeParameter")}flowParseTypeParameterDeclaration(){const c=this.state.inType,b=this.startNode();b.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let M=!1;do{const D=this.flowParseTypeParameter(M);b.params.push(D),D.default&&(M=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=c,this.finishNode(b,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const c=this.startNode(),b=this.state.inType;c.params=[],this.state.inType=!0,this.expect(47);const M=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=M,this.expect(48),this.state.inType=b,this.finishNode(c,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const c=this.startNode(),b=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=b,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,b,M){return c.static=b,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=M,this.finishNode(c,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(c,b){return c.static=b,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,b){const M=this.startNode();return c.static=b,c.value=this.flowParseObjectTypeMethodish(M),this.finishNode(c,"ObjectTypeCallProperty")}flowParseObjectType(c){let{allowStatic:b,allowExact:M,allowSpread:D,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 Et=!1;for(M&&this.match(6)?(this.expect(6),Ke=9,et=!0):(this.expect(5),Ke=8,et=!1),Ue.exact=et;!this.match(Ke);){let Kt=!1,Tr=null,Mn=null;const mn=this.startNode();if(Y&&this.isContextual(118)){const Un=this.lookahead();Un.type!==14&&Un.type!==17&&(this.next(),Tr=this.state.startLoc,b=!1)}if(b&&this.isContextual(106)){const Un=this.lookahead();Un.type!==14&&Un.type!==17&&(this.next(),Kt=!0)}const kn=this.flowParseVariance();if(this.eat(0))Tr!=null&&this.unexpected(Tr),this.eat(0)?(kn&&this.unexpected(kn.loc.start),Ue.internalSlots.push(this.flowParseObjectTypeInternalSlot(mn,Kt))):Ue.indexers.push(this.flowParseObjectTypeIndexer(mn,Kt,kn));else if(this.match(10)||this.match(47))Tr!=null&&this.unexpected(Tr),kn&&this.unexpected(kn.loc.start),Ue.callProperties.push(this.flowParseObjectTypeCallProperty(mn,Kt));else{let Un="init";(this.isContextual(99)||this.isContextual(104))&&oe(this.lookahead().type)&&(Un=this.state.value,this.next());const Pi=this.flowParseObjectTypeProperty(mn,Kt,Tr,kn,Un,D,we??!et);Pi===null?(Et=!0,Mn=this.state.lastTokStartLoc):Ue.properties.push(Pi)}this.flowObjectTypeSemicolon(),!Mn||this.match(8)||this.match(9)||this.raise(Ft.UnexpectedExplicitInexactInObject,Mn)}this.expect(Ke),D&&(Ue.inexact=Et);const Xt=this.finishNode(Ue,"ObjectTypeAnnotation");return this.state.inType=De,Xt}flowParseObjectTypeProperty(c,b,M,D,Y,we,De){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(we?De||this.raise(Ft.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Ft.InexactInsideNonObject,this.state.lastTokStartLoc),D&&this.raise(Ft.InexactVariance,D),null):(we||this.raise(Ft.UnexpectedSpreadType,this.state.lastTokStartLoc),M!=null&&this.unexpected(M),D&&this.raise(Ft.SpreadVariance,D),c.argument=this.flowParseType(),this.finishNode(c,"ObjectTypeSpreadProperty"));{c.key=this.flowParseObjectPropertyKey(),c.static=b,c.proto=M!=null,c.kind=Y;let Ue=!1;return this.match(47)||this.match(10)?(c.method=!0,M!=null&&this.unexpected(M),D&&this.unexpected(D.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(Ft.ThisParamBannedInConstructor,c.value.this)):(Y!=="init"&&this.unexpected(),c.method=!1,this.eat(17)&&(Ue=!0),c.value=this.flowParseTypeInitialiser(),c.variance=D),c.optional=Ue,this.finishNode(c,"ObjectTypeProperty")}}flowCheckGetterSetterParams(c){const b=c.kind==="get"?0:1,M=c.value.params.length+(c.value.rest?1:0);c.value.this&&this.raise(c.kind==="get"?Ft.GetterMayNotHaveThisParam:Ft.SetterMayNotHaveThisParam,c.value.this),M!==b&&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,b){c!=null||(c=this.state.startLoc);let M=b||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const D=this.startNodeAt(c);D.qualification=M,D.id=this.flowParseRestrictedIdentifier(!0),M=this.finishNode(D,"QualifiedTypeIdentifier")}return M}flowParseGenericType(c,b){const M=this.startNodeAt(c);return M.typeParameters=null,M.id=this.flowParseQualifiedTypeIdentifier(c,b),this.match(47)&&(M.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(M,"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]:[],b=null,M=null;for(this.match(78)&&(M=this.flowParseFunctionTypeParam(!0),M.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)&&(b=this.flowParseFunctionTypeParam(!1)),{params:c,rest:b,_this:M}}flowIdentToTypeAnnotation(c,b,M){switch(M.name){case"any":return this.finishNode(b,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(b,"BooleanTypeAnnotation");case"mixed":return this.finishNode(b,"MixedTypeAnnotation");case"empty":return this.finishNode(b,"EmptyTypeAnnotation");case"number":return this.finishNode(b,"NumberTypeAnnotation");case"string":return this.finishNode(b,"StringTypeAnnotation");case"symbol":return this.finishNode(b,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(M.name),this.flowParseGenericType(c,M)}}flowParsePrimaryType(){const c=this.state.startLoc,b=this.startNode();let M,D,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,D=this.flowParseTupleType(),this.state.noAnonFunctionType=we,D;case 47:return b.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),M=this.flowParseFunctionTypeParams(),b.params=M.params,b.rest=M.rest,b.this=M._this,this.expect(11),this.expect(19),b.returnType=this.flowParseType(),this.finishNode(b,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ae(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,D=this.flowParseType(),this.state.noAnonFunctionType=we,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),D;this.eat(12)}return M=D?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(D)]):this.flowParseFunctionTypeParams(),b.params=M.params,b.rest=M.rest,b.this=M._this,this.expect(11),this.expect(19),b.returnType=this.flowParseType(),b.typeParameters=null,this.finishNode(b,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return b.value=this.match(85),this.next(),this.finishNode(b,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",b);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",b);throw this.raise(Ft.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(b,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(b,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(b,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(b,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ne(this.state.type)){const De=ge(this.state.type);return this.next(),super.createIdentifier(b,De)}if(ae(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(c,b,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const c=this.state.startLoc;let b=this.flowParsePrimaryType(),M=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const D=this.startNodeAt(c),Y=this.eat(18);M=M||Y,this.expect(0),!Y&&this.match(3)?(D.elementType=b,this.next(),b=this.finishNode(D,"ArrayTypeAnnotation")):(D.objectType=b,D.indexType=this.flowParseType(),this.expect(3),M?(D.optional=Y,b=this.finishNode(D,"OptionalIndexedAccessType")):b=this.finishNode(D,"IndexedAccessType"))}return b}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 b=this.startNodeAt(c.loc.start);return b.params=[this.reinterpretTypeAsFunctionTypeParam(c)],b.rest=null,b.this=null,b.returnType=this.flowParseType(),b.typeParameters=null,this.finishNode(b,"FunctionTypeAnnotation")}return c}flowParseIntersectionType(){const c=this.startNode();this.eat(45);const b=this.flowParseAnonFunctionWithoutParens();for(c.types=[b];this.eat(45);)c.types.push(this.flowParseAnonFunctionWithoutParens());return c.types.length===1?b:this.finishNode(c,"IntersectionTypeAnnotation")}flowParseUnionType(){const c=this.startNode();this.eat(43);const b=this.flowParseIntersectionType();for(c.types=[b];this.eat(43);)c.types.push(this.flowParseIntersectionType());return c.types.length===1?b:this.finishNode(c,"UnionTypeAnnotation")}flowParseType(){const c=this.state.inType;this.state.inType=!0;const b=this.flowParseUnionType();return this.state.inType=c,b}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const c=this.state.startLoc,b=this.parseIdentifier();return this.flowParseGenericType(c,b)}return this.flowParseType()}flowParseTypeAnnotation(){const c=this.startNode();return c.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(c,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(c){const b=c?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(b.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(b)),b}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,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];b?this.forwardNoArrowParamsConversionAt(c,(()=>super.parseFunctionBody(c,!0,M))):super.parseFunctionBody(c,!1,M)}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(this.match(14)){const D=this.startNode();[D.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),c.returnType=D.typeAnnotation?this.finishNode(D,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(c,b,M)}parseStatementLike(c){if(this.state.strict&&this.isContextual(129)){if(ce(this.lookahead().type)){const M=this.startNode();return this.next(),this.flowParseInterface(M)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const M=this.startNode();return this.next(),this.flowParseEnumDeclaration(M)}const b=super.parseStatementLike(c);return this.flowPragma!==void 0||this.isValidDirective(b)||(this.flowPragma=null),b}parseExpressionStatement(c,b,M){if(b.type==="Identifier"){if(b.name==="declare"){if(this.match(80)||ae(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(c)}else if(ae(this.state.type)){if(b.name==="interface")return this.flowParseInterface(c);if(b.name==="type")return this.flowParseTypeAlias(c);if(b.name==="opaque")return this.flowParseOpaqueType(c,!1)}}return super.parseExpressionStatement(c,b,M)}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,b,M){if(!this.match(17))return c;if(this.state.maybeInArrowParameters){const Et=this.lookaheadCharCode();if(Et===44||Et===61||Et===58||Et===41)return this.setOptionalParametersError(M),c}this.expect(17);const D=this.state.clone(),Y=this.state.noArrowAt,we=this.startNodeAt(b);let{consequent:De,failed:Ue}=this.tryParseConditionalConsequent(),[Ke,et]=this.getArrowLikeExpressions(De);if(Ue||et.length>0){const Et=[...Y];if(et.length>0){this.state=D,this.state.noArrowAt=Et;for(let Xt=0;Xt1&&this.raise(Ft.AmbiguousConditionalArrow,D.startLoc),Ue&&Ke.length===1&&(this.state=D,Et.push(Ke[0].start),this.state.noArrowAt=Et,{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(),b=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:c,failed:b}}getArrowLikeExpressions(c,b){const M=[c],D=[];for(;M.length!==0;){const Y=M.pop();Y.type==="ArrowFunctionExpression"?(Y.typeParameters||!Y.returnType?this.finishArrowValidation(Y):D.push(Y),M.push(Y.body)):Y.type==="ConditionalExpression"&&(M.push(Y.consequent),M.push(Y.alternate))}return b?(D.forEach((Y=>this.finishArrowValidation(Y))),[D,[]]):(function(Y,we){const De=[],Ue=[];for(let Ke=0;KeY.params.every((we=>this.isAssignable(we,!0)))))}finishArrowValidation(c){var b;this.toAssignableList(c.params,(b=c.extra)==null?void 0:b.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(c,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(c,b){let M;return this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),M=b(),this.state.noArrowParamsConversionAt.pop()):M=b(),M}parseParenItem(c,b){if(c=super.parseParenItem(c,b),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const M=this.startNodeAt(b);return M.expression=c,M.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(M,"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 b=this.startNode();return this.next(),this.match(5)?(c.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(c),null):this.flowParseTypeAlias(b)}if(this.isContextual(131)){c.exportKind="type";const b=this.startNode();return this.next(),this.flowParseOpaqueType(b,!1)}if(this.isContextual(129)){c.exportKind="type";const b=this.startNode();return this.next(),this.flowParseInterface(b)}if(this.shouldParseEnums()&&this.isContextual(126)){c.exportKind="value";const b=this.startNode();return this.next(),this.flowParseEnumDeclaration(b)}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:b}=this.state,M=super.maybeParseExportNamespaceSpecifier(c);return M&&c.exportKind==="type"&&this.unexpected(b),M}parseClassId(c,b,M){super.parseClassId(c,b,M),this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(c,b,M){const{startLoc:D}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(c,b))return;b.declare=!0}super.parseClassMember(c,b,M),b.declare&&(b.type!=="ClassProperty"&&b.type!=="ClassPrivateProperty"&&b.type!=="PropertyDefinition"?this.raise(Ft.DeclareClassElement,D):b.value&&this.raise(Ft.DeclareClassFieldInitializer,b.value))}isIterator(c){return c==="iterator"||c==="asyncIterator"}readIterator(){const c=super.readWord1(),b="@@"+c;this.isIterator(c)&&this.state.inType||this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:b}),this.finishToken(132,b)}getTokenFromCode(c){const b=this.input.charCodeAt(this.state.pos+1);c===123&&b===124?this.finishOp(6,2):!this.state.inType||c!==62&&c!==60?this.state.inType&&c===63?b===46?this.finishOp(18,2):this.finishOp(17,1):(function(M,D,Y){return M===64&&D===64&&ke(Y)})(c,b,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,b){return c.type==="TypeCastExpression"?this.isAssignable(c.expression,b):super.isAssignable(c,b)}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];b||c.type!=="AssignmentExpression"||c.left.type!=="TypeCastExpression"||(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,b)}toAssignableList(c,b,M){for(let D=0;D1)&&b||this.raise(Ft.TypeCastInPattern,Y.typeAnnotation)}return c}parseArrayLike(c,b,M,D){const Y=super.parseArrayLike(c,b,M,D);return b&&!this.state.maybeInArrowParameters&&this.toReferencedList(Y.elements),Y}isValidLVal(c,b,M){return c==="TypeCastExpression"||super.isValidLVal(c,b,M)}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,b,M,D,Y,we){if(b.variance&&this.unexpected(b.variance.loc.start),delete b.variance,this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(c,b,M,D,Y,we),b.params&&Y){const De=b.params;De.length>0&&this.isThisParam(De[0])&&this.raise(Ft.ThisParamBannedInConstructor,b)}else if(b.type==="MethodDefinition"&&Y&&b.value.params){const De=b.value.params;De.length>0&&this.isThisParam(De[0])&&this.raise(Ft.ThisParamBannedInConstructor,b)}}pushClassPrivateMethod(c,b,M,D){b.variance&&this.unexpected(b.variance.loc.start),delete b.variance,this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(c,b,M,D)}parseClassSuper(c){if(super.parseClassSuper(c),c.superClass&&this.match(47)&&(c.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const b=c.implements=[];do{const M=this.startNode();M.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?M.typeParameters=this.flowParseTypeParameterInstantiation():M.typeParameters=null,b.push(this.finishNode(M,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(c){super.checkGetterSetterParams(c);const b=this.getObjectOrClassMethodParams(c);if(b.length>0){const M=b[0];this.isThisParam(M)&&c.kind==="get"?this.raise(Ft.GetterMayNotHaveThisParam,M):this.isThisParam(M)&&this.raise(Ft.SetterMayNotHaveThisParam,M)}}parsePropertyNamePrefixOperator(c){c.variance=this.flowParseVariance()}parseObjPropValue(c,b,M,D,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,b,M,D,Y,we,De);return Ue&&((Ke.value||Ke).typeParameters=Ue),Ke}parseAssignableListItemTypes(c){return this.eat(17)&&(c.type!=="Identifier"&&this.raise(Ft.PatternIsOptional,c),this.isThisParam(c)&&this.raise(Ft.ThisParamMayNotBeOptional,c),c.optional=!0),this.match(14)?c.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(c)&&this.raise(Ft.ThisParamAnnotationRequired,c),this.match(29)&&this.isThisParam(c)&&this.raise(Ft.ThisParamNoDefault,c),this.resetEndLocation(c),c}parseMaybeDefault(c,b){const M=super.parseMaybeDefault(c,b);return M.type==="AssignmentPattern"&&M.typeAnnotation&&M.right.startsuper.parseMaybeAssign(c,b)),Y),!D.error)return D.node;const{context:Ue}=this.state,Ke=Ue[Ue.length-1];Ke!==O.j_oTag&&Ke!==O.j_expr||Ue.pop()}if((M=D)!=null&&M.error||this.match(47)){var we,De;let Ue;Y=Y||this.state.clone();const Ke=this.tryParse((Et=>{var Xt;Ue=this.flowParseTypeParameterDeclaration();const Kt=this.forwardNoArrowParamsConversionAt(Ue,(()=>{const Mn=super.parseMaybeAssign(c,b);return this.resetStartLocationFromNode(Mn,Ue),Mn}));(Xt=Kt.extra)!=null&&Xt.parenthesized&&Et();const Tr=this.maybeUnwrapTypeCastExpression(Kt);return Tr.type!=="ArrowFunctionExpression"&&Et(),Tr.typeParameters=Ue,this.resetStartLocationFromNode(Tr,Ue),Kt}),Y);let et=null;if(Ke.node&&this.maybeUnwrapTypeCastExpression(Ke.node).type==="ArrowFunctionExpression"){if(!Ke.error&&!Ke.aborted)return Ke.node.async&&this.raise(Ft.UnexpectedTypeParameterBeforeAsyncArrowFunction,Ue),Ke.node;et=Ke.node}if((we=D)!=null&&we.node)return this.state=D.failState,D.node;if(et)return this.state=Ke.failState,et;throw(De=D)!=null&&De.thrown?D.error:Ke.thrown?Ke.error:this.raise(Ft.UnexpectedTokenAfterTypeParameter,Ue)}return super.parseMaybeAssign(c,b)}parseArrow(c){if(this.match(14)){const b=this.tryParse((()=>{const M=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const D=this.startNode();return[D.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=M,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),D}));if(b.thrown)return null;b.error&&(this.state=b.failState),c.returnType=b.node.typeAnnotation?this.finishNode(b.node,"TypeAnnotation"):null}return super.parseArrow(c)}shouldParseArrow(c){return this.match(14)||super.shouldParseArrow(c)}setArrowFunctionParameters(c,b){this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?c.params=b:super.setArrowFunctionParameters(c,b)}checkParams(c,b,M){let D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!M||this.state.noArrowParamsConversionAt.indexOf(c.start)===-1){for(let Y=0;Y0&&this.raise(Ft.ThisParamMustBeFirst,c.params[Y]);super.checkParams(c,b,M,D)}}parseParenAndDistinguishExpression(c){return super.parseParenAndDistinguishExpression(c&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(c,b,M){if(c.type==="Identifier"&&c.name==="async"&&this.state.noArrowAt.indexOf(b.index)!==-1){this.next();const D=this.startNodeAt(b);D.callee=c,D.arguments=super.parseCallExpressionArguments(11,!1),c=this.finishNode(D,"CallExpression")}else if(c.type==="Identifier"&&c.name==="async"&&this.match(47)){const D=this.state.clone(),Y=this.tryParse((De=>this.parseAsyncArrowWithTypeParameters(b)||De()),D);if(!Y.error&&!Y.aborted)return Y.node;const we=this.tryParse((()=>super.parseSubscripts(c,b,M)),D);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,b,M)}parseSubscript(c,b,M,D){if(this.match(18)&&this.isLookaheadToken_lt()){if(D.optionalChainMember=!0,M)return D.stop=!0,c;this.next();const Y=this.startNodeAt(b);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(!M&&this.shouldParseTypes()&&this.match(47)){const Y=this.startNodeAt(b);Y.callee=c;const we=this.tryParse((()=>(Y.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Y.arguments=super.parseCallExpressionArguments(11,!1),D.optionalChainMember&&(Y.optional=!1),this.finishCallExpression(Y,D.optionalChainMember))));if(we.node)return we.error&&(this.state=we.failState),we.node}return super.parseSubscript(c,b,M,D)}parseNewCallee(c){super.parseNewCallee(c);let b=null;this.shouldParseTypes()&&this.match(47)&&(b=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),c.typeArguments=b}parseAsyncArrowWithTypeParameters(c){const b=this.startNodeAt(c);if(this.parseFunctionParams(b,!1),this.parseArrow(b))return super.parseArrowExpression(b,void 0,!0)}readToken_mult_modulo(c){const b=this.input.charCodeAt(this.state.pos+1);if(c===42&&b===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 b=this.input.charCodeAt(this.state.pos+1);c!==124||b!==125?super.readToken_pipe_amp(c):this.finishOp(9,2)}parseTopLevel(c,b){const M=super.parseTopLevel(c,b);return this.state.hasFlowComment&&this.raise(Ft.UnterminatedFlowComment,this.state.curPosition()),M}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Ft.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 b=2;for(;[32,9].includes(this.input.charCodeAt(c+b));)b++;const M=this.input.charCodeAt(b+c),D=this.input.charCodeAt(b+c+1);return M===58&&D===58?b+2:this.input.slice(b+c,b+c+12)==="flow-include"?b+12:M===58&&D!==58&&b}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(c,b){let{enumName:M,memberName:D}=b;this.raise(Ft.EnumBooleanMemberNotInitialized,c,{memberName:D,enumName:M})}flowEnumErrorInvalidMemberInitializer(c,b){return this.raise(b.explicitType?b.explicitType==="symbol"?Ft.EnumInvalidMemberInitializerSymbolType:Ft.EnumInvalidMemberInitializerPrimaryType:Ft.EnumInvalidMemberInitializerUnknownType,c,b)}flowEnumErrorNumberMemberNotInitialized(c,b){this.raise(Ft.EnumNumberMemberNotInitialized,c,b)}flowEnumErrorStringMemberInconsistentlyInitialized(c,b){this.raise(Ft.EnumStringMemberInconsistentlyInitialized,c,b)}flowEnumMemberInit(){const c=this.state.startLoc,b=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const M=this.parseNumericLiteral(this.state.value);return b()?{type:"number",loc:M.loc.start,value:M}:{type:"invalid",loc:c}}case 133:{const M=this.parseStringLiteral(this.state.value);return b()?{type:"string",loc:M.loc.start,value:M}:{type:"invalid",loc:c}}case 85:case 86:{const M=this.parseBooleanLiteral(this.match(85));return b()?{type:"boolean",loc:M.loc.start,value:M}:{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,b,M){const{explicitType:D}=b;D!==null&&D!==M&&this.flowEnumErrorInvalidMemberInitializer(c,b)}flowEnumMembers(c){let{enumName:b,explicitType:M}=c;const D=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(Ft.EnumInvalidMemberName,Ue,{memberName:et,suggestion:et[0].toUpperCase()+et.slice(1),enumName:b}),D.has(et)&&this.raise(Ft.EnumDuplicateMemberName,Ue,{memberName:et,enumName:b}),D.add(et);const Et={enumName:b,explicitType:M,memberName:et};switch(De.id=Ue,Ke.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"boolean"),De.init=Ke.value,Y.booleanMembers.push(this.finishNode(De,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"number"),De.init=Ke.value,Y.numberMembers.push(this.finishNode(De,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"string"),De.init=Ke.value,Y.stringMembers.push(this.finishNode(De,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Ke.loc,Et);case"none":switch(M){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Ke.loc,Et);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Ke.loc,Et);break;default:Y.defaultedMembers.push(this.finishNode(De,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:Y,hasUnknownMembers:we}}flowEnumStringMembers(c,b,M){let{enumName:D}=M;if(c.length===0)return b;if(b.length===0)return c;if(b.length>c.length){for(const Y of c)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:D});return b}for(const Y of b)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:D});return c}flowEnumParseExplicitType(c){let{enumName:b}=c;if(!this.eatContextual(102))return null;if(!ae(this.state.type))throw this.raise(Ft.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:b});const{value:M}=this.state;return this.next(),M!=="boolean"&&M!=="number"&&M!=="string"&&M!=="symbol"&&this.raise(Ft.EnumInvalidExplicitType,this.state.startLoc,{enumName:b,invalidEnumType:M}),M}flowEnumBody(c,b){const M=b.name,D=b.loc.start,Y=this.flowEnumParseExplicitType({enumName:M});this.expect(5);const{members:we,hasUnknownMembers:De}=this.flowEnumMembers({enumName:M,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:M}),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,Et=we.stringMembers.length,Xt=we.defaultedMembers.length;if(Ke||et||Et||Xt){if(Ke||et){if(!et&&!Et&&Ke>=Xt){for(const Kt of we.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Kt.loc.start,{enumName:M,memberName:Kt.id.name});return c.members=we.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody")}if(!Ke&&!Et&&et>=Xt){for(const Kt of we.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Kt.loc.start,{enumName:M,memberName:Kt.id.name});return c.members=we.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody")}return this.raise(Ft.EnumInconsistentMemberValues,D,{enumName:M}),Ue()}return c.members=this.flowEnumStringMembers(we.stringMembers,we.defaultedMembers,{enumName:M}),this.expect(8),this.finishNode(c,"EnumStringBody")}return Ue()}}}flowParseEnumDeclaration(c){const b=this.parseIdentifier();return c.id=b,c.body=this.flowEnumBody(this.startNode(),b),this.finishNode(c,"EnumDeclaration")}isLookaheadToken_lt(){const c=this.nextTokenStart();if(this.input.charCodeAt(c)===60){const b=this.input.charCodeAt(c+1);return b!==60&&b!==61}return!1}maybeUnwrapTypeCastExpression(c){return c.type==="TypeCastExpression"?c.expression:c}},typescript:Ae=>class extends Ae{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Mt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Mt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Mt.InvalidModifierOnTypeParameter})}getScopeHandler(){return In}tsIsIdentifier(){return ae(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,b){if(!ae(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const M=this.state.value;if(c.indexOf(M)!==-1){if(b&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return M}}tsParseModifiers(c,b){let{allowedModifiers:M,disallowedModifiers:D,stopOnStartOfClassStaticBlock:Y,errorTemplate:we=Mt.InvalidModifierOnTypeMember}=c;const De=(Ke,et,Et,Xt)=>{et===Et&&b[Xt]&&this.raise(Mt.InvalidModifiersOrder,Ke,{orderedModifiers:[Et,Xt]})},Ue=(Ke,et,Et,Xt)=>{(b[Et]&&et===Xt||b[Xt]&&et===Et)&&this.raise(Mt.IncompatibleModifiers,Ke,{modifiers:[Et,Xt]})};for(;;){const{startLoc:Ke}=this.state,et=this.tsParseModifier(M.concat(D??[]),Y);if(!et)break;Ps(et)?b.accessibility?this.raise(Mt.DuplicateAccessibilityModifier,Ke,{modifier:et}):(De(Ke,et,et,"override"),De(Ke,et,et,"static"),De(Ke,et,et,"readonly"),b.accessibility=et):_n(et)?(b[et]&&this.raise(Mt.DuplicateModifier,Ke,{modifier:et}),b[et]=!0,De(Ke,et,"in","out")):(Object.hasOwnProperty.call(b,et)?this.raise(Mt.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")),b[et]=!0),D!=null&&D.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,b){const M=[];for(;!this.tsIsListTerminator(c);)M.push(b());return M}tsParseDelimitedList(c,b,M){return(function(D){if(D==null)throw new Error(`Unexpected ${D} value.`);return D})(this.tsParseDelimitedListWorker(c,b,!0,M))}tsParseDelimitedListWorker(c,b,M,D){const Y=[];let we=-1;for(;!this.tsIsListTerminator(c);){we=-1;const De=b();if(De==null)return;if(Y.push(De),!this.eat(12)){if(this.tsIsListTerminator(c))break;return void(M&&this.expect(12))}we=this.state.lastTokStartLoc.index}return D&&(D.value=we),Y}tsParseBracketedList(c,b,M,D,Y){D||(M?this.expect(0):this.expect(47));const we=this.tsParseDelimitedList(c,b,Y);return M?this.expect(3):this.expect(48),we}tsParseImportType(){const c=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Mt.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],b=this.parseIdentifier(c);for(;this.eat(16);){const M=this.startNodeAtNode(b);M.left=b,M.right=this.parseIdentifier(c),b=this.finishNode(M,"TSQualifiedName")}return b}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 b=this.startNodeAtNode(c);return b.parameterName=c,b.typeAnnotation=this.tsParseTypeAnnotation(!1),b.asserts=!1,this.finishNode(b,"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 b=this.startNode();return c(b),b.name=this.tsParseTypeParameterName(),b.constraint=this.tsEatThenParseType(81),b.default=this.tsEatThenParseType(29),this.finishNode(b,"TSTypeParameter")}tsTryParseTypeParameters(c){if(this.match(47))return this.tsParseTypeParameters(c)}tsParseTypeParameters(c){const b=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const M={value:-1};return b.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,M),b.params.length===0&&this.raise(Mt.EmptyTypeParameters,b),M.value!==-1&&this.addExtra(b,"trailingComma",M.value),this.finishNode(b,"TSTypeParameterDeclaration")}tsFillSignature(c,b){const M=c===19;b.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),b.parameters=this.tsParseBindingListForSignature(),(M||this.match(c))&&(b.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(c))}tsParseBindingListForSignature(){const c=super.parseBindingList(11,41,2);for(const b of c){const{type:M}=b;M!=="AssignmentPattern"&&M!=="TSParameterProperty"||this.raise(Mt.UnsupportedSignatureParameterKind,b,{type:M})}return c}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(c,b){return this.tsFillSignature(14,b),this.tsParseTypeMemberSemicolon(),this.finishNode(b,c)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!ae(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 b=this.parseIdentifier();b.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(b),this.expect(3),c.parameters=[b];const M=this.tsTryParseTypeAnnotation();return M&&(c.typeAnnotation=M),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParsePropertyOrMethodSignature(c,b){this.eat(17)&&(c.optional=!0);const M=c;if(this.match(10)||this.match(47)){b&&this.raise(Mt.ReadonlyForMethodSignature,c);const D=M;D.kind&&this.match(47)&&this.raise(Mt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,D),this.tsParseTypeMemberSemicolon();const Y="parameters",we="typeAnnotation";if(D.kind==="get")D[Y].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(D[Y][0])&&this.raise(Mt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(D.kind==="set"){if(D[Y].length!==1)this.raise(g.BadSetterArity,this.state.curPosition());else{const De=D[Y][0];this.isThisParam(De)&&this.raise(Mt.AccesorCannotDeclareThisParameter,this.state.curPosition()),De.type==="Identifier"&&De.optional&&this.raise(Mt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),De.type==="RestElement"&&this.raise(Mt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}D[we]&&this.raise(Mt.SetAccesorCannotHaveReturnType,D[we])}else D.kind="method";return this.finishNode(D,"TSMethodSignature")}{const D=M;b&&(D.readonly=!0);const Y=this.tsTryParseTypeAnnotation();return Y&&(D.typeAnnotation=Y),this.tsParseTypeMemberSemicolon(),this.finishNode(D,"TSPropertySignature")}}tsParseTypeMember(){const c=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(77)){const b=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(b,"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 b=!1;return c.elementTypes.forEach((M=>{const{type:D}=M;!b||D==="TSRestType"||D==="TSOptionalType"||D==="TSNamedTupleMember"&&M.optional||this.raise(Mt.OptionalTypeBeforeRequired,M),b||(b=D==="TSNamedTupleMember"&&M.optional||D==="TSOptionalType")})),this.finishNode(c,"TSTupleType")}tsParseTupleElementType(){const{startLoc:c}=this.state,b=this.eat(21);let M,D,Y,we;const De=ce(this.state.type)?this.lookaheadCharCode():null;if(De===58)M=!0,Y=!1,D=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?(M=!0,D=this.createIdentifier(this.startNodeAt(Ue),Ke),this.expect(17),this.expect(14),we=this.tsParseType()):(M=!1,we=et,this.expect(17))}else we=this.tsParseType(),Y=this.eat(17),M=this.eat(14);if(M){let Ue;D?(Ue=this.startNodeAtNode(D),Ue.optional=Y,Ue.label=D,Ue.elementType=we,this.eat(17)&&(Ue.optional=!0,this.raise(Mt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(Ue=this.startNodeAtNode(we),Ue.optional=Y,this.raise(Mt.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(b){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,b){const M=this.startNode();return c==="TSConstructorType"&&(M.abstract=!!b,b&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,M))),this.finishNode(M,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(),b=this.lookahead();return b.type!==134&&b.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(ae(c)||c===88||c===84){const b=c===88?"TSVoidKeyword":c===84?"TSNullKeyword":(function(M){switch(M){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(b!==void 0&&this.lookaheadCharCode()!==46){const M=this.startNode();return this.next(),this.finishNode(M,b)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const b=this.startNodeAtNode(c);b.elementType=c,this.expect(3),c=this.finishNode(b,"TSArrayType")}else{const b=this.startNodeAtNode(c);b.objectType=c,b.indexType=this.tsParseType(),this.expect(3),c=this.finishNode(b,"TSIndexedAccessType")}return c}tsParseTypeOperator(){const c=this.startNode(),b=this.state.value;return this.next(),c.operator=b,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),b==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Mt.UnexpectedReadonly,c)}}tsParseInferType(){const c=this.startNode();this.expectContextual(115);const b=this.startNode();return b.name=this.tsParseTypeParameterName(),b.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),c.typeParameter=this.finishNode(b,"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,b,M){const D=this.startNode(),Y=this.eat(M),we=[];do we.push(b());while(this.eat(M));return we.length!==1||Y?(D.types=we,this.finishNode(D,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(ae(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:c}=this.state,b=c.length;try{return this.parseObjectLike(8,!0),c.length===b}catch{return!1}}if(this.match(0)){this.next();const{errors:c}=this.state,b=c.length;try{return super.parseBindingList(3,93,1),c.length===b}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 b=this.startNode();this.expect(c);const M=this.startNode(),D=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(D&&this.match(78)){let De=this.tsParseThisTypeOrThisTypePredicate();return De.type==="TSThisType"?(M.parameterName=De,M.asserts=!0,M.typeAnnotation=null,De=this.finishNode(M,"TSTypePredicate")):(this.resetStartLocationFromNode(De,M),De.asserts=!0),b.typeAnnotation=De,this.finishNode(b,"TSTypeAnnotation")}const Y=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Y)return D?(M.parameterName=this.parseIdentifier(),M.asserts=D,M.typeAnnotation=null,b.typeAnnotation=this.finishNode(M,"TSTypePredicate"),this.finishNode(b,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,b);const we=this.tsParseTypeAnnotation(!1);return M.parameterName=Y,M.typeAnnotation=we,M.asserts=D,b.typeAnnotation=this.finishNode(M,"TSTypePredicate"),this.finishNode(b,"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(),!(!ae(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],b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType((()=>{c&&this.expect(14),b.typeAnnotation=this.tsParseType()})),this.finishNode(b,"TSTypeAnnotation")}tsParseType(){js(this.state.inType);const c=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return c;const b=this.startNodeAtNode(c);return b.checkType=c,b.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),b.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),b.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(b,"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(Mt.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 b=this.state.startLoc,M=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const D=this.startNode();return D.expression=this.tsParseEntityName(),this.match(47)&&(D.typeParameters=this.tsParseTypeArguments()),this.finishNode(D,"TSExpressionWithTypeArguments")}));return M.length||this.raise(Mt.EmptyHeritageClauseType,b,{token:c}),M}tsParseInterfaceDeclaration(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(129),b.declare&&(c.declare=!0),ae(this.state.type)?(c.id=this.parseIdentifier(),this.checkIdentifier(c.id,130)):(c.id=null,this.raise(Mt.MissingInterfaceName,this.state.startLoc)),c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(c.extends=this.tsParseHeritageClause("extends"));const M=this.startNode();return M.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),c.body=this.finishNode(M,"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 b=this.startNode();return this.next(),this.finishNode(b,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsInNoContext(c){const b=this.state.context;this.state.context=[b[0]];try{return c()}finally{this.state.context=b}}tsInType(c){const b=this.state.inType;this.state.inType=!0;try{return c()}finally{this.state.inType=b}}tsInDisallowConditionalTypesContext(c){const b=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.state.inDisallowConditionalTypesContext=b}}tsInAllowConditionalTypesContext(c){const b=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.state.inDisallowConditionalTypesContext=b}}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 b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return b.const&&(c.const=!0),b.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 b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c.id=this.parseIdentifier(),b||this.checkIdentifier(c.id,1024),this.eat(16)){const M=this.startNode();this.tsParseModuleOrNamespaceDeclaration(M,!0),c.body=M}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,b,M){c.isExport=M||!1,c.id=b||this.parseIdentifier(),this.checkIdentifier(c.id,4096),this.expect(29);const D=this.tsParseModuleReference();return c.importKind==="type"&&D.type!=="TSExternalModuleReference"&&this.raise(Mt.ImportAliasHasImportType,D),c.moduleReference=D,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 b=this.state.clone(),M=c();return this.state=b,M}tsTryParseAndCatch(c){const b=this.tryParse((M=>c()||M()));if(!b.aborted&&b.node)return b.error&&(this.state=b.failState),b.node}tsTryParse(c){const b=this.state.clone(),M=c();if(M!==void 0&&M!==!1)return M;this.state=b}tsTryParseDeclare(c){if(this.isLineTerminator())return;let b,M=this.state.type;return this.isContextual(100)&&(M=74,b="let"),this.tsInAmbientContext((()=>{switch(M){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,b||this.state.value,!0));case 129:{const D=this.tsParseInterfaceDeclaration(c,{declare:!0});if(D)return D}default:if(ae(M))return this.tsParseDeclaration(c,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(c,b,M){switch(b.name){case"declare":{const D=this.tsTryParseDeclare(c);return D&&(D.declare=!0),D}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const D=c;return D.global=!0,D.id=b,D.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(D,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,b.name,!1,M)}}tsParseDeclaration(c,b,M,D){switch(b){case"abstract":if(this.tsCheckLineTerminator(M)&&(this.match(80)||ae(this.state.type)))return this.tsParseAbstractDeclaration(c,D);break;case"module":if(this.tsCheckLineTerminator(M)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(c);if(ae(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(M)&&ae(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(M)&&ae(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 b=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const M=this.tsTryParseAndCatch((()=>{const D=this.startNodeAt(c);return D.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(D),D.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),D}));return this.state.maybeInArrowParameters=b,M?super.parseArrowExpression(M,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(Mt.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,b){const M=this.state.startLoc,D={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},D);const Y=D.accessibility,we=D.override,De=D.readonly;4&c||!(Y||De||we)||this.raise(Mt.UnexpectedParameterModifier,M);const Ue=this.parseMaybeDefault();this.parseAssignableListItemTypes(Ue,c);const Ke=this.parseMaybeDefault(Ue.loc.start,Ue);if(Y||De||we){const et=this.startNodeAt(M);return b.length&&(et.decorators=b),Y&&(et.accessibility=Y),De&&(et.readonly=De),we&&(et.override=we),Ke.type!=="Identifier"&&Ke.type!=="AssignmentPattern"&&this.raise(Mt.UnsupportedParameterPropertyKind,et),et.parameter=Ke,this.finishNode(et,"TSParameterProperty")}return b.length&&(Ue.decorators=b),Ke}isSimpleParameter(c){return c.type==="TSParameterProperty"&&super.isSimpleParameter(c.parameter)||super.isSimpleParameter(c)}tsDisallowOptionalPattern(c){for(const b of c.params)b.type!=="Identifier"&&b.optional&&!this.state.isAmbientContext&&this.raise(Mt.PatternIsOptional,b)}setArrowFunctionParameters(c,b,M){super.setArrowFunctionParameters(c,b,M),this.tsDisallowOptionalPattern(c)}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.match(14)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const D=b==="FunctionDeclaration"?"TSDeclareFunction":b==="ClassMethod"||b==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return D&&!this.match(5)&&this.isLineTerminator()?this.finishNode(c,D):D==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Mt.DeclareFunctionHasImplementation,c),c.declare)?super.parseFunctionBodyAndFinish(c,D,M):(this.tsDisallowOptionalPattern(c),super.parseFunctionBodyAndFinish(c,b,M))}registerFunctionStatementId(c){!c.body&&c.id?this.checkIdentifier(c.id,1024):super.registerFunctionStatementId(c)}tsCheckForInvalidTypeCasts(c){c.forEach((b=>{b?.type==="TSTypeCastExpression"&&this.raise(Mt.UnexpectedTypeAnnotation,b.typeAnnotation)}))}toReferencedList(c,b){return this.tsCheckForInvalidTypeCasts(c),c}parseArrayLike(c,b,M,D){const Y=super.parseArrayLike(c,b,M,D);return Y.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(Y.elements),Y}parseSubscript(c,b,M,D){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const we=this.startNodeAt(b);return we.expression=c,this.finishNode(we,"TSNonNullExpression")}let Y=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(M)return D.stop=!0,c;D.optionalChainMember=Y=!0,this.next()}if(this.match(47)||this.match(51)){let we;const De=this.tsTryParseAndCatch((()=>{if(!M&&this.atPossibleAsyncArrow(c)){const Et=this.tsTryParseGenericAsyncArrowFunction(b);if(Et)return Et}const Ue=this.tsParseTypeArgumentsInExpression();if(!Ue)return;if(Y&&!this.match(10))return void(we=this.state.curPosition());if(He(this.state.type)){const Et=super.parseTaggedTemplateExpression(c,b,D);return Et.typeParameters=Ue,Et}if(!M&&this.eat(10)){const Et=this.startNodeAt(b);return Et.callee=c,Et.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Et.arguments),Et.typeParameters=Ue,D.optionalChainMember&&(Et.optional=Y),this.finishCallExpression(Et,D.optionalChainMember)}const Ke=this.state.type;if(Ke===48||Ke===52||Ke!==10&&ie(Ke)&&!this.hasPrecedingLineBreak())return;const et=this.startNodeAt(b);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(Mt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),De}return super.parseSubscript(c,b,M,D)}parseNewCallee(c){var b;super.parseNewCallee(c);const{callee:M}=c;M.type!=="TSInstantiationExpression"||(b=M.extra)!=null&&b.parenthesized||(c.typeParameters=M.typeParameters,c.callee=M.expression)}parseExprOp(c,b,M){let D;if(xe(58)>M&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(D=this.isContextual(120)))){const Y=this.startNodeAt(b);return Y.expression=c,Y.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(D&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(Y,D?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Y,b,M)}return super.parseExprOp(c,b,M)}checkReservedWord(c,b,M,D){this.state.isAmbientContext||super.checkReservedWord(c,b,M,D)}checkImportReflection(c){super.checkImportReflection(c),c.module&&c.importKind!=="value"&&this.raise(Mt.ImportReflectionHasImportType,c.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(c){if(super.isPotentialImportPhase(c))return!0;if(this.isContextual(130)){const b=this.lookaheadCharCode();return c?b===123||b===42:b!==61}return!c&&this.isContextual(87)}applyImportPhase(c,b,M,D){super.applyImportPhase(c,b,M,D),b?c.exportKind=M==="type"?"type":"value":c.importKind=M==="type"||M==="typeof"?M:"value"}parseImport(c){if(this.match(133))return c.importKind="value",super.parseImport(c);let b;if(ae(this.state.type)&&this.lookaheadCharCode()===61)return c.importKind="value",this.tsParseImportEqualsDeclaration(c);if(this.isContextual(130)){const M=this.parseMaybeImportPhase(c,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(c,M);b=super.parseImportSpecifiersAndAfter(c,M)}else b=super.parseImport(c);return b.importKind==="type"&&b.specifiers.length>1&&b.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Mt.TypeImportCannotSpecifyDefaultAndNamed,b),b}parseExport(c,b){if(this.match(83)){this.next();let M=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?M=this.parseMaybeImportPhase(c,!1):c.importKind="value",this.tsParseImportEqualsDeclaration(c,M,!0)}if(this.eat(29)){const M=c;return M.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(M,"TSExportAssignment")}if(this.eatContextual(93)){const M=c;return this.expectContextual(128),M.id=this.parseIdentifier(),this.semicolon(),this.finishNode(M,"TSNamespaceExportDeclaration")}return super.parseExport(c,b)}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,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{isAmbientContext:D}=this.state,Y=super.parseVarStatement(c,b,M||D);if(!D)return Y;for(const{id:we,init:De}of Y.declarations)De&&(b!=="const"||we.typeAnnotation?this.raise(Mt.InitializerNotAllowedInAmbientContext,De):hi(De,this.hasPlugin("estree"))||this.raise(Mt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,De));return Y}parseStatementContent(c,b){if(this.match(75)&&this.isLookaheadContextual("enum")){const M=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(M,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const M=this.tsParseInterfaceDeclaration(this.startNode());if(M)return M}return super.parseStatementContent(c,b)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(c,b){return b.some((M=>Ps(M)?c.accessibility===M:!!c[M]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(c,b,M){const D=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:D,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Mt.InvalidModifierOnTypeParameterPositions},b);const Y=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(b,D)&&this.raise(Mt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(c,b)):this.parseClassMemberWithIsStatic(c,b,M,!!b.static)};b.declare?this.tsInAmbientContext(Y):Y()}parseClassMemberWithIsStatic(c,b,M,D){const Y=this.tsTryParseIndexSignature(b);if(Y)return c.body.push(Y),b.abstract&&this.raise(Mt.IndexSignatureHasAbstract,b),b.accessibility&&this.raise(Mt.IndexSignatureHasAccessibility,b,{modifier:b.accessibility}),b.declare&&this.raise(Mt.IndexSignatureHasDeclare,b),void(b.override&&this.raise(Mt.IndexSignatureHasOverride,b));!this.state.inAbstractClass&&b.abstract&&this.raise(Mt.NonAbstractClassHasAbstractMethod,b),b.override&&(M.hadSuperClass||this.raise(Mt.OverrideNotInSubClass,b)),super.parseClassMemberWithIsStatic(c,b,M,D)}parsePostMemberNameModifiers(c){this.eat(17)&&(c.optional=!0),c.readonly&&this.match(10)&&this.raise(Mt.ClassMethodHasReadonly,c),c.declare&&this.match(10)&&this.raise(Mt.ClassMethodHasDeclare,c)}parseExpressionStatement(c,b,M){return(b.type==="Identifier"?this.tsParseExpressionStatement(c,b,M):void 0)||super.parseExpressionStatement(c,b,M)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(c,b,M){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(c,b,M);const D=this.tryParse((()=>super.parseConditional(c,b)));return D.node?(D.error&&(this.state=D.failState),D.node):(D.error&&super.setOptionalParametersError(M,D.error),c)}parseParenItem(c,b){if(c=super.parseParenItem(c,b),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const M=this.startNodeAt(b);return M.expression=c,M.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(M,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(c)));const b=this.state.startLoc,M=this.eatContextual(125);if(M&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Mt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const D=ae(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(c);return D?((D.type==="TSInterfaceDeclaration"||D.type==="TSTypeAliasDeclaration"||M)&&(c.exportKind="type"),M&&(this.resetStartLocation(D,b),D.declare=!0),D):null}parseClassId(c,b,M,D){if((!b||M)&&this.isContextual(113))return;super.parseClassId(c,b,M,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 b=this.tsTryParseTypeAnnotation();b&&(c.typeAnnotation=b)}parseClassProperty(c){if(this.parseClassPropertyAnnotation(c),this.state.isAmbientContext&&(!c.readonly||c.typeAnnotation)&&this.match(29)&&this.raise(Mt.DeclareClassFieldHasInitializer,this.state.startLoc),c.abstract&&this.match(29)){const{key:b}=c;this.raise(Mt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:b.type!=="Identifier"||c.computed?`[${this.input.slice(b.start,b.end)}]`:b.name})}return super.parseClassProperty(c)}parseClassPrivateProperty(c){return c.abstract&&this.raise(Mt.PrivateElementHasAbstract,c),c.accessibility&&this.raise(Mt.PrivateElementHasAccessibility,c,{modifier:c.accessibility}),this.parseClassPropertyAnnotation(c),super.parseClassPrivateProperty(c)}parseClassAccessorProperty(c){return this.parseClassPropertyAnnotation(c),c.optional&&this.raise(Mt.AccessorCannotBeOptional,c),super.parseClassAccessorProperty(c)}pushClassMethod(c,b,M,D,Y,we){const De=this.tsTryParseTypeParameters(this.tsParseConstModifier);De&&Y&&this.raise(Mt.ConstructorHasTypeParameters,De);const{declare:Ue=!1,kind:Ke}=b;!Ue||Ke!=="get"&&Ke!=="set"||this.raise(Mt.DeclareAccessor,b,{kind:Ke}),De&&(b.typeParameters=De),super.pushClassMethod(c,b,M,D,Y,we)}pushClassPrivateMethod(c,b,M,D){const Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);Y&&(b.typeParameters=Y),super.pushClassPrivateMethod(c,b,M,D)}declareClassPrivateMethodInScope(c,b){c.type!=="TSDeclareMethod"&&(c.type!=="MethodDefinition"||c.value.body)&&super.declareClassPrivateMethodInScope(c,b)}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,b,M,D,Y,we,De){const Ue=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Ue&&(c.typeParameters=Ue),super.parseObjPropValue(c,b,M,D,Y,we,De)}parseFunctionParams(c,b){const M=this.tsTryParseTypeParameters(this.tsParseConstModifier);M&&(c.typeParameters=M),super.parseFunctionParams(c,b)}parseVarId(c,b){super.parseVarId(c,b),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(c.definite=!0);const M=this.tsTryParseTypeAnnotation();M&&(c.id.typeAnnotation=M,this.resetEndLocation(c.id))}parseAsyncArrowFromCallExpression(c,b){return this.match(14)&&(c.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(c,b)}parseMaybeAssign(c,b){var M,D,Y,we,De;let Ue,Ke,et,Et;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Ue=this.state.clone(),Ke=this.tryParse((()=>super.parseMaybeAssign(c,b)),Ue),!Ke.error)return Ke.node;const{context:Kt}=this.state,Tr=Kt[Kt.length-1];Tr!==O.j_oTag&&Tr!==O.j_expr||Kt.pop()}if(!((M=Ke)!=null&&M.error||this.match(47)))return super.parseMaybeAssign(c,b);Ue&&Ue!==this.state||(Ue=this.state.clone());const Xt=this.tryParse((Kt=>{var Tr,Mn;Et=this.tsParseTypeParameters(this.tsParseConstModifier);const mn=super.parseMaybeAssign(c,b);return(mn.type!=="ArrowFunctionExpression"||(Tr=mn.extra)!=null&&Tr.parenthesized)&&Kt(),((Mn=Et)==null?void 0:Mn.params.length)!==0&&this.resetStartLocationFromNode(mn,Et),mn.typeParameters=Et,mn}),Ue);if(!Xt.error&&!Xt.aborted)return Et&&this.reportReservedArrowTypeParam(Et),Xt.node;if(!Ke&&(js(!this.hasPlugin("jsx")),et=this.tryParse((()=>super.parseMaybeAssign(c,b)),Ue),!et.error))return et.node;if((D=Ke)!=null&&D.node)return this.state=Ke.failState,Ke.node;if(Xt.node)return this.state=Xt.failState,Et&&this.reportReservedArrowTypeParam(Et),Xt.node;if((Y=et)!=null&&Y.node)return this.state=et.failState,et.node;throw((we=Ke)==null?void 0:we.error)||Xt.error||((De=et)==null?void 0:De.error)}reportReservedArrowTypeParam(c){var b;c.params.length!==1||c.params[0].constraint||(b=c.extra)!=null&&b.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Mt.ReservedArrowTypeParam,c)}parseMaybeUnary(c,b){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(c,b)}parseArrow(c){if(this.match(14)){const b=this.tryParse((M=>{const D=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||M(),D}));if(b.aborted)return;b.thrown||(b.error&&(this.state=b.failState),c.returnType=b.node)}return super.parseArrow(c)}parseAssignableListItemTypes(c,b){if(!(2&b))return c;this.eat(17)&&(c.optional=!0);const M=this.tsTryParseTypeAnnotation();return M&&(c.typeAnnotation=M),this.resetEndLocation(c),c}isAssignable(c,b){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,b);case"TSParameterProperty":return!0;default:return super.isAssignable(c,b)}}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(c.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(c,b);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":b?this.expressionScope.recordArrowParameterBindingError(Mt.UnexpectedTypeCastInParameter,c):this.raise(Mt.UnexpectedTypeCastInParameter,c),this.toAssignable(c.expression,b);break;case"AssignmentExpression":b||c.left.type!=="TSTypeCastExpression"||(c.left=this.typeCastToParameter(c.left));default:super.toAssignable(c,b)}}toAssignableParenthesizedExpression(c,b){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(c.expression,b);break;default:super.toAssignable(c,b)}}checkToRestConversion(c,b){switch(c.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(c.expression,!1);break;default:super.checkToRestConversion(c,b)}}isValidLVal(c,b,M){return D={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(M!==64||!b)&&["expression",!0],TSSatisfiesExpression:(M!==64||!b)&&["expression",!0],TSTypeAssertion:(M!==64||!b)&&["expression",!0]},Y=c,Object.hasOwnProperty.call(D,Y)&&D[Y]||super.isValidLVal(c,b,M);var D,Y}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(c){if(this.match(47)||this.match(51)){const b=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const M=super.parseMaybeDecoratorArguments(c);return M.typeParameters=b,M}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,b){const M=super.parseMaybeDefault(c,b);return M.type==="AssignmentPattern"&&M.typeAnnotation&&M.right.startthis.isAssignable(b,!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 b=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));b&&(c.typeParameters=b)}return super.jsxParseOpeningElementAfterName(c)}getGetterSetterExpectedParamCount(c){const b=super.getGetterSetterExpectedParamCount(c),M=this.getObjectOrClassMethodParams(c)[0];return M&&this.isThisParam(M)?b+1:b}parseCatchClauseParam(){const c=super.parseCatchClauseParam(),b=this.tsTryParseTypeAnnotation();return b&&(c.typeAnnotation=b,this.resetEndLocation(c)),c}tsInAmbientContext(c){const b=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return c()}finally{this.state.isAmbientContext=b}}parseClass(c,b,M){const D=this.state.inAbstractClass;this.state.inAbstractClass=!!c.abstract;try{return super.parseClass(c,b,M)}finally{this.state.inAbstractClass=D}}tsParseAbstractDeclaration(c,b){if(this.match(80))return c.abstract=!0,this.maybeTakeDecorators(b,this.parseClass(c,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.raise(Mt.NonClassMethodPropertyHasAbstractModifer,c),this.tsParseInterfaceDeclaration(c)}else this.unexpected(null,80)}parseMethod(c,b,M,D,Y,we,De){const Ue=super.parseMethod(c,b,M,D,Y,we,De);if(Ue.abstract&&(this.hasPlugin("estree")?Ue.value.body:Ue.body)){const{key:Ke}=Ue;this.raise(Mt.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,b,M,D){return!b&&D?(this.parseTypeOnlyImportExportSpecifier(c,!1,M),this.finishNode(c,"ExportSpecifier")):(c.exportKind="value",super.parseExportSpecifier(c,b,M,D))}parseImportSpecifier(c,b,M,D,Y){return!b&&D?(this.parseTypeOnlyImportExportSpecifier(c,!0,M),this.finishNode(c,"ImportSpecifier")):(c.importKind="value",super.parseImportSpecifier(c,b,M,D,M?4098:4096))}parseTypeOnlyImportExportSpecifier(c,b,M){const D=b?"imported":"local",Y=b?"local":"exported";let we,De=c[D],Ue=!1,Ke=!0;const et=De.loc.start;if(this.isContextual(93)){const Et=this.parseIdentifier();if(this.isContextual(93)){const Xt=this.parseIdentifier();ce(this.state.type)?(Ue=!0,De=Et,we=b?this.parseIdentifier():this.parseModuleExportName(),Ke=!1):(we=Xt,Ke=!1)}else ce(this.state.type)?(Ke=!1,we=b?this.parseIdentifier():this.parseModuleExportName()):(Ue=!0,De=Et)}else ce(this.state.type)&&(Ue=!0,b?(De=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(De.name,De.loc.start,!0,!0)):De=this.parseModuleExportName());Ue&&M&&this.raise(b?Mt.TypeModifierIsUsedInTypeImports:Mt.TypeModifierIsUsedInTypeExports,et),c[D]=De,c[Y]=we,c[b?"importKind":"exportKind"]=Ue?"type":"value",Ke&&this.eatContextual(93)&&(c[Y]=b?this.parseIdentifier():this.parseModuleExportName()),c[Y]||(c[Y]=Yn(c[D])),b&&this.checkIdentifier(c[Y],Ue?4098:4096)}},v8intrinsic:Ae=>class extends Ae{parseV8Intrinsic(){if(this.match(54)){const c=this.state.startLoc,b=this.startNode();if(this.next(),ae(this.state.type)){const M=this.parseIdentifierName(),D=this.createIdentifier(b,M);if(D.type="V8IntrinsicIdentifier",this.match(10))return D}this.unexpected(c)}}parseExprAtom(c){return this.parseV8Intrinsic()||super.parseExprAtom(c)}},placeholders:Ae=>class extends Ae{parsePlaceholder(c){if(this.match(144)){const b=this.startNode();return this.next(),this.assertNoSpace(),b.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(b,c)}}finishPlaceholder(c,b){const M=!(!c.expectedNode||c.type!=="Placeholder");return c.expectedNode=b,M?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,b,M,D){c!==void 0&&super.checkReservedWord(c,b,M,D)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(c,b,M){return c==="Placeholder"||super.isValidLVal(c,b,M)}toAssignable(c,b){c&&c.type==="Placeholder"&&c.expectedNode==="Expression"?c.expectedNode="Pattern":super.toAssignable(c,b)}chStartsBindingIdentifier(c,b){return!!super.chStartsBindingIdentifier(c,b)||this.lookahead().type===144}verifyBreakContinue(c,b){c.label&&c.label.type==="Placeholder"||super.verifyBreakContinue(c,b)}parseExpressionStatement(c,b){var M;if(b.type!=="Placeholder"||(M=b.extra)!=null&&M.parenthesized)return super.parseExpressionStatement(c,b);if(this.match(14)){const D=c;return D.label=this.finishPlaceholder(b,"Identifier"),this.next(),D.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(D,"LabeledStatement")}return this.semicolon(),c.name=b.name,this.finishPlaceholder(c,"Statement")}parseBlock(c,b,M){return this.parsePlaceholder("BlockStatement")||super.parseBlock(c,b,M)}parseFunctionId(c){return this.parsePlaceholder("Identifier")||super.parseFunctionId(c)}parseClass(c,b,M){const D=b?"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(M||!b)return c.id=null,c.body=this.finishPlaceholder(we,"ClassBody"),this.finishNode(c,D);throw this.raise(Mi.ClassNameIsRequired,this.state.startLoc)}c.id=we}else this.parseClassId(c,b,M);return super.parseClassSuper(c),c.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!c.superClass,Y),this.finishNode(c,D)}parseExport(c,b){const M=this.parsePlaceholder("Identifier");if(!M)return super.parseExport(c,b);if(!this.isContextual(98)&&!this.match(12))return c.specifiers=[],c.source=null,c.declaration=this.finishPlaceholder(M,"Declaration"),this.finishNode(c,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const D=this.startNode();return D.exported=M,c.specifiers=[this.finishNode(D,"ExportDefaultSpecifier")],super.parseExport(c,b)}isExportDefaultSpecifier(){if(this.match(65)){const c=this.nextTokenStart();if(this.isUnparsedContextual(c,"from")&&this.input.startsWith(ge(144),this.nextTokenStartSince(c+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(c,b){var M;return!((M=c.specifiers)==null||!M.length)||super.maybeParseExportDefaultSpecifier(c,b)}checkExport(c){const{specifiers:b}=c;b!=null&&b.length&&(c.specifiers=b.filter((M=>M.exported.type==="Placeholder"))),super.checkExport(c),c.specifiers=b}parseImport(c){const b=this.parsePlaceholder("Identifier");if(!b)return super.parseImport(c);if(c.specifiers=[],!this.isContextual(98)&&!this.match(12))return c.source=this.finishPlaceholder(b,"StringLiteral"),this.semicolon(),this.finishNode(c,"ImportDeclaration");const M=this.startNodeAtNode(b);return M.local=b,c.specifiers.push(this.finishNode(M,"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(Mi.UnexpectedSpace,this.state.lastTokEndLoc)}}},ha=Object.keys(pa),fa={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 Ja extends $n{checkProto(c,b,M,D){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(b)return void this.raise(g.RecordNoProto,Y);M.used&&(D?D.doubleProtoLoc===null&&(D.doubleProtoLoc=Y.loc.start):this.raise(g.DuplicateProto,Y)),M.used=!0}}shouldExitDescending(c,b){return c.type==="ArrowFunctionExpression"&&c.start===b}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,b){return c?this.disallowInAnd((()=>this.parseExpressionBase(b))):this.allowInAnd((()=>this.parseExpressionBase(b)))}parseExpressionBase(c){const b=this.state.startLoc,M=this.parseMaybeAssign(c);if(this.match(12)){const D=this.startNodeAt(b);for(D.expressions=[M];this.eat(12);)D.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(D.expressions),this.finishNode(D,"SequenceExpression")}return M}parseMaybeAssignDisallowIn(c,b){return this.disallowInAnd((()=>this.parseMaybeAssign(c,b)))}parseMaybeAssignAllowIn(c,b){return this.allowInAnd((()=>this.parseMaybeAssign(c,b)))}setOptionalParametersError(c,b){var M;c.optionalParametersLoc=(M=b?.loc)!=null?M:this.state.startLoc}parseMaybeAssign(c,b){const M=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let Ue=this.parseYield();return b&&(Ue=b.call(this,Ue,M)),Ue}let D;c?D=!1:(c=new os,D=!0);const{type:Y}=this.state;(Y===10||ae(Y))&&(this.state.potentialArrowAt=this.state.start);let we=this.parseMaybeConditional(c);if(b&&(we=b.call(this,we,M)),(De=this.state.type)>=29&&De<=33){const Ue=this.startNodeAt(M),Ke=this.state.value;if(Ue.operator=Ke,this.match(29)){this.toAssignable(we,!0),Ue.left=we;const et=M.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 D&&this.checkExpressionErrors(c,!0),we}parseMaybeConditional(c){const b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseExprOps(c);return this.shouldExitDescending(D,M)?D:this.parseConditional(D,b,c)}parseConditional(c,b,M){if(this.eat(17)){const D=this.startNodeAt(b);return D.test=c,D.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),D.alternate=this.parseMaybeAssign(),this.finishNode(D,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){const b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(D,M)?D:this.parseExprOp(D,b,-1)}parseExprOp(c,b,M){if(this.isPrivateName(c)){const we=this.getPrivateNameSV(c);(M>=xe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,c,{identifierName:we}),this.classScope.usePrivateName(we,c.loc.start)}const D=this.state.type;if((Y=D)>=39&&Y<=59&&(this.prodParam.hasIn||!this.match(58))){let we=xe(D);if(we>M){if(D===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,b)}const De=this.startNodeAt(b);De.left=c,De.operator=this.state.value;const Ue=D===41||D===42,Ke=D===40;if(Ke&&(we=xe(42)),this.next(),D===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(D,we);const et=this.finishNode(De,Ue||Ke?"LogicalExpression":"BinaryExpression"),Et=this.state.type;if(Ke&&(Et===41||Et===42)||Ue&&Et===40)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(et,b,M)}}var Y;return c}parseExprOpRightExpr(c,b){const M=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,b),M)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(b)))}return this.parseExprOpBaseRightExpr(c,b)}parseExprOpBaseRightExpr(c,b){const M=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),M,c===57?b-1:b)}parseHackPipeBody(){var c;const{startLoc:b}=this.state,M=this.parseMaybeAssign();return!d.has(M.type)||(c=M.extra)!=null&&c.parenthesized||this.raise(g.PipeUnparenthesizedBody,b,{type:M.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,b),M}checkExponentialAfterUnary(c){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,c.argument)}parseMaybeUnary(c,b){const M=this.state.startLoc,D=this.isContextual(96);if(D&&this.isAwaitAllowed()){this.next();const Ke=this.parseAwait(M);return b||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 b||this.checkExponentialAfterUnary(we),this.finishNode(we,"UnaryExpression")}var De;const Ue=this.parseUpdate(we,Y,c);if(D){const{type:Ke}=this.state;if((this.hasPlugin("v8intrinsic")?ie(Ke):ie(Ke)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,M),this.parseAwait(M)}return Ue}parseUpdate(c,b,M){if(b){const we=c;return this.checkLVal(we.argument,{in:this.finishNode(we,"UpdateExpression")}),c}const D=this.state.startLoc;let Y=this.parseExprSubscripts(M);if(this.checkExpressionErrors(M,!1))return Y;for(;this.state.type===34&&!this.canInsertSemicolon();){const we=this.startNodeAt(D);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 b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseExprAtom(c);return this.shouldExitDescending(D,M)?D:this.parseSubscripts(D,b)}parseSubscripts(c,b,M){const D={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,b,M,D),D.maybeAsyncArrow=!1;while(!D.stop);return c}parseSubscript(c,b,M,D){const{type:Y}=this.state;if(!M&&Y===15)return this.parseBind(c,b,M,D);if(He(Y))return this.parseTaggedTemplateExpression(c,b,D);let we=!1;if(Y===18){if(M&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return D.stop=!0,c;D.optionalChainMember=we=!0,this.next()}if(!M&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,b,D,we);{const De=this.eat(0);return De||we||this.eat(16)?this.parseMember(c,b,D,De,we):(D.stop=!0,c)}}parseMember(c,b,M,D,Y){const we=this.startNodeAt(b);return we.object=c,we.computed=D,D?(we.property=this.parseExpression(),this.expect(3)):this.match(138)?(c.type==="Super"&&this.raise(g.SuperPrivateField,b),this.classScope.usePrivateName(this.state.value,this.state.startLoc),we.property=this.parsePrivateName()):we.property=this.parseIdentifier(!0),M.optionalChainMember?(we.optional=Y,this.finishNode(we,"OptionalMemberExpression")):this.finishNode(we,"MemberExpression")}parseBind(c,b,M,D){const Y=this.startNodeAt(b);return Y.object=c,this.next(),Y.callee=this.parseNoCallExpr(),D.stop=!0,this.parseSubscripts(this.finishNode(Y,"BindExpression"),b,M)}parseCoverCallAndAsyncArrowHead(c,b,M,D){const Y=this.state.maybeInArrowParameters;let we=null;this.state.maybeInArrowParameters=!0,this.next();const De=this.startNodeAt(b);De.callee=c;const{maybeAsyncArrow:Ue,optionalChainMember:Ke}=M;Ue&&(this.expressionScope.enter(new yr(2)),we=new os),Ke&&(De.optional=D),De.arguments=D?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",De,we);let et=this.finishCallExpression(De,Ke);return Ue&&this.shouldParseAsyncArrow()&&!D?(M.stop=!0,this.checkDestructuringPrivate(we),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),et=this.parseAsyncArrowFromCallExpression(this.startNodeAt(b),et)):(Ue&&(this.checkExpressionErrors(we,!0),this.expressionScope.exit()),this.toReferencedArguments(et)),this.state.maybeInArrowParameters=Y,et}toReferencedArguments(c,b){this.toReferencedListDeep(c.arguments,b)}parseTaggedTemplateExpression(c,b,M){const D=this.startNodeAt(b);return D.tag=c,D.quasi=this.parseTemplate(!0),M.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,b),this.finishNode(D,"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,b){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 M of c.arguments)M.type==="SpreadElement"&&this.raise(g.ImportCallSpreadArgument,M);return this.finishNode(c,b?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,b,M,D,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)){!b||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(g.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),D&&this.addTrailingCommaExtraToNode(D),this.next();break}we.push(this.parseExprListItem(!1,Y,M))}return this.state.inFSharpPipelineDirectBody=Ue,we}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,b){var M;return this.resetPreviousNodeTrailingComments(b),this.expect(19),this.parseArrowExpression(c,b.arguments,!0,(M=b.extra)==null?void 0:M.trailingCommaLoc),b.innerComments&&fr(c,b.innerComments),b.callee.trailingComments&&fr(c,b.callee.trailingComments),c}parseNoCallExpr(){const c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let b,M=null;const{type:D}=this.state;switch(D){case 79:return this.parseSuper();case 83:return b=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(b):this.match(10)?this.options.createImportExpressions?this.parseImportCall(b):this.finishNode(b,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(b,"Import"));case 78:return b=this.startNode(),this.next(),this.finishNode(b,"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:M=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(M,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{b=this.startNode(),this.next(),b.object=null;const Y=b.callee=this.parseNoCallExpr();if(Y.type==="MemberExpression")return this.finishNode(b,"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(ae(D)){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(ae(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,b){const M=this.getPluginOption("pipelineOperator","proposal");if(M)return this.state.type=c,this.state.value=b,this.state.pos--,this.state.end--,this.state.endLoc=s(this.state.endLoc,-1),this.parseTopicReference(M);this.unexpected()}parseTopicReference(c){const b=this.startNode(),M=this.state.startLoc,D=this.state.type;return this.next(),this.finishTopicReference(b,M,c,D)}finishTopicReference(c,b,M,D){if(this.testTopicReferenceConfiguration(M,b,D)){const Y=M==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(M==="smart"?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,b),this.registerTopicReference(),this.finishNode(c,Y)}throw this.raise(g.PipeTopicUnconfiguredToken,b,{token:ge(D)})}testTopicReferenceConfiguration(c,b,M){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ge(M)}]);case"smart":return M===27;default:throw this.raise(g.PipeTopicRequiresHackPipes,b)}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(Xn(!0,this.prodParam.hasYield));const b=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(c,b,!0)}parseDo(c,b){this.expectPlugin("doExpressions"),b&&this.expectPlugin("asyncDoExpressions"),c.async=b,this.next();const M=this.state.labels;return this.state.labels=[],b?(this.prodParam.enter(2),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=M,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(),b=this.startNodeAt(s(this.state.startLoc,1)),M=this.state.value;return this.next(),c.id=this.createIdentifier(b,M),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){const c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const b=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,b,"sent")}return this.parseFunction(c)}parseMetaProperty(c,b,M){c.meta=b;const D=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==M||D)&&this.raise(g.UnsupportedMetaProperty,c.property,{target:b.name,onlyValidPropertyName:M}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){const b=this.createIdentifier(this.startNodeAtNode(c),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,b),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const M=this.isContextual(105);if(M||this.unexpected(),this.expectPlugin(M?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),c.phase=M?"source":"defer",this.parseImportCall(c)}return this.parseMetaProperty(c,b,"meta")}parseLiteralAtNode(c,b,M){return this.addExtra(M,"rawValue",c),this.addExtra(M,"raw",this.input.slice(M.start,this.state.end)),M.value=c,this.next(),this.finishNode(M,b)}parseLiteral(c,b){const M=this.startNode();return this.parseLiteralAtNode(c,b,M)}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 b=this.parseLiteral(c.value,"RegExpLiteral");return b.pattern=c.pattern,b.flags=c.flags,b}parseBooleanLiteral(c){const b=this.startNode();return b.value=c,this.next(),this.finishNode(b,"BooleanLiteral")}parseNullLiteral(){const c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){const b=this.state.startLoc;let M;this.next(),this.expressionScope.enter(new yr(1));const D=this.state.maybeInArrowParameters,Y=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const we=this.state.startLoc,De=[],Ue=new os;let Ke,et,Et=!0;for(;!this.match(11);){if(Et)Et=!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 Tr=this.state.startLoc;if(Ke=this.state.startLoc,De.push(this.parseParenItem(this.parseRestBinding(),Tr)),!this.checkCommaAfterRest(41))break}else De.push(this.parseMaybeAssignAllowIn(Ue,this.parseParenItem))}const Xt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=D,this.state.inFSharpPipelineDirectBody=Y;let Kt=this.startNodeAt(b);return c&&this.shouldParseArrow(De)&&(Kt=this.parseArrow(Kt))?(this.checkDestructuringPrivate(Ue),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Kt,De,!1),Kt):(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?(M=this.startNodeAt(we),M.expressions=De,this.finishNode(M,"SequenceExpression"),this.resetEndLocation(M,Xt)):M=De[0],this.wrapParenthesis(b,M))}wrapParenthesis(c,b){if(!this.options.createParenthesizedExpressions)return this.addExtra(b,"parenthesized",!0),this.addExtra(b,"parenStart",c.index),this.takeSurroundingComments(b,c.index,this.state.lastTokEndLoc.index),b;const M=this.startNodeAt(c);return M.expression=b,this.finishNode(M,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,b){return c}parseNewOrNewTarget(){const c=this.startNode();if(this.next(),this.match(16)){const b=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();const M=this.parseMetaProperty(c,b,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(g.UnexpectedNewTarget,M),M}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){const b=this.parseExprList(11);this.toReferencedList(b),c.arguments=b}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){const b=this.match(83),M=this.parseNoCallExpr();c.callee=M,!b||M.type!=="Import"&&M.type!=="ImportExpression"||this.raise(g.ImportCallNotNewExpression,M)}parseTemplateElement(c){const{start:b,startLoc:M,end:D,value:Y}=this.state,we=b+1,De=this.startNodeAt(s(M,1));Y===null&&(c||this.raise(g.InvalidEscapeSequenceTemplate,s(this.state.firstInvalidTemplateEscapePos,1)));const Ue=this.match(24),Ke=Ue?-1:-2,et=D+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 Et=this.finishNode(De,"TemplateElement");return this.resetEndLocation(Et,s(this.state.lastTokEndLoc,Ke)),Et}parseTemplate(c){const b=this.startNode();b.expressions=[];let M=this.parseTemplateElement(c);for(b.quasis=[M];!M.tail;)b.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),b.quasis.push(M=this.parseTemplateElement(c));return this.finishNode(b,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,b,M,D){M&&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;b?et=this.parseBindingProperty():(et=this.parsePropertyDefinition(D),this.checkProto(et,M,we,D)),M&&!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 b?Ke="ObjectPattern":M&&(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 b=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)b.push(this.parseDecorator());const M=this.startNode();let D,Y=!1,we=!1;if(this.match(21))return b.length&&this.unexpected(),this.parseSpread();b.length&&(M.decorators=b,b=[]),M.method=!1,c&&(D=this.state.startLoc);let De=this.eat(55);this.parsePropertyNamePrefixOperator(M);const Ue=this.state.containsEsc,Ke=this.parsePropertyName(M,c);if(!De&&!Ue&&this.maybeAsyncOrAccessorProp(M)){const et=Ke.name;et!=="async"||this.hasPrecedingLineBreak()||(Y=!0,this.resetPreviousNodeTrailingComments(Ke),De=this.eat(55),this.parsePropertyName(M)),et!=="get"&&et!=="set"||(we=!0,this.resetPreviousNodeTrailingComments(Ke),M.kind=et,this.match(55)&&(De=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:et}),this.next()),this.parsePropertyName(M))}return this.parseObjPropValue(M,D,De,Y,!1,we,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var b;const M=this.getGetterSetterExpectedParamCount(c),D=this.getObjectOrClassMethodParams(c);D.length!==M&&this.raise(c.kind==="get"?g.BadGetterArity:g.BadSetterArity,c),c.kind==="set"&&((b=D[D.length-1])==null?void 0:b.type)==="RestElement"&&this.raise(g.BadSetterRestParameter,c)}parseObjectMethod(c,b,M,D,Y){if(Y){const we=this.parseMethod(c,b,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(we),we}if(M||b||this.match(10))return D&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,b,M,!1,!1,"ObjectMethod")}parseObjectProperty(c,b,M,D){if(c.shorthand=!1,this.eat(14))return c.value=M?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(D),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),M)c.value=this.parseMaybeDefault(b,Yn(c.key));else if(this.match(29)){const Y=this.state.startLoc;D!=null?D.shorthandAssignLoc===null&&(D.shorthandAssignLoc=Y):this.raise(g.InvalidCoverInitializedName,Y),c.value=this.parseMaybeDefault(b,Yn(c.key))}else c.value=Yn(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,b,M,D,Y,we,De){const Ue=this.parseObjectMethod(c,M,D,Y,we)||this.parseObjectProperty(c,b,Y,De);return Ue||this.unexpected(),Ue}parsePropertyName(c,b){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:M,value:D}=this.state;let Y;if(ce(M))Y=this.parseIdentifier(!0);else switch(M){case 134:Y=this.parseNumericLiteral(D);break;case 133:Y=this.parseStringLiteral(D);break;case 135:Y=this.parseBigIntLiteral(D);break;case 136:Y=this.parseDecimalLiteral(D);break;case 138:{const we=this.state.startLoc;b!=null?b.privateKeyLoc===null&&(b.privateKeyLoc=we):this.raise(g.UnexpectedPrivateField,we),Y=this.parsePrivateName();break}default:this.unexpected()}c.key=Y,M!==138&&(c.computed=!1)}return c.key}initFunction(c,b){c.id=null,c.generator=!1,c.async=b}parseMethod(c,b,M,D,Y,we){let De=arguments.length>6&&arguments[6]!==void 0&&arguments[6];this.initFunction(c,M),c.generator=b,this.scope.enter(18|(De?64:0)|(Y?32:0)),this.prodParam.enter(Xn(M,c.generator)),this.parseFunctionParams(c,D);const Ue=this.parseFunctionBodyAndFinish(c,we,!0);return this.prodParam.exit(),this.scope.exit(),Ue}parseArrayLike(c,b,M,D){M&&this.expectPlugin("recordAndTuple");const Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const we=this.startNode();return this.next(),we.elements=this.parseExprList(c,!M,D,we),this.state.inFSharpPipelineDirectBody=Y,this.finishNode(we,M?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,b,M,D){this.scope.enter(6);let Y=Xn(M,!1);!this.match(5)&&this.prodParam.hasIn&&(Y|=8),this.prodParam.enter(Y),this.initFunction(c,M);const we=this.state.maybeInArrowParameters;return b&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,b,D)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=we,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,b,M){this.toAssignableList(b,M,!1),c.params=b}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.parseFunctionBody(c,!1,M),this.finishNode(c,b)}parseFunctionBody(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const D=b&&!this.match(5);if(this.expressionScope.enter(bn()),D)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,b,!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||b||M||Ue),b,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 b=0,M=c.length;b3&&arguments[3]!==void 0)||arguments[3];const Y=!b&&new Set,we={type:"FormalParameters"};for(const De of c.params)this.checkLVal(De,{in:we,binding:5,checkClashes:Y,strictModeChanged:D})}parseExprList(c,b,M,D){const Y=[];let we=!0;for(;!this.eat(c);){if(we)we=!1;else if(this.expect(12),this.match(c)){D&&this.addTrailingCommaExtraToNode(D),this.next();break}Y.push(this.parseExprListItem(b,M))}return Y}parseExprListItem(c,b,M){let D;if(this.match(12))c||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),D=null;else if(this.match(21)){const Y=this.state.startLoc;D=this.parseParenItem(this.parseSpread(b),Y)}else if(this.match(17)){this.expectPlugin("partialApplication"),M||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const Y=this.startNode();this.next(),D=this.finishNode(Y,"ArgumentPlaceholder")}else D=this.parseMaybeAssignAllowIn(b,this.parseParenItem);return D}parseIdentifier(c){const b=this.startNode(),M=this.parseIdentifierName(c);return this.createIdentifier(b,M)}createIdentifier(c,b){return c.name=b,c.loc.identifierName=b,this.finishNode(c,"Identifier")}parseIdentifierName(c){let b;const{startLoc:M,type:D}=this.state;ce(D)?b=this.state.value:this.unexpected();const Y=D<=92;return c?Y&&this.replaceToken(132):this.checkReservedWord(b,M,Y,!1),this.next(),b}checkReservedWord(c,b,M,D){if(!(c.length>10)&&(function(Y){return Ct.has(Y)})(c)){if(M&&(function(Y){return nt.has(Y)})(c))this.raise(g.UnexpectedKeyword,b,{keyword:c});else if((this.state.strict?D?vr:Bt:Qt)(c,this.inModule))this.raise(g.UnexpectedReservedWord,b,{reservedWord:c});else if(c==="yield"){if(this.prodParam.hasYield)return void this.raise(g.YieldBindingIdentifier,b)}else if(c==="await"){if(this.prodParam.hasAwait)return void this.raise(g.AwaitBindingIdentifier,b);if(this.scope.inStaticBlock)return void this.raise(g.AwaitBindingIdentifierInStaticBlock,b);this.expressionScope.recordAsyncArrowParametersError(b)}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(g.ArgumentsInClass,b)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(c){const b=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,b),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,b),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(b.argument=this.parseMaybeUnary(null,!0)),this.finishNode(b,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:c}=this.state;return c===53||c===10||c===0||He(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 b=!1,M=null;if(!this.hasPrecedingLineBreak())switch(b=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!b)break;default:M=this.parseMaybeAssign()}return c.delegate=b,c.argument=M,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,b){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(g.PipelineHeadSequenceExpression,b)}parseSmartPipelineBodyInStyle(c,b){if(this.isSimpleReference(c)){const M=this.startNodeAt(b);return M.callee=c,this.finishNode(M,"PipelineBareFunction")}{const M=this.startNodeAt(b);return this.checkSmartPipeTopicBodyEarlyErrors(b),M.expression=c,this.finishNode(M,"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 b=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=b}}withSmartMixTopicForbiddingContext(c){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return c();{const b=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=b}}}withSoloAwaitPermittingContext(c){const b=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=b}}allowInAnd(c){const b=this.prodParam.currentFlags();if(8&~b){this.prodParam.enter(8|b);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){const b=this.prodParam.currentFlags();if(8&b){this.prodParam.enter(-9&b);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 b=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const M=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const D=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),b,c);return this.state.inFSharpPipelineDirectBody=M,D}parseModuleExpression(){this.expectPlugin("moduleBlocks");const c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const b=this.startNodeAt(this.state.endLoc);this.next();const M=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(b,8,"module")}finally{M()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}}const zo={kind:1},No={kind:2},us=/[\uD800-\uDFFF]/u,Ci=/in(?:stanceof)?/y;class l1 extends Ja{parseTopLevel(c,b){return c.program=this.parseProgram(b),c.comments=this.comments,this.options.tokens&&(c.tokens=(function(M,D){for(let Y=0;Y1&&arguments[1]!==void 0?arguments[1]:139,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(c.sourceType=D,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,M),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 b=M===139?this.finishNode(c,"Program"):this.finishNodeAt(c,"Program",s(this.state.startLoc,-1)),b}stmtToDirective(c){const b=c;b.type="Directive",b.value=b.expression,delete b.expression;const M=b.value,D=M.value,Y=this.input.slice(M.start,M.end),we=M.value=Y.slice(1,-1);return this.addExtra(M,"raw",Y),this.addExtra(M,"rawValue",we),this.addExtra(M,"expressionValue",D),M.type="DirectiveLiteral",b}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,b){if(ke(c)){if(Ci.lastIndex=b,Ci.test(this.input)){const M=this.codePointAtPos(Ci.lastIndex);if(!Ge(M)&&M!==92)return!1}return!0}return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){const c=this.nextTokenStart(),b=this.codePointAtPos(c);return this.chStartsBindingPattern(b)||this.chStartsBindingIdentifier(b,c)}hasInLineFollowingBindingIdentifier(){const c=this.nextTokenInLineStart(),b=this.codePointAtPos(c);return this.chStartsBindingIdentifier(b,c)}startsUsingForOf(){const{type:c,containsEsc:b}=this.lookahead();return!(c===102&&!b)&&(ae(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 b=this.codePointAtPos(c);if(this.chStartsBindingIdentifier(b,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],b=0;return this.options.annexB&&!this.state.strict&&(b|=4,c&&(b|=8)),this.parseStatementLike(b)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let b=null;return this.match(26)&&(b=this.parseDecorators(!0)),this.parseStatementContent(c,b)}parseStatementContent(c,b){const M=this.state.type,D=this.startNode(),Y=!!(2&c),we=!!(4&c),De=1&c;switch(M){case 60:return this.parseBreakContinueStatement(D,!0);case 63:return this.parseBreakContinueStatement(D,!1);case 64:return this.parseDebuggerStatement(D);case 90:return this.parseDoWhileStatement(D);case 91:return this.parseForStatement(D);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(D,!1,!Y&&we);case 80:return Y||this.unexpected(),this.parseClass(this.maybeTakeDecorators(b,D),!0);case 69:return this.parseIfStatement(D);case 70:return this.parseReturnStatement(D);case 71:return this.parseSwitchStatement(D);case 72:return this.parseThrowStatement(D);case 73:return this.parseTryStatement(D);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?Y||this.raise(g.UnexpectedLexicalDeclaration,D):this.raise(g.AwaitUsingNotInAsyncContext,D),this.next(),this.parseVarStatement(D,"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(D,"using");case 100:{if(this.state.containsEsc)break;const et=this.nextTokenStart(),Et=this.codePointAtPos(et);if(Et!==91&&(!Y&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Et,et)&&Et!==123))break}case 75:Y||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const et=this.state.value;return this.parseVarStatement(D,et)}case 92:return this.parseWhileStatement(D);case 76:return this.parseWithStatement(D);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(D);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(),M===83?(et=this.parseImport(D),et.type!=="ImportDeclaration"||et.importKind&&et.importKind!=="value"||(this.sawUnambiguousESM=!0)):(et=this.parseExport(D,b),(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(D,!0,!Y&&we)}const Ue=this.state.value,Ke=this.parseExpression();return ae(M)&&Ke.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(D,Ue,Ke,c):this.parseExpressionStatement(D,Ke,b)}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,b,M){return c&&(b.decorators&&b.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(g.DecoratorsBeforeAfterExport,b.decorators[0]),b.decorators.unshift(...c)):b.decorators=c,this.resetStartLocationFromNode(b,c[0]),M&&this.resetStartLocationFromNode(M,b)),b}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){const b=[];do b.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 b}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const c=this.startNode();if(this.next(),this.hasPlugin("decorators")){const b=this.state.startLoc;let M;if(this.match(10)){const D=this.state.startLoc;this.next(),M=this.parseExpression(),this.expect(11),M=this.wrapParenthesis(D,M);const Y=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(M),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==M&&this.raise(g.DecoratorArgumentsOutsideParentheses,Y)}else{for(M=this.parseIdentifier(!1);this.eat(16);){const D=this.startNodeAt(b);D.object=M,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),D.property=this.parsePrivateName()):D.property=this.parseIdentifier(!0),D.computed=!1,M=this.finishNode(D,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(M)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){const b=this.startNodeAtNode(c);return b.callee=c,b.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(b.arguments),this.finishNode(b,"CallExpression")}return c}parseBreakContinueStatement(c,b){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,b),this.finishNode(c,b?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,b){let M;for(M=0;Mthis.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(zo);let b=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(b=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return b!==null&&this.unexpected(b),this.parseFor(c,null);const M=this.isContextual(100);{const Ue=this.isContextual(96)&&this.startsAwaitUsing(),Ke=Ue||this.isContextual(107)&&this.startsUsingForOf(),et=M&&this.hasFollowingBindingAtom()||Ke;if(this.match(74)||this.match(75)||et){const Et=this.startNode();let Xt;Ue?(Xt="await using",this.isAwaitAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Xt=this.state.value,this.next(),this.parseVar(Et,!0,Xt);const Kt=this.finishNode(Et,"VariableDeclaration"),Tr=this.match(58);return Tr&&Ke&&this.raise(g.ForInUsing,Kt),(Tr||this.isContextual(102))&&Kt.declarations.length===1?this.parseForIn(c,Kt,b):(b!==null&&this.unexpected(b),this.parseFor(c,Kt))}}const D=this.isContextual(95),Y=new os,we=this.parseExpression(!0,Y),De=this.isContextual(102);if(De&&(M&&this.raise(g.ForOfLet,we),b===null&&D&&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,b)}return this.checkExpressionErrors(Y,!0),b!==null&&this.unexpected(b),this.parseFor(c,we)}parseFunctionStatement(c,b,M){return this.next(),this.parseFunction(c,1|(M?2:0)|(b?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 b=c.cases=[];let M;this.expect(5),this.state.labels.push(No),this.scope.enter(0);for(let D;!this.match(8);)if(this.match(61)||this.match(65)){const Y=this.match(61);M&&this.finishNode(M,"SwitchCase"),b.push(M=this.startNode()),M.consequent=[],this.next(),Y?M.test=this.parseExpression():(D&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),D=!0,M.test=null),this.expect(14)}else M?M.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),M&&this.finishNode(M,"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 b=this.startNode();this.next(),this.match(10)?(this.expect(10),b.param=this.parseCatchClauseParam(),this.expect(11)):(b.param=null,this.scope.enter(0)),b.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),c.handler=this.finishNode(b,"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,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.next(),this.parseVar(c,!1,b,M),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(zo),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,b,M,D){for(const De of this.state.labels)De.name===b&&this.raise(g.LabelRedeclaration,M,{labelName:b});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:b,kind:Y,statementStart:this.state.start}),c.body=8&D?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=M,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,b,M){return c.expression=b,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0],b=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],M=arguments.length>2?arguments[2]:void 0;const D=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),b&&this.scope.enter(0),this.parseBlockBody(D,c,!1,8,M),b&&this.scope.exit(),this.finishNode(D,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,b,M,D,Y){const we=c.body=[],De=c.directives=[];this.parseBlockOrModuleBlockBody(we,b?De:void 0,M,D,Y)}parseBlockOrModuleBlockBody(c,b,M,D,Y){const we=this.state.strict;let De=!1,Ue=!1;for(;!this.match(D);){const Ke=M?this.parseModuleItem():this.parseStatementListItem();if(b&&!Ue){if(this.isValidDirective(Ke)){const et=this.stmtToDirective(Ke);b.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,b){return c.init=b,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,b,M){const D=this.match(58);return this.next(),D?M!==null&&this.unexpected(M):c.await=M!==null,b.type!=="VariableDeclaration"||b.declarations[0].init==null||D&&this.options.annexB&&!this.state.strict&&b.kind==="var"&&b.declarations[0].id.type==="Identifier"||this.raise(g.ForInOfLoopInitializer,b,{type:D?"ForInStatement":"ForOfStatement"}),b.type==="AssignmentPattern"&&this.raise(g.InvalidLhs,b,{ancestor:{type:"ForStatement"}}),c.left=b,c.right=D?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,D?"ForInStatement":"ForOfStatement")}parseVar(c,b,M){let D=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const Y=c.declarations=[];for(c.kind=M;;){const we=this.startNode();if(this.parseVarId(we,M),we.init=this.eat(29)?b?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,we.init!==null||D||(we.id.type==="Identifier"||b&&(this.match(58)||this.isContextual(102))?M!=="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,b){const M=this.parseBindingAtom();this.checkLVal(M,{in:{type:"VariableDeclarator"},binding:b==="var"?5:8201}),c.id=M}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const M=2&b,D=!!(1&b),Y=D&&!(4&b),we=!!(8&b);this.initFunction(c,we),this.match(55)&&(M&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),c.generator=!0),D&&(c.id=this.parseFunctionId(Y));const De=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Xn(we,c.generator)),D||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(c,D?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),D&&!M&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=De,c}parseFunctionId(c){return c||ae(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,b){this.expect(10),this.expressionScope.enter(new Hr(3)),c.params=this.parseBindingList(11,41,2|(b?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,b,M){this.next();const D=this.state.strict;return this.state.strict=!0,this.parseClassId(c,b,M),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,D),this.finishNode(c,b?"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,b){this.classScope.enter();const M={hadConstructor:!1,hadSuperClass:c};let D=[];const Y=this.startNode();if(Y.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(D.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){D.push(this.parseDecorator());continue}const we=this.startNode();D.length&&(we.decorators=D,this.resetStartLocationFromNode(we,D[0]),D=[]),this.parseClassMember(Y,we,M),we.kind==="constructor"&&we.decorators&&we.decorators.length>0&&this.raise(g.DecoratorConstructor,we)}})),this.state.strict=b,this.next(),D.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(Y,"ClassBody")}parseClassMemberFromModifier(c,b){const M=this.parseIdentifier(!0);if(this.isClassMethod()){const D=b;return D.kind="method",D.computed=!1,D.key=M,D.static=!1,this.pushClassMethod(c,D,!1,!1,!1,!1),!0}if(this.isClassProperty()){const D=b;return D.computed=!1,D.key=M,D.static=!1,c.body.push(this.parseClassProperty(D)),!0}return this.resetPreviousNodeTrailingComments(M),!1}parseClassMember(c,b,M){const D=this.isContextual(106);if(D){if(this.parseClassMemberFromModifier(c,b))return;if(this.eat(5))return void this.parseClassStaticBlock(c,b)}this.parseClassMemberWithIsStatic(c,b,M,D)}parseClassMemberWithIsStatic(c,b,M,D){const Y=b,we=b,De=b,Ue=b,Ke=b,et=Y,Et=Y;if(b.static=D,this.parsePropertyNamePrefixOperator(b),this.eat(55)){et.kind="method";const mn=this.match(138);return this.parseClassElementName(et),mn?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 Xt=ae(this.state.type)&&!this.state.containsEsc,Kt=this.match(138),Tr=this.parseClassElementName(b),Mn=this.state.startLoc;if(this.parsePostMemberNameModifiers(Et),this.isClassMethod()){if(et.kind="method",Kt)return void this.pushClassPrivateMethod(c,we,!1,!1);const mn=this.isNonstaticConstructor(Y);let kn=!1;mn&&(Y.kind="constructor",M.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,Tr),mn&&this.hasPlugin("typescript")&&b.override&&this.raise(g.OverrideOnConstructor,Tr),M.hadConstructor=!0,kn=M.hadSuperClass),this.pushClassMethod(c,Y,!1,!1,mn,kn)}else if(this.isClassProperty())Kt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De);else if(Xt&&Tr.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Tr);const mn=this.eat(55);Et.optional&&this.unexpected(Mn),et.kind="method";const kn=this.match(138);this.parseClassElementName(et),this.parsePostMemberNameModifiers(Et),kn?this.pushClassPrivateMethod(c,we,mn,!0):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsAsync,Y.key),this.pushClassMethod(c,Y,mn,!0,!1,!1))}else if(!Xt||Tr.name!=="get"&&Tr.name!=="set"||this.match(55)&&this.isLineTerminator())if(Xt&&Tr.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Tr);const mn=this.match(138);this.parseClassElementName(De),this.pushClassAccessorProperty(c,Ke,mn)}else this.isLineTerminator()?Kt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De):this.unexpected();else{this.resetPreviousNodeTrailingComments(Tr),et.kind=Tr.name;const mn=this.match(138);this.parseClassElementName(Y),mn?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:b,value:M}=this.state;if(b!==132&&b!==133||!c.static||M!=="prototype"||this.raise(g.StaticPrototype,this.state.startLoc),b===138){M==="constructor"&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const D=this.parsePrivateName();return c.key=D,D}return this.parsePropertyName(c)}parseClassStaticBlock(c,b){var M;this.scope.enter(208);const D=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const Y=b.body=[];this.parseBlockOrModuleBlockBody(Y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=D,c.body.push(this.finishNode(b,"StaticBlock")),(M=b.decorators)!=null&&M.length&&this.raise(g.DecoratorStaticBlock,b)}pushClassProperty(c,b){b.computed||b.key.name!=="constructor"&&b.key.value!=="constructor"||this.raise(g.ConstructorClassField,b.key),c.body.push(this.parseClassProperty(b))}pushClassPrivateProperty(c,b){const M=this.parseClassPrivateProperty(b);c.body.push(M),this.classScope.declarePrivateName(this.getPrivateNameSV(M.key),0,M.key.loc.start)}pushClassAccessorProperty(c,b,M){if(!M&&!b.computed){const Y=b.key;Y.name!=="constructor"&&Y.value!=="constructor"||this.raise(g.ConstructorClassField,Y)}const D=this.parseClassAccessorProperty(b);c.body.push(D),M&&this.classScope.declarePrivateName(this.getPrivateNameSV(D.key),0,D.key.loc.start)}pushClassMethod(c,b,M,D,Y,we){c.body.push(this.parseMethod(b,M,D,Y,we,"ClassMethod",!0))}pushClassPrivateMethod(c,b,M,D){const Y=this.parseMethod(b,M,D,!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,b){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),b,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(bn()),this.prodParam.enter(0),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,b,M){let D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8331;if(ae(this.state.type))c.id=this.parseIdentifier(),b&&this.declareNameFromIdentifier(c.id,D);else{if(!M&&b)throw this.raise(g.MissingClassName,this.state.startLoc);c.id=null}}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,b){const M=this.parseMaybeImportPhase(c,!0),D=this.maybeParseExportDefaultSpecifier(c,M),Y=!D||this.eat(12),we=Y&&this.eatExportStar(c),De=we&&this.maybeParseExportNamespaceSpecifier(c),Ue=Y&&(!De||this.eat(12)),Ke=D||we;if(we&&!De){if(D&&this.unexpected(),b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}const et=this.maybeParseExportNamedSpecifiers(c);let Et;if(D&&Y&&!we&&!et&&this.unexpected(null,5),De&&Ue&&this.unexpected(null,98),Ke||et){if(Et=!1,b)throw this.raise(g.UnsupportedDecoratorExport,c);this.parseExportFrom(c,Ke)}else Et=this.maybeParseExportDeclaration(c);if(Ke||et||Et){var Xt;const Kt=c;if(this.checkExport(Kt,!0,!1,!!Kt.source),((Xt=Kt.declaration)==null?void 0:Xt.type)==="ClassDeclaration")this.maybeTakeDecorators(b,Kt.declaration,Kt);else if(b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.finishNode(Kt,"ExportNamedDeclaration")}if(this.eat(65)){const Kt=c,Tr=this.parseExportDefaultExpression();if(Kt.declaration=Tr,Tr.type==="ClassDeclaration")this.maybeTakeDecorators(b,Tr,Kt);else if(b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.checkExport(Kt,!0,!0),this.finishNode(Kt,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c,b){if(b||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",b?.loc.start);const M=b||this.parseIdentifier(!0),D=this.startNodeAtNode(M);return D.exported=M,c.specifiers=[this.finishNode(D,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);const b=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),b.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(b,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);const b=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(b)),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 b=this.parseMaybeAssignAllowIn();return this.semicolon(),b}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:c}=this.state;if(ae(c)){if(c===95&&!this.state.containsEsc||c===100)return!1;if((c===130||c===129)&&!this.state.containsEsc){const{type:D}=this.lookahead();if(ae(D)&&D!==98||D===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const b=this.nextTokenStart(),M=this.isUnparsedContextual(b,"from");if(this.input.charCodeAt(b)===44||ae(this.state.type)&&M)return!0;if(this.match(65)&&M){const D=this.input.charCodeAt(this.nextTokenStartSince(b+4));return D===34||D===39}return!1}parseExportFrom(c,b){this.eatContextual(98)?(c.source=this.parseImportSource(),this.checkExport(c),this.maybeParseImportAttributes(c),this.checkJSONModuleImport(c)):b&&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,b,M,D){var Y;if(b){if(M){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),!D&&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 b of c.properties)this.checkDeclaration(b);else if(c.type==="ArrayPattern")for(const b of c.elements)b&&this.checkDeclaration(b);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,b){this.exportedIdentifiers.has(b)&&(b==="default"?this.raise(g.DuplicateDefaultExport,c):this.raise(g.DuplicateExport,c,{exportName:b})),this.exportedIdentifiers.add(b)}parseExportSpecifiers(c){const b=[];let M=!0;for(this.expect(5);!this.eat(8);){if(M)M=!1;else if(this.expect(12),this.eat(8))break;const D=this.isContextual(130),Y=this.match(133),we=this.startNode();we.local=this.parseModuleExportName(),b.push(this.parseExportSpecifier(we,Y,c,D))}return b}parseExportSpecifier(c,b,M,D){return this.eatContextual(93)?c.exported=this.parseModuleExportName():b?c.exported=(function(Y){const{type:we,start:De,end:Ue,loc:Ke,range:et,extra:Et}=Y;if(we==="Placeholder")return(function(Kt){return Yn(Kt)})(Y);const Xt=Object.create(Hn);return Xt.type=we,Xt.start=De,Xt.end=Ue,Xt.loc=Ke,Xt.range=et,Y.raw!==void 0?Xt.raw=Y.raw:Xt.extra=Et,Xt.value=Y.value,Xt})(c.local):c.exported||(c.exported=Yn(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const c=this.parseStringLiteral(this.state.value),b=c.value.match(us);return b&&this.raise(g.ModuleExportNameHasLoneSurrogate,c,{surrogateCharCode:b[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null&&c.assertions.some((b=>{let{key:M,value:D}=b;return D.value==="json"&&(M.type==="Identifier"?M.name==="type":M.value==="type")}))}checkImportReflection(c){const{specifiers:b}=c,M=b.length===1?b[0].type:null;if(c.phase==="source")M!=="ImportDefaultSpecifier"&&this.raise(g.SourcePhaseImportRequiresDefault,b[0].loc.start);else if(c.phase==="defer")M!=="ImportNamespaceSpecifier"&&this.raise(g.DeferImportRequiresNamespace,b[0].loc.start);else if(c.module){var D;M!=="ImportDefaultSpecifier"&&this.raise(g.ImportReflectionNotBinding,b[0].loc.start),((D=c.assertions)==null?void 0:D.length)>0&&this.raise(g.ImportReflectionHasAssertion,b[0].loc.start)}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){const{specifiers:b}=c;if(b!=null){const M=b.find((D=>{let Y;if(D.type==="ExportSpecifier"?Y=D.local:D.type==="ImportSpecifier"&&(Y=D.imported),Y!==void 0)return Y.type==="Identifier"?Y.name!=="default":Y.value!=="default"}));M!==void 0&&this.raise(g.ImportJSONBindingNotDefault,M.loc.start)}}}isPotentialImportPhase(c){return!c&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(c,b,M,D){b||(M==="module"?(this.expectPlugin("importReflection",D),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1),M==="source"?(this.expectPlugin("sourcePhaseImports",D),c.phase="source"):M==="defer"?(this.expectPlugin("deferredImportEvaluation",D),c.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(c.phase=null))}parseMaybeImportPhase(c,b){if(!this.isPotentialImportPhase(b))return this.applyImportPhase(c,b,null),null;const M=this.parseIdentifier(!0),{type:D}=this.state;return(ce(D)?D!==98||this.lookaheadCharCode()===102:D!==12)?(this.resetPreviousIdentifierLeadingComments(M),this.applyImportPhase(c,b,M.name,M.loc.start),null):(this.applyImportPhase(c,b,null),M)}isPrecedingIdImportPhase(c){const{type:b}=this.state;return ae(b)?b!==98||this.lookaheadCharCode()===102:b!==12}parseImport(c){return this.match(133)?this.parseImportSourceAndAttributes(c):this.parseImportSpecifiersAndAfter(c,this.parseMaybeImportPhase(c,!1))}parseImportSpecifiersAndAfter(c,b){c.specifiers=[];const M=!this.maybeParseDefaultImportSpecifier(c,b)||this.eat(12),D=M&&this.maybeParseStarImportSpecifier(c);return M&&!D&&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,b,M){b.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(b,M))}finishImportSpecifier(c,b){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8201;return this.checkLVal(c.local,{in:{type:b},binding:M}),this.finishNode(c,b)}parseImportAttributes(){this.expect(5);const c=[],b=new Set;do{if(this.match(8))break;const M=this.startNode(),D=this.state.value;if(b.has(D)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:D}),b.add(D),this.match(133)?M.key=this.parseStringLiteral(D):M.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);M.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(M,"ImportAttribute"))}while(this.eat(12));return this.expect(8),c}parseModuleAttributes(){const c=[],b=new Set;do{const M=this.startNode();if(M.key=this.parseIdentifier(!0),M.key.name!=="type"&&this.raise(g.ModuleAttributeDifferentFromType,M.key),b.has(M.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,M.key,{key:M.key.name}),b.add(M.key.name),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);M.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(M,"ImportAttribute"))}while(this.eat(12));return c}maybeParseImportAttributes(c){let b,M=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?b=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),b=this.parseImportAttributes()),M=!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(),b=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))b=[];else{if(!this.hasPlugin("moduleAttributes"))return;b=[]}!M&&this.hasPlugin("importAssertions")?c.assertions=b:c.attributes=b}maybeParseDefaultImportSpecifier(c,b){if(b){const M=this.startNodeAtNode(b);return M.local=b,c.specifiers.push(this.finishImportSpecifier(M,"ImportDefaultSpecifier")),!0}return!!ce(this.state.type)&&(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(c){if(this.match(55)){const b=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,b,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let b=!0;for(this.expect(5);!this.eat(8);){if(b)b=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const M=this.startNode(),D=this.match(133),Y=this.isContextual(130);M.imported=this.parseModuleExportName();const we=this.parseImportSpecifier(M,D,c.importKind==="type"||c.importKind==="typeof",Y,void 0);c.specifiers.push(we)}}parseImportSpecifier(c,b,M,D,Y){if(this.eatContextual(93))c.local=this.parseIdentifier();else{const{imported:we}=c;if(b)throw this.raise(g.ImportBindingIsString,c,{importName:we.value});this.checkReservedWord(we.name,c.loc.start,!0,!0),c.local||(c.local=Yn(we))}return this.finishImportSpecifier(c,"ImportSpecifier",Y)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}}class Zi extends l1{constructor(c,b){super(c=(function(M){if(M==null)return Object.assign({},fa);if(M.annexB!=null&&M.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const D={};for(const we of Object.keys(fa)){var Y;D[we]=(Y=M[we])!=null?Y:fa[we]}return D})(c),b),this.options=c,this.initializeScopes(),this.plugins=(function(M){const D=new Map;for(const Y of M){const[we,De]=Array.isArray(Y)?Y:[Y,{}];D.has(we)||D.set(we,De||{})}return D})(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return Jr}parse(){this.enterInitialScopes();const c=this.startNode(),b=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,b),c.errors=this.state.errors,c.comments.length=this.state.commentsLen,c}}const Ls=(function(Ae){const c={};for(const b of Object.keys(Ae))c[b]=ee(Ae[b]);return c})(ue);function Hi(Ae,c){let b=Zi;return Ae!=null&&Ae.plugins&&((function(M){if(wn(M,"decorators")){if(wn(M,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const D=zs(M,"decorators","decoratorsBeforeExport");if(D!=null&&typeof D!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const Y=zs(M,"decorators","allowCallParenthesized");if(Y!=null&&typeof Y!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(wn(M,"flow")&&wn(M,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(wn(M,"placeholders")&&wn(M,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(wn(M,"pipelineOperator")){const D=zs(M,"pipelineOperator","proposal");if(!Io.includes(D)){const we=Io.map((De=>`"${De}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${we}.`)}const Y=wn(M,["recordAndTuple",{syntaxType:"hash"}]);if(D==="hack"){if(wn(M,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(wn(M,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const we=zs(M,"pipelineOperator","topicToken");if(!Ya.includes(we)){const De=Ya.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(D==="smart"&&Y)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(wn(M,"moduleAttributes")){if(wn(M,"importAssertions")||wn(M,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(zs(M,"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(wn(M,"importAssertions")&&wn(M,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(wn(M,"recordAndTuple")&&zs(M,"recordAndTuple","syntaxType")!=null&&!ko.includes(zs(M,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ko.map((D=>`'${D}'`)).join(", "));if(wn(M,"asyncDoExpressions")&&!wn(M,"doExpressions")){const D=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw D.missingPlugins="doExpressions",D}if(wn(M,"optionalChainingAssign")&&zs(M,"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'.")})(Ae.plugins),b=(function(M){const D=ha.filter((De=>wn(M,De))),Y=D.join("/");let we=Qa[Y];if(!we){we=Zi;for(const De of D)we=pa[De](we);Qa[Y]=we}return we})(Ae.plugins)),new b(Ae,c)}const Qa={};e.parse=function(Ae,c){var b;if(((b=c)==null?void 0:b.sourceType)!=="unambiguous")return Hi(c,Ae).parse();c=Object.assign({},c);try{c.sourceType="module";const M=Hi(c,Ae),D=M.parse();if(M.sawUnambiguousESM)return D;if(M.ambiguousScriptDifferentAst)try{return c.sourceType="script",Hi(c,Ae).parse()}catch{}else D.program.sourceType="script";return D}catch(M){try{return c.sourceType="script",Hi(c,Ae).parse()}catch{}throw M}},e.parseExpression=function(Ae,c){const b=Hi(c,Ae);return b.options.strictMode&&(b.state.strict=!0),b.getExpression()},e.tokTypes=Ls},(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 p=function(){throw new s},u=l?(function(){try{return p}catch{try{return l(arguments,"callee").get}catch{return p}}})():p,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%":u,"%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 S=m(m(N));C["%Error.prototype%"]=S}var x=function N($){var H;if($==="%AsyncFunction%")H=o("async function () {}");else if($==="%GeneratorFunction%")H=o("function* () {}");else if($==="%AsyncGeneratorFunction%")H=o("async function* () {}");else if($==="%AsyncGenerator%"){var R=N("%AsyncGeneratorFunction%");R&&(H=R.prototype)}else if($==="%AsyncIteratorPrototype%"){var K=N("%AsyncGenerator%");K&&m&&(H=m(K.prototype))}return C[$]=H,H},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),y=n(233),_=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),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,F=function(N,$){var H,R=N;if(y(g,R)&&(R="%"+(H=g[R])[0]+"%"),y(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:H,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 H=(function(ce){var oe=I(ce,0,1),ie=I(ce,-1);if(oe==="%"&&ie!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ie==="%"&&oe!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Se=[];return O(ce,q,(function(ne,ge,xe,He){Se[Se.length]=xe?O(He,W,"$1"):ge||ne})),Se})(N),R=H.length>0?H[0]:"",K=F("%"+R+"%",$),se=K.name,he=K.value,Le=!1,X=K.alias;X&&(R=X[0],T(H,_([0,1],X)));for(var Q=1,fe=!0;Q=H.length){var ae=l(he,Ce);he=(fe=!!ae)&&"get"in ae&&!("originalValue"in ae.get)?ae.get:he[Ce]}else fe=y(he,Ce),he=he[Ce];fe&&!Le&&(C[se]=he)}}return he}},(t,e,n)=>{const r=n(34),a=n(47),i=n(3),s=n(128),o=n(30),l=n(253),p=n(254),u=n(255),h=n(256),d=n(257),m=n(258),f=n(259),v=n(260),C=n(7),S=n(261),x=n(262),g=n(76),w=n(263),y=n(264),_=n(49),T=n(77),O=n(129),I=n(130),z=n(78),q=n(79),W=n(131),F=n(265),N=n(50),$=n(8),H=n(51),R=n(268),K=n(269),se=n(270),he=n(271),Le=n(272),X=n(80),Q=n(273),fe=n(274),Ce=n(275),Me=n(276),ue=n(277);t.exports={parse:o,valid:l,clean:p,inc:u,diff:h,major:d,minor:m,patch:f,prerelease:v,compare:C,rcompare:S,compareLoose:x,compareBuild:g,sort:w,rsort:y,gt:_,lt:T,eq:O,neq:I,gte:z,lte:q,cmp:W,coerce:F,Comparator:N,Range:$,satisfies:H,toComparators:R,maxSatisfying:K,minSatisfying:se,minVersion:he,validRange:Le,outside:X,gtr:Q,ltr:fe,intersects:Ce,simplifyRange:Me,subset:ue,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),p=n(52),u=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,S=new Array(C),x=0;xS==="proxyOf"?C:C[S]?S==="each"||typeof S=="string"&&S.startsWith("walk")?function(){for(var x=arguments.length,g=new Array(x),w=0;wtypeof y=="function"?(_,T)=>y(_.toProxy(),T):y)))}:S==="every"||S==="some"?x=>C[S]((function(g){for(var w=arguments.length,y=new Array(w>1?w-1:0),_=1;_C.root().toProxy():S==="nodes"?C.nodes.map((x=>x.toProxy())):S==="first"||S==="last"?C[S].toProxy():C[S]:C[S],set:(C,S,x)=>(C[S]===x||(C[S]=x,S!=="name"&&S!=="params"&&S!=="selector"||C.markDirty()),!0)}}index(C){return typeof C=="number"?C:(C.proxyOf&&(C=C.proxyOf),this.proxyOf.nodes.indexOf(C))}insertAfter(C,S){let x,g=this.index(C),w=this.normalize(S,this.proxyOf.nodes[g]).reverse();g=this.index(C);for(let y of w)this.proxyOf.nodes.splice(g+1,0,y);for(let y in this.indexes)x=this.indexes[y],g(x[l]||f.rebuild(x),(x=x.proxyOf).parent&&x.parent.removeChild(x),x[o]&&m(x),x.raws.before===void 0&&S&&S.raws.before!==void 0&&(x.raws.before=S.raws.before.replace(/\S/g,"")),x.parent=this.proxyOf,x)))}prepend(){for(var C=arguments.length,S=new Array(C),x=0;x=C&&(this.indexes[x]=S-1);return this.markDirty(),this}replaceValues(C,S,x){return x||(x=S,S={}),this.walkDecls((g=>{S.props&&!S.props.includes(g.prop)||S.fast&&!g.value.includes(S.fast)||(g.value=g.value.replace(C,x))})),this.markDirty(),this}some(C){return this.nodes.some(C)}walk(C){return this.each(((S,x)=>{let g;try{g=C(S,x)}catch(w){throw S.addToError(w)}return g!==!1&&S.walk&&(g=S.walk(C)),g}))}walkAtRules(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="atrule"&&C.test(x.name))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="atrule"&&x.name===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="atrule")return S(x,g)})))}walkComments(C){return this.walk(((S,x)=>{if(S.type==="comment")return C(S,x)}))}walkDecls(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="decl"&&C.test(x.prop))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="decl"&&x.prop===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="decl")return S(x,g)})))}walkRules(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="rule"&&C.test(x.selector))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="rule"&&x.selector===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="rule")return S(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,p.prototype):v.type==="comment"?Object.setPrototypeOf(v,u.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(Q){return typeof Q}:function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},a(X)}function i(X,Q,fe){return Object.defineProperty(X,"prototype",{writable:!1}),X}var s,o,l=n(227).codes,p=l.ERR_AMBIGUOUS_ARGUMENT,u=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,S=C.isPromise,x=C.isRegExp,g=n(242)(),w=n(74)(),y=n(38)("RegExp.prototype.test");function _(){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 q(X,Q,fe,Ce){if(!fe){var Me=!1;if(Q===0)Me=!0,Ce="No value argument passed to `assert.ok()`";else if(Ce instanceof Error)throw Ce;var ue=new f({actual:fe,expected:!0,message:Ce,operator:"==",stackStartFn:X});throw ue.generatedMessage=Me,ue}}function W(){for(var X=arguments.length,Q=new Array(X),fe=0;fe1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me{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","!"]),p=e.NUMBER_UNARY_OPERATORS=["+","-","~"],u=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...l,...p,...u],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(u){return l(u,!(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(u,h,d,m){return u&&typeof u.type=="string"?l(u,h,d,m):u}function o(u,h,d,m){return Array.isArray(u)?u.map((f=>s(f,h,d,m))):s(u,h,d,m)}function l(u){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(!u)return u;const{type:f}=u,v={type:u.type};if((0,a.isIdentifier)(u))v.name=u.name,i(u,"optional")&&typeof u.optional=="boolean"&&(v.optional=u.optional),i(u,"typeAnnotation")&&(v.typeAnnotation=h?o(u.typeAnnotation,!0,d,m):u.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(u,C)&&(v[C]=h?(0,a.isFile)(u)&&C==="comments"?p(u.comments,h,d,m):o(u[C],!0,d,m):u[C])}return i(u,"loc")&&(v.loc=d?null:u.loc),i(u,"leadingComments")&&(v.leadingComments=p(u.leadingComments,h,d,m)),i(u,"innerComments")&&(v.innerComments=p(u.innerComments,h,d,m)),i(u,"trailingComments")&&(v.trailingComments=p(u.trailingComments,h,d,m)),i(u,"extra")&&(v.extra=Object.assign({},u.extra)),v}function p(u,h,d,m){return u&&h?u.map((f=>{const v=m.get(f);if(v)return v;const{type:C,value:S,loc:x}=f,g={type:C,value:S,loc:x};return d&&(g.loc=null),m.set(f,g),g})):u}},(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,p=n(35),u=n(101),h=n(423),d=n(424),m=n(427),f=n(430),v=n(431),C=n(436),S=n(437),x=n(438),g=n(440),w=n(442),y=n(443),_=n(163);const{validate:T}=o,O=a("babel"),I=e.REMOVED=1,z=e.SHOULD_STOP=2,q=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:H,parent:R,container:K,listKey:se,key:he}=N;if(!$&&H&&($=H.hub),!R)throw new Error("To get a node path the parent needs to exist");const Le=K[he],X=p.getOrCreateCachedPaths($,R);let Q=X.get(Le);return Q||(Q=new W($,R),Le&&X.set(Le,Q)),Q.setup(H,K,se,he),Q}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 H=this.data[N];return H===void 0&&$!==void 0&&(H=this.data[N]=$),H}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 H=$.key;$.inList&&(H=`${$.listKey}[${H}]`),N.unshift(H)}while($=$.parentPath);return N.join(".")}debug(N){O.enabled&&O(`${this.getPathLocation()} ${this.type}: ${N}`)}toString(){return(0,u.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&q)}set shouldSkip(N){N?this._traverseFlags|=q:this._traverseFlags&=~q}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,S,x,g,w,y),W.prototype._guessExecutionStatusRelativeToDifferentFunctions=C._guessExecutionStatusRelativeTo;for(const F of l.TYPES){const N=`is${F}`,$=l[N];W.prototype[N]=function(H){return $(this.node,H)},W.prototype[`assert${F}`]=function(H){if(!$(this.node,H))throw new TypeError(`Expected node path of type ${F}`)}}Object.assign(W.prototype,_);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 j=new Uint8Array(k);return Object.setPrototypeOf(j,l.prototype),j}function l(k,j,J){if(typeof k=="number"){if(typeof j=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(k)}return p(k,j,J)}function p(k,j,J){if(typeof k=="string")return(function(Pe,de){if(typeof de=="string"&&de!==""||(de="utf8"),!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const ke=0|v(Pe,de);let Ge=o(ke);const nt=Ge.write(Pe,de);return nt!==ke&&(Ge=Ge.slice(0,nt)),Ge})(k,j);if(ArrayBuffer.isView(k))return(function(Pe){if(ne(Pe,Uint8Array)){const de=new Uint8Array(Pe);return m(de.buffer,de.byteOffset,de.byteLength)}return d(Pe)})(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(ne(k,ArrayBuffer)||k&&ne(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ne(k,SharedArrayBuffer)||k&&ne(k.buffer,SharedArrayBuffer)))return m(k,j,J);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Te=k.valueOf&&k.valueOf();if(Te!=null&&Te!==k)return l.from(Te,j,J);const Ie=(function(Pe){if(l.isBuffer(Pe)){const de=0|f(Pe.length),ke=o(de);return ke.length===0||Pe.copy(ke,0,0,de),ke}return Pe.length!==void 0?typeof Pe.length!="number"||ge(Pe.length)?o(0):d(Pe):Pe.type==="Buffer"&&Array.isArray(Pe.data)?d(Pe.data):void 0})(k);if(Ie)return Ie;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return l.from(k[Symbol.toPrimitive]("string"),j,J);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}function u(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 u(k),o(k<0?0:0|f(k))}function d(k){const j=k.length<0?0:0|f(k.length),J=o(j);for(let Te=0;Te=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|k}function v(k,j){if(l.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||ne(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 J=k.length,Te=arguments.length>2&&arguments[2]===!0;if(!Te&&J===0)return 0;let Ie=!1;for(;;)switch(j){case"ascii":case"latin1":case"binary":return J;case"utf8":case"utf-8":return oe(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*J;case"hex":return J>>>1;case"base64":return ie(k).length;default:if(Ie)return Te?-1:oe(k).length;j=(""+j).toLowerCase(),Ie=!0}}function C(k,j,J){let Te=!1;if((j===void 0||j<0)&&(j=0),j>this.length||((J===void 0||J>this.length)&&(J=this.length),J<=0)||(J>>>=0)<=(j>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return N(this,j,J);case"utf8":case"utf-8":return z(this,j,J);case"ascii":return W(this,j,J);case"latin1":case"binary":return F(this,j,J);case"base64":return I(this,j,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,j,J);default:if(Te)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),Te=!0}}function S(k,j,J){const Te=k[j];k[j]=k[J],k[J]=Te}function x(k,j,J,Te,Ie){if(k.length===0)return-1;if(typeof J=="string"?(Te=J,J=0):J>2147483647?J=2147483647:J<-2147483648&&(J=-2147483648),ge(J=+J)&&(J=Ie?0:k.length-1),J<0&&(J=k.length+J),J>=k.length){if(Ie)return-1;J=k.length-1}else if(J<0){if(!Ie)return-1;J=0}if(typeof j=="string"&&(j=l.from(j,Te)),l.isBuffer(j))return j.length===0?-1:g(k,j,J,Te,Ie);if(typeof j=="number")return j&=255,typeof Uint8Array.prototype.indexOf=="function"?Ie?Uint8Array.prototype.indexOf.call(k,j,J):Uint8Array.prototype.lastIndexOf.call(k,j,J):g(k,[j],J,Te,Ie);throw new TypeError("val must be string, number or Buffer")}function g(k,j,J,Te,Ie){let Pe,de=1,ke=k.length,Ge=j.length;if(Te!==void 0&&((Te=String(Te).toLowerCase())==="ucs2"||Te==="ucs-2"||Te==="utf16le"||Te==="utf-16le")){if(k.length<2||j.length<2)return-1;de=2,ke/=2,Ge/=2,J/=2}function nt(ct,yt){return de===1?ct[yt]:ct.readUInt16BE(yt*de)}if(Ie){let ct=-1;for(Pe=J;Peke&&(J=ke-Ge),Pe=J;Pe>=0;Pe--){let ct=!0;for(let yt=0;ytIe&&(Te=Ie):Te=Ie;const Pe=j.length;let de;for(Te>Pe/2&&(Te=Pe/2),de=0;de>8,Ge=de%256,nt.push(Ge),nt.push(ke);return nt})(j,k.length-J),k,J,Te)}function I(k,j,J){return j===0&&J===k.length?r.fromByteArray(k):r.fromByteArray(k.slice(j,J))}function z(k,j,J){J=Math.min(k.length,J);const Te=[];let Ie=j;for(;Ie239?4:Pe>223?3:Pe>191?2:1;if(Ie+ke<=J){let Ge,nt,ct,yt;switch(ke){case 1:Pe<128&&(de=Pe);break;case 2:Ge=k[Ie+1],(192&Ge)==128&&(yt=(31&Pe)<<6|63&Ge,yt>127&&(de=yt));break;case 3:Ge=k[Ie+1],nt=k[Ie+2],(192&Ge)==128&&(192&nt)==128&&(yt=(15&Pe)<<12|(63&Ge)<<6|63&nt,yt>2047&&(yt<55296||yt>57343)&&(de=yt));break;case 4:Ge=k[Ie+1],nt=k[Ie+2],ct=k[Ie+3],(192&Ge)==128&&(192&nt)==128&&(192&ct)==128&&(yt=(15&Pe)<<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,Te.push(de>>>10&1023|55296),de=56320|1023&de),Te.push(de),Ie+=ke}return(function(Pe){const de=Pe.length;if(de<=q)return String.fromCharCode.apply(String,Pe);let ke="",Ge=0;for(;GeTe.length?(l.isBuffer(Pe)||(Pe=l.from(Pe)),Pe.copy(Te,Ie)):Uint8Array.prototype.set.call(Te,Pe,Ie);else{if(!l.isBuffer(Pe))throw new TypeError('"list" argument must be an Array of Buffers');Pe.copy(Te,Ie)}Ie+=Pe.length}return Te},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 j=0;jj&&(k+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(k,j,J,Te,Ie){if(ne(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(j===void 0&&(j=0),J===void 0&&(J=k?k.length:0),Te===void 0&&(Te=0),Ie===void 0&&(Ie=this.length),j<0||J>k.length||Te<0||Ie>this.length)throw new RangeError("out of range index");if(Te>=Ie&&j>=J)return 0;if(Te>=Ie)return-1;if(j>=J)return 1;if(this===k)return 0;let Pe=(Ie>>>=0)-(Te>>>=0),de=(J>>>=0)-(j>>>=0);const ke=Math.min(Pe,de),Ge=this.slice(Te,Ie),nt=k.slice(j,J);for(let ct=0;ct>>=0,isFinite(J)?(J>>>=0,Te===void 0&&(Te="utf8")):(Te=J,J=void 0)}const Ie=this.length-j;if((J===void 0||J>Ie)&&(J=Ie),k.length>0&&(J<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");let Pe=!1;for(;;)switch(Te){case"hex":return w(this,k,j,J);case"utf8":case"utf-8":return y(this,k,j,J);case"ascii":case"latin1":case"binary":return _(this,k,j,J);case"base64":return T(this,k,j,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,k,j,J);default:if(Pe)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),Pe=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const q=4096;function W(k,j,J){let Te="";J=Math.min(k.length,J);for(let Ie=j;IeTe)&&(J=Te);let Ie="";for(let Pe=j;PeJ)throw new RangeError("Trying to access beyond buffer length")}function R(k,j,J,Te,Ie,Pe){if(!l.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(j>Ie||jk.length)throw new RangeError("Index out of range")}function K(k,j,J,Te,Ie){Me(j,Te,Ie,k,J,7);let Pe=Number(j&BigInt(4294967295));k[J++]=Pe,Pe>>=8,k[J++]=Pe,Pe>>=8,k[J++]=Pe,Pe>>=8,k[J++]=Pe;let de=Number(j>>BigInt(32)&BigInt(4294967295));return k[J++]=de,de>>=8,k[J++]=de,de>>=8,k[J++]=de,de>>=8,k[J++]=de,J}function se(k,j,J,Te,Ie){Me(j,Te,Ie,k,J,7);let Pe=Number(j&BigInt(4294967295));k[J+7]=Pe,Pe>>=8,k[J+6]=Pe,Pe>>=8,k[J+5]=Pe,Pe>>=8,k[J+4]=Pe;let de=Number(j>>BigInt(32)&BigInt(4294967295));return k[J+3]=de,de>>=8,k[J+2]=de,de>>=8,k[J+1]=de,de>>=8,k[J]=de,J+8}function he(k,j,J,Te,Ie,Pe){if(J+Te>k.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("Index out of range")}function Le(k,j,J,Te,Ie){return j=+j,J>>>=0,Ie||he(k,0,J,4),a.write(k,j,J,Te,23,4),J+4}function X(k,j,J,Te,Ie){return j=+j,J>>>=0,Ie||he(k,0,J,8),a.write(k,j,J,Te,52,8),J+8}l.prototype.slice=function(k,j){const J=this.length;(k=~~k)<0?(k+=J)<0&&(k=0):k>J&&(k=J),(j=j===void 0?J:~~j)<0?(j+=J)<0&&(j=0):j>J&&(j=J),j>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k],Ie=1,Pe=0;for(;++Pe>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k+--j],Ie=1;for(;j>0&&(Ie*=256);)Te+=this[k+--j]*Ie;return Te},l.prototype.readUint8=l.prototype.readUInt8=function(k,j){return k>>>=0,j||H(k,1,this.length),this[k]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(k,j){return k>>>=0,j||H(k,2,this.length),this[k]|this[k+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(k,j){return k>>>=0,j||H(k,2,this.length),this[k]<<8|this[k+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(k,j){return k>>>=0,j||H(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,j){return k>>>=0,j||H(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},l.prototype.readBigUInt64LE=He((function(k){ue(k>>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=j+256*this[++k]+65536*this[++k]+this[++k]*2**24,Ie=this[++k]+256*this[++k]+65536*this[++k]+J*2**24;return BigInt(Te)+(BigInt(Ie)<>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=j*2**24+65536*this[++k]+256*this[++k]+this[++k],Ie=this[++k]*2**24+65536*this[++k]+256*this[++k]+J;return(BigInt(Te)<>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k],Ie=1,Pe=0;for(;++Pe=Ie&&(Te-=Math.pow(2,8*j)),Te},l.prototype.readIntBE=function(k,j,J){k>>>=0,j>>>=0,J||H(k,j,this.length);let Te=j,Ie=1,Pe=this[k+--Te];for(;Te>0&&(Ie*=256);)Pe+=this[k+--Te]*Ie;return Ie*=128,Pe>=Ie&&(Pe-=Math.pow(2,8*j)),Pe},l.prototype.readInt8=function(k,j){return k>>>=0,j||H(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},l.prototype.readInt16LE=function(k,j){k>>>=0,j||H(k,2,this.length);const J=this[k]|this[k+1]<<8;return 32768&J?4294901760|J:J},l.prototype.readInt16BE=function(k,j){k>>>=0,j||H(k,2,this.length);const J=this[k+1]|this[k]<<8;return 32768&J?4294901760|J:J},l.prototype.readInt32LE=function(k,j){return k>>>=0,j||H(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},l.prototype.readInt32BE=function(k,j){return k>>>=0,j||H(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},l.prototype.readBigInt64LE=He((function(k){ue(k>>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=this[k+4]+256*this[k+5]+65536*this[k+6]+(J<<24);return(BigInt(Te)<>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=(j<<24)+65536*this[++k]+256*this[++k]+this[++k];return(BigInt(Te)<>>=0,j||H(k,4,this.length),a.read(this,k,!0,23,4)},l.prototype.readFloatBE=function(k,j){return k>>>=0,j||H(k,4,this.length),a.read(this,k,!1,23,4)},l.prototype.readDoubleLE=function(k,j){return k>>>=0,j||H(k,8,this.length),a.read(this,k,!0,52,8)},l.prototype.readDoubleBE=function(k,j){return k>>>=0,j||H(k,8,this.length),a.read(this,k,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(k,j,J,Te){k=+k,j>>>=0,J>>>=0,Te||R(this,k,j,J,Math.pow(2,8*J)-1,0);let Ie=1,Pe=0;for(this[j]=255&k;++Pe>>=0,J>>>=0,Te||R(this,k,j,J,Math.pow(2,8*J)-1,0);let Ie=J-1,Pe=1;for(this[j+Ie]=255&k;--Ie>=0&&(Pe*=256);)this[j+Ie]=k/Pe&255;return j+J},l.prototype.writeUint8=l.prototype.writeUInt8=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,1,255,0),this[j]=255&k,j+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,65535,0),this[j]=255&k,this[j+1]=k>>>8,j+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,65535,0),this[j]=k>>>8,this[j+1]=255&k,j+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,4294967295,0),this[j+3]=k>>>24,this[j+2]=k>>>16,this[j+1]=k>>>8,this[j]=255&k,j+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,4294967295,0),this[j]=k>>>24,this[j+1]=k>>>16,this[j+2]=k>>>8,this[j+3]=255&k,j+4},l.prototype.writeBigUInt64LE=He((function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=He((function(k){return se(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(k,j,J,Te){if(k=+k,j>>>=0,!Te){const ke=Math.pow(2,8*J-1);R(this,k,j,J,ke-1,-ke)}let Ie=0,Pe=1,de=0;for(this[j]=255&k;++Ie>0)-de&255;return j+J},l.prototype.writeIntBE=function(k,j,J,Te){if(k=+k,j>>>=0,!Te){const ke=Math.pow(2,8*J-1);R(this,k,j,J,ke-1,-ke)}let Ie=J-1,Pe=1,de=0;for(this[j+Ie]=255&k;--Ie>=0&&(Pe*=256);)k<0&&de===0&&this[j+Ie+1]!==0&&(de=1),this[j+Ie]=(k/Pe>>0)-de&255;return j+J},l.prototype.writeInt8=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,1,127,-128),k<0&&(k=255+k+1),this[j]=255&k,j+1},l.prototype.writeInt16LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,32767,-32768),this[j]=255&k,this[j+1]=k>>>8,j+2},l.prototype.writeInt16BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,32767,-32768),this[j]=k>>>8,this[j+1]=255&k,j+2},l.prototype.writeInt32LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,2147483647,-2147483648),this[j]=255&k,this[j+1]=k>>>8,this[j+2]=k>>>16,this[j+3]=k>>>24,j+4},l.prototype.writeInt32BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),this[j]=k>>>24,this[j+1]=k>>>16,this[j+2]=k>>>8,this[j+3]=255&k,j+4},l.prototype.writeBigInt64LE=He((function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=He((function(k){return se(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(k,j,J){return Le(this,k,j,!0,J)},l.prototype.writeFloatBE=function(k,j,J){return Le(this,k,j,!1,J)},l.prototype.writeDoubleLE=function(k,j,J){return X(this,k,j,!0,J)},l.prototype.writeDoubleBE=function(k,j,J){return X(this,k,j,!1,J)},l.prototype.copy=function(k,j,J,Te){if(!l.isBuffer(k))throw new TypeError("argument should be a Buffer");if(J||(J=0),Te||Te===0||(Te=this.length),j>=k.length&&(j=k.length),j||(j=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),k.length-j>>=0,J=J===void 0?this.length:J>>>0,k||(k=0),typeof k=="number")for(Ie=j;Ie=Te+4;J-=3)j=`_${k.slice(J-3,J)}${j}`;return`${k.slice(0,J)}${j}`}function Me(k,j,J,Te,Ie,Pe){if(k>J||k= 0${de} and < 2${de} ** ${8*(Pe+1)}${de}`:`>= -(2${de} ** ${8*(Pe+1)-1}${de}) and < 2 ** ${8*(Pe+1)-1}${de}`,new Q.ERR_OUT_OF_RANGE("value",ke,k)}(function(de,ke,Ge){ue(ke,"offset"),de[ke]!==void 0&&de[ke+Ge]!==void 0||ae(ke,de.length-(Ge+1))})(Te,Ie,Pe)}function ue(k,j){if(typeof k!="number")throw new Q.ERR_INVALID_ARG_TYPE(j,"number",k)}function ae(k,j,J){throw Math.floor(k)!==k?(ue(k,J),new Q.ERR_OUT_OF_RANGE("offset","an integer",k)):j<0?new Q.ERR_BUFFER_OUT_OF_BOUNDS:new Q.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${j}`,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,j){return`The "${k}" argument must be of type number. Received type ${typeof j}`}),TypeError),fe("ERR_OUT_OF_RANGE",(function(k,j,J){let Te=`The value of "${k}" is out of range.`,Ie=J;return Number.isInteger(J)&&Math.abs(J)>2**32?Ie=Ce(String(J)):typeof J=="bigint"&&(Ie=String(J),(J>BigInt(2)**BigInt(32)||J<-(BigInt(2)**BigInt(32)))&&(Ie=Ce(Ie)),Ie+="n"),Te+=` It must be ${j}. Received ${Ie}`,Te}),RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function oe(k,j){let J;j=j||1/0;const Te=k.length;let Ie=null;const Pe=[];for(let de=0;de55295&&J<57344){if(!Ie){if(J>56319){(j-=3)>-1&&Pe.push(239,191,189);continue}if(de+1===Te){(j-=3)>-1&&Pe.push(239,191,189);continue}Ie=J;continue}if(J<56320){(j-=3)>-1&&Pe.push(239,191,189),Ie=J;continue}J=65536+(Ie-55296<<10|J-56320)}else Ie&&(j-=3)>-1&&Pe.push(239,191,189);if(Ie=null,J<128){if((j-=1)<0)break;Pe.push(J)}else if(J<2048){if((j-=2)<0)break;Pe.push(J>>6|192,63&J|128)}else if(J<65536){if((j-=3)<0)break;Pe.push(J>>12|224,J>>6&63|128,63&J|128)}else{if(!(J<1114112))throw new Error("Invalid code point");if((j-=4)<0)break;Pe.push(J>>18|240,J>>12&63|128,J>>6&63|128,63&J|128)}}return Pe}function ie(k){return r.toByteArray((function(j){if((j=(j=j.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;j.length%4!=0;)j+="=";return j})(k))}function Se(k,j,J,Te){let Ie;for(Ie=0;Ie=j.length||Ie>=k.length);++Ie)j[Ie+J]=k[Ie];return Ie}function ne(k,j){return k instanceof j||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===j.name}function ge(k){return k!=k}const xe=(function(){const k="0123456789abcdef",j=new Array(256);for(let J=0;J<16;++J){const Te=16*J;for(let Ie=0;Ie<16;++Ie)j[Te+Ie]=k[J]+k[Ie]}return j})();function He(k){return typeof BigInt>"u"?ee:k}function ee(){throw new Error("BigInt not supported")}},(t,e,n)=>{var r=n(17),a=Object.getOwnPropertyDescriptors||function(F){for(var N=Object.keys(F),$={},H=0;H=R)return he;switch(he){case"%s":return String(H[$++]);case"%d":return Number(H[$++]);case"%j":try{return JSON.stringify(H[$++])}catch{return"[Circular]"}default:return he}})),se=H[$];$=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=p),h($,F,$.depth)}function p(F,N){var $=l.styles[N];return $?"\x1B["+l.colors[$][0]+"m"+F+"\x1B["+l.colors[$][1]+"m":F}function u(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 H=N.inspect($,F);return x(H)||(H=h(F,H,$)),H}var R=(function(Ce,Me){if(g(Me))return Ce.stylize("undefined","undefined");if(x(Me)){var ue="'"+JSON.stringify(Me).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ce.stylize(ue,"string")}return S(Me)?Ce.stylize(""+Me,"number"):v(Me)?Ce.stylize(""+Me,"boolean"):C(Me)?Ce.stylize("null","null"):void 0})(F,N);if(R)return R;var K=Object.keys(N),se=(function(Ce){var Me={};return Ce.forEach((function(ue,ae){Me[ue]=!0})),Me})(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 he=N.name?": "+N.name:"";return F.stylize("[Function"+he+"]","special")}if(w(N))return F.stylize(RegExp.prototype.toString.call(N),"regexp");if(_(N))return F.stylize(Date.prototype.toString.call(N),"date");if(T(N))return d(N)}var Le,X="",Q=!1,fe=["{","}"];return f(N)&&(Q=!0,fe=["[","]"]),O(N)&&(X=" [Function"+(N.name?": "+N.name:"")+"]"),w(N)&&(X=" "+RegExp.prototype.toString.call(N)),_(N)&&(X=" "+Date.prototype.toUTCString.call(N)),T(N)&&(X=" "+d(N)),K.length!==0||Q&&N.length!=0?$<0?w(N)?F.stylize(RegExp.prototype.toString.call(N),"regexp"):F.stylize("[Object]","special"):(F.seen.push(N),Le=Q?(function(Ce,Me,ue,ae,ce){for(var oe=[],ie=0,Se=Me.length;ie60?ue[0]+(Me===""?"":Me+` `)+" "+Ce.join(`, `)+" "+ue[1]:ue[0]+Me+" "+Ce.join(", ")+" "+ue[1]})(Le,X,fe)):fe[0]+X+fe[1]}function d(F){return"["+Error.prototype.toString.call(F)+"]"}function m(F,N,$,H,R,K){var se,he,Le;if((Le=Object.getOwnPropertyDescriptor(N,R)||{value:N[R]}).get?he=Le.set?F.stylize("[Getter/Setter]","special"):F.stylize("[Getter]","special"):Le.set&&(he=F.stylize("[Setter]","special")),z(H,R)||(se="["+R+"]"),he||(F.seen.indexOf(Le.value)<0?(he=C($)?h(F,Le.value,null):h(F,Le.value,$-1)).indexOf(` `)>-1&&(he=K?he.split(` `).map((function(X){return" "+X})).join(` `).slice(2):` `+he.split(` `).map((function(X){return" "+X})).join(` `)):he=F.stylize("[Circular]","special")),g(se)){if(K&&R.match(/^\d+$/))return he;(se=JSON.stringify(""+R)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(se=se.slice(1,-1),se=F.stylize(se,"name")):(se=se.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),se=F.stylize(se,"string"))}return se+": "+he}function f(F){return Array.isArray(F)}function v(F){return typeof F=="boolean"}function C(F){return F===null}function S(F){return typeof F=="number"}function x(F){return typeof F=="string"}function g(F){return F===void 0}function w(F){return y(F)&&I(F)==="[object RegExp]"}function y(F){return typeof F=="object"&&F!==null}function _(F){return y(F)&&I(F)==="[object Date]"}function T(F){return y(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=S,e.isString=x,e.isSymbol=function(F){return typeof F=="symbol"},e.isUndefined=g,e.isRegExp=w,e.types.isRegExp=w,e.isObject=y,e.isDate=_,e.types.isDate=_,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||!y(N))return F;for(var $=Object.keys(N),H=$.length;H--;)F[$[H]]=N[$[H]];return F};var q=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(q&&F[q]){var N;if(typeof(N=F[q])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(N,q,{value:N,enumerable:!1,writable:!1,configurable:!0}),N}function N(){for(var $,H,R=new Promise((function(he,Le){$=he,H=Le})),K=[],se=0;se{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=[],p=e.src=[],u=e.t={};let h=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[d,a]],f=(v,C,S)=>{const x=(w=>{for(const[y,_]of m)w=w.split(`${y}*`).join(`${y}{0,${_}}`).split(`${y}+`).join(`${y}{1,${_}}`);return w})(C),g=h++;s(v,g,C),u[v]=g,p[g]=C,o[g]=new RegExp(C,S?"g":void 0),l[g]=new RegExp(x,S?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${p[u.NUMERICIDENTIFIER]}|${p[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NUMERICIDENTIFIERLOOSE]}|${p[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`),f("FULL",`^${p[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`),f("LOOSE",`^${p[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`),f("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",p[u.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.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 p;return(p=n.get(s))==null?void 0:p.get(l)},e.getOrCreateCachedPaths=function(o,l){let p=n.get(s);p||n.set(s,p=new WeakMap);let u=p.get(l);return u||p.set(l,u=new Map),u},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=u,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 u(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 S=v?Object.getOwnPropertyDescriptor(h,C):null;S&&(S.get||S.set)?Object.defineProperty(f,C,S):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 p=/\r\n|[\n\r\u2028\u2029]/;function u(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),S=(I,z)=>f?I(z):z,x=h.split(p),{start:g,end:w,markerLines:y}=(function(I,z,q){const W=Object.assign({column:0,line:-1},I.start),F=Object.assign({},W,I.end),{linesAbove:N=2,linesBelow:$=3}=q||{},H=W.line,R=W.column,K=F.line,se=F.column;let he=Math.max(H-(N+1),0),Le=Math.min(z.length,K+$);H===-1&&(he=0),K===-1&&(Le=z.length);const X=K-H,Q={};if(X)for(let fe=0;fe<=X;fe++){const Ce=fe+H;if(R)if(fe===0){const Me=z[Ce-1].length;Q[Ce]=[R,Me-R+1]}else if(fe===X)Q[Ce]=[0,se];else{const Me=z[Ce-fe].length;Q[Ce]=[0,Me]}else Q[Ce]=!0}else Q[H]=R===se?!R||[R,0]:[R,se-R];return{start:he,end:Le,markerLines:Q}})(d,x,m),_=d.start&&typeof d.start.column=="number",T=String(w).length;let O=(f?(0,a.default)(h,m):h).split(p,w).slice(g,w).map(((I,z)=>{const q=g+1+z,W=` ${` ${q}`.slice(-T)} |`,F=y[q],N=!y[q+1];if(F){let $="";if(Array.isArray(F)){const H=I.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),R=F[1]||1;$=[` `,S(C.gutter,W.replace(/\d/g," "))," ",H,S(C.marker,"^").repeat(R)].join(""),N&&m.message&&($+=" "+S(C.message,m.message))}return[S(C.marker,">"),S(C.gutter,W),I.length>0?` ${I}`:"",$].join("")}return` ${S(C.gutter,W)}${I.length>0?` ${I}`:""}`})).join(` `);return m.message&&!_&&(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 p=(0,a.default)(r.program);e.program=p;var u=Object.assign(i.bind(void 0),{smart:i,statement:s,statements:o,expression:l,program:p,ast:i.ast});e.default=u},(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 p(),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 p(){p=()=>{};const{prepareStackTrace:h=u}=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,p,u){let h=super.normalize(l);if(p){if(u==="prepend")this.nodes.length>1?p.raws.before=this.nodes[1].raws.before:delete p.raws.before;else if(this.first!==p)for(let d of h)d.raws.before=p.raws.before}return h}removeChild(l,p){let u=this.index(l);return!p&&u===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[u].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%"),p=a("%Reflect.apply%",!0)||r.call(l,o),u=a("%Object.defineProperty%",!0),h=a("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){if(typeof m!="function")throw new s("a function is required");var f=p(r,l,arguments);return i(f,1+h(0,m.length-(arguments.length-1)),!0)};var d=function(){return p(r,o,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,l,p){return!!l&&((0,a.default)(l.type,o)?p===void 0||(0,r.default)(l,p):!p&&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,p=l.prototype;a&&o((function(){var u=!0;try{l(".","d")}catch{u=!1}var h={},d="",m=u?"dgimsy":"gimsy",f=function(S,x){Object.defineProperty(h,S,{get:function(){return d+=x,!0}})},v={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var C in u&&(v.hasIndices="d"),v)f(C,v[C]);return Object.getOwnPropertyDescriptor(p,"flags").get.call(h)!==m||d!==m}))&&i(p,"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),p=r.Symbol,u=a("wks"),h=l?p.for||p:p&&p.withoutSetter||s;t.exports=function(d){return i(u,d)||(u[d]=o&&i(p,d)?p[d]:h("Symbol."+d)),u[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)(),p=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)},u=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(" "),p("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,p("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 u(v[2],this.options.loose):this.semver=r}toString(){return this.value}test(m){if(p("Comparator.test",m,this.options.loose),this.semver===r||m===r)return!0;if(typeof m=="string")try{m=new u(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),p=n(48),u=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(u,h){let d=new u.constructor;for(let m in u){if(!Object.prototype.hasOwnProperty.call(u,m)||m==="proxyCache")continue;let f=u[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 p{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 S=="object"&&S.toJSON)m[C]=S.toJSON(null,d);else if(C==="source"){let x=d.get(S.input);x==null&&(x=v,d.set(S.input,v),v++),m[C]={end:S.end,inputId:x,start:S.start}}else m[C]=S}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=p,p.default=p},(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:p}=n(319),u=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 y=w.consumer().file;!this.file&&y&&(this.file=this.mapResolve(y))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(x,g,w){let y,_,T,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(g&&typeof g=="object"){let z=g,q=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 q.offset=="number"){let W=this.fromOffset(q.offset);_=W.line,T=W.col}else _=q.line,T=q.column}else if(!w){let z=this.fromOffset(g);g=z.line,w=z.col}let I=this.origin(g,w,_,T);return y=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,_===void 0?g:{column:w,line:g},_===void 0?w:{column:T,line:_},this.css,this.file,O.plugin),y.input={column:w,endColumn:T,endLine:_,line:g,source:this.css},this.file&&(s&&(y.input.url=s(this.file).toString()),y.input.file=this.file),y}fromOffset(x){let g,w;if(this[m])w=this[m];else{let _=this.css.split(` `);w=new Array(_.length);let T=0;for(let O=0,I=_.length;O=g)y=w.length-1;else{let _,T=w.length-2;for(;y>1),x=w[_+1])){y=_;break}y=_+1}}return{col:x-w[y]+1,line:y+1}}mapResolve(x){return/^\w+:\/\//.test(x)?x:l(this.map.consumer().sourceRoot||this.map.root||".",x)}origin(x,g,w,y){if(!this.map)return!1;let _,T,O=this.map.consumer(),I=O.originalPositionFor({column:g,line:x});if(!I.source)return!1;typeof w=="number"&&(_=O.originalPositionFor({column:y,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:_&&_.column,endLine:_&&_.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 q=O.sourceContentFor(I.source);return q&&(z.source=q),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,u&&u.registerInput&&u.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 y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_=arguments.length>2?arguments[2]:void 0;const T={};for(let O=0;Oz.toString()),q})),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 S(w,y){const _=a[`is${w}`],T=function(O){if(_.call(O))return y.apply(this,arguments)};return T.toString=()=>y.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,y){for(const _ of["enter","exit"])y[_]&&(w[_]=[].concat(w[_]||[],y[_]))}},(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:p,prepareStackTrace:u}=Error;let h;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(m,f){h=f},new Error().stack,Error.stackTraceLimit=p,Error.prepareStackTrace=u,!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 p=[].concat(i),u=Object.create(null);for(;p.length;){const h=p.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?(u[h.name]=u[h.name]||[]).push(h):u[h.name]=h;else if(!(0,r.isExportDeclaration)(h)||(0,r.isExportAllDeclaration)(h)){if(o){if((0,r.isFunctionDeclaration)(h)){p.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(u){if(!u.isExportDeclaration()||u.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(u.isExportDefaultDeclaration()){const v=u.get("declaration"),C=v.isFunctionDeclaration()||v.isClassDeclaration(),S=v.isFunctionExpression()||v.isClassExpression(),x=v.isScope()?v.scope.parent:v.scope;let g=v.node.id,w=!1;g?S&&x.hasBinding(g.name)&&(w=!0,g=x.generateUidIdentifier(g.name)):(w=!0,g=x.generateUidIdentifier("default"),(C||S)&&(v.node.id=a(g)));const y=C?v.node:l("var",[p(a(g),v.node)]),_=i(null,[s(a(g),o("default"))]);return u.insertAfter(_),u.replaceWith(y),w&&x.registerDeclaration(u),u}if(u.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const h=u.get("declaration"),d=h.getOuterBindingIdentifiers(),m=Object.keys(d).map((v=>s(o(v),o(v)))),f=i(null,m);return u.insertAfter(f),u.replaceWith(h.node),u};var r=n(0);const{cloneNode:a,exportNamedDeclaration:i,exportSpecifier:s,identifier:o,variableDeclaration:l,variableDeclarator:p}=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 u.buildDynamicImport}}),e.buildNamespaceInitStatements=function(F,N){let $=arguments.length>2&&arguments[2]!==void 0&&arguments[2],H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:p.wrapReference;var R;const K=[],se=x(N.name);for(const Le of N.importsNamespace)Le!==N.name&&K.push(a.template.statement`var NAME = SOURCE;`({NAME:Le,SOURCE:f(se)}));const he=(R=H(se,N.wrap))!=null?R:se;$&&K.push(...z(F,N,!0,H));for(const Le of N.reexportNamespace)K.push((a.types.isIdentifier(he)?a.template.statement`EXPORTS.NAME = NAMESPACE;`:a.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); `)({EXPORTS:F.exportName,NAME:Le,NAMESPACE:f(he)}));if(N.reexportAll){const Le=(function(X,Q,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:Q,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(he),$);Le.loc=N.reexportAll.loc,K.push(Le)}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:H,allowTopLevelThis:R,strictMode:K,noInterop:se,importInterop:he=se?"none":"babel",lazy:Le,getWrapperPayload:X=p.toGetWrapperPayload(Le!=null&&Le),wrapReference:Q=p.wrapReference,esNamespaceOnly:fe,filename:Ce,constantReexports:Me=arguments[1].loose,enumerableModuleMeta:ue=arguments[1].loose,noIncompleteNsImportDetection:ae}=N;(0,l.validateImportInteropOption)(he),r((0,i.isModule)(F),"Cannot process module statements in a script"),F.node.sourceType="script";const ce=(0,l.default)(F,$,{importInterop:he,initializeReexports:Me,getWrapperPayload:X,esNamespaceOnly:fe,filename:Ce});R||(0,s.default)(F),(0,o.default)(F,ce,Q),K!==!1&&(F.node.directives.some((ne=>ne.value.value==="use strict"))||F.unshiftContainer("directives",v(C("use strict"))));const oe=[];(0,l.hasExports)(ce)&&!H&&oe.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,ue));const ie=(function(Se,ne){const ge=Object.create(null);for(const ee of ne.local.values())for(const k of ee.names)ge[k]=!0;let xe=!1;for(const ee of ne.source.values()){for(const k of ee.reexports.keys())ge[k]=!0;for(const k of ee.reexportNamespace)ge[k]=!0;xe=xe||!!ee.reexportAll}if(!xe||Object.keys(ge).length===0)return null;const He=Se.scope.generateUidIdentifier("exportNames");return delete ge.default,{name:He.name,statement:T("var",[O(He,_(ge))])}})(F,ce);return ie&&(ce.exportNameListName=ie.name,oe.push(ie.statement)),oe.push(...(function(Se,ne,ge){let xe=arguments.length>3&&arguments[3]!==void 0&&arguments[3],He=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const ee=[];for(const[j,J]of ne.local)if(J.kind!=="import"){if(J.kind==="hoisted")ee.push([J.names[0],W(ne,J.names,x(j))]);else if(!He)for(const Te of J.names)ee.push([Te,null])}for(const j of ne.source.values()){if(!xe){const J=z(ne,j,!1,ge),Te=[...j.reexports.keys()];for(let Ie=0;Ie{let[Te]=j,[Ie]=J;return Te0&&(k.push(W(ne,Te,Se.scope.buildUndefinedNode())),Te=[]),k.push(de)):Te.push(Pe)}Te.length>0&&k.push(W(ne,Te,Se.scope.buildUndefinedNode()))}return k})(F,ce,Q,Me,ae)),{meta:ce,headers:oe}},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 H;if($==="default")H="interopRequireDefault";else{if($!=="namespace")throw new Error(`Unknown interop: ${$}`);H="interopRequireWildcard"}return m(F.hub.addHelper(H),[N])};var r=n(25),a=n(1),i=n(93),s=n(449),o=n(450),l=n(252),p=n(451),u=n(330),h=n(452);const{booleanLiteral:d,callExpression:m,cloneNode:f,directive:v,directiveLiteral:C,expressionStatement:S,identifier:x,isIdentifier:g,memberExpression:w,stringLiteral:y,valueToNode:_,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,$,H){var R;let K=x(N.name);K=(R=H(K,N.wrap))!=null?R:K;const{stringSpecifiers:se}=F;return Array.from(N.reexports,(he=>{let[Le,X]=he,Q=f(K);X==="default"&&N.interop==="node-default"||(Q=se.has(X)?w(Q,y(X),!0):w(Q,x(X)));const fe={EXPORTS:F.exportName,EXPORT_NAME:Le,NAMESPACE_IMPORT:Q};return $||g(Q)?se.has(Le)?I.constantComputed(fe):I.constant(fe):I.spec(fe)}))}const q={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:H,exportName:R}=F;return S(N.reduce(((K,se)=>{const he={EXPORTS:R,NAME:se,VALUE:K};return se==="__proto__"?q.define(he):H.has(se)?q.computed(he):q.default(he)}),$))}},(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),p=n(77),u=n(79),h=n(78);t.exports=(d,m,f,v)=>{let C,S,x,g,w;switch(d=new r(d,v),m=new s(m,v),f){case">":C=l,S=u,x=p,g=">",w=">=";break;case"<":C=p,S=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 y=0;y{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)&&S(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)(u.errback)(f,v);else{if(typeof f!="function")return h(f);(0,o.beginHiddenCallStack)(u.errback)(void 0,f)}},e.loadOptionsAsync=function(){return(0,o.beginHiddenCallStack)(u.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 p(f);(0,o.beginHiddenCallStack)(l.errback)(void 0,f)}},e.loadPartialConfigAsync=function(){return(0,o.beginHiddenCallStack)(l.async)(...arguments)},e.loadPartialConfigSync=p;var a=n(454),i=n(294),s=n(83),o=n(39);const l=r()(i.loadPartialConfig);function p(){return(0,o.beginHiddenCallStack)(l.sync)(...arguments)}const u=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)(u.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:p=".",type:u}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(function*(){return i(yield*(0,a.createDescriptor)(l,r().resolve(p),{type:u,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(p){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=p,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=p,e.makeStrongCacheSync=function(C){return s(p(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 u(WeakMap,C)}function p(C){return u(Map,C)}function u(C,S){const x=new C,g=new C,w=new C;return function*(y,_){const T=yield*(0,a.isAsync)(),O=T?g:x,I=yield*(function*(N,$,H,R,K){const se=yield*h($,R,K);if(se.valid)return se;if(N){const he=yield*h(H,R,K);if(he.valid)return{valid:!0,value:yield*(0,a.waitFor)(he.value.promise)}}return{valid:!1,value:null}})(T,O,w,y,_);if(I.valid)return I.value;const z=new m(_),q=S(y,z);let W,F;return F=(0,i.isIterableIterator)(q)?yield*(0,a.onFirstPause)(q,(()=>{W=(function(N,$,H){const R=new v;return d($,N,H,R),R})(z,w,y)})):q,d(O,z,y,F),W&&(w.delete(y),W.release(F)),F}}function*h(C,S,x){const g=C.get(S);if(g){for(const{value:w,valid:y}of g)if(yield*y(x))return{valid:!0,value:w}}return{valid:!1,value:null}}function d(C,S,x,g){S.configured()||S.forever();let w=C.get(x);switch(S.deactivate(),S.mode()){case"forever":w=[{value:g,valid:o}],C.set(x,w);break;case"invalidate":w=[{value:g,valid:S.validator()}],C.set(x,w);break;case"valid":w?w.push({value:g,valid:S.validator()}):(w=[{value:g,valid:S.validator()}],C.set(x,w))}}class m{constructor(S){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=S}simple(){return(function(S){function x(g){if(typeof g!="boolean")return S.using((()=>f(g())));g?S.forever():S.never()}return x.forever=()=>S.forever(),x.never=()=>S.never(),x.using=g=>S.using((()=>f(g()))),x.invalidate=g=>S.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(S){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=S(this._data),g=(0,a.maybeAsync)(S,"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(S){return this._invalidate=!0,this.using(S)}validator(){const S=this._pairs;return function*(x){for(const[g,w]of S)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((S=>{this._resolve=S}))}release(S){this.released=!0,this._resolve(S)}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(f,v,C,S){if(v===0)return;const x=f[v-1],g=f[v];x.file&&x.options===void 0&&typeof g.value=="object"&&(S.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(S){const x=new i.default(S.message,C);throw S.code&&(x.code=S.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},p={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,S=(0,a.assertObject)(f,v);if(S)for(const x of Object.keys(S)){const g=(0,a.assertObject)((0,a.access)(f,x),S[x]);g&&h({type:"env",name:x,parent:C},g)}return S},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,S=(0,a.assertArray)(f,v);if(S)for(const[x,g]of S.entries()){const w=(0,a.access)(f,x),y=(0,a.assertObject)(w,g);if(!y)throw new Error(`${(0,a.msg)(w)} must be an object`);h({type:"overrides",index:x,parent:C},y)}return S},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 u(f){return f.type==="root"?f.source:u(f.parent)}function h(f,v){const C=u(f);return(function(S){if(m(S,"sourceMap")&&m(S,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")})(v),Object.keys(v).forEach((S=>{const x={type:"option",name:S,parent:f};if(C==="preset"&&l[S])throw new Error(`${(0,a.msg)(x)} is not allowed in preset options`);if(C!=="arguments"&&s[S])throw new Error(`${(0,a.msg)(x)} is only allowed in root programmatic options`);if(C!=="arguments"&&C!=="configfile"&&o[S])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`);(p[S]||l[S]||o[S]||s[S]||d)(x,v[S])})),v}function d(f){const v=f.name;if(r.default[v]){const{message:C,version:S=5}=r.default[v];throw new Error(`Using removed Babel ${S} 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(p,{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,p,u,h,d){super(o),this.name="CssSyntaxError",this.reason=o,h&&(this.file=h),u&&(this.source=u),d&&(this.plugin=d),l!==void 0&&p!==void 0&&(typeof l=="number"?(this.line=l,this.column=p):(this.line=l.line,this.column=l.column,this.endLine=p.line,this.endColumn=p.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 p,u,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:S}=r.createColors(!0);p=x=>v(S(x)),u=x=>C(x)}else p=u=v=>v;return h.slice(d,m).map(((v,C)=>{let S=d+1+C,x=" "+(" "+S).slice(-f)+" | ";if(S===this.line){let g=u(x.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return p(">")+u(x)+v+` `+g+p("^")}return" "+u(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 p=new i(o,l),u=new a(p);try{u.parse()}catch(h){throw h}return u.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,p=l?l[0]:","+this.raw("between","beforeOpen");this.selector=o.join(p)}}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,p,u){o&&(p!==null?o[l][p]=u:o[l]=u)}remove(o,l,p){o&&(p!==null?o[l].splice(p,1):delete o[l])}}class a extends r{constructor(o,l){super(),this.enter=o,this.leave=l}visit(o,l,p,u){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,p,u),this.replacement&&(o=this.replacement,this.replace(l,p,u,o)),this.should_remove&&this.remove(l,p,u);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:p,interpreterDirective:u}=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:S,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=S,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(u(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(S){if(S.code!=="BABEL_HELPER_UNKNOWN")throw S;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 p(v);const C=this.get("helperGenerator");if(C){const y=C(f);if(y)return y}r().ensure(f,d);const S=this.declarations[f]=this.scope.generateUidIdentifier(f),x={};for(const y of r().getDependencies(f))x[y]=this.addHelper(y);const{nodes:g,globals:w}=r().get(f,(y=>x[y]),S,Object.keys(this.scope.getAllBindings()));return w.forEach((y=>{this.path.scope.hasBinding(y,!0)&&this.path.scope.rename(y)})),g.forEach((y=>{y._compact=!0})),this.path.unshiftContainer("body",g),this.path.get("body").forEach((y=>{g.indexOf(y.node)!==-1&&y.isVariableDeclaration()&&this.scope.registerDeclaration(y)})),S}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,S=f&&(f.loc||f._loc);if(!S&&f){const x={loc:null};(0,a().default)(f,h,this.scope,x),S=x.loc;let g="This is an error on an internal node. Probably an internal error.";S&&(g+=" Location has been estimated."),v+=` (${g})`}if(S){const{highlightCode:x=!0}=this.opts;v+=` `+(0,i().codeFrameColumns)(this.code,{start:{line:S.start.line,column:S.start.column+1},end:S.end&&S.start.line===S.end.line?{line:S.end.line,column:S.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 p=r.NODE_FIELDS[s.type];p&&(a(s,o,l,p[o]),i(s,o,l))},e.validateChild=i,e.validateField=a;var r=n(9);function a(s,o,l,p){p!=null&&p.validate&&(p.optional&&l==null||p.validate(s,o,l))}function i(s,o,l){if(l==null)return;const p=r.NODE_PARENT_VALIDATIONS[l.type];p&&p(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,p,u,h,d){const m=i[s.type];if(!m)return!1;const f=new r.default(l,o,p,u);if(d)return(h==null||!h[u.parentKey])&&f.visitQueue([u]);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 p=i(l,o),u=o.sourceMaps?new r.default(o,l):null;return new a.default(p,u).generate(s)};var r=n(405),a=n(408);function i(s,o){var l;const p={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};p.decoratorsBeforeExport=o.decoratorsBeforeExport,p.jsescOption.json=o.jsonCompatibleStrings,p.minified?(p.compact=!0,p.shouldPrintComment=p.shouldPrintComment||(()=>p.comments)):p.shouldPrintComment=p.shouldPrintComment||(m=>p.comments||m.includes("@license")||m.includes("@preserve")),p.compact==="auto"&&(p.compact=typeof s=="string"&&s.length>5e5,p.compact),p.compact&&(p.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:u,auxiliaryCommentAfter:h,shouldPrintComment:d}=p;return u&&!d(u)&&(p.auxiliaryCommentBefore=void 0),h&&!d(h)&&(p.auxiliaryCommentAfter=void 0),p}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,p=n(189),u=n(107),h=u.enforce,d=u.get,m=String,f=Object.defineProperty,v=r("".slice),C=r("".replace),S=r([].join),x=o&&!a((function(){return f((function(){}),"length",{value:8}).length!==8})),g=String(String).split("String"),w=t.exports=function(y,_,T){v(m(_),0,7)==="Symbol("&&(_="["+C(m(_),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(_="get "+_),T&&T.setter&&(_="set "+_),(!s(y,"name")||l&&y.name!==_)&&(o?f(y,"name",{value:_,configurable:!0}):y.name=_),x&&T&&s(T,"arity")&&y.length!==T.arity&&f(y,"length",{value:T.arity});try{T&&s(T,"constructor")&&T.constructor?o&&f(y,"prototype",{writable:!1}):y.prototype&&(y.prototype=void 0)}catch{}var O=h(y);return s(O,"source")||(O.source=S(g,typeof _=="string"?_:"")),y};Function.prototype.toString=w((function(){return i(this)&&d(this).source||p(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),p=n(108),u=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 S=h.state||(h.state=new C);S.get=S.get,S.has=S.has,S.set=S.set,r=function(g,w){if(S.has(g))throw new v(f);return w.facade=g,S.set(g,w),w},a=function(g){return S.get(g)||{}},i=function(g){return S.has(g)}}else{var x=d("state");m[x]=!0,r=function(g,w){if(u(g,x))throw new v(f);return w.facade=g,p(g,x,w),w},a=function(g){return u(g,x)?g[x]:{}},i=function(g){return u(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 y;if(!l(w)||(y=a(w)).type!==g)throw new v("Incompatible receiver, "+g+" required");return y}}}},(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,p=Object.defineProperty,u=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 S=u(f,v);S&&S[m]&&(f[v]=C.value,C={configurable:d in C?C[d]:S[d],enumerable:h in C?C[h]:S[h],writable:!1})}return p(f,v,C)}:p:function(f,v,C){if(s(f),v=o(v),s(C),a)try{return p(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 p=r("Symbol");return a(p)&&i(p.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:q,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(q)&&!f(q,{kind:"method"})||q.computed&&!d(q.key)){if(g(q)){if(F=q.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(q,{operator:"="}))F=q.left;else if(!F)return}else F=q.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||!$&&u(z)&&/[\uD800-\uDFFF]/.test(I))return;I=w(I);const H=o(I);return H[i]=!0,(function(R,K,se,he){if(R.selfReference){if(!he.hasBinding(se.name)||he.hasGlobal(se.name)){if(!u(K))return;let Le=y;K.generator&&(Le=_);const X=Le({FUNCTION:K,FUNCTION_ID:se,FUNCTION_KEY:he.generateUidIdentifier(se.name)}).expression,Q=X.callee.body.body[0].params;for(let fe=0,Ce=(function(Me){const ue=Me.params.findIndex((ae=>p(ae)||S(ae)));return ue===-1?Me.params.length:ue})(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,p=(function(u,h){if(u==null)return{};var d,m,f={},v=Object.keys(u);for(m=0;m=0||(f[d]=u[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:p,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(p,u,h){if(!p||typeof p!="object"&&typeof p!="function")throw new o("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="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(p,u);if(i)i(p,u,{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.");p[u]=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"),p=n(69)(),u=typeof globalThis>"u"?n.g:globalThis,h=a(),d=s("String.prototype.slice"),m=Object.getPrototypeOf,f=s("Array.prototype.indexOf",!0)||function(C,S){for(var x=0;x-1?S:S==="Object"&&(function(x){var g=!1;return r(v,(function(w,y){if(!g)try{w(x),g=d(y,1)}catch{}})),g})(C)}return o?(function(x){var g=!1;return r(v,(function(w,y){if(!g)try{"$"+w(x)===y&&(g=d(y,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 p=Object.keys(arguments);return p&&p.length===arguments.length})(1,2);l||(Object.keys=function(p){return a(p)?o(r.call(p)):o(p)})}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=(p,u,h,d)=>{switch(u){case"===":return typeof p=="object"&&(p=p.version),typeof h=="object"&&(h=h.version),p===h;case"!==":return typeof p=="object"&&(p=p.version),typeof h=="object"&&(h=h.version),p!==h;case"":case"=":case"==":return r(p,h,d);case"!=":return a(p,h,d);case">":return i(p,h,d);case">=":return s(p,h,d);case"<":return o(p,h,d);case"<=":return l(p,h,d);default:throw new TypeError(`Invalid operator: ${u}`)}}},(t,e,n)=>{const r=n(266),a=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),o=Symbol("allowStale"),l=Symbol("maxAge"),p=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1,v=(y,_,T)=>{const O=y[d].get(_);if(O){const I=O.value;if(C(y,I)){if(x(y,O),!y[o])return}else T&&(y[m]&&(O.value.now=Date.now()),y[h].unshiftNode(O));return I.value}},C=(y,_)=>{if(!_||!_.maxAge&&!y[l])return!1;const T=Date.now()-_.now;return _.maxAge?T>_.maxAge:y[l]&&T>y[l]},S=y=>{if(y[i]>y[a])for(let _=y[h].tail;y[i]>y[a]&&_!==null;){const T=_.prev;x(y,_),_=T}},x=(y,_)=>{if(_){const T=_.value;y[p]&&y[p](T.key,T.value),y[i]-=T.length,y[d].delete(T.key),y[h].removeNode(_)}};class g{constructor(_,T,O,I,z){this.key=_,this.value=T,this.length=O,this.now=I,this.maxAge=z||0}}const w=(y,_,T,O)=>{let I=T.value;C(y,I)&&(x(y,T),y[o]||(I=void 0)),I&&_.call(O,I.value,I.key,y)};t.exports=class{constructor(y){if(typeof y=="number"&&(y={max:y}),y||(y={}),y.max&&(typeof y.max!="number"||y.max<0))throw new TypeError("max must be a non-negative number");this[a]=y.max||1/0;const _=y.length||f;if(this[s]=typeof _!="function"?f:_,this[o]=y.stale||!1,y.maxAge&&typeof y.maxAge!="number")throw new TypeError("maxAge must be a number");this[l]=y.maxAge||0,this[p]=y.dispose,this[u]=y.noDisposeOnSet||!1,this[m]=y.updateAgeOnGet||!1,this.reset()}set max(y){if(typeof y!="number"||y<0)throw new TypeError("max must be a non-negative number");this[a]=y||1/0,S(this)}get max(){return this[a]}set allowStale(y){this[o]=!!y}get allowStale(){return this[o]}set maxAge(y){if(typeof y!="number")throw new TypeError("maxAge must be a non-negative number");this[l]=y,S(this)}get maxAge(){return this[l]}set lengthCalculator(y){typeof y!="function"&&(y=f),y!==this[s]&&(this[s]=y,this[i]=0,this[h].forEach((_=>{_.length=this[s](_.value,_.key),this[i]+=_.length}))),S(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[h].length}rforEach(y,_){_=_||this;for(let T=this[h].tail;T!==null;){const O=T.prev;w(this,y,T,_),T=O}}forEach(y,_){_=_||this;for(let T=this[h].head;T!==null;){const O=T.next;w(this,y,T,_),T=O}}keys(){return this[h].toArray().map((y=>y.key))}values(){return this[h].toArray().map((y=>y.value))}reset(){this[p]&&this[h]&&this[h].length&&this[h].forEach((y=>this[p](y.key,y.value))),this[d]=new Map,this[h]=new r,this[i]=0}dump(){return this[h].map((y=>!C(this,y)&&{k:y.key,v:y.value,e:y.now+(y.maxAge||0)})).toArray().filter((y=>y))}dumpLru(){return this[h]}set(y,_,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](_,y);if(this[d].has(y)){if(I>this[a])return x(this,this[d].get(y)),!1;const q=this[d].get(y).value;return this[p]&&(this[u]||this[p](y,q.value)),q.now=O,q.maxAge=T,q.value=_,this[i]+=I-q.length,q.length=I,this.get(y),S(this),!0}const z=new g(y,_,I,O,T);return z.length>this[a]?(this[p]&&this[p](y,_),!1):(this[i]+=z.length,this[h].unshift(z),this[d].set(y,this[h].head),S(this),!0)}has(y){if(!this[d].has(y))return!1;const _=this[d].get(y).value;return!C(this,_)}get(y){return v(this,y,!0)}peek(y){return v(this,y,!1)}pop(){const y=this[h].tail;return y?(x(this,y),y.value):null}del(y){x(this,this[d].get(y))}load(y){this.reset();const _=Date.now();for(let T=y.length-1;T>=0;T--){const O=y[T],I=O.e||0;if(I===0)this.set(O.k,O.v);else{const z=I-_;z>0&&this.set(O.k,O.v,z)}}}prune(){this[d].forEach(((y,_)=>v(this,_,!1)))}}},(t,e,n)=>{function r(){const h=n(13);return r=function(){return h},h}function a(h,d,m,f,v,C,S){try{var x=h[C](S),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 S(g){a(C,f,v,S,x,"next",g)}function x(g){a(C,f,v,S,x,"throw",g)}S(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=u,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,p;function u(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:(p=i((function*(h){return h})),function(h){return p.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(u,h,d){return p(u,h,d)===u?h:u},e.getLowestImplementedVersion=function(u,h){const d=u[h];return d||h!=="android"?d:u.chrome},e.getLowestUnreleased=p,e.isUnreleasedVersion=function(u,h){const d=i.unreleasedLabels[h];return!!d&&d===u.toString().toLowerCase()},e.semverMin=l,e.semverify=function(u){if(typeof u=="string"&&r.valid(u))return u;o.invariant(typeof u=="number"||typeof u=="string"&&s.test(u),`'${u}' is not a valid version`),u=u.toString();let h=0,d=0;for(;(h=u.indexOf(".",h+1))>0;)d++;return u+".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(u,h){return u&&r.lt(u,h)?u:h}function p(u,h,d){const m=i.unreleasedLabels[d];return u===m?h:h===m?u:l(u,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:p,cloneNode:u,identifier:h,memberExpression:d,sequenceExpression:m,stringLiteral:f,thisExpression:v}=s.types;{const y=n(33);e.environmentVisitor=y.default,e.skipAllButComputedKey=y.skipAllButComputedKey}function C(y,_,T,O){y=u(y);const I=_||O?y:d(y,h("prototype"));return p(T.addHelper("getPrototypeOf"),[I])}const S=s.traverse.visitors.merge([r.default,{Super(y,_){const{node:T,parentPath:O}=y;O.isMemberExpression({object:T})&&_.handle(O)}}]),x=s.traverse.visitors.merge([r.default,{Scopable(y,_){let{refName:T}=_;const O=y.scope.getOwnBinding(T);O&&O.identifier.name===T&&y.scope.rename(T)}}]),g={memoise(y,_){const{scope:T,node:O}=y,{computed:I,property:z}=O;if(!I)return;const q=T.maybeGenerateMemoised(z);q&&this.memoiser.set(z,q,_)},prop(y){const{computed:_,property:T}=y.node;return this.memoiser.has(T)?u(this.memoiser.get(T)):_?u(T):f(T.name)},get(y){return this._get(y,this._getThisRefs())},_get(y,_){const T=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("get"),[_.memo?m([_.memo,T]):T,this.prop(y),_.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:v()};const y=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:o("=",y,v()),this:u(y)}},set(y,_){const T=this._getThisRefs(),O=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("set"),[T.memo?m([T.memo,O]):O,this.prop(y),_,T.this,l(y.isInStrictMode())])},destructureSet(y){throw y.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(y,_){const T=this._getThisRefs();return(0,i.default)(this._get(y,T),u(T.this),_,!1)},optionalCall(y,_){const T=this._getThisRefs();return(0,i.default)(this._get(y,T),u(T.this),_,!0)},delete(y){return y.node.computed?m([p(this.file.addHelper("toPropertyKey"),[u(y.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(y){const{property:_}=y.node;return this.memoiser.has(_)?u(this.memoiser.get(_)):u(_)},get(y){const{isStatic:_,getSuperRef:T}=this,{computed:O}=y.node,I=this.prop(y);let z;var q,W;return z=_?(q=T())!=null?q:d(h("Function"),h("prototype")):d((W=T())!=null?W:h("Object"),h("prototype")),d(z,I,O)},set(y,_){const{computed:T}=y.node,O=this.prop(y);return o("=",d(v(),O,T),_)},destructureSet(y){const{computed:_}=y.node,T=this.prop(y);return d(v(),T,_)},call(y,_){return(0,i.default)(this.get(y),v(),_,!1)},optionalCall(y,_){return(0,i.default)(this.get(y),v(),_,!0)}});e.default=class{constructor(y){var _;const T=y.methodPath;this.methodPath=T,this.isDerivedConstructor=T.isClassMethod({kind:"constructor"})&&!!y.superRef,this.isStatic=T.isObjectMethod()||T.node.static||(T.isStaticBlock==null?void 0:T.isStaticBlock()),this.isPrivateMethod=T.isPrivate()&&T.isMethod(),this.file=y.file,this.constantSuper=(_=y.constantSuper)!=null?_:y.isLoose,this.opts=y}getObjectRef(){return u(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?u(this.opts.superRef):this.opts.getSuperRef?u(this.opts.getSuperRef()):void 0}replace(){this.opts.refToPreserve&&this.methodPath.traverse(x,{refName:this.opts.refToPreserve.name});const y=this.constantSuper?w:g;(0,a.default)(this.methodPath,S,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:y.get},y))}}},(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(""),p=Symbol(""),u=Symbol(""),h=Symbol(""),d=Symbol(""),m=Symbol(""),f=Symbol("");r.registerRuntimeHelpers({[i]:"vModelRadio",[s]:"vModelCheckbox",[o]:"vModelText",[l]:"vModelSelect",[p]:"vModelDynamic",[u]:"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,Q,fe){let Ce=Q?Q.ns:fe;if(Q&&Ce===2)if(Q.tag==="annotation-xml"){if(X==="svg")return 1;Q.props.some((Me=>Me.type===6&&Me.name==="encoding"&&Me.value!=null&&(Me.value.content==="text/html"||Me.value.content==="application/xhtml+xml")))&&(Ce=0)}else/^m(?:[ions]|text)$/.test(Q.tag)&&X!=="mglyph"&&X!=="malignmark"&&(Ce=0);else Q&&Ce===1&&(Q.tag!=="foreignObject"&&Q.tag!=="desc"&&Q.tag!=="title"||(Ce=0));if(Ce===0){if(X==="svg")return 1;if(X==="math")return 2}return Ce}},C=X=>{X.type===1&&X.props.forEach(((Q,fe)=>{Q.type===6&&Q.name==="style"&&Q.value&&(X.props[fe]={type:7,name:"bind",arg:r.createSimpleExpression("style",!0,Q.loc),exp:S(Q.value.content,Q.loc),modifiers:[],loc:Q.loc})}))},S=(X,Q)=>{const fe=a.parseStringStyle(X);return r.createSimpleExpression(JSON.stringify(fe),!1,Q,3)};function x(X,Q){return r.createCompilerError(X,Q,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 ,