astro-ghostcms/.pnpm-store/v3/files/5e/92f0420c95466bc552e19fbeef1...

289 lines
1.7 MiB
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();const sA="modulepreload",oA=function(r){return"/__unocss/"+r},YO={},AD=function(e,t,n){if(!t||t.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=oA(s),s in YO)return;YO[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!n)for(let g=i.length-1;g>=0;g--){const b=i[g];if(b.href===s&&(!a||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":sA,a||(d.as="script",d.crossOrigin=""),d.href=s,document.head.appendChild(d),a)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})};function TD(r,e){const t=Object.create(null),n=r.split(",");for(let i=0;i<n.length;i++)t[n[i]]=!0;return e?i=>!!t[i.toLowerCase()]:i=>!!t[i]}const qs={},_p=[],dl=()=>{},aA=()=>!1,uA=/^on[^a-z]/,Eg=r=>uA.test(r),PD=r=>r.startsWith("onUpdate:"),Yo=Object.assign,kD=(r,e)=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)},lA=Object.prototype.hasOwnProperty,ds=(r,e)=>lA.call(r,e),Pi=Array.isArray,$p=r=>yd(r)==="[object Map]",wg=r=>yd(r)==="[object Set]",GO=r=>yd(r)==="[object Date]",qi=r=>typeof r=="function",Oo=r=>typeof r=="string",Up=r=>typeof r=="symbol",Bs=r=>r!==null&&typeof r=="object",Lv=r=>(Bs(r)||qi(r))&&qi(r.then)&&qi(r.catch),Xv=Object.prototype.toString,yd=r=>Xv.call(r),cA=r=>yd(r).slice(8,-1),Vv=r=>yd(r)==="[object Object]",FD=r=>Oo(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,mm=TD(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ag=r=>{const e=Object.create(null);return t=>e[t]||(e[t]=r(t))},hA=/-(\w)/g,bl=Ag(r=>r.replace(hA,(e,t)=>t?t.toUpperCase():"")),pA=/\B([A-Z])/g,Gh=Ag(r=>r.replace(pA,"-$1").toLowerCase()),Tg=Ag(r=>r.charAt(0).toUpperCase()+r.slice(1)),D0=Ag(r=>r?`on${Tg(r)}`:""),Xh=(r,e)=>!Object.is(r,e),gm=(r,e)=>{for(let t=0;t<r.length;t++)r[t](e)},Nm=(r,e,t)=>{Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:t})},fA=r=>{const e=parseFloat(r);return isNaN(e)?r:e};let HO;const cy=()=>HO||(HO=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ml(r){if(Pi(r)){const e={};for(let t=0;t<r.length;t++){const n=r[t],i=Oo(n)?yA(n):ml(n);if(i)for(const s in i)e[s]=i[s]}return e}else if(Oo(r)||Bs(r))return r}const dA=/;(?![^(]*\))/g,mA=/:([^]+)/,gA=/\/\*[^]*?\*\//g;function yA(r){const e={};return r.replace(gA,"").split(dA).forEach(t=>{if(t){const n=t.split(mA);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Fa(r){let e="";if(Oo(r))e=r;else if(Pi(r))for(let t=0;t<r.length;t++){const n=Fa(r[t]);n&&(e+=n+" ")}else if(Bs(r))for(const t in r)r[t]&&(e+=t+" ");return e.trim()}function DA(r){if(!r)return null;let{class:e,style:t}=r;return e&&!Oo(e)&&(r.class=Fa(e)),t&&(r.style=ml(t)),r}const OA="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xA=TD(OA);function Uv(r){return!!r||r===""}function bA(r,e){if(r.length!==e.length)return!1;let t=!0;for(let n=0;t&&n<r.length;n++)t=Pg(r[n],e[n]);return t}function Pg(r,e){if(r===e)return!0;let t=GO(r),n=GO(e);if(t||n)return t&&n?r.getTime()===e.getTime():!1;if(t=Up(r),n=Up(e),t||n)return r===e;if(t=Pi(r),n=Pi(e),t||n)return t&&n?bA(r,e):!1;if(t=Bs(r),n=Bs(e),t||n){if(!t||!n)return!1;const i=Object.keys(r).length,s=Object.keys(e).length;if(i!==s)return!1;for(const a in r){const l=r.hasOwnProperty(a),p=e.hasOwnProperty(a);if(l&&!p||!l&&p||!Pg(r[a],e[a]))return!1}}return String(r)===String(e)}function qv(r,e){return r.findIndex(t=>Pg(t,e))}const Ys=r=>Oo(r)?r:r==null?"":Pi(r)||Bs(r)&&(r.toString===Xv||!qi(r.toString))?JSON.stringify(r,zv,2):String(r),zv=(r,e)=>e&&e.__v_isRef?zv(r,e.value):$p(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[n,i])=>(t[`${n} =>`]=i,t),{})}:wg(e)?{[`Set(${e.size})`]:[...e.values()]}:Bs(e)&&!Pi(e)&&!Vv(e)?String(e):e;let Va;class vA{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Va,!e&&Va&&(this.index=(Va.scopes||(Va.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Va;try{return Va=this,e()}finally{Va=t}}}on(){Va=this}off(){Va=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function CA(r,e=Va){e&&e.active&&e.effects.push(r)}function Wv(){return Va}function SA(r){Va&&Va.cleanups.push(r)}const _D=r=>{const e=new Set(r);return e.w=0,e.n=0,e},Zv=r=>(r.w&Gc)>0,Yv=r=>(r.n&Gc)>0,EA=({deps:r})=>{if(r.length)for(let e=0;e<r.length;e++)r[e].w|=Gc},wA=r=>{const{deps:e}=r;if(e.length){let t=0;for(let n=0;n<e.length;n++){const i=e[n];Zv(i)&&!Yv(i)?i.delete(r):e[t++]=i,i.w&=~Gc,i.n&=~Gc}e.length=t}},Im=new WeakMap;let Cf=0,Gc=1;const hy=30;let xu;const Rh=Symbol(""),py=Symbol("");class $D{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,CA(this,n)}run(){if(!this.active)return this.fn();let e=xu,t=Uc;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=xu,xu=this,Uc=!0,Gc=1<<++Cf,Cf<=hy?EA(this):JO(this),this.fn()}finally{Cf<=hy&&wA(this),Gc=1<<--Cf,xu=this.parent,Uc=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xu===this?this.deferStop=!0:this.active&&(JO(this),this.onStop&&this.onStop(),this.active=!1)}}function JO(r){const{deps:e}=r;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(r);e.length=0}}let Uc=!0;const Gv=[];function rf(){Gv.push(Uc),Uc=!1}function nf(){const r=Gv.pop();Uc=r===void 0?!0:r}function _a(r,e,t){if(Uc&&xu){let n=Im.get(r);n||Im.set(r,n=new Map);let i=n.get(t);i||n.set(t,i=_D()),Hv(i)}}function Hv(r,e){let t=!1;Cf<=hy?Yv(r)||(r.n|=Gc,t=!Zv(r)):t=!r.has(xu),t&&(r.add(xu),xu.deps.push(r))}function Kl(r,e,t,n,i,s){const a=Im.get(r);if(!a)return;let l=[];if(e==="clear")l=[...a.values()];else if(t==="length"&&Pi(r)){const p=Number(n);a.forEach((d,g)=>{(g==="length"||!Up(g)&&g>=p)&&l.push(d)})}else switch(t!==void 0&&l.push(a.get(t)),e){case"add":Pi(r)?FD(t)&&l.push(a.get("length")):(l.push(a.get(Rh)),$p(r)&&l.push(a.get(py)));break;case"delete":Pi(r)||(l.push(a.get(Rh)),$p(r)&&l.push(a.get(py)));break;case"set":$p(r)&&l.push(a.get(Rh));break}if(l.length===1)l[0]&&fy(l[0]);else{const p=[];for(const d of l)d&&p.push(...d);fy(_D(p))}}function fy(r,e){const t=Pi(r)?r:[...r];for(const n of t)n.computed&&KO(n);for(const n of t)n.computed||KO(n)}function KO(r,e){(r!==xu||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}function AA(r,e){var t;return(t=Im.get(r))==null?void 0:t.get(e)}const TA=TD("__proto__,__v_isRef,__isVue"),Jv=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(Up)),e1=PA();function PA(){const r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){const n=Ds(this);for(let s=0,a=this.length;s<a;s++)_a(n,"get",s+"");const i=n[e](...t);return i===-1||i===!1?n[e](...t.map(Ds)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){rf();const n=Ds(this)[e].apply(this,t);return nf(),n}}),r}function kA(r){const e=Ds(this);return _a(e,"has",r),e.hasOwnProperty(r)}class Kv{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const i=this._isReadonly,s=this._shallow;if(t==="__v_isReactive")return!i;if(t==="__v_isReadonly")return i;if(t==="__v_isShallow")return s;if(t==="__v_raw"&&n===(i?s?VA:nC:s?rC:tC).get(e))return e;const a=Pi(e);if(!i){if(a&&ds(e1,t))return Reflect.get(e1,t,n);if(t==="hasOwnProperty")return kA}const l=Reflect.get(e,t,n);return(Up(t)?Jv.has(t):TA(t))||(i||_a(e,"get",t),s)?l:Gs(l)?a&&FD(t)?l:l.value:Bs(l)?i?Od(l):Dd(l):l}}class eC extends Kv{constructor(e=!1){super(!1,e)}set(e,t,n,i){let s=e[t];if(qp(s)&&Gs(s)&&!Gs(n))return!1;if(!this._shallow&&(!Mm(n)&&!qp(n)&&(s=Ds(s),n=Ds(n)),!Pi(e)&&Gs(s)&&!Gs(n)))return s.value=n,!0;const a=Pi(e)&&FD(t)?Number(t)<e.length:ds(e,t),l=Reflect.set(e,t,n,i);return e===Ds(i)&&(a?Xh(n,s)&&Kl(e,"set",t,n):Kl(e,"add",t,n)),l}deleteProperty(e,t){const n=ds(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&Kl(e,"delete",t,void 0),i}has(e,t){const n=Reflect.has(e,t);return(!Up(t)||!Jv.has(t))&&_a(e,"has",t),n}ownKeys(e){return _a(e,"iterate",Pi(e)?"length":Rh),Reflect.ownKeys(e)}}class FA extends Kv{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const _A=new eC,$A=new FA,BA=new eC(!0),BD=r=>r,kg=r=>Reflect.getPrototypeOf(r);function Md(r,e,t=!1,n=!1){r=r.__v_raw;const i=Ds(r),s=Ds(e);t||(Xh(e,s)&&_a(i,"get",e),_a(i,"get",s));const{has:a}=kg(i),l=n?BD:t?MD:qf;if(a.call(i,e))return l(r.get(e));if(a.call(i,s))return l(r.get(s));r!==i&&r.get(e)}function Rd(r,e=!1){const t=this.__v_raw,n=Ds(t),i=Ds(r);return e||(Xh(r,i)&&_a(n,"has",r),_a(n,"has",i)),r===i?t.has(r):t.has(r)||t.has(i)}function Qd(r,e=!1){return r=r.__v_raw,!e&&_a(Ds(r),"iterate",Rh),Reflect.get(r,"size",r)}function t1(r){r=Ds(r);const e=Ds(this);return kg(e).has.call(e,r)||(e.add(r),Kl(e,"add",r,r)),this}function r1(r,e){e=Ds(e);const t=Ds(this),{has:n,get:i}=kg(t);let s=n.call(t,r);s||(r=Ds(r),s=n.call(t,r));const a=i.call(t,r);return t.set(r,e),s?Xh(e,a)&&Kl(t,"set",r,e):Kl(t,"add",r,e),this}function n1(r){const e=Ds(this),{has:t,get:n}=kg(e);let i=t.call(e,r);i||(r=Ds(r),i=t.call(e,r)),n&&n.call(e,r);const s=e.delete(r);return i&&Kl(e,"delete",r,void 0),s}function i1(){const r=Ds(this),e=r.size!==0,t=r.clear();return e&&Kl(r,"clear",void 0,void 0),t}function jd(r,e){return function(n,i){const s=this,a=s.__v_raw,l=Ds(a),p=e?BD:r?MD:qf;return!r&&_a(l,"iterate",Rh),a.forEach((d,g)=>n.call(i,p(d),p(g),s))}}function Ld(r,e,t){return function(...n){const i=this.__v_raw,s=Ds(i),a=$p(s),l=r==="entries"||r===Symbol.iterator&&a,p=r==="keys"&&a,d=i[r](...n),g=t?BD:e?MD:qf;return!e&&_a(s,"iterate",p?py:Rh),{next(){const{value:b,done:S}=d.next();return S?{value:b,done:S}:{value:l?[g(b[0]),g(b[1])]:g(b),done:S}},[Symbol.iterator](){return this}}}}function Pc(r){return function(...e){return r==="delete"?!1:this}}function NA(){const r={get(s){return Md(this,s)},get size(){return Qd(this)},has:Rd,add:t1,set:r1,delete:n1,clear:i1,forEach:jd(!1,!1)},e={get(s){return Md(this,s,!1,!0)},get size(){return Qd(this)},has:Rd,add:t1,set:r1,delete:n1,clear:i1,forEach:jd(!1,!0)},t={get(s){return Md(this,s,!0)},get size(){return Qd(this,!0)},has(s){return Rd.call(this,s,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:jd(!0,!1)},n={get(s){return Md(this,s,!0,!0)},get size(){return Qd(this,!0)},has(s){return Rd.call(this,s,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:jd(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=Ld(s,!1,!1),t[s]=Ld(s,!0,!1),e[s]=Ld(s,!1,!0),n[s]=Ld(s,!0,!0)}),[r,t,e,n]}const[IA,MA,RA,QA]=NA();function ND(r,e){const t=e?r?QA:RA:r?MA:IA;return(n,i,s)=>i==="__v_isReactive"?!r:i==="__v_isReadonly"?r:i==="__v_raw"?n:Reflect.get(ds(t,i)&&i in n?t:n,i,s)}const jA={get:ND(!1,!1)},LA={get:ND(!1,!0)},XA={get:ND(!0,!1)},tC=new WeakMap,rC=new WeakMap,nC=new WeakMap,VA=new WeakMap;function UA(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qA(r){return r.__v_skip||!Object.isExtensible(r)?0:UA(cA(r))}function Dd(r){return qp(r)?r:ID(r,!1,_A,jA,tC)}function iC(r){return ID(r,!1,BA,LA,rC)}function Od(r){return ID(r,!0,$A,XA,nC)}function ID(r,e,t,n,i){if(!Bs(r)||r.__v_raw&&!(e&&r.__v_isReactive))return r;const s=i.get(r);if(s)return s;const a=qA(r);if(a===0)return r;const l=new Proxy(r,a===2?n:t);return i.set(r,l),l}function Bp(r){return qp(r)?Bp(r.__v_raw):!!(r&&r.__v_isReactive)}function qp(r){return!!(r&&r.__v_isReadonly)}function Mm(r){return!!(r&&r.__v_isShallow)}function sC(r){return Bp(r)||qp(r)}function Ds(r){const e=r&&r.__v_raw;return e?Ds(e):r}function oC(r){return Nm(r,"__v_skip",!0),r}const qf=r=>Bs(r)?Dd(r):r,MD=r=>Bs(r)?Od(r):r;function RD(r){Uc&&xu&&(r=Ds(r),Hv(r.dep||(r.dep=_D())))}function QD(r,e){r=Ds(r);const t=r.dep;t&&fy(t)}function Gs(r){return!!(r&&r.__v_isRef===!0)}function Ws(r){return aC(r,!1)}function Np(r){return aC(r,!0)}function aC(r,e){return Gs(r)?r:new zA(r,e)}class zA{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ds(e),this._value=t?e:qf(e)}get value(){return RD(this),this._value}set value(e){const t=this.__v_isShallow||Mm(e)||qp(e);e=t?e:Ds(e),Xh(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:qf(e),QD(this))}}function wi(r){return Gs(r)?r.value:r}const WA={get:(r,e,t)=>wi(Reflect.get(r,e,t)),set:(r,e,t,n)=>{const i=r[e];return Gs(i)&&!Gs(t)?(i.value=t,!0):Reflect.set(r,e,t,n)}};function uC(r){return Bp(r)?r:new Proxy(r,WA)}class ZA{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>RD(this),()=>QD(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function YA(r){return new ZA(r)}function GA(r){const e=Pi(r)?new Array(r.length):{};for(const t in r)e[t]=lC(r,t);return e}class HA{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return AA(Ds(this._object),this._key)}}class JA{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function KA(r,e,t){return Gs(r)?r:qi(r)?new JA(r):Bs(r)&&arguments.length>1?lC(r,e,t):Ws(r)}function lC(r,e,t){const n=r[e];return Gs(n)?n:new HA(r,e,t)}class eT{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new $D(e,()=>{this._dirty||(this._dirty=!0,QD(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Ds(this);return RD(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function tT(r,e,t=!1){let n,i;const s=qi(r);return s?(n=r,i=dl):(n=r.get,i=r.set),new eT(n,i,s||!i,t)}function qc(r,e,t,n){let i;try{i=n?r(...n):r()}catch(s){Fg(s,e,t)}return i}function Su(r,e,t,n){if(qi(r)){const s=qc(r,e,t,n);return s&&Lv(s)&&s.catch(a=>{Fg(a,e,t)}),s}const i=[];for(let s=0;s<r.length;s++)i.push(Su(r[s],e,t,n));return i}function Fg(r,e,t,n=!0){const i=e?e.vnode:null;if(e){let s=e.parent;const a=e.proxy,l=t;for(;s;){const d=s.ec;if(d){for(let g=0;g<d.length;g++)if(d[g](r,a,l)===!1)return}s=s.parent}const p=e.appContext.config.errorHandler;if(p){qc(p,null,10,[r,a,l]);return}}rT(r,t,i,n)}function rT(r,e,t,n=!0){console.error(r)}let zf=!1,dy=!1;const oa=[];let ul=0;const Ip=[];let Hl=null,Fh=0;const cC=Promise.resolve();let jD=null;function Hh(r){const e=jD||cC;return r?e.then(this?r.bind(this):r):e}function nT(r){let e=ul+1,t=oa.length;for(;e<t;){const n=e+t>>>1,i=oa[n],s=Wf(i);s<r||s===r&&i.pre?e=n+1:t=n}return e}function LD(r){(!oa.length||!oa.includes(r,zf&&r.allowRecurse?ul+1:ul))&&(r.id==null?oa.push(r):oa.splice(nT(r.id),0,r),hC())}function hC(){!zf&&!dy&&(dy=!0,jD=cC.then(fC))}function iT(r){const e=oa.indexOf(r);e>ul&&oa.splice(e,1)}function sT(r){Pi(r)?Ip.push(...r):(!Hl||!Hl.includes(r,r.allowRecurse?Fh+1:Fh))&&Ip.push(r),hC()}function s1(r,e=zf?ul+1:0){for(;e<oa.length;e++){const t=oa[e];t&&t.pre&&(oa.splice(e,1),e--,t())}}function pC(r){if(Ip.length){const e=[...new Set(Ip)];if(Ip.length=0,Hl){Hl.push(...e);return}for(Hl=e,Hl.sort((t,n)=>Wf(t)-Wf(n)),Fh=0;Fh<Hl.length;Fh++)Hl[Fh]();Hl=null,Fh=0}}const Wf=r=>r.id==null?1/0:r.id,oT=(r,e)=>{const t=Wf(r)-Wf(e);if(t===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return t};function fC(r){dy=!1,zf=!0,oa.sort(oT);try{for(ul=0;ul<oa.length;ul++){const e=oa[ul];e&&e.active!==!1&&qc(e,null,14)}}finally{ul=0,oa.length=0,pC(),zf=!1,jD=null,(oa.length||Ip.length)&&fC()}}function aT(r,e,...t){if(r.isUnmounted)return;const n=r.vnode.props||qs;let i=t;const s=e.startsWith("update:"),a=s&&e.slice(7);if(a&&a in n){const g=`${a==="modelValue"?"model":a}Modifiers`,{number:b,trim:S}=n[g]||qs;S&&(i=t.map(I=>Oo(I)?I.trim():I)),b&&(i=t.map(fA))}let l,p=n[l=D0(e)]||n[l=D0(bl(e))];!p&&s&&(p=n[l=D0(Gh(e))]),p&&Su(p,r,6,i);const d=n[l+"Once"];if(d){if(!r.emitted)r.emitted={};else if(r.emitted[l])return;r.emitted[l]=!0,Su(d,r,6,i)}}function dC(r,e,t=!1){const n=e.emitsCache,i=n.get(r);if(i!==void 0)return i;const s=r.emits;let a={},l=!1;if(!qi(r)){const p=d=>{const g=dC(d,e,!0);g&&(l=!0,Yo(a,g))};!t&&e.mixins.length&&e.mixins.forEach(p),r.extends&&p(r.extends),r.mixins&&r.mixins.forEach(p)}return!s&&!l?(Bs(r)&&n.set(r,null),null):(Pi(s)?s.forEach(p=>a[p]=null):Yo(a,s),Bs(r)&&n.set(r,a),a)}function _g(r,e){return!r||!Eg(e)?!1:(e=e.slice(2).replace(/Once$/,""),ds(r,e[0].toLowerCase()+e.slice(1))||ds(r,Gh(e))||ds(r,e))}let Wo=null,$g=null;function Rm(r){const e=Wo;return Wo=r,$g=r&&r.type.__scopeId||null,e}function uT(r){$g=r}function lT(){$g=null}const cT=r=>fa;function fa(r,e=Wo,t){if(!e||r._n)return r;const n=(...i)=>{n._d&&g1(-1);const s=Rm(e);let a;try{a=r(...i)}finally{Rm(s),n._d&&g1(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function O0(r){const{type:e,vnode:t,proxy:n,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:p,emit:d,render:g,renderCache:b,data:S,setupState:I,ctx:H,inheritAttrs:be}=r;let ke,ge;const Ue=Rm(r);try{if(t.shapeFlag&4){const pt=i||n;ke=ol(g.call(pt,pt,b,s,I,S,H)),ge=p}else{const pt=e;ke=ol(pt.length>1?pt(s,{attrs:p,slots:l,emit:d}):pt(s,null)),ge=e.props?p:hT(p)}}catch(pt){$f.length=0,Fg(pt,r,1),ke=xs(Hc)}let Dt=ke;if(ge&&be!==!1){const pt=Object.keys(ge),{shapeFlag:vt}=Dt;pt.length&&vt&7&&(a&&pt.some(PD)&&(ge=pT(ge,a)),Dt=zp(Dt,ge))}return t.dirs&&(Dt=zp(Dt),Dt.dirs=Dt.dirs?Dt.dirs.concat(t.dirs):t.dirs),t.transition&&(Dt.transition=t.transition),ke=Dt,Rm(Ue),ke}const hT=r=>{let e;for(const t in r)(t==="class"||t==="style"||Eg(t))&&((e||(e={}))[t]=r[t]);return e},pT=(r,e)=>{const t={};for(const n in r)(!PD(n)||!(n.slice(9)in e))&&(t[n]=r[n]);return t};function fT(r,e,t){const{props:n,children:i,component:s}=r,{props:a,children:l,patchFlag:p}=e,d=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&p>=0){if(p&1024)return!0;if(p&16)return n?o1(n,a,d):!!a;if(p&8){const g=e.dynamicProps;for(let b=0;b<g.length;b++){const S=g[b];if(a[S]!==n[S]&&!_g(d,S))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?o1(n,a,d):!0:!!a;return!1}function o1(r,e,t){const n=Object.keys(e);if(n.length!==Object.keys(r).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==r[s]&&!_g(t,s))return!0}return!1}function dT({vnode:r,parent:e},t){for(;e&&e.subTree===r;)(r=e.vnode).el=t,e=e.parent}const mC="components";function Vh(r,e){return gT(mC,r,!0,e)||r}const mT=Symbol.for("v-ndc");function gT(r,e,t=!0,n=!1){const i=Wo||Mo;if(i){const s=i.type;if(r===mC){const l=oP(s,!1);if(l&&(l===e||l===bl(e)||l===Tg(bl(e))))return s}const a=a1(i[r]||s[r],e)||a1(i.appContext[r],e);return!a&&n?s:a}}function a1(r,e){return r&&(r[e]||r[bl(e)]||r[Tg(bl(e))])}const yT=r=>r.__isSuspense;function DT(r,e){e&&e.pendingBranch?Pi(r)?e.effects.push(...r):e.effects.push(r):sT(r)}function gC(r,e){return XD(r,null,e)}const Xd={};function Ro(r,e,t){return XD(r,e,t)}function XD(r,e,{immediate:t,deep:n,flush:i,onTrack:s,onTrigger:a}=qs){var l;const p=Wv()===((l=Mo)==null?void 0:l.scope)?Mo:null;let d,g=!1,b=!1;if(Gs(r)?(d=()=>r.value,g=Mm(r)):Bp(r)?(d=()=>r,n=!0):Pi(r)?(b=!0,g=r.some(pt=>Bp(pt)||Mm(pt)),d=()=>r.map(pt=>{if(Gs(pt))return pt.value;if(Bp(pt))return Nh(pt);if(qi(pt))return qc(pt,p,2)})):qi(r)?e?d=()=>qc(r,p,2):d=()=>{if(!(p&&p.isUnmounted))return S&&S(),Su(r,p,3,[I])}:d=dl,e&&n){const pt=d;d=()=>Nh(pt())}let S,I=pt=>{S=Ue.onStop=()=>{qc(pt,p,4)}},H;if(Yf)if(I=dl,e?t&&Su(e,p,3,[d(),b?[]:void 0,I]):d(),i==="sync"){const pt=lP();H=pt.__watcherHandles||(pt.__watcherHandles=[])}else return dl;let be=b?new Array(r.length).fill(Xd):Xd;const ke=()=>{if(Ue.active)if(e){const pt=Ue.run();(n||g||(b?pt.some((vt,Yt)=>Xh(vt,be[Yt])):Xh(pt,be)))&&(S&&S(),Su(e,p,3,[pt,be===Xd?void 0:b&&be[0]===Xd?[]:be,I]),be=pt)}else Ue.run()};ke.allowRecurse=!!e;let ge;i==="sync"?ge=ke:i==="post"?ge=()=>wa(ke,p&&p.suspense):(ke.pre=!0,p&&(ke.id=p.uid),ge=()=>LD(ke));const Ue=new $D(d,ge);e?t?ke():be=Ue.run():i==="post"?wa(Ue.run.bind(Ue),p&&p.suspense):Ue.run();const Dt=()=>{Ue.stop(),p&&p.scope&&kD(p.scope.effects,Ue)};return H&&H.push(Dt),Dt}function OT(r,e,t){const n=this.proxy,i=Oo(r)?r.includes(".")?yC(n,r):()=>n[r]:r.bind(n,n);let s;qi(e)?s=e:(s=e.handler,t=e);const a=Mo;Wp(this);const l=XD(i,s.bind(n),t);return a?Wp(a):Qh(),l}function yC(r,e){const t=e.split(".");return()=>{let n=r;for(let i=0;i<t.length&&n;i++)n=n[t[i]];return n}}function Nh(r,e){if(!Bs(r)||r.__v_skip||(e=e||new Set,e.has(r)))return r;if(e.add(r),Gs(r))Nh(r.value,e);else if(Pi(r))for(let t=0;t<r.length;t++)Nh(r[t],e);else if(wg(r)||$p(r))r.forEach(t=>{Nh(t,e)});else if(Vv(r))for(const t in r)Nh(r[t],e);return r}function xT(r,e){const t=Wo;if(t===null)return r;const n=Rg(t)||t.proxy,i=r.dirs||(r.dirs=[]);for(let s=0;s<e.length;s++){let[a,l,p,d=qs]=e[s];a&&(qi(a)&&(a={mounted:a,updated:a}),a.deep&&Nh(l),i.push({dir:a,instance:n,value:l,oldValue:void 0,arg:p,modifiers:d}))}return r}function wh(r,e,t,n){const i=r.dirs,s=e&&e.dirs;for(let a=0;a<i.length;a++){const l=i[a];s&&(l.oldValue=s[a].value);let p=l.dir[n];p&&(rf(),Su(p,t,8,[r.el,l,r,e]),nf())}}/*! #__NO_SIDE_EFFECTS__ */function bo(r,e){return qi(r)?(()=>Yo({name:r.name},e,{setup:r}))():r}const Ff=r=>!!r.type.__asyncLoader,DC=r=>r.type.__isKeepAlive;function bT(r,e){OC(r,"a",e)}function vT(r,e){OC(r,"da",e)}function OC(r,e,t=Mo){const n=r.__wdc||(r.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return r()});if(Bg(e,n,t),t){let i=t.parent;for(;i&&i.parent;)DC(i.parent.vnode)&&CT(n,e,t,i),i=i.parent}}function CT(r,e,t,n){const i=Bg(e,r,n,!0);xC(()=>{kD(n[e],i)},t)}function Bg(r,e,t=Mo,n=!1){if(t){const i=t[r]||(t[r]=[]),s=e.__weh||(e.__weh=(...a)=>{if(t.isUnmounted)return;rf(),Wp(t);const l=Su(e,t,r,a);return Qh(),nf(),l});return n?i.unshift(s):i.push(s),s}}const oc=r=>(e,t=Mo)=>(!Yf||r==="sp")&&Bg(r,(...n)=>e(...n),t),ST=oc("bm"),Ng=oc("m"),ET=oc("bu"),wT=oc("u"),AT=oc("bum"),xC=oc("um"),TT=oc("sp"),PT=oc("rtg"),kT=oc("rtc");function FT(r,e=Mo){Bg("ec",r,e)}function jc(r,e,t,n){let i;const s=t&&t[n];if(Pi(r)||Oo(r)){i=new Array(r.length);for(let a=0,l=r.length;a<l;a++)i[a]=e(r[a],a,void 0,s&&s[a])}else if(typeof r=="number"){i=new Array(r);for(let a=0;a<r;a++)i[a]=e(a+1,a,void 0,s&&s[a])}else if(Bs(r))if(r[Symbol.iterator])i=Array.from(r,(a,l)=>e(a,l,void 0,s&&s[l]));else{const a=Object.keys(r);i=new Array(a.length);for(let l=0,p=a.length;l<p;l++){const d=a[l];i[l]=e(r[d],d,l,s&&s[l])}}else i=[];return t&&(t[n]=i),i}function tc(r,e,t={},n,i){if(Wo.isCE||Wo.parent&&Ff(Wo.parent)&&Wo.parent.isCE)return e!=="default"&&(t.name=e),xs("slot",t,n&&n());let s=r[e];s&&s._c&&(s._d=!1),bi();const a=s&&bC(s(t)),l=Zo(co,{key:t.key||a&&a.key||`_${e}`},a||(n?n():[]),a&&r._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function bC(r){return r.some(e=>Lm(e)?!(e.type===Hc||e.type===co&&!bC(e.children)):!0)?r:null}const my=r=>r?$C(r)?Rg(r)||r.proxy:my(r.parent):null,_f=Yo(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>my(r.parent),$root:r=>my(r.root),$emit:r=>r.emit,$options:r=>VD(r),$forceUpdate:r=>r.f||(r.f=()=>LD(r.update)),$nextTick:r=>r.n||(r.n=Hh.bind(r.proxy)),$watch:r=>OT.bind(r)}),x0=(r,e)=>r!==qs&&!r.__isScriptSetup&&ds(r,e),_T={get({_:r},e){const{ctx:t,setupState:n,data:i,props:s,accessCache:a,type:l,appContext:p}=r;let d;if(e[0]!=="$"){const I=a[e];if(I!==void 0)switch(I){case 1:return n[e];case 2:return i[e];case 4:return t[e];case 3:return s[e]}else{if(x0(n,e))return a[e]=1,n[e];if(i!==qs&&ds(i,e))return a[e]=2,i[e];if((d=r.propsOptions[0])&&ds(d,e))return a[e]=3,s[e];if(t!==qs&&ds(t,e))return a[e]=4,t[e];gy&&(a[e]=0)}}const g=_f[e];let b,S;if(g)return e==="$attrs"&&_a(r,"get",e),g(r);if((b=l.__cssModules)&&(b=b[e]))return b;if(t!==qs&&ds(t,e))return a[e]=4,t[e];if(S=p.config.globalProperties,ds(S,e))return S[e]},set({_:r},e,t){const{data:n,setupState:i,ctx:s}=r;return x0(i,e)?(i[e]=t,!0):n!==qs&&ds(n,e)?(n[e]=t,!0):ds(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(s[e]=t,!0)},has({_:{data:r,setupState:e,accessCache:t,ctx:n,appContext:i,propsOptions:s}},a){let l;return!!t[a]||r!==qs&&ds(r,a)||x0(e,a)||(l=s[0])&&ds(l,a)||ds(n,a)||ds(_f,a)||ds(i.config.globalProperties,a)},defineProperty(r,e,t){return t.get!=null?r._.accessCache[e]=0:ds(t,"value")&&this.set(r,e,t.value,null),Reflect.defineProperty(r,e,t)}};function u1(r){return Pi(r)?r.reduce((e,t)=>(e[t]=null,e),{}):r}let gy=!0;function $T(r){const e=VD(r),t=r.proxy,n=r.ctx;gy=!1,e.beforeCreate&&l1(e.beforeCreate,r,"bc");const{data:i,computed:s,methods:a,watch:l,provide:p,inject:d,created:g,beforeMount:b,mounted:S,beforeUpdate:I,updated:H,activated:be,deactivated:ke,beforeDestroy:ge,beforeUnmount:Ue,destroyed:Dt,unmounted:pt,render:vt,renderTracked:Yt,renderTriggered:ir,errorCaptured:qr,serverPrefetch:yr,expose:kr,inheritAttrs:Zr,components:zn,directives:Gn,filters:Ni}=e;if(d&&BT(d,n,null),a)for(const Wn in a){const jn=a[Wn];qi(jn)&&(n[Wn]=jn.bind(t))}if(i){const Wn=i.call(t,t);Bs(Wn)&&(r.data=Dd(Wn))}if(gy=!0,s)for(const Wn in s){const jn=s[Wn],Tn=qi(jn)?jn.bind(t,t):qi(jn.get)?jn.get.bind(t,t):dl,Mi=!qi(jn)&&qi(jn.set)?jn.set.bind(t):dl,Ri=fs({get:Tn,set:Mi});Object.defineProperty(n,Wn,{enumerable:!0,configurable:!0,get:()=>Ri.value,set:rs=>Ri.value=rs})}if(l)for(const Wn in l)vC(l[Wn],n,t,Wn);if(p){const Wn=qi(p)?p.call(t):p;Reflect.ownKeys(Wn).forEach(jn=>{ym(jn,Wn[jn])})}g&&l1(g,r,"c");function Sn(Wn,jn){Pi(jn)?jn.forEach(Tn=>Wn(Tn.bind(t))):jn&&Wn(jn.bind(t))}if(Sn(ST,b),Sn(Ng,S),Sn(ET,I),Sn(wT,H),Sn(bT,be),Sn(vT,ke),Sn(FT,qr),Sn(kT,Yt),Sn(PT,ir),Sn(AT,Ue),Sn(xC,pt),Sn(TT,yr),Pi(kr))if(kr.length){const Wn=r.exposed||(r.exposed={});kr.forEach(jn=>{Object.defineProperty(Wn,jn,{get:()=>t[jn],set:Tn=>t[jn]=Tn})})}else r.exposed||(r.exposed={});vt&&r.render===dl&&(r.render=vt),Zr!=null&&(r.inheritAttrs=Zr),zn&&(r.components=zn),Gn&&(r.directives=Gn)}function BT(r,e,t=dl){Pi(r)&&(r=yy(r));for(const n in r){const i=r[n];let s;Bs(i)?"default"in i?s=gl(i.from||n,i.default,!0):s=gl(i.from||n):s=gl(i),Gs(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):e[n]=s}}function l1(r,e,t){Su(Pi(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,t)}function vC(r,e,t,n){const i=n.includes(".")?yC(t,n):()=>t[n];if(Oo(r)){const s=e[r];qi(s)&&Ro(i,s)}else if(qi(r))Ro(i,r.bind(t));else if(Bs(r))if(Pi(r))r.forEach(s=>vC(s,e,t,n));else{const s=qi(r.handler)?r.handler.bind(t):e[r.handler];qi(s)&&Ro(i,s,r)}}function VD(r){const e=r.type,{mixins:t,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=r.appContext,l=s.get(e);let p;return l?p=l:!i.length&&!t&&!n?p=e:(p={},i.length&&i.forEach(d=>Qm(p,d,a,!0)),Qm(p,e,a)),Bs(e)&&s.set(e,p),p}function Qm(r,e,t,n=!1){const{mixins:i,extends:s}=e;s&&Qm(r,s,t,!0),i&&i.forEach(a=>Qm(r,a,t,!0));for(const a in e)if(!(n&&a==="expose")){const l=NT[a]||t&&t[a];r[a]=l?l(r[a],e[a]):e[a]}return r}const NT={data:c1,props:h1,emits:h1,methods:Sf,computed:Sf,beforeCreate:ha,created:ha,beforeMount:ha,mounted:ha,beforeUpdate:ha,updated:ha,beforeDestroy:ha,beforeUnmount:ha,destroyed:ha,unmounted:ha,activated:ha,deactivated:ha,errorCaptured:ha,serverPrefetch:ha,components:Sf,directives:Sf,watch:MT,provide:c1,inject:IT};function c1(r,e){return e?r?function(){return Yo(qi(r)?r.call(this,this):r,qi(e)?e.call(this,this):e)}:e:r}function IT(r,e){return Sf(yy(r),yy(e))}function yy(r){if(Pi(r)){const e={};for(let t=0;t<r.length;t++)e[r[t]]=r[t];return e}return r}function ha(r,e){return r?[...new Set([].concat(r,e))]:e}function Sf(r,e){return r?Yo(Object.create(null),r,e):e}function h1(r,e){return r?Pi(r)&&Pi(e)?[...new Set([...r,...e])]:Yo(Object.create(null),u1(r),u1(e??{})):e}function MT(r,e){if(!r)return e;if(!e)return r;const t=Yo(Object.create(null),r);for(const n in e)t[n]=ha(r[n],e[n]);return t}function CC(){return{app:null,config:{isNativeTag:aA,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let RT=0;function QT(r,e){return function(n,i=null){qi(n)||(n=Yo({},n)),i!=null&&!Bs(i)&&(i=null);const s=CC(),a=new WeakSet;let l=!1;const p=s.app={_uid:RT++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:cP,get config(){return s.config},set config(d){},use(d,...g){return a.has(d)||(d&&qi(d.install)?(a.add(d),d.install(p,...g)):qi(d)&&(a.add(d),d(p,...g))),p},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),p},component(d,g){return g?(s.components[d]=g,p):s.components[d]},directive(d,g){return g?(s.directives[d]=g,p):s.directives[d]},mount(d,g,b){if(!l){const S=xs(n,i);return S.appContext=s,g&&e?e(S,d):r(S,d,b),l=!0,p._container=d,d.__vue_app__=p,Rg(S.component)||S.component.proxy}},unmount(){l&&(r(null,p._container),delete p._container.__vue_app__)},provide(d,g){return s.provides[d]=g,p},runWithContext(d){jm=p;try{return d()}finally{jm=null}}};return p}}let jm=null;function ym(r,e){if(Mo){let t=Mo.provides;const n=Mo.parent&&Mo.parent.provides;n===t&&(t=Mo.provides=Object.create(n)),t[r]=e}}function gl(r,e,t=!1){const n=Mo||Wo;if(n||jm){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:jm._context.provides;if(i&&r in i)return i[r];if(arguments.length>1)return t&&qi(e)?e.call(n&&n.proxy):e}}function jT(r,e,t,n=!1){const i={},s={};Nm(s,Mg,1),r.propsDefaults=Object.create(null),SC(r,e,i,s);for(const a in r.propsOptions[0])a in i||(i[a]=void 0);t?r.props=n?i:iC(i):r.type.props?r.props=i:r.props=s,r.attrs=s}function LT(r,e,t,n){const{props:i,attrs:s,vnode:{patchFlag:a}}=r,l=Ds(i),[p]=r.propsOptions;let d=!1;if((n||a>0)&&!(a&16)){if(a&8){const g=r.vnode.dynamicProps;for(let b=0;b<g.length;b++){let S=g[b];if(_g(r.emitsOptions,S))continue;const I=e[S];if(p)if(ds(s,S))I!==s[S]&&(s[S]=I,d=!0);else{const H=bl(S);i[H]=Dy(p,l,H,I,r,!1)}else I!==s[S]&&(s[S]=I,d=!0)}}}else{SC(r,e,i,s)&&(d=!0);let g;for(const b in l)(!e||!ds(e,b)&&((g=Gh(b))===b||!ds(e,g)))&&(p?t&&(t[b]!==void 0||t[g]!==void 0)&&(i[b]=Dy(p,l,b,void 0,r,!0)):delete i[b]);if(s!==l)for(const b in s)(!e||!ds(e,b))&&(delete s[b],d=!0)}d&&Kl(r,"set","$attrs")}function SC(r,e,t,n){const[i,s]=r.propsOptions;let a=!1,l;if(e)for(let p in e){if(mm(p))continue;const d=e[p];let g;i&&ds(i,g=bl(p))?!s||!s.includes(g)?t[g]=d:(l||(l={}))[g]=d:_g(r.emitsOptions,p)||(!(p in n)||d!==n[p])&&(n[p]=d,a=!0)}if(s){const p=Ds(t),d=l||qs;for(let g=0;g<s.length;g++){const b=s[g];t[b]=Dy(i,p,b,d[b],r,!ds(d,b))}}return a}function Dy(r,e,t,n,i,s){const a=r[t];if(a!=null){const l=ds(a,"default");if(l&&n===void 0){const p=a.default;if(a.type!==Function&&!a.skipFactory&&qi(p)){const{propsDefaults:d}=i;t in d?n=d[t]:(Wp(i),n=d[t]=p.call(null,e),Qh())}else n=p}a[0]&&(s&&!l?n=!1:a[1]&&(n===""||n===Gh(t))&&(n=!0))}return n}function EC(r,e,t=!1){const n=e.propsCache,i=n.get(r);if(i)return i;const s=r.props,a={},l=[];let p=!1;if(!qi(r)){const g=b=>{p=!0;const[S,I]=EC(b,e,!0);Yo(a,S),I&&l.push(...I)};!t&&e.mixins.length&&e.mixins.forEach(g),r.extends&&g(r.extends),r.mixins&&r.mixins.forEach(g)}if(!s&&!p)return Bs(r)&&n.set(r,_p),_p;if(Pi(s))for(let g=0;g<s.length;g++){const b=bl(s[g]);p1(b)&&(a[b]=qs)}else if(s)for(const g in s){const b=bl(g);if(p1(b)){const S=s[g],I=a[b]=Pi(S)||qi(S)?{type:S}:Yo({},S);if(I){const H=m1(Boolean,I.type),be=m1(String,I.type);I[0]=H>-1,I[1]=be<0||H<be,(H>-1||ds(I,"default"))&&l.push(b)}}}const d=[a,l];return Bs(r)&&n.set(r,d),d}function p1(r){return r[0]!=="$"}function f1(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function d1(r,e){return f1(r)===f1(e)}function m1(r,e){return Pi(e)?e.findIndex(t=>d1(t,r)):qi(e)&&d1(e,r)?0:-1}const wC=r=>r[0]==="_"||r==="$stable",UD=r=>Pi(r)?r.map(ol):[ol(r)],XT=(r,e,t)=>{if(e._n)return e;const n=fa((...i)=>UD(e(...i)),t);return n._c=!1,n},AC=(r,e,t)=>{const n=r._ctx;for(const i in r){if(wC(i))continue;const s=r[i];if(qi(s))e[i]=XT(i,s,n);else if(s!=null){const a=UD(s);e[i]=()=>a}}},TC=(r,e)=>{const t=UD(e);r.slots.default=()=>t},VT=(r,e)=>{if(r.vnode.shapeFlag&32){const t=e._;t?(r.slots=Ds(e),Nm(e,"_",t)):AC(e,r.slots={})}else r.slots={},e&&TC(r,e);Nm(r.slots,Mg,1)},UT=(r,e,t)=>{const{vnode:n,slots:i}=r;let s=!0,a=qs;if(n.shapeFlag&32){const l=e._;l?t&&l===1?s=!1:(Yo(i,e),!t&&l===1&&delete i._):(s=!e.$stable,AC(e,i)),a=e}else e&&(TC(r,e),a={default:1});if(s)for(const l in i)!wC(l)&&a[l]==null&&delete i[l]};function Oy(r,e,t,n,i=!1){if(Pi(r)){r.forEach((S,I)=>Oy(S,e&&(Pi(e)?e[I]:e),t,n,i));return}if(Ff(n)&&!i)return;const s=n.shapeFlag&4?Rg(n.component)||n.component.proxy:n.el,a=i?null:s,{i:l,r:p}=r,d=e&&e.r,g=l.refs===qs?l.refs={}:l.refs,b=l.setupState;if(d!=null&&d!==p&&(Oo(d)?(g[d]=null,ds(b,d)&&(b[d]=null)):Gs(d)&&(d.value=null)),qi(p))qc(p,l,12,[a,g]);else{const S=Oo(p),I=Gs(p);if(S||I){const H=()=>{if(r.f){const be=S?ds(b,p)?b[p]:g[p]:p.value;i?Pi(be)&&kD(be,s):Pi(be)?be.includes(s)||be.push(s):S?(g[p]=[s],ds(b,p)&&(b[p]=g[p])):(p.value=[s],r.k&&(g[r.k]=p.value))}else S?(g[p]=a,ds(b,p)&&(b[p]=a)):I&&(p.value=a,r.k&&(g[r.k]=a))};a?(H.id=-1,wa(H,t)):H()}}}const wa=DT;function qT(r){return zT(r)}function zT(r,e){const t=cy();t.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:a,createText:l,createComment:p,setText:d,setElementText:g,parentNode:b,nextSibling:S,setScopeId:I=dl,insertStaticContent:H}=r,be=(tt,gt,Zt,dr=null,Fr=null,Lr=null,yn=!1,Jr=null,on=!!gt.dynamicChildren)=>{if(tt===gt)return;tt&&!mf(tt,gt)&&(dr=Sr(tt),rs(tt,Fr,Lr,!0),tt=null),gt.patchFlag===-2&&(on=!1,gt.dynamicChildren=null);const{type:Xr,ref:ei,shapeFlag:xn}=gt;switch(Xr){case Ig:ke(tt,gt,Zt,dr);break;case Hc:ge(tt,gt,Zt,dr);break;case b0:tt==null&&Ue(gt,Zt,dr,yn);break;case co:zn(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on);break;default:xn&1?vt(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on):xn&6?Gn(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on):(xn&64||xn&128)&&Xr.process(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on,zr)}ei!=null&&Fr&&Oy(ei,tt&&tt.ref,Lr,gt||tt,!gt)},ke=(tt,gt,Zt,dr)=>{if(tt==null)n(gt.el=l(gt.children),Zt,dr);else{const Fr=gt.el=tt.el;gt.children!==tt.children&&d(Fr,gt.children)}},ge=(tt,gt,Zt,dr)=>{tt==null?n(gt.el=p(gt.children||""),Zt,dr):gt.el=tt.el},Ue=(tt,gt,Zt,dr)=>{[tt.el,tt.anchor]=H(tt.children,gt,Zt,dr,tt.el,tt.anchor)},Dt=({el:tt,anchor:gt},Zt,dr)=>{let Fr;for(;tt&&tt!==gt;)Fr=S(tt),n(tt,Zt,dr),tt=Fr;n(gt,Zt,dr)},pt=({el:tt,anchor:gt})=>{let Zt;for(;tt&&tt!==gt;)Zt=S(tt),i(tt),tt=Zt;i(gt)},vt=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{yn=yn||gt.type==="svg",tt==null?Yt(gt,Zt,dr,Fr,Lr,yn,Jr,on):yr(tt,gt,Fr,Lr,yn,Jr,on)},Yt=(tt,gt,Zt,dr,Fr,Lr,yn,Jr)=>{let on,Xr;const{type:ei,props:xn,shapeFlag:ti,transition:Ai,dirs:Li}=tt;if(on=tt.el=a(tt.type,Lr,xn&&xn.is,xn),ti&8?g(on,tt.children):ti&16&&qr(tt.children,on,null,dr,Fr,Lr&&ei!=="foreignObject",yn,Jr),Li&&wh(tt,null,dr,"created"),ir(on,tt,tt.scopeId,yn,dr),xn){for(const os in xn)os!=="value"&&!mm(os)&&s(on,os,null,xn[os],Lr,tt.children,dr,Fr,Ui);"value"in xn&&s(on,"value",null,xn.value),(Xr=xn.onVnodeBeforeMount)&&tl(Xr,dr,tt)}Li&&wh(tt,null,dr,"beforeMount");const us=WT(Fr,Ai);us&&Ai.beforeEnter(on),n(on,gt,Zt),((Xr=xn&&xn.onVnodeMounted)||us||Li)&&wa(()=>{Xr&&tl(Xr,dr,tt),us&&Ai.enter(on),Li&&wh(tt,null,dr,"mounted")},Fr)},ir=(tt,gt,Zt,dr,Fr)=>{if(Zt&&I(tt,Zt),dr)for(let Lr=0;Lr<dr.length;Lr++)I(tt,dr[Lr]);if(Fr){let Lr=Fr.subTree;if(gt===Lr){const yn=Fr.vnode;ir(tt,yn,yn.scopeId,yn.slotScopeIds,Fr.parent)}}},qr=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on=0)=>{for(let Xr=on;Xr<tt.length;Xr++){const ei=tt[Xr]=Jr?Nc(tt[Xr]):ol(tt[Xr]);be(null,ei,gt,Zt,dr,Fr,Lr,yn,Jr)}},yr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=gt.el=tt.el;let{patchFlag:on,dynamicChildren:Xr,dirs:ei}=gt;on|=tt.patchFlag&16;const xn=tt.props||qs,ti=gt.props||qs;let Ai;Zt&&Ah(Zt,!1),(Ai=ti.onVnodeBeforeUpdate)&&tl(Ai,Zt,gt,tt),ei&&wh(gt,tt,Zt,"beforeUpdate"),Zt&&Ah(Zt,!0);const Li=Fr&&gt.type!=="foreignObject";if(Xr?kr(tt.dynamicChildren,Xr,Jr,Zt,dr,Li,Lr):yn||jn(tt,gt,Jr,null,Zt,dr,Li,Lr,!1),on>0){if(on&16)Zr(Jr,gt,xn,ti,Zt,dr,Fr);else if(on&2&&xn.class!==ti.class&&s(Jr,"class",null,ti.class,Fr),on&4&&s(Jr,"style",xn.style,ti.style,Fr),on&8){const us=gt.dynamicProps;for(let os=0;os<us.length;os++){const Ts=us[os],Co=xn[Ts],ya=ti[Ts];(ya!==Co||Ts==="value")&&s(Jr,Ts,Co,ya,Fr,tt.children,Zt,dr,Ui)}}on&1&&tt.children!==gt.children&&g(Jr,gt.children)}else!yn&&Xr==null&&Zr(Jr,gt,xn,ti,Zt,dr,Fr);((Ai=ti.onVnodeUpdated)||ei)&&wa(()=>{Ai&&tl(Ai,Zt,gt,tt),ei&&wh(gt,tt,Zt,"updated")},dr)},kr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{for(let Jr=0;Jr<gt.length;Jr++){const on=tt[Jr],Xr=gt[Jr],ei=on.el&&(on.type===co||!mf(on,Xr)||on.shapeFlag&70)?b(on.el):Zt;be(on,Xr,ei,null,dr,Fr,Lr,yn,!0)}},Zr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{if(Zt!==dr){if(Zt!==qs)for(const Jr in Zt)!mm(Jr)&&!(Jr in dr)&&s(tt,Jr,Zt[Jr],null,yn,gt.children,Fr,Lr,Ui);for(const Jr in dr){if(mm(Jr))continue;const on=dr[Jr],Xr=Zt[Jr];on!==Xr&&Jr!=="value"&&s(tt,Jr,Xr,on,yn,gt.children,Fr,Lr,Ui)}"value"in dr&&s(tt,"value",Zt.value,dr.value)}},zn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{const Xr=gt.el=tt?tt.el:l(""),ei=gt.anchor=tt?tt.anchor:l("");let{patchFlag:xn,dynamicChildren:ti,slotScopeIds:Ai}=gt;Ai&&(Jr=Jr?Jr.concat(Ai):Ai),tt==null?(n(Xr,Zt,dr),n(ei,Zt,dr),qr(gt.children,Zt,ei,Fr,Lr,yn,Jr,on)):xn>0&&xn&64&&ti&&tt.dynamicChildren?(kr(tt.dynamicChildren,ti,Zt,Fr,Lr,yn,Jr),(gt.key!=null||Fr&&gt===Fr.subTree)&&PC(tt,gt,!0)):jn(tt,gt,Zt,ei,Fr,Lr,yn,Jr,on)},Gn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{gt.slotScopeIds=Jr,tt==null?gt.shapeFlag&512?Fr.ctx.activate(gt,Zt,dr,yn,on):Ni(gt,Zt,dr,Fr,Lr,yn,on):ii(tt,gt,on)},Ni=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=tt.component=tP(tt,dr,Fr);if(DC(tt)&&(Jr.ctx.renderer=zr),rP(Jr),Jr.asyncDep){if(Fr&&Fr.registerDep(Jr,Sn),!tt.el){const on=Jr.subTree=xs(Hc);ge(null,on,gt,Zt)}return}Sn(Jr,tt,gt,Zt,Fr,Lr,yn)},ii=(tt,gt,Zt)=>{const dr=gt.component=tt.component;if(fT(tt,gt,Zt))if(dr.asyncDep&&!dr.asyncResolved){Wn(dr,gt,Zt);return}else dr.next=gt,iT(dr.update),dr.update();else gt.el=tt.el,dr.vnode=gt},Sn=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=()=>{if(tt.isMounted){let{next:ei,bu:xn,u:ti,parent:Ai,vnode:Li}=tt,us=ei,os;Ah(tt,!1),ei?(ei.el=Li.el,Wn(tt,ei,yn)):ei=Li,xn&&gm(xn),(os=ei.props&&ei.props.onVnodeBeforeUpdate)&&tl(os,Ai,ei,Li),Ah(tt,!0);const Ts=O0(tt),Co=tt.subTree;tt.subTree=Ts,be(Co,Ts,b(Co.el),Sr(Co),tt,Fr,Lr),ei.el=Ts.el,us===null&&dT(tt,Ts.el),ti&&wa(ti,Fr),(os=ei.props&&ei.props.onVnodeUpdated)&&wa(()=>tl(os,Ai,ei,Li),Fr)}else{let ei;const{el:xn,props:ti}=gt,{bm:Ai,m:Li,parent:us}=tt,os=Ff(gt);if(Ah(tt,!1),Ai&&gm(Ai),!os&&(ei=ti&&ti.onVnodeBeforeMount)&&tl(ei,us,gt),Ah(tt,!0),xn&&es){const Ts=()=>{tt.subTree=O0(tt),es(xn,tt.subTree,tt,Fr,null)};os?gt.type.__asyncLoader().then(()=>!tt.isUnmounted&&Ts()):Ts()}else{const Ts=tt.subTree=O0(tt);be(null,Ts,Zt,dr,tt,Fr,Lr),gt.el=Ts.el}if(Li&&wa(Li,Fr),!os&&(ei=ti&&ti.onVnodeMounted)){const Ts=gt;wa(()=>tl(ei,us,Ts),Fr)}(gt.shapeFlag&256||us&&Ff(us.vnode)&&us.vnode.shapeFlag&256)&&tt.a&&wa(tt.a,Fr),tt.isMounted=!0,gt=Zt=dr=null}},on=tt.effect=new $D(Jr,()=>LD(Xr),tt.scope),Xr=tt.update=()=>on.run();Xr.id=tt.uid,Ah(tt,!0),Xr()},Wn=(tt,gt,Zt)=>{gt.component=tt;const dr=tt.vnode.props;tt.vnode=gt,tt.next=null,LT(tt,gt.props,dr,Zt),UT(tt,gt.children,Zt),rf(),s1(),nf()},jn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on=!1)=>{const Xr=tt&&tt.children,ei=tt?tt.shapeFlag:0,xn=gt.children,{patchFlag:ti,shapeFlag:Ai}=gt;if(ti>0){if(ti&128){Mi(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on);return}else if(ti&256){Tn(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on);return}}Ai&8?(ei&16&&Ui(Xr,Fr,Lr),xn!==Xr&&g(Zt,xn)):ei&16?Ai&16?Mi(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on):Ui(Xr,Fr,Lr,!0):(ei&8&&g(Zt,""),Ai&16&&qr(xn,Zt,dr,Fr,Lr,yn,Jr,on))},Tn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{tt=tt||_p,gt=gt||_p;const Xr=tt.length,ei=gt.length,xn=Math.min(Xr,ei);let ti;for(ti=0;ti<xn;ti++){const Ai=gt[ti]=on?Nc(gt[ti]):ol(gt[ti]);be(tt[ti],Ai,Zt,null,Fr,Lr,yn,Jr,on)}Xr>ei?Ui(tt,Fr,Lr,!0,!1,xn):qr(gt,Zt,dr,Fr,Lr,yn,Jr,on,xn)},Mi=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{let Xr=0;const ei=gt.length;let xn=tt.length-1,ti=ei-1;for(;Xr<=xn&&Xr<=ti;){const Ai=tt[Xr],Li=gt[Xr]=on?Nc(gt[Xr]):ol(gt[Xr]);if(mf(Ai,Li))be(Ai,Li,Zt,null,Fr,Lr,yn,Jr,on);else break;Xr++}for(;Xr<=xn&&Xr<=ti;){const Ai=tt[xn],Li=gt[ti]=on?Nc(gt[ti]):ol(gt[ti]);if(mf(Ai,Li))be(Ai,Li,Zt,null,Fr,Lr,yn,Jr,on);else break;xn--,ti--}if(Xr>xn){if(Xr<=ti){const Ai=ti+1,Li=Ai<ei?gt[Ai].el:dr;for(;Xr<=ti;)be(null,gt[Xr]=on?Nc(gt[Xr]):ol(gt[Xr]),Zt,Li,Fr,Lr,yn,Jr,on),Xr++}}else if(Xr>ti)for(;Xr<=xn;)rs(tt[Xr],Fr,Lr,!0),Xr++;else{const Ai=Xr,Li=Xr,us=new Map;for(Xr=Li;Xr<=ti;Xr++){const io=gt[Xr]=on?Nc(gt[Xr]):ol(gt[Xr]);io.key!=null&&us.set(io.key,Xr)}let os,Ts=0;const Co=ti-Li+1;let ya=!1,Go=0;const Da=new Array(Co);for(Xr=0;Xr<Co;Xr++)Da[Xr]=0;for(Xr=Ai;Xr<=xn;Xr++){const io=tt[Xr];if(Ts>=Co){rs(io,Fr,Lr,!0);continue}let Hr;if(io.key!=null)Hr=us.get(io.key);else for(os=Li;os<=ti;os++)if(Da[os-Li]===0&&mf(io,gt[os])){Hr=os;break}Hr===void 0?rs(io,Fr,Lr,!0):(Da[Hr-Li]=Xr+1,Hr>=Go?Go=Hr:ya=!0,be(io,gt[Hr],Zt,null,Fr,Lr,yn,Jr,on),Ts++)}const Fu=ya?ZT(Da):_p;for(os=Fu.length-1,Xr=Co-1;Xr>=0;Xr--){const io=Li+Xr,Hr=gt[io],Kt=io+1<ei?gt[io+1].el:dr;Da[Xr]===0?be(null,Hr,Zt,Kt,Fr,Lr,yn,Jr,on):ya&&(os<0||Xr!==Fu[os]?Ri(Hr,Zt,Kt,2):os--)}}},Ri=(tt,gt,Zt,dr,Fr=null)=>{const{el:Lr,type:yn,transition:Jr,children:on,shapeFlag:Xr}=tt;if(Xr&6){Ri(tt.component.subTree,gt,Zt,dr);return}if(Xr&128){tt.suspense.move(gt,Zt,dr);return}if(Xr&64){yn.move(tt,gt,Zt,zr);return}if(yn===co){n(Lr,gt,Zt);for(let xn=0;xn<on.length;xn++)Ri(on[xn],gt,Zt,dr);n(tt.anchor,gt,Zt);return}if(yn===b0){Dt(tt,gt,Zt);return}if(dr!==2&&Xr&1&&Jr)if(dr===0)Jr.beforeEnter(Lr),n(Lr,gt,Zt),wa(()=>Jr.enter(Lr),Fr);else{const{leave:xn,delayLeave:ti,afterLeave:Ai}=Jr,Li=()=>n(Lr,gt,Zt),us=()=>{xn(Lr,()=>{Li(),Ai&&Ai()})};ti?ti(Lr,Li,us):us()}else n(Lr,gt,Zt)},rs=(tt,gt,Zt,dr=!1,Fr=!1)=>{const{type:Lr,props:yn,ref:Jr,children:on,dynamicChildren:Xr,shapeFlag:ei,patchFlag:xn,dirs:ti}=tt;if(Jr!=null&&Oy(Jr,null,Zt,tt,!0),ei&256){gt.ctx.deactivate(tt);return}const Ai=ei&1&&ti,Li=!Ff(tt);let us;if(Li&&(us=yn&&yn.onVnodeBeforeUnmount)&&tl(us,gt,tt),ei&6)vo(tt.component,Zt,dr);else{if(ei&128){tt.suspense.unmount(Zt,dr);return}Ai&&wh(tt,null,gt,"beforeUnmount"),ei&64?tt.type.remove(tt,gt,Zt,Fr,zr,dr):Xr&&(Lr!==co||xn>0&&xn&64)?Ui(Xr,gt,Zt,!1,!0):(Lr===co&&xn&384||!Fr&&ei&16)&&Ui(on,gt,Zt),dr&&bs(tt)}(Li&&(us=yn&&yn.onVnodeUnmounted)||Ai)&&wa(()=>{us&&tl(us,gt,tt),Ai&&wh(tt,null,gt,"unmounted")},Zt)},bs=tt=>{const{type:gt,el:Zt,anchor:dr,transition:Fr}=tt;if(gt===co){Ls(Zt,dr);return}if(gt===b0){pt(tt);return}const Lr=()=>{i(Zt),Fr&&!Fr.persisted&&Fr.afterLeave&&Fr.afterLeave()};if(tt.shapeFlag&1&&Fr&&!Fr.persisted){const{leave:yn,delayLeave:Jr}=Fr,on=()=>yn(Zt,Lr);Jr?Jr(tt.el,Lr,on):on()}else Lr()},Ls=(tt,gt)=>{let Zt;for(;tt!==gt;)Zt=S(tt),i(tt),tt=Zt;i(gt)},vo=(tt,gt,Zt)=>{const{bum:dr,scope:Fr,update:Lr,subTree:yn,um:Jr}=tt;dr&&gm(dr),Fr.stop(),Lr&&(Lr.active=!1,rs(yn,tt,gt,Zt)),Jr&&wa(Jr,gt),wa(()=>{tt.isUnmounted=!0},gt),gt&&gt.pendingBranch&&!gt.isUnmounted&&tt.asyncDep&&!tt.asyncResolved&&tt.suspenseId===gt.pendingId&&(gt.deps--,gt.deps===0&&gt.resolve())},Ui=(tt,gt,Zt,dr=!1,Fr=!1,Lr=0)=>{for(let yn=Lr;yn<tt.length;yn++)rs(tt[yn],gt,Zt,dr,Fr)},Sr=tt=>tt.shapeFlag&6?Sr(tt.component.subTree):tt.shapeFlag&128?tt.suspense.next():S(tt.anchor||tt.el),cn=(tt,gt,Zt)=>{tt==null?gt._vnode&&rs(gt._vnode,null,null,!0):be(gt._vnode||null,tt,gt,null,null,null,Zt),s1(),pC(),gt._vnode=tt},zr={p:be,um:rs,m:Ri,r:bs,mt:Ni,mc:qr,pc:jn,pbc:kr,n:Sr,o:r};let In,es;return e&&([In,es]=e(zr)),{render:cn,hydrate:In,createApp:QT(cn,In)}}function Ah({effect:r,update:e},t){r.allowRecurse=e.allowRecurse=t}function WT(r,e){return(!r||r&&!r.pendingBranch)&&e&&!e.persisted}function PC(r,e,t=!1){const n=r.children,i=e.children;if(Pi(n)&&Pi(i))for(let s=0;s<n.length;s++){const a=n[s];let l=i[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[s]=Nc(i[s]),l.el=a.el),t||PC(a,l)),l.type===Ig&&(l.el=a.el)}}function ZT(r){const e=r.slice(),t=[0];let n,i,s,a,l;const p=r.length;for(n=0;n<p;n++){const d=r[n];if(d!==0){if(i=t[t.length-1],r[i]<d){e[n]=i,t.push(n);continue}for(s=0,a=t.length-1;s<a;)l=s+a>>1,r[t[l]]<d?s=l+1:a=l;d<r[t[s]]&&(s>0&&(e[n]=t[s-1]),t[s]=n)}}for(s=t.length,a=t[s-1];s-- >0;)t[s]=a,a=e[a];return t}const YT=r=>r.__isTeleport,co=Symbol.for("v-fgt"),Ig=Symbol.for("v-txt"),Hc=Symbol.for("v-cmt"),b0=Symbol.for("v-stc"),$f=[];let vu=null;function bi(r=!1){$f.push(vu=r?null:[])}function GT(){$f.pop(),vu=$f[$f.length-1]||null}let Zf=1;function g1(r){Zf+=r}function kC(r){return r.dynamicChildren=Zf>0?vu||_p:null,GT(),Zf>0&&vu&&vu.push(r),r}function ss(r,e,t,n,i,s){return kC(sn(r,e,t,n,i,s,!0))}function Zo(r,e,t,n,i){return kC(xs(r,e,t,n,i,!0))}function Lm(r){return r?r.__v_isVNode===!0:!1}function mf(r,e){return r.type===e.type&&r.key===e.key}const Mg="__vInternal",FC=({key:r})=>r??null,Dm=({ref:r,ref_key:e,ref_for:t})=>(typeof r=="number"&&(r=""+r),r!=null?Oo(r)||Gs(r)||qi(r)?{i:Wo,r,k:e,f:!!t}:r:null);function sn(r,e=null,t=null,n=0,i=null,s=r===co?0:1,a=!1,l=!1){const p={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&FC(e),ref:e&&Dm(e),scopeId:$g,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wo};return l?(qD(p,t),s&128&&r.normalize(p)):t&&(p.shapeFlag|=Oo(t)?8:16),Zf>0&&!a&&vu&&(p.patchFlag>0||s&6)&&p.patchFlag!==32&&vu.push(p),p}const xs=HT;function HT(r,e=null,t=null,n=0,i=null,s=!1){if((!r||r===mT)&&(r=Hc),Lm(r)){const l=zp(r,e,!0);return t&&qD(l,t),Zf>0&&!s&&vu&&(l.shapeFlag&6?vu[vu.indexOf(r)]=l:vu.push(l)),l.patchFlag|=-2,l}if(aP(r)&&(r=r.__vccOpts),e){e=_C(e);let{class:l,style:p}=e;l&&!Oo(l)&&(e.class=Fa(l)),Bs(p)&&(sC(p)&&!Pi(p)&&(p=Yo({},p)),e.style=ml(p))}const a=Oo(r)?1:yT(r)?128:YT(r)?64:Bs(r)?4:qi(r)?2:0;return sn(r,e,t,n,i,a,s,!0)}function _C(r){return r?sC(r)||Mg in r?Yo({},r):r:null}function zp(r,e,t=!1){const{props:n,ref:i,patchFlag:s,children:a}=r,l=e?JT(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:l,key:l&&FC(l),ref:e&&e.ref?t&&i?Pi(i)?i.concat(Dm(e)):[i,Dm(e)]:Dm(e):i,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:a,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==co?s===-1?16:s|16:s,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&zp(r.ssContent),ssFallback:r.ssFallback&&zp(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function pa(r=" ",e=0){return xs(Ig,null,r,e)}function Eu(r="",e=!1){return e?(bi(),Zo(Hc,null,r)):xs(Hc,null,r)}function ol(r){return r==null||typeof r=="boolean"?xs(Hc):Pi(r)?xs(co,null,r.slice()):typeof r=="object"?Nc(r):xs(Ig,null,String(r))}function Nc(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:zp(r)}function qD(r,e){let t=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(Pi(e))t=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),qD(r,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!(Mg in e)?e._ctx=Wo:i===3&&Wo&&(Wo.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else qi(e)?(e={default:e,_ctx:Wo},t=32):(e=String(e),n&64?(t=16,e=[pa(e)]):t=8);r.children=e,r.shapeFlag|=t}function JT(...r){const e={};for(let t=0;t<r.length;t++){const n=r[t];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Fa([e.class,n.class]));else if(i==="style")e.style=ml([e.style,n.style]);else if(Eg(i)){const s=e[i],a=n[i];a&&s!==a&&!(Pi(s)&&s.includes(a))&&(e[i]=s?[].concat(s,a):a)}else i!==""&&(e[i]=n[i])}return e}function tl(r,e,t,n=null){Su(r,e,7,[t,n])}const KT=CC();let eP=0;function tP(r,e,t){const n=r.type,i=(e?e.appContext:r.appContext)||KT,s={uid:eP++,vnode:r,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new vA(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:EC(n,i),emitsOptions:dC(n,i),emit:null,emitted:null,propsDefaults:qs,inheritAttrs:n.inheritAttrs,ctx:qs,data:qs,props:qs,attrs:qs,slots:qs,refs:qs,setupState:qs,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=aT.bind(null,s),r.ce&&r.ce(s),s}let Mo=null;const zD=()=>Mo||Wo;let WD,vp,y1="__VUE_INSTANCE_SETTERS__";(vp=cy()[y1])||(vp=cy()[y1]=[]),vp.push(r=>Mo=r),WD=r=>{vp.length>1?vp.forEach(e=>e(r)):vp[0](r)};const Wp=r=>{WD(r),r.scope.on()},Qh=()=>{Mo&&Mo.scope.off(),WD(null)};function $C(r){return r.vnode.shapeFlag&4}let Yf=!1;function rP(r,e=!1){Yf=e;const{props:t,children:n}=r.vnode,i=$C(r);jT(r,t,i,e),VT(r,n);const s=i?nP(r,e):void 0;return Yf=!1,s}function nP(r,e){const t=r.type;r.accessCache=Object.create(null),r.proxy=oC(new Proxy(r.ctx,_T));const{setup:n}=t;if(n){const i=r.setupContext=n.length>1?sP(r):null;Wp(r),rf();const s=qc(n,r,0,[r.props,i]);if(nf(),Qh(),Lv(s)){if(s.then(Qh,Qh),e)return s.then(a=>{D1(r,a,e)}).catch(a=>{Fg(a,r,0)});r.asyncDep=s}else D1(r,s,e)}else BC(r,e)}function D1(r,e,t){qi(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:Bs(e)&&(r.setupState=uC(e)),BC(r,t)}let O1;function BC(r,e,t){const n=r.type;if(!r.render){if(!e&&O1&&!n.render){const i=n.template||VD(r).template;if(i){const{isCustomElement:s,compilerOptions:a}=r.appContext.config,{delimiters:l,compilerOptions:p}=n,d=Yo(Yo({isCustomElement:s,delimiters:l},a),p);n.render=O1(i,d)}}r.render=n.render||dl}{Wp(r),rf();try{$T(r)}finally{nf(),Qh()}}}function iP(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(e,t){return _a(r,"get","$attrs"),e[t]}}))}function sP(r){const e=t=>{r.exposed=t||{}};return{get attrs(){return iP(r)},slots:r.slots,emit:r.emit,expose:e}}function Rg(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(uC(oC(r.exposed)),{get(e,t){if(t in e)return e[t];if(t in _f)return _f[t](r)},has(e,t){return t in e||t in _f}}))}function oP(r,e=!0){return qi(r)?r.displayName||r.name:r.name||e&&r.__name}function aP(r){return qi(r)&&"__vccOpts"in r}const fs=(r,e)=>tT(r,e,Yf);function ZD(r,e,t){const n=arguments.length;return n===2?Bs(e)&&!Pi(e)?Lm(e)?xs(r,null,[e]):xs(r,e):xs(r,null,e):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&Lm(t)&&(t=[t]),xs(r,e,t))}const uP=Symbol.for("v-scx"),lP=()=>gl(uP),cP="3.3.8",hP="http://www.w3.org/2000/svg",_h=typeof document<"u"?document:null,x1=_h&&_h.createElement("template"),pP={insert:(r,e,t)=>{e.insertBefore(r,t||null)},remove:r=>{const e=r.parentNode;e&&e.removeChild(r)},createElement:(r,e,t,n)=>{const i=e?_h.createElementNS(hP,r):_h.createElement(r,t?{is:t}:void 0);return r==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:r=>_h.createTextNode(r),createComment:r=>_h.createComment(r),setText:(r,e)=>{r.nodeValue=e},setElementText:(r,e)=>{r.textContent=e},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>_h.querySelector(r),setScopeId(r,e){r.setAttribute(e,"")},insertStaticContent(r,e,t,n,i,s){const a=t?t.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===s||!(i=i.nextSibling)););else{x1.innerHTML=n?`<svg>${r}</svg>`:r;const l=x1.content;if(n){const p=l.firstChild;for(;p.firstChild;)l.appendChild(p.firstChild);l.removeChild(p)}e.insertBefore(l,t)}return[a?a.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},fP=Symbol("_vtc");function dP(r,e,t){const n=r[fP];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?r.removeAttribute("class"):t?r.setAttribute("class",e):r.className=e}const mP=Symbol("_vod");function gP(r,e,t){const n=r.style,i=Oo(t);if(t&&!i){if(e&&!Oo(e))for(const s in e)t[s]==null&&xy(n,s,"");for(const s in t)xy(n,s,t[s])}else{const s=n.display;i?e!==t&&(n.cssText=t):e&&r.removeAttribute("style"),mP in r&&(n.display=s)}}const b1=/\s*!important$/;function xy(r,e,t){if(Pi(t))t.forEach(n=>xy(r,e,n));else if(t==null&&(t=""),e.startsWith("--"))r.setProperty(e,t);else{const n=yP(r,e);b1.test(t)?r.setProperty(Gh(n),t.replace(b1,""),"important"):r[n]=t}}const v1=["Webkit","Moz","ms"],v0={};function yP(r,e){const t=v0[e];if(t)return t;let n=bl(e);if(n!=="filter"&&n in r)return v0[e]=n;n=Tg(n);for(let i=0;i<v1.length;i++){const s=v1[i]+n;if(s in r)return v0[e]=s}return e}const C1="http://www.w3.org/1999/xlink";function DP(r,e,t,n,i){if(n&&e.startsWith("xlink:"))t==null?r.removeAttributeNS(C1,e.slice(6,e.length)):r.setAttributeNS(C1,e,t);else{const s=xA(e);t==null||s&&!Uv(t)?r.removeAttribute(e):r.setAttribute(e,s?"":t)}}function OP(r,e,t,n,i,s,a){if(e==="innerHTML"||e==="textContent"){n&&a(n,i,s),r[e]=t??"";return}const l=r.tagName;if(e==="value"&&l!=="PROGRESS"&&!l.includes("-")){r._value=t;const d=l==="OPTION"?r.getAttribute("value"):r.value,g=t??"";d!==g&&(r.value=g),t==null&&r.removeAttribute(e);return}let p=!1;if(t===""||t==null){const d=typeof r[e];d==="boolean"?t=Uv(t):t==null&&d==="string"?(t="",p=!0):d==="number"&&(t=0,p=!0)}try{r[e]=t}catch{}p&&r.removeAttribute(e)}function NC(r,e,t,n){r.addEventListener(e,t,n)}function xP(r,e,t,n){r.removeEventListener(e,t,n)}const S1=Symbol("_vei");function bP(r,e,t,n,i=null){const s=r[S1]||(r[S1]={}),a=s[e];if(n&&a)a.value=n;else{const[l,p]=vP(e);if(n){const d=s[e]=EP(n,i);NC(r,l,d,p)}else a&&(xP(r,l,a,p),s[e]=void 0)}}const E1=/(?:Once|Passive|Capture)$/;function vP(r){let e;if(E1.test(r)){e={};let n;for(;n=r.match(E1);)r=r.slice(0,r.length-n[0].length),e[n[0].toLowerCase()]=!0}return[r[2]===":"?r.slice(3):Gh(r.slice(2)),e]}let C0=0;const CP=Promise.resolve(),SP=()=>C0||(CP.then(()=>C0=0),C0=Date.now());function EP(r,e){const t=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=t.attached)return;Su(wP(n,t.value),e,5,[n])};return t.value=r,t.attached=SP(),t}function wP(r,e){if(Pi(e)){const t=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{t.call(r),r._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const w1=/^on[a-z]/,AP=(r,e,t,n,i=!1,s,a,l,p)=>{e==="class"?dP(r,n,i):e==="style"?gP(r,t,n):Eg(e)?PD(e)||bP(r,e,t,n,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):TP(r,e,n,i))?OP(r,e,n,s,a,l,p):(e==="true-value"?r._trueValue=n:e==="false-value"&&(r._falseValue=n),DP(r,e,n,i))};function TP(r,e,t,n){return n?!!(e==="innerHTML"||e==="textContent"||e in r&&w1.test(e)&&qi(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&r.tagName==="INPUT"||e==="type"&&r.tagName==="TEXTAREA"||w1.test(e)&&Oo(t)?!1:e in r}const A1=r=>{const e=r.props["onUpdate:modelValue"]||!1;return Pi(e)?t=>gm(e,t):e},S0=Symbol("_assign"),PP={deep:!0,created(r,e,t){r[S0]=A1(t),NC(r,"change",()=>{const n=r._modelValue,i=kP(r),s=r.checked,a=r[S0];if(Pi(n)){const l=qv(n,i),p=l!==-1;if(s&&!p)a(n.concat(i));else if(!s&&p){const d=[...n];d.splice(l,1),a(d)}}else if(wg(n)){const l=new Set(n);s?l.add(i):l.delete(i),a(l)}else a(IC(r,s))})},mounted:T1,beforeUpdate(r,e,t){r[S0]=A1(t),T1(r,e,t)}};function T1(r,{value:e,oldValue:t},n){r._modelValue=e,Pi(e)?r.checked=qv(e,n.props.value)>-1:wg(e)?r.checked=e.has(n.props.value):e!==t&&(r.checked=Pg(e,IC(r,!0)))}function kP(r){return"_value"in r?r._value:r.value}function IC(r,e){const t=e?"_trueValue":"_falseValue";return t in r?r[t]:e}const FP={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_P=(r,e)=>t=>{if(!("key"in t))return;const n=Gh(t.key);if(e.some(i=>i===n||FP[i]===n))return r(t)},$P=Yo({patchProp:AP},pP);let P1;function BP(){return P1||(P1=qT($P))}const NP=(...r)=>{const e=BP().createApp(...r),{mount:t}=e;return e.mount=n=>{const i=IP(n);if(!i)return;const s=e._component;!qi(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const a=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e};function IP(r){return Oo(r)?document.querySelector(r):r}function Vd(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const MP=/^\[(.+?)~?="(.*)"\]$/,RP=/[\w\u00A0-\uFFFF-_:%-?]/;function MC(r){return r.match(MP)}function q7(r=""){return RP.test(r)}const QP=/([\\:]?[\s"'`;<>]|:\(|\)"|\)\s)/g;var rc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qg(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var k1={exports:{}};(function(r,e){(function(t,n){n(e)})(rc,function(t){const n=",".charCodeAt(0),i=";".charCodeAt(0),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let ge=0;ge<s.length;ge++){const Ue=s.charCodeAt(ge);a[ge]=Ue,l[Ue]=ge}const p=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(ge){return Buffer.from(ge.buffer,ge.byteOffset,ge.byteLength).toString()}}:{decode(ge){let Ue="";for(let Dt=0;Dt<ge.length;Dt++)Ue+=String.fromCharCode(ge[Dt]);return Ue}};function d(ge){const Ue=new Int32Array(5),Dt=[];let pt=0;do{const vt=g(ge,pt),Yt=[];let ir=!0,qr=0;Ue[0]=0;for(let yr=pt;yr<vt;yr++){let kr;yr=b(ge,yr,Ue,0);const Zr=Ue[0];Zr<qr&&(ir=!1),qr=Zr,S(ge,yr,vt)?(yr=b(ge,yr,Ue,1),yr=b(ge,yr,Ue,2),yr=b(ge,yr,Ue,3),S(ge,yr,vt)?(yr=b(ge,yr,Ue,4),kr=[Zr,Ue[1],Ue[2],Ue[3],Ue[4]]):kr=[Zr,Ue[1],Ue[2],Ue[3]]):kr=[Zr],Yt.push(kr)}ir||I(Yt),Dt.push(Yt),pt=vt+1}while(pt<=ge.length);return Dt}function g(ge,Ue){const Dt=ge.indexOf(";",Ue);return Dt===-1?ge.length:Dt}function b(ge,Ue,Dt,pt){let vt=0,Yt=0,ir=0;do{const yr=ge.charCodeAt(Ue++);ir=l[yr],vt|=(ir&31)<<Yt,Yt+=5}while(ir&32);const qr=vt&1;return vt>>>=1,qr&&(vt=-2147483648|-vt),Dt[pt]+=vt,Ue}function S(ge,Ue,Dt){return Ue>=Dt?!1:ge.charCodeAt(Ue)!==n}function I(ge){ge.sort(H)}function H(ge,Ue){return ge[0]-Ue[0]}function be(ge){const Ue=new Int32Array(5),Dt=1024*16,pt=Dt-36,vt=new Uint8Array(Dt),Yt=vt.subarray(0,pt);let ir=0,qr="";for(let yr=0;yr<ge.length;yr++){const kr=ge[yr];if(yr>0&&(ir===Dt&&(qr+=p.decode(vt),ir=0),vt[ir++]=i),kr.length!==0){Ue[0]=0;for(let Zr=0;Zr<kr.length;Zr++){const zn=kr[Zr];ir>pt&&(qr+=p.decode(Yt),vt.copyWithin(0,pt,ir),ir-=pt),Zr>0&&(vt[ir++]=n),ir=ke(vt,ir,Ue,zn,0),zn.length!==1&&(ir=ke(vt,ir,Ue,zn,1),ir=ke(vt,ir,Ue,zn,2),ir=ke(vt,ir,Ue,zn,3),zn.length!==4&&(ir=ke(vt,ir,Ue,zn,4)))}}}return qr+p.decode(vt.subarray(0,ir))}function ke(ge,Ue,Dt,pt,vt){const Yt=pt[vt];let ir=Yt-Dt[vt];Dt[vt]=Yt,ir=ir<0?-ir<<1|1:ir<<1;do{let qr=ir&31;ir>>>=5,ir>0&&(qr|=32),ge[Ue++]=a[qr]}while(ir>0);return Ue}t.decode=d,t.encode=be,Object.defineProperty(t,"__esModule",{value:!0})})})(k1,k1.exports);const jP=/(?:[\w&:[\]-]|\[\S+=\S+\])+\[\\?['"]?\S+?['"]\]\]?[\w:-]*/g,LP=/\[(\\\W|[\w-])+:[^\s:]*?("\S+?"|'\S+?'|`\S+?`|[^\s:]+?)[^\s:]*?\)?\]/g;function XP(r,e,t){const n=[];return e.forEach(i=>{if(i.includes(":"))i===r&&n.push([t,t+i.length,i]);else{const a=new RegExp(`.(${i})[.#=s(]|.(${i})$`).exec(r);a?n.push([t+a.index+1,t+a.index+i.length+1,i]):i===r&&n.push([t,t+i.length,i])}}),n}function VP(r,e,t=[],n=!1){const i=[],s=[],a=new Set;Array.from(e).forEach(d=>{const g=MC(d);g?g[2]?s.push(g):(l(g[1]),a.add(g[1])):(l(d),a.add(d))});function l(d){if(d.match(/[><]/))for(const g of r.matchAll(new RegExp(Vd(d),"g"))){const b=g.index,S=b+g[0].length;i.push([b,S,g[0]])}}let p=0;r.split(QP).forEach(d=>{const g=p+d.length;n?i.push(...XP(d,a,p)):a.has(d)&&i.push([p,g,d]),p=g});for(const d of r.matchAll(jP)){const g=d.index,b=g+d[0].length;a.has(d[0])&&i.push([g,b,d[0]])}for(const d of r.matchAll(LP)){const g=d.index,b=g+d[0].length;a.has(d[0])&&i.findIndex(([I,H])=>I===g&&H===b)<0&&i.push([g,b,d[0]])}return s.forEach(([,d,g])=>{const b=new RegExp(`(${Vd(d)}=)(['"])[^\\2]*?${Vd(g)}[^\\2]*?\\2`,"g");Array.from(r.matchAll(b)).forEach(S=>{var Ue,Dt;const I=S[1],H=S[0].slice(I.length);let be=((Ue=H.match(`[\\b\\s'"]${Vd(g)}[\\b\\s'"]`))==null?void 0:Ue.index)??-1;if((Dt=H[be])!=null&&Dt.match(/[\s'"]/)&&be++,be<0)return;const ke=S.index+I.length+be,ge=ke+g.length;i.push([ke,ge,`[${d}="${g}"]`])})}),i.push(...t.map(d=>[d.offset,d.offset+d.length,d.className])),i.sort((d,g)=>d[0]-g[0])}class ys{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),ll.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),ll.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new Bf(this),s=new Bf(e);for(let a=t,l=t;;){if(i.next(a),s.next(a),a=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(l+=i.value.length,i.done||l>=n)return!0}}iter(e=1){return new Bf(this,e)}iterRange(e,t=this.length){return new RC(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new QC(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ys.empty:e.length<=32?new lo(e):ll.from(lo.split(e,[]))}}class lo extends ys{constructor(e,t=UP(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let s=0;;s++){let a=this.text[s],l=i+a.length;if((t?n:l)>=e)return new qP(i,l,n,a);i=l+1,n++}}decompose(e,t,n,i){let s=e<=0&&t>=this.length?this:new lo(F1(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(i&1){let a=n.pop(),l=Om(s.text,a.text.slice(),0,s.length);if(l.length<=32)n.push(new lo(l,a.length+s.length));else{let p=l.length>>1;n.push(new lo(l.slice(0,p)),new lo(l.slice(p)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof lo))return super.replace(e,t,n);let i=Om(this.text,Om(n.text,F1(this.text,0,e)),t),s=this.length+n.length-(t-e);return i.length<=32?new lo(i,s):ll.from(lo.split(i,[]),s)}sliceString(e,t=this.length,n=`
`){let i="";for(let s=0,a=0;s<=t&&a<this.text.length;a++){let l=this.text[a],p=s+l.length;s>e&&a&&(i+=n),e<p&&t>s&&(i+=l.slice(Math.max(0,e-s),t-s)),s=p+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let s of e)n.push(s),i+=s.length+1,n.length==32&&(t.push(new lo(n,i)),n=[],i=-1);return i>-1&&t.push(new lo(n,i)),t}}class ll extends ys{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,i){for(let s=0;;s++){let a=this.children[s],l=i+a.length,p=n+a.lines-1;if((t?p:l)>=e)return a.lineInner(e,t,n,i);i=l+1,n=p+1}}decompose(e,t,n,i){for(let s=0,a=0;a<=t&&s<this.children.length;s++){let l=this.children[s],p=a+l.length;if(e<=p&&t>=a){let d=i&((a<=e?1:0)|(p>=t?2:0));a>=e&&p<=t&&!d?n.push(l):l.decompose(e-a,t-a,n,d)}a=p+1}}replace(e,t,n){if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let a=this.children[i],l=s+a.length;if(e>=s&&t<=l){let p=a.replace(e-s,t-s,n),d=this.lines-a.lines+p.lines;if(p.lines<d>>5-1&&p.lines>d>>5+1){let g=this.children.slice();return g[i]=p,new ll(g,this.length-(t-e)+n.length)}return super.replace(s,l,p)}s=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=`
`){let i="";for(let s=0,a=0;s<this.children.length&&a<=t;s++){let l=this.children[s],p=a+l.length;a>e&&s&&(i+=n),e<p&&t>a&&(i+=l.sliceString(e-a,t-a,n)),a=p+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ll))return 0;let n=0,[i,s,a,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,s+=t){if(i==a||s==l)return n;let p=this.children[i],d=e.children[s];if(p!=d)return n+p.scanIdentical(d,t);n+=p.length+1}}static from(e,t=e.reduce((n,i)=>n+i.length+1,-1)){let n=0;for(let I of e)n+=I.lines;if(n<32){let I=[];for(let H of e)H.flatten(I);return new lo(I,t)}let i=Math.max(32,n>>5),s=i<<1,a=i>>1,l=[],p=0,d=-1,g=[];function b(I){let H;if(I.lines>s&&I instanceof ll)for(let be of I.children)b(be);else I.lines>a&&(p>a||!p)?(S(),l.push(I)):I instanceof lo&&p&&(H=g[g.length-1])instanceof lo&&I.lines+H.lines<=32?(p+=I.lines,d+=I.length+1,g[g.length-1]=new lo(H.text.concat(I.text),H.length+1+I.length)):(p+I.lines>i&&S(),p+=I.lines,d+=I.length+1,g.push(I))}function S(){p!=0&&(l.push(g.length==1?g[0]:ll.from(g,d)),d=-1,p=g.length=0)}for(let I of e)b(I);return S(),l.length==1?l[0]:new ll(l,t)}}ys.empty=new lo([""],0);function UP(r){let e=-1;for(let t of r)e+=t.length+1;return e}function Om(r,e,t=0,n=1e9){for(let i=0,s=0,a=!0;s<r.length&&i<=n;s++){let l=r[s],p=i+l.length;p>=t&&(p>n&&(l=l.slice(0,n-i)),i<t&&(l=l.slice(t-i)),a?(e[e.length-1]+=l,a=!1):e.push(l)),i=p+1}return e}function F1(r,e,t){return Om(r,[""],e,t)}class Bf{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof lo?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],s=this.offsets[n],a=s>>1,l=i instanceof lo?i.text.length:i.children.length;if(a==(t>0?l:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(i instanceof lo){let p=i.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,p.length>Math.max(0,e))return this.value=e==0?p:t>0?p.slice(e):p.slice(0,p.length-e),this;e-=p.length}else{let p=i.children[a+(t<0?-1:0)];e>p.length?(e-=p.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(p),this.offsets.push(t>0?1:(p instanceof lo?p.text.length:p.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class RC{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Bf(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class QC{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ys.prototype[Symbol.iterator]=function(){return this.iter()},Bf.prototype[Symbol.iterator]=RC.prototype[Symbol.iterator]=QC.prototype[Symbol.iterator]=function(){return this});class qP{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let Mp="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(r=>r?parseInt(r,36):1);for(let r=1;r<Mp.length;r++)Mp[r]+=Mp[r-1];function zP(r){for(let e=1;e<Mp.length;e+=2)if(Mp[e]>r)return Mp[e-1]<=r;return!1}function _1(r){return r>=127462&&r<=127487}const $1=8205;function ua(r,e,t=!0,n=!0){return(t?jC:WP)(r,e,n)}function jC(r,e,t){if(e==r.length)return e;e&&LC(r.charCodeAt(e))&&XC(r.charCodeAt(e-1))&&e--;let n=Uo(r,e);for(e+=Ha(n);e<r.length;){let i=Uo(r,e);if(n==$1||i==$1||t&&zP(i))e+=Ha(i),n=i;else if(_1(i)){let s=0,a=e-2;for(;a>=0&&_1(Uo(r,a));)s++,a-=2;if(s%2==0)break;e+=2}else break}return e}function WP(r,e,t){for(;e>0;){let n=jC(r,e-2,t);if(n<e)return n;e--}return 0}function LC(r){return r>=56320&&r<57344}function XC(r){return r>=55296&&r<56320}function Uo(r,e){let t=r.charCodeAt(e);if(!XC(t)||e+1==r.length)return t;let n=r.charCodeAt(e+1);return LC(n)?(t-55296<<10)+(n-56320)+65536:t}function YD(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}function Ha(r){return r<65536?1:2}const by=/\r\n?|\n/;var zo=function(r){return r[r.Simple=0]="Simple",r[r.TrackDel=1]="TrackDel",r[r.TrackBefore=2]="TrackBefore",r[r.TrackAfter=3]="TrackAfter",r}(zo||(zo={}));class yl{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,i=0;t<this.sections.length;){let s=this.sections[t++],a=this.sections[t++];a<0?(e(n,i,s),i+=s):i+=a,n+=s}}iterChangedRanges(e,t=!1){vy(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];i<0?e.push(n,i):e.push(i,n)}return new yl(e)}composeDesc(e){return this.empty?e:e.empty?this:VC(this,e)}mapDesc(e,t=!1){return e.empty?this:Cy(this,e,t)}mapPos(e,t=-1,n=zo.Simple){let i=0,s=0;for(let a=0;a<this.sections.length;){let l=this.sections[a++],p=this.sections[a++],d=i+l;if(p<0){if(d>e)return s+(e-i);s+=l}else{if(n!=zo.Simple&&d>=e&&(n==zo.TrackDel&&i<e&&d>e||n==zo.TrackBefore&&i<e||n==zo.TrackAfter&&d>e))return null;if(d>e||d==e&&t<0&&!l)return e==i||t<0?s:s+p;s+=p}i=d}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,t=e){for(let n=0,i=0;n<this.sections.length&&i<=t;){let s=this.sections[n++],a=this.sections[n++],l=i+s;if(a>=0&&i<=t&&l>=e)return i<e&&l>t?"cover":!0;i=l}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new yl(e)}static create(e){return new yl(e)}}class Ao extends yl{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return vy(this,(t,n,i,s,a)=>e=e.replace(i,i+(n-t),a),!1),e}mapDesc(e,t=!1){return Cy(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i<t.length;i+=2){let a=t[i],l=t[i+1];if(l>=0){t[i]=l,t[i+1]=a;let p=i>>1;for(;n.length<p;)n.push(ys.empty);n.push(a?e.slice(s,s+a):ys.empty)}s+=a}return new Ao(t,n)}compose(e){return this.empty?e:e.empty?this:VC(this,e,!0)}map(e,t=!1){return e.empty?this:Cy(this,e,t,!0)}iterChanges(e,t=!1){vy(this,e,t)}get desc(){return yl.create(this.sections)}filter(e){let t=[],n=[],i=[],s=new Gf(this);e:for(let a=0,l=0;;){let p=a==e.length?1e9:e[a++];for(;l<p||l==p&&s.len==0;){if(s.done)break e;let g=Math.min(s.len,p-l);sa(i,g,-1);let b=s.ins==-1?-1:s.off==0?s.ins:0;sa(t,g,b),b>0&&Lc(n,t,s.text),s.forward(g),l+=g}let d=e[a++];for(;l<d;){if(s.done)break e;let g=Math.min(s.len,d-l);sa(t,g,-1),sa(i,g,s.ins==-1?-1:s.off==0?s.ins:0),s.forward(g),l+=g}}return{changes:new Ao(t,n),filtered:yl.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],i=this.sections[t+1];i<0?e.push(n):i==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],a=0,l=null;function p(g=!1){if(!g&&!i.length)return;a<t&&sa(i,t-a,-1);let b=new Ao(i,s);l=l?l.compose(b.map(l)):b,i=[],s=[],a=0}function d(g){if(Array.isArray(g))for(let b of g)d(b);else if(g instanceof Ao){if(g.length!=t)throw new RangeError(`Mismatched change set length (got ${g.length}, expected ${t})`);p(),l=l?l.compose(g.map(l)):g}else{let{from:b,to:S=b,insert:I}=g;if(b>S||b<0||S>t)throw new RangeError(`Invalid change range ${b} to ${S} (in doc of length ${t})`);let H=I?typeof I=="string"?ys.of(I.split(n||by)):I:ys.empty,be=H.length;if(b==S&&be==0)return;b<a&&p(),b>a&&sa(i,b-a,-1),sa(i,S-b,be),Lc(s,i,H),a=S}}return d(e),p(!l),l}static empty(e){return new Ao(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;i<e.length;i++){let s=e[i];if(typeof s=="number")t.push(s,-1);else{if(!Array.isArray(s)||typeof s[0]!="number"||s.some((a,l)=>l&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;n.length<i;)n.push(ys.empty);n[i]=ys.of(s.slice(1)),t.push(s[0],n[i].length)}}}return new Ao(t,n)}static createSet(e,t){return new Ao(e,t)}}function sa(r,e,t,n=!1){if(e==0&&t<=0)return;let i=r.length-2;i>=0&&t<=0&&t==r[i+1]?r[i]+=e:e==0&&r[i]==0?r[i+1]+=t:n?(r[i]+=e,r[i+1]+=t):r.push(e,t)}function Lc(r,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n<r.length)r[r.length-1]=r[r.length-1].append(t);else{for(;r.length<n;)r.push(ys.empty);r.push(t)}}function vy(r,e,t){let n=r.inserted;for(let i=0,s=0,a=0;a<r.sections.length;){let l=r.sections[a++],p=r.sections[a++];if(p<0)i+=l,s+=l;else{let d=i,g=s,b=ys.empty;for(;d+=l,g+=p,p&&n&&(b=b.append(n[a-2>>1])),!(t||a==r.sections.length||r.sections[a+1]<0);)l=r.sections[a++],p=r.sections[a++];e(i,d,s,g,b),i=d,s=g}}}function Cy(r,e,t,n=!1){let i=[],s=n?[]:null,a=new Gf(r),l=new Gf(e);for(let p=-1;;)if(a.ins==-1&&l.ins==-1){let d=Math.min(a.len,l.len);sa(i,d,-1),a.forward(d),l.forward(d)}else if(l.ins>=0&&(a.ins<0||p==a.i||a.off==0&&(l.len<a.len||l.len==a.len&&!t))){let d=l.len;for(sa(i,l.ins,-1);d;){let g=Math.min(a.len,d);a.ins>=0&&p<a.i&&a.len<=g&&(sa(i,0,a.ins),s&&Lc(s,i,a.text),p=a.i),a.forward(g),d-=g}l.next()}else if(a.ins>=0){let d=0,g=a.len;for(;g;)if(l.ins==-1){let b=Math.min(g,l.len);d+=b,g-=b,l.forward(b)}else if(l.ins==0&&l.len<g)g-=l.len,l.next();else break;sa(i,d,p<a.i?a.ins:0),s&&p<a.i&&Lc(s,i,a.text),p=a.i,a.forward(a.len-g)}else{if(a.done&&l.done)return s?Ao.createSet(i,s):yl.create(i);throw new Error("Mismatched change set lengths")}}function VC(r,e,t=!1){let n=[],i=t?[]:null,s=new Gf(r),a=new Gf(e);for(let l=!1;;){if(s.done&&a.done)return i?Ao.createSet(n,i):yl.create(n);if(s.ins==0)sa(n,s.len,0,l),s.next();else if(a.len==0&&!a.done)sa(n,0,a.ins,l),i&&Lc(i,n,a.text),a.next();else{if(s.done||a.done)throw new Error("Mismatched change set lengths");{let p=Math.min(s.len2,a.len),d=n.length;if(s.ins==-1){let g=a.ins==-1?-1:a.off?0:a.ins;sa(n,p,g,l),i&&g&&Lc(i,n,a.text)}else a.ins==-1?(sa(n,s.off?0:s.len,p,l),i&&Lc(i,n,s.textBit(p))):(sa(n,s.off?0:s.len,a.off?0:a.ins,l),i&&!a.off&&Lc(i,n,a.text));l=(s.ins>p||a.ins>=0&&a.len>p)&&(l||n.length>d),s.forward2(p),a.forward(p)}}}}class Gf{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?ys.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?ys.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ih{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new Ih(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return Pr.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return Pr.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Pr.range(e.anchor,e.head)}static create(e,t,n){return new Ih(e,t,n)}}class Pr{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:Pr.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new Pr([this.main],0)}addRange(e,t=!0){return Pr.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,Pr.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Pr(e.ranges.map(t=>Ih.fromJSON(t)),e.main)}static single(e,t=e){return new Pr([Pr.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let s=e[i];if(s.empty?s.from<=n:s.from<n)return Pr.normalized(e.slice(),t);n=s.to}return new Pr(e,t)}static cursor(e,t=0,n,i){return Ih.create(e,e,(t==0?0:t<0?4:8)|(n==null?3:Math.min(2,n))|(i??33554431)<<5)}static range(e,t,n,i){let s=(n??33554431)<<5|(i==null?3:Math.min(2,i));return t<e?Ih.create(t,e,24|s):Ih.create(e,t,(t>e?4:0)|s)}static normalized(e,t=0){let n=e[t];e.sort((i,s)=>i.from-s.from),t=e.indexOf(n);for(let i=1;i<e.length;i++){let s=e[i],a=e[i-1];if(s.empty?s.from<=a.to:s.from<a.to){let l=a.from,p=Math.max(s.to,a.to);i<=t&&t--,e.splice(--i,2,s.anchor>s.head?Pr.range(p,l):Pr.range(l,p))}}return new Pr(e,t)}}function UC(r,e){for(let t of r.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let GD=0;class qn{constructor(e,t,n,i,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=GD++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new qn(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:HD),!!e.static,e.enables)}of(e){return new xm([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xm(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xm(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function HD(r,e){return r==e||r.length==e.length&&r.every((t,n)=>t===e[n])}class xm{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=GD++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,s=this.id,a=e[s]>>1,l=this.type==2,p=!1,d=!1,g=[];for(let b of this.dependencies)b=="doc"?p=!0:b=="selection"?d=!0:((t=e[b.id])!==null&&t!==void 0?t:1)&1||g.push(e[b.id]);return{create(b){return b.values[a]=n(b),1},update(b,S){if(p&&S.docChanged||d&&(S.docChanged||S.selection)||Sy(b,g)){let I=n(b);if(l?!B1(I,b.values[a],i):!i(I,b.values[a]))return b.values[a]=I,1}return 0},reconfigure:(b,S)=>{let I,H=S.config.address[s];if(H!=null){let be=Vm(S,H);if(this.dependencies.every(ke=>ke instanceof qn?S.facet(ke)===b.facet(ke):ke instanceof Po?S.field(ke,!1)==b.field(ke,!1):!0)||(l?B1(I=n(b),be,i):i(I=n(b),be)))return b.values[a]=be,0}else I=n(b);return b.values[a]=I,1}}}}function B1(r,e,t){if(r.length!=e.length)return!1;for(let n=0;n<r.length;n++)if(!t(r[n],e[n]))return!1;return!0}function Sy(r,e){let t=!1;for(let n of e)Nf(r,n)&1&&(t=!0);return t}function ZP(r,e,t){let n=t.map(p=>r[p.id]),i=t.map(p=>p.type),s=n.filter(p=>!(p&1)),a=r[e.id]>>1;function l(p){let d=[];for(let g=0;g<n.length;g++){let b=Vm(p,n[g]);if(i[g]==2)for(let S of b)d.push(S);else d.push(b)}return e.combine(d)}return{create(p){for(let d of n)Nf(p,d);return p.values[a]=l(p),1},update(p,d){if(!Sy(p,s))return 0;let g=l(p);return e.compare(g,p.values[a])?0:(p.values[a]=g,1)},reconfigure(p,d){let g=Sy(p,n),b=d.config.facets[e.id],S=d.facet(e);if(b&&!g&&HD(t,b))return p.values[a]=S,0;let I=l(p);return e.compare(I,S)?(p.values[a]=S,0):(p.values[a]=I,1)}}}const N1=qn.define({static:!0});class Po{constructor(e,t,n,i,s){this.id=e,this.createF=t,this.updateF=n,this.compareF=i,this.spec=s,this.provides=void 0}static define(e){let t=new Po(GD++,e.create,e.update,e.compare||((n,i)=>n===i),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(N1).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,i)=>{let s=n.values[t],a=this.updateF(s,i);return this.compareF(s,a)?0:(n.values[t]=a,1)},reconfigure:(n,i)=>i.config.address[this.id]!=null?(n.values[t]=i.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,N1.of({field:this,create:e})]}get extension(){return this}}const $h={lowest:4,low:3,default:2,high:1,highest:0};function gf(r){return e=>new qC(e,r)}const Jh={highest:gf($h.highest),high:gf($h.high),default:gf($h.default),low:gf($h.low),lowest:gf($h.lowest)};class qC{constructor(e,t){this.inner=e,this.prec=t}}class jg{of(e){return new Ey(this,e)}reconfigure(e){return jg.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ey{constructor(e,t){this.compartment=e,this.inner=t}}class Xm{constructor(e,t,n,i,s,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=s,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let i=[],s=Object.create(null),a=new Map;for(let S of YP(e,t,a))S instanceof Po?i.push(S):(s[S.facet.id]||(s[S.facet.id]=[])).push(S);let l=Object.create(null),p=[],d=[];for(let S of i)l[S.id]=d.length<<1,d.push(I=>S.slot(I));let g=n==null?void 0:n.config.facets;for(let S in s){let I=s[S],H=I[0].facet,be=g&&g[S]||[];if(I.every(ke=>ke.type==0))if(l[H.id]=p.length<<1|1,HD(be,I))p.push(n.facet(H));else{let ke=H.combine(I.map(ge=>ge.value));p.push(n&&H.compare(ke,n.facet(H))?n.facet(H):ke)}else{for(let ke of I)ke.type==0?(l[ke.id]=p.length<<1|1,p.push(ke.value)):(l[ke.id]=d.length<<1,d.push(ge=>ke.dynamicSlot(ge)));l[H.id]=d.length<<1,d.push(ke=>ZP(ke,H,I))}}let b=d.map(S=>S(l));return new Xm(e,a,b,l,p,s)}}function YP(r,e,t){let n=[[],[],[],[],[]],i=new Map;function s(a,l){let p=i.get(a);if(p!=null){if(p<=l)return;let d=n[p].indexOf(a);d>-1&&n[p].splice(d,1),a instanceof Ey&&t.delete(a.compartment)}if(i.set(a,l),Array.isArray(a))for(let d of a)s(d,l);else if(a instanceof Ey){if(t.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let d=e.get(a.compartment)||a.inner;t.set(a.compartment,d),s(d,l)}else if(a instanceof qC)s(a.inner,a.prec);else if(a instanceof Po)n[l].push(a),a.provides&&s(a.provides,l);else if(a instanceof xm)n[l].push(a),a.facet.extensions&&s(a.facet.extensions,$h.default);else{let d=a.extension;if(!d)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(d,l)}}return s(r,$h.default),n.reduce((a,l)=>a.concat(l))}function Nf(r,e){if(e&1)return 2;let t=e>>1,n=r.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;r.status[t]=4;let i=r.computeSlot(r,r.config.dynamicSlots[t]);return r.status[t]=2|i}function Vm(r,e){return e&1?r.config.staticValues[e>>1]:r.values[e>>1]}const zC=qn.define(),WC=qn.define({combine:r=>r.some(e=>e),static:!0}),ZC=qn.define({combine:r=>r.length?r[0]:void 0,static:!0}),YC=qn.define(),GC=qn.define(),HC=qn.define(),JC=qn.define({combine:r=>r.length?r[0]:!1});class ac{constructor(e,t){this.type=e,this.value=t}static define(){return new GP}}class GP{of(e){return new ac(this,e)}}class HP{constructor(e){this.map=e}of(e){return new ji(this,e)}}class ji{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new ji(this.type,t)}is(e){return this.type==e}static define(e={}){return new HP(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let s=i.map(t);s&&n.push(s)}return n}}ji.reconfigure=ji.define();ji.appendConfig=ji.define();class To{constructor(e,t,n,i,s,a){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=s,this.scrollIntoView=a,this._doc=null,this._state=null,n&&UC(n,t.newLength),s.some(l=>l.type==To.time)||(this.annotations=s.concat(To.time.of(Date.now())))}static create(e,t,n,i,s,a){return new To(e,t,n,i,s,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(To.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}To.time=ac.define();To.userEvent=ac.define();To.addToHistory=ac.define();To.remote=ac.define();function JP(r,e){let t=[];for(let n=0,i=0;;){let s,a;if(n<r.length&&(i==e.length||e[i]>=r[n]))s=r[n++],a=r[n++];else if(i<e.length)s=e[i++],a=e[i++];else return t;!t.length||t[t.length-1]<s?t.push(s,a):t[t.length-1]<a&&(t[t.length-1]=a)}}function KC(r,e,t){var n;let i,s,a;return t?(i=e.changes,s=Ao.empty(e.changes.length),a=r.changes.compose(e.changes)):(i=e.changes.map(r.changes),s=r.changes.mapDesc(e.changes,!0),a=r.changes.compose(i)),{changes:a,selection:e.selection?e.selection.map(s):(n=r.selection)===null||n===void 0?void 0:n.map(i),effects:ji.mapEffects(r.effects,i).concat(ji.mapEffects(e.effects,s)),annotations:r.annotations.length?r.annotations.concat(e.annotations):e.annotations,scrollIntoView:r.scrollIntoView||e.scrollIntoView}}function wy(r,e,t){let n=e.selection,i=Rp(e.annotations);return e.userEvent&&(i=i.concat(To.userEvent.of(e.userEvent))),{changes:e.changes instanceof Ao?e.changes:Ao.of(e.changes||[],t,r.facet(ZC)),selection:n&&(n instanceof Pr?n:Pr.single(n.anchor,n.head)),effects:Rp(e.effects),annotations:i,scrollIntoView:!!e.scrollIntoView}}function eS(r,e,t){let n=wy(r,e.length?e[0]:{},r.doc.length);e.length&&e[0].filter===!1&&(t=!1);for(let s=1;s<e.length;s++){e[s].filter===!1&&(t=!1);let a=!!e[s].sequential;n=KC(n,wy(r,e[s],a?n.changes.newLength:r.doc.length),a)}let i=To.create(r,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return ek(t?KP(i):i)}function KP(r){let e=r.startState,t=!0;for(let i of e.facet(YC)){let s=i(r);if(s===!1){t=!1;break}Array.isArray(s)&&(t=t===!0?s:JP(t,s))}if(t!==!0){let i,s;if(t===!1)s=r.changes.invertedDesc,i=Ao.empty(e.doc.length);else{let a=r.changes.filter(t);i=a.changes,s=a.filtered.mapDesc(a.changes).invertedDesc}r=To.create(e,i,r.selection&&r.selection.map(s),ji.mapEffects(r.effects,s),r.annotations,r.scrollIntoView)}let n=e.facet(GC);for(let i=n.length-1;i>=0;i--){let s=n[i](r);s instanceof To?r=s:Array.isArray(s)&&s.length==1&&s[0]instanceof To?r=s[0]:r=eS(e,Rp(s),!1)}return r}function ek(r){let e=r.startState,t=e.facet(HC),n=r;for(let i=t.length-1;i>=0;i--){let s=t[i](r);s&&Object.keys(s).length&&(n=KC(n,wy(e,s,r.changes.newLength),!0))}return n==r?r:To.create(e,r.changes,r.selection,n.effects,n.annotations,n.scrollIntoView)}const tk=[];function Rp(r){return r==null?tk:Array.isArray(r)?r:[r]}var Hs=function(r){return r[r.Word=0]="Word",r[r.Space=1]="Space",r[r.Other=2]="Other",r}(Hs||(Hs={}));const rk=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ay;try{Ay=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function nk(r){if(Ay)return Ay.test(r);for(let e=0;e<r.length;e++){let t=r[e];if(/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||rk.test(t)))return!0}return!1}function ik(r){return e=>{if(!/\S/.test(e))return Hs.Space;if(nk(e))return Hs.Word;for(let t=0;t<r.length;t++)if(e.indexOf(r[t])>-1)return Hs.Word;return Hs.Other}}class ms{constructor(e,t,n,i,s,a){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=s,a&&(a._state=this);for(let l=0;l<this.config.dynamicSlots.length;l++)Nf(this,l<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw new RangeError("Field is not present in this state");return}return Nf(this,n),Vm(this,n)}update(...e){return eS(this,e,!0)}applyTransaction(e){let t=this.config,{base:n,compartments:i}=t;for(let a of e.effects)a.is(jg.reconfigure)?(t&&(i=new Map,t.compartments.forEach((l,p)=>i.set(p,l)),t=null),i.set(a.value.compartment,a.value.extension)):a.is(ji.reconfigure)?(t=null,n=a.value):a.is(ji.appendConfig)&&(t=null,n=Rp(n).concat(a.value));let s;t?s=e.startState.values.slice():(t=Xm.resolve(n,i,this),s=new ms(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,p)=>p.reconfigure(l,this),null).values),new ms(t,e.newDoc,e.newSelection,s,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:Pr.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),s=[n.range],a=Rp(n.effects);for(let l=1;l<t.ranges.length;l++){let p=e(t.ranges[l]),d=this.changes(p.changes),g=d.map(i);for(let S=0;S<l;S++)s[S]=s[S].map(g);let b=i.mapDesc(d,!0);s.push(p.range.map(b)),i=i.compose(g),a=ji.mapEffects(a,g).concat(ji.mapEffects(Rp(p.effects),b))}return{changes:i,selection:Pr.create(s,t.mainIndex),effects:a}}changes(e=[]){return e instanceof Ao?e:Ao.of(e,this.doc.length,this.facet(ms.lineSeparator))}toText(e){return ys.of(e.split(this.facet(ms.lineSeparator)||by))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(Nf(this,t),Vm(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof Po&&this.config.address[i.id]!=null&&(t[n]=i.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n){for(let s in n)if(Object.prototype.hasOwnProperty.call(e,s)){let a=n[s],l=e[s];i.push(a.init(p=>a.spec.fromJSON(l,p)))}}return ms.create({doc:e.doc,selection:Pr.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=Xm.resolve(e.extensions||[],new Map),n=e.doc instanceof ys?e.doc:ys.of((e.doc||"").split(t.staticFacet(ms.lineSeparator)||by)),i=e.selection?e.selection instanceof Pr?e.selection:Pr.single(e.selection.anchor,e.selection.head):Pr.single(0);return UC(i,n.length),t.staticFacet(WC)||(i=i.asSingle()),new ms(t,n,i,t.dynamicSlots.map(()=>null),(s,a)=>a.create(s),null)}get tabSize(){return this.facet(ms.tabSize)}get lineBreak(){return this.facet(ms.lineSeparator)||`
`}get readOnly(){return this.facet(JC)}phrase(e,...t){for(let n of this.facet(ms.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let s of this.facet(zC))for(let a of s(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return ik(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),a=e-n,l=e-n;for(;a>0;){let p=ua(t,a,!1);if(s(t.slice(p,a))!=Hs.Word)break;a=p}for(;l<i;){let p=ua(t,l);if(s(t.slice(l,p))!=Hs.Word)break;l=p}return a==l?null:Pr.range(a+n,l+n)}}ms.allowMultipleSelections=WC;ms.tabSize=qn.define({combine:r=>r.length?r[0]:4});ms.lineSeparator=ZC;ms.readOnly=JC;ms.phrases=qn.define({compare(r,e){let t=Object.keys(r),n=Object.keys(e);return t.length==n.length&&t.every(i=>r[i]==e[i])}});ms.languageData=zC;ms.changeFilter=YC;ms.transactionFilter=GC;ms.transactionExtender=HC;jg.reconfigure=ji.define();function Sl(r,e,t={}){let n={};for(let i of r)for(let s of Object.keys(i)){let a=i[s],l=n[s];if(l===void 0)n[s]=a;else if(!(l===a||a===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](l,a);else throw new Error("Config merge conflict for field "+s)}for(let i in e)n[i]===void 0&&(n[i]=e[i]);return n}class Uh{eq(e){return this==e}range(e,t=e){return Ty.create(e,t,this)}}Uh.prototype.startSide=Uh.prototype.endSide=0;Uh.prototype.point=!1;Uh.prototype.mapMode=zo.TrackDel;let Ty=class tS{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new tS(e,t,n)}};function Py(r,e){return r.from-e.from||r.value.startSide-e.value.startSide}class JD{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let s=n?this.to:this.from;for(let a=i,l=s.length;;){if(a==l)return a;let p=a+l>>1,d=s[p]-e||(n?this.value[p].endSide:this.value[p].startSide)-t;if(p==a)return d>=0?a:l;d>=0?l=p:a=p+1}}between(e,t,n,i){for(let s=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,s);s<a;s++)if(i(this.from[s]+e,this.to[s]+e,this.value[s])===!1)return!1}map(e,t){let n=[],i=[],s=[],a=-1,l=-1;for(let p=0;p<this.value.length;p++){let d=this.value[p],g=this.from[p]+e,b=this.to[p]+e,S,I;if(g==b){let H=t.mapPos(g,d.startSide,d.mapMode);if(H==null||(S=I=H,d.startSide!=d.endSide&&(I=t.mapPos(g,d.endSide),I<S)))continue}else if(S=t.mapPos(g,d.startSide),I=t.mapPos(b,d.endSide),S>I||S==I&&d.startSide>0&&d.endSide<=0)continue;(I-S||d.endSide-d.startSide)<0||(a<0&&(a=S),d.point&&(l=Math.max(l,I-S)),n.push(d),i.push(S-a),s.push(I-a))}return{mapped:n.length?new JD(i,s,n,l):null,pos:a}}}class Ss{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new Ss(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:s=this.length}=e,a=e.filter;if(t.length==0&&!a)return this;if(n&&(t=t.slice().sort(Py)),this.isEmpty)return t.length?Ss.of(t):this;let l=new rS(this,null,-1).goto(0),p=0,d=[],g=new Jc;for(;l.value||p<t.length;)if(p<t.length&&(l.from-t[p].from||l.startSide-t[p].value.startSide)>=0){let b=t[p++];g.addInner(b.from,b.to,b.value)||d.push(b)}else l.rangeIndex==1&&l.chunkIndex<this.chunk.length&&(p==t.length||this.chunkEnd(l.chunkIndex)<t[p].from)&&(!a||i>this.chunkEnd(l.chunkIndex)||s<this.chunkPos[l.chunkIndex])&&g.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])?l.nextChunk():((!a||i>l.to||s<l.from||a(l.from,l.to,l.value))&&(g.addInner(l.from,l.to,l.value)||d.push(Ty.create(l.from,l.to,l.value))),l.next());return g.finishInner(this.nextLayer.isEmpty&&!d.length?Ss.empty:this.nextLayer.update({add:d,filter:a,filterFrom:i,filterTo:s}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],i=-1;for(let a=0;a<this.chunk.length;a++){let l=this.chunkPos[a],p=this.chunk[a],d=e.touchesRange(l,l+p.length);if(d===!1)i=Math.max(i,p.maxPoint),t.push(p),n.push(e.mapPos(l));else if(d===!0){let{mapped:g,pos:b}=p.map(l,e);g&&(i=Math.max(i,g.maxPoint),t.push(g),n.push(b))}}let s=this.nextLayer.map(e);return t.length==0?s:new Ss(n,t,s||Ss.empty,i)}between(e,t,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],a=this.chunk[i];if(t>=s&&e<=s+a.length&&a.between(s,e-s,t-s,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return Hf.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Hf.from(e).goto(t)}static compare(e,t,n,i,s=-1){let a=e.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),l=t.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),p=I1(a,l,n),d=new yf(a,p,s),g=new yf(l,p,s);n.iterGaps((b,S,I)=>M1(d,b,g,S,I,i)),n.empty&&n.length==0&&M1(d,0,g,0,0,i)}static eq(e,t,n=0,i){i==null&&(i=1e9-1);let s=e.filter(g=>!g.isEmpty&&t.indexOf(g)<0),a=t.filter(g=>!g.isEmpty&&e.indexOf(g)<0);if(s.length!=a.length)return!1;if(!s.length)return!0;let l=I1(s,a),p=new yf(s,l,0).goto(n),d=new yf(a,l,0).goto(n);for(;;){if(p.to!=d.to||!ky(p.active,d.active)||p.point&&(!d.point||!p.point.eq(d.point)))return!1;if(p.to>i)return!0;p.next(),d.next()}}static spans(e,t,n,i,s=-1){let a=new yf(e,null,s).goto(t),l=t,p=a.openStart;for(;;){let d=Math.min(a.to,n);if(a.point){let g=a.activeForPoint(a.to),b=a.pointFrom<t?g.length+1:Math.min(g.length,p);i.point(l,d,a.point,g,b,a.pointRank),p=Math.min(a.openEnd(d),g.length)}else d>l&&(i.span(l,d,a.active,p),p=a.openEnd(d));if(a.to>n)return p+(a.point&&a.to>n?1:0);l=a.to,a.next()}}static of(e,t=!1){let n=new Jc;for(let i of e instanceof Ty?[e]:t?sk(e):e)n.add(i.from,i.to,i.value);return n.finish()}}Ss.empty=new Ss([],[],null,-1);function sk(r){if(r.length>1)for(let e=r[0],t=1;t<r.length;t++){let n=r[t];if(Py(e,n)>0)return r.slice().sort(Py);e=n}return r}Ss.empty.nextLayer=Ss.empty;class Jc{finishChunk(e){this.chunks.push(new JD(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Jc)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ss.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Ss.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function I1(r,e,t){let n=new Map;for(let s of r)for(let a=0;a<s.chunk.length;a++)s.chunk[a].maxPoint<=0&&n.set(s.chunk[a],s.chunkPos[a]);let i=new Set;for(let s of e)for(let a=0;a<s.chunk.length;a++){let l=n.get(s.chunk[a]);l!=null&&(t?t.mapPos(l):l)==s.chunkPos[a]&&!(t!=null&&t.touchesRange(l,l+s.chunk[a].length))&&i.add(s.chunk[a])}return i}class rS{constructor(e,t,n,i=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let i=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(i)||this.layer.chunkEnd(this.chunkIndex)<e||i.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Hf{constructor(e){this.heap=e}static from(e,t=null,n=-1){let i=[];for(let s=0;s<e.length;s++)for(let a=e[s];!a.isEmpty;a=a.nextLayer)a.maxPoint>=n&&i.push(new rS(a,t,n,s));return i.length==1?i[0]:new Hf(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)E0(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)E0(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),E0(this.heap,0)}}}function E0(r,e){for(let t=r[e];;){let n=(e<<1)+1;if(n>=r.length)break;let i=r[n];if(n+1<r.length&&i.compare(r[n+1])>=0&&(i=r[n+1],n++),t.compare(i)<0)break;r[n]=t,r[e]=i,e=n}}class yf{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Hf.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ud(this.active,e),Ud(this.activeTo,e),Ud(this.activeRank,e),this.minActive=R1(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:s}=this.cursor;for(;t<this.activeRank.length&&this.activeRank[t]<=s;)t++;qd(this.active,t,n),qd(this.activeTo,t,i),qd(this.activeRank,t,s),e&&qd(e,t,this.cursor.from),this.minActive=R1(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Ud(n,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=s,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=s.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let i=n.length-1;i>=0&&n[i]<e;i--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function M1(r,e,t,n,i,s){r.goto(e),t.goto(n);let a=n+i,l=n,p=n-e;for(;;){let d=r.to+p-t.to||r.endSide-t.endSide,g=d<0?r.to+p:t.to,b=Math.min(g,a);if(r.point||t.point?r.point&&t.point&&(r.point==t.point||r.point.eq(t.point))&&ky(r.activeForPoint(r.to),t.activeForPoint(t.to))||s.comparePoint(l,b,r.point,t.point):b>l&&!ky(r.active,t.active)&&s.compareRange(l,b,r.active,t.active),g>a)break;l=g,d<=0&&r.next(),d>=0&&t.next()}}function ky(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!=e[t]&&!r[t].eq(e[t]))return!1;return!0}function Ud(r,e){for(let t=e,n=r.length-1;t<n;t++)r[t]=r[t+1];r.pop()}function qd(r,e,t){for(let n=r.length-1;n>=e;n--)r[n+1]=r[n];r[e]=t}function R1(r,e){let t=-1,n=1e9;for(let i=0;i<e.length;i++)(e[i]-n||r[i].endSide-r[t].endSide)<0&&(t=i,n=e[i]);return t}function xd(r,e,t=r.length){let n=0;for(let i=0;i<t;)r.charCodeAt(i)==9?(n+=e-n%e,i++):(n++,i=ua(r,i));return n}function Fy(r,e,t,n){for(let i=0,s=0;;){if(s>=e)return i;if(i==r.length)break;s+=r.charCodeAt(i)==9?t-s%t:1,i=ua(r,i)}return n===!0?-1:r.length}const _y="ͼ",Q1=typeof Symbol>"u"?"__"+_y:Symbol.for(_y),$y=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),j1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Kc{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function s(a,l,p,d){let g=[],b=/^@(\w+)\b/.exec(a[0]),S=b&&b[1]=="keyframes";if(b&&l==null)return p.push(a[0]+";");for(let I in l){let H=l[I];if(/&/.test(I))s(I.split(/,\s*/).map(be=>a.map(ke=>be.replace(/&/,ke))).reduce((be,ke)=>be.concat(ke)),H,p);else if(H&&typeof H=="object"){if(!b)throw new RangeError("The value of a property ("+I+") should be a primitive value.");s(i(I),H,g,S)}else H!=null&&g.push(I.replace(/_.*/,"").replace(/[A-Z]/g,be=>"-"+be.toLowerCase())+": "+H+";")}(g.length||S)&&p.push((n&&!b&&!d?a.map(n):a).join(", ")+" {"+g.join(" ")+"}")}for(let a in e)s(i(a),e[a],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=j1[Q1]||1;return j1[Q1]=e+1,_y+e.toString(36)}static mount(e,t,n){let i=e[$y],s=n&&n.nonce;i?s&&i.setNonce(s):i=new ok(e,s),i.mount(Array.isArray(t)?t:[t])}}let L1=new Map;class ok{constructor(e,t){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let s=L1.get(n);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[$y]=s;this.sheet=new i.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],L1.set(n,this)}else{this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);let s=e.head||e;s.insertBefore(this.styleTag,s.firstChild)}this.modules=[],e[$y]=this}mount(e){let t=this.sheet,n=0,i=0;for(let s=0;s<e.length;s++){let a=e[s],l=this.modules.indexOf(a);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,a),t)for(let p=0;p<a.rules.length;p++)t.insertRule(a.rules[p],n++)}else{for(;i<l;)n+=this.modules[i++].rules.length;n+=a.rules.length,i++}}if(!t){let s="";for(let a=0;a<this.modules.length;a++)s+=this.modules[a].getRules()+`
`;this.styleTag.textContent=s}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var eh={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Jf={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},ak=typeof navigator<"u"&&/Mac/.test(navigator.platform),uk=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var qo=0;qo<10;qo++)eh[48+qo]=eh[96+qo]=String(qo);for(var qo=1;qo<=24;qo++)eh[qo+111]="F"+qo;for(var qo=65;qo<=90;qo++)eh[qo]=String.fromCharCode(qo+32),Jf[qo]=String.fromCharCode(qo);for(var w0 in eh)Jf.hasOwnProperty(w0)||(Jf[w0]=eh[w0]);function lk(r){var e=ak&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||uk&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?Jf:eh)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function Um(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function By(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function ck(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function bm(r,e){if(!e.anchorNode)return!1;try{return By(r,e.anchorNode)}catch{return!1}}function Kf(r){return r.nodeType==3?qh(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function qm(r,e,t,n){return t?X1(r,e,t,n,-1)||X1(r,e,t,n,1):!1}function zm(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function X1(r,e,t,n,i){for(;;){if(r==t&&e==n)return!0;if(e==(i<0?0:th(r))){if(r.nodeName=="DIV")return!1;let s=r.parentNode;if(!s||s.nodeType!=1)return!1;e=zm(r)+(i<0?0:1),r=s}else if(r.nodeType==1){if(r=r.childNodes[e+(i<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=i<0?th(r):0}else return!1}}function th(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function KD(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function hk(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function pk(r,e,t,n,i,s,a,l){let p=r.ownerDocument,d=p.defaultView||window;for(let g=r,b=!1;g&&!b;)if(g.nodeType==1){let S,I=g==p.body,H=1,be=1;if(I)S=hk(d);else{if(/^(fixed|sticky)$/.test(getComputedStyle(g).position)&&(b=!0),g.scrollHeight<=g.clientHeight&&g.scrollWidth<=g.clientWidth){g=g.assignedSlot||g.parentNode;continue}let Ue=g.getBoundingClientRect();H=Ue.width/g.offsetWidth,be=Ue.height/g.offsetHeight,S={left:Ue.left,right:Ue.left+g.clientWidth*H,top:Ue.top,bottom:Ue.top+g.clientHeight*be}}let ke=0,ge=0;if(i=="nearest")e.top<S.top?(ge=-(S.top-e.top+a),t>0&&e.bottom>S.bottom+ge&&(ge=e.bottom-S.bottom+ge+a)):e.bottom>S.bottom&&(ge=e.bottom-S.bottom+a,t<0&&e.top-ge<S.top&&(ge=-(S.top+ge-e.top+a)));else{let Ue=e.bottom-e.top,Dt=S.bottom-S.top;ge=(i=="center"&&Ue<=Dt?e.top+Ue/2-Dt/2:i=="start"||i=="center"&&t<0?e.top-a:e.bottom-Dt+a)-S.top}if(n=="nearest"?e.left<S.left?(ke=-(S.left-e.left+s),t>0&&e.right>S.right+ke&&(ke=e.right-S.right+ke+s)):e.right>S.right&&(ke=e.right-S.right+s,t<0&&e.left<S.left+ke&&(ke=-(S.left+ke-e.left+s))):ke=(n=="center"?e.left+(e.right-e.left)/2-(S.right-S.left)/2:n=="start"==l?e.left-s:e.right-(S.right-S.left)+s)-S.left,ke||ge)if(I)d.scrollBy(ke,ge);else{let Ue=0,Dt=0;if(ge){let pt=g.scrollTop;g.scrollTop+=ge/be,Dt=(g.scrollTop-pt)*be}if(ke){let pt=g.scrollLeft;g.scrollLeft+=ke/H,Ue=(g.scrollLeft-pt)*H}e={left:e.left-Ue,top:e.top-Dt,right:e.right-Ue,bottom:e.bottom-Dt},Ue&&Math.abs(Ue-ke)<1&&(n="nearest"),Dt&&Math.abs(Dt-ge)<1&&(i="nearest")}if(I)break;g=g.assignedSlot||g.parentNode}else if(g.nodeType==11)g=g.host;else break}function fk(r){let e=r.ownerDocument;for(let t=r.parentNode;t&&t!=e.body;)if(t.nodeType==1){if(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class dk{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?th(t):0),n,Math.min(e.focusOffset,n?th(n):0))}set(e,t,n,i){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=i}}let Cp=null;function nS(r){if(r.setActive)return r.setActive();if(Cp)return r.focus(Cp);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(Cp==null?{get preventScroll(){return Cp={preventScroll:!0},!0}}:void 0),!Cp){Cp=!1;for(let t=0;t<e.length;){let n=e[t++],i=e[t++],s=e[t++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=s&&(n.scrollLeft=s)}}}let V1;function qh(r,e,t=e){let n=V1||(V1=document.createRange());return n.setEnd(r,t),n.setStart(r,e),n}function Qp(r,e,t){let n={key:e,code:e,keyCode:t,which:t,cancelable:!0},i=new KeyboardEvent("keydown",n);i.synthetic=!0,r.dispatchEvent(i);let s=new KeyboardEvent("keyup",n);return s.synthetic=!0,r.dispatchEvent(s),i.defaultPrevented||s.defaultPrevented}function mk(r){for(;r;){if(r&&(r.nodeType==9||r.nodeType==11&&r.host))return r;r=r.assignedSlot||r.parentNode}return null}function iS(r){for(;r.attributes.length;)r.removeAttributeNode(r.attributes[0])}function gk(r,e){let t=e.focusNode,n=e.focusOffset;if(!t||e.anchorNode!=t||e.anchorOffset!=n)return!1;for(n=Math.min(n,th(t));;)if(n){if(t.nodeType!=1)return!1;let i=t.childNodes[n-1];i.contentEditable=="false"?n--:(t=i,n=th(t))}else{if(t==r)return!0;n=zm(t),t=t.parentNode}}function sS(r){return r.scrollTop>Math.max(1,r.scrollHeight-r.clientHeight-4)}class aa{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new aa(e.parentNode,zm(e),t)}static after(e,t){return new aa(e.parentNode,zm(e)+1,t)}}const eO=[];class zs{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let n=this.dom,i=null,s;for(let a of this.children){if(a.flags&7){if(!a.dom&&(s=i?i.nextSibling:n.firstChild)){let l=zs.get(s);(!l||!l.parent&&l.canReuseDOM(a))&&a.reuseDOM(s)}a.sync(e,t),a.flags&=-8}if(s=i?i.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&s!=a.dom&&(t.written=!0),a.dom.parentNode==n)for(;s&&s!=a.dom;)s=U1(s);else n.insertBefore(a.dom,s);i=a.dom}for(s=i?i.nextSibling:n.firstChild,s&&t&&t.node==n&&(t.written=!0);s;)s=U1(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let i=th(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;i==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?i=-1:i=1),e=s}i<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!zs.get(n);)n=n.nextSibling;if(!n)return this.length;for(let i=0,s=0;;i++){let a=this.children[i];if(a.dom==n)return s;s+=a.length+a.breakAfter}}domBoundsAround(e,t,n=0){let i=-1,s=-1,a=-1,l=-1;for(let p=0,d=n,g=n;p<this.children.length;p++){let b=this.children[p],S=d+b.length;if(d<e&&S>t)return b.domBoundsAround(e,t,d);if(S>=e&&i==-1&&(i=p,s=d),d>t&&b.dom.parentNode==this.dom){a=p,l=g;break}g=S,d=S+b.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=eO){this.markDirty();for(let i=e;i<t;i++){let s=this.children[i];s.parent==this&&s.destroy()}this.children.splice(e,t-e,...n);for(let i=0;i<n.length;i++)n[i].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new oS(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,n,i,s,a){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){this.parent=null}}zs.prototype.breakAfter=0;function U1(r){let e=r.nextSibling;return r.parentNode.removeChild(r),e}class oS{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function aS(r,e,t,n,i,s,a,l,p){let{children:d}=r,g=d.length?d[e]:null,b=s.length?s[s.length-1]:null,S=b?b.breakAfter:a;if(!(e==n&&g&&!a&&!S&&s.length<2&&g.merge(t,i,s.length?b:null,t==0,l,p))){if(n<d.length){let I=d[n];I&&i<I.length?(e==n&&(I=I.split(i),i=0),!S&&b&&I.merge(0,i,b,!0,0,p)?s[s.length-1]=I:(i&&I.merge(0,i,null,!1,0,p),s.push(I))):I!=null&&I.breakAfter&&(b?b.breakAfter=1:a=1),n++}for(g&&(g.breakAfter=a,t>0&&(!a&&s.length&&g.merge(t,g.length,s[0],!1,l,0)?g.breakAfter=s.shift().breakAfter:(t<g.length||g.children.length&&g.children[g.children.length-1].length==0)&&g.merge(t,g.length,null,!1,l,0),e++));e<n&&s.length;)if(d[n-1].become(s[s.length-1]))n--,s.pop(),p=s.length?0:l;else if(d[e].become(s[0]))e++,s.shift(),l=s.length?0:p;else break;!s.length&&e&&n<d.length&&!d[e-1].breakAfter&&d[n].merge(0,0,d[e-1],!1,l,p)&&e--,(e<n||s.length)&&r.replaceChildren(e,n,s)}}function uS(r,e,t,n,i,s){let a=r.childCursor(),{i:l,off:p}=a.findPos(t,1),{i:d,off:g}=a.findPos(e,-1),b=e-t;for(let S of n)b+=S.length;r.length+=b,aS(r,d,g,l,p,n,0,i,s)}let za=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Ny=typeof document<"u"?document:{documentElement:{style:{}}};const Iy=/Edge\/(\d+)/.exec(za.userAgent),lS=/MSIE \d/.test(za.userAgent),My=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(za.userAgent),Lg=!!(lS||My||Iy),q1=!Lg&&/gecko\/(\d+)/i.test(za.userAgent),A0=!Lg&&/Chrome\/(\d+)/.exec(za.userAgent),z1="webkitFontSmoothing"in Ny.documentElement.style,cS=!Lg&&/Apple Computer/.test(za.vendor),W1=cS&&(/Mobile\/\w+/.test(za.userAgent)||za.maxTouchPoints>2);var oi={mac:W1||/Mac/.test(za.platform),windows:/Win/.test(za.platform),linux:/Linux|X11/.test(za.platform),ie:Lg,ie_version:lS?Ny.documentMode||6:My?+My[1]:Iy?+Iy[1]:0,gecko:q1,gecko_version:q1?+(/Firefox\/(\d+)/.exec(za.userAgent)||[0,0])[1]:0,chrome:!!A0,chrome_version:A0?+A0[1]:0,ios:W1,android:/Android\b/.test(za.userAgent),webkit:z1,safari:cS,webkit_version:z1?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Ny.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const yk=256;class nc extends zs{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return this.flags&8||n&&(!(n instanceof nc)||this.length-(t-e)+n.length>yk||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new nc(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new aa(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Dk(this.dom,e,t)}}class ic extends zs{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let i of t)i.setParent(this)}setAttrs(e){if(iS(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,i,s,a){return n&&(!(n instanceof ic&&n.mark.eq(this.mark))||e&&s<=0||t<this.length&&a<=0)?!1:(uS(this,e,t,n?n.children:[],s-1,a-1),this.markDirty(),!0)}split(e){let t=[],n=0,i=-1,s=0;for(let l of this.children){let p=n+l.length;p>e&&t.push(n<e?l.split(e-n):l),i<0&&n>=e&&(i=s),n=p,s++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new ic(this.mark,t,a)}domAtPos(e){return hS(this,e)}coordsAt(e,t){return fS(this,e,t)}}function Dk(r,e,t){let n=r.nodeValue.length;e>n&&(e=n);let i=e,s=e,a=0;e==0&&t<0||e==n&&t>=0?oi.chrome||oi.gecko||(e?(i--,a=1):s<n&&(s++,a=-1)):t<0?i--:s<n&&s++;let l=qh(r,i,s).getClientRects();if(!l.length)return null;let p=l[(a?a<0:t>=0)?0:l.length-1];return oi.safari&&!a&&p.width==0&&(p=Array.prototype.find.call(l,d=>d.width)||p),a?KD(p,a<0):p||null}class Xc extends zs{static create(e,t,n){return new Xc(e,t,n)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){let t=Xc.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,i,s,a){return n&&(!(n instanceof Xc)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&a<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}become(e){return e instanceof Xc&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return ys.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,i=this.posAtStart;return n?n.slice(i,i+this.length):ys.empty}domAtPos(e){return(this.length?e==0:this.side>0)?aa.before(this.dom):aa.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let i=this.dom.getClientRects(),s=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let l=a?i.length-1:0;s=i[l],!(e>0?l==0:l==i.length-1||s.top<s.bottom);l+=a?-1:1);return KD(s,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Zp extends zs{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof Zp&&e.side==this.side}split(){return new Zp(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?aa.before(this.dom):aa.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ys.empty}get isHidden(){return!0}}nc.prototype.children=Xc.prototype.children=Zp.prototype.children=eO;function hS(r,e){let t=r.dom,{children:n}=r,i=0;for(let s=0;i<n.length;i++){let a=n[i],l=s+a.length;if(!(l==s&&a.getSide()<=0)){if(e>s&&e<l&&a.dom.parentNode==t)return a.domAtPos(e-s);if(e<=s)break;s=l}}for(let s=i;s>0;s--){let a=n[s-1];if(a.dom.parentNode==t)return a.domAtPos(a.length)}for(let s=i;s<n.length;s++){let a=n[s];if(a.dom.parentNode==t)return a.domAtPos(0)}return new aa(t,0)}function pS(r,e,t){let n,{children:i}=r;t>0&&e instanceof ic&&i.length&&(n=i[i.length-1])instanceof ic&&n.mark.eq(e.mark)?pS(n,e.children[0],t-1):(i.push(e),e.setParent(r)),r.length+=e.length}function fS(r,e,t){let n=null,i=-1,s=null,a=-1;function l(d,g){for(let b=0,S=0;b<d.children.length&&S<=g;b++){let I=d.children[b],H=S+I.length;H>=g&&(I.children.length?l(I,g-S):(!s||s.isHidden&&t>0)&&(H>g||S==H&&I.getSide()>0)?(s=I,a=g-S):(S<g||S==H&&I.getSide()<0&&!I.isHidden)&&(n=I,i=g-S)),S=H}}l(r,e);let p=(t<0?n:s)||n||s;return p?p.coordsAt(Math.max(0,p==n?i:a),t):Ok(r)}function Ok(r){let e=r.dom.lastChild;if(!e)return r.dom.getBoundingClientRect();let t=Kf(e);return t[t.length-1]||null}function Ry(r,e){for(let t in r)t=="class"&&e.class?e.class+=" "+r.class:t=="style"&&e.style?e.style+=";"+r.style:e[t]=r[t];return e}const Z1=Object.create(null);function tO(r,e,t){if(r==e)return!0;r||(r=Z1),e||(e=Z1);let n=Object.keys(r),i=Object.keys(e);if(n.length-(t&&n.indexOf(t)>-1?1:0)!=i.length-(t&&i.indexOf(t)>-1?1:0))return!1;for(let s of n)if(s!=t&&(i.indexOf(s)==-1||r[s]!==e[s]))return!1;return!0}function Qy(r,e,t){let n=!1;if(e)for(let i in e)t&&i in t||(n=!0,i=="style"?r.style.cssText="":r.removeAttribute(i));if(t)for(let i in t)e&&e[i]==t[i]||(n=!0,i=="style"?r.style.cssText=t[i]:r.setAttribute(i,t[i]));return n}function xk(r){let e=Object.create(null);for(let t=0;t<r.attributes.length;t++){let n=r.attributes[t];e[n.name]=n.value}return e}class wo extends zs{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,i,s,a){if(n){if(!(n instanceof wo))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),uS(this,e,t,n?n.children:[],s,a),!0}split(e){let t=new wo;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:i}=this.childPos(e);i&&(t.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let s=n;s<this.children.length;s++)t.append(this.children[s],0);for(;n>0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){tO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){pS(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=Ry(t,this.attrs||{})),n&&(this.attrs=Ry({class:n},this.attrs||{}))}domAtPos(e){return hS(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?this.flags&4&&(iS(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(Qy(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let i=this.dom.lastChild;for(;i&&zs.get(i)instanceof ic;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((n=zs.get(i))===null||n===void 0?void 0:n.isEditable)==!1&&(!oi.ios||!this.children.some(s=>s instanceof nc))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof nc)||/[^ -~]/.test(n.text))return null;let i=Kf(n.dom);if(i.length!=1)return null;e+=i[0].width,t=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=fS(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:i}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-i.lineHeight)<2&&i.textHeight<s){let a=(s-i.textHeight)/2;return{top:n.top+a,bottom:n.bottom-a,left:n.left,right:n.left}}}return n}become(e){return!1}covers(){return!0}static find(e,t){for(let n=0,i=0;n<e.children.length;n++){let s=e.children[n],a=i+s.length;if(a>=t){if(s instanceof wo)return s;if(a>t)break}i=a+s.breakAfter}return null}}class jh extends zs{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,i,s,a){return n&&(!(n instanceof jh)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&a<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}domAtPos(e){return e==0?aa.before(this.dom):aa.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let n=new jh(this.widget,t,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return eO}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):ys.empty}domBoundsAround(){return null}become(e){return e instanceof jh&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:n}=this.deco;return t==n?!1:e<0?t<0:n>0}}class oh{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}destroy(e){}}var da=function(r){return r[r.Text=0]="Text",r[r.WidgetBefore=1]="WidgetBefore",r[r.WidgetAfter=2]="WidgetAfter",r[r.WidgetRange=3]="WidgetRange",r}(da||(da={}));class _i extends Uh{constructor(e,t,n,i){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(e){return new bd(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new rh(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,i;if(e.isBlockGap)n=-5e8,i=4e8;else{let{start:s,end:a}=dS(e,t);n=(s?t?-3e8:-1:5e8)-1,i=(a?t?2e8:1:-6e8)+1}return new rh(e,n,i,t,e.widget||null,!0)}static line(e){return new vd(e)}static set(e,t=!1){return Ss.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}_i.none=Ss.empty;class bd extends _i{constructor(e){let{start:t,end:n}=dS(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof bd&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&tO(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}bd.prototype.point=!1;class vd extends _i{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof vd&&this.spec.class==e.spec.class&&tO(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}vd.prototype.mapMode=zo.TrackBefore;vd.prototype.point=!0;class rh extends _i{constructor(e,t,n,i,s,a){super(t,n,s,e),this.block=i,this.isReplace=a,this.mapMode=i?t<=0?zo.TrackBefore:zo.TrackAfter:zo.TrackDel}get type(){return this.startSide!=this.endSide?da.WidgetRange:this.startSide<=0?da.WidgetBefore:da.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof rh&&bk(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}rh.prototype.point=!0;function dS(r,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=r;return t==null&&(t=r.inclusive),n==null&&(n=r.inclusive),{start:t??e,end:n??e}}function bk(r,e){return r==e||!!(r&&e&&r.compare(e))}function jy(r,e,t,n=0){let i=t.length-1;i>=0&&t[i]+n>=r?t[i]=Math.max(t[i],e):t.push(r,e)}class If{constructor(e,t,n,i){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof jh&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new wo),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(zd(new Zp(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!e&&!this.posCovered()&&this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:a,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(zd(new nc(this.text.slice(this.textOff,this.textOff+i)),t),n),this.atCursorPos=!0,this.textOff+=i,e-=i,n=0}}span(e,t,n,i){this.buildText(t-e,n,i),this.pos=t,this.openStart<0&&(this.openStart=i)}point(e,t,n,i,s,a){if(this.disallowBlockEffectsFor[a]&&n instanceof rh){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=t-e;if(n instanceof rh)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new jh(n.widget||new Y1("div"),l,n));else{let p=Xc.create(n.widget||new Y1("span"),l,l?0:n.startSide),d=this.atCursorPos&&!p.isEditable&&s<=i.length&&(e<t||n.startSide>0),g=!p.isEditable&&(e<t||s>i.length||n.startSide<=0),b=this.getLine();this.pendingBuffer==2&&!d&&!p.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),d&&(b.append(zd(new Zp(1),i),s),s=i.length+Math.max(0,s-i.length)),b.append(zd(p,i),s),this.atCursorPos=g,this.pendingBuffer=g?e<t||s>i.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,n,i,s){let a=new If(e,t,n,s);return a.openEnd=Ss.spans(i,t,n,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function zd(r,e){for(let t of e)r=new ic(t,[r],r.length);return r}class Y1 extends oh{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const mS=qn.define(),gS=qn.define(),yS=qn.define(),DS=qn.define(),Ly=qn.define(),OS=qn.define(),xS=qn.define(),bS=qn.define({combine:r=>r.some(e=>e)}),vS=qn.define({combine:r=>r.some(e=>e)});class Wm{constructor(e,t="nearest",n="nearest",i=5,s=5){this.range=e,this.y=t,this.x=n,this.yMargin=i,this.xMargin=s}map(e){return e.empty?this:new Wm(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const G1=ji.define({map:(r,e)=>r.map(e)});function wu(r,e,t){let n=r.facet(DS);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Xg=qn.define({combine:r=>r.length?r[0]:!0});let vk=0;const Ef=qn.define();class xo{constructor(e,t,n,i,s){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=i,this.extension=s(this)}static define(e,t){const{eventHandlers:n,eventObservers:i,provide:s,decorations:a}=t||{};return new xo(vk++,e,n,i,l=>{let p=[Ef.of(l)];return a&&p.push(ed.of(d=>{let g=d.plugin(l);return g?a(g):_i.none})),s&&p.push(s(l)),p})}static fromClass(e,t){return xo.define(n=>new e(n),t)}}class T0{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(wu(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){wu(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){wu(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const CS=qn.define(),rO=qn.define(),ed=qn.define(),nO=qn.define(),SS=qn.define();function H1(r,e,t){let n=r.state.facet(SS);if(!n.length)return n;let i=n.map(a=>a instanceof Function?a(r):a),s=[];return Ss.spans(i,e,t,{point(){},span(a,l,p,d){let g=s;for(let b=p.length-1;b>=0;b--,d--){let S=p[b].spec.bidiIsolate,I;if(S!=null)if(d>0&&g.length&&(I=g[g.length-1]).to==a&&I.direction==S)I.to=l,g=I.inner;else{let H={from:a,to:l,direction:S,inner:[]};g.push(H),g=H.inner}}}}),s}const ES=qn.define();function wS(r){let e=0,t=0,n=0,i=0;for(let s of r.state.facet(ES)){let a=s(r);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(t=Math.max(t,a.right)),a.top!=null&&(n=Math.max(n,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:t,top:n,bottom:i}}const wf=qn.define();class tu{constructor(e,t,n,i){this.fromA=e,this.toA=t,this.fromB=n,this.toB=i}join(e){return new tu(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let i=e[t-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(t.length==0)return e;let n=[];for(let i=0,s=0,a=0,l=0;;i++){let p=i==e.length?null:e[i],d=a-l,g=p?p.fromB:1e9;for(;s<t.length&&t[s]<g;){let b=t[s],S=t[s+1],I=Math.max(l,b),H=Math.min(g,S);if(I<=H&&new tu(I+d,H+d,I,H).addToSet(n),S>g)break;s+=2}if(!p)return n;new tu(p.fromA,p.toA,p.fromB,p.toB).addToSet(n),a=p.toA,l=p.toB}}}class Zm{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Ao.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let i=[];this.changes.iterChangedRanges((s,a,l,p)=>i.push(new tu(s,a,l,p))),this.changedRanges=i}static create(e,t,n){return new Zm(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ro=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(ro||(ro={}));const td=ro.LTR,AS=ro.RTL;function TS(r){let e=[];for(let t=0;t<r.length;t++)e.push(1<<+r[t]);return e}const Ck=TS("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Sk=TS("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Xy=Object.create(null),rl=[];for(let r of["()","[]","{}"]){let e=r.charCodeAt(0),t=r.charCodeAt(1);Xy[e]=t,Xy[t]=-e}function Ek(r){return r<=247?Ck[r]:1424<=r&&r<=1524?2:1536<=r&&r<=1785?Sk[r-1536]:1774<=r&&r<=2220?4:8192<=r&&r<=8203?256:64336<=r&&r<=65023?4:r==8204?256:1}const wk=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Vc{get dir(){return this.level%2?AS:td}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}static find(e,t,n,i){let s=-1;for(let a=0;a<e.length;a++){let l=e[a];if(l.from<=t&&l.to>=t){if(l.level==n)return a;(s<0||(i!=0?i<0?l.from<t:l.to>t:e[s].level>l.level))&&(s=a)}}if(s<0)throw new RangeError("Index out of range");return s}}function PS(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++){let n=r[t],i=e[t];if(n.from!=i.from||n.to!=i.to||n.direction!=i.direction||!PS(n.inner,i.inner))return!1}return!0}const $s=[];function Ak(r,e,t,n,i){for(let s=0;s<=n.length;s++){let a=s?n[s-1].to:e,l=s<n.length?n[s].from:t,p=s?256:i;for(let d=a,g=p,b=p;d<l;d++){let S=Ek(r.charCodeAt(d));S==512?S=g:S==8&&b==4&&(S=16),$s[d]=S==4?2:S,S&7&&(b=S),g=S}for(let d=a,g=p,b=p;d<l;d++){let S=$s[d];if(S==128)d<l-1&&g==$s[d+1]&&g&24?S=$s[d]=g:$s[d]=256;else if(S==64){let I=d+1;for(;I<l&&$s[I]==64;)I++;let H=d&&g==8||I<t&&$s[I]==8?b==1?1:8:256;for(let be=d;be<I;be++)$s[be]=H;d=I-1}else S==8&&b==1&&($s[d]=1);g=S,S&7&&(b=S)}}}function Tk(r,e,t,n,i){let s=i==1?2:1;for(let a=0,l=0,p=0;a<=n.length;a++){let d=a?n[a-1].to:e,g=a<n.length?n[a].from:t;for(let b=d,S,I,H;b<g;b++)if(I=Xy[S=r.charCodeAt(b)])if(I<0){for(let be=l-3;be>=0;be-=3)if(rl[be+1]==-I){let ke=rl[be+2],ge=ke&2?i:ke&4?ke&1?s:i:0;ge&&($s[b]=$s[rl[be]]=ge),l=be;break}}else{if(rl.length==189)break;rl[l++]=b,rl[l++]=S,rl[l++]=p}else if((H=$s[b])==2||H==1){let be=H==i;p=be?0:1;for(let ke=l-3;ke>=0;ke-=3){let ge=rl[ke+2];if(ge&2)break;if(be)rl[ke+2]|=2;else{if(ge&4)break;rl[ke+2]|=4}}}}}function Pk(r,e,t,n){for(let i=0,s=n;i<=t.length;i++){let a=i?t[i-1].to:r,l=i<t.length?t[i].from:e;for(let p=a;p<l;){let d=$s[p];if(d==256){let g=p+1;for(;;)if(g==l){if(i==t.length)break;g=t[i++].to,l=i<t.length?t[i].from:e}else if($s[g]==256)g++;else break;let b=s==1,S=(g<e?$s[g]:n)==1,I=b==S?b?1:2:n;for(let H=g,be=i,ke=be?t[be-1].to:r;H>p;)H==ke&&(H=t[--be].from,ke=be?t[be-1].to:r),$s[--H]=I;p=g}else s=d,p++}}}function Vy(r,e,t,n,i,s,a){let l=n%2?2:1;if(n%2==i%2)for(let p=e,d=0;p<t;){let g=!0,b=!1;if(d==s.length||p<s[d].from){let be=$s[p];be!=l&&(g=!1,b=be==16)}let S=!g&&l==1?[]:null,I=g?n:n+1,H=p;e:for(;;)if(d<s.length&&H==s[d].from){if(b)break e;let be=s[d];if(!g)for(let ke=be.to,ge=d+1;;){if(ke==t)break e;if(ge<s.length&&s[ge].from==ke)ke=s[ge++].to;else{if($s[ke]==l)break e;break}}if(d++,S)S.push(be);else{be.from>p&&a.push(new Vc(p,be.from,I));let ke=be.direction==td!=!(I%2);Uy(r,ke?n+1:n,i,be.inner,be.from,be.to,a),p=be.to}H=be.to}else{if(H==t||(g?$s[H]!=l:$s[H]==l))break;H++}S?Vy(r,p,H,n+1,i,S,a):p<H&&a.push(new Vc(p,H,I)),p=H}else for(let p=t,d=s.length;p>e;){let g=!0,b=!1;if(!d||p>s[d-1].to){let be=$s[p-1];be!=l&&(g=!1,b=be==16)}let S=!g&&l==1?[]:null,I=g?n:n+1,H=p;e:for(;;)if(d&&H==s[d-1].to){if(b)break e;let be=s[--d];if(!g)for(let ke=be.from,ge=d;;){if(ke==e)break e;if(ge&&s[ge-1].to==ke)ke=s[--ge].from;else{if($s[ke-1]==l)break e;break}}if(S)S.push(be);else{be.to<p&&a.push(new Vc(be.to,p,I));let ke=be.direction==td!=!(I%2);Uy(r,ke?n+1:n,i,be.inner,be.from,be.to,a),p=be.from}H=be.from}else{if(H==e||(g?$s[H-1]!=l:$s[H-1]==l))break;H--}S?Vy(r,H,p,n+1,i,S,a):H<p&&a.push(new Vc(H,p,I)),p=H}}function Uy(r,e,t,n,i,s,a){let l=e%2?2:1;Ak(r,i,s,n,l),Tk(r,i,s,n,l),Pk(i,s,n,l),Vy(r,i,s,e,t,n,a)}function kk(r,e,t){if(!r)return[new Vc(0,0,e==AS?1:0)];if(e==td&&!t.length&&!wk.test(r))return kS(r.length);if(t.length)for(;r.length>$s.length;)$s[$s.length]=256;let n=[],i=e==td?0:1;return Uy(r,i,i,t,0,r.length,n),n}function kS(r){return[new Vc(0,r,0)]}let FS="";function Fk(r,e,t,n,i){var s;let a=n.head-r.from,l=-1;if(a==0){if(!i||!r.length)return null;e[0].level!=t&&(a=e[0].side(!1,t),l=0)}else if(a==r.length){if(i)return null;let S=e[e.length-1];S.level!=t&&(a=S.side(!0,t),l=e.length-1)}l<0&&(l=Vc.find(e,a,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc));let p=e[l];a==p.side(i,t)&&(p=e[l+=i?1:-1],a=p.side(!i,t));let d=i==(p.dir==t),g=ua(r.text,a,d);if(FS=r.text.slice(Math.min(a,g),Math.max(a,g)),g!=p.side(i,t))return Pr.cursor(g+r.from,d?-1:1,p.level);let b=l==(i?e.length-1:0)?null:e[l+(i?1:-1)];return!b&&p.level!=t?Pr.cursor(i?r.to:r.from,i?-1:1,t):b&&b.level<p.level?Pr.cursor(b.side(!i,t)+r.from,i?1:-1,b.level):Pr.cursor(g+r.from,i?-1:1,p.level)}class J1 extends zs{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new wo],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new tu(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:d,toA:g})=>g<this.minWidthFrom||d>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let i=-1;this.view.inputState.composing>=0&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?i=this.domChanged.newSel.head:!Rk(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let s=i>-1?$k(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:d,to:g}=this.hasComposition;n=new tu(d,g,e.changes.mapPos(d,-1),e.changes.mapPos(g,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(oi.ie||oi.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,l=this.updateDeco(),p=Ik(a,l,e.changes);return n=tu.extendWithRanges(n,p),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=oi.chrome||oi.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let a of this.children)a instanceof jh&&a.widget instanceof K1&&s.push(a.dom);i.updateGaps(s)}updateChildren(e,t,n){let i=n?n.range.addToSet(e.slice()):e,s=this.childCursor(t);for(let a=i.length-1;;a--){let l=a>=0?i[a]:null;if(!l)break;let{fromA:p,toA:d,fromB:g,toB:b}=l,S,I,H,be;if(n&&n.range.fromB<b&&n.range.toB>g){let pt=If.build(this.view.state.doc,g,n.range.fromB,this.decorations,this.dynamicDecorationMap),vt=If.build(this.view.state.doc,n.range.toB,b,this.decorations,this.dynamicDecorationMap);I=pt.breakAtStart,H=pt.openStart,be=vt.openEnd;let Yt=this.compositionView(n);vt.breakAtStart?Yt.breakAfter=1:vt.content.length&&Yt.merge(Yt.length,Yt.length,vt.content[0],!1,vt.openStart,0)&&(Yt.breakAfter=vt.content[0].breakAfter,vt.content.shift()),pt.content.length&&Yt.merge(0,0,pt.content[pt.content.length-1],!0,0,pt.openEnd)&&pt.content.pop(),S=pt.content.concat(Yt).concat(vt.content)}else({content:S,breakAtStart:I,openStart:H,openEnd:be}=If.build(this.view.state.doc,g,b,this.decorations,this.dynamicDecorationMap));let{i:ke,off:ge}=s.findPos(d,1),{i:Ue,off:Dt}=s.findPos(p,-1);aS(this,Ue,Dt,ke,ge,S,I,H,be)}n&&this.fixCompositionDOM(n)}compositionView(e){let t=new nc(e.text.nodeValue);t.flags|=8;for(let{deco:i}of e.marks)t=new ic(i,[t],t.length);let n=new wo;return n.append(t,0),n}fixCompositionDOM(e){let t=(s,a)=>{a.flags|=8|(a.children.some(p=>p.flags&7)?1:0),this.markedForComposition.add(a);let l=zs.get(s);l&&l!=a&&(l.dom=null),a.setDOM(s)},n=this.childPos(e.range.fromB,1),i=this.children[n.i];t(e.line,i);for(let s=e.marks.length-1;s>=-1;s--)n=i.childPos(n.off,1),i=i.children[n.i],t(s>=0?e.marks[s].node:e.text,i)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,i=n==this.dom,s=!i&&bm(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(i||t||s))return;let a=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,p=this.moveToLine(this.domAtPos(l.anchor)),d=l.empty?p:this.moveToLine(this.domAtPos(l.head));if(oi.gecko&&l.empty&&!this.hasComposition&&_k(p)){let b=document.createTextNode("");this.view.observer.ignore(()=>p.node.insertBefore(b,p.node.childNodes[p.offset]||null)),p=d=new aa(b,0),a=!0}let g=this.view.observer.selectionRange;(a||!g.focusNode||!qm(p.node,p.offset,g.anchorNode,g.anchorOffset)||!qm(d.node,d.offset,g.focusNode,g.focusOffset))&&(this.view.observer.ignore(()=>{oi.android&&oi.chrome&&this.dom.contains(g.focusNode)&&Mk(g.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let b=Um(this.view.root);if(b)if(l.empty){if(oi.gecko){let S=Bk(p.node,p.offset);if(S&&S!=3){let I=$S(p.node,p.offset,S==1?1:-1);I&&(p=new aa(I.node,I.offset))}}b.collapse(p.node,p.offset),l.bidiLevel!=null&&b.caretBidiLevel!==void 0&&(b.caretBidiLevel=l.bidiLevel)}else if(b.extend){b.collapse(p.node,p.offset);try{b.extend(d.node,d.offset)}catch{}}else{let S=document.createRange();l.anchor>l.head&&([p,d]=[d,p]),S.setEnd(d.node,d.offset),S.setStart(p.node,p.offset),b.removeAllRanges(),b.addRange(S)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(p,d)),this.impreciseAnchor=p.precise?null:new aa(g.anchorNode,g.anchorOffset),this.impreciseHead=d.precise?null:new aa(g.focusNode,g.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=Um(e.root),{anchorNode:i,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=wo.find(this,t.head);if(!a)return;let l=a.posAtStart;if(t.head==l||t.head==l+a.length)return;let p=this.coordsAt(t.head,-1),d=this.coordsAt(t.head,1);if(!p||!d||p.bottom>d.top)return;let g=this.domAtPos(t.head+t.assoc);n.collapse(g.node,g.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let b=e.observer.selectionRange;e.docView.posFromDOM(b.anchorNode,b.anchorOffset)!=t.from&&n.collapse(i,s)}moveToLine(e){let t=this.dom,n;if(e.node!=t)return e;for(let i=e.offset;!n&&i<t.childNodes.length;i++){let s=zs.get(t.childNodes[i]);s instanceof wo&&(n=s.domAtPos(0))}for(let i=e.offset-1;!n&&i>=0;i--){let s=zs.get(t.childNodes[i]);s instanceof wo&&(n=s.domAtPos(s.length))}return n?new aa(n.node,n.offset,!0):e}nearest(e){for(let t=e;t;){let n=zs.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let i=this.children[t];if(n<i.length||i instanceof wo)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,i=0;for(let s=this.length,a=this.children.length-1;a>=0;a--){let l=this.children[a],p=s-l.breakAfter,d=p-l.length;if(p<e)break;d<=e&&(d<e||l.covers(-1))&&(p>e||l.covers(1))&&(!n||l instanceof wo&&!(n instanceof wo&&t>=0))&&(n=l,i=d),s=d}return n?n.coordsAt(e-i,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),i=this.children[t];if(!(i instanceof wo))return null;for(;i.children.length;){let{i:l,off:p}=i.childPos(n,1);for(;;l++){if(l==i.children.length)return null;if((i=i.children[l]).length)break}n=p}if(!(i instanceof nc))return null;let s=ua(i.text,n);if(s==n)return null;let a=qh(i.dom,n,s).getClientRects();return!a.length||a[0].top>=a[0].bottom?null:a[0]}measureVisibleLineHeights(e){let t=[],{from:n,to:i}=e,s=this.view.contentDOM.clientWidth,a=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,p=this.view.textDirection==ro.LTR;for(let d=0,g=0;g<this.children.length;g++){let b=this.children[g],S=d+b.length;if(S>i)break;if(d>=n){let I=b.dom.getBoundingClientRect();if(t.push(I.height),a){let H=b.dom.lastChild,be=H?Kf(H):[];if(be.length){let ke=be[be.length-1],ge=p?ke.right-I.left:I.right-ke.left;ge>l&&(l=ge,this.minWidth=s,this.minWidthFrom=d,this.minWidthTo=S)}}}d=S+b.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?ro.RTL:ro.LTR}measureTextSize(){for(let s of this.children)if(s instanceof wo){let a=s.measureTextSize();if(a)return a}let e=document.createElement("div"),t,n,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=Kf(e.firstChild)[0];t=e.getBoundingClientRect().height,n=s?s.width/27:7,i=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:i}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new oS(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,i=0;;i++){let s=i==t.viewports.length?null:t.viewports[i],a=s?s.from-1:this.length;if(a>n){let l=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(_i.replace({widget:new K1(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!s)break;n=s.to+1}return _i.set(e)}updateDeco(){let e=this.view.state.facet(ed).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;t<e.length+3;t++)this.dynamicDecorationMap[t]=!1;return this.decorations=[...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(e){let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),i;if(!n)return;!t.empty&&(i=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,i.left),top:Math.min(n.top,i.top),right:Math.max(n.right,i.right),bottom:Math.max(n.bottom,i.bottom)});let s=wS(this.view),a={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom};pk(this.view.scrollDOM,a,t.head<t.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==ro.LTR)}}function _k(r){return r.node.nodeType==1&&r.node.firstChild&&(r.offset==0||r.node.childNodes[r.offset-1].contentEditable=="false")&&(r.offset==r.node.childNodes.length||r.node.childNodes[r.offset].contentEditable=="false")}class K1 extends oh{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}}function _S(r,e){let t=r.observer.selectionRange,n=t.focusNode&&$S(t.focusNode,t.focusOffset,0);if(!n)return null;let i=e-n.offset;return{from:i,to:i+n.node.nodeValue.length,node:n.node}}function $k(r,e,t){let n=_S(r,t);if(!n)return null;let{node:i,from:s,to:a}=n,l=i.nodeValue;if(/[\n\r]/.test(l)||r.state.doc.sliceString(n.from,n.to)!=l)return null;let p=e.invertedDesc,d=new tu(p.mapPos(s),p.mapPos(a),s,a),g=[];for(let b=i.parentNode;;b=b.parentNode){let S=zs.get(b);if(S instanceof ic)g.push({node:b,deco:S.mark});else{if(S instanceof wo||b.nodeName=="DIV"&&b.parentNode==r.contentDOM)return{range:d,text:i,marks:g,line:b};if(b!=r.contentDOM)g.push({node:b,deco:new bd({inclusive:!0,attributes:xk(b),tagName:b.tagName.toLowerCase()})});else return null}}}function $S(r,e,t){if(t<=0)for(let n=r,i=e;;){if(n.nodeType==3)return{node:n,offset:i};if(n.nodeType==1&&i>0)n=n.childNodes[i-1],i=th(n);else break}if(t>=0)for(let n=r,i=e;;){if(n.nodeType==3)return{node:n,offset:i};if(n.nodeType==1&&i<n.childNodes.length&&t>=0)n=n.childNodes[i],i=0;else break}return null}function Bk(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e<r.childNodes.length&&r.childNodes[e].contentEditable=="false"?2:0)}let Nk=class{constructor(){this.changes=[]}compareRange(e,t){jy(e,t,this.changes)}comparePoint(e,t){jy(e,t,this.changes)}};function Ik(r,e,t){let n=new Nk;return Ss.compare(r,e,t,n),n.changes}function Mk(r,e){for(let t=r;t&&t!=e;t=t.assignedSlot||t.parentNode)if(t.nodeType==1&&t.contentEditable=="false")return!0;return!1}function Rk(r,e){let t=!1;return e&&r.iterChangedRanges((n,i)=>{n<e.to&&i>e.from&&(t=!0)}),t}function Qk(r,e,t=1){let n=r.charCategorizer(e),i=r.doc.lineAt(e),s=e-i.from;if(i.length==0)return Pr.cursor(e);s==0?t=1:s==i.length&&(t=-1);let a=s,l=s;t<0?a=ua(i.text,s,!1):l=ua(i.text,s);let p=n(i.text.slice(a,l));for(;a>0;){let d=ua(i.text,a,!1);if(n(i.text.slice(d,a))!=p)break;a=d}for(;l<i.length;){let d=ua(i.text,l);if(n(i.text.slice(l,d))!=p)break;l=d}return Pr.range(a+i.from,l+i.from)}function jk(r,e){return e.left>r?e.left-r:Math.max(0,r-e.right)}function Lk(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function P0(r,e){return r.top<e.bottom-1&&r.bottom>e.top+1}function ex(r,e){return e<r.top?{top:e,left:r.left,right:r.right,bottom:r.bottom}:r}function tx(r,e){return e>r.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function qy(r,e,t){let n,i,s,a,l=!1,p,d,g,b;for(let H=r.firstChild;H;H=H.nextSibling){let be=Kf(H);for(let ke=0;ke<be.length;ke++){let ge=be[ke];i&&P0(i,ge)&&(ge=ex(tx(ge,i.bottom),i.top));let Ue=jk(e,ge),Dt=Lk(t,ge);if(Ue==0&&Dt==0)return H.nodeType==3?rx(H,e,t):qy(H,e,t);if(!n||a>Dt||a==Dt&&s>Ue){n=H,i=ge,s=Ue,a=Dt;let pt=Dt?t<ge.top?-1:1:Ue?e<ge.left?-1:1:0;l=!pt||(pt>0?ke<be.length-1:ke>0)}Ue==0?t>ge.bottom&&(!g||g.bottom<ge.bottom)?(p=H,g=ge):t<ge.top&&(!b||b.top>ge.top)&&(d=H,b=ge):g&&P0(g,ge)?g=tx(g,ge.bottom):b&&P0(b,ge)&&(b=ex(b,ge.top))}}if(g&&g.bottom>=t?(n=p,i=g):b&&b.top<=t&&(n=d,i=b),!n)return{node:r,offset:0};let S=Math.max(i.left,Math.min(i.right,e));if(n.nodeType==3)return rx(n,S,t);if(l&&n.contentEditable!="false")return qy(n,S,t);let I=Array.prototype.indexOf.call(r.childNodes,n)+(e>=(i.left+i.right)/2?1:0);return{node:r,offset:I}}function rx(r,e,t){let n=r.nodeValue.length,i=-1,s=1e9,a=0;for(let l=0;l<n;l++){let p=qh(r,l,l+1).getClientRects();for(let d=0;d<p.length;d++){let g=p[d];if(g.top==g.bottom)continue;a||(a=e-g.left);let b=(g.top>t?g.top-t:t-g.bottom)-1;if(g.left-1<=e&&g.right+1>=e&&b<s){let S=e>=(g.left+g.right)/2,I=S;if((oi.chrome||oi.gecko)&&qh(r,l).getBoundingClientRect().left==g.right&&(I=!S),b<=0)return{node:r,offset:l+(I?1:0)};i=l+(I?1:0),s=b}}}return{node:r,offset:i>-1?i:a>0?r.nodeValue.length:0}}function BS(r,e,t,n=-1){var i,s;let a=r.contentDOM.getBoundingClientRect(),l=a.top+r.viewState.paddingTop,p,{docHeight:d}=r.viewState,{x:g,y:b}=e,S=b-l;if(S<0)return 0;if(S>d)return r.state.doc.length;for(let pt=r.viewState.heightOracle.textHeight/2,vt=!1;p=r.elementAtHeight(S),p.type!=da.Text;)for(;S=n>0?p.bottom+pt:p.top-pt,!(S>=0&&S<=d);){if(vt)return t?null:0;vt=!0,n=-n}b=l+S;let I=p.from;if(I<r.viewport.from)return r.viewport.from==0?0:t?null:nx(r,a,p,g,b);if(I>r.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:t?null:nx(r,a,p,g,b);let H=r.dom.ownerDocument,be=r.root.elementFromPoint?r.root:H,ke=be.elementFromPoint(g,b);ke&&!r.contentDOM.contains(ke)&&(ke=null),ke||(g=Math.max(a.left+1,Math.min(a.right-1,g)),ke=be.elementFromPoint(g,b),ke&&!r.contentDOM.contains(ke)&&(ke=null));let ge,Ue=-1;if(ke&&((i=r.docView.nearest(ke))===null||i===void 0?void 0:i.isEditable)!=!1){if(H.caretPositionFromPoint){let pt=H.caretPositionFromPoint(g,b);pt&&({offsetNode:ge,offset:Ue}=pt)}else if(H.caretRangeFromPoint){let pt=H.caretRangeFromPoint(g,b);pt&&({startContainer:ge,startOffset:Ue}=pt,(!r.contentDOM.contains(ge)||oi.safari&&Xk(ge,Ue,g)||oi.chrome&&Vk(ge,Ue,g))&&(ge=void 0))}}if(!ge||!r.docView.dom.contains(ge)){let pt=wo.find(r.docView,I);if(!pt)return S>p.top+p.height/2?p.to:p.from;({node:ge,offset:Ue}=qy(pt.dom,g,b))}let Dt=r.docView.nearest(ge);if(!Dt)return null;if(Dt.isWidget&&((s=Dt.dom)===null||s===void 0?void 0:s.nodeType)==1){let pt=Dt.dom.getBoundingClientRect();return e.y<pt.top||e.y<=pt.bottom&&e.x<=(pt.left+pt.right)/2?Dt.posAtStart:Dt.posAtEnd}else return Dt.localPosFromDOM(ge,Ue)+Dt.posAtStart}function nx(r,e,t,n,i){let s=Math.round((n-e.left)*r.defaultCharacterWidth);if(r.lineWrapping&&t.height>r.defaultLineHeight*1.5){let l=r.viewState.heightOracle.textHeight,p=Math.floor((i-t.top-(r.defaultLineHeight-l)*.5)/l);s+=p*r.viewState.heightOracle.lineLength}let a=r.state.sliceDoc(t.from,t.to);return t.from+Fy(a,s,r.state.tabSize)}function Xk(r,e,t){let n;if(r.nodeType!=3||e!=(n=r.nodeValue.length))return!1;for(let i=r.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return qh(r,n-1,n).getBoundingClientRect().left>t}function Vk(r,e,t){if(e!=0)return!1;for(let i=r;;){let s=i.parentNode;if(!s||s.nodeType!=1||s.firstChild!=i)return!1;if(s.classList.contains("cm-line"))break;i=s}let n=r.nodeType==1?r.getBoundingClientRect():qh(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function zy(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==da.Text))return n}return t}function Uk(r,e,t,n){let i=zy(r,e.head),s=!n||i.type!=da.Text||!(r.lineWrapping||i.widgetLineBreaks)?null:r.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(s){let a=r.dom.getBoundingClientRect(),l=r.textDirectionAt(i.from),p=r.posAtCoords({x:t==(l==ro.LTR)?a.right-1:a.left+1,y:(s.top+s.bottom)/2});if(p!=null)return Pr.cursor(p,t?-1:1)}return Pr.cursor(t?i.to:i.from,t?-1:1)}function ix(r,e,t,n){let i=r.state.doc.lineAt(e.head),s=r.bidiSpans(i),a=r.textDirectionAt(i.from);for(let l=e,p=null;;){let d=Fk(i,s,a,l,t),g=FS;if(!d){if(i.number==(t?r.state.doc.lines:1))return l;g=`
`,i=r.state.doc.line(i.number+(t?1:-1)),s=r.bidiSpans(i),d=Pr.cursor(t?i.from:i.to)}if(p){if(!p(g))return l}else{if(!n)return d;p=n(g)}l=d}}function qk(r,e,t){let n=r.state.charCategorizer(e),i=n(t);return s=>{let a=n(s);return i==Hs.Space&&(i=a),i==a}}function zk(r,e,t,n){let i=e.head,s=t?1:-1;if(i==(t?r.state.doc.length:0))return Pr.cursor(i,e.assoc);let a=e.goalColumn,l,p=r.contentDOM.getBoundingClientRect(),d=r.coordsAtPos(i),g=r.documentTop;if(d)a==null&&(a=d.left-p.left),l=s<0?d.top:d.bottom;else{let I=r.viewState.lineBlockAt(i);a==null&&(a=Math.min(p.right-p.left,r.defaultCharacterWidth*(i-I.from))),l=(s<0?I.top:I.bottom)+g}let b=p.left+a,S=n??r.viewState.heightOracle.textHeight>>1;for(let I=0;;I+=10){let H=l+(S+I)*s,be=BS(r,{x:b,y:H},!1,s);if(H<p.top||H>p.bottom||(s<0?be<i:be>i))return Pr.cursor(be,e.assoc,void 0,a)}}function vm(r,e,t){for(;;){let n=0;for(let i of r)i.between(e-1,e+1,(s,a,l)=>{if(e>s&&e<a){let p=n||t||(e-s<a-e?-1:1);e=p<0?s:a,n=p}});if(!n)return e}}function k0(r,e,t){let n=vm(r.state.facet(nO).map(i=>i(r)),t.from,e.head>t.from?-1:1);return n==t.from?t:Pr.cursor(n,n<t.from?1:-1)}class Wk{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.handleEvent=this.handleEvent.bind(this),e.scrollDOM.addEventListener("mousedown",t=>{if(t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&(this.handleEvent(t),!t.defaultPrevented&&t.button==2)){let n=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=n,200)}}),e.scrollDOM.addEventListener("drop",t=>{t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&this.handleEvent(t)}),this.notifiedFocused=e.hasFocus,oi.safari&&e.contentDOM.addEventListener("input",()=>null),oi.gecko&&lF(e.contentDOM.ownerDocument)}handleEvent(e){!tF(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let n=this.handlers[e];if(n){for(let i of n.observers)i(this.view,t);for(let i of n.handlers){if(t.defaultPrevented)break;if(i(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=Zk(e),n=this.handlers,i=this.view.contentDOM;for(let s in t)if(s!="scroll"){let a=!t[s].handlers.length,l=n[s];l&&a!=!l.handlers.length&&(i.removeEventListener(s,this.handleEvent),l=null),l||i.addEventListener(s,this.handleEvent,{passive:a})}for(let s in n)s!="scroll"&&!t[s]&&i.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(e.keyCode!=27&&IS.indexOf(e.keyCode)<0&&(this.view.inputState.lastEscPress=0),oi.android&&oi.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return oi.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((t=NS.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||Yk.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,Qp(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:oi.safari&&!oi.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function sx(r,e){return(t,n)=>{try{return e.call(r,n,t)}catch(i){wu(t.state,i)}}}function Zk(r){let e=Object.create(null);function t(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of r){let i=n.spec;if(i&&i.domEventHandlers)for(let s in i.domEventHandlers){let a=i.domEventHandlers[s];a&&t(s).handlers.push(sx(n.value,a))}if(i&&i.domEventObservers)for(let s in i.domEventObservers){let a=i.domEventObservers[s];a&&t(s).observers.push(sx(n.value,a))}}for(let n in vl)t(n).handlers.push(vl[n]);for(let n in Tu)t(n).observers.push(Tu[n]);return e}const NS=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Yk="dthko",IS=[16,17,18,20,91,92,224,225],Wd=6;function Zd(r){return Math.max(0,r)*.7+8}function Gk(r,e){return Math.max(Math.abs(r.clientX-e.clientX),Math.abs(r.clientY-e.clientY))}class Hk{constructor(e,t,n,i){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=fk(e.contentDOM),this.atoms=e.state.facet(nO).map(a=>a(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(ms.allowMultipleSelections)&&Jk(e,t),this.dragging=eF(e,t)&&jS(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Gk(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,i=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=wS(this.view);e.clientX-a.left<=s.left+Wd?n=-Zd(s.left-e.clientX):e.clientX+a.right>=s.right-Wd&&(n=Zd(e.clientX-s.right)),e.clientY-a.top<=s.top+Wd?i=-Zd(s.top-e.clientY):e.clientY+a.bottom>=s.bottom-Wd&&(i=Zd(e.clientY-s.bottom)),this.setScrollSpeed(n,i)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let i=e.ranges[n],s=null;if(i.empty){let a=vm(this.atoms,i.from,0);a!=i.from&&(s=Pr.cursor(a,-1))}else{let a=vm(this.atoms,i.from,-1),l=vm(this.atoms,i.to,1);(a!=i.from||l!=i.to)&&(s=Pr.range(i.from==i.anchor?a:l,i.from==i.head?a:l))}s&&(t||(t=e.ranges.slice()),t[n]=s)}return t?Pr.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection)||n.main.assoc!=t.state.selection.main.assoc&&this.dragging===!1)&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Jk(r,e){let t=r.state.facet(mS);return t.length?t[0](e):oi.mac?e.metaKey:e.ctrlKey}function Kk(r,e){let t=r.state.facet(gS);return t.length?t[0](e):oi.mac?!e.altKey:!e.ctrlKey}function eF(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let n=Um(r.root);if(!n||n.rangeCount==0)return!0;let i=n.getRangeAt(0).getClientRects();for(let s=0;s<i.length;s++){let a=i[s];if(a.left<=e.clientX&&a.right>=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function tF(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=zs.get(t))&&n.ignoreEvent(e))return!1;return!0}const vl=Object.create(null),Tu=Object.create(null),MS=oi.ie&&oi.ie_version<15||oi.ios&&oi.webkit_version<604;function rF(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),RS(r,t.value)},50)}function RS(r,e){let{state:t}=r,n,i=1,s=t.toText(e),a=s.lines==t.selection.ranges.length;if(Wy!=null&&t.selection.ranges.every(p=>p.empty)&&Wy==s.toString()){let p=-1;n=t.changeByRange(d=>{let g=t.doc.lineAt(d.from);if(g.from==p)return{range:d};p=g.from;let b=t.toText((a?s.line(i++).text:e)+t.lineBreak);return{changes:{from:g.from,insert:b},range:Pr.cursor(d.from+b.length)}})}else a?n=t.changeByRange(p=>{let d=s.line(i++);return{changes:{from:p.from,to:p.to,insert:d.text},range:Pr.cursor(p.from+d.length)}}):n=t.replaceSelection(s);r.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Tu.scroll=r=>{r.inputState.lastScrollTop=r.scrollDOM.scrollTop,r.inputState.lastScrollLeft=r.scrollDOM.scrollLeft};vl.keydown=(r,e)=>(r.inputState.setSelectionOrigin("select"),e.keyCode==27&&(r.inputState.lastEscPress=Date.now()),!1);Tu.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")};Tu.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")};vl.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let n of r.state.facet(yS))if(t=n(r,e),t)break;if(!t&&e.button==0&&(t=sF(r,e)),t){let n=!r.hasFocus;r.inputState.startMouseSelection(new Hk(r,e,t,n)),n&&r.observer.ignore(()=>nS(r.contentDOM));let i=r.inputState.mouseSelection;if(i)return i.start(e),!i.dragging}return!1};function ox(r,e,t,n){if(n==1)return Pr.cursor(e,t);if(n==2)return Qk(r.state,e,t);{let i=wo.find(r.docView,e),s=r.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:s.from,l=i?i.posAtEnd:s.to;return l<r.state.doc.length&&l==s.to&&l++,Pr.range(a,l)}}let QS=(r,e)=>r>=e.top&&r<=e.bottom,ax=(r,e,t)=>QS(e,t)&&r>=t.left&&r<=t.right;function nF(r,e,t,n){let i=wo.find(r.docView,e);if(!i)return 1;let s=e-i.posAtStart;if(s==0)return 1;if(s==i.length)return-1;let a=i.coordsAt(s,-1);if(a&&ax(t,n,a))return-1;let l=i.coordsAt(s,1);return l&&ax(t,n,l)?1:a&&QS(n,a)?-1:1}function ux(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:nF(r,t,e.clientX,e.clientY)}}const iF=oi.ie&&oi.ie_version<=11;let lx=null,cx=0,hx=0;function jS(r){if(!iF)return r.detail;let e=lx,t=hx;return lx=r,hx=Date.now(),cx=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(cx+1)%3:1}function sF(r,e){let t=ux(r,e),n=jS(e),i=r.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),i=i.map(s.changes))},get(s,a,l){let p=ux(r,s),d,g=ox(r,p.pos,p.bias,n);if(t.pos!=p.pos&&!a){let b=ox(r,t.pos,t.bias,n),S=Math.min(b.from,g.from),I=Math.max(b.to,g.to);g=S<g.from?Pr.range(S,I):Pr.range(I,S)}return a?i.replaceRange(i.main.extend(g.from,g.to)):l&&n==1&&i.ranges.length>1&&(d=oF(i,p.pos))?d:l?i.addRange(g):Pr.create([g])}}}function oF(r,e){for(let t=0;t<r.ranges.length;t++){let{from:n,to:i}=r.ranges[t];if(n<=e&&i>=e)return Pr.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}return null}vl.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:n}=r.inputState;return n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove"),!1};function px(r,e,t,n){if(!t)return;let i=r.posAtCoords({x:e.clientX,y:e.clientY},!1),{mouseSelection:s}=r.inputState,a=n&&s&&s.dragging&&Kk(r,e)?{from:s.dragging.from,to:s.dragging.to}:null,l={from:i,insert:t},p=r.state.changes(a?[a,l]:l);r.focus(),r.dispatch({changes:p,selection:{anchor:p.mapPos(i,-1),head:p.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"})}vl.drop=(r,e)=>{if(!e.dataTransfer)return!1;if(r.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let n=Array(t.length),i=0,s=()=>{++i==t.length&&px(r,e,n.filter(a=>a!=null).join(r.state.lineBreak),!1)};for(let a=0;a<t.length;a++){let l=new FileReader;l.onerror=s,l.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[a]=l.result),s()},l.readAsText(t[a])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return px(r,e,n,!0),!0}return!1};vl.paste=(r,e)=>{if(r.state.readOnly)return!0;r.observer.flush();let t=MS?null:e.clipboardData;return t?(RS(r,t.getData("text/plain")||t.getData("text/uri-text")),!0):(rF(r),!1)};function aF(r,e){let t=r.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),r.focus()},50)}function uF(r){let e=[],t=[],n=!1;for(let i of r.selection.ranges)i.empty||(e.push(r.sliceDoc(i.from,i.to)),t.push(i));if(!e.length){let i=-1;for(let{from:s}of r.selection.ranges){let a=r.doc.lineAt(s);a.number>i&&(e.push(a.text),t.push({from:a.from,to:Math.min(r.doc.length,a.to+1)})),i=a.number}n=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:n}}let Wy=null;vl.copy=vl.cut=(r,e)=>{let{text:t,ranges:n,linewise:i}=uF(r.state);if(!t&&!i)return!1;Wy=i?t:null,e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=MS?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(aF(r,t),!1)};const LS=ac.define();function XS(r,e){let t=[];for(let n of r.facet(xS)){let i=n(r,e);i&&t.push(i)}return t?r.update({effects:t,annotations:LS.of(!0)}):null}function VS(r){setTimeout(()=>{let e=r.hasFocus;if(e!=r.inputState.notifiedFocused){let t=XS(r.state,e);t?r.dispatch(t):r.update([])}},10)}Tu.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),VS(r)};Tu.blur=r=>{r.observer.clearSelectionRange(),VS(r)};Tu.compositionstart=Tu.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)};Tu.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionPendingKey=!0,r.inputState.compositionPendingChange=r.observer.pendingRecords().length>0,r.inputState.compositionFirstChange=null,oi.chrome&&oi.android?r.observer.flushSoon():r.inputState.compositionPendingChange?Promise.resolve().then(()=>r.observer.flush()):setTimeout(()=>{r.inputState.composing<0&&r.docView.hasComposition&&r.update([])},50)};Tu.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()};vl.beforeinput=(r,e)=>{var t;let n;if(oi.chrome&&oi.android&&(n=NS.find(i=>i.inputType==e.inputType))&&(r.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let i=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}return!1};const fx=new Set;function lF(r){fx.has(r)||(fx.add(r),r.addEventListener("copy",()=>{}),r.addEventListener("cut",()=>{}))}const dx=["pre-wrap","normal","pre-line","break-spaces"];class cF{constructor(e){this.lineWrapping=e,this.doc=ys.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return dx.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];i<0?n++:this.heightSamples[Math.floor(i*10)]||(t=!0,this.heightSamples[Math.floor(i*10)]=!0)}return t}refresh(e,t,n,i,s,a){let l=dx.indexOf(e)>-1,p=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=t,this.charWidth=n,this.textHeight=i,this.lineLength=s,p){this.heightSamples={};for(let d=0;d<a.length;d++){let g=a[d];g<0?d++:this.heightSamples[Math.floor(g*10)]=!0}}return p}}class hF{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class cl{constructor(e,t,n,i,s){this.from=e,this.length=t,this.top=n,this.height=i,this._content=s}get type(){return typeof this._content=="number"?da.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof rh?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new cl(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var Us=function(r){return r[r.ByPos=0]="ByPos",r[r.ByHeight=1]="ByHeight",r[r.ByPosNoHeight=2]="ByPosNoHeight",r}(Us||(Us={}));const Cm=.001;class ma{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Cm&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return ma.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,i){let s=this,a=n.doc;for(let l=i.length-1;l>=0;l--){let{fromA:p,toA:d,fromB:g,toB:b}=i[l],S=s.lineAt(p,Us.ByPosNoHeight,n.setDoc(t),0,0),I=S.to>=d?S:s.lineAt(d,Us.ByPosNoHeight,n,0,0);for(b+=I.to-d,d=I.to;l>0&&S.from<=i[l-1].toA;)p=i[l-1].fromA,g=i[l-1].fromB,l--,p<S.from&&(S=s.lineAt(p,Us.ByPosNoHeight,n,0,0));g+=S.from-p,p=S.from;let H=iO.build(n.setDoc(a),e,g,b);s=s.replace(p,d,H)}return s.updateHeight(n,0)}static empty(){return new Ua(0,0)}static of(e){if(e.length==1)return e[0];let t=0,n=e.length,i=0,s=0;for(;;)if(t==n)if(i>s*2){let l=e[t-1];l.break?e.splice(--t,1,l.left,null,l.right):e.splice(--t,1,l.left,l.right),n+=1+l.break,i-=l.size}else if(s>i*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(i<s){let l=e[t++];l&&(i+=l.size)}else{let l=e[--n];l&&(s+=l.size)}let a=0;return e[t-1]==null?(a=1,t--):e[t]==null&&(a=1,n++),new pF(ma.of(e.slice(0,t)),a,ma.of(e.slice(n)))}}ma.prototype.size=1;class US extends ma{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,i){return new cl(i,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,i,s){return this.blockAt(0,n,i,s)}forEachLine(e,t,n,i,s,a){e<=s+this.length&&t>=s&&a(this.blockAt(0,n,i,s))}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more&&this.setHeight(e,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Ua extends US{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,i){return new cl(i,this.length,n,this.height,this.breaks)}replace(e,t,n){let i=n[0];return n.length==1&&(i instanceof Ua||i instanceof Xo&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof Xo?i=new Ua(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):ma.of(n)}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more?this.setHeight(e,i.heights[i.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Xo extends ma{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,s=i-n+1,a,l=0;if(e.lineWrapping){let p=Math.min(this.height,e.lineHeight*s);a=p/s,this.length>s+1&&(l=(this.height-p)/(this.length-s-1))}else a=this.height/s;return{firstLine:n,lastLine:i,perLine:a,perChar:l}}blockAt(e,t,n,i){let{firstLine:s,lastLine:a,perLine:l,perChar:p}=this.heightMetrics(t,i);if(t.lineWrapping){let d=i+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),g=t.doc.lineAt(d),b=l+g.length*p,S=Math.max(n,e-b/2);return new cl(g.from,g.length,S,b,0)}else{let d=Math.max(0,Math.min(a-s,Math.floor((e-n)/l))),{from:g,length:b}=t.doc.line(s+d);return new cl(g,b,n+l*d,l,0)}}lineAt(e,t,n,i,s){if(t==Us.ByHeight)return this.blockAt(e,n,i,s);if(t==Us.ByPosNoHeight){let{from:I,to:H}=n.doc.lineAt(e);return new cl(I,H-I,0,0,0)}let{firstLine:a,perLine:l,perChar:p}=this.heightMetrics(n,s),d=n.doc.lineAt(e),g=l+d.length*p,b=d.number-a,S=i+l*b+p*(d.from-s-b);return new cl(d.from,d.length,Math.max(i,Math.min(S,i+this.height-g)),g,0)}forEachLine(e,t,n,i,s,a){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:l,perLine:p,perChar:d}=this.heightMetrics(n,s);for(let g=e,b=i;g<=t;){let S=n.doc.lineAt(g);if(g==e){let H=S.number-l;b+=p*H+d*(e-s-H)}let I=p+d*S.length;a(new cl(S.from,S.length,b,I,0)),b+=I,g=S.to+1}}replace(e,t,n){let i=this.length-t;if(i>0){let s=n[n.length-1];s instanceof Xo?n[n.length-1]=new Xo(s.length+i):n.push(null,new Xo(i-1))}if(e>0){let s=n[0];s instanceof Xo?n[0]=new Xo(e+s.length):n.unshift(new Xo(e-1),null)}return ma.of(n)}decomposeLeft(e,t){t.push(new Xo(e-1),null)}decomposeRight(e,t){t.push(null,new Xo(this.length-e-1))}updateHeight(e,t=0,n=!1,i){let s=t+this.length;if(i&&i.from<=t+this.length&&i.more){let a=[],l=Math.max(t,i.from),p=-1;for(i.from>t&&a.push(new Xo(i.from-t-1).updateHeight(e,t));l<=s&&i.more;){let g=e.doc.lineAt(l).length;a.length&&a.push(null);let b=i.heights[i.index++];p==-1?p=b:Math.abs(b-p)>=Cm&&(p=-2);let S=new Ua(g,b);S.outdated=!1,a.push(S),l+=g+1}l<=s&&a.push(null,new Xo(s-l).updateHeight(e,l));let d=ma.of(a);return(p<0||Math.abs(d.height-this.height)>=Cm||Math.abs(p-this.heightMetrics(e,t).perLine)>=Cm)&&(e.heightChanged=!0),d}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class pF extends ma{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,i){let s=n+this.left.height;return e<s?this.left.blockAt(e,t,n,i):this.right.blockAt(e,t,s,i+this.left.length+this.break)}lineAt(e,t,n,i,s){let a=i+this.left.height,l=s+this.left.length+this.break,p=t==Us.ByHeight?e<a:e<l,d=p?this.left.lineAt(e,t,n,i,s):this.right.lineAt(e,t,n,a,l);if(this.break||(p?d.to<l:d.from>l))return d;let g=t==Us.ByPosNoHeight?Us.ByPosNoHeight:Us.ByPos;return p?d.join(this.right.lineAt(l,g,n,a,l)):this.left.lineAt(l,g,n,i,s).join(d)}forEachLine(e,t,n,i,s,a){let l=i+this.left.height,p=s+this.left.length+this.break;if(this.break)e<p&&this.left.forEachLine(e,t,n,i,s,a),t>=p&&this.right.forEachLine(e,t,n,l,p,a);else{let d=this.lineAt(p,Us.ByPos,n,i,s);e<d.from&&this.left.forEachLine(e,d.from-1,n,i,s,a),d.to>=e&&d.from<=t&&a(d),t>d.to&&this.right.forEachLine(d.to+1,t,n,l,p,a)}}replace(e,t,n){let i=this.left.length+this.break;if(t<i)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,t-i,n));let s=[];e>0&&this.decomposeLeft(e,s);let a=s.length;for(let l of n)s.push(l);if(e>0&&mx(s,a-1),t<this.length){let l=s.length;this.decomposeRight(t,s),mx(s,l)}return ma.of(s)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<i&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?ma.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,i){let{left:s,right:a}=this,l=t+s.length+this.break,p=null;return i&&i.from<=t+s.length&&i.more?p=s=s.updateHeight(e,t,n,i):s.updateHeight(e,t,n),i&&i.from<=l+a.length&&i.more?p=a=a.updateHeight(e,l,n,i):a.updateHeight(e,l,n),p?this.balanced(s,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function mx(r,e){let t,n;r[e]==null&&(t=r[e-1])instanceof Xo&&(n=r[e+1])instanceof Xo&&r.splice(e-1,3,new Xo(t.length+1+n.length))}const fF=5;class iO{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Ua?i.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Ua(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0,s=n.widget?n.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let a=t-e;n.block?this.addBlock(new US(a,i,n)):(a||s||i>=fF)&&this.addLineDeco(i,s,a)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Ua(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new Xo(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Ua)return e;let t=new Ua(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof Ua)&&!this.isCovered?this.nodes.push(new Ua(0,-1)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let i of this.nodes)i instanceof Ua&&i.updateHeight(this.oracle,n),n+=i?i.length:1;return this.nodes}static build(e,t,n,i){let s=new iO(n,e);return Ss.spans(t,n,i,s,0),s.finish(n)}}function dF(r,e,t){let n=new mF;return Ss.compare(r,e,t,n,0),n.changes}class mF{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,i){(e<t||n&&n.heightRelevant||i&&i.heightRelevant)&&jy(e,t,this.changes,5)}}function gF(r,e){let t=r.getBoundingClientRect(),n=r.ownerDocument,i=n.defaultView||window,s=Math.max(0,t.left),a=Math.min(i.innerWidth,t.right),l=Math.max(0,t.top),p=Math.min(i.innerHeight,t.bottom);for(let d=r.parentNode;d&&d!=n.body;)if(d.nodeType==1){let g=d,b=window.getComputedStyle(g);if((g.scrollHeight>g.clientHeight||g.scrollWidth>g.clientWidth)&&b.overflow!="visible"){let S=g.getBoundingClientRect();s=Math.max(s,S.left),a=Math.min(a,S.right),l=Math.max(l,S.top),p=d==r.parentNode?S.bottom:Math.min(p,S.bottom)}d=b.position=="absolute"||b.position=="fixed"?g.offsetParent:g.parentNode}else if(d.nodeType==11)d=d.host;else break;return{left:s-t.left,right:Math.max(s,a)-t.left,top:l-(t.top+e),bottom:Math.max(l,p)-(t.top+e)}}function yF(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class F0{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],s=t[n];if(i.from!=s.from||i.to!=s.to||i.size!=s.size)return!1}return!0}draw(e,t){return _i.replace({widget:new DF(this.size*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class DF extends oh{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class gx{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=yx,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=ro.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(rO).some(n=>typeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new cF(t),this.stateDeco=e.facet(ed).filter(n=>typeof n!="function"),this.heightMap=ma.empty().applyChanges(this.stateDeco,ys.empty,this.heightOracle.setDoc(e.doc),[new tu(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=_i.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let i=n?t.head:t.anchor;if(!e.some(({from:s,to:a})=>i>=s&&i<=a)){let{from:s,to:a}=this.lineBlockAt(i);e.push(new Yd(s,a))}}this.viewports=e.sort((n,i)=>n.from-i.from),this.scaler=this.heightMap.height<=7e6?yx:new bF(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Af(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ed).filter(g=>typeof g!="function");let i=e.changedRanges,s=tu.extendWithRanges(i,dF(n,this.stateDeco,e?e.changes:Ao.empty(this.state.doc.length))),a=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=a&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let p=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<p.from||t.range.head>p.to)||!this.viewportIsAppropriate(p))&&(p=this.getViewport(0,t));let d=!e.changes.empty||e.flags&2||p.from!=this.viewport.from||p.to!=this.viewport.to;this.viewport=p,this.updateForViewport(),d&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(vS)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),i=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?ro.RTL:ro.LTR;let a=this.heightOracle.mustRefreshForWrapping(s),l=t.getBoundingClientRect(),p=a||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let d=0,g=0;if(l.width&&l.height){let pt=l.width/t.offsetWidth,vt=l.height/t.offsetHeight;pt>.995&&pt<1.005&&(pt=1),vt>.995&&vt<1.005&&(vt=1),(this.scaleX!=pt||this.scaleY!=vt)&&(this.scaleX=pt,this.scaleY=vt,d|=8,a=p=!0)}let b=(parseInt(n.paddingTop)||0)*this.scaleY,S=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=b||this.paddingBottom!=S)&&(this.paddingTop=b,this.paddingBottom=S,d|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(p=!0),this.editorWidth=e.scrollDOM.clientWidth,d|=8);let I=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=I&&(this.scrollAnchorHeight=-1,this.scrollTop=I),this.scrolledToBottom=sS(e.scrollDOM);let H=(this.printing?yF:gF)(t,this.paddingTop),be=H.top-this.pixelViewport.top,ke=H.bottom-this.pixelViewport.bottom;this.pixelViewport=H;let ge=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(ge!=this.inView&&(this.inView=ge,ge&&(p=!0)),!this.inView&&!this.scrollTarget)return 0;let Ue=l.width;if((this.contentDOMWidth!=Ue||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,d|=8),p){let pt=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(pt)&&(a=!0),a||i.lineWrapping&&Math.abs(Ue-this.contentDOMWidth)>i.charWidth){let{lineHeight:vt,charWidth:Yt,textHeight:ir}=e.docView.measureTextSize();a=vt>0&&i.refresh(s,vt,Yt,ir,Ue/Yt,pt),a&&(e.docView.minWidth=0,d|=8)}be>0&&ke>0?g=Math.max(be,ke):be<0&&ke<0&&(g=Math.min(be,ke)),i.heightChanged=!1;for(let vt of this.viewports){let Yt=vt.from==this.viewport.from?pt:e.docView.measureVisibleLineHeights(vt);this.heightMap=(a?ma.empty().applyChanges(this.stateDeco,ys.empty,this.heightOracle,[new tu(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new hF(vt.from,Yt))}i.heightChanged&&(d|=2)}let Dt=!this.viewportIsAppropriate(this.viewport,g)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return Dt&&(this.viewport=this.getViewport(g,this.scrollTarget)),this.updateForViewport(),(d&2||Dt)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),d|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),d}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,s=this.heightOracle,{visibleTop:a,visibleBottom:l}=this,p=new Yd(i.lineAt(a-n*1e3,Us.ByHeight,s,0,0).from,i.lineAt(l+(1-n)*1e3,Us.ByHeight,s,0,0).to);if(t){let{head:d}=t.range;if(d<p.from||d>p.to){let g=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),b=i.lineAt(d,Us.ByPos,s,0,0),S;t.y=="center"?S=(b.top+b.bottom)/2-g/2:t.y=="start"||t.y=="nearest"&&d<p.from?S=b.top:S=b.bottom-g,p=new Yd(i.lineAt(S-1e3/2,Us.ByHeight,s,0,0).from,i.lineAt(S+g+1e3/2,Us.ByHeight,s,0,0).to)}}return p}mapViewport(e,t){let n=t.mapPos(e.from,-1),i=t.mapPos(e.to,1);return new Yd(this.heightMap.lineAt(n,Us.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,Us.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,Us.ByPos,this.heightOracle,0,0),{bottom:s}=this.heightMap.lineAt(t,Us.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:l}=this;return(e==0||i<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||s>=l+Math.max(10,Math.min(n,250)))&&i>a-2*1e3&&s<l+2*1e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let i of e)t.touchesRange(i.from,i.to)||n.push(new F0(t.mapPos(i.from),t.mapPos(i.to),i.size));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,i=n?1e4:2e3,s=i>>1,a=i<<1;if(this.defaultTextDirection!=ro.LTR&&!n)return[];let l=[],p=(d,g,b,S)=>{if(g-d<s)return;let I=this.state.selection.main,H=[I.from];I.empty||H.push(I.to);for(let ke of H)if(ke>d&&ke<g){p(d,ke-10,b,S),p(ke+10,g,b,S);return}let be=xF(e,ke=>ke.from>=b.from&&ke.to<=b.to&&Math.abs(ke.from-d)<s&&Math.abs(ke.to-g)<s&&!H.some(ge=>ke.from<ge&&ke.to>ge));if(!be){if(g<b.to&&t&&n&&t.visibleRanges.some(ke=>ke.from<=g&&ke.to>=g)){let ke=t.moveToLineBoundary(Pr.cursor(g),!1,!0).head;ke>d&&(g=ke)}be=new F0(d,g,this.gapSize(b,d,g,S))}l.push(be)};for(let d of this.viewportLines){if(d.length<a)continue;let g=OF(d.from,d.to,this.stateDeco);if(g.total<a)continue;let b=this.scrollTarget?this.scrollTarget.range.head:null,S,I;if(n){let H=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,be,ke;if(b!=null){let ge=Hd(g,b),Ue=((this.visibleBottom-this.visibleTop)/2+H)/d.height;be=ge-Ue,ke=ge+Ue}else be=(this.visibleTop-d.top-H)/d.height,ke=(this.visibleBottom-d.top+H)/d.height;S=Gd(g,be),I=Gd(g,ke)}else{let H=g.total*this.heightOracle.charWidth,be=i*this.heightOracle.charWidth,ke,ge;if(b!=null){let Ue=Hd(g,b),Dt=((this.pixelViewport.right-this.pixelViewport.left)/2+be)/H;ke=Ue-Dt,ge=Ue+Dt}else ke=(this.pixelViewport.left-be)/H,ge=(this.pixelViewport.right+be)/H;S=Gd(g,ke),I=Gd(g,ge)}S>d.from&&p(d.from,S,d,g),I<d.to&&p(I,d.to,d,g)}return l}gapSize(e,t,n,i){let s=Hd(i,n)-Hd(i,t);return this.heightOracle.lineWrapping?e.height*s:i.total*this.heightOracle.charWidth*s}updateLineGaps(e){F0.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=_i.set(e.map(t=>t.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Ss.spans(e,this.viewport.from,this.viewport.to,{span(i,s){t.push({from:i,to:s})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((i,s)=>i.from!=t[s].from||i.to!=t[s].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Af(this.heightMap.lineAt(e,Us.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Af(this.heightMap.lineAt(this.scaler.fromDOM(e),Us.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Af(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Yd{constructor(e,t){this.from=e,this.to=t}}function OF(r,e,t){let n=[],i=r,s=0;return Ss.spans(t,r,e,{span(){},point(a,l){a>i&&(n.push({from:i,to:a}),s+=a-i),i=l}},20),i<e&&(n.push({from:i,to:e}),s+=e-i),{total:s,ranges:n}}function Gd({total:r,ranges:e},t){if(t<=0)return e[0].from;if(t>=1)return e[e.length-1].to;let n=Math.floor(r*t);for(let i=0;;i++){let{from:s,to:a}=e[i],l=a-s;if(n<=l)return s+n;n-=l}}function Hd(r,e){let t=0;for(let{from:n,to:i}of r.ranges){if(e<=i){t+=e-n;break}t+=i-n}return t/r.total}function xF(r,e){for(let t of r)if(e(t))return t}const yx={toDOM(r){return r},fromDOM(r){return r},scale:1};class bF{constructor(e,t,n){let i=0,s=0,a=0;this.viewports=n.map(({from:l,to:p})=>{let d=t.lineAt(l,Us.ByPos,e,0,0).top,g=t.lineAt(p,Us.ByPos,e,0,0).bottom;return i+=g-d,{from:l,to:p,top:d,bottom:g,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(t.height-i);for(let l of this.viewports)l.domTop=a+(l.top-s)*this.scale,a=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.top)return i+(e-n)*this.scale;if(e<=s.bottom)return s.domTop+(e-s.top);n=s.bottom,i=s.domBottom}}fromDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.domTop)return n+(e-i)/this.scale;if(e<=s.domBottom)return s.top+(e-s.domTop);n=s.bottom,i=s.domBottom}}}function Af(r,e){if(e.scale==1)return r;let t=e.toDOM(r.top),n=e.toDOM(r.bottom);return new cl(r.from,r.length,t,n-t,Array.isArray(r._content)?r._content.map(i=>Af(i,e)):r._content)}const Jd=qn.define({combine:r=>r.join(" ")}),Zy=qn.define({combine:r=>r.indexOf(!0)>-1}),Yy=Kc.newName(),qS=Kc.newName(),zS=Kc.newName(),WS={"&light":"."+qS,"&dark":"."+zS};function Gy(r,e,t){return new Kc(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,i=>{if(i=="&")return r;if(!t||!t[i])throw new RangeError(`Unsupported selector: ${i}`);return t[i]}):r+" "+n}})}const vF=Gy("."+Yy,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},WS),Tf="￿";class CF{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(ms.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Tf}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let i=e;;){this.findPointBefore(n,i);let s=this.text.length;this.readNode(i);let a=i.nextSibling;if(a==t)break;let l=zs.get(i),p=zs.get(a);(l&&p?l.breakAfter:(l?l.breakAfter:Dx(i))||Dx(a)&&(i.nodeName!="BR"||i.cmIgnore)&&this.text.length>s)&&this.lineBreak(),i=a}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,a=1,l;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(l=i.exec(t))&&(s=l.index,a=l[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),a>1)for(let p of this.points)p.node==e&&p.pos>this.text.length&&(p.pos-=a-1);n=s+a}}readNode(e){if(e.cmIgnore)return;let t=zs.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function Dx(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class Ox{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class SF{constructor(e,t,n,i){this.typeOver=i,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let l=s||a?[]:AF(e),p=new CF(l,e.state);p.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=p.text,this.newSel=TF(l,this.bounds.from)}else{let l=e.observer.selectionRange,p=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!By(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),d=a&&a.node==l.anchorNode&&a.offset==l.anchorOffset||!By(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset);this.newSel=Pr.single(d,p)}}}function ZS(r,e){let t,{newSel:n}=e,i=r.state.selection.main,s=r.inputState.lastKeyTime>Date.now()-100?r.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:l}=e.bounds,p=i.from,d=null;(s===8||oi.android&&e.text.length<l-a)&&(p=i.to,d="end");let g=wF(r.state.doc.sliceString(a,l,Tf),e.text,p-a,d);g&&(oi.chrome&&s==13&&g.toB==g.from+2&&e.text.slice(g.from,g.toB)==Tf+Tf&&g.toB--,t={from:a+g.from,to:a+g.toA,insert:ys.of(e.text.slice(g.from,g.toB).split(Tf))})}else n&&(!r.hasFocus&&r.state.facet(Xg)||n.main.eq(i))&&(n=null);if(!t&&!n)return!1;if(!t&&e.typeOver&&!i.empty&&n&&n.main.empty?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,i.to)}:t&&t.from>=i.from&&t.to<=i.to&&(t.from!=i.from||t.to!=i.to)&&i.to-i.from-(t.to-t.from)<=4?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,i.to))}:(oi.mac||oi.android)&&t&&t.from==t.to&&t.from==i.head-1&&/^\. ?$/.test(t.insert.toString())&&r.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=Pr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:ys.of([" "])}):oi.chrome&&t&&t.from==t.to&&t.from==i.head&&t.insert.toString()==`
`&&r.lineWrapping&&(n&&(n=Pr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:ys.of([" "])}),t){if(oi.ios&&r.inputState.flushIOSKey()||oi.android&&(t.from==i.from&&t.to==i.to&&t.insert.length==1&&t.insert.lines==2&&Qp(r.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&t.insert.length==0||s==8&&t.insert.length<t.to-t.from&&t.to>i.head)&&Qp(r.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&t.insert.length==0&&Qp(r.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();r.inputState.composing>=0&&r.inputState.composing++;let l,p=()=>l||(l=EF(r,t,n));return r.state.facet(OS).some(d=>d(r,t.from,t.to,a,p))||r.dispatch(p()),!0}else if(n&&!n.main.eq(i)){let a=!1,l="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(a=!0),l=r.inputState.lastSelectionOrigin),r.dispatch({selection:n,scrollIntoView:a,userEvent:l}),!0}else return!1}function EF(r,e,t){let n,i=r.state,s=i.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&r.inputState.composing<0){let l=s.from<e.from?i.sliceDoc(s.from,e.from):"",p=s.to>e.to?i.sliceDoc(e.to,s.to):"";n=i.replaceSelection(r.state.toText(l+e.insert.sliceString(0,void 0,r.state.lineBreak)+p))}else{let l=i.changes(e),p=t&&t.main.to<=l.newLength?t.main:void 0;if(i.selection.ranges.length>1&&r.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let d=r.state.sliceDoc(e.from,e.to),g,b=t&&_S(r,t.main.head);if(b){let H=e.insert.length-(e.to-e.from);g={from:b.from,to:b.to-H}}else g=r.state.doc.lineAt(s.head);let S=s.to-e.to,I=s.to-s.from;n=i.changeByRange(H=>{if(H.from==s.from&&H.to==s.to)return{changes:l,range:p||H.map(l)};let be=H.to-S,ke=be-d.length;if(H.to-H.from!=I||r.state.sliceDoc(ke,be)!=d||H.to>=g.from&&H.from<=g.to)return{range:H};let ge=i.changes({from:ke,to:be,insert:e.insert}),Ue=H.to-s.to;return{changes:ge,range:p?Pr.range(Math.max(0,p.anchor+Ue),Math.max(0,p.head+Ue)):H.map(ge)}})}else n={changes:l,selection:p&&i.selection.replaceRange(p)}}let a="input.type";return(r.composing||r.inputState.compositionPendingChange&&r.inputState.compositionEndedAt>Date.now()-50)&&(r.inputState.compositionPendingChange=!1,a+=".compose",r.inputState.compositionFirstChange&&(a+=".start",r.inputState.compositionFirstChange=!1)),i.update(n,{userEvent:a,scrollIntoView:!0})}function wF(r,e,t,n){let i=Math.min(r.length,e.length),s=0;for(;s<i&&r.charCodeAt(s)==e.charCodeAt(s);)s++;if(s==i&&r.length==e.length)return null;let a=r.length,l=e.length;for(;a>0&&l>0&&r.charCodeAt(a-1)==e.charCodeAt(l-1);)a--,l--;if(n=="end"){let p=Math.max(0,s-Math.min(a,l));t-=a+p-s}if(a<s&&r.length<e.length){let p=t<=s&&t>=a?s-t:0;s-=p,l=s+(l-a),a=s}else if(l<s){let p=t<=s&&t>=l?s-t:0;s-=p,a=s+(a-l),l=s}return{from:s,toA:a,toB:l}}function AF(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:i,focusOffset:s}=r.observer.selectionRange;return t&&(e.push(new Ox(t,n)),(i!=t||s!=n)&&e.push(new Ox(i,s))),e}function TF(r,e){if(r.length==0)return null;let t=r[0].pos,n=r.length==2?r[1].pos:t;return t>-1&&n>-1?Pr.single(t+e,n+e):null}const PF={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},_0=oi.ie&&oi.ie_version<=11;class kF{constructor(e){this.view=e,this.active=!1,this.selectionRange=new dk,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(oi.ie&&oi.ie_version<=11||oi.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),_0&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM),this.resizeContent=new ResizeObserver(()=>this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Xg)?n.root.activeElement!=this.dom:!bm(n.dom,i))return;let s=i.anchorNode&&n.docView.nearest(i.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(oi.ie&&oi.ie_version<=11||oi.android&&oi.chrome)&&!n.state.selection.main.empty&&i.focusNode&&qm(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=oi.safari&&e.root.nodeType==11&&ck(this.dom.ownerDocument)==this.dom&&FF(this.view)||Um(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=bm(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&gk(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(n.nodeType==1)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=t)n.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,PF),_0&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),_0&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let i=()=>{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&Qp(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,i=!1;for(let s of e){let a=this.readMutation(s);a&&(a.typeOver&&(i=!0),t==-1?{from:t,to:n}=a:(t=Math.min(a.from,t),n=Math.max(a.to,n)))}return{from:t,to:n,typeOver:i}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),i=this.selectionChanged&&bm(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new SF(this.view,e,t,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,i=ZS(this.view,t);return this.view.state==n&&this.view.update([]),i}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let n=xx(t,e.previousSibling||e.target.previousSibling,-1),i=xx(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:i?t.posBefore(i):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(i=this.resizeContent)===null||i===void 0||i.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function xx(r,e,t){for(;e;){let n=zs.get(e);if(n&&n.parent==r)return n;let i=e.parentNode;e=i!=r.dom?i:t>0?e.nextSibling:e.previousSibling}return null}function FF(r){let e=null;function t(p){p.preventDefault(),p.stopImmediatePropagation(),e=p.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,i=e.startOffset,s=e.endContainer,a=e.endOffset,l=r.docView.domAtPos(r.state.selection.main.anchor);return qm(l.node,l.offset,s,a)&&([n,i,s,a]=[s,a,n,i]),{anchorNode:n,anchorOffset:i,focusNode:s,focusOffset:a}}class Qn{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(n=>n.forEach(i=>t(i,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||mk(e.parent)||document,this.viewState=new gx(e.state||ms.create(e)),this.plugins=this.state.facet(Ef).map(n=>new T0(n));for(let n of this.plugins)n.update(this);this.observer=new kF(this),this.inputState=new Wk(this),this.inputState.ensureHandlers(this.plugins),this.docView=new J1(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof To?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,i,s=this.state;for(let S of e){if(S.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=S.state}if(this.destroyed){this.viewState.state=s;return}let a=this.hasFocus,l=0,p=null;e.some(S=>S.annotation(LS))?(this.inputState.notifiedFocused=a,l=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,p=XS(s,a),p||(l=1));let d=this.observer.delayedAndroidKey,g=null;if(d?(this.observer.clearDelayedAndroidKey(),g=this.observer.readChange(),(g&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(g=null)):this.observer.clear(),s.facet(ms.phrases)!=this.state.facet(ms.phrases))return this.setState(s);i=Zm.create(this,s,e),i.flags|=l;let b=this.viewState.scrollTarget;try{this.updateState=2;for(let S of e){if(b&&(b=b.map(S.changes)),S.scrollIntoView){let{main:I}=S.state.selection;b=new Wm(I.empty?I:Pr.cursor(I.head,I.head>I.anchor?-1:1))}for(let I of S.effects)I.is(G1)&&(b=I.value)}this.viewState.update(i,b),this.bidiCache=Ym.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),t=this.docView.update(i),this.state.facet(wf)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(S=>S.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(Jd)!=i.state.facet(Jd)&&(this.viewState.mustMeasureContent=!0),(t||n||b||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!i.empty)for(let S of this.state.facet(Ly))S(i);(p||g)&&Promise.resolve().then(()=>{p&&this.state==p.startState&&this.dispatch(p),g&&!ZS(this,g)&&d.force&&Qp(this.contentDOM,d.key,d.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new gx(e),this.plugins=e.facet(Ef).map(n=>new T0(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new J1(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Ef),n=e.state.facet(Ef);if(t!=n){let i=[];for(let s of n){let a=t.indexOf(s);if(a<0)i.push(new T0(s));else{let l=this.plugins[a];l.mustUpdate=e,i.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this.plugins)}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this)}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,i=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(a<0)if(sS(n))s=-1,a=this.viewState.heightMap.height;else{let I=this.viewState.scrollAnchorAt(i);s=I.from,a=I.top}this.updateState=1;let p=this.viewState.measure(this);if(!p&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let d=[];p&4||([this.measureRequests,d]=[d,this.measureRequests]);let g=d.map(I=>{try{return I.read(this)}catch(H){return wu(this.state,H),bx}}),b=Zm.create(this,this.state,[]),S=!1;b.flags|=p,t?t.flags|=p:t=b,this.updateState=2,b.empty||(this.updatePlugins(b),this.inputState.update(b),this.updateAttrs(),S=this.docView.update(b));for(let I=0;I<d.length;I++)if(g[I]!=bx)try{let H=d[I];H.write&&H.write(g[I],this)}catch(H){wu(this.state,H)}if(S&&this.docView.updateSelection(!0),!b.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null;continue}else{let H=(s<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(s).top)-a;if(H>1||H<-1){i=i+H,n.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(Ly))l(t)}get themeClasses(){return Yy+" "+(this.state.facet(Zy)?zS:qS)+" "+this.state.facet(Jd)}updateAttrs(){let e=vx(this,CS,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Xg)?"true":"false",class:"cm-content",style:`${oi.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),vx(this,rO,t);let n=this.observer.ignore(()=>{let i=Qy(this.contentDOM,this.contentAttrs,t),s=Qy(this.dom,this.editorAttrs,e);return i||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let i of n.effects)if(i.is(Qn.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(wf);let e=this.state.facet(Qn.cspNonce);Kc.mount(this.root,this.styleModules.concat(vF).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(n=>n.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return k0(this,e,ix(this,e,t,n))}moveByGroup(e,t){return k0(this,e,ix(this,e,t,n=>qk(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return Uk(this,e,t,n)}moveVertically(e,t,n){return k0(this,e,zk(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),BS(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i),a=s[Vc.find(s,e-i.from,-1,t)];return KD(n,a.dir==ro.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(bS)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>_F)return kS(e.length);let t=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||PS(s.isolates,n=H1(this,e.from,e.to))))return s.order;n||(n=H1(this,e.from,e.to));let i=kk(e.text,t,n);return this.bidiCache.push(new Ym(e.from,e.to,t,n,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||oi.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{nS(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return G1.of(new Wm(typeof e=="number"?Pr.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return xo.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return xo.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=Kc.newName(),i=[Jd.of(n),wf.of(Gy(`.${n}`,e))];return t&&t.dark&&i.push(Zy.of(!0)),i}static baseTheme(e){return Jh.lowest(wf.of(Gy("."+Yy,e,WS)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),i=n&&zs.get(n)||zs.get(e);return((t=i==null?void 0:i.rootView)===null||t===void 0?void 0:t.view)||null}}Qn.styleModule=wf;Qn.inputHandler=OS;Qn.focusChangeEffect=xS;Qn.perLineTextDirection=bS;Qn.exceptionSink=DS;Qn.updateListener=Ly;Qn.editable=Xg;Qn.mouseSelectionStyle=yS;Qn.dragMovesSelection=gS;Qn.clickAddsSelectionRange=mS;Qn.decorations=ed;Qn.atomicRanges=nO;Qn.bidiIsolatedRanges=SS;Qn.scrollMargins=ES;Qn.darkTheme=Zy;Qn.cspNonce=qn.define({combine:r=>r.length?r[0]:""});Qn.contentAttributes=rO;Qn.editorAttributes=CS;Qn.lineWrapping=Qn.contentAttributes.of({class:"cm-lineWrapping"});Qn.announce=ji.define();const _F=4096,bx={};class Ym{constructor(e,t,n,i,s,a){this.from=e,this.to=t,this.dir=n,this.isolates=i,this.fresh=s,this.order=a}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let n=[],i=e.length?e[e.length-1].dir:ro.LTR;for(let s=Math.max(0,e.length-10);s<e.length;s++){let a=e[s];a.dir==i&&!t.touchesRange(a.from,a.to)&&n.push(new Ym(t.mapPos(a.from,1),t.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))}return n}}function vx(r,e,t){for(let n=r.state.facet(e),i=n.length-1;i>=0;i--){let s=n[i],a=typeof s=="function"?s(r):s;a&&Ry(a,t)}return t}const $F=oi.mac?"mac":oi.windows?"win":oi.linux?"linux":"key";function BF(r,e){const t=r.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let i,s,a,l;for(let p=0;p<t.length-1;++p){const d=t[p];if(/^(cmd|meta|m)$/i.test(d))l=!0;else if(/^a(lt)?$/i.test(d))i=!0;else if(/^(c|ctrl|control)$/i.test(d))s=!0;else if(/^s(hift)?$/i.test(d))a=!0;else if(/^mod$/i.test(d))e=="mac"?l=!0:s=!0;else throw new Error("Unrecognized modifier name: "+d)}return i&&(n="Alt-"+n),s&&(n="Ctrl-"+n),l&&(n="Meta-"+n),a&&(n="Shift-"+n),n}function Kd(r,e,t){return e.altKey&&(r="Alt-"+r),e.ctrlKey&&(r="Ctrl-"+r),e.metaKey&&(r="Meta-"+r),t!==!1&&e.shiftKey&&(r="Shift-"+r),r}const NF=Jh.default(Qn.domEventHandlers({keydown(r,e){return GS(YS(e.state),r,e,"editor")}})),Cd=qn.define({enables:NF}),Cx=new WeakMap;function YS(r){let e=r.facet(Cd),t=Cx.get(e);return t||Cx.set(e,t=RF(e.reduce((n,i)=>n.concat(i),[]))),t}function IF(r,e,t){return GS(YS(r.state),e,r,t)}let Qc=null;const MF=4e3;function RF(r,e=$F){let t=Object.create(null),n=Object.create(null),i=(a,l)=>{let p=n[a];if(p==null)n[a]=l;else if(p!=l)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},s=(a,l,p,d,g)=>{var b,S;let I=t[a]||(t[a]=Object.create(null)),H=l.split(/ (?!$)/).map(ge=>BF(ge,e));for(let ge=1;ge<H.length;ge++){let Ue=H.slice(0,ge).join(" ");i(Ue,!0),I[Ue]||(I[Ue]={preventDefault:!0,stopPropagation:!1,run:[Dt=>{let pt=Qc={view:Dt,prefix:Ue,scope:a};return setTimeout(()=>{Qc==pt&&(Qc=null)},MF),!0}]})}let be=H.join(" ");i(be,!1);let ke=I[be]||(I[be]={preventDefault:!1,stopPropagation:!1,run:((S=(b=I._any)===null||b===void 0?void 0:b.run)===null||S===void 0?void 0:S.slice())||[]});p&&ke.run.push(p),d&&(ke.preventDefault=!0),g&&(ke.stopPropagation=!0)};for(let a of r){let l=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let d of l){let g=t[d]||(t[d]=Object.create(null));g._any||(g._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let b in g)g[b].run.push(a.any)}let p=a[e]||a.key;if(p)for(let d of l)s(d,p,a.run,a.preventDefault,a.stopPropagation),a.shift&&s(d,"Shift-"+p,a.shift,a.preventDefault,a.stopPropagation)}return t}function GS(r,e,t,n){let i=lk(e),s=Uo(i,0),a=Ha(s)==i.length&&i!=" ",l="",p=!1,d=!1,g=!1;Qc&&Qc.view==t&&Qc.scope==n&&(l=Qc.prefix+" ",IS.indexOf(e.keyCode)<0&&(d=!0,Qc=null));let b=new Set,S=ke=>{if(ke){for(let ge of ke.run)if(!b.has(ge)&&(b.add(ge),ge(t,e)))return ke.stopPropagation&&(g=!0),!0;ke.preventDefault&&(ke.stopPropagation&&(g=!0),d=!0)}return!1},I=r[n],H,be;return I&&(S(I[l+Kd(i,e,!a)])?p=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(oi.windows&&e.ctrlKey&&e.altKey)&&(H=eh[e.keyCode])&&H!=i?(S(I[l+Kd(H,e,!0)])||e.shiftKey&&(be=Jf[e.keyCode])!=i&&be!=H&&S(I[l+Kd(be,e,!1)]))&&(p=!0):a&&e.shiftKey&&S(I[l+Kd(i,e,!0)])&&(p=!0),!p&&S(I._any)&&(p=!0)),d&&(p=!0),p&&g&&e.stopPropagation(),p}class Sd{constructor(e,t,n,i,s){this.className=e,this.left=t,this.top=n,this.width=i,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let i=e.coordsAtPos(n.head,n.assoc||1);if(!i)return[];let s=HS(e);return[new Sd(t,i.left-s.left,i.top-s.top,null,i.bottom-i.top)]}else return QF(e,t,n)}}function HS(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==ro.LTR?e.left:e.right-r.scrollDOM.clientWidth*r.scaleX)-r.scrollDOM.scrollLeft*r.scaleX,top:e.top-r.scrollDOM.scrollTop*r.scaleY}}function Sx(r,e,t){let n=Pr.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(n,!0,!0).from),type:da.Text}}function QF(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let n=Math.max(t.from,r.viewport.from),i=Math.min(t.to,r.viewport.to),s=r.textDirection==ro.LTR,a=r.contentDOM,l=a.getBoundingClientRect(),p=HS(r),d=a.querySelector(".cm-line"),g=d&&window.getComputedStyle(d),b=l.left+(g?parseInt(g.paddingLeft)+Math.min(0,parseInt(g.textIndent)):0),S=l.right-(g?parseInt(g.paddingRight):0),I=zy(r,n),H=zy(r,i),be=I.type==da.Text?I:null,ke=H.type==da.Text?H:null;if(be&&(r.lineWrapping||I.widgetLineBreaks)&&(be=Sx(r,n,be)),ke&&(r.lineWrapping||H.widgetLineBreaks)&&(ke=Sx(r,i,ke)),be&&ke&&be.from==ke.from)return Ue(Dt(t.from,t.to,be));{let vt=be?Dt(t.from,null,be):pt(I,!1),Yt=ke?Dt(null,t.to,ke):pt(H,!0),ir=[];return(be||I).to<(ke||H).from-(be&&ke?1:0)||I.widgetLineBreaks>1&&vt.bottom+r.defaultLineHeight/2<Yt.top?ir.push(ge(b,vt.bottom,S,Yt.top)):vt.bottom<Yt.top&&r.elementAtHeight((vt.bottom+Yt.top)/2).type==da.Text&&(vt.bottom=Yt.top=(vt.bottom+Yt.top)/2),Ue(vt).concat(ir).concat(Ue(Yt))}function ge(vt,Yt,ir,qr){return new Sd(e,vt-p.left,Yt-p.top-.01,ir-vt,qr-Yt+.01)}function Ue({top:vt,bottom:Yt,horizontal:ir}){let qr=[];for(let yr=0;yr<ir.length;yr+=2)qr.push(ge(ir[yr],vt,ir[yr+1],Yt));return qr}function Dt(vt,Yt,ir){let qr=1e9,yr=-1e9,kr=[];function Zr(Ni,ii,Sn,Wn,jn){let Tn=r.coordsAtPos(Ni,Ni==ir.to?-2:2),Mi=r.coordsAtPos(Sn,Sn==ir.from?2:-2);!Tn||!Mi||(qr=Math.min(Tn.top,Mi.top,qr),yr=Math.max(Tn.bottom,Mi.bottom,yr),jn==ro.LTR?kr.push(s&&ii?b:Tn.left,s&&Wn?S:Mi.right):kr.push(!s&&Wn?b:Mi.left,!s&&ii?S:Tn.right))}let zn=vt??ir.from,Gn=Yt??ir.to;for(let Ni of r.visibleRanges)if(Ni.to>zn&&Ni.from<Gn)for(let ii=Math.max(Ni.from,zn),Sn=Math.min(Ni.to,Gn);;){let Wn=r.state.doc.lineAt(ii);for(let jn of r.bidiSpans(Wn)){let Tn=jn.from+Wn.from,Mi=jn.to+Wn.from;if(Tn>=Sn)break;Mi>ii&&Zr(Math.max(Tn,ii),vt==null&&Tn<=zn,Math.min(Mi,Sn),Yt==null&&Mi>=Gn,jn.dir)}if(ii=Wn.to+1,ii>=Sn)break}return kr.length==0&&Zr(zn,vt==null,Gn,Yt==null,r.textDirection),{top:qr,bottom:yr,horizontal:kr}}function pt(vt,Yt){let ir=l.top+(Yt?vt.top:vt.bottom);return{top:ir,bottom:ir,horizontal:[]}}}function jF(r,e){return r.constructor==e.constructor&&r.eq(e)}class LF{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Sm)!=e.state.facet(Sm)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,n=e.facet(Sm);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;(e!=this.scaleX||t!=this.scaleY)&&(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((t,n)=>!jF(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let i of e)i.update&&t&&i.constructor&&this.drawn[n].constructor&&i.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(i.draw(),t);for(;t;){let i=t.nextSibling;t.remove(),t=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Sm=qn.define();function JS(r){return[xo.define(e=>new LF(e,r)),Sm.of(r)]}const KS=!oi.ios,rd=qn.define({combine(r){return Sl(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function XF(r={}){return[rd.of(r),VF,UF,qF,vS.of(!0)]}function e2(r){return r.startState.facet(rd)!=r.state.facet(rd)}const VF=JS({above:!0,markers(r){let{state:e}=r,t=e.facet(rd),n=[];for(let i of e.selection.ranges){let s=i==e.selection.main;if(i.empty?!s||KS:t.drawRangeCursor){let a=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=i.empty?i:Pr.cursor(i.head,i.head>i.anchor?-1:1);for(let p of Sd.forRange(r,a,l))n.push(p)}}return n},update(r,e){r.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=e2(r);return t&&Ex(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){Ex(e.state,r)},class:"cm-cursorLayer"});function Ex(r,e){e.style.animationDuration=r.facet(rd).cursorBlinkRate+"ms"}const UF=JS({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:Sd.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||e2(r)},class:"cm-selectionLayer"}),t2={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};KS&&(t2[".cm-line"].caretColor="transparent !important");const qF=Jh.highest(Qn.theme(t2)),r2=ji.define({map(r,e){return r==null?null:e.mapPos(r)}}),Pf=Po.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,n)=>n.is(r2)?n.value:t,r)}}),zF=xo.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(Pf);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(Pf)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:r}=this,e=r.state.field(Pf),t=e!=null&&r.coordsAtPos(e);if(!t)return null;let n=r.scrollDOM.getBoundingClientRect();return{left:t.left-n.left+r.scrollDOM.scrollLeft*r.scaleX,top:t.top-n.top+r.scrollDOM.scrollTop*r.scaleY,height:t.bottom-t.top}}drawCursor(r){if(this.cursor){let{scaleX:e,scaleY:t}=this.view;r?(this.cursor.style.left=r.left/e+"px",this.cursor.style.top=r.top/t+"px",this.cursor.style.height=r.height/t+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(Pf)!=r&&this.view.dispatch({effects:r2.of(r)})}},{eventObservers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function WF(){return[Pf,zF]}function wx(r,e,t,n,i){e.lastIndex=0;for(let s=r.iterRange(t,n),a=t,l;!s.next().done;a+=s.value.length)if(!s.lineBreak)for(;l=e.exec(s.value);)i(a+l.index,l)}function ZF(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let n=[];for(let{from:i,to:s}of t)i=Math.max(r.state.doc.lineAt(i).from,i-e),s=Math.min(r.state.doc.lineAt(s).to,s+e),n.length&&n[n.length-1].to>=i?n[n.length-1].to=s:n.push({from:i,to:s});return n}class YF{constructor(e){const{regexp:t,decoration:n,decorate:i,boundary:s,maxLength:a=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,i)this.addMatch=(l,p,d,g)=>i(g,d,d+l[0].length,l,p);else if(typeof n=="function")this.addMatch=(l,p,d,g)=>{let b=n(l,p,d);b&&g(d,d+l[0].length,b)};else if(n)this.addMatch=(l,p,d,g)=>g(d,d+l[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=a}createDeco(e){let t=new Jc,n=t.add.bind(t);for(let{from:i,to:s}of ZF(e,this.maxLength))wx(e.state.doc,this.regexp,i,s,(a,l)=>this.addMatch(l,e,a,n));return t.finish()}updateDeco(e,t){let n=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((s,a,l,p)=>{p>e.view.viewport.from&&l<e.view.viewport.to&&(n=Math.min(l,n),i=Math.max(p,i))}),e.viewportChanged||i-n>1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,t.map(e.changes),n,i):t}updateRange(e,t,n,i){for(let s of e.visibleRanges){let a=Math.max(s.from,n),l=Math.min(s.to,i);if(l>a){let p=e.state.doc.lineAt(a),d=p.to<l?e.state.doc.lineAt(l):p,g=Math.max(s.from,p.from),b=Math.min(s.to,d.to);if(this.boundary){for(;a>p.from;a--)if(this.boundary.test(p.text[a-1-p.from])){g=a;break}for(;l<d.to;l++)if(this.boundary.test(d.text[l-d.from])){b=l;break}}let S=[],I,H=(be,ke,ge)=>S.push(ge.range(be,ke));if(p==d)for(this.regexp.lastIndex=g-p.from;(I=this.regexp.exec(p.text))&&I.index<b-p.from;)this.addMatch(I,e,I.index+p.from,H);else wx(e.state.doc,this.regexp,g,b,(be,ke)=>this.addMatch(ke,e,be,H));t=t.update({filterFrom:g,filterTo:b,filter:(be,ke)=>be<g||ke>b,add:S})}}return t}}const Hy=/x/.unicode!=null?"gu":"g",GF=new RegExp(`[\0-\b
--Ÿ­؜\u2028\u2029\uFEFF-]`,Hy),HF={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let $0=null;function JF(){var r;if($0==null&&typeof document<"u"&&document.body){let e=document.body.style;$0=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return $0||!1}const Em=qn.define({combine(r){let e=Sl(r,{render:null,specialChars:GF,addSpecialChars:null});return(e.replaceTabs=!JF())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Hy)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Hy)),e}});function KF(r={}){return[Em.of(r),e3()]}let Ax=null;function e3(){return Ax||(Ax=xo.fromClass(class{constructor(r){this.view=r,this.decorations=_i.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Em)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new YF({regexp:r.specialChars,decoration:(e,t,n)=>{let{doc:i}=t.state,s=Uo(e[0],0);if(s==9){let a=i.lineAt(n),l=t.state.tabSize,p=xd(a.text,l,n-a.from);return _i.replace({widget:new i3((l-p%l)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=_i.replace({widget:new n3(r,s)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Em);r.startState.facet(Em)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const t3="•";function r3(r){return r>=32?t3:r==10?"␤":String.fromCharCode(9216+r)}class n3 extends oh{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=r3(this.code),n=e.state.phrase("Control character")+" "+(HF[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,t);if(i)return i;let s=document.createElement("span");return s.textContent=t,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class i3 extends oh{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function s3(){return a3}const o3=_i.line({class:"cm-activeLine"}),a3=xo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let n of r.state.selection.ranges){let i=r.lineBlockAt(n.head);i.from>e&&(t.push(o3.range(i.from)),e=i.from)}return _i.set(t)}},{decorations:r=>r.decorations}),Jy=2e3;function u3(r,e,t){let n=Math.min(e.line,t.line),i=Math.max(e.line,t.line),s=[];if(e.off>Jy||t.off>Jy||e.col<0||t.col<0){let a=Math.min(e.off,t.off),l=Math.max(e.off,t.off);for(let p=n;p<=i;p++){let d=r.doc.line(p);d.length<=l&&s.push(Pr.range(d.from+a,d.to+l))}}else{let a=Math.min(e.col,t.col),l=Math.max(e.col,t.col);for(let p=n;p<=i;p++){let d=r.doc.line(p),g=Fy(d.text,a,r.tabSize,!0);if(g<0)s.push(Pr.cursor(d.to));else{let b=Fy(d.text,l,r.tabSize);s.push(Pr.range(d.from+g,d.from+b))}}}return s}function l3(r,e){let t=r.coordsAtPos(r.viewport.from);return t?Math.round(Math.abs((t.left-e)/r.defaultCharacterWidth)):-1}function Tx(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1),n=r.state.doc.lineAt(t),i=t-n.from,s=i>Jy?-1:i==n.length?l3(r,e.clientX):xd(n.text,r.state.tabSize,t-n.from);return{line:n.number,col:s,off:i}}function c3(r,e){let t=Tx(r,e),n=r.state.selection;return t?{update(i){if(i.docChanged){let s=i.changes.mapPos(i.startState.doc.line(t.line).from),a=i.state.doc.lineAt(s);t={line:a.number,col:t.col,off:Math.min(t.off,a.length)},n=n.map(i.changes)}},get(i,s,a){let l=Tx(r,i);if(!l)return n;let p=u3(r.state,t,l);return p.length?a?Pr.create(p.concat(n.ranges)):Pr.create(p):n}}:null}function h3(r){let e=(r==null?void 0:r.eventFilter)||(t=>t.altKey&&t.button==0);return Qn.mouseSelectionStyle.of((t,n)=>e(n)?c3(t,n):null)}const p3={Alt:[18,r=>!!r.altKey],Control:[17,r=>!!r.ctrlKey],Shift:[16,r=>!!r.shiftKey],Meta:[91,r=>!!r.metaKey]},f3={style:"cursor: crosshair"};function d3(r={}){let[e,t]=p3[r.key||"Alt"],n=xo.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||t(i))},keyup(i){(i.keyCode==e||!t(i))&&this.set(!1)},mousemove(i){this.set(t(i))}}});return[n,Qn.contentAttributes.of(i=>{var s;return!((s=i.plugin(n))===null||s===void 0)&&s.isDown?f3:null})]}const em="-10000px";class n2{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(i=>i),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),i=n.filter(a=>a);if(n===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let s=[];for(let a=0;a<i.length;a++){let l=i[a],p=-1;if(l){for(let d=0;d<this.tooltips.length;d++){let g=this.tooltips[d];g&&g.create==l.create&&(p=d)}if(p<0)s[a]=this.createTooltipView(l);else{let d=s[a]=this.tooltipViews[p];d.update&&d.update(e)}}}for(let a of this.tooltipViews)s.indexOf(a)<0&&(a.dom.remove(),(t=a.destroy)===null||t===void 0||t.call(a));return this.input=n,this.tooltips=i,this.tooltipViews=s,!0}}function m3(r){let{win:e}=r;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const B0=qn.define({combine:r=>{var e,t,n;return{position:oi.ios?"absolute":((e=r.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(i=>i.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=r.find(i=>i.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||m3}}}),Px=new WeakMap,i2=xo.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(B0);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new n2(r,sO,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,n=r.state.facet(B0);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=em,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect(),e=1,t=1,n=!1;if(this.position=="fixed"){let i=this.manager.tooltipViews;n=i.length>0&&i[0].dom.offsetParent!=this.container.ownerDocument.body}if(n||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,t=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((i,s)=>{let a=this.manager.tooltipViews[s];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(B0).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(r){var e;if(r.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:t,space:n,scaleX:i,scaleY:s}=r,a=[];for(let l=0;l<this.manager.tooltips.length;l++){let p=this.manager.tooltips[l],d=this.manager.tooltipViews[l],{dom:g}=d,b=r.pos[l],S=r.size[l];if(!b||b.bottom<=Math.max(t.top,n.top)||b.top>=Math.min(t.bottom,n.bottom)||b.right<Math.max(t.left,n.left)-.1||b.left>Math.min(t.right,n.right)+.1){g.style.top=em;continue}let I=p.arrow?d.dom.querySelector(".cm-tooltip-arrow"):null,H=I?7:0,be=S.right-S.left,ke=(e=Px.get(d))!==null&&e!==void 0?e:S.bottom-S.top,ge=d.offset||y3,Ue=this.view.textDirection==ro.LTR,Dt=S.width>n.right-n.left?Ue?n.left:n.right-S.width:Ue?Math.min(b.left-(I?14:0)+ge.x,n.right-be):Math.max(n.left,b.left-be+(I?14:0)-ge.x),pt=!!p.above;!p.strictSide&&(pt?b.top-(S.bottom-S.top)-ge.y<n.top:b.bottom+(S.bottom-S.top)+ge.y>n.bottom)&&pt==n.bottom-b.bottom>b.top-n.top&&(pt=!pt);let vt=(pt?b.top-n.top:n.bottom-b.bottom)-H;if(vt<ke&&d.resize!==!1){if(vt<this.view.defaultLineHeight){g.style.top=em;continue}Px.set(d,ke),g.style.height=(ke=vt)/s+"px"}else g.style.height&&(g.style.height="");let Yt=pt?b.top-ke-H-ge.y:b.bottom+H+ge.y,ir=Dt+be;if(d.overlap!==!0)for(let qr of a)qr.left<ir&&qr.right>Dt&&qr.top<Yt+ke&&qr.bottom>Yt&&(Yt=pt?qr.top-ke-2-H:qr.bottom+H+2);if(this.position=="absolute"?(g.style.top=(Yt-r.parent.top)/s+"px",g.style.left=(Dt-r.parent.left)/i+"px"):(g.style.top=Yt/s+"px",g.style.left=Dt/i+"px"),I){let qr=b.left+(Ue?ge.x:-ge.x)-(Dt+14-7);I.style.left=qr/i+"px"}d.overlap!==!0&&a.push({left:Dt,top:Yt,right:ir,bottom:Yt+ke}),g.classList.toggle("cm-tooltip-above",pt),g.classList.toggle("cm-tooltip-below",!pt),d.positioned&&d.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=em}},{eventObservers:{scroll(){this.maybeMeasure()}}}),g3=Qn.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),y3={x:0,y:0},sO=qn.define({enables:[i2,g3]}),Gm=qn.define();class oO{static create(e){return new oO(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new n2(e,Gm,t=>this.createHostedView(t))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const D3=sO.compute([Gm],r=>{let e=r.facet(Gm).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:oO.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class O3{constructor(e,t,n,i,s){this.view=e,this.source=t,this.field=n,this.setHover=i,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.nearest(t.target);if(!n)return;let i,s=1;if(n instanceof Xc)i=n.posAtStart;else{if(i=e.posAtCoords(t),i==null)return;let l=e.coordsAtPos(i);if(!l||t.y<l.top||t.y>l.bottom||t.x<l.left-e.defaultCharacterWidth||t.x>l.right+e.defaultCharacterWidth)return;let p=e.bidiSpans(e.state.doc.lineAt(i)).find(g=>g.from<=i&&g.to>=i),d=p&&p.dir==ro.RTL?-1:1;s=t.x<l.left?-d:d}let a=this.source(e,i,s);if(a!=null&&a.then){let l=this.pending={pos:i};a.then(p=>{this.pending==l&&(this.pending=null,p&&e.dispatch({effects:this.setHover.of(p)}))},p=>wu(e.state,p,"hover tooltip"))}else a&&e.dispatch({effects:this.setHover.of(a)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let n=this.active;if(n&&!kx(this.lastMove.target)||this.pending){let{pos:i}=n||this.pending,s=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:i;(i==s?this.view.posAtCoords(this.lastMove)!=i:!x3(this.view,i,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!kx(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function kx(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function x3(r,e,t,n,i,s){let a=r.scrollDOM.getBoundingClientRect(),l=r.documentTop+r.documentPadding.top+r.contentHeight;if(a.left>n||a.right<n||a.top>i||Math.min(a.bottom,l)<i)return!1;let p=r.posAtCoords({x:n,y:i},!1);return p>=e&&p<=t}function b3(r,e={}){let t=ji.define(),n=Po.define({create(){return null},update(i,s){if(i&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,i)))return null;if(i&&s.docChanged){let a=s.changes.mapPos(i.pos,-1,zo.TrackDel);if(a==null)return null;let l=Object.assign(Object.create(null),i);l.pos=a,i.end!=null&&(l.end=s.changes.mapPos(i.end)),i=l}for(let a of s.effects)a.is(t)&&(i=a.value),a.is(v3)&&(i=null);return i},provide:i=>Gm.from(i)});return[n,xo.define(i=>new O3(i,r,n,t,e.hoverTime||300)),D3]}function s2(r,e){let t=r.plugin(i2);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const v3=ji.define(),Fx=qn.define({combine(r){let e,t;for(let n of r)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function nd(r,e){let t=r.plugin(o2),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const o2=xo.fromClass(class{constructor(r){this.input=r.state.facet(id),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(Fx);this.top=new tm(r,!0,e.topContainer),this.bottom=new tm(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(Fx);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new tm(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new tm(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(id);if(t!=this.input){let n=t.filter(p=>p),i=[],s=[],a=[],l=[];for(let p of n){let d=this.specs.indexOf(p),g;d<0?(g=p(r.view),l.push(g)):(g=this.panels[d],g.update&&g.update(r)),i.push(g),(g.top?s:a).push(g)}this.specs=n,this.panels=i,this.top.sync(s),this.bottom.sync(a);for(let p of l)p.dom.classList.add("cm-panel"),p.mount&&p.mount()}else for(let n of this.panels)n.update&&n.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>Qn.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class tm{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=_x(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=_x(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function _x(r){let e=r.nextSibling;return r.remove(),e}const id=qn.define({enables:o2});class sc extends Uh{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}sc.prototype.elementClass="";sc.prototype.toDOM=void 0;sc.prototype.mapMode=zo.TrackBefore;sc.prototype.startSide=sc.prototype.endSide=-1;sc.prototype.point=!0;const wm=qn.define(),C3={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Ss.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Mf=qn.define();function S3(r){return[a2(),Mf.of(Object.assign(Object.assign({},C3),r))]}const Ky=qn.define({combine:r=>r.some(e=>e)});function a2(r){let e=[E3];return r&&r.fixed===!1&&e.push(Ky.of(!0)),e}const E3=xo.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=r.state.facet(Mf).map(e=>new Bx(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(Ky),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ky)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=Ss.iter(this.view.state.facet(wm),this.view.viewport.from),n=[],i=this.gutters.map(s=>new w3(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let a=!0;for(let l of s.type)if(l.type==da.Text&&a){eD(t,n,l.from);for(let p of i)p.line(this.view,l,n);a=!1}else if(l.widget)for(let p of i)p.widget(this.view,l)}else if(s.type==da.Text){eD(t,n,s.from);for(let a of i)a.line(this.view,s,n)}else if(s.widget)for(let a of i)a.widget(this.view,s);for(let s of i)s.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(Mf),t=r.state.facet(Mf),n=r.docChanged||r.heightChanged||r.viewportChanged||!Ss.eq(r.startState.facet(wm),r.state.facet(wm),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let i of this.gutters)i.update(r)&&(n=!0);else{n=!0;let i=[];for(let s of t){let a=e.indexOf(s);a<0?i.push(new Bx(this.view,s)):(this.gutters[a].update(r),i.push(this.gutters[a]))}for(let s of this.gutters)s.dom.remove(),i.indexOf(s)<0&&s.destroy();for(let s of i)this.dom.appendChild(s.dom);this.gutters=i}return n}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>Qn.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==ro.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function $x(r){return Array.isArray(r)?r:[r]}function eD(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class w3{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Ss.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:i}=this,s=t.top-this.height;if(this.i==i.elements.length){let a=new u2(e,t.height,s,n);i.elements.push(a),i.dom.appendChild(a.dom)}else i.elements[this.i].update(e,t.height,s,n);this.height=t.bottom,this.i++}line(e,t,n){let i=[];eD(this.cursor,i,t.from),n.length&&(i=i.concat(n));let s=this.gutter.config.lineMarker(e,t,i);s&&i.unshift(s);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,t,i)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class Bx{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,i=>{let s=i.target,a;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let p=s.getBoundingClientRect();a=(p.top+p.bottom)/2}else a=i.clientY;let l=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[n](e,l,i)&&i.preventDefault()});this.markers=$x(t.markers(e)),t.initialSpacer&&(this.spacer=new u2(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=$x(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let n=e.view.viewport;return!Ss.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class u2{constructor(e,t,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,i)}update(e,t,n,i){this.height!=t&&(this.height=t,this.dom.style.height=t/e.scaleY+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n/e.scaleY+"px":""),A3(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,t){let n="cm-gutterElement",i=this.dom.firstChild;for(let s=0,a=0;;){let l=a,p=s<t.length?t[s++]:null,d=!1;if(p){let g=p.elementClass;g&&(n+=" "+g);for(let b=a;b<this.markers.length;b++)if(this.markers[b].compare(p)){l=b,d=!0;break}}else l=this.markers.length;for(;a<l;){let g=this.markers[a++];if(g.toDOM){g.destroy(i);let b=i.nextSibling;i.remove(),i=b}}if(!p)break;p.toDOM&&(d?i=i.nextSibling:this.dom.insertBefore(p.toDOM(e),i)),d&&a++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}function A3(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(!r[t].compare(e[t]))return!1;return!0}const T3=qn.define(),Pp=qn.define({combine(r){return Sl(r,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let i in t){let s=n[i],a=t[i];n[i]=s?(l,p,d)=>s(l,p,d)||a(l,p,d):a}return n}})}});class N0 extends sc{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function I0(r,e){return r.state.facet(Pp).formatNumber(e,r.state)}const P3=Mf.compute([Pp],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(T3)},lineMarker(e,t,n){return n.some(i=>i.toDOM)?null:new N0(I0(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Pp)!=e.state.facet(Pp),initialSpacer(e){return new N0(I0(e,Nx(e.state.doc.lines)))},updateSpacer(e,t){let n=I0(t.view,Nx(t.view.state.doc.lines));return n==e.number?e:new N0(n)},domEventHandlers:r.facet(Pp).domEventHandlers}));function k3(r={}){return[Pp.of(r),a2(),P3]}function Nx(r){let e=9;for(;e<r;)e=e*10+9;return e}const F3=new class extends sc{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},_3=wm.compute(["selection"],r=>{let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.head).from;i>t&&(t=i,e.push(F3.range(i)))}return Ss.of(e)});function $3(){return _3}function Ed(r){return Wv()?(SA(r),!0):!1}function Rf(){const r=new Set,e=i=>{r.delete(i)};return{on:i=>{r.add(i);const s=()=>e(i);return Ed(s),{off:s}},off:e,trigger:i=>Promise.all(Array.from(r).map(s=>i?s(i):s()))}}function Do(r){return typeof r=="function"?r():wi(r)}const aO=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const B3=r=>typeof r<"u",N3=Object.prototype.toString,I3=r=>N3.call(r)==="[object Object]",zh=()=>{};function uO(r,e){function t(...n){return new Promise((i,s)=>{Promise.resolve(r(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(i).catch(s)})}return t}const l2=r=>r();function M3(r,e={}){let t,n,i=zh;const s=l=>{clearTimeout(l),i(),i=zh};return l=>{const p=Do(r),d=Do(e.maxWait);return t&&s(t),p<=0||d!==void 0&&d<=0?(n&&(s(n),n=null),Promise.resolve(l())):new Promise((g,b)=>{i=e.rejectOnCancel?b:g,d&&!n&&(n=setTimeout(()=>{t&&s(t),n=null,g(l())},d)),t=setTimeout(()=>{n&&s(n),n=null,g(l())},p)})}}function R3(r,e=!0,t=!0,n=!1){let i=0,s,a=!0,l=zh,p;const d=()=>{s&&(clearTimeout(s),s=void 0,l(),l=zh)};return b=>{const S=Do(r),I=Date.now()-i,H=()=>p=b();return d(),S<=0?(i=Date.now(),H()):(I>S&&(t||!a)?(i=Date.now(),H()):e&&(p=new Promise((be,ke)=>{l=n?ke:be,s=setTimeout(()=>{i=Date.now(),a=!0,be(H()),d()},Math.max(0,S-I))})),!t&&!s&&(s=setTimeout(()=>a=!0,S)),a=!1,p)}}function Q3(r=l2){const e=Ws(!0);function t(){e.value=!1}function n(){e.value=!0}const i=(...s)=>{e.value&&r(...s)};return{isActive:Od(e),pause:t,resume:n,eventFilter:i}}function Ix(r,e=!1,t="Timeout"){return new Promise((n,i)=>{setTimeout(e?()=>i(t):n,r)})}function j3(r){let e;function t(){return e||(e=r()),e}return t.reset=async()=>{const n=e;e=void 0,n&&await n},t}function L3(r,...e){return e.some(t=>t in r)}function Am(...r){if(r.length!==1)return KA(...r);const e=r[0];return typeof e=="function"?Od(YA(()=>({get:e,set:zh}))):Ws(e)}function X3(r,e=200,t={}){return uO(M3(e,t),r)}function V3(r,e=200,t={}){const n=Ws(r.value),i=X3(()=>{n.value=r.value},e,t);return Ro(r,()=>i()),n}function U3(r,e=200,t=!1,n=!0,i=!1){return uO(R3(e,t,n,i),r)}function q3(r,e,t={}){const{eventFilter:n=l2,...i}=t;return Ro(r,uO(n,e),i)}function z3(r,e,t={}){const{eventFilter:n,...i}=t,{eventFilter:s,pause:a,resume:l,isActive:p}=Q3(n);return{stop:q3(r,e,{...i,eventFilter:s}),pause:a,resume:l,isActive:p}}function c2(r,e=!0){zD()?Ng(r):e?r():Hh(r)}function tD(r,e=!1){function t(b,{flush:S="sync",deep:I=!1,timeout:H,throwOnTimeout:be}={}){let ke=null;const Ue=[new Promise(Dt=>{ke=Ro(r,pt=>{b(pt)!==e&&(ke==null||ke(),Dt(pt))},{flush:S,deep:I,immediate:!0})})];return H!=null&&Ue.push(Ix(H,be).then(()=>Do(r)).finally(()=>ke==null?void 0:ke())),Promise.race(Ue)}function n(b,S){if(!Gs(b))return t(pt=>pt===b,S);const{flush:I="sync",deep:H=!1,timeout:be,throwOnTimeout:ke}=S??{};let ge=null;const Dt=[new Promise(pt=>{ge=Ro([r,b],([vt,Yt])=>{e!==(vt===Yt)&&(ge==null||ge(),pt(vt))},{flush:I,deep:H,immediate:!0})})];return be!=null&&Dt.push(Ix(be,ke).then(()=>Do(r)).finally(()=>(ge==null||ge(),Do(r)))),Promise.race(Dt)}function i(b){return t(S=>!!S,b)}function s(b){return n(null,b)}function a(b){return n(void 0,b)}function l(b){return t(Number.isNaN,b)}function p(b,S){return t(I=>{const H=Array.from(I);return H.includes(b)||H.includes(Do(b))},S)}function d(b){return g(1,b)}function g(b=1,S){let I=-1;return t(()=>(I+=1,I>=b),S)}return Array.isArray(Do(r))?{toMatch:t,toContains:p,changed:d,changedTimes:g,get not(){return tD(r,!e)}}:{toMatch:t,toBe:n,toBeTruthy:i,toBeNull:s,toBeNaN:l,toBeUndefined:a,changed:d,changedTimes:g,get not(){return tD(r,!e)}}}function W3(r){return tD(r)}function h2(r,e,t={}){const{immediate:n=!0}=t,i=Ws(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function l(){i.value=!1,a()}function p(...d){a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,r(...d)},Do(e))}return n&&(i.value=!0,aO&&p()),Ed(l),{isPending:Od(i),start:p,stop:l}}function W7(r,e,t){let n;Gs(t)?n={evaluating:t}:n=t||{};const{lazy:i=!1,evaluating:s=void 0,shallow:a=!0,onError:l=zh}=n,p=Ws(!i),d=a?Np(e):Ws(e);let g=0;return gC(async b=>{if(!p.value)return;g++;const S=g;let I=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const H=await r(be=>{b(()=>{s&&(s.value=!1),I||be()})});S===g&&(d.value=H)}catch(H){l(H)}finally{s&&S===g&&(s.value=!1),I=!0}}),i?fs(()=>(p.value=!0,d.value)):d}function sd(r){var e;const t=Do(r);return(e=t==null?void 0:t.$el)!=null?e:t}const nh=aO?window:void 0,p2=aO?window.navigator:void 0;function od(...r){let e,t,n,i;if(typeof r[0]=="string"||Array.isArray(r[0])?([t,n,i]=r,e=nh):[e,t,n,i]=r,!e)return zh;Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);const s=[],a=()=>{s.forEach(g=>g()),s.length=0},l=(g,b,S,I)=>(g.addEventListener(b,S,I),()=>g.removeEventListener(b,S,I)),p=Ro(()=>[sd(e),Do(i)],([g,b])=>{if(a(),!g)return;const S=I3(b)?{...b}:b;s.push(...t.flatMap(I=>n.map(H=>l(g,I,H,S))))},{immediate:!0,flush:"post"}),d=()=>{p(),a()};return Ed(d),d}function Z3(){const r=Ws(!1);return zD()&&Ng(()=>{r.value=!0}),r}function Vg(r){const e=Z3();return fs(()=>(e.value,!!r()))}function Y3(r,e={}){const{window:t=nh}=e,n=Vg(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let i;const s=Ws(!1),a=d=>{s.value=d.matches},l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},p=gC(()=>{n.value&&(l(),i=t.matchMedia(Do(r)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),s.value=i.matches)});return Ed(()=>{p(),l(),i=void 0}),s}function Mx(r,e={}){const{controls:t=!1,navigator:n=p2}=e,i=Vg(()=>n&&"permissions"in n);let s;const a=typeof r=="string"?{name:r}:r,l=Ws(),p=()=>{s&&(l.value=s.state)},d=j3(async()=>{if(i.value){if(!s)try{s=await n.permissions.query(a),od(s,"change",p),p()}catch{l.value="prompt"}return s}});return d(),t?{state:l,isSupported:i,query:d}:l}function G3(r={}){const{navigator:e=p2,read:t=!1,source:n,copiedDuring:i=1500,legacy:s=!1}=r,a=Vg(()=>e&&"clipboard"in e),l=Mx("clipboard-read"),p=Mx("clipboard-write"),d=fs(()=>a.value||s),g=Ws(""),b=Ws(!1),S=h2(()=>b.value=!1,i);function I(){a.value&&l.value!=="denied"?e.clipboard.readText().then(ge=>{g.value=ge}):g.value=ke()}d.value&&t&&od(["copy","cut"],I);async function H(ge=Do(n)){d.value&&ge!=null&&(a.value&&p.value!=="denied"?await e.clipboard.writeText(ge):be(ge),g.value=ge,b.value=!0,S.start())}function be(ge){const Ue=document.createElement("textarea");Ue.value=ge??"",Ue.style.position="absolute",Ue.style.opacity="0",document.body.appendChild(Ue),Ue.select(),document.execCommand("copy"),Ue.remove()}function ke(){var ge,Ue,Dt;return(Dt=(Ue=(ge=document==null?void 0:document.getSelection)==null?void 0:ge.call(document))==null?void 0:Ue.toString())!=null?Dt:""}return{isSupported:d,text:g,copied:b,copy:H}}function H3(r){return JSON.parse(JSON.stringify(r))}const rm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nm="__vueuse_ssr_handlers__",J3=K3();function K3(){return nm in rm||(rm[nm]=rm[nm]||{}),rm[nm]}function f2(r,e){return J3[r]||e}function e_(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"?"object":Number.isNaN(r)?"any":"number"}const t_={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}},Rx="vueuse-storage";function d2(r,e,t,n={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:p=!0,mergeDefaults:d=!1,shallow:g,window:b=nh,eventFilter:S,onError:I=yr=>{console.error(yr)},initOnMounted:H}=n,be=(g?Np:Ws)(typeof e=="function"?e():e);if(!t)try{t=f2("getDefaultStorage",()=>{var yr;return(yr=nh)==null?void 0:yr.localStorage})()}catch(yr){I(yr)}if(!t)return be;const ke=Do(e),ge=e_(ke),Ue=(i=n.serializer)!=null?i:t_[ge],{pause:Dt,resume:pt}=z3(be,()=>vt(be.value),{flush:s,deep:a,eventFilter:S});return b&&l&&c2(()=>{od(b,"storage",qr),od(b,Rx,ir),H&&qr()}),H||qr(),be;function vt(yr){try{if(yr==null)t.removeItem(r);else{const kr=Ue.write(yr),Zr=t.getItem(r);Zr!==kr&&(t.setItem(r,kr),b&&b.dispatchEvent(new CustomEvent(Rx,{detail:{key:r,oldValue:Zr,newValue:kr,storageArea:t}})))}}catch(kr){I(kr)}}function Yt(yr){const kr=yr?yr.newValue:t.getItem(r);if(kr==null)return p&&ke!==null&&t.setItem(r,Ue.write(ke)),ke;if(!yr&&d){const Zr=Ue.read(kr);return typeof d=="function"?d(Zr,ke):ge==="object"&&!Array.isArray(Zr)?{...ke,...Zr}:Zr}else return typeof kr!="string"?kr:Ue.read(kr)}function ir(yr){qr(yr.detail)}function qr(yr){if(!(yr&&yr.storageArea!==t)){if(yr&&yr.key==null){be.value=ke;return}if(!(yr&&yr.key!==r)){Dt();try{(yr==null?void 0:yr.newValue)!==Ue.write(be.value)&&(be.value=Yt(yr))}catch(kr){I(kr)}finally{yr?Hh(pt):pt()}}}}}function r_(r){return Y3("(prefers-color-scheme: dark)",r)}function n_(r={}){const{selector:e="html",attribute:t="class",initialValue:n="auto",window:i=nh,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:p,emitAuto:d,disableTransition:g=!0}=r,b={auto:"",light:"light",dark:"dark",...r.modes||{}},S=r_({window:i}),I=fs(()=>S.value?"dark":"light"),H=p||(a==null?Am(n):d2(a,n,s,{window:i,listenToStorageChanges:l})),be=fs(()=>H.value==="auto"?I.value:H.value),ke=f2("updateHTMLAttrs",(pt,vt,Yt)=>{const ir=typeof pt=="string"?i==null?void 0:i.document.querySelector(pt):sd(pt);if(!ir)return;let qr;if(g){qr=i.document.createElement("style");const yr="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";qr.appendChild(document.createTextNode(yr)),i.document.head.appendChild(qr)}if(vt==="class"){const yr=Yt.split(/\s/g);Object.values(b).flatMap(kr=>(kr||"").split(/\s/g)).filter(Boolean).forEach(kr=>{yr.includes(kr)?ir.classList.add(kr):ir.classList.remove(kr)})}else ir.setAttribute(vt,Yt);g&&(i.getComputedStyle(qr).opacity,document.head.removeChild(qr))});function ge(pt){var vt;ke(e,t,(vt=b[pt])!=null?vt:pt)}function Ue(pt){r.onChanged?r.onChanged(pt,ge):ge(pt)}Ro(be,Ue,{flush:"post",immediate:!0}),c2(()=>Ue(be.value));const Dt=fs({get(){return d?H.value:be.value},set(pt){H.value=pt}});try{return Object.assign(Dt,{store:H,system:I,state:be})}catch{return Dt}}function i_(r={}){const{valueDark:e="dark",valueLight:t=""}=r,n=n_({...r,onChanged:(s,a)=>{var l;r.onChanged?(l=r.onChanged)==null||l.call(r,s==="dark",a,s):a(s)},modes:{dark:e,light:t}});return fs({get(){return n.value==="dark"},set(s){const a=s?"dark":"light";n.system.value===a?n.value="auto":n.value=a}})}function s_(r,e,t={}){const{window:n=nh,...i}=t;let s;const a=Vg(()=>n&&"ResizeObserver"in n),l=()=>{s&&(s.disconnect(),s=void 0)},p=fs(()=>Array.isArray(r)?r.map(b=>sd(b)):[sd(r)]),d=Ro(p,b=>{if(l(),a.value&&n){s=new ResizeObserver(e);for(const S of b)S&&s.observe(S,i)}},{immediate:!0,flush:"post",deep:!0}),g=()=>{l(),d()};return Ed(g),{isSupported:a,stop:g}}const o_={json:"application/json",text:"text/plain"};function Qx(r){return r&&L3(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function M0(r){return typeof Headers<"u"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function Ug(r,...e){var t;const n=typeof AbortController=="function";let i={},s={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};e.length>0&&(Qx(e[0])?s={...s,...e[0]}:i=e[0]),e.length>1&&Qx(e[1])&&(s={...s,...e[1]});const{fetch:l=(t=nh)==null?void 0:t.fetch,initialData:p,timeout:d}=s,g=Rf(),b=Rf(),S=Rf(),I=Ws(!1),H=Ws(!1),be=Ws(!1),ke=Ws(null),ge=Np(null),Ue=Np(null),Dt=Np(p||null),pt=fs(()=>n&&H.value);let vt,Yt;const ir=()=>{n&&(vt==null||vt.abort(),vt=new AbortController,vt.signal.onabort=()=>be.value=!0,i={...i,signal:vt.signal})},qr=Sn=>{H.value=Sn,I.value=!Sn};d&&(Yt=h2(ir,d,{immediate:!1}));let yr=0;const kr=async(Sn=!1)=>{var Wn;ir(),qr(!0),Ue.value=null,ke.value=null,be.value=!1,yr+=1;const jn=yr,Tn={method:a.method,headers:{}};if(a.payload){const bs=M0(Tn.headers),Ls=Do(a.payload);!a.payloadType&&Ls&&Object.getPrototypeOf(Ls)===Object.prototype&&!(Ls instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(bs["Content-Type"]=(Wn=o_[a.payloadType])!=null?Wn:a.payloadType),Tn.body=a.payloadType==="json"?JSON.stringify(Ls):Ls}let Mi=!1;const Ri={url:Do(r),options:{...Tn,...i},cancel:()=>{Mi=!0}};if(s.beforeFetch&&Object.assign(Ri,await s.beforeFetch(Ri)),Mi||!l)return qr(!1),Promise.resolve(null);let rs=null;return Yt&&Yt.start(),new Promise((bs,Ls)=>{var vo;l(Ri.url,{...Tn,...Ri.options,headers:{...M0(Tn.headers),...M0((vo=Ri.options)==null?void 0:vo.headers)}}).then(async Ui=>{if(ge.value=Ui,ke.value=Ui.status,rs=await Ui[a.type](),!Ui.ok)throw Dt.value=p||null,new Error(Ui.statusText);return s.afterFetch&&({data:rs}=await s.afterFetch({data:rs,response:Ui})),Dt.value=rs,g.trigger(Ui),bs(Ui)}).catch(async Ui=>{let Sr=Ui.message||Ui.name;return s.onFetchError&&({error:Sr,data:rs}=await s.onFetchError({data:rs,error:Ui,response:ge.value})),Ue.value=Sr,s.updateDataOnError&&(Dt.value=rs),b.trigger(Ui),Sn?Ls(Ui):bs(null)}).finally(()=>{jn===yr&&qr(!1),Yt&&Yt.stop(),S.trigger(null)})})},Zr=Am(s.refetch);Ro([Zr,Am(r)],([Sn])=>Sn&&kr(),{deep:!0});const zn={isFinished:I,statusCode:ke,response:ge,error:Ue,data:Dt,isFetching:H,canAbort:pt,aborted:be,abort:ir,execute:kr,onFetchResponse:g.on,onFetchError:b.on,onFetchFinally:S.on,get:Gn("GET"),put:Gn("PUT"),post:Gn("POST"),delete:Gn("DELETE"),patch:Gn("PATCH"),head:Gn("HEAD"),options:Gn("OPTIONS"),json:ii("json"),text:ii("text"),blob:ii("blob"),arrayBuffer:ii("arrayBuffer"),formData:ii("formData")};function Gn(Sn){return(Wn,jn)=>{if(!H.value)return a.method=Sn,a.payload=Wn,a.payloadType=jn,Gs(a.payload)&&Ro([Zr,Am(a.payload)],([Tn])=>Tn&&kr(),{deep:!0}),{...zn,then(Tn,Mi){return Ni().then(Tn,Mi)}}}}function Ni(){return new Promise((Sn,Wn)=>{W3(I).toBe(!0).then(()=>Sn(zn)).catch(jn=>Wn(jn))})}function ii(Sn){return()=>{if(!H.value)return a.type=Sn,{...zn,then(Wn,jn){return Ni().then(Wn,jn)}}}}return s.immediate&&Promise.resolve().then(()=>kr()),{...zn,then(Sn,Wn){return Ni().then(Sn,Wn)}}}function Z7(r,e,t={}){const{window:n=nh}=t;return d2(r,e,n==null?void 0:n.localStorage,t)}function lO(r,e,t,n={}){var i,s,a;const{clone:l=!1,passive:p=!1,eventName:d,deep:g=!1,defaultValue:b,shouldEmit:S}=n,I=zD(),H=t||(I==null?void 0:I.emit)||((i=I==null?void 0:I.$emit)==null?void 0:i.bind(I))||((a=(s=I==null?void 0:I.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(I==null?void 0:I.proxy));let be=d;e||(e="modelValue"),be=be||`update:${e.toString()}`;const ke=Dt=>l?typeof l=="function"?l(Dt):H3(Dt):Dt,ge=()=>B3(r[e])?ke(r[e]):b,Ue=Dt=>{S?S(Dt)&&H(be,Dt):H(be,Dt)};if(p){const Dt=ge(),pt=Ws(Dt);let vt=!1;return Ro(()=>r[e],Yt=>{vt||(vt=!0,pt.value=ke(Yt),Hh(()=>vt=!1))}),Ro(pt,Yt=>{!vt&&(Yt!==r[e]||g)&&Ue(Yt)},{deep:g}),pt}else return fs({get(){return ge()},set(Dt){Ue(Dt)}})}const m2=1024;let a_=0;class Ja{constructor(e,t){this.from=e,this.to=t}}class Hi{constructor(e={}){this.id=a_++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ga.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}Hi.closedBy=new Hi({deserialize:r=>r.split(" ")});Hi.openedBy=new Hi({deserialize:r=>r.split(" ")});Hi.group=new Hi({deserialize:r=>r.split(" ")});Hi.contextHash=new Hi({perNode:!0});Hi.lookAhead=new Hi({perNode:!0});Hi.mounted=new Hi({perNode:!0});class u_{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const l_=Object.create(null);class ga{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):l_,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new ga(e.name||"",t,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(Hi.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return n=>{for(let i=n.prop(Hi.group),s=-1;s<(i?i.length:0);s++){let a=t[s<0?n.name:i[s]];if(a)return a}}}}ga.none=new ga("",Object.create(null),0,8);class cO{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let s of e){let a=s(n);a&&(i||(i=Object.assign({},n.props)),i[a[0].id]=a[1])}t.push(i?new ga(n.name,i,n.id,n.flags):n)}return new cO(t)}}const im=new WeakMap,jx=new WeakMap;var js;(function(r){r[r.ExcludeBuffers=1]="ExcludeBuffers",r[r.IncludeAnonymous=2]="IncludeAnonymous",r[r.IgnoreMounts=4]="IgnoreMounts",r[r.IgnoreOverlays=8]="IgnoreOverlays"})(js||(js={}));class no{constructor(e,t,n,i,s){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,s&&s.length){this.props=Object.create(null);for(let[a,l]of s)this.props[typeof a=="number"?a:a.id]=l}}toString(){let e=this.prop(Hi.mounted);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let i=n.toString();i&&(t&&(t+=","),t+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new ad(this.topNode,e)}cursorAt(e,t=0,n=0){let i=im.get(this)||this.topNode,s=new ad(i);return s.moveTo(e,t),im.set(this,s._tree),s}get topNode(){return new ru(this,0,0,null)}resolve(e,t=0){let n=Yp(im.get(this)||this.topNode,e,t,!1);return im.set(this,n),n}resolveInner(e,t=0){let n=Yp(jx.get(this)||this.topNode,e,t,!0);return jx.set(this,n),n}iterate(e){let{enter:t,leave:n,from:i=0,to:s=this.length}=e,a=e.mode||0,l=(a&js.IncludeAnonymous)>0;for(let p=this.cursor(a|js.IncludeAnonymous);;){let d=!1;if(p.from<=s&&p.to>=i&&(!l&&p.type.isAnonymous||t(p)!==!1)){if(p.firstChild())continue;d=!0}for(;d&&n&&(l||!p.type.isAnonymous)&&n(p),!p.nextSibling();){if(!p.parent())return;d=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:fO(ga.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,i)=>new no(this.type,t,n,i,this.propValues),e.makeTree||((t,n,i)=>new no(ga.none,t,n,i)))}static build(e){return h_(e)}}no.empty=new no(ga.none,[],[],0);class hO{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new hO(this.buffer,this.index)}}class Kh{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ga.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],s=i.name;if(/\W/.test(s)&&!i.isError&&(s=JSON.stringify(s)),e+=4,n==e)return s;let a=[];for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3];return s+"("+a.join(",")+")"}findChild(e,t,n,i,s){let{buffer:a}=this,l=-1;for(let p=e;p!=t&&!(g2(s,i,a[p+1],a[p+2])&&(l=p,n>0));p=a[p+3]);return l}slice(e,t,n){let i=this.buffer,s=new Uint16Array(t-e),a=0;for(let l=e,p=0;l<t;){s[p++]=i[l++],s[p++]=i[l++]-n;let d=s[p++]=i[l++]-n;s[p++]=i[l++]-e,a=Math.max(a,d)}return new Kh(s,a,this.set)}}function g2(r,e,t,n){switch(r){case-2:return t<e;case-1:return n>=e&&t<e;case 0:return t<e&&n>e;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function y2(r,e){let t=r.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(r=t,t=n.prevSibling):t=n}return r}function Yp(r,e,t,n){for(var i;r.from==r.to||(t<1?r.from>=e:r.from>e)||(t>-1?r.to<=e:r.to<e);){let a=!n&&r instanceof ru&&r.index<0?null:r.parent;if(!a)return r;r=a}let s=n?0:js.IgnoreOverlays;if(n)for(let a=r,l=a.parent;l;a=l,l=a.parent)a instanceof ru&&a.index<0&&((i=l.enter(e,t,s))===null||i===void 0?void 0:i.from)!=a.from&&(r=l);for(;;){let a=r.enter(e,t,s);if(!a)return r;r=a}}class ru{constructor(e,t,n,i){this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,s=0){for(let a=this;;){for(let{children:l,positions:p}=a._tree,d=t>0?l.length:-1;e!=d;e+=t){let g=l[e],b=p[e]+a.from;if(g2(i,n,b,b+g.length)){if(g instanceof Kh){if(s&js.ExcludeBuffers)continue;let S=g.findChild(0,g.buffer.length,t,n-b,i);if(S>-1)return new hl(new c_(a,g,e,b),null,S)}else if(s&js.IncludeAnonymous||!g.type.isAnonymous||pO(g)){let S;if(!(s&js.IgnoreMounts)&&g.props&&(S=g.prop(Hi.mounted))&&!S.overlay)return new ru(S.tree,b,e,a);let I=new ru(g,b,e,a);return s&js.IncludeAnonymous||!I.type.isAnonymous?I:I.nextChild(t<0?g.children.length-1:0,t,n,i)}}}if(s&js.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+t:e=t<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&js.IgnoreOverlays)&&(i=this._tree.prop(Hi.mounted))&&i.overlay){let s=e-this.from;for(let{from:a,to:l}of i.overlay)if((t>0?a<=s:a<s)&&(t<0?l>=s:l>s))return new ru(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new ad(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Yp(this,e,t,!1)}resolveInner(e,t=0){return Yp(this,e,t,!0)}enterUnfinishedNodesBefore(e){return y2(this,e)}getChild(e,t=null,n=null){let i=Hm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Hm(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Jm(this,e)}}function Hm(r,e,t,n){let i=r.cursor(),s=[];if(!i.firstChild())return s;if(t!=null){for(;!i.type.is(t);)if(!i.nextSibling())return s}for(;;){if(n!=null&&i.type.is(n))return s;if(i.type.is(e)&&s.push(i.node),!i.nextSibling())return n==null?s:[]}}function Jm(r,e,t=e.length-1){for(let n=r.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class c_{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class hl{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new hl(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&js.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new hl(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new hl(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new hl(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new ad(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,s=n.buffer[this.index+3];if(s>i){let a=n.buffer[this.index+1];e.push(n.slice(i,s,a)),t.push(0)}return new no(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Yp(this,e,t,!1)}resolveInner(e,t=0){return Yp(this,e,t,!0)}enterUnfinishedNodesBefore(e){return y2(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=Hm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Hm(this,e,t,n)}get node(){return this}matchContext(e){return Jm(this,e)}}class ad{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof ru)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return e?e instanceof ru?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&js.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&js.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&js.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let i=t.buffer[this.index+3];if(i<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let s=0;s<this.index;s++)if(i.buffer.buffer[s+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let s=t+e,a=e<0?-1:n._tree.children.length;s!=a;s+=e){let l=n._tree.children[s];if(this.mode&js.IncludeAnonymous||l instanceof Kh||!l.type.isAnonymous||pO(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,s=this.stack.length;s>=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;t=a,n=s+1;break e}i=this.stack[--s]}for(let i=n;i<this.stack.length;i++)t=new hl(this.buffer,t,this.stack[i]);return this.bufferNode=new hl(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&t&&t(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return Jm(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,s=this.stack.length-1;i>=0;s--){if(s<0)return Jm(this.node,e,i);let a=n[t.buffer[this.stack[s]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}}function pO(r){return r.children.some(e=>e instanceof Kh||!e.type.isAnonymous||pO(e))}function h_(r){var e;let{buffer:t,nodeSet:n,maxBufferLength:i=m2,reused:s=[],minRepeatType:a=n.types.length}=r,l=Array.isArray(t)?new hO(t,t.length):t,p=n.types,d=0,g=0;function b(pt,vt,Yt,ir,qr){let{id:yr,start:kr,end:Zr,size:zn}=l,Gn=g;for(;zn<0;)if(l.next(),zn==-1){let jn=s[yr];Yt.push(jn),ir.push(kr-pt);return}else if(zn==-3){d=yr;return}else if(zn==-4){g=yr;return}else throw new RangeError(`Unrecognized record size: ${zn}`);let Ni=p[yr],ii,Sn,Wn=kr-pt;if(Zr-kr<=i&&(Sn=be(l.pos-vt,qr))){let jn=new Uint16Array(Sn.size-Sn.skip),Tn=l.pos-Sn.size,Mi=jn.length;for(;l.pos>Tn;)Mi=ke(Sn.start,jn,Mi);ii=new Kh(jn,Zr-Sn.start,n),Wn=Sn.start-pt}else{let jn=l.pos-zn;l.next();let Tn=[],Mi=[],Ri=yr>=a?yr:-1,rs=0,bs=Zr;for(;l.pos>jn;)Ri>=0&&l.id==Ri&&l.size>=0?(l.end<=bs-i&&(I(Tn,Mi,kr,rs,l.end,bs,Ri,Gn),rs=Tn.length,bs=l.end),l.next()):b(kr,jn,Tn,Mi,Ri);if(Ri>=0&&rs>0&&rs<Tn.length&&I(Tn,Mi,kr,rs,kr,bs,Ri,Gn),Tn.reverse(),Mi.reverse(),Ri>-1&&rs>0){let Ls=S(Ni);ii=fO(Ni,Tn,Mi,0,Tn.length,0,Zr-kr,Ls,Ls)}else ii=H(Ni,Tn,Mi,Zr-kr,Gn-Zr)}Yt.push(ii),ir.push(Wn)}function S(pt){return(vt,Yt,ir)=>{let qr=0,yr=vt.length-1,kr,Zr;if(yr>=0&&(kr=vt[yr])instanceof no){if(!yr&&kr.type==pt&&kr.length==ir)return kr;(Zr=kr.prop(Hi.lookAhead))&&(qr=Yt[yr]+kr.length+Zr)}return H(pt,vt,Yt,ir,qr)}}function I(pt,vt,Yt,ir,qr,yr,kr,Zr){let zn=[],Gn=[];for(;pt.length>ir;)zn.push(pt.pop()),Gn.push(vt.pop()+Yt-qr);pt.push(H(n.types[kr],zn,Gn,yr-qr,Zr-yr)),vt.push(qr-Yt)}function H(pt,vt,Yt,ir,qr=0,yr){if(d){let kr=[Hi.contextHash,d];yr=yr?[kr].concat(yr):[kr]}if(qr>25){let kr=[Hi.lookAhead,qr];yr=yr?[kr].concat(yr):[kr]}return new no(pt,vt,Yt,ir,yr)}function be(pt,vt){let Yt=l.fork(),ir=0,qr=0,yr=0,kr=Yt.end-i,Zr={size:0,start:0,skip:0};e:for(let zn=Yt.pos-pt;Yt.pos>zn;){let Gn=Yt.size;if(Yt.id==vt&&Gn>=0){Zr.size=ir,Zr.start=qr,Zr.skip=yr,yr+=4,ir+=4,Yt.next();continue}let Ni=Yt.pos-Gn;if(Gn<0||Ni<zn||Yt.start<kr)break;let ii=Yt.id>=a?4:0,Sn=Yt.start;for(Yt.next();Yt.pos>Ni;){if(Yt.size<0)if(Yt.size==-3)ii+=4;else break e;else Yt.id>=a&&(ii+=4);Yt.next()}qr=Sn,ir+=Gn,yr+=ii}return(vt<0||ir==pt)&&(Zr.size=ir,Zr.start=qr,Zr.skip=yr),Zr.size>4?Zr:void 0}function ke(pt,vt,Yt){let{id:ir,start:qr,end:yr,size:kr}=l;if(l.next(),kr>=0&&ir<a){let Zr=Yt;if(kr>4){let zn=l.pos-(kr-4);for(;l.pos>zn;)Yt=ke(pt,vt,Yt)}vt[--Yt]=Zr,vt[--Yt]=yr-pt,vt[--Yt]=qr-pt,vt[--Yt]=ir}else kr==-3?d=ir:kr==-4&&(g=ir);return Yt}let ge=[],Ue=[];for(;l.pos>0;)b(r.start||0,r.bufferStart||0,ge,Ue,-1);let Dt=(e=r.length)!==null&&e!==void 0?e:ge.length?Ue[0]+ge[0].length:0;return new no(p[r.topID],ge.reverse(),Ue.reverse(),Dt)}const Lx=new WeakMap;function Tm(r,e){if(!r.isAnonymous||e instanceof Kh||e.type!=r)return 1;let t=Lx.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=r||!(n instanceof no)){t=1;break}t+=Tm(r,n)}Lx.set(e,t)}return t}function fO(r,e,t,n,i,s,a,l,p){let d=0;for(let H=n;H<i;H++)d+=Tm(r,e[H]);let g=Math.ceil(d*1.5/8),b=[],S=[];function I(H,be,ke,ge,Ue){for(let Dt=ke;Dt<ge;){let pt=Dt,vt=be[Dt],Yt=Tm(r,H[Dt]);for(Dt++;Dt<ge;Dt++){let ir=Tm(r,H[Dt]);if(Yt+ir>=g)break;Yt+=ir}if(Dt==pt+1){if(Yt>g){let ir=H[pt];I(ir.children,ir.positions,0,ir.children.length,be[pt]+Ue);continue}b.push(H[pt])}else{let ir=be[Dt-1]+H[Dt-1].length-vt;b.push(fO(r,H,be,pt,Dt,vt,ir,null,p))}S.push(vt+Ue-s)}}return I(e,t,n,i,0),(l||p)(b,S,a)}class D2{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof hl?this.setBuffer(e.context.buffer,e.index,t):e instanceof ru&&this.map.set(e.tree,t)}get(e){return e instanceof hl?this.getBuffer(e.context.buffer,e.index):e instanceof ru?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ec{constructor(e,t,n,i,s=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(s?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let i=[new ec(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&i.push(s);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],s=1,a=e.length?e[0]:null;for(let l=0,p=0,d=0;;l++){let g=l<t.length?t[l]:null,b=g?g.fromA:1e9;if(b-p>=n)for(;a&&a.from<b;){let S=a;if(p>=S.from||b<=S.to||d){let I=Math.max(S.from,p)-d,H=Math.min(S.to,b)-d;S=I>=H?null:new ec(I,H,S.tree,S.offset+d,l>0,!!g)}if(S&&i.push(S),a.to>b)break;a=s<e.length?e[s++]:null}if(!g)break;p=g.toA,d=g.toA-g.toB}return i}}class O2{startParse(e,t,n){return typeof e=="string"&&(e=new p_(e)),n=n?n.length?n.map(i=>new Ja(i.from,i.to)):[new Ja(0,0)]:[new Ja(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let s=i.advance();if(s)return s}}}class p_{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function f_(r){return(e,t,n,i)=>new m_(e,r,t,n,i)}class Xx{constructor(e,t,n,i,s){if(this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=s,!s.length||s.some(a=>a.from>=a.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(s))}}class d_{constructor(e,t,n,i,s,a,l){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=s,this.target=a,this.prev=l,this.depth=0,this.ranges=[]}}const rD=new Hi({perNode:!0});class m_{constructor(e,t,n,i,s){this.nest=t,this.input=n,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new no(n.type,n.children,n.positions,n.length,n.propValues.concat([[rD,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Hi.mounted.id]=new u_(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].ranges[0].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new D_(this.fragments),t=null,n=null,i=new ad(new ru(this.baseTree,this.ranges[0].from,0,null),js.IncludeAnonymous|js.IgnoreMounts);e:for(let s,a;this.stoppedAt==null||i.from<this.stoppedAt;){let l=!0,p;if(e.hasNode(i)){if(t){let d=t.mounts.find(g=>g.frag.from<=i.from&&g.frag.to>=i.to&&g.mount.overlay);if(d)for(let g of d.mount.overlay){let b=g.from+d.pos,S=g.to+d.pos;b>=i.from&&S<=i.to&&!t.ranges.some(I=>I.from<S&&I.to>b)&&t.ranges.push({from:b,to:S})}}l=!1}else if(n&&(a=g_(n.ranges,i.from,i.to)))l=a!=2;else if(!i.type.isAnonymous&&i.from<i.to&&(s=this.nest(i,this.input))){i.tree||y_(i);let d=e.findMounts(i.from,s.parser);if(typeof s.overlay=="function")t=new d_(s.parser,s.overlay,d,this.inner.length,i.from,i.tree,t);else{let g=qx(this.ranges,s.overlay||[new Ja(i.from,i.to)]);g.length&&this.inner.push(new Xx(s.parser,s.parser.startParse(this.input,zx(d,g),g),s.overlay?s.overlay.map(b=>new Ja(b.from-i.from,b.to-i.from)):null,i.tree,g)),s.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):l=!1}}else t&&(p=t.predicate(i))&&(p===!0&&(p=new Ja(i.from,i.to)),p.from<p.to&&t.ranges.push(p));if(l&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(t&&!--t.depth){let d=qx(this.ranges,t.ranges);d.length&&this.inner.splice(t.index,0,new Xx(t.parser,t.parser.startParse(this.input,zx(t.mounts,d),d),t.ranges.map(g=>new Ja(g.from-t.start,g.to-t.start)),t.target,d)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function g_(r,e,t){for(let n of r){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function Vx(r,e,t,n,i,s){if(e<t){let a=r.buffer[e+1];n.push(r.slice(e,t,a)),i.push(a-s)}}function y_(r){let{node:e}=r,t=0;do r.parent(),t++;while(!r.tree);let n=0,i=r.tree,s=0;for(;s=i.positions[n]+r.from,!(s<=e.from&&s+i.children[n].length>=e.to);n++);let a=i.children[n],l=a.buffer;function p(d,g,b,S,I){let H=d;for(;l[H+2]+s<=e.from;)H=l[H+3];let be=[],ke=[];Vx(a,d,H,be,ke,S);let ge=l[H+1],Ue=l[H+2],Dt=ge+s==e.from&&Ue+s==e.to&&l[H]==e.type.id;return be.push(Dt?e.toTree():p(H+4,l[H+3],a.set.types[l[H]],ge,Ue-ge)),ke.push(ge-S),Vx(a,l[H+3],g,be,ke,S),new no(b,be,ke,I)}i.children[n]=p(0,l.length,ga.none,0,a.length);for(let d=0;d<=t;d++)r.childAfter(e.from)}class Ux{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(js.IncludeAnonymous|js.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,js.IgnoreOverlays|js.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof no)t=t.children[0];else break}return!1}}let D_=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(rD))!==null&&t!==void 0?t:n.to,this.inner=new Ux(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(rD))!==null&&e!==void 0?e:t.to,this.inner=new Ux(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let a=(n=s.tree)===null||n===void 0?void 0:n.prop(Hi.mounted);if(a&&a.parser==t)for(let l=this.fragI;l<this.fragments.length;l++){let p=this.fragments[l];if(p.from>=s.to)break;p.tree==this.curFrag.tree&&i.push({frag:p,pos:s.from-p.offset,mount:a})}}}return i}};function qx(r,e){let t=null,n=e;for(let i=1,s=0;i<r.length;i++){let a=r[i-1].to,l=r[i].from;for(;s<n.length;s++){let p=n[s];if(p.from>=l)break;p.to<=a||(t||(n=t=e.slice()),p.from<a?(t[s]=new Ja(p.from,a),p.to>l&&t.splice(s+1,0,new Ja(l,p.to))):p.to>l?t[s--]=new Ja(l,p.to):t.splice(s--,1))}}return n}function O_(r,e,t,n){let i=0,s=0,a=!1,l=!1,p=-1e9,d=[];for(;;){let g=i==r.length?1e9:a?r[i].to:r[i].from,b=s==e.length?1e9:l?e[s].to:e[s].from;if(a!=l){let S=Math.max(p,t),I=Math.min(g,b,n);S<I&&d.push(new Ja(S,I))}if(p=Math.min(g,b),p==1e9)break;g==p&&(a?(a=!1,i++):a=!0),b==p&&(l?(l=!1,s++):l=!0)}return d}function zx(r,e){let t=[];for(let{pos:n,mount:i,frag:s}of r){let a=n+(i.overlay?i.overlay[0].from:0),l=a+i.tree.length,p=Math.max(s.from,a),d=Math.min(s.to,l);if(i.overlay){let g=i.overlay.map(S=>new Ja(S.from+n,S.to+n)),b=O_(e,g,p,d);for(let S=0,I=p;;S++){let H=S==b.length,be=H?d:b[S].from;if(be>I&&t.push(new ec(I,be,i.tree,-a,s.from>=I||s.openStart,s.to<=be||s.openEnd)),H)break;I=b[S].to}}else t.push(new ec(p,d,i.tree,-a,s.from>=a||s.openStart,s.to<=l||s.openEnd))}return t}let x_=0;class al{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=x_++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new al([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new Km;return t=>t.modified.indexOf(e)>-1?t:Km.get(t.base||t,t.modified.concat(e).sort((n,i)=>n.id-i.id))}}let b_=0;class Km{constructor(){this.instances=[],this.id=b_++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(l=>l.base==e&&v_(t,l.modified));if(n)return n;let i=[],s=new al(i,e,t);for(let l of t)l.instances.push(s);let a=C_(t);for(let l of e.set)if(!l.modified.length)for(let p of a)i.push(Km.get(l,p));return s}}function v_(r,e){return r.length==e.length&&r.every((t,n)=>t==e[n])}function C_(r){let e=[[]];for(let t=0;t<r.length;t++)for(let n=0,i=e.length;n<i;n++)e.push(e[n].concat(r[t]));return e.sort((t,n)=>n.length-t.length)}function wd(r){let e=Object.create(null);for(let t in r){let n=r[t];Array.isArray(n)||(n=[n]);for(let i of t.split(" "))if(i){let s=[],a=2,l=i;for(let b=0;;){if(l=="..."&&b>0&&b+3==i.length){a=1;break}let S=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!S)throw new RangeError("Invalid path: "+i);if(s.push(S[0]=="*"?"":S[0][0]=='"'?JSON.parse(S[0]):S[0]),b+=S[0].length,b==i.length)break;let I=i[b++];if(b==i.length&&I=="!"){a=0;break}if(I!="/")throw new RangeError("Invalid path: "+i);l=i.slice(b)}let p=s.length-1,d=s[p];if(!d)throw new RangeError("Invalid path: "+i);let g=new eg(n,a,p>0?s.slice(0,p):null);e[d]=g.sort(e[d])}}return x2.add(e)}const x2=new Hi;class eg{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}eg.empty=new eg([],2,null);function b2(r,e){let t=Object.create(null);for(let s of r)if(!Array.isArray(s.tag))t[s.tag.id]=s.class;else for(let a of s.tag)t[a.id]=s.class;let{scope:n,all:i=null}=e||{};return{style:s=>{let a=i;for(let l of s)for(let p of l.set){let d=t[p.id];if(d){a=a?a+" "+d:d;break}}return a},scope:n}}function S_(r,e){let t=null;for(let n of r){let i=n.style(e);i&&(t=t?t+" "+i:i)}return t}function E_(r,e,t,n=0,i=r.length){let s=new w_(n,Array.isArray(e)?e:[e],t);s.highlightRange(r.cursor(),n,i,"",s.highlighters),s.flush(i)}class w_{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,s){let{type:a,from:l,to:p}=e;if(l>=n||p<=t)return;a.isTop&&(s=this.highlighters.filter(I=>!I.scope||I.scope(a)));let d=i,g=A_(e)||eg.empty,b=S_(s,g.tags);if(b&&(d&&(d+=" "),d+=b,g.mode==1&&(i+=(i?" ":"")+b)),this.startSpan(Math.max(t,l),d),g.opaque)return;let S=e.tree&&e.tree.prop(Hi.mounted);if(S&&S.overlay){let I=e.node.enter(S.overlay[0].from+l,1),H=this.highlighters.filter(ke=>!ke.scope||ke.scope(S.tree.type)),be=e.firstChild();for(let ke=0,ge=l;;ke++){let Ue=ke<S.overlay.length?S.overlay[ke]:null,Dt=Ue?Ue.from+l:p,pt=Math.max(t,ge),vt=Math.min(n,Dt);if(pt<vt&&be)for(;e.from<vt&&(this.highlightRange(e,pt,vt,i,s),this.startSpan(Math.min(vt,e.to),d),!(e.to>=Dt||!e.nextSibling())););if(!Ue||Dt>n)break;ge=Ue.to+l,ge>t&&(this.highlightRange(I.cursor(),Math.max(t,Ue.from+l),Math.min(n,ge),"",H),this.startSpan(Math.min(n,ge),d))}be&&e.parent()}else if(e.firstChild()){S&&(i="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,s),this.startSpan(Math.min(n,e.to),d)}while(e.nextSibling());e.parent()}}}function A_(r){let e=r.type.prop(x2);for(;e&&e.context&&!r.matchContext(e.context);)e=e.next;return e||null}const On=al.define,sm=On(),Ic=On(),Wx=On(Ic),Zx=On(Ic),Mc=On(),om=On(Mc),R0=On(Mc),sl=On(),Th=On(sl),nl=On(),il=On(),nD=On(),Df=On(nD),am=On(),He={comment:sm,lineComment:On(sm),blockComment:On(sm),docComment:On(sm),name:Ic,variableName:On(Ic),typeName:Wx,tagName:On(Wx),propertyName:Zx,attributeName:On(Zx),className:On(Ic),labelName:On(Ic),namespace:On(Ic),macroName:On(Ic),literal:Mc,string:om,docString:On(om),character:On(om),attributeValue:On(om),number:R0,integer:On(R0),float:On(R0),bool:On(Mc),regexp:On(Mc),escape:On(Mc),color:On(Mc),url:On(Mc),keyword:nl,self:On(nl),null:On(nl),atom:On(nl),unit:On(nl),modifier:On(nl),operatorKeyword:On(nl),controlKeyword:On(nl),definitionKeyword:On(nl),moduleKeyword:On(nl),operator:il,derefOperator:On(il),arithmeticOperator:On(il),logicOperator:On(il),bitwiseOperator:On(il),compareOperator:On(il),updateOperator:On(il),definitionOperator:On(il),typeOperator:On(il),controlOperator:On(il),punctuation:nD,separator:On(nD),bracket:Df,angleBracket:On(Df),squareBracket:On(Df),paren:On(Df),brace:On(Df),content:sl,heading:Th,heading1:On(Th),heading2:On(Th),heading3:On(Th),heading4:On(Th),heading5:On(Th),heading6:On(Th),contentSeparator:On(sl),list:On(sl),quote:On(sl),emphasis:On(sl),strong:On(sl),link:On(sl),monospace:On(sl),strikethrough:On(sl),inserted:On(),deleted:On(),changed:On(),invalid:On(),meta:am,documentMeta:On(am),annotation:On(am),processingInstruction:On(am),definition:al.defineModifier(),constant:al.defineModifier(),function:al.defineModifier(),standard:al.defineModifier(),local:al.defineModifier(),special:al.defineModifier()};b2([{tag:He.link,class:"tok-link"},{tag:He.heading,class:"tok-heading"},{tag:He.emphasis,class:"tok-emphasis"},{tag:He.strong,class:"tok-strong"},{tag:He.keyword,class:"tok-keyword"},{tag:He.atom,class:"tok-atom"},{tag:He.bool,class:"tok-bool"},{tag:He.url,class:"tok-url"},{tag:He.labelName,class:"tok-labelName"},{tag:He.inserted,class:"tok-inserted"},{tag:He.deleted,class:"tok-deleted"},{tag:He.literal,class:"tok-literal"},{tag:He.string,class:"tok-string"},{tag:He.number,class:"tok-number"},{tag:[He.regexp,He.escape,He.special(He.string)],class:"tok-string2"},{tag:He.variableName,class:"tok-variableName"},{tag:He.local(He.variableName),class:"tok-variableName tok-local"},{tag:He.definition(He.variableName),class:"tok-variableName tok-definition"},{tag:He.special(He.variableName),class:"tok-variableName2"},{tag:He.definition(He.propertyName),class:"tok-propertyName tok-definition"},{tag:He.typeName,class:"tok-typeName"},{tag:He.namespace,class:"tok-namespace"},{tag:He.className,class:"tok-className"},{tag:He.macroName,class:"tok-macroName"},{tag:He.propertyName,class:"tok-propertyName"},{tag:He.operator,class:"tok-operator"},{tag:He.comment,class:"tok-comment"},{tag:He.meta,class:"tok-meta"},{tag:He.invalid,class:"tok-invalid"},{tag:He.punctuation,class:"tok-punctuation"}]);var Q0;const kp=new Hi;function v2(r){return qn.define({combine:r?e=>e.concat(r):void 0})}const dO=new Hi;class Cu{constructor(e,t,n=[],i=""){this.data=e,this.name=i,ms.prototype.hasOwnProperty("tree")||Object.defineProperty(ms.prototype,"tree",{get(){return ho(this)}}),this.parser=t,this.extension=[ih.of(this),ms.languageData.of((s,a,l)=>{let p=Yx(s,a,l),d=p.type.prop(kp);if(!d)return[];let g=s.facet(d),b=p.type.prop(dO);if(b){let S=p.resolve(a-p.from,l);for(let I of b)if(I.test(S,s)){let H=s.facet(I.facet);return I.type=="replace"?H:H.concat(g)}}return g})].concat(n)}isActiveAt(e,t,n=-1){return Yx(e,t,n).type.prop(kp)==this.data}findRegions(e){let t=e.facet(ih);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(s,a)=>{if(s.prop(kp)==this.data){n.push({from:a,to:a+s.length});return}let l=s.prop(Hi.mounted);if(l){if(l.tree.prop(kp)==this.data){if(l.overlay)for(let p of l.overlay)n.push({from:p.from+a,to:p.to+a});else n.push({from:a,to:a+s.length});return}else if(l.overlay){let p=n.length;if(i(l.tree,l.overlay[0].from+a),n.length>p)return}}for(let p=0;p<s.children.length;p++){let d=s.children[p];d instanceof no&&i(d,s.positions[p]+a)}};return i(ho(e),0),n}get allowsNesting(){return!0}}Cu.setState=ji.define();function Yx(r,e,t){let n=r.facet(ih),i=ho(r).topNode;if(!n||n.allowsNesting)for(let s=i;s;s=s.enter(e,t,js.ExcludeBuffers))s.type.isTop&&(i=s);return i}class Wh extends Cu{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=v2(e.languageData);return new Wh(t,e.parser.configure({props:[kp.add(n=>n.isTop?t:void 0)]}),e.name)}configure(e,t){return new Wh(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ho(r){let e=r.field(Cu.state,!1);return e?e.tree:no.empty}class T_{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Of=null;class tg{constructor(e,t,n=[],i,s,a,l,p){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=s,this.viewport=a,this.skipped=l,this.scheduleOn=p,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new tg(e,t,[],no.empty,0,n,[],null)}startParse(){return this.parser.startParse(new T_(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=no.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let i=this.parse.advance();if(i)if(this.fragments=this.withoutTempSkipped(ec.addTree(i,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=i,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(ec.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Of;Of=this;try{return e()}finally{Of=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Gx(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:a,skipped:l}=this;if(this.takeTree(),!e.empty){let p=[];if(e.iterChangedRanges((d,g,b,S)=>p.push({fromA:d,toA:g,fromB:b,toB:S})),n=ec.applyChanges(n,p),i=no.empty,s=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){l=[];for(let d of this.skipped){let g=e.mapPos(d.from,1),b=e.mapPos(d.to,-1);g<b&&l.push({from:g,to:b})}}}return new tg(this.parser,t,n,i,s,a,l,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:i,to:s}=this.skipped[n];i<e.to&&s>e.from&&(this.fragments=Gx(this.fragments,i,s),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends O2{createParse(t,n,i){let s=i[0].from,a=i[i.length-1].to;return{parsedPos:s,advance(){let p=Of;if(p){for(let d of i)p.tempSkipped.push(d);e&&(p.scheduleOn=p.scheduleOn?Promise.all([p.scheduleOn,e]):e)}return this.parsedPos=a,new no(ga.none,[],[],a-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return Of}}function Gx(r,e,t){return ec.applyChanges(r,[{fromA:e,toA:t,fromB:e,toB:t}])}class Gp{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Gp(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=tg.create(e.facet(ih).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Gp(n)}}Cu.state=Po.define({create:Gp.init,update(r,e){for(let t of e.effects)if(t.is(Cu.setState))return t.value;return e.startState.facet(ih)!=e.state.facet(ih)?Gp.init(e.state):r.apply(e)}});let C2=r=>{let e=setTimeout(()=>r(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(C2=r=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(r,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const j0=typeof navigator<"u"&&(!((Q0=navigator.scheduling)===null||Q0===void 0)&&Q0.isInputPending)?()=>navigator.scheduling.isInputPending():null,P_=xo.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Cu.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Cu.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=C2(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,s=n.field(Cu.state);if(s.tree==s.context.tree&&s.context.isDone(i+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!j0?Math.max(25,e.timeRemaining()-5):1e9),l=s.context.treeLen<i&&n.doc.length>i+1e3,p=s.context.work(()=>j0&&j0()||Date.now()>a,i+(l?0:1e5));this.chunkBudget-=Date.now()-t,(p||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Cu.setState.of(new Gp(s.context))})),this.chunkBudget>0&&!(p&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>wu(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ih=qn.define({combine(r){return r.length?r[0]:null},enables:r=>[Cu.state,P_,Qn.contentAttributes.compute([r],e=>{let t=e.facet(r);return t&&t.name?{"data-language":t.name}:{}})]});class mO{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const k_=qn.define(),qg=qn.define({combine:r=>{if(!r.length)return" ";let e=r[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(r[0]));return e}});function rg(r){let e=r.facet(qg);return e.charCodeAt(0)==9?r.tabSize*e.length:e.length}function ud(r,e){let t="",n=r.tabSize,i=r.facet(qg)[0];if(i==" "){for(;e>=n;)t+=" ",e-=n;i=" "}for(let s=0;s<e;s++)t+=i;return t}function gO(r,e){r instanceof ms&&(r=new zg(r));for(let n of r.state.facet(k_)){let i=n(r,e);if(i!==void 0)return i}let t=ho(r.state);return t?F_(r,t,e):null}class zg{constructor(e,t={}){this.state=e,this.options=t,this.unit=rg(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:s}=this.options;return i!=null&&i>=n.from&&i<=n.to?s&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,t);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.countColumn(n,e-i),a=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return a>-1&&(s+=a-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return xd(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let a=s(i);if(a>-1)return a}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ad=new Hi;function F_(r,e,t){return S2(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,r)}function __(r){return r.pos==r.options.simulateBreak&&r.options.simulateDoubleBreak}function $_(r){let e=r.type.prop(Ad);if(e)return e;let t=r.firstChild,n;if(t&&(n=t.type.prop(Hi.closedBy))){let i=r.lastChild,s=i&&n.indexOf(i.name)>-1;return a=>E2(a,!0,1,void 0,s&&!__(a)?i.from:void 0)}return r.parent==null?B_:null}function S2(r,e,t){for(;r;r=r.parent){let n=$_(r);if(n)return n(yO.create(t,e,r))}return null}function B_(){return 0}class yO extends zg{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new yO(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(N_(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?S2(e,this.pos,this.base):0}}function N_(r,e){for(let t=e;t;t=t.parent)if(r==t)return!0;return!1}function I_(r){let e=r.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let i=r.options.simulateBreak,s=r.state.doc.lineAt(t.from),a=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let l=t.to;;){let p=e.childAfter(l);if(!p||p==n)return null;if(!p.type.isSkipped)return p.from<a?t:null;l=p.to}}function M_({closing:r,align:e=!0,units:t=1}){return n=>E2(n,e,t,r)}function E2(r,e,t,n,i){let s=r.textAfter,a=s.match(/^\s*/)[0].length,l=n&&s.slice(a,a+n.length)==n||i==r.pos+a,p=e?I_(r):null;return p?l?r.column(p.from):r.column(p.to):r.baseIndent+(l?0:r.unit*t)}const R_=r=>r.baseIndent;function Pm({except:r,units:e=1}={}){return t=>{let n=r&&r.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const Q_=200;function j_(){return ms.transactionFilter.of(r=>{if(!r.docChanged||!r.isUserEvent("input.type")&&!r.isUserEvent("input.complete"))return r;let e=r.startState.languageDataAt("indentOnInput",r.startState.selection.main.head);if(!e.length)return r;let t=r.newDoc,{head:n}=r.newSelection.main,i=t.lineAt(n);if(n>i.from+Q_)return r;let s=t.sliceString(i.from,n);if(!e.some(d=>d.test(s)))return r;let{state:a}=r,l=-1,p=[];for(let{head:d}of a.selection.ranges){let g=a.doc.lineAt(d);if(g.from==l)continue;l=g.from;let b=gO(a,g.from);if(b==null)continue;let S=/^\s*/.exec(g.text)[0],I=ud(a,b);S!=I&&p.push({from:g.from,to:g.from+S.length,insert:I})}return p.length?[r,{changes:p,sequential:!0}]:r})}const L_=qn.define(),Td=new Hi;function w2(r){let e=r.firstChild,t=r.lastChild;return e&&e.to<t.from?{from:e.to,to:t.type.isError?r.to:t.from}:null}function X_(r,e,t){let n=ho(r);if(n.length<t)return null;let i=n.resolveInner(t,1),s=null;for(let a=i;a;a=a.parent){if(a.to<=t||a.from>t)continue;if(s&&a.from<e)break;let l=a.type.prop(Td);if(l&&(a.to<n.length-50||n.length==r.doc.length||!V_(a))){let p=l(a,r);p&&p.from<=t&&p.from>=e&&p.to>t&&(s=p)}}return s}function V_(r){let e=r.lastChild;return e&&e.to==r.to&&e.type.isError}function ng(r,e,t){for(let n of r.facet(L_)){let i=n(r,e,t);if(i)return i}return X_(r,e,t)}function A2(r,e){let t=e.mapPos(r.from,1),n=e.mapPos(r.to,-1);return t>=n?void 0:{from:t,to:n}}const Wg=ji.define({map:A2}),Pd=ji.define({map:A2});function T2(r){let e=[];for(let{head:t}of r.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(r.lineBlockAt(t));return e}const Zh=Po.define({create(){return _i.none},update(r,e){r=r.map(e.changes);for(let t of e.effects)t.is(Wg)&&!U_(r,t.value.from,t.value.to)?r=r.update({add:[Hx.range(t.value.from,t.value.to)]}):t.is(Pd)&&(r=r.update({filter:(n,i)=>t.value.from!=n||t.value.to!=i,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;r.between(n,n,(i,s)=>{i<n&&s>n&&(t=!0)}),t&&(r=r.update({filterFrom:n,filterTo:n,filter:(i,s)=>s<=n||i>=n}))}return r},provide:r=>Qn.decorations.from(r),toJSON(r,e){let t=[];return r.between(0,e.doc.length,(n,i)=>{t.push(n,i)}),t},fromJSON(r){if(!Array.isArray(r)||r.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t<r.length;){let n=r[t++],i=r[t++];if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(Hx.range(n,i))}return _i.set(e,!0)}});function ig(r,e,t){var n;let i=null;return(n=r.field(Zh,!1))===null||n===void 0||n.between(e,t,(s,a)=>{(!i||i.from>s)&&(i={from:s,to:a})}),i}function U_(r,e,t){let n=!1;return r.between(e,e,(i,s)=>{i==e&&s==t&&(n=!0)}),n}function P2(r,e){return r.field(Zh,!1)?e:e.concat(ji.appendConfig.of(_2()))}const q_=r=>{for(let e of T2(r)){let t=ng(r.state,e.from,e.to);if(t)return r.dispatch({effects:P2(r.state,[Wg.of(t),k2(r,t)])}),!0}return!1},z_=r=>{if(!r.state.field(Zh,!1))return!1;let e=[];for(let t of T2(r)){let n=ig(r.state,t.from,t.to);n&&e.push(Pd.of(n),k2(r,n,!1))}return e.length&&r.dispatch({effects:e}),e.length>0};function k2(r,e,t=!0){let n=r.state.doc.lineAt(e.from).number,i=r.state.doc.lineAt(e.to).number;return Qn.announce.of(`${r.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${r.state.phrase("to")} ${i}.`)}const W_=r=>{let{state:e}=r,t=[];for(let n=0;n<e.doc.length;){let i=r.lineBlockAt(n),s=ng(e,i.from,i.to);s&&t.push(Wg.of(s)),n=(s?r.lineBlockAt(s.to):i).to+1}return t.length&&r.dispatch({effects:P2(r.state,t)}),!!t.length},Z_=r=>{let e=r.state.field(Zh,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,r.state.doc.length,(n,i)=>{t.push(Pd.of({from:n,to:i}))}),r.dispatch({effects:t}),!0},Y_=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:q_},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:z_},{key:"Ctrl-Alt-[",run:W_},{key:"Ctrl-Alt-]",run:Z_}],G_={placeholderDOM:null,placeholderText:"…"},F2=qn.define({combine(r){return Sl(r,G_)}});function _2(r){let e=[Zh,K_];return r&&e.push(F2.of(r)),e}const Hx=_i.replace({widget:new class extends oh{toDOM(r){let{state:e}=r,t=e.facet(F2),n=s=>{let a=r.lineBlockAt(r.posAtDOM(s.target)),l=ig(r.state,a.from,a.to);l&&r.dispatch({effects:Pd.of(l)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(r,n);let i=document.createElement("span");return i.textContent=t.placeholderText,i.setAttribute("aria-label",e.phrase("folded code")),i.title=e.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=n,i}}}),H_={openText:"⌄",closedText:"",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class L0 extends sc{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function J_(r={}){let e=Object.assign(Object.assign({},H_),r),t=new L0(e,!0),n=new L0(e,!1),i=xo.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(ih)!=a.state.facet(ih)||a.startState.field(Zh,!1)!=a.state.field(Zh,!1)||ho(a.startState)!=ho(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let l=new Jc;for(let p of a.viewportLineBlocks){let d=ig(a.state,p.from,p.to)?n:ng(a.state,p.from,p.to)?t:null;d&&l.add(p.from,p.from,d)}return l.finish()}}),{domEventHandlers:s}=e;return[i,S3({class:"cm-foldGutter",markers(a){var l;return((l=a.plugin(i))===null||l===void 0?void 0:l.markers)||Ss.empty},initialSpacer(){return new L0(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(a,l,p)=>{if(s.click&&s.click(a,l,p))return!0;let d=ig(a.state,l.from,l.to);if(d)return a.dispatch({effects:Pd.of(d)}),!0;let g=ng(a.state,l.from,l.to);return g?(a.dispatch({effects:Wg.of(g)}),!0):!1}})}),_2()]}const K_=Qn.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class kd{constructor(e,t){this.specs=e;let n;function i(l){let p=Kc.newName();return(n||(n=Object.create(null)))["."+p]=l,p}const s=typeof t.all=="string"?t.all:t.all?i(t.all):void 0,a=t.scope;this.scope=a instanceof Cu?l=>l.prop(kp)==a.data:a?l=>l==a:void 0,this.style=b2(e.map(l=>({tag:l.tag,class:l.class||i(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new Kc(n):null,this.themeType=t.themeType}static define(e,t){return new kd(e,t||{})}}const iD=qn.define(),$2=qn.define({combine(r){return r.length?[r[0]]:null}});function X0(r){let e=r.facet(iD);return e.length?e:r.facet($2)}function B2(r,e){let t=[t$],n;return r instanceof kd&&(r.module&&t.push(Qn.styleModule.of(r.module)),n=r.themeType),e!=null&&e.fallback?t.push($2.of(r)):n?t.push(iD.computeN([Qn.darkTheme],i=>i.facet(Qn.darkTheme)==(n=="dark")?[r]:[])):t.push(iD.of(r)),t}class e${constructor(e){this.markCache=Object.create(null),this.tree=ho(e.state),this.decorations=this.buildDeco(e,X0(e.state))}update(e){let t=ho(e.state),n=X0(e.state),i=n!=X0(e.startState);t.length<e.view.viewport.to&&!i&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||i)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}buildDeco(e,t){if(!t||!this.tree.length)return _i.none;let n=new Jc;for(let{from:i,to:s}of e.visibleRanges)E_(this.tree,t,(a,l,p)=>{n.add(a,l,this.markCache[p]||(this.markCache[p]=_i.mark({class:p})))},i,s);return n.finish()}}const t$=Jh.high(xo.fromClass(e$,{decorations:r=>r.decorations})),r$=kd.define([{tag:He.meta,color:"#404740"},{tag:He.link,textDecoration:"underline"},{tag:He.heading,textDecoration:"underline",fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strong,fontWeight:"bold"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.keyword,color:"#708"},{tag:[He.atom,He.bool,He.url,He.contentSeparator,He.labelName],color:"#219"},{tag:[He.literal,He.inserted],color:"#164"},{tag:[He.string,He.deleted],color:"#a11"},{tag:[He.regexp,He.escape,He.special(He.string)],color:"#e40"},{tag:He.definition(He.variableName),color:"#00f"},{tag:He.local(He.variableName),color:"#30a"},{tag:[He.typeName,He.namespace],color:"#085"},{tag:He.className,color:"#167"},{tag:[He.special(He.variableName),He.macroName],color:"#256"},{tag:He.definition(He.propertyName),color:"#00c"},{tag:He.comment,color:"#940"},{tag:He.invalid,color:"#f00"}]),n$=Qn.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),N2=1e4,I2="()[]{}",M2=qn.define({combine(r){return Sl(r,{afterCursor:!0,brackets:I2,maxScanDistance:N2,renderMatch:o$})}}),i$=_i.mark({class:"cm-matchingBracket"}),s$=_i.mark({class:"cm-nonmatchingBracket"});function o$(r){let e=[],t=r.matched?i$:s$;return e.push(t.range(r.start.from,r.start.to)),r.end&&e.push(t.range(r.end.from,r.end.to)),e}const a$=Po.define({create(){return _i.none},update(r,e){if(!e.docChanged&&!e.selection)return r;let t=[],n=e.state.facet(M2);for(let i of e.state.selection.ranges){if(!i.empty)continue;let s=pl(e.state,i.head,-1,n)||i.head>0&&pl(e.state,i.head-1,1,n)||n.afterCursor&&(pl(e.state,i.head,1,n)||i.head<e.state.doc.length&&pl(e.state,i.head+1,-1,n));s&&(t=t.concat(n.renderMatch(s,e.state)))}return _i.set(t,!0)},provide:r=>Qn.decorations.from(r)}),u$=[a$,n$];function l$(r={}){return[M2.of(r),u$]}const DO=new Hi;function sD(r,e,t){let n=r.prop(e<0?Hi.openedBy:Hi.closedBy);if(n)return n;if(r.name.length==1){let i=t.indexOf(r.name);if(i>-1&&i%2==(e<0?1:0))return[t[i+e]]}return null}function oD(r){let e=r.type.prop(DO);return e?e(r.node):r}function pl(r,e,t,n={}){let i=n.maxScanDistance||N2,s=n.brackets||I2,a=ho(r),l=a.resolveInner(e,t);for(let p=l;p;p=p.parent){let d=sD(p.type,t,s);if(d&&p.from<p.to){let g=oD(p);if(g&&(t>0?e>=g.from&&e<g.to:e>g.from&&e<=g.to))return c$(r,e,t,p,g,d,s)}}return h$(r,e,t,a,l.type,i,s)}function c$(r,e,t,n,i,s,a){let l=n.parent,p={from:i.from,to:i.to},d=0,g=l==null?void 0:l.cursor();if(g&&(t<0?g.childBefore(n.from):g.childAfter(n.to)))do if(t<0?g.to<=n.from:g.from>=n.to){if(d==0&&s.indexOf(g.type.name)>-1&&g.from<g.to){let b=oD(g);return{start:p,end:b?{from:b.from,to:b.to}:void 0,matched:!0}}else if(sD(g.type,t,a))d++;else if(sD(g.type,-t,a)){if(d==0){let b=oD(g);return{start:p,end:b&&b.from<b.to?{from:b.from,to:b.to}:void 0,matched:!1}}d--}}while(t<0?g.prevSibling():g.nextSibling());return{start:p,matched:!1}}function h$(r,e,t,n,i,s,a){let l=t<0?r.sliceDoc(e-1,e):r.sliceDoc(e,e+1),p=a.indexOf(l);if(p<0||p%2==0!=t>0)return null;let d={from:t<0?e-1:e,to:t>0?e+1:e},g=r.doc.iterRange(e,t>0?r.doc.length:0),b=0;for(let S=0;!g.next().done&&S<=s;){let I=g.value;t<0&&(S+=I.length);let H=e+S*t;for(let be=t>0?0:I.length-1,ke=t>0?I.length:-1;be!=ke;be+=t){let ge=a.indexOf(I[be]);if(!(ge<0||n.resolveInner(H+be,1).type!=i))if(ge%2==0==t>0)b++;else{if(b==1)return{start:d,end:{from:H+be,to:H+be+1},matched:ge>>1==p>>1};b--}}t>0&&(S+=I.length)}return g.done?{start:d,matched:!1}:null}const p$=Object.create(null),Jx=[ga.none],Kx=[],f$=Object.create(null);for(let[r,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])f$[r]=d$(p$,e);function V0(r,e){Kx.indexOf(r)>-1||(Kx.push(r),console.warn(e))}function d$(r,e){let t=null;for(let s of e.split(".")){let a=r[s]||He[s];a?typeof a=="function"?t?t=a(t):V0(s,`Modifier ${s} used at start of tag`):t?V0(s,`Tag ${s} used as modifier`):t=a:V0(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),i=ga.define({id:Jx.length,name:n,props:[wd({[n]:t})]});return Jx.push(i),i.id}const m$=r=>{let{state:e}=r,t=e.doc.lineAt(e.selection.main.from),n=xO(r.state,t.from);return n.line?g$(r):n.block?D$(r):!1};function OO(r,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=r(e,t);return i?(n(t.update(i)),!0):!1}}const g$=OO(b$,0),y$=OO(R2,0),D$=OO((r,e)=>R2(r,e,x$(e)),0);function xO(r,e){let t=r.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const xf=50;function O$(r,{open:e,close:t},n,i){let s=r.sliceDoc(n-xf,n),a=r.sliceDoc(i,i+xf),l=/\s*$/.exec(s)[0].length,p=/^\s*/.exec(a)[0].length,d=s.length-l;if(s.slice(d-e.length,d)==e&&a.slice(p,p+t.length)==t)return{open:{pos:n-l,margin:l&&1},close:{pos:i+p,margin:p&&1}};let g,b;i-n<=2*xf?g=b=r.sliceDoc(n,i):(g=r.sliceDoc(n,n+xf),b=r.sliceDoc(i-xf,i));let S=/^\s*/.exec(g)[0].length,I=/\s*$/.exec(b)[0].length,H=b.length-I-t.length;return g.slice(S,S+e.length)==e&&b.slice(H,H+t.length)==t?{open:{pos:n+S+e.length,margin:/\s/.test(g.charAt(S+e.length))?1:0},close:{pos:i-I-t.length,margin:/\s/.test(b.charAt(H-1))?1:0}}:null}function x$(r){let e=[];for(let t of r.selection.ranges){let n=r.doc.lineAt(t.from),i=t.to<=n.to?n:r.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=i.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:i.to})}return e}function R2(r,e,t=e.selection.ranges){let n=t.map(s=>xO(e,s.from).block);if(!n.every(s=>s))return null;let i=t.map((s,a)=>O$(e,n[a],s.from,s.to));if(r!=2&&!i.every(s=>s))return{changes:e.changes(t.map((s,a)=>i[a]?[]:[{from:s.from,insert:n[a].open+" "},{from:s.to,insert:" "+n[a].close}]))};if(r!=1&&i.some(s=>s)){let s=[];for(let a=0,l;a<i.length;a++)if(l=i[a]){let p=n[a],{open:d,close:g}=l;s.push({from:d.pos-p.open.length,to:d.pos+d.margin},{from:g.pos-g.margin,to:g.pos+p.close.length})}return{changes:s}}return null}function b$(r,e,t=e.selection.ranges){let n=[],i=-1;for(let{from:s,to:a}of t){let l=n.length,p=1e9,d=xO(e,s).line;if(d){for(let g=s;g<=a;){let b=e.doc.lineAt(g);if(b.from>i&&(s==a||a>b.from)){i=b.from;let S=/^\s*/.exec(b.text)[0].length,I=S==b.length,H=b.text.slice(S,S+d.length)==d?S:-1;S<b.text.length&&S<p&&(p=S),n.push({line:b,comment:H,token:d,indent:S,empty:I,single:!1})}g=b.to+1}if(p<1e9)for(let g=l;g<n.length;g++)n[g].indent<n[g].line.text.length&&(n[g].indent=p);n.length==l+1&&(n[l].single=!0)}}if(r!=2&&n.some(s=>s.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:p,indent:d,empty:g,single:b}of n)(b||!g)&&s.push({from:l.from+d,insert:p+" "});let a=e.changes(s);return{changes:a,selection:e.selection.map(a,1)}}else if(r!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:a,comment:l,token:p}of n)if(l>=0){let d=a.from+l,g=d+p.length;a.text[g-a.from]==" "&&g++,s.push({from:d,to:g})}return{changes:s}}return null}const aD=ac.define(),v$=ac.define(),C$=qn.define(),Q2=qn.define({combine(r){return Sl(r,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,i)=>e(n,i)||t(n,i)})}});function S$(r){let e=0;return r.iterChangedRanges((t,n)=>e=n),e}const j2=Po.define({create(){return fl.empty},update(r,e){let t=e.state.facet(Q2),n=e.annotation(aD);if(n){let p=e.docChanged?Pr.single(S$(e.changes)):void 0,d=Pa.fromTransaction(e,p),g=n.side,b=g==0?r.undone:r.done;return d?b=sg(b,b.length,t.minDepth,d):b=V2(b,e.startState.selection),new fl(g==0?n.rest:b,g==0?b:n.rest)}let i=e.annotation(v$);if((i=="full"||i=="before")&&(r=r.isolate()),e.annotation(To.addToHistory)===!1)return e.changes.empty?r:r.addMapping(e.changes.desc);let s=Pa.fromTransaction(e),a=e.annotation(To.time),l=e.annotation(To.userEvent);return s?r=r.addChanges(s,a,l,t,e):e.selection&&(r=r.addSelection(e.startState.selection,a,l,t.newGroupDelay)),(i=="full"||i=="after")&&(r=r.isolate()),r},toJSON(r){return{done:r.done.map(e=>e.toJSON()),undone:r.undone.map(e=>e.toJSON())}},fromJSON(r){return new fl(r.done.map(Pa.fromJSON),r.undone.map(Pa.fromJSON))}});function E$(r={}){return[j2,Q2.of(r),Qn.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?L2:e.inputType=="historyRedo"?uD:null;return n?(e.preventDefault(),n(t)):!1}})]}function Zg(r,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let i=t.field(j2,!1);if(!i)return!1;let s=i.pop(r,t,e);return s?(n(s),!0):!1}}const L2=Zg(0,!1),uD=Zg(1,!1),w$=Zg(0,!0),A$=Zg(1,!0);class Pa{constructor(e,t,n,i,s){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=s}setSelAfter(e){return new Pa(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Pa(e.changes&&Ao.fromJSON(e.changes),[],e.mapped&&yl.fromJSON(e.mapped),e.startSelection&&Pr.fromJSON(e.startSelection),e.selectionsAfter.map(Pr.fromJSON))}static fromTransaction(e,t){let n=Ka;for(let i of e.startState.facet(C$)){let s=i(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new Pa(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Ka)}static selection(e){return new Pa(void 0,Ka,void 0,void 0,e)}}function sg(r,e,t,n){let i=e+1>t+20?e-t-1:0,s=r.slice(i,e);return s.push(n),s}function T$(r,e){let t=[],n=!1;return r.iterChangedRanges((i,s)=>t.push(i,s)),e.iterChangedRanges((i,s,a,l)=>{for(let p=0;p<t.length;){let d=t[p++],g=t[p++];l>=d&&a<=g&&(n=!0)}}),n}function P$(r,e){return r.ranges.length==e.ranges.length&&r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function X2(r,e){return r.length?e.length?r.concat(e):r:e}const Ka=[],k$=200;function V2(r,e){if(r.length){let t=r[r.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-k$));return n.length&&n[n.length-1].eq(e)?r:(n.push(e),sg(r,r.length-1,1e9,t.setSelAfter(n)))}else return[Pa.selection([e])]}function F$(r){let e=r[r.length-1],t=r.slice();return t[r.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function U0(r,e){if(!r.length)return r;let t=r.length,n=Ka;for(;t;){let i=_$(r[t-1],e,n);if(i.changes&&!i.changes.empty||i.effects.length){let s=r.slice(0,t);return s[t-1]=i,s}else e=i.mapped,t--,n=i.selectionsAfter}return n.length?[Pa.selection(n)]:Ka}function _$(r,e,t){let n=X2(r.selectionsAfter.length?r.selectionsAfter.map(l=>l.map(e)):Ka,t);if(!r.changes)return Pa.selection(n);let i=r.changes.map(e),s=e.mapDesc(r.changes,!0),a=r.mapped?r.mapped.composeDesc(s):s;return new Pa(i,ji.mapEffects(r.effects,e),a,r.startSelection.map(s),n)}const $$=/^(input\.type|delete)($|\.)/;class fl{constructor(e,t,n=0,i=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new fl(this.done,this.undone):this}addChanges(e,t,n,i,s){let a=this.done,l=a[a.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||$$.test(n))&&(!l.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(s,T$(l.changes,e.changes))||n=="input.type.compose")?a=sg(a,a.length-1,i.minDepth,new Pa(e.changes.compose(l.changes),X2(e.effects,l.effects),l.mapped,l.startSelection,Ka)):a=sg(a,a.length,i.minDepth,e),new fl(a,Ka,t,n)}addSelection(e,t,n,i){let s=this.done.length?this.done[this.done.length-1].selectionsAfter:Ka;return s.length>0&&t-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&P$(s[s.length-1],e)?this:new fl(V2(this.done,e),this.undone,t,n)}addMapping(e){return new fl(U0(this.done,e),U0(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=e==0?this.done:this.undone;if(i.length==0)return null;let s=i[i.length-1];if(n&&s.selectionsAfter.length)return t.update({selection:s.selectionsAfter[s.selectionsAfter.length-1],annotations:aD.of({side:e,rest:F$(i)}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(s.changes){let a=i.length==1?Ka:i.slice(0,i.length-1);return s.mapped&&(a=U0(a,s.mapped)),t.update({changes:s.changes,selection:s.startSelection,effects:s.effects,annotations:aD.of({side:e,rest:a}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}fl.empty=new fl(Ka,Ka);const B$=[{key:"Mod-z",run:L2,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:uD,preventDefault:!0},{linux:"Ctrl-Shift-z",run:uD,preventDefault:!0},{key:"Mod-u",run:w$,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:A$,preventDefault:!0}];function sf(r,e){return Pr.create(r.ranges.map(e),r.mainIndex)}function El(r,e){return r.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ku({state:r,dispatch:e},t){let n=sf(r.selection,t);return n.eq(r.selection)?!1:(e(El(r,n)),!0)}function Yg(r,e){return Pr.cursor(e?r.to:r.from)}function U2(r,e){return ku(r,t=>t.empty?r.moveByChar(t,e):Yg(t,e))}function la(r){return r.textDirectionAt(r.state.selection.main.head)==ro.LTR}const q2=r=>U2(r,!la(r)),z2=r=>U2(r,la(r));function W2(r,e){return ku(r,t=>t.empty?r.moveByGroup(t,e):Yg(t,e))}const N$=r=>W2(r,!la(r)),I$=r=>W2(r,la(r));function M$(r,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(r.sliceDoc(e.from,e.to)))||e.firstChild}function Gg(r,e,t){let n=ho(r).resolveInner(e.head),i=t?Hi.closedBy:Hi.openedBy;for(let p=e.head;;){let d=t?n.childAfter(p):n.childBefore(p);if(!d)break;M$(r,d,i)?n=d:p=t?d.to:d.from}let s=n.type.prop(i),a,l;return s&&(a=t?pl(r,n.from,1):pl(r,n.to,-1))&&a.matched?l=t?a.end.to:a.end.from:l=t?n.to:n.from,Pr.cursor(l,t?-1:1)}const R$=r=>ku(r,e=>Gg(r.state,e,!la(r))),Q$=r=>ku(r,e=>Gg(r.state,e,la(r)));function Z2(r,e){return ku(r,t=>{if(!t.empty)return Yg(t,e);let n=r.moveVertically(t,e);return n.head!=t.head?n:r.moveToLineBoundary(t,e)})}const Y2=r=>Z2(r,!1),G2=r=>Z2(r,!0);function H2(r){let e=r.scrollDOM.clientHeight<r.scrollDOM.scrollHeight-2,t=0,n=0,i;if(e){for(let s of r.state.facet(Qn.scrollMargins)){let a=s(r);a!=null&&a.top&&(t=Math.max(a==null?void 0:a.top,t)),a!=null&&a.bottom&&(n=Math.max(a==null?void 0:a.bottom,n))}i=r.scrollDOM.clientHeight-t-n}else i=(r.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:t,marginBottom:n,selfScroll:e,height:Math.max(r.defaultLineHeight,i-5)}}function J2(r,e){let t=H2(r),{state:n}=r,i=sf(n.selection,a=>a.empty?r.moveVertically(a,e,t.height):Yg(a,e));if(i.eq(n.selection))return!1;let s;if(t.selfScroll){let a=r.coordsAtPos(n.selection.main.head),l=r.scrollDOM.getBoundingClientRect(),p=l.top+t.marginTop,d=l.bottom-t.marginBottom;a&&a.top>p&&a.bottom<d&&(s=Qn.scrollIntoView(i.main.head,{y:"start",yMargin:a.top-p}))}return r.dispatch(El(n,i),{effects:s}),!0}const eb=r=>J2(r,!1),lD=r=>J2(r,!0);function ah(r,e,t){let n=r.lineBlockAt(e.head),i=r.moveToLineBoundary(e,t);if(i.head==e.head&&i.head!=(t?n.to:n.from)&&(i=r.moveToLineBoundary(e,t,!1)),!t&&i.head==n.from&&n.length){let s=/^\s*/.exec(r.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(i=Pr.cursor(n.from+s))}return i}const j$=r=>ku(r,e=>ah(r,e,!0)),L$=r=>ku(r,e=>ah(r,e,!1)),X$=r=>ku(r,e=>ah(r,e,!la(r))),V$=r=>ku(r,e=>ah(r,e,la(r))),U$=r=>ku(r,e=>Pr.cursor(r.lineBlockAt(e.head).from,1)),q$=r=>ku(r,e=>Pr.cursor(r.lineBlockAt(e.head).to,-1));function z$(r,e,t){let n=!1,i=sf(r.selection,s=>{let a=pl(r,s.head,-1)||pl(r,s.head,1)||s.head>0&&pl(r,s.head-1,1)||s.head<r.doc.length&&pl(r,s.head+1,-1);if(!a||!a.end)return s;n=!0;let l=a.start.from==s.head?a.end.to:a.end.from;return t?Pr.range(s.anchor,l):Pr.cursor(l)});return n?(e(El(r,i)),!0):!1}const W$=({state:r,dispatch:e})=>z$(r,e,!1);function nu(r,e){let t=sf(r.state.selection,n=>{let i=e(n);return Pr.range(n.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return t.eq(r.state.selection)?!1:(r.dispatch(El(r.state,t)),!0)}function K2(r,e){return nu(r,t=>r.moveByChar(t,e))}const eE=r=>K2(r,!la(r)),tE=r=>K2(r,la(r));function rE(r,e){return nu(r,t=>r.moveByGroup(t,e))}const Z$=r=>rE(r,!la(r)),Y$=r=>rE(r,la(r)),G$=r=>nu(r,e=>Gg(r.state,e,!la(r))),H$=r=>nu(r,e=>Gg(r.state,e,la(r)));function nE(r,e){return nu(r,t=>r.moveVertically(t,e))}const iE=r=>nE(r,!1),sE=r=>nE(r,!0);function oE(r,e){return nu(r,t=>r.moveVertically(t,e,H2(r).height))}const tb=r=>oE(r,!1),rb=r=>oE(r,!0),J$=r=>nu(r,e=>ah(r,e,!0)),K$=r=>nu(r,e=>ah(r,e,!1)),eB=r=>nu(r,e=>ah(r,e,!la(r))),tB=r=>nu(r,e=>ah(r,e,la(r))),rB=r=>nu(r,e=>Pr.cursor(r.lineBlockAt(e.head).from)),nB=r=>nu(r,e=>Pr.cursor(r.lineBlockAt(e.head).to)),nb=({state:r,dispatch:e})=>(e(El(r,{anchor:0})),!0),ib=({state:r,dispatch:e})=>(e(El(r,{anchor:r.doc.length})),!0),sb=({state:r,dispatch:e})=>(e(El(r,{anchor:r.selection.main.anchor,head:0})),!0),ob=({state:r,dispatch:e})=>(e(El(r,{anchor:r.selection.main.anchor,head:r.doc.length})),!0),iB=({state:r,dispatch:e})=>(e(r.update({selection:{anchor:0,head:r.doc.length},userEvent:"select"})),!0),sB=({state:r,dispatch:e})=>{let t=Jg(r).map(({from:n,to:i})=>Pr.range(n,Math.min(i+1,r.doc.length)));return e(r.update({selection:Pr.create(t),userEvent:"select"})),!0},oB=({state:r,dispatch:e})=>{let t=sf(r.selection,n=>{var i;let s=ho(r).resolveInner(n.head,1);for(;!(s.from<n.from&&s.to>=n.to||s.to>n.to&&s.from<=n.from||!(!((i=s.parent)===null||i===void 0)&&i.parent));)s=s.parent;return Pr.range(s.to,s.from)});return e(El(r,t)),!0},aB=({state:r,dispatch:e})=>{let t=r.selection,n=null;return t.ranges.length>1?n=Pr.create([t.main]):t.main.empty||(n=Pr.create([Pr.cursor(t.main.head)])),n?(e(El(r,n)),!0):!1};function Hg(r,e){if(r.state.readOnly)return!1;let t="delete.selection",{state:n}=r,i=n.changeByRange(s=>{let{from:a,to:l}=s;if(a==l){let p=e(a);p<a?(t="delete.backward",p=um(r,p,!1)):p>a&&(t="delete.forward",p=um(r,p,!0)),a=Math.min(a,p),l=Math.max(l,p)}else a=um(r,a,!1),l=um(r,l,!0);return a==l?{range:s}:{changes:{from:a,to:l},range:Pr.cursor(a)}});return i.changes.empty?!1:(r.dispatch(n.update(i,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?Qn.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function um(r,e,t){if(r instanceof Qn)for(let n of r.state.facet(Qn.atomicRanges).map(i=>i(r)))n.between(e,e,(i,s)=>{i<e&&s>e&&(e=t?s:i)});return e}const aE=(r,e)=>Hg(r,t=>{let{state:n}=r,i=n.doc.lineAt(t),s,a;if(!e&&t>i.from&&t<i.from+200&&!/[^ \t]/.test(s=i.text.slice(0,t-i.from))){if(s[s.length-1]==" ")return t-1;let l=xd(s,n.tabSize),p=l%rg(n)||rg(n);for(let d=0;d<p&&s[s.length-1-d]==" ";d++)t--;a=t}else a=ua(i.text,t-i.from,e,e)+i.from,a==t&&i.number!=(e?n.doc.lines:1)&&(a+=e?1:-1);return a}),cD=r=>aE(r,!1),uE=r=>aE(r,!0),lE=(r,e)=>Hg(r,t=>{let n=t,{state:i}=r,s=i.doc.lineAt(n),a=i.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==t&&s.number!=(e?i.doc.lines:1)&&(n+=e?1:-1);break}let p=ua(s.text,n-s.from,e)+s.from,d=s.text.slice(Math.min(n,p)-s.from,Math.max(n,p)-s.from),g=a(d);if(l!=null&&g!=l)break;(d!=" "||n!=t)&&(l=g),n=p}return n}),cE=r=>lE(r,!1),uB=r=>lE(r,!0),hE=r=>Hg(r,e=>{let t=r.lineBlockAt(e).to;return e<t?t:Math.min(r.state.doc.length,e+1)}),lB=r=>Hg(r,e=>{let t=r.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),cB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ys.of(["",""])},range:Pr.cursor(n.from)}));return e(r.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},hB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>{if(!n.empty||n.from==0||n.from==r.doc.length)return{range:n};let i=n.from,s=r.doc.lineAt(i),a=i==s.from?i-1:ua(s.text,i-s.from,!1)+s.from,l=i==s.to?i+1:ua(s.text,i-s.from,!0)+s.from;return{changes:{from:a,to:l,insert:r.doc.slice(i,l).append(r.doc.slice(a,i))},range:Pr.cursor(l)}});return t.changes.empty?!1:(e(r.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Jg(r){let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.from),s=r.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=r.doc.lineAt(n.to-1)),t>=i.number){let a=e[e.length-1];a.to=s.to,a.ranges.push(n)}else e.push({from:i.from,to:s.to,ranges:[n]});t=s.number+1}return e}function pE(r,e,t){if(r.readOnly)return!1;let n=[],i=[];for(let s of Jg(r)){if(t?s.to==r.doc.length:s.from==0)continue;let a=r.doc.lineAt(t?s.to+1:s.from-1),l=a.length+1;if(t){n.push({from:s.to,to:a.to},{from:s.from,insert:a.text+r.lineBreak});for(let p of s.ranges)i.push(Pr.range(Math.min(r.doc.length,p.anchor+l),Math.min(r.doc.length,p.head+l)))}else{n.push({from:a.from,to:s.from},{from:s.to,insert:r.lineBreak+a.text});for(let p of s.ranges)i.push(Pr.range(p.anchor-l,p.head-l))}}return n.length?(e(r.update({changes:n,scrollIntoView:!0,selection:Pr.create(i,r.selection.mainIndex),userEvent:"move.line"})),!0):!1}const pB=({state:r,dispatch:e})=>pE(r,e,!1),fB=({state:r,dispatch:e})=>pE(r,e,!0);function fE(r,e,t){if(r.readOnly)return!1;let n=[];for(let i of Jg(r))t?n.push({from:i.from,insert:r.doc.slice(i.from,i.to)+r.lineBreak}):n.push({from:i.to,insert:r.lineBreak+r.doc.slice(i.from,i.to)});return e(r.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const dB=({state:r,dispatch:e})=>fE(r,e,!1),mB=({state:r,dispatch:e})=>fE(r,e,!0),gB=r=>{if(r.state.readOnly)return!1;let{state:e}=r,t=e.changes(Jg(e).map(({from:i,to:s})=>(i>0?i--:s<e.doc.length&&s++,{from:i,to:s}))),n=sf(e.selection,i=>r.moveVertically(i,!0)).map(t);return r.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function yB(r,e){if(/\(\)|\[\]|\{\}/.test(r.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=ho(r).resolveInner(e),n=t.childBefore(e),i=t.childAfter(e),s;return n&&i&&n.to<=e&&i.from>=e&&(s=n.type.prop(Hi.closedBy))&&s.indexOf(i.name)>-1&&r.doc.lineAt(n.to).from==r.doc.lineAt(i.from).from?{from:n.to,to:i.from}:null}const DB=dE(!1),OB=dE(!0);function dE(r){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(i=>{let{from:s,to:a}=i,l=e.doc.lineAt(s),p=!r&&s==a&&yB(e,s);r&&(s=a=(a<=l.to?l:e.doc.lineAt(a)).to);let d=new zg(e,{simulateBreak:s,simulateDoubleBreak:!!p}),g=gO(d,s);for(g==null&&(g=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);a<l.to&&/\s/.test(l.text[a-l.from]);)a++;p?{from:s,to:a}=p:s>l.from&&s<l.from+100&&!/\S/.test(l.text.slice(0,s))&&(s=l.from);let b=["",ud(e,g)];return p&&b.push(ud(e,d.lineIndent(l.from,-1))),{changes:{from:s,to:a,insert:ys.of(b)},range:Pr.cursor(s+1+b[1].length)}});return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function bO(r,e){let t=-1;return r.changeByRange(n=>{let i=[];for(let a=n.from;a<=n.to;){let l=r.doc.lineAt(a);l.number>t&&(n.empty||n.to>l.from)&&(e(l,i,n),t=l.number),a=l.to+1}let s=r.changes(i);return{changes:i,range:Pr.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const xB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=Object.create(null),n=new zg(r,{overrideIndentation:s=>{let a=t[s];return a??-1}}),i=bO(r,(s,a,l)=>{let p=gO(n,s.from);if(p==null)return;/\S/.test(s.text)||(p=0);let d=/^\s*/.exec(s.text)[0],g=ud(r,p);(d!=g||l.from<s.from+d.length)&&(t[s.from]=p,a.push({from:s.from,to:s.from+d.length,insert:g}))});return i.changes.empty||e(r.update(i,{userEvent:"indent"})),!0},bB=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(bO(r,(t,n)=>{n.push({from:t.from,insert:r.facet(qg)})}),{userEvent:"input.indent"})),!0),vB=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(bO(r,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let s=xd(i,r.tabSize),a=0,l=ud(r,Math.max(0,s-rg(r)));for(;a<i.length&&a<l.length&&i.charCodeAt(a)==l.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+i.length,insert:l.slice(a)})}),{userEvent:"delete.dedent"})),!0),CB=[{key:"Ctrl-b",run:q2,shift:eE,preventDefault:!0},{key:"Ctrl-f",run:z2,shift:tE},{key:"Ctrl-p",run:Y2,shift:iE},{key:"Ctrl-n",run:G2,shift:sE},{key:"Ctrl-a",run:U$,shift:rB},{key:"Ctrl-e",run:q$,shift:nB},{key:"Ctrl-d",run:uE},{key:"Ctrl-h",run:cD},{key:"Ctrl-k",run:hE},{key:"Ctrl-Alt-h",run:cE},{key:"Ctrl-o",run:cB},{key:"Ctrl-t",run:hB},{key:"Ctrl-v",run:lD}],SB=[{key:"ArrowLeft",run:q2,shift:eE,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:N$,shift:Z$,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:X$,shift:eB,preventDefault:!0},{key:"ArrowRight",run:z2,shift:tE,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:I$,shift:Y$,preventDefault:!0},{mac:"Cmd-ArrowRight",run:V$,shift:tB,preventDefault:!0},{key:"ArrowUp",run:Y2,shift:iE,preventDefault:!0},{mac:"Cmd-ArrowUp",run:nb,shift:sb},{mac:"Ctrl-ArrowUp",run:eb,shift:tb},{key:"ArrowDown",run:G2,shift:sE,preventDefault:!0},{mac:"Cmd-ArrowDown",run:ib,shift:ob},{mac:"Ctrl-ArrowDown",run:lD,shift:rb},{key:"PageUp",run:eb,shift:tb},{key:"PageDown",run:lD,shift:rb},{key:"Home",run:L$,shift:K$,preventDefault:!0},{key:"Mod-Home",run:nb,shift:sb},{key:"End",run:j$,shift:J$,preventDefault:!0},{key:"Mod-End",run:ib,shift:ob},{key:"Enter",run:DB},{key:"Mod-a",run:iB},{key:"Backspace",run:cD,shift:cD},{key:"Delete",run:uE},{key:"Mod-Backspace",mac:"Alt-Backspace",run:cE},{key:"Mod-Delete",mac:"Alt-Delete",run:uB},{mac:"Mod-Backspace",run:lB},{mac:"Mod-Delete",run:hE}].concat(CB.map(r=>({mac:r.key,run:r.run,shift:r.shift}))),EB=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:R$,shift:G$},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Q$,shift:H$},{key:"Alt-ArrowUp",run:pB},{key:"Shift-Alt-ArrowUp",run:dB},{key:"Alt-ArrowDown",run:fB},{key:"Shift-Alt-ArrowDown",run:mB},{key:"Escape",run:aB},{key:"Mod-Enter",run:OB},{key:"Alt-l",mac:"Ctrl-l",run:sB},{key:"Mod-i",run:oB,preventDefault:!0},{key:"Mod-[",run:vB},{key:"Mod-]",run:bB},{key:"Mod-Alt-\\",run:xB},{key:"Shift-Mod-k",run:gB},{key:"Shift-Mod-\\",run:W$},{key:"Mod-/",run:m$},{key:"Alt-A",run:y$}].concat(SB);function Qs(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];typeof i=="string"?r.setAttribute(n,i):i!=null&&(r[n]=i)}e++}for(;e<arguments.length;e++)mE(r,arguments[e]);return r}function mE(r,e){if(typeof e=="string")r.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)r.appendChild(e);else if(Array.isArray(e))for(var t=0;t<e.length;t++)mE(r,e[t]);else throw new RangeError("Unsupported child node: "+e)}const ab=typeof String.prototype.normalize=="function"?r=>r.normalize("NFKD"):r=>r;class Hp{constructor(e,t,n=0,i=e.length,s,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=s?l=>s(ab(l)):ab,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Uo(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=YD(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Ha(e);let i=this.normalize(t);for(let s=0,a=n;;s++){let l=i.charCodeAt(s),p=this.match(l,a);if(s==i.length-1){if(p)return this.value=p,this;break}a==n&&s<t.length&&t.charCodeAt(s)==l&&a++}}}match(e,t){let n=null;for(let i=0;i<this.matches.length;i+=2){let s=this.matches[i],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?n={from:this.matches[i+1],to:t+1}:(this.matches[i]++,a=!0)),a||(this.matches.splice(i,2),i-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}}typeof Symbol<"u"&&(Hp.prototype[Symbol.iterator]=function(){return this});const gE={from:-1,to:-1,match:/.*/.exec("")},vO="gm"+(/x/.unicode==null?"":"u");class yE{constructor(e,t,n,i=0,s=e.length){if(this.text=e,this.to=s,this.curLine="",this.done=!1,this.value=gE,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new DE(e,t,n,i,s);this.re=new RegExp(t,vO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.iter=e.iter();let a=e.lineAt(i);this.curLineStart=a.from,this.matchPos=og(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=og(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const q0=new WeakMap;class jp{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let i=q0.get(e);if(!i||i.from>=n||i.to<=t){let l=new jp(t,e.sliceString(t,n));return q0.set(e,l),l}if(i.from==t&&i.to==n)return i;let{text:s,from:a}=i;return a>t&&(s=e.sliceString(t,a)+s,a=t),i.to<n&&(s+=e.sliceString(i.to,n)),q0.set(e,new jp(a,s)),new jp(t,s.slice(t-a,n-a))}}class DE{constructor(e,t,n,i,s){this.text=e,this.to=s,this.done=!1,this.value=gE,this.matchPos=og(e,i),this.re=new RegExp(t,vO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.flat=jp.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=og(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=jp.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(yE.prototype[Symbol.iterator]=DE.prototype[Symbol.iterator]=function(){return this});function wB(r){try{return new RegExp(r,vO),!0}catch{return!1}}function og(r,e){if(e>=r.length)return e;let t=r.lineAt(e),n;for(;e<t.to&&(n=t.text.charCodeAt(e-t.from))>=56320&&n<57344;)e++;return e}function hD(r){let e=Qs("input",{class:"cm-textfield",name:"line"}),t=Qs("form",{class:"cm-gotoLine",onkeydown:i=>{i.keyCode==27?(i.preventDefault(),r.dispatch({effects:ag.of(!1)}),r.focus()):i.keyCode==13&&(i.preventDefault(),n())},onsubmit:i=>{i.preventDefault(),n()}},Qs("label",r.state.phrase("Go to line"),": ",e)," ",Qs("button",{class:"cm-button",type:"submit"},r.state.phrase("go")));function n(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!i)return;let{state:s}=r,a=s.doc.lineAt(s.selection.main.head),[,l,p,d,g]=i,b=d?+d.slice(1):0,S=p?+p:a.number;if(p&&g){let be=S/100;l&&(be=be*(l=="-"?-1:1)+a.number/s.doc.lines),S=Math.round(s.doc.lines*be)}else p&&l&&(S=S*(l=="-"?-1:1)+a.number);let I=s.doc.line(Math.max(1,Math.min(s.doc.lines,S))),H=Pr.cursor(I.from+Math.max(0,Math.min(b,I.length)));r.dispatch({effects:[ag.of(!1),Qn.scrollIntoView(H.from,{y:"center"})],selection:H}),r.focus()}return{dom:t}}const ag=ji.define(),ub=Po.define({create(){return!0},update(r,e){for(let t of e.effects)t.is(ag)&&(r=t.value);return r},provide:r=>id.from(r,e=>e?hD:null)}),AB=r=>{let e=nd(r,hD);if(!e){let t=[ag.of(!0)];r.state.field(ub,!1)==null&&t.push(ji.appendConfig.of([ub,TB])),r.dispatch({effects:t}),e=nd(r,hD)}return e&&e.dom.querySelector("input").focus(),!0},TB=Qn.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),PB={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},OE=qn.define({combine(r){return Sl(r,PB,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function kB(r){let e=[NB,BB];return r&&e.push(OE.of(r)),e}const FB=_i.mark({class:"cm-selectionMatch"}),_B=_i.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function lb(r,e,t,n){return(t==0||r(e.sliceDoc(t-1,t))!=Hs.Word)&&(n==e.doc.length||r(e.sliceDoc(n,n+1))!=Hs.Word)}function $B(r,e,t,n){return r(e.sliceDoc(t,t+1))==Hs.Word&&r(e.sliceDoc(n-1,n))==Hs.Word}const BB=xo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.selectionSet||r.docChanged||r.viewportChanged)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=r.state.facet(OE),{state:t}=r,n=t.selection;if(n.ranges.length>1)return _i.none;let i=n.main,s,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return _i.none;let p=t.wordAt(i.head);if(!p)return _i.none;a=t.charCategorizer(i.head),s=t.sliceDoc(p.from,p.to)}else{let p=i.to-i.from;if(p<e.minSelectionLength||p>200)return _i.none;if(e.wholeWords){if(s=t.sliceDoc(i.from,i.to),a=t.charCategorizer(i.head),!(lb(a,t,i.from,i.to)&&$B(a,t,i.from,i.to)))return _i.none}else if(s=t.sliceDoc(i.from,i.to).trim(),!s)return _i.none}let l=[];for(let p of r.visibleRanges){let d=new Hp(t.doc,s,p.from,p.to);for(;!d.next().done;){let{from:g,to:b}=d.value;if((!a||lb(a,t,g,b))&&(i.empty&&g<=i.from&&b>=i.to?l.push(_B.range(g,b)):(g>=i.to||b<=i.from)&&l.push(FB.range(g,b)),l.length>e.maxMatches))return _i.none}}return _i.set(l)}},{decorations:r=>r.decorations}),NB=Qn.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),IB=({state:r,dispatch:e})=>{let{selection:t}=r,n=Pr.create(t.ranges.map(i=>r.wordAt(i.head)||Pr.cursor(i.head)),t.mainIndex);return n.eq(t)?!1:(e(r.update({selection:n})),!0)};function MB(r,e){let{main:t,ranges:n}=r.selection,i=r.wordAt(t.head),s=i&&i.from==t.from&&i.to==t.to;for(let a=!1,l=new Hp(r.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(a)return null;l=new Hp(r.doc,e,0,Math.max(0,n[n.length-1].from-1)),a=!0}else{if(a&&n.some(p=>p.from==l.value.from))continue;if(s){let p=r.wordAt(l.value.from);if(!p||p.from!=l.value.from||p.to!=l.value.to)continue}return l.value}}const RB=({state:r,dispatch:e})=>{let{ranges:t}=r.selection;if(t.some(s=>s.from===s.to))return IB({state:r,dispatch:e});let n=r.sliceDoc(t[0].from,t[0].to);if(r.selection.ranges.some(s=>r.sliceDoc(s.from,s.to)!=n))return!1;let i=MB(r,n);return i?(e(r.update({selection:r.selection.addRange(Pr.range(i.from,i.to),!1),effects:Qn.scrollIntoView(i.to)})),!0):!1},of=qn.define({combine(r){return Sl(r,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new GB(e),scrollToMatch:e=>Qn.scrollIntoView(e)})}});class xE{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||wB(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?`
`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new XB(this):new jB(this)}getCursor(e,t=0,n){let i=e.doc?e:ms.create({doc:e});return n==null&&(n=i.doc.length),this.regexp?Ap(this,i,t,n):wp(this,i,t,n)}}class bE{constructor(e){this.spec=e}}function wp(r,e,t,n){return new Hp(e.doc,r.unquoted,t,n,r.caseSensitive?void 0:i=>i.toLowerCase(),r.wholeWord?QB(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function QB(r,e){return(t,n,i,s)=>((s>t||s+i.length<n)&&(s=Math.max(0,t-2),i=r.sliceString(s,Math.min(r.length,n+2))),(e(ug(i,t-s))!=Hs.Word||e(lg(i,t-s))!=Hs.Word)&&(e(lg(i,n-s))!=Hs.Word||e(ug(i,n-s))!=Hs.Word))}class jB extends bE{constructor(e){super(e)}nextMatch(e,t,n){let i=wp(this.spec,e,n,e.doc.length).nextOverlapping();return i.done&&(i=wp(this.spec,e,0,t).nextOverlapping()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=n;;){let s=Math.max(t,i-1e4-this.spec.unquoted.length),a=wp(this.spec,e,s,i),l=null;for(;!a.nextOverlapping().done;)l=a.value;if(l)return l;if(s==t)return null;i-=1e4}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=wp(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=wp(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}function Ap(r,e,t,n){return new yE(e.doc,r.search,{ignoreCase:!r.caseSensitive,test:r.wholeWord?LB(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function ug(r,e){return r.slice(ua(r,e,!1),e)}function lg(r,e){return r.slice(e,ua(r,e))}function LB(r){return(e,t,n)=>!n[0].length||(r(ug(n.input,n.index))!=Hs.Word||r(lg(n.input,n.index))!=Hs.Word)&&(r(lg(n.input,n.index+n[0].length))!=Hs.Word||r(ug(n.input,n.index+n[0].length))!=Hs.Word)}class XB extends bE{nextMatch(e,t,n){let i=Ap(this.spec,e,n,e.doc.length).next();return i.done&&(i=Ap(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let s=Math.max(t,n-i*1e4),a=Ap(this.spec,e,s,n),l=null;for(;!a.next().done;)l=a.value;if(l&&(s==t||l.from>s+10))return l;if(s==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n<e.match.length?e.match[n]:t))}matchAll(e,t){let n=Ap(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=Ap(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}const ld=ji.define(),CO=ji.define(),zc=Po.define({create(r){return new z0(pD(r).create(),null)},update(r,e){for(let t of e.effects)t.is(ld)?r=new z0(t.value.create(),r.panel):t.is(CO)&&(r=new z0(r.query,t.value?SO:null));return r},provide:r=>id.from(r,e=>e.panel)});class z0{constructor(e,t){this.query=e,this.panel=t}}const VB=_i.mark({class:"cm-searchMatch"}),UB=_i.mark({class:"cm-searchMatch cm-searchMatch-selected"}),qB=xo.fromClass(class{constructor(r){this.view=r,this.decorations=this.highlight(r.state.field(zc))}update(r){let e=r.state.field(zc);(e!=r.startState.field(zc)||r.docChanged||r.selectionSet||r.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:r,panel:e}){if(!e||!r.spec.valid)return _i.none;let{view:t}=this,n=new Jc;for(let i=0,s=t.visibleRanges,a=s.length;i<a;i++){let{from:l,to:p}=s[i];for(;i<a-1&&p>s[i+1].from-2*250;)p=s[++i].to;r.highlight(t.state,l,p,(d,g)=>{let b=t.state.selection.ranges.some(S=>S.from==d&&S.to==g);n.add(d,g,b?UB:VB)})}return n.finish()}},{decorations:r=>r.decorations});function Fd(r){return e=>{let t=e.state.field(zc,!1);return t&&t.query.spec.valid?r(e,t):SE(e)}}const cg=Fd((r,{query:e})=>{let{to:t}=r.state.selection.main,n=e.nextMatch(r.state,t,t);if(!n)return!1;let i=Pr.single(n.from,n.to),s=r.state.facet(of);return r.dispatch({selection:i,effects:[EO(r,n),s.scrollToMatch(i.main,r)],userEvent:"select.search"}),CE(r),!0}),hg=Fd((r,{query:e})=>{let{state:t}=r,{from:n}=t.selection.main,i=e.prevMatch(t,n,n);if(!i)return!1;let s=Pr.single(i.from,i.to),a=r.state.facet(of);return r.dispatch({selection:s,effects:[EO(r,i),a.scrollToMatch(s.main,r)],userEvent:"select.search"}),CE(r),!0}),zB=Fd((r,{query:e})=>{let t=e.matchAll(r.state,1e3);return!t||!t.length?!1:(r.dispatch({selection:Pr.create(t.map(n=>Pr.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),WB=({state:r,dispatch:e})=>{let t=r.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:n,to:i}=t.main,s=[],a=0;for(let l=new Hp(r.doc,r.sliceDoc(n,i));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(a=s.length),s.push(Pr.range(l.value.from,l.value.to))}return e(r.update({selection:Pr.create(s,a),userEvent:"select.search.matches"})),!0},cb=Fd((r,{query:e})=>{let{state:t}=r,{from:n,to:i}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,n,n);if(!s)return!1;let a=[],l,p,d=[];if(s.from==n&&s.to==i&&(p=t.toText(e.getReplacement(s)),a.push({from:s.from,to:s.to,insert:p}),s=e.nextMatch(t,s.from,s.to),d.push(Qn.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(n).number)+"."))),s){let g=a.length==0||a[0].from>=s.to?0:s.to-s.from-p.length;l=Pr.single(s.from-g,s.to-g),d.push(EO(r,s)),d.push(t.facet(of).scrollToMatch(l.main,r))}return r.dispatch({changes:a,selection:l,effects:d,userEvent:"input.replace"}),!0}),ZB=Fd((r,{query:e})=>{if(r.state.readOnly)return!1;let t=e.matchAll(r.state,1e9).map(i=>{let{from:s,to:a}=i;return{from:s,to:a,insert:e.getReplacement(i)}});if(!t.length)return!1;let n=r.state.phrase("replaced $ matches",t.length)+".";return r.dispatch({changes:t,effects:Qn.announce.of(n),userEvent:"input.replace.all"}),!0});function SO(r){return r.state.facet(of).createPanel(r)}function pD(r,e){var t,n,i,s,a;let l=r.selection.main,p=l.empty||l.to>l.from+100?"":r.sliceDoc(l.from,l.to);if(e&&!p)return e;let d=r.facet(of);return new xE({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:d.literal)?p:p.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:d.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:d.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:d.regexp,wholeWord:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:d.wholeWord})}function vE(r){let e=nd(r,SO);return e&&e.dom.querySelector("[main-field]")}function CE(r){let e=vE(r);e&&e==r.root.activeElement&&e.select()}const SE=r=>{let e=r.state.field(zc,!1);if(e&&e.panel){let t=vE(r);if(t&&t!=r.root.activeElement){let n=pD(r.state,e.query.spec);n.valid&&r.dispatch({effects:ld.of(n)}),t.focus(),t.select()}}else r.dispatch({effects:[CO.of(!0),e?ld.of(pD(r.state,e.query.spec)):ji.appendConfig.of(JB)]});return!0},EE=r=>{let e=r.state.field(zc,!1);if(!e||!e.panel)return!1;let t=nd(r,SO);return t&&t.dom.contains(r.root.activeElement)&&r.focus(),r.dispatch({effects:CO.of(!1)}),!0},YB=[{key:"Mod-f",run:SE,scope:"editor search-panel"},{key:"F3",run:cg,shift:hg,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:cg,shift:hg,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:EE,scope:"editor search-panel"},{key:"Mod-Shift-l",run:WB},{key:"Alt-g",run:AB},{key:"Mod-d",run:RB,preventDefault:!0}];class GB{constructor(e){this.view=e;let t=this.query=e.state.field(zc).query.spec;this.commit=this.commit.bind(this),this.searchField=Qs("input",{value:t.search,placeholder:Xa(e,"Find"),"aria-label":Xa(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Qs("input",{value:t.replace,placeholder:Xa(e,"Replace"),"aria-label":Xa(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Qs("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Qs("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Qs("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function n(i,s,a){return Qs("button",{class:"cm-button",name:i,onclick:s,type:"button"},a)}this.dom=Qs("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,n("next",()=>cg(e),[Xa(e,"next")]),n("prev",()=>hg(e),[Xa(e,"previous")]),n("select",()=>zB(e),[Xa(e,"all")]),Qs("label",null,[this.caseField,Xa(e,"match case")]),Qs("label",null,[this.reField,Xa(e,"regexp")]),Qs("label",null,[this.wordField,Xa(e,"by word")]),...e.state.readOnly?[]:[Qs("br"),this.replaceField,n("replace",()=>cb(e),[Xa(e,"replace")]),n("replaceAll",()=>ZB(e),[Xa(e,"replace all")])],Qs("button",{name:"close",onclick:()=>EE(e),"aria-label":Xa(e,"close"),type:"button"},["×"])])}commit(){let e=new xE({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:ld.of(e)}))}keydown(e){IF(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?hg:cg)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),cb(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(ld)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(of).top}}function Xa(r,e){return r.state.phrase(e)}const lm=30,cm=/[\s\.,:;?!]/;function EO(r,{from:e,to:t}){let n=r.state.doc.lineAt(e),i=r.state.doc.lineAt(t).to,s=Math.max(n.from,e-lm),a=Math.min(i,t+lm),l=r.state.sliceDoc(s,a);if(s!=n.from){for(let p=0;p<lm;p++)if(!cm.test(l[p+1])&&cm.test(l[p])){l=l.slice(p);break}}if(a!=i){for(let p=l.length-1;p>l.length-lm;p--)if(!cm.test(l[p-1])&&cm.test(l[p])){l=l.slice(0,p);break}}return Qn.announce.of(`${r.state.phrase("current match")}. ${l} ${r.state.phrase("on line")} ${n.number}.`)}const HB=Qn.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),JB=[zc,Jh.lowest(qB),HB];class wE{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=ho(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),s=i.search(TE(e,!1));return s<0?null:{from:n+s,to:this.pos,text:i.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function hb(r){let e=Object.keys(r).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function KB(r){let e=Object.create(null),t=Object.create(null);for(let{label:i}of r){e[i[0]]=!0;for(let s=1;s<i.length;s++)t[i[s]]=!0}let n=hb(e)+hb(t)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function AE(r){let e=r.map(i=>typeof i=="string"?{label:i}:i),[t,n]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:KB(e);return i=>{let s=i.matchBefore(n);return s||i.explicit?{from:s?s.from:i.pos,options:e,validFor:t}:null}}function eN(r,e){return t=>{for(let n=ho(t.state).resolveInner(t.pos,-1);n;n=n.parent){if(r.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(t)}}class pb{constructor(e,t,n,i){this.completion=e,this.source=t,this.match=n,this.score=i}}function Wc(r){return r.selection.main.from}function TE(r,e){var t;let{source:n}=r,i=e&&n[0]!="^",s=n[n.length-1]!="$";return!i&&!s?r:new RegExp(`${i?"^":""}(?:${n})${s?"$":""}`,(t=r.flags)!==null&&t!==void 0?t:r.ignoreCase?"i":"")}const PE=ac.define();function tN(r,e,t,n){let{main:i}=r.selection,s=t-i.from,a=n-i.from;return Object.assign(Object.assign({},r.changeByRange(l=>l!=i&&t!=n&&r.sliceDoc(l.from+s,l.from+a)!=r.sliceDoc(t,n)?{range:l}:{changes:{from:l.from+s,to:n==i.from?l.to:l.from+a,insert:e},range:Pr.cursor(l.from+s+e.length)})),{userEvent:"input.complete"})}const fb=new WeakMap;function rN(r){if(!Array.isArray(r))return r;let e=fb.get(r);return e||fb.set(r,e=AE(r)),e}const wO=ji.define(),cd=ji.define();class nN{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=Uo(e,t),i=Ha(n);this.chars.push(n);let s=e.slice(t,t+i),a=s.toUpperCase();this.folded.push(Uo(a==s?s.toLowerCase():a,0)),t+=i}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,!0}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:t,folded:n,any:i,precise:s,byWord:a}=this;if(t.length==1){let Ue=Uo(e,0),Dt=Ha(Ue),pt=Dt==e.length?0:-100;if(Ue!=t[0])if(Ue==n[0])pt+=-200;else return!1;return this.ret(pt,[0,Dt])}let l=e.indexOf(this.pattern);if(l==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let p=t.length,d=0;if(l<0){for(let Ue=0,Dt=Math.min(e.length,200);Ue<Dt&&d<p;){let pt=Uo(e,Ue);(pt==t[d]||pt==n[d])&&(i[d++]=Ue),Ue+=Ha(pt)}if(d<p)return!1}let g=0,b=0,S=!1,I=0,H=-1,be=-1,ke=/[a-z]/.test(e),ge=!0;for(let Ue=0,Dt=Math.min(e.length,200),pt=0;Ue<Dt&&b<p;){let vt=Uo(e,Ue);l<0&&(g<p&&vt==t[g]&&(s[g++]=Ue),I<p&&(vt==t[I]||vt==n[I]?(I==0&&(H=Ue),be=Ue+1,I++):I=0));let Yt,ir=vt<255?vt>=48&&vt<=57||vt>=97&&vt<=122?2:vt>=65&&vt<=90?1:0:(Yt=YD(vt))!=Yt.toLowerCase()?1:Yt!=Yt.toUpperCase()?2:0;(!Ue||ir==1&&ke||pt==0&&ir!=0)&&(t[b]==vt||n[b]==vt&&(S=!0)?a[b++]=Ue:a.length&&(ge=!1)),pt=ir,Ue+=Ha(vt)}return b==p&&a[0]==0&&ge?this.result(-100+(S?-200:0),a,e):I==p&&H==0?this.ret(-200-e.length+(be==e.length?0:-100),[0,be]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):I==p?this.ret(-200+-700-e.length,[H,be]):b==p?this.result(-100+(S?-200:0)+-700+(ge?0:-1100),a,e):t.length==2?!1:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[],s=0;for(let a of t){let l=a+(this.astral?Ha(Uo(n,a)):1);s&&i[s-1]==a?i[s-1]=l:(i[s++]=a,i[s++]=l)}return this.ret(e-n.length,i)}}const ka=qn.define({combine(r){return Sl(r,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:iN,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>db(e(n),t(n)),optionClass:(e,t)=>n=>db(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function db(r,e){return r?e?r+" "+e:r:e}function iN(r,e,t,n,i){let s=r.textDirection==ro.RTL,a=s,l=!1,p="top",d,g,b=e.left-i.left,S=i.right-e.right,I=n.right-n.left,H=n.bottom-n.top;if(a&&b<Math.min(I,S)?a=!1:!a&&S<Math.min(I,b)&&(a=!0),I<=(a?b:S))d=Math.max(i.top,Math.min(t.top,i.bottom-H))-e.top,g=Math.min(400,a?b:S);else{l=!0,g=Math.min(400,(s?e.right:i.right-e.left)-30);let be=i.bottom-e.bottom;be>=H||be>e.top?d=t.bottom-e.top:(p="bottom",d=e.bottom-t.top)}return{style:`${p}: ${d}px; max-width: ${g}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function sN(r){let e=r.addToOptions.slice();return r.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,i){let s=document.createElement("span");s.className="cm-completionLabel";let a=t.displayLabel||t.label,l=0;for(let p=0;p<i.length;){let d=i[p++],g=i[p++];d>l&&s.appendChild(document.createTextNode(a.slice(l,d)));let b=s.appendChild(document.createElement("span"));b.appendChild(document.createTextNode(a.slice(d,g))),b.className="cm-completionMatchedText",l=g}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(t){if(!t.detail)return null;let n=document.createElement("span");return n.className="cm-completionDetail",n.textContent=t.detail,n},position:80}),e.sort((t,n)=>t.position-n.position).map(t=>t.render)}function mb(r,e,t){if(r<=t)return{from:0,to:r};if(e<0&&(e=0),e<=r>>1){let i=Math.floor(e/t);return{from:i*t,to:(i+1)*t}}let n=Math.floor((r-e)/t);return{from:r-(n+1)*t,to:r-n*t}}class oN{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:p=>this.placeInfo(p),key:this},this.space=null,this.currentClass="";let i=e.state.field(t),{options:s,selected:a}=i.open,l=e.state.facet(ka);this.optionContent=sN(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=mb(s.length,a,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",p=>{for(let d=p.target,g;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(g=/-(\d+)$/.exec(d.id))&&+g[1]<s.length){this.applyCompletion(e,s[+g[1]]),p.preventDefault();return}}),this.dom.addEventListener("focusout",p=>{let d=e.state.field(this.stateField,!1);d&&d.tooltip&&e.state.facet(ka).closeOnBlur&&p.relatedTarget!=e.contentDOM&&e.dispatch({effects:cd.of(null)})}),this.list=this.dom.appendChild(this.createListBox(s,i.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){var t,n,i;let s=e.state.field(this.stateField),a=e.startState.field(this.stateField);this.updateTooltipClass(e.state),s!=a&&(this.updateSel(),((t=s.open)===null||t===void 0?void 0:t.disabled)!=((n=a.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((i=s.open)===null||i===void 0)&&i.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=mb(t.options.length,t.selected,this.view.state.facet(ka).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s=typeof i=="string"?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,n)}).catch(a=>wu(this.view.state,a,"completion info")):this.addInfoPane(s,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:s}=e;n.appendChild(i),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)n.nodeName!="LI"||!n.id?i--:i==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&uN(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let a=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(s.bottom,t.bottom)-10||i.bottom<Math.max(s.top,t.top)+10?null:this.view.state.facet(ka).positionInfo(this.view,t,i,n,s)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){const i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));let s=null;for(let a=n.from;a<n.to;a++){let{completion:l,match:p}=e[a],{section:d}=l;if(d){let S=typeof d=="string"?d:d.name;if(S!=s&&(a>n.from||n.from==0))if(s=S,typeof d!="string"&&d.header)i.appendChild(d.header(d));else{let I=i.appendChild(document.createElement("completion-section"));I.textContent=S}}const g=i.appendChild(document.createElement("li"));g.id=t+"-"+a,g.setAttribute("role","option");let b=this.optionClass(l);b&&(g.className=b);for(let S of this.optionContent){let I=S(l,this.view.state,p);I&&g.appendChild(I)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function aN(r,e){return t=>new oN(t,r,e)}function uN(r,e){let t=r.getBoundingClientRect(),n=e.getBoundingClientRect();n.top<t.top?r.scrollTop-=t.top-n.top:n.bottom>t.bottom&&(r.scrollTop+=n.bottom-t.bottom)}function gb(r){return(r.boost||0)*100+(r.apply?10:0)+(r.info?5:0)+(r.type?1:0)}function lN(r,e){let t=[],n=null,i=p=>{t.push(p);let{section:d}=p.completion;if(d){n||(n=[]);let g=typeof d=="string"?d:d.name;n.some(b=>b.name==g)||n.push(typeof d=="string"?{name:g}:d)}};for(let p of r)if(p.hasResult()){let d=p.result.getMatch;if(p.result.filter===!1)for(let g of p.result.options)i(new pb(g,p.source,d?d(g):[],1e9-t.length));else{let g=new nN(e.sliceDoc(p.from,p.to));for(let b of p.result.options)if(g.match(b.label)){let S=b.displayLabel?d?d(b,g.matched):[]:g.matched;i(new pb(b,p.source,S,g.score+(b.boost||0)))}}}if(n){let p=Object.create(null),d=0,g=(b,S)=>{var I,H;return((I=b.rank)!==null&&I!==void 0?I:1e9)-((H=S.rank)!==null&&H!==void 0?H:1e9)||(b.name<S.name?-1:1)};for(let b of n.sort(g))d-=1e5,p[b.name]=d;for(let b of t){let{section:S}=b.completion;S&&(b.score+=p[typeof S=="string"?S:S.name])}}let s=[],a=null,l=e.facet(ka).compareCompletions;for(let p of t.sort((d,g)=>g.score-d.score||l(d.completion,g.completion))){let d=p.completion;!a||a.label!=d.label||a.detail!=d.detail||a.type!=null&&d.type!=null&&a.type!=d.type||a.apply!=d.apply||a.boost!=d.boost?s.push(p):gb(p.completion)>gb(a)&&(s[s.length-1]=p),a=p.completion}return s}class Fp{constructor(e,t,n,i,s,a){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=i,this.selected=s,this.disabled=a}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new Fp(this.options,yb(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,s){let a=lN(e,t);if(!a.length)return i&&e.some(p=>p.state==1)?new Fp(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let l=t.facet(ka).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let p=i.options[i.selected].completion;for(let d=0;d<a.length;d++)if(a[d].completion==p){l=d;break}}return new Fp(a,yb(n,l),{pos:e.reduce((p,d)=>d.hasResult()?Math.min(p,d.from):p,1e8),create:aN(qa,_E),above:s.aboveCursor},i?i.timestamp:Date.now(),l,!1)}map(e){return new Fp(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class pg{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new pg(pN,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(ka),s=(n.override||t.languageDataAt("autocomplete",Wc(t)).map(rN)).map(l=>(this.active.find(d=>d.source==l)||new Ta(l,this.active.some(d=>d.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,p)=>l==this.active[p])&&(s=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!cN(s,this.active)?a=Fp.build(s,t,this.id,a,n):a&&a.disabled&&!s.some(l=>l.state==1)&&(a=null),!a&&s.every(l=>l.state!=1)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new Ta(l.source,0):l));for(let l of e.effects)l.is(FE)&&(a=a&&a.setSelected(l.value,this.id));return s==this.active&&a==this.open?this:new pg(s,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:hN}}function cN(r,e){if(r==e)return!0;for(let t=0,n=0;;){for(;t<r.length&&!r[t].hasResult;)t++;for(;n<e.length&&!e[n].hasResult;)n++;let i=t==r.length,s=n==e.length;if(i||s)return i==s;if(r[t++].result!=e[n++].result)return!1}}const hN={"aria-autocomplete":"list"};function yb(r,e){let t={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":r};return e>-1&&(t["aria-activedescendant"]=r+"-"+e),t}const pN=[];function fD(r){return r.isUserEvent("input.type")?"input":r.isUserEvent("delete.backward")?"delete":null}class Ta{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=fD(e),i=this;n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&i.state!=0&&(i=new Ta(i.source,0));for(let s of e.effects)if(s.is(wO))i=new Ta(i.source,1,s.value?Wc(e.state):-1);else if(s.is(cd))i=new Ta(i.source,0);else if(s.is(kE))for(let a of s.value)a.source==i.source&&(i=a);return i}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new Ta(this.source,1)}handleChange(e){return e.changes.touchesRange(Wc(e.startState))?new Ta(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ta(this.source,this.state,e.mapPos(this.explicitPos))}}class Lp extends Ta{constructor(e,t,n,i,s){super(e,2,t),this.result=n,this.from=i,this.to=s}hasResult(){return!0}handleUserEvent(e,t,n){var i;let s=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),l=Wc(e.state);if((this.explicitPos<0?l<=s:l<this.from)||l>a||t=="delete"&&Wc(e.startState)==this.from)return new Ta(this.source,t=="input"&&n.activateOnTyping?1:0);let p=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),d;return fN(this.result.validFor,e.state,s,a)?new Lp(this.source,p,this.result,s,a):this.result.update&&(d=this.result.update(this.result,s,a,new wE(e.state,l,p>=0)))?new Lp(this.source,p,d,d.from,(i=d.to)!==null&&i!==void 0?i:Wc(e.state)):new Ta(this.source,1,p)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ta(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Lp(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function fN(r,e,t,n){if(!r)return!1;let i=e.sliceDoc(t,n);return typeof r=="function"?r(i,t,n,e):TE(r,!0).test(i)}const kE=ji.define({map(r,e){return r.map(t=>t.map(e))}}),FE=ji.define(),qa=Po.define({create(){return pg.start()},update(r,e){return r.update(e)},provide:r=>[sO.from(r,e=>e.tooltip),Qn.contentAttributes.from(r,e=>e.attrs)]});function _E(r,e){const t=e.completion.apply||e.completion.label;let n=r.state.field(qa).active.find(i=>i.source==e.source);return n instanceof Lp?(typeof t=="string"?r.dispatch(Object.assign(Object.assign({},tN(r.state,t,n.from,n.to)),{annotations:PE.of(e.completion)})):t(r,e.completion,n.from,n.to),!0):!1}function hm(r,e="option"){return t=>{let n=t.state.field(qa,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<t.state.facet(ka).interactionDelay)return!1;let i=1,s;e=="page"&&(s=s2(t,n.open.tooltip))&&(i=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:a}=n.open.options,l=n.open.selected>-1?n.open.selected+i*(r?1:-1):r?0:a-1;return l<0?l=e=="page"?0:a-1:l>=a&&(l=e=="page"?a-1:0),t.dispatch({effects:FE.of(l)}),!0}}const $E=r=>{let e=r.state.field(qa,!1);return r.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<r.state.facet(ka).interactionDelay?!1:_E(r,e.open.options[e.open.selected])},dN=r=>r.state.field(qa,!1)?(r.dispatch({effects:wO.of(!0)}),!0):!1,mN=r=>{let e=r.state.field(qa,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(r.dispatch({effects:cd.of(null)}),!0)};class gN{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Db=50,yN=50,DN=1e3,ON=xo.fromClass(class{constructor(r){this.view=r,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of r.state.field(qa).active)e.state==1&&this.startQuery(e)}update(r){let e=r.state.field(qa);if(!r.selectionSet&&!r.docChanged&&r.startState.field(qa)==e)return;let t=r.transactions.some(n=>(n.selection||n.docChanged)&&!fD(n));for(let n=0;n<this.running.length;n++){let i=this.running[n];if(t||i.updates.length+r.transactions.length>yN&&Date.now()-i.time>DN){for(let s of i.context.abortListeners)try{s()}catch(a){wu(this.view.state,a)}i.context.abortListeners=null,this.running.splice(n--,1)}else i.updates.push(...r.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(i=>i.active.source==n.source))?setTimeout(()=>this.startUpdate(),Db):-1,this.composing!=0)for(let n of r.transactions)fD(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:r}=this.view,e=r.field(qa);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(r){let{state:e}=this.view,t=Wc(e),n=new wE(e,t,r.explicitPos==t),i=new gN(r,n);this.running.push(i),Promise.resolve(r.source(n)).then(s=>{i.context.aborted||(i.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:cd.of(null)}),wu(this.view.state,s)})}scheduleAccept(){this.running.every(r=>r.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Db))}accept(){var r;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(ka);for(let n=0;n<this.running.length;n++){let i=this.running[n];if(i.done===void 0)continue;if(this.running.splice(n--,1),i.done){let a=new Lp(i.active.source,i.active.explicitPos,i.done,i.done.from,(r=i.done.to)!==null&&r!==void 0?r:Wc(i.updates.length?i.updates[0].startState:this.view.state));for(let l of i.updates)a=a.update(l,t);if(a.hasResult()){e.push(a);continue}}let s=this.view.state.field(qa).active.find(a=>a.source==i.active.source);if(s&&s.state==1)if(i.done==null){let a=new Ta(i.active.source,0);for(let l of i.updates)a=a.update(l,t);a.state!=1&&e.push(a)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:kE.of(e)})}},{eventHandlers:{blur(r){let e=this.view.state.field(qa,!1);if(e&&e.tooltip&&this.view.state.facet(ka).closeOnBlur){let t=e.open&&s2(this.view,e.open.tooltip);(!t||!t.dom.contains(r.relatedTarget))&&this.view.dispatch({effects:cd.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:wO.of(!1)}),20),this.composing=0}}}),BE=Qn.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"''"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class xN{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class AO{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,zo.TrackDel),n=e.mapPos(this.to,1,zo.TrackDel);return t==null||n==null?null:new AO(this.field,t,n)}}class TO{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],s=e.doc.lineAt(t),a=/^\s*/.exec(s.text)[0];for(let p of this.lines){if(n.length){let d=a,g=/^\t*/.exec(p)[0].length;for(let b=0;b<g;b++)d+=e.facet(qg);i.push(t+d.length-g),p=d+p.slice(g)}n.push(p),t+=p.length+1}let l=this.fieldPositions.map(p=>new AO(p.field,i[p.line]+p.from,i[p.line]+p.to));return{text:n,ranges:l}}static parse(e){let t=[],n=[],i=[],s;for(let a of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(a);){let l=s[1]?+s[1]:null,p=s[2]||s[3]||"",d=-1;for(let g=0;g<t.length;g++)(l!=null?t[g].seq==l:p&&t[g].name==p)&&(d=g);if(d<0){let g=0;for(;g<t.length&&(l==null||t[g].seq!=null&&t[g].seq<l);)g++;t.splice(g,0,{seq:l,name:p}),d=g;for(let b of i)b.field>=d&&b.field++}i.push(new xN(d,n.length,s.index,s.index+p.length)),a=a.slice(0,s.index)+p+a.slice(s.index+s[0].length)}for(let l;l=/\\([{}])/.exec(a);){a=a.slice(0,l.index)+l[1]+a.slice(l.index+l[0].length);for(let p of i)p.line==n.length&&p.from>l.index&&(p.from--,p.to--)}n.push(a)}return new TO(n,i)}}let bN=_i.widget({widget:new class extends oh{toDOM(){let r=document.createElement("span");return r.className="cm-snippetFieldPosition",r}ignoreEvent(){return!1}}}),vN=_i.mark({class:"cm-snippetField"});class af{constructor(e,t){this.ranges=e,this.active=t,this.deco=_i.set(e.map(n=>(n.from==n.to?bN:vN).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new af(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const _d=ji.define({map(r,e){return r&&r.map(e)}}),CN=ji.define(),hd=Po.define({create(){return null},update(r,e){for(let t of e.effects){if(t.is(_d))return t.value;if(t.is(CN)&&r)return new af(r.ranges,t.value)}return r&&e.docChanged&&(r=r.map(e.changes)),r&&e.selection&&!r.selectionInsideField(e.selection)&&(r=null),r},provide:r=>Qn.decorations.from(r,e=>e?e.deco:_i.none)});function PO(r,e){return Pr.create(r.filter(t=>t.field==e).map(t=>Pr.range(t.from,t.to)))}function SN(r){let e=TO.parse(r);return(t,n,i,s)=>{let{text:a,ranges:l}=e.instantiate(t.state,i),p={changes:{from:i,to:s,insert:ys.of(a)},scrollIntoView:!0,annotations:n?PE.of(n):void 0};if(l.length&&(p.selection=PO(l,0)),l.length>1){let d=new af(l,0),g=p.effects=[_d.of(d)];t.state.field(hd,!1)===void 0&&g.push(ji.appendConfig.of([hd,PN,kN,BE]))}t.dispatch(t.state.update(p))}}function NE(r){return({state:e,dispatch:t})=>{let n=e.field(hd,!1);if(!n||r<0&&n.active==0)return!1;let i=n.active+r,s=r>0&&!n.ranges.some(a=>a.field==i+r);return t(e.update({selection:PO(n.ranges,i),effects:_d.of(s?null:new af(n.ranges,i))})),!0}}const EN=({state:r,dispatch:e})=>r.field(hd,!1)?(e(r.update({effects:_d.of(null)})),!0):!1,wN=NE(1),AN=NE(-1),TN=[{key:"Tab",run:wN,shift:AN},{key:"Escape",run:EN}],Ob=qn.define({combine(r){return r.length?r[0]:TN}}),PN=Jh.highest(Cd.compute([Ob],r=>r.facet(Ob)));function Aa(r,e){return Object.assign(Object.assign({},e),{apply:SN(r)})}const kN=Qn.domEventHandlers({mousedown(r,e){let t=e.state.field(hd,!1),n;if(!t||(n=e.posAtCoords({x:r.clientX,y:r.clientY}))==null)return!1;let i=t.ranges.find(s=>s.from<=n&&s.to>=n);return!i||i.field==t.active?!1:(e.dispatch({selection:PO(t.ranges,i.field),effects:_d.of(t.ranges.some(s=>s.field>i.field)?new af(t.ranges,i.field):null)}),!0)}}),pd={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Mh=ji.define({map(r,e){let t=e.mapPos(r,-1,zo.TrackAfter);return t??void 0}}),kO=new class extends Uh{};kO.startSide=1;kO.endSide=-1;const IE=Po.define({create(){return Ss.empty},update(r,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(r=Ss.empty)}r=r.map(e.changes);for(let t of e.effects)t.is(Mh)&&(r=r.update({add:[kO.range(t.value,t.value+1)]}));return r}});function FN(){return[$N,IE]}const W0="()[]{}<>";function ME(r){for(let e=0;e<W0.length;e+=2)if(W0.charCodeAt(e)==r)return W0.charAt(e+1);return YD(r<128?r:r+1)}function RE(r,e){return r.languageDataAt("closeBrackets",e)[0]||pd}const _N=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),$N=Qn.inputHandler.of((r,e,t,n)=>{if((_N?r.composing:r.compositionStarted)||r.state.readOnly)return!1;let i=r.state.selection.main;if(n.length>2||n.length==2&&Ha(Uo(n,0))==1||e!=i.from||t!=i.to)return!1;let s=IN(r.state,n);return s?(r.dispatch(s),!0):!1}),BN=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let n=RE(r,r.selection.main.head).brackets||pd.brackets,i=null,s=r.changeByRange(a=>{if(a.empty){let l=MN(r.doc,a.head);for(let p of n)if(p==l&&Kg(r.doc,a.head)==ME(Uo(p,0)))return{changes:{from:a.head-p.length,to:a.head+p.length},range:Pr.cursor(a.head-p.length)}}return{range:i=a}});return i||e(r.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},NN=[{key:"Backspace",run:BN}];function IN(r,e){let t=RE(r,r.selection.main.head),n=t.brackets||pd.brackets;for(let i of n){let s=ME(Uo(i,0));if(e==i)return s==i?jN(r,i,n.indexOf(i+i+i)>-1,t):RN(r,i,s,t.before||pd.before);if(e==s&&QE(r,r.selection.main.from))return QN(r,i,s)}return null}function QE(r,e){let t=!1;return r.field(IE).between(0,r.doc.length,n=>{n==e&&(t=!0)}),t}function Kg(r,e){let t=r.sliceString(e,e+2);return t.slice(0,Ha(Uo(t,0)))}function MN(r,e){let t=r.sliceString(e-2,e);return Ha(Uo(t,0))==t.length?t:t.slice(1)}function RN(r,e,t,n){let i=null,s=r.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:t,from:a.to}],effects:Mh.of(a.to+e.length),range:Pr.range(a.anchor+e.length,a.head+e.length)};let l=Kg(r.doc,a.head);return!l||/\s/.test(l)||n.indexOf(l)>-1?{changes:{insert:e+t,from:a.head},effects:Mh.of(a.head+e.length),range:Pr.cursor(a.head+e.length)}:{range:i=a}});return i?null:r.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function QN(r,e,t){let n=null,i=r.changeByRange(s=>s.empty&&Kg(r.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:Pr.cursor(s.head+t.length)}:n={range:s});return n?null:r.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function jN(r,e,t,n){let i=n.stringPrefixes||pd.stringPrefixes,s=null,a=r.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:e,from:l.to}],effects:Mh.of(l.to+e.length),range:Pr.range(l.anchor+e.length,l.head+e.length)};let p=l.head,d=Kg(r.doc,p),g;if(d==e){if(xb(r,p))return{changes:{insert:e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)};if(QE(r,p)){let S=t&&r.sliceDoc(p,p+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:p,to:p+S.length,insert:S},range:Pr.cursor(p+S.length)}}}else{if(t&&r.sliceDoc(p-2*e.length,p)==e+e&&(g=bb(r,p-2*e.length,i))>-1&&xb(r,g))return{changes:{insert:e+e+e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)};if(r.charCategorizer(p)(d)!=Hs.Word&&bb(r,p,i)>-1&&!LN(r,p,e,i))return{changes:{insert:e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)}}return{range:s=l}});return s?null:r.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function xb(r,e){let t=ho(r).resolveInner(e+1);return t.parent&&t.from==e}function LN(r,e,t,n){let i=ho(r).resolveInner(e,-1),s=n.reduce((a,l)=>Math.max(a,l.length),0);for(let a=0;a<5;a++){let l=r.sliceDoc(i.from,Math.min(i.to,i.from+t.length+s)),p=l.indexOf(t);if(!p||p>-1&&n.indexOf(l.slice(0,p))>-1){let g=i.firstChild;for(;g&&g.from==i.from&&g.to-g.from>t.length+p;){if(r.sliceDoc(g.to-t.length,g.to)==t)return!1;g=g.firstChild}return!0}let d=i.to==e&&i.parent;if(!d)break;i=d}return!1}function bb(r,e,t){let n=r.charCategorizer(e);if(n(r.sliceDoc(e-1,e))!=Hs.Word)return e;for(let i of t){let s=e-i.length;if(r.sliceDoc(s,e)==i&&n(r.sliceDoc(s-1,s))!=Hs.Word)return s}return-1}function XN(r={}){return[qa,ka.of(r),ON,VN,BE]}const FO=[{key:"Ctrl-Space",run:dN},{key:"Escape",run:mN},{key:"ArrowDown",run:hm(!0)},{key:"ArrowUp",run:hm(!1)},{key:"PageDown",run:hm(!0,"page")},{key:"PageUp",run:hm(!1,"page")},{key:"Enter",run:$E}],VN=Jh.highest(Cd.computeN([ka],r=>r.facet(ka).defaultKeymap?[FO]:[]));class UN{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Bh{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,s=n.facet(XE).markerFilter;s&&(i=s(i));let a=_i.set(i.map(l=>l.from==l.to||l.from==l.to-1&&n.doc.lineAt(l.from).to==l.from?_i.widget({widget:new KN(l),diagnostic:l}).range(l.from):_i.mark({attributes:{class:"cm-lintRange cm-lintRange-"+l.severity+(l.markClass?" "+l.markClass:"")},diagnostic:l}).range(l.from,l.to)),!0);return new Bh(a,t,Jp(a))}}function Jp(r,e=null,t=0){let n=null;return r.between(t,1e9,(i,s,{spec:a})=>{if(!(e&&a.diagnostic!=e))return n=new UN(i,s,a.diagnostic),!1}),n}function qN(r,e){let t=r.startState.doc.lineAt(e.pos);return!!(r.effects.some(n=>n.is(jE))||r.changes.touchesRange(t.from,t.to))}function zN(r,e){return r.field(Wa,!1)?e:e.concat(ji.appendConfig.of(r8))}const jE=ji.define(),_O=ji.define(),LE=ji.define(),Wa=Po.define({create(){return new Bh(_i.none,null,null)},update(r,e){if(e.docChanged){let t=r.diagnostics.map(e.changes),n=null;if(r.selected){let i=e.changes.mapPos(r.selected.from,1);n=Jp(t,r.selected.diagnostic,i)||Jp(t,null,i)}r=new Bh(t,r.panel,n)}for(let t of e.effects)t.is(jE)?r=Bh.init(t.value,r.panel,e.state):t.is(_O)?r=new Bh(r.diagnostics,t.value?e0.open:null,r.selected):t.is(LE)&&(r=new Bh(r.diagnostics,r.panel,t.value));return r},provide:r=>[id.from(r,e=>e.panel),Qn.decorations.from(r,e=>e.diagnostics)]}),WN=_i.mark({class:"cm-lintRange cm-lintRange-active"});function ZN(r,e,t){let{diagnostics:n}=r.state.field(Wa),i=[],s=2e8,a=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(p,d,{spec:g})=>{e>=p&&e<=d&&(p==d||(e>p||t>0)&&(e<d||t<0))&&(i.push(g.diagnostic),s=Math.min(p,s),a=Math.max(d,a))});let l=r.state.facet(XE).tooltipFilter;return l&&(i=l(i)),i.length?{pos:s,end:a,above:r.state.doc.lineAt(s).to<a,create(){return{dom:YN(r,i)}}}:null}function YN(r,e){return Qs("ul",{class:"cm-tooltip-lint"},e.map(t=>UE(r,t,!1)))}const GN=r=>{let e=r.state.field(Wa,!1);(!e||!e.panel)&&r.dispatch({effects:zN(r.state,[_O.of(!0)])});let t=nd(r,e0.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},vb=r=>{let e=r.state.field(Wa,!1);return!e||!e.panel?!1:(r.dispatch({effects:_O.of(!1)}),!0)},HN=r=>{let e=r.state.field(Wa,!1);if(!e)return!1;let t=r.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},JN=[{key:"Mod-Shift-m",run:GN,preventDefault:!0},{key:"F8",run:HN}],XE=qn.define({combine(r){return Object.assign({sources:r.map(e=>e.source)},Sl(r.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function VE(r){let e=[];if(r)e:for(let{name:t}of r){for(let n=0;n<t.length;n++){let i=t[n];if(/[a-zA-Z]/.test(i)&&!e.some(s=>s.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function UE(r,e,t){var n;let i=t?VE(e.actions):[];return Qs("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Qs("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((s,a)=>{let l=!1,p=S=>{if(S.preventDefault(),l)return;l=!0;let I=Jp(r.state.field(Wa).diagnostics,e);I&&s.apply(r,I.from,I.to)},{name:d}=s,g=i[a]?d.indexOf(i[a]):-1,b=g<0?d:[d.slice(0,g),Qs("u",d.slice(g,g+1)),d.slice(g+1)];return Qs("button",{type:"button",class:"cm-diagnosticAction",onclick:p,onmousedown:p,"aria-label":` Action: ${d}${g<0?"":` (access key "${i[a]})"`}.`},b)}),e.source&&Qs("div",{class:"cm-diagnosticSource"},e.source))}class KN extends oh{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Qs("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Cb{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=UE(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class e0{constructor(e){this.view=e,this.items=[];let t=i=>{if(i.keyCode==27)vb(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],a=VE(s.actions);for(let l=0;l<a.length;l++)if(a[l].toUpperCase().charCodeAt(0)==i.keyCode){let p=Jp(this.view.state.field(Wa).diagnostics,s);p&&s.actions[l].apply(e,p.from,p.to)}}else return;i.preventDefault()},n=i=>{for(let s=0;s<this.items.length;s++)this.items[s].dom.contains(i.target)&&this.moveSelection(s)};this.list=Qs("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=Qs("div",{class:"cm-panel-lint"},this.list,Qs("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>vb(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Wa).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(Wa),n=0,i=!1,s=null;for(e.between(0,this.view.state.doc.length,(a,l,{spec:p})=>{let d=-1,g;for(let b=n;b<this.items.length;b++)if(this.items[b].diagnostic==p.diagnostic){d=b;break}d<0?(g=new Cb(this.view,p.diagnostic),this.items.splice(n,0,g),i=!0):(g=this.items[d],d>n&&(this.items.splice(n,d-n),i=!0)),t&&g.diagnostic==t.diagnostic?g.dom.hasAttribute("aria-selected")||(g.dom.setAttribute("aria-selected","true"),s=g):g.dom.hasAttribute("aria-selected")&&g.dom.removeAttribute("aria-selected"),n++});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new Cb(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),s?(this.list.setAttribute("aria-activedescendant",s.id),this.view.requestMeasure({key:this,read:()=>({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:l})=>{a.top<l.top?this.list.scrollTop-=l.top-a.top:a.bottom>l.bottom&&(this.list.scrollTop+=a.bottom-l.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(Wa),n=Jp(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:LE.of(n)})}static open(e){return new e0(e)}}function e8(r,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(r)}</svg>')`}function pm(r){return e8(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${r}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const t8=Qn.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:pm("#d11")},".cm-lintRange-warning":{backgroundImage:pm("orange")},".cm-lintRange-info":{backgroundImage:pm("#999")},".cm-lintRange-hint":{backgroundImage:pm("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),r8=[Wa,Qn.decorations.compute([Wa],r=>{let{selected:e,panel:t}=r.field(Wa);return!e||!t||e.from==e.to?_i.none:_i.set([WN.range(e.from,e.to)])}),b3(ZN,{hideOn:qN}),t8],n8=(()=>[k3(),$3(),KF(),E$(),J_(),XF(),WF(),ms.allowMultipleSelections.of(!0),j_(),B2(r$,{fallback:!0}),l$(),FN(),XN(),h3(),d3(),s3(),kB(),Cd.of([...NN,...EB,...YB,...B$,...Y_,...FO,...JN])])();var Sb={};class fg{constructor(e,t,n,i,s,a,l,p,d,g=0,b){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=s,this.score=a,this.buffer=l,this.bufferBase=p,this.curContext=d,this.lookAhead=g,this.parent=b}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new fg(e,[],t,n,n,0,[],0,i?new Eb(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,i=e&65535,{parser:s}=this.p,a=s.dynamicPrecedence(i);if(a&&(this.score+=a),n==0){this.pushState(s.getGoto(this.state,i,!0),this.reducePos),i<s.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,4,!0),this.reduceContext(i,this.reducePos);return}let l=this.stack.length-(n-1)*3-(e&262144?6:0),p=l?this.stack[l-2]:this.p.ranges[0].from,d=this.reducePos-p;d>=2e3&&!(!((t=this.p.parser.nodeSet.types[i])===null||t===void 0)&&t.isAnonymous)&&(p==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=d):this.p.lastBigReductionSize<d&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=p,this.p.lastBigReductionSize=d));let g=l?this.stack[l-1]:0,b=this.bufferBase+this.buffer.length-g;if(i<s.minRepeatTerm||e&131072){let S=s.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,p,S,b+4,!0)}if(e&262144)this.state=this.stack[l];else{let S=this.stack[l-3];this.state=s.getGoto(S,i,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(i,p)}storeNode(e,t,n,i=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let a=this,l=this.buffer.length;if(l==0&&a.parent&&(l=a.bufferBase-a.parent.bufferBase,a=a.parent),l>0&&a.buffer[l-4]==0&&a.buffer[l-1]>-1){if(t==n)return;if(a.buffer[l-2]>=t){a.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=i}}shift(e,t,n){let i=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4);else{let s=e,{parser:a}=this.p;(n>this.pos||t<=a.maxNode)&&(this.pos=n,a.stateFlag(s,1)||(this.reducePos=n)),this.pushState(s,i),this.shiftContext(t,i),t<=a.maxNode&&this.buffer.push(t,i,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new fg(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new i8(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let i=[];for(let s=0,a;s<t.length;s+=2)(a=t[s+1])!=this.state&&this.p.parser.hasAction(a,e)&&i.push(t[s],a);if(this.stack.length<120)for(let s=0;i.length<8&&s<t.length;s+=2){let a=t[s+1];i.some((l,p)=>p&1&&l==a)||i.push(t[s],a)}t=i}let n=[];for(let i=0;i<t.length&&n.length<4;i+=2){let s=t[i+1];if(s==this.state)continue;let a=this.split();a.pushState(s,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(t[i],this.pos),a.score-=200,n.push(a)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,i=t&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;t=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(i,s)=>{if(!t.includes(i))return t.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let l=(a>>19)-s;if(l>1){let p=a&65535,d=this.stack.length-l*3;if(d>=0&&e.getGoto(this.stack[d],p,!1)>=0)return l<<19|65536|p}}else{let l=n(a,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new Eb(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Eb{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var wb;(function(r){r[r.Insert=200]="Insert",r[r.Delete=190]="Delete",r[r.Reduce=100]="Reduce",r[r.MaxNext=4]="MaxNext",r[r.MaxInsertStackDepth=300]="MaxInsertStackDepth",r[r.DampenInsertStackDepth=120]="DampenInsertStackDepth",r[r.MinBigReduction=2e3]="MinBigReduction"})(wb||(wb={}));class i8{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class dg{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new dg(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new dg(this.stack,this.pos,this.index)}}function kf(r,e=Uint16Array){if(typeof r!="string")return r;let t=null;for(let n=0,i=0;n<r.length;){let s=0;for(;;){let a=r.charCodeAt(n++),l=!1;if(a==126){s=65535;break}a>=92&&a--,a>=34&&a--;let p=a-32;if(p>=46&&(p-=46,l=!0),s+=p,l)break;s*=46}t?t[i++]=s:t=new e(s)}return t}class km{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Ab=new km;class s8{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Ab,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,s=this.pos+e;for(;s<n.from;){if(!i)return null;let a=this.ranges[--i];s-=n.from-a.to,n=a}for(;t<0?s>n.to:s>=n.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];s+=a.from-n.to,n=a}return s}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t<this.chunk.length)n=this.pos+e,i=this.chunk.charCodeAt(t);else{let s=this.resolveOffset(e,1);if(s==null)return-1;if(n=s,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let a=this.rangeIndex,l=this.range;for(;l.to<=n;)l=this.ranges[++a];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>l.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Ab,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Xp{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;qE(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Xp.prototype.contextual=Xp.prototype.fallback=Xp.prototype.extend=!1;class mg{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?kf(e):e}token(e,t){let n=e.pos,i=0;for(;;){let s=e.next<0,a=e.resolveOffset(1,1);if(qE(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||i++,a==null)break;e.reset(a,e.token)}i&&(e.reset(n,e.token),e.acceptToken(this.elseToken,i))}}mg.prototype.contextual=Xp.prototype.fallback=Xp.prototype.extend=!1;class iu{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function qE(r,e,t,n,i,s){let a=0,l=1<<n,{dialect:p}=t.p.parser;e:for(;l&r[a];){let d=r[a+1];for(let I=a+3;I<d;I+=2)if((r[I+1]&l)>0){let H=r[I];if(p.allows(H)&&(e.token.value==-1||e.token.value==H||o8(H,e.token.value,i,s))){e.acceptToken(H);break}}let g=e.next,b=0,S=r[a+2];if(e.next<0&&S>b&&r[d+S*3-3]==65535&&r[d+S*3-3]==65535){a=r[d+S*3-1];continue e}for(;b<S;){let I=b+S>>1,H=d+I+(I<<1),be=r[H],ke=r[H+1]||65536;if(g<be)S=I;else if(g>=ke)b=I+1;else{a=r[H+2],e.advance();continue e}}break}}function Tb(r,e,t){for(let n=e,i;(i=r[n])!=65535;n++)if(i==t)return n-e;return-1}function o8(r,e,t,n){let i=Tb(t,n,e);return i<0||Tb(t,n,r)<i}const Ou=typeof process<"u"&&Sb&&/\bparse\b/.test(Sb.LOG);let Z0=null;var Pb;(function(r){r[r.Margin=25]="Margin"})(Pb||(Pb={}));function kb(r,e,t){let n=r.cursor(js.IncludeAnonymous);for(n.moveTo(e);;)if(!(t<0?n.childBefore(e):n.childAfter(e)))for(;;){if((t<0?n.to<e:n.from>e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(r.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:r.length}}class a8{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?kb(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?kb(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=n.children[i],a=this.start[t]+n.positions[i];if(a>e)return this.nextStart=a,null;if(s instanceof no){if(a==e){if(a<this.safeFrom)return null;let l=a+s.length;if(l<=this.safeTo){let p=s.prop(Hi.lookAhead);if(!p||l+p<this.fragment.to)return s}}this.index[t]++,a+s.length>=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+s.length}}}class u8{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new km)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:s}=i,a=i.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,p=0;for(let d=0;d<s.length;d++){if(!(1<<d&a))continue;let g=s[d],b=this.tokens[d];if(!(n&&!g.fallback)&&((g.contextual||b.start!=e.pos||b.mask!=a||b.context!=l)&&(this.updateCachedToken(b,g,e),b.mask=a,b.context=l),b.lookAhead>b.end+25&&(p=Math.max(b.lookAhead,p)),b.value!=0)){let S=t;if(b.extended>-1&&(t=this.addActions(e,b.extended,b.end,t)),t=this.addActions(e,b.value,b.end,t),!g.extend&&(n=b,t>S))break}}for(;this.actions.length>t;)this.actions.pop();return p&&e.setLookAhead(p),!n&&e.pos==this.stream.end&&(n=new km,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new km,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:s}=n.p;for(let a=0;a<s.specialized.length;a++)if(s.specialized[a]==e.value){let l=s.specializers[a](this.stream.read(e.start,e.end),n);if(l>=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let s=0;s<i;s+=3)if(this.actions[s]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:s}=e,{parser:a}=e.p,{data:l}=a;for(let p=0;p<2;p++)for(let d=a.stateSlot(s,p?2:1);;d+=3){if(l[d]==65535)if(l[d+1]==1)d=Jl(l,d+2);else{i==0&&l[d+1]==2&&(i=this.putAction(Jl(l,d+2),t,n,i));break}l[d]==t&&(i=this.putAction(Jl(l,d+1),t,n,i))}return i}}var Fb;(function(r){r[r.Distance=5]="Distance",r[r.MaxRemainingPerStep=3]="MaxRemainingPerStep",r[r.MinBufferLengthPrune=500]="MinBufferLengthPrune",r[r.ForceReduceLimit=10]="ForceReduceLimit",r[r.CutDepth=15e3]="CutDepth",r[r.CutTo=9e3]="CutTo",r[r.MaxLeftAssociativeReductionCount=300]="MaxLeftAssociativeReductionCount",r[r.MaxStackCount=12]="MaxStackCount"})(Fb||(Fb={}));class l8{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new s8(t,i),this.tokens=new u8(e,this.stream),this.topTerm=e.top[1];let{from:s}=i[0];this.stacks=[fg.start(this,e.top[0],s)],this.fragments=n.length&&this.stream.end-s>e.bufferLength*4?new a8(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],i,s;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let l=e[a];for(;;){if(this.tokens.mainToken=null,l.pos>t)n.push(l);else{if(this.advanceStack(l,n,e))continue;{i||(i=[],s=[]),i.push(l);let p=this.tokens.getMainToken(l);s.push(p.value,p.end)}}break}}if(!n.length){let a=i&&h8(i);if(a)return this.stackToTree(a);if(this.parser.strict)throw Ou&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,n);if(a)return this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(n.length>a)for(n.sort((l,p)=>p.score-l.score);n.length>a;)n.pop();n.some(l=>l.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let a=0;a<n.length-1;a++){let l=n[a];for(let p=a+1;p<n.length;p++){let d=n[p];if(l.sameState(d)||l.buffer.length>500&&d.buffer.length>500)if((l.score-d.score||l.buffer.length-d.buffer.length)>0)n.splice(p--,1);else{n.splice(a--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let a=1;a<n.length;a++)n[a].pos<this.minStackPos&&(this.minStackPos=n[a].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:s}=this,a=Ou?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let d=e.curContext&&e.curContext.tracker.strict,g=d?e.curContext.hash:0;for(let b=this.fragments.nodeAt(i);b;){let S=this.parser.nodeSet.types[b.type.id]==b.type?s.getGoto(e.state,b.type.id):-1;if(S>-1&&b.length&&(!d||(b.prop(Hi.contextHash)||0)==g))return e.useNode(b,S),Ou&&console.log(a+this.stackID(e)+` (via reuse of ${s.getName(b.type.id)})`),!0;if(!(b instanceof no)||b.children.length==0||b.positions[0]>0)break;let I=b.children[0];if(I instanceof no&&b.positions[0]==0)b=I;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),Ou&&console.log(a+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let p=this.tokens.getActions(e);for(let d=0;d<p.length;){let g=p[d++],b=p[d++],S=p[d++],I=d==p.length||!n,H=I?e:e.split();if(H.apply(g,b,S),Ou&&console.log(a+this.stackID(H)+` (via ${g&65536?`reduce of ${s.getName(g&65535)}`:"shift"} for ${s.getName(b)} @ ${i}${H==e?"":", split"})`),I)return!0;H.pos>i?t.push(H):n.push(H)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return _b(e,t),!0}}runRecovery(e,t,n){let i=null,s=!1;for(let a=0;a<e.length;a++){let l=e[a],p=t[a<<1],d=t[(a<<1)+1],g=Ou?this.stackID(l)+" -> ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),Ou&&console.log(g+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let b=l.split(),S=g;for(let I=0;b.forceReduce()&&I<10&&(Ou&&console.log(S+this.stackID(b)+" (via force-reduce)"),!this.advanceFully(b,n));I++)Ou&&(S=this.stackID(b)+" -> ");for(let I of l.recoverByInsert(p))Ou&&console.log(g+this.stackID(I)+" (via recover-insert)"),this.advanceFully(I,n);this.stream.end>l.pos?(d==l.pos&&(d++,p=0),l.recoverByDelete(p,d),Ou&&console.log(g+this.stackID(l)+` (via recover-delete ${this.parser.getName(p)})`),_b(l,n)):(!i||i.score<l.score)&&(i=l)}return i}stackToTree(e){return e.close(),no.build({buffer:dg.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(Z0||(Z0=new WeakMap)).get(e);return t||Z0.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function _b(r,e){for(let t=0;t<e.length;t++){let n=e[t];if(n.pos==r.pos&&n.sameState(r)){e[t].score<r.score&&(e[t]=r);return}}e.push(r)}class c8{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}}const Y0=r=>r;class $O{constructor(e){this.start=e.start,this.shift=e.shift||Y0,this.reduce=e.reduce||Y0,this.reuse=e.reuse||Y0,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Yh extends O2{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let l=0;l<e.repeatNodeCount;l++)t.push("");let n=Object.keys(e.topRules).map(l=>e.topRules[l][1]),i=[];for(let l=0;l<t.length;l++)i.push([]);function s(l,p,d){i[l].push([p,p.deserialize(String(d))])}if(e.nodeProps)for(let l of e.nodeProps){let p=l[0];typeof p=="string"&&(p=Hi[p]);for(let d=1;d<l.length;){let g=l[d++];if(g>=0)s(g,p,l[d++]);else{let b=l[d+-g];for(let S=-g;S>0;S--)s(l[d++],p,b);d++}}}this.nodeSet=new cO(t.map((l,p)=>ga.define({name:p>=this.minRepeatTerm?void 0:l,id:p,props:i[p],top:n.indexOf(p)>-1,error:p==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(p)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=m2;let a=kf(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;l<this.specializerSpecs.length;l++)this.specialized[l]=this.specializerSpecs[l].term;this.specializers=this.specializerSpecs.map($b),this.states=kf(e.states,Uint32Array),this.data=kf(e.stateData),this.goto=kf(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(l=>typeof l=="number"?new Xp(a,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new l8(this,e,t,n);for(let s of this.wrappers)i=s(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let s=i[t+1];;){let a=i[s++],l=a&1,p=i[s++];if(l&&n)return p;for(let d=s+(a>>1);s<d;s++)if(i[s]==e)return p;if(l)return-1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let s=this.stateSlot(e,i?2:1),a;;s+=3){if((a=n[s])==65535)if(n[s+1]==1)a=n[s=Jl(n,s+2)];else{if(n[s+1]==2)return Jl(n,s+2);break}if(a==t||a==0)return Jl(n,s+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),i=n?t(n):void 0;for(let s=this.stateSlot(e,1);i==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Jl(this.data,s+2);else break;i=t(Jl(this.data,s+1))}return i}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Jl(this.data,n+2);else break;if(!(this.data[n+2]&1)){let i=this.data[n+1];t.some((s,a)=>a&1&&s==i)||t.push(this.data[n],i)}}return t}configure(e){let t=Object.assign(Object.create(Yh.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let i=e.tokenizers.find(s=>s.from==n);return i?i.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let a=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[i]=$b(a),a})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let a=t.indexOf(s);a>=0&&(n[a]=!0)}let i=null;for(let s=0;s<t.length;s++)if(!n[s])for(let a=this.dialects[t[s]],l;(l=this.data[a++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[l]=1;return new c8(e,n,i)}static deserialize(e){return new Yh(e)}}function Jl(r,e){return r[e]|r[e+1]<<16}function h8(r){let e=null;for(let t of r){let n=t.p.stoppedAt;(t.pos==t.p.stream.end||n!=null&&t.pos>n)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.score<t.score)&&(e=t)}return e}function $b(r){if(r.external){let e=r.extend?1:0;return(t,n)=>r.external(t,n)<<1|e}return r.get}const p8=303,Bb=1,f8=2,d8=304,m8=306,g8=307,y8=3,D8=4,O8=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],zE=125,x8=59,Nb=47,b8=42,v8=43,C8=45,S8=new $O({start:!1,shift(r,e){return e==y8||e==D8||e==m8?r:e==g8},strict:!1}),E8=new iu((r,e)=>{let{next:t}=r;(t==zE||t==-1||e.context)&&r.acceptToken(d8)},{contextual:!0,fallback:!0}),w8=new iu((r,e)=>{let{next:t}=r,n;O8.indexOf(t)>-1||t==Nb&&((n=r.peek(1))==Nb||n==b8)||t!=zE&&t!=x8&&t!=-1&&!e.context&&r.acceptToken(p8)},{contextual:!0}),A8=new iu((r,e)=>{let{next:t}=r;if((t==v8||t==C8)&&(r.advance(),t==r.next)){r.advance();let n=!e.context&&e.canShift(Bb);r.acceptToken(n?Bb:f8)}},{contextual:!0}),T8=wd({"get set async static":He.modifier,"for while do if else switch try catch finally return throw break continue default case":He.controlKeyword,"in of await yield void typeof delete instanceof":He.operatorKeyword,"let var const function class extends":He.definitionKeyword,"import export from":He.moduleKeyword,"with debugger as new":He.keyword,TemplateString:He.special(He.string),super:He.atom,BooleanLiteral:He.bool,this:He.self,null:He.null,Star:He.modifier,VariableName:He.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":He.function(He.variableName),VariableDefinition:He.definition(He.variableName),Label:He.labelName,PropertyName:He.propertyName,PrivatePropertyName:He.special(He.propertyName),"CallExpression/MemberExpression/PropertyName":He.function(He.propertyName),"FunctionDeclaration/VariableDefinition":He.function(He.definition(He.variableName)),"ClassDeclaration/VariableDefinition":He.definition(He.className),PropertyDefinition:He.definition(He.propertyName),PrivatePropertyDefinition:He.definition(He.special(He.propertyName)),UpdateOp:He.updateOperator,LineComment:He.lineComment,BlockComment:He.blockComment,Number:He.number,String:He.string,Escape:He.escape,ArithOp:He.arithmeticOperator,LogicOp:He.logicOperator,BitOp:He.bitwiseOperator,CompareOp:He.compareOperator,RegExp:He.regexp,Equals:He.definitionOperator,Arrow:He.function(He.punctuation),": Spread":He.punctuation,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace,"InterpolationStart InterpolationEnd":He.special(He.brace),".":He.derefOperator,", ;":He.separator,"@":He.meta,TypeName:He.typeName,TypeDefinition:He.definition(He.typeName),"type enum interface implements namespace module declare":He.definitionKeyword,"abstract global Privacy readonly override":He.modifier,"is keyof unique infer":He.operatorKeyword,JSXAttributeValue:He.attributeValue,JSXText:He.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":He.angleBracket,"JSXIdentifier JSXNameSpacedName":He.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":He.attributeName,"JSXBuiltin/JSXIdentifier":He.standard(He.tagName)}),P8={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,using:413,interface:419,enum:423,namespace:429,module:431,declare:435,global:439,for:458,of:467,while:470,with:474,do:478,if:482,else:484,switch:488,case:494,try:500,catch:504,finally:508,return:512,throw:516,break:520,continue:524,debugger:528},k8={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},F8={__proto__:null,"<":137},_8=Yh.deserialize({version:14,states:"$6tO`QUOOO%TQUOOO'WQWOOP(eOSOOO*sQ(CjO'#CfO*zOpO'#CgO+YO!bO'#CgO+hO07`O'#DZO-yQUO'#DaO.ZQUO'#DlO%TQUO'#DvO0_QUO'#EOOOQ(CY'#EW'#EWO0xQSO'#ETOOQO'#Ei'#EiOOQO'#Ic'#IcO1QQSO'#GkO1]QSO'#EhO1bQSO'#EhO3dQ(CjO'#JdO6TQ(CjO'#JeO6qQSO'#FWO6vQ#tO'#FoOOQ(CY'#F`'#F`O7RO&jO'#F`O7aQ,UO'#FvO8wQSO'#FuOOQ(CY'#Je'#JeOOQ(CW'#Jd'#JdO8|QSO'#GoOOQQ'#KP'#KPO9XQSO'#IPO9^Q(C[O'#IQOOQQ'#JQ'#JQOOQQ'#IU'#IUQ`QUOOO%TQUO'#DnO9fQUO'#DzO9mQUO'#D|O9SQSO'#GkO9tQ,UO'#ClO:SQSO'#EgO:_QSO'#ErO:dQ,UO'#F_O;RQSO'#GkOOQO'#KQ'#KQO;WQSO'#KQO;fQSO'#GsO;fQSO'#GtO;fQSO'#GvO9SQSO'#GyO<]QSO'#G|O=tQSO'#CbO>UQSO'#HYO>^QSO'#H`O>^QSO'#HbO`QUO'#HdO>^QSO'#HfO>^QSO'#HiO>cQSO'#HoO>hQ(C]O'#HuO%TQUO'#HwO>sQ(C]O'#HyO?OQ(C]O'#H{O9^Q(C[O'#H}O?ZQ(CjO'#CfO@]QWO'#DfQOQSOOO%TQUO'#D|O@sQSO'#EPO9tQ,UO'#EgOAOQSO'#EgOAZQ`O'#F_OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jh'#JhO%TQUO'#JhOOQO'#Jl'#JlOOQO'#I`'#I`OBZQWO'#E`OOQ(CW'#E_'#E_OCVQ(C`O'#E`OCaQWO'#ESOOQO'#Jk'#JkOCuQWO'#JlOESQWO'#ESOCaQWO'#E`PEaO?MpO'#C`POOO)CDo)CDoOOOO'#IV'#IVOElOpO,59ROOQ(CY,59R,59ROOOO'#IW'#IWOEzO!bO,59RO%TQUO'#D]OOOO'#IY'#IYOFYO07`O,59uOOQ(CY,59u,59uOFhQUO'#IZOF{QSO'#JfOH}QbO'#JfO+vQUO'#JfOIUQSO,59{OIlQSO'#EiOIyQSO'#JtOJUQSO'#JsOJUQSO'#JsOJ^QSO,5;VOJcQSO'#JrOOQ(CY,5:W,5:WOJjQUO,5:WOLkQ(CjO,5:bOM[QSO,5:jOMuQ(C[O'#JqOM|QSO'#JpO8|QSO'#JpONbQSO'#JpONjQSO,5;UONoQSO'#JpO!!wQbO'#JeOOQ(CY'#Cf'#CfO%TQUO'#EOO!#gQ`O,5:oOOQO'#Jm'#JmOOQO-E<a-E<aO9SQSO,5=VO!#}QSO,5=VO!$SQUO,5;SO!&VQ,UO'#EdO!'jQSO,5;SO!)SQ,UO'#DpO!)ZQUO'#DuO!)eQWO,5;]O!)mQWO,5;]O%TQUO,5;]OOQQ'#FO'#FOOOQQ'#FQ'#FQO%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^OOQQ'#FU'#FUO!){QUO,5;oOOQ(CY,5;t,5;tOOQ(CY,5;u,5;uO!,OQSO,5;uOOQ(CY,5;v,5;vO%TQUO'#IgO!,WQ(C[O,5<cO!&VQ,UO,5;^O!,uQ,UO,5;^O%TQUO,5;rO!,|Q#tO'#FeO!-yQ#tO'#JxO!-eQ#tO'#JxO!.QQ#tO'#JxOOQO'#Jx'#JxO!.fQ#tO,5;}OOOO,5<Z,5<ZO!.wQUO'#FqOOOO'#If'#IfO7RO&jO,5;zO!/OQ#tO'#FsOOQ(CY,5;z,5;zO!/oQ7[O'#CrOOQ(CY'#Cv'#CvO!0SQSO'#CvO!0XO07`O'#CzO!0uQ,UO,5<`O!0|QSO,5<bO!2cQMhO'#GQO!2pQSO'#GRO!2uQSO'#GRO!2zQMhO'#GVO!3yQWO'#GZO!4lQ7[O'#J_OOQ(CY'#J_'#J_O!4vQSO'#J^O!5UQSO'#J]O!5^QSO'#CqOOQ(CY'#Ct'#CtOOQ(CY'#DO'#DOOOQ(CY'#DQ'#DQO0{QSO'#DSO!'oQ,UO'#FxO!'oQ,UO'#FzO!5fQSO'#F|O!5kQSO'#F}O!2uQSO'#GTO!'oQ,UO'#GYO!5pQSO'#EjO!6_QSO,5<aOOQ(CW'#Co'#CoO!6gQSO'#EkO!7aQWO'#ElOOQ(CW'#Jr'#JrO!7hQ(C[O'#KRO9^Q(C[O,5=ZO`QUO,5>kOOQQ'#JY'#JYOOQQ,5>l,5>lOOQQ-E<S-E<SO!9jQ(CjO,5:YO!<WQ(CjO,5:fO%TQUO,5:fO!>qQ(CjO,5:hOOQO,5@l,5@lO!?bQ,UO,5=VO!?pQ(C[O'#JZO8wQSO'#JZO!@RQ(C[O,59WO!@^QWO,59WO!@fQ,UO,59WO9tQ,UO,59WO!@qQSO,5;SO!@yQSO'#HXO!A[QSO'#KUO%TQUO,5;wO!7[QWO,5;yO!AdQSO,5=rO!AiQSO,5=rO!AnQSO,5=rO9^Q(C[O,5=rO;fQSO,5=bOOQO'#Cr'#CrO!A|QWO,5=_O!BUQ,UO,5=`O!BaQSO,5=bO!BfQ`O,5=eO!BnQSO'#KQO>cQSO'#HOO9SQSO'#HQO!BsQSO'#HQO9tQ,UO'#HSO!BxQSO'#HSOOQQ,5=h,5=hO!B}QSO'#HTO!CVQSO'#ClO!C[QSO,58|O!CfQSO,58|O!EkQUO,58|OOQQ,58|,58|O!E{Q(C[O,58|O%TQUO,58|O!HWQUO'#H[OOQQ'#H]'#H]OOQQ'#H^'#H^O`QUO,5=tO!HnQSO,5=tO`QUO,5=zO`QUO,5=|O!HsQSO,5>OO`QUO,5>QO!HxQSO,5>TO!H}QUO,5>ZOOQQ,5>a,5>aO%TQUO,5>aO9^Q(C[O,5>cOOQQ,5>e,5>eO!MXQSO,5>eOOQQ,5>g,5>gO!MXQSO,5>gOOQQ,5>i,5>iO!M^QWO'#DXO%TQUO'#JhO!M{QWO'#JhO!NjQWO'#DgO!N{QWO'#DgO##^QUO'#DgO##eQSO'#JgO##mQSO,5:QO##rQSO'#EmO#$QQSO'#JuO#$YQSO,5;WO#$_QWO'#DgO#$lQWO'#EROOQ(CY,5:k,5:kO%TQUO,5:kO#$sQSO,5:kO>cQSO,5;RO!@^QWO,5;RO!@fQ,UO,5;RO9tQ,UO,5;RO#${QSO,5@SO#%QQ!LQO,5:oOOQO-E<^-E<^O#&WQ(C`O,5:zOCaQWO,5:nO#&bQWO,5:nOCaQWO,5:zO!@RQ(C[O,5:nOOQ(CW'#Ec'#EcOOQO,5:z,5:zO%TQUO,5:zO#&oQ(C[O,5:zO#&zQ(C[O,5:zO!@^QWO,5:nOOQO,5;Q,5;QO#'YQ(C[O,5:zPOOO'#IT'#ITP#'nO?MpO,58zPOOO,58z,58zOOOO-E<T-E<TOOQ(CY1G.m1G.mOOOO-E<U-E<UO#'yQ`O,59wOOOO-E<W-E<WOOQ(CY1G/a1G/aO#(OQbO,5>uO+vQUO,5>uOOQO,5>{,5>{O#(YQUO'#IZOOQO-E<X-E<XO#(gQSO,5@QO#(oQbO,5@QO#(vQSO,5@_OOQ(CY1G/g1G/gO%TQUO,5@`O#)OQSO'#IaOOQO-E<_-E<_O#(vQSO,5@_OOQ(CW1G0q1G0qOOQ(CY1G/r1G/rOOQ(CY1G0U1G0UO%TQUO,5@]O#)dQ(C[O,5@]O#)uQ(C[O,5@]O#)|QSO,5@[O8|QSO,5@[O#*UQSO,5@[O#*dQSO'#IdO#)|QSO,5@[OOQ(CW1G0p1G0pO!)eQWO,5:qO!)pQWO,5:qOOQO,5:s,5:sO#+UQSO,5:sO#+^Q,UO1G2qO9SQSO1G2qOOQ(CY1G0n1G0nO#+lQ(CjO1G0nO#,qQ(ChO,5;OOOQ(CY'#GP'#GPO#-_Q(CjO'#J_O!$SQUO1G0nO#/gQ,UO'#JiO#/qQSO,5:[O#/vQbO'#JjO%TQUO'#JjO#0QQSO,5:aOOQ(CY'#DX'#DXOOQ(CY1G0w1G0wO%TQUO1G0wOOQ(CY1G1a1G1aO#0VQSO1G0wO#2nQ(CjO1G0xO#2uQ(CjO1G0xO#5`Q(CjO1G0xO#5gQ(CjO1G0xO#7qQ(CjO1G0xO#8XQ(CjO1G0xO#;RQ(CjO1G0xO#;YQ(CjO1G0xO#=sQ(CjO1G0xO#=zQ(CjO1G0xO#?rQ(CjO1G0xO#BrQ$IUO'#CfO#DpQ$IUO1G1ZO#DwQ$IUO'#JeO!,RQSO1G1aO#EXQ(CjO,5?ROOQ(CW-E<e-E<eO#E{Q(CjO1G0xOOQ(CY1G0x1G0xO#HWQ(CjO1G1^O#HzQ#tO,5<RO#ISQ#tO,5<SO#I[Q#tO'#FjO#IsQSO'#FiOOQO'#Jy'#JyOOQO'#Ie'#IeO#IxQ#tO1G1iOOQ(CY1G1i1G1iOOOO1G1t1G1tO#JZQ$IUO'#JdO#JeQSO,5<]O!){QUO,5<]OOOO-E<d-E<dOOQ(CY1G1f1G1fO#JjQWO'#JxOOQ(CY,5<_,5<_O#JrQWO,5<_OOQ(CY,59b,59bO!&VQ,UO'#C|OOOO'#IX'#IXO#JwO07`O,59fOOQ(CY,59f,59fO%TQUO1G1zO!5kQSO'#IiO#KSQ,UO,5<sOOQ(CY,5<p,5<pOOQO'#Gf'#GfO!'oQ,UO,5=POOQO'#Gh'#GhO!'oQ,UO,5=RO!&VQ,UO,5=TOOQO1G1|1G1|O#KZQ`O'#CoO#KnQ`O,5<lO#KuQSO'#J|O9SQSO'#J|O#LTQSO,5<nO!'oQ,UO,5<mO#LYQSO'#GSO#LeQSO,5<mO#LjQ`O'#GPO#LwQ`O'#J}O#MRQSO'#J}O!&VQ,UO'#J}O#MWQSO,5<qO#M]QWO'#G[O!3tQWO'#G[O#MnQSO'#G^O#MsQSO'#G`O!2uQSO'#GcO#MxQ(C[O'#IkO#NTQWO,5<uOOQ(CY,5<u,5<uO#N[QWO'#G[O#NjQWO'#G]O#NrQWO'#G]OOQ(CY,5=U,5=UO!'oQ,UO,5?xO!'oQ,UO,5?xO#NwQSO'#IlO$ SQSO,5?wO$ [QSO,59]O$ {Q,UO,59nOOQ(CY,59n,59nO$!nQ,UO,5<dO$#aQ,UO,5<fO@TQSO,5<hOOQ(CY,5<i,5<iO$#kQSO,5<oO$#pQ,UO,5<tO$$QQSO'#JpO!$SQUO1G1{O$$VQSO1G1{O8|QSO'#JsO8|QSO'#EmO%TQUO'#EmO8|QSO'#InO$$[Q(C[O,5@mOOQQ1G2u1G2uOOQQ1G4V1G4VOOQ(CY1G/t1G/tO!,OQSO1G/tO$&aQ(CjO1G0QOOQQ1G2q1G2qO!&VQ,UO1G2qO%TQUO1G2qO$'QQSO1G2qO$']Q,UO'#EdOOQ(CW,5?u,5?uO$'gQ(C[O,5?uOOQQ1G.r1G.rO!@RQ(C[O1G.rO!@^QWO1G.rO!@fQ,UO1G.rO$'xQSO1G0nO$'}QSO'#CfO$(YQSO'#KVO$(bQSO,5=sO$(gQSO'#KVO$(lQSO'#KVO$(wQSO'#ItO$)VQSO,5@pO$)_QbO1G1cOOQ(CY1G1e1G1eO9SQSO1G3^O@TQSO1G3^O$)fQSO1G3^O$)kQSO1G3^OOQQ1G3^1G3^O!BaQSO1G2|O!&VQ,UO1G2yO$)pQSO1G2yOOQQ1G2z1G2zO!&VQ,UO1G2zO$)uQSO1G2zO$)}QWO'#GxOOQQ1G2|1G2|O!3tQWO'#IpO!BfQ`O1G3POOQQ1G3P1G3POOQQ,5=j,5=jO$*VQ,UO,5=lO9SQSO,5=lO#MsQSO,5=nO8wQSO,5=nO!@^QWO,5=nO!@fQ,UO,5=nO9tQ,UO,5=nO$*eQSO'#KTO$*pQSO,5=oOOQQ1G.h1G.hO$*uQ(C[O1G.hO@TQSO1G.hO$+QQSO1G.hO9^Q(C[O1G.hO$-VQbO,5@rO$-gQSO,5@rO8|QSO,5@rO$-rQUO,5=vO$-yQSO,5=vOOQQ1G3`1G3`O`QUO1G3`OOQQ1G3f1G3fOOQQ1G3h1G3hO>^QSO1G3jO$.OQUO1G3lO$2SQUO'#HkOOQQ1G3o1G3oO$2aQSO'#HqO>cQSO'#HsOOQQ1G3u1G3uO$2iQUO1G3uO9^Q(C[O1G3{OOQQ1G3}1G3}OOQ(CW'#GW'#GWO9^Q(C[O1G4PO9^Q(C[O1G4RO$6pQSO,5@SO!){QUO,5;XO8|QSO,5;XO>cQSO,5:RO!){QUO,5:RO!@^QWO,5:RO$6uQ$IUO,5:ROOQO,5;X,5;XO$7PQWO'#I[O$7gQSO,5@ROOQ(CY1G/l1G/lO$7oQWO'#IbO$7yQSO,5@aOOQ(CW1G0r1G0rO!N{QWO,5:ROOQO'#I_'#I_O$8RQWO,5:mOOQ(CY,5:m,5:mO#$vQSO1G0VOOQ(CY1G0V1G0VO%TQUO1G0VOOQ(CY1G0m1G0mO>cQSO1G0mO!@^QWO1G0mO!@fQ,UO1G0mOOQ(CW1G5n1G5nO!@RQ(C[O1G0YOOQO1G0f1G0fO%TQUO1G0fO$8YQ(C[O1G0fO$8eQ(C[O1G0fO!@^QWO1G0YOCaQWO1G0YO$8sQ(C[O1G0fOOQO1G0Y1G0YO$9XQ(CjO1G0fPOOO-E<R-E<RPOOO1G.f1G.fOOOO1G/c1G/cO$9cQ`O,5<cO$9kQbO1G4aOOQO1G4g1G4gO%TQUO,5>uO$9uQSO1G5lO$9}QSO1G5yO$:VQbO1G5zO8|QSO,5>{O$:aQ(CjO1G5wO%TQUO1G5wO$:qQ(C[O1G5wO$;SQSO1G5vO$;SQSO1G5vO8|QSO1G5vO$;[QSO,5?OO8|QSO,5?OOOQO,5?O,5?OO$;pQSO,5?OO$$QQSO,5?OOOQO-E<b-E<bOOQO1G0]1G0]OOQO1G0_1G0_O!,RQSO1G0_OOQQ7+(]7+(]O!&VQ,UO7+(]O%TQUO7+(]O$<OQSO7+(]O$<ZQ,UO7+(]O$<iQ(CjO,59nO$>qQ(CjO,5<dO$@|Q(CjO,5<fO$CXQ(CjO,5<tOOQ(CY7+&Y7+&YO$EjQ(CjO7+&YO$F^Q,UO'#I]O$FhQSO,5@TOOQ(CY1G/v1G/vO$FpQUO'#I^O$F}QSO,5@UO$GVQbO,5@UOOQ(CY1G/{1G/{O$GaQSO7+&cOOQ(CY7+&c7+&cO$GfQ$IUO,5:bO%TQUO7+&uO$GpQ$IUO,5:YO$G}Q$IUO,5:fO$HXQ$IUO,5:hOOQ(CY7+&{7+&{OOQO1G1m1G1mOOQO1G1n1G1nO$HcQ#tO,5<UO!){QUO,5<TOOQO-E<c-E<cOOQ(CY7+'T7+'TOOOO7+'`7+'`OOOO1G1w1G1wO$HnQSO1G1wOOQ(CY1G1y1G1yO$HsQ`O,59hOOOO-E<V-E<VOOQ(CY1G/Q1G/QO$HzQ(CjO7+'fOOQ(CY,5?T,5?TO$InQ`O,5?TOOQ(CY1G2_1G2_P!&VQ,UO'#IiPOQ(CY-E<g-E<gO$J^Q,UO1G2kO$KPQ,UO1G2mO$KZQ`O1G2oOOQ(CY1G2W1G2WO$KbQSO'#IhO$KpQSO,5@hO$KpQSO,5@hO$KxQSO,5@hO$LTQSO,5@hOOQO1G2Y1G2YO$LcQ,UO1G2XO!'oQ,UO1G2XO$LsQMhO'#IjO$MTQSO,5@iO!&VQ,UO,5@iO$M]Q`O,5@iOOQ(CY1G2]1G2]OOQ(CW,5<v,5<vOOQ(CW,5<w,5<wO$$QQSO,5<wOCQQSO,5<wO!@^QWO,5<vOOQO'#G_'#G_O$MgQSO,5<xOOQ(CW,5<z,5<zO$$QQSO,5<}OOQO,5?V,5?VOOQO-E<i-E<iOOQ(CY1G2a1G2aO!3tQWO,5<vO$MoQSO,5<wO#MnQSO,5<xO!3tQWO,5<wO$MzQ,UO1G5dO$NUQ,UO1G5dOOQO,5?W,5?WOOQO-E<j-E<jOOQO1G.w1G.wO!7[QWO,59pO%TQUO,59pO$NcQSO1G2SO!'oQ,UO1G2ZO$NhQ(CjO7+'gOOQ(CY7+'g7+'gO!$SQUO7+'gO% [QSO,5;XOOQ(CW,5?Y,5?YOOQ(CW-E<l-E<lOOQ(CY7+%`7+%`O% aQ`O'#KOO#$vQSO7+(]O% kQbO7+(]O$<RQSO7+(]O% rQ(ChO'#CfO%!VQ(ChO,5<{O%!wQSO,5<{OOQ(CW1G5a1G5aOOQQ7+$^7+$^O!@RQ(C[O7+$^O!@^QWO7+$^O!$SQUO7+&YO%!|QSO'#IsO%#bQSO,5@qOOQO1G3_1G3_O9SQSO,5@qO%#bQSO,5@qO%#jQSO,5@qOOQO,5?`,5?`OOQO-E<r-E<rOOQ(CY7+&}7+&}O%#oQSO7+(xO9^Q(C[O7+(xO9SQSO7+(xO@TQSO7+(xOOQQ7+(h7+(hO%#tQ(ChO7+(eO!&VQ,UO7+(eO%$OQ`O7+(fOOQQ7+(f7+(fO!&VQ,UO7+(fO%$VQSO'#KSO%$bQSO,5=dOOQO,5?[,5?[OOQO-E<n-E<nOOQQ7+(k7+(kO%%qQWO'#HROOQQ1G3W1G3WO!&VQ,UO1G3WO%TQUO1G3WO%%xQSO1G3WO%&TQ,UO1G3WO9^Q(C[O1G3YO#MsQSO1G3YO8wQSO1G3YO!@^QWO1G3YO!@fQ,UO1G3YO%&cQSO'#IrO%&nQSO,5@oO%&vQWO,5@oOOQ(CW1G3Z1G3ZOOQQ7+$S7+$SO@TQSO7+$SO9^Q(C[O7+$SO%'RQSO7+$SO%TQUO1G6^O%TQUO1G6_O%'WQ(C[O1G6^O%'bQUO1G3bO%'iQSO1G3bO%'nQUO1G3bOOQQ7+(z7+(zO9^Q(C[O7+)UO`QUO7+)WOOQQ'#KY'#KYOOQQ'#Iu'#IuO%'uQUO,5>VOOQQ,5>V,5>VO%TQUO'#HlO%(SQSO'#HnOOQQ,5>],5>]O8|QSO,5>]OOQQ,5>_,5>_OOQQ7+)a7+)aOOQQ7+)g7+)gOOQQ7+)k7+)kOOQQ7+)m7+)mO%(XQWO1G5nO%(mQ$IUO1G0sO%(wQSO1G0sOOQO1G/m1G/mO%)SQ$IUO1G/mO>cQSO1G/mO!){QUO'#DgOOQO,5>v,5>vOOQO-E<Y-E<YOOQO,5>|,5>|OOQO-E<`-E<`O!@^QWO1G/mOOQO-E<]-E<]OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO#$vQSO7+%qOOQ(CY7+&X7+&XO>cQSO7+&XO!@^QWO7+&XOOQO7+%t7+%tO$9XQ(CjO7+&QOOQO7+&Q7+&QO%TQUO7+&QO%)^Q(C[O7+&QO!@RQ(C[O7+%tO!@^QWO7+%tO%)iQ(C[O7+&QO%)wQ(CjO7++cO%TQUO7++cO%*XQSO7++bO%*XQSO7++bOOQO1G4j1G4jO8|QSO1G4jO%*aQSO1G4jOOQO7+%y7+%yO#$vQSO<<KwO% kQbO<<KwO%*oQSO<<KwOOQQ<<Kw<<KwO!&VQ,UO<<KwO%TQUO<<KwO%*wQSO<<KwO%+SQ(CjO1G2kO%-_Q(CjO1G2mO%/jQ(CjO1G2XO%1{Q,UO,5>wOOQO-E<Z-E<ZO%2VQbO,5>xO%TQUO,5>xOOQO-E<[-E<[O%2aQSO1G5pOOQ(CY<<I}<<I}O%2iQ$IUO1G0nO%4sQ$IUO1G0xO%4zQ$IUO1G0xO%7OQ$IUO1G0xO%7VQ$IUO1G0xO%8zQ$IUO1G0xO%9bQ$IUO1G0xO%;uQ$IUO1G0xO%;|Q$IUO1G0xO%>QQ$IUO1G0xO%>XQ$IUO1G0xO%@PQ$IUO1G0xO%@dQ(CjO<<JaO%AiQ$IUO1G0xO%C_Q$IUO'#J_O%EbQ$IUO1G1^O%EoQ$IUO1G0QO!){QUO'#FlOOQO'#Jz'#JzOOQO1G1p1G1pO%EyQSO1G1oO%FOQ$IUO,5?ROOOO7+'c7+'cOOOO1G/S1G/SOOQ(CY1G4o1G4oO!'oQ,UO7+(ZO%FYQSO,5?SO9SQSO,5?SOOQO-E<f-E<fO%FhQSO1G6SO%FhQSO1G6SO%FpQSO1G6SO%F{Q,UO7+'sO%G]Q`O,5?UO%GgQSO,5?UO!&VQ,UO,5?UOOQO-E<h-E<hO%GlQ`O1G6TO%GvQSO1G6TOOQ(CW1G2c1G2cO$$QQSO1G2cOOQ(CW1G2b1G2bO%HOQSO1G2dO!&VQ,UO1G2dOOQ(CW1G2i1G2iO!@^QWO1G2bOCQQSO1G2cO%HTQSO1G2dO%H]QSO1G2cO!'oQ,UO7++OOOQ(CY1G/[1G/[O%HhQSO1G/[OOQ(CY7+'n7+'nO%HmQ,UO7+'uO%H}Q(CjO<<KROOQ(CY<<KR<<KRO%IqQSO1G0sO!&VQ,UO'#ImO%IvQSO,5@jO!&VQ,UO1G2gOOQQ<<Gx<<GxO!@RQ(C[O<<GxO%JOQ(CjO<<ItOOQ(CY<<It<<ItOOQO,5?_,5?_O%JrQSO,5?_O$(lQSO,5?_OOQO-E<q-E<qO%JwQSO1G6]O%JwQSO1G6]O9SQSO1G6]O@TQSO<<LdOOQQ<<Ld<<LdO%KPQSO<<LdO9^Q(C[O<<LdOOQQ<<LP<<LPO%#tQ(ChO<<LPOOQQ<<LQ<<LQO%$OQ`O<<LQO%KUQWO'#IoO%KaQSO,5@nO!){QUO,5@nOOQQ1G3O1G3OO%KiQUO'#JhOOQO'#Iq'#IqO9^Q(C[O'#IqO%KsQWO,5=mOOQQ,5=m,5=mO%KzQWO'#E`O%L`QSO7+(rO%LeQSO7+(rOOQQ7+(r7+(rO!&VQ,UO7+(rO%TQUO7+(rO%LmQSO7+(rOOQQ7+(t7+(tO9^Q(C[O7+(tO#MsQSO7+(tO8wQSO7+(tO!@^QWO7+(tO%LxQSO,5?^OOQO-E<p-E<pOOQO'#HU'#HUO%MTQSO1G6ZO9^Q(C[O<<GnOOQQ<<Gn<<GnO@TQSO<<GnO%M]QSO7++xO%MbQSO7++yO%TQUO7++xO%TQUO7++yOOQQ7+(|7+(|O%MgQSO7+(|O%MlQUO7+(|O%MsQSO7+(|OOQQ<<Lp<<LpOOQQ<<Lr<<LrOOQQ-E<s-E<sOOQQ1G3q1G3qO%MxQSO,5>WOOQQ,5>Y,5>YO%M}QSO1G3wO8|QSO7+&_O!){QUO7+&_OOQO7+%X7+%XO%NSQ$IUO1G5zO>cQSO7+%XOOQ(CY<<I]<<I]OOQ(CY<<Is<<IsO>cQSO<<IsOOQO<<Il<<IlO$9XQ(CjO<<IlO%TQUO<<IlOOQO<<I`<<I`O!@RQ(C[O<<I`O%N^Q(C[O<<IlO%NiQ(CjO<<N}O%NyQSO<<N|OOQO7+*U7+*UO8|QSO7+*UOOQQANAcANAcO& RQSOANAcO!&VQ,UOANAcO#$vQSOANAcO% kQbOANAcO%TQUOANAcO& ZQ(CjO7+'sO&#lQ(CjO7+'uO&%}QbO1G4dO&&XQ$IUO7+&YO&&fQ$IUO,59nO&(iQ$IUO,5<dO&*lQ$IUO,5<fO&,oQ$IUO,5<tO&.eQ$IUO7+'fO&.rQ$IUO7+'gO&/PQSO,5<WOOQO7+'Z7+'ZO&/UQ,UO<<KuOOQO1G4n1G4nO&/]QSO1G4nO&/hQSO1G4nO&/vQSO7++nO&/vQSO7++nO!&VQ,UO1G4pO&0OQ`O1G4pO&0YQSO7++oOOQ(CW7+'}7+'}O$$QQSO7+(OO&0bQ`O7+(OOOQ(CW7+'|7+'|O$$QQSO7+'}O&0iQSO7+(OO!&VQ,UO7+(OOCQQSO7+'}O&0nQ,UO<<NjOOQ(CY7+$v7+$vO&0xQ`O,5?XOOQO-E<k-E<kO&1SQ(ChO7+(ROOQQAN=dAN=dO9SQSO1G4yOOQO1G4y1G4yO&1dQSO1G4yO&1iQSO7++wO&1iQSO7++wO9^Q(C[OANBOO@TQSOANBOOOQQANBOANBOOOQQANAkANAkOOQQANAlANAlO&1qQSO,5?ZOOQO-E<m-E<mO&1|Q$IUO1G6YO&4^QbO'#CfOOQO,5?],5?]OOQO-E<o-E<oOOQQ1G3X1G3XO%KiQUO,5<xOOQQ<<L^<<L^O!&VQ,UO<<L^O%L`QSO<<L^O&4hQSO<<L^O%TQUO<<L^OOQQ<<L`<<L`O9^Q(C[O<<L`O#MsQSO<<L`O8wQSO<<L`O&4pQWO1G4xO&4{QSO7++uOOQQAN=YAN=YO9^Q(C[OAN=YOOQQ<= d<= dOOQQ<= e<= eO&5TQSO<= dO&5YQSO<= eOOQQ<<Lh<<LhO&5_QSO<<LhO&5dQUO<<LhOOQQ1G3r1G3rO>cQSO7+)cO&5kQSO<<IyO&5vQ$IUO<<IyOOQO<<Hs<<HsOOQ(CYAN?_AN?_OOQOAN?WAN?WO$9XQ(CjOAN?WOOQOAN>zAN>zO%TQUOAN?WOOQO<<Mp<<MpOOQQG26}G26}O!&VQ,UOG26}O#$vQSOG26}O&6QQSOG26}O% kQbOG26}O&6YQ$IUO<<JaO&6gQ$IUO1G2XO&8]Q$IUO1G2kO&:`Q$IUO1G2mO&<cQ$IUO<<KRO&<pQ$IUO<<ItOOQO1G1r1G1rO!'oQ,UOANAaOOQO7+*Y7+*YO&<}QSO7+*YO&=YQSO<= YO&=bQ`O7+*[OOQ(CW<<Kj<<KjO$$QQSO<<KjOOQ(CW<<Ki<<KiO&=lQ`O<<KjO$$QQSO<<KiOOQO7+*e7+*eO9SQSO7+*eO&=sQSO<= cOOQQG27jG27jO9^Q(C[OG27jO!){QUO1G4uO&={QSO7++tO%L`QSOANAxOOQQANAxANAxO!&VQ,UOANAxO&>TQSOANAxOOQQANAzANAzO9^Q(C[OANAzO#MsQSOANAzOOQO'#HV'#HVOOQO7+*d7+*dOOQQG22tG22tOOQQANEOANEOOOQQANEPANEPOOQQANBSANBSO&>]QSOANBSOOQQ<<L}<<L}O!){QUOAN?eOOQOG24rG24rO$9XQ(CjOG24rO#$vQSOLD,iOOQQLD,iLD,iO!&VQ,UOLD,iO&>bQSOLD,iO&>jQ$IUO7+'sO&@`Q$IUO7+'uO&BUQ,UOG26{OOQO<<Mt<<MtOOQ(CWANAUANAUO$$QQSOANAUOOQ(CWANATANATOOQO<<NP<<NPOOQQLD-ULD-UO&BfQ$IUO7+*aOOQQG27dG27dO%L`QSOG27dO!&VQ,UOG27dOOQQG27fG27fO9^Q(C[OG27fOOQQG27nG27nO&BpQ$IUOG25POOQOLD*^LD*^OOQQ!$(!T!$(!TO#$vQSO!$(!TO!&VQ,UO!$(!TO&BzQ(CjOG26{OOQ(CWG26pG26pOOQQLD-OLD-OO%L`QSOLD-OOOQQLD-QLD-QOOQQ!)9Eo!)9EoO#$vQSO!)9EoOOQQ!$(!j!$(!jOOQQ!.K;Z!.K;ZO&E]Q$IUOG26{O!){QUO'#DvO0xQSO'#ETO&GRQbO'#JdO!){QUO'#DnO&GYQUO'#DzO&GaQbO'#CfO&IwQbO'#CfO!){QUO'#D|O&JXQUO,5;SO!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO'#IgO&L[QSO,5<cO&LdQ,UO,5;^O&MwQ,UO,5;^O!){QUO,5;rO0{QSO'#DSO0{QSO'#DSO!&VQ,UO'#FxO&LdQ,UO'#FxO!&VQ,UO'#FzO&LdQ,UO'#FzO!&VQ,UO'#GYO&LdQ,UO'#GYO!){QUO,5:fO!){QUO,5@`O&JXQUO1G0nO&NOQ$IUO'#CfO!){QUO1G1zO!&VQ,UO,5=PO&LdQ,UO,5=PO!&VQ,UO,5=RO&LdQ,UO,5=RO!&VQ,UO,5<mO&LdQ,UO,5<mO&JXQUO1G1{O!){QUO7+&uO!&VQ,UO1G2XO&LdQ,UO1G2XO!&VQ,UO1G2ZO&LdQ,UO1G2ZO&JXQUO7+'gO&JXQUO7+&YO!&VQ,UOANAaO&LdQ,UOANAaO&NYQSO'#EhO&N_QSO'#EhO&NgQSO'#FWO&NlQSO'#ErO&NqQSO'#JtO&N|QSO'#JrO' XQSO,5;SO' ^Q,UO,5<`O' eQSO'#GRO' jQSO'#GRO' oQSO,5<aO' wQSO,5;SO'!PQ$IUO1G1ZO'!WQSO,5<mO'!]QSO,5<mO'!bQSO,5<oO'!gQSO,5<oO'!lQSO1G1{O'!qQSO1G0nO'!vQ,UO<<KuO'!}Q,UO<<KuO7aQ,UO'#FvO8wQSO'#FuOAOQSO'#EgO!){QUO,5;oO!2uQSO'#GRO!2uQSO'#GRO!2uQSO'#GTO!2uQSO'#GTO!'oQ,UO7+(ZO!'oQ,UO7+(ZO$KZQ`O1G2oO$KZQ`O1G2oO!&VQ,UO,5=TO!&VQ,UO,5=T",stateData:"'$W~O'nOS'oOSROS'pRQ~OPYOQYOV!UO^qOayObxOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!ctO!hZO!kYO!lYO!mYO!ouO!qvO!twO!x]O#p!OO$Q{O$UfO%`|O%b!PO%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO%q!TO%}!VO&T!WO&V!XO&X!YO&Z!ZO&^![O&d!]O&j!^O&l!_O&n!`O&p!aO&r!bO'uSO'wTO'zUO(SVO(b[O(oiO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'u!cO'wTO'zUO(SVO(b[O(oiO~O^!uOl!mO|!nO![!wO!]!tO!^!tO!x9qO!|!oO!}!oO#O!vO#P!oO#Q!oO#T!xO#U!xO'v!kO'wTO'zUO(V!lO(b!rO~O'p!yO~OPYXXYX^YXkYXyYXzYX|YX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX'lYX(SYX(cYX(jYX(kYX~O!a$zX~P(jO[!{O'w!}O'x!{O'y!}O~O[#OO'y!}O'z!}O'{#OO~Oq#QO!O#RO(T#RO(U#TO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'u9uO'wTO'zUO(SVO(b[O(oiO~O!U#XO!V#UO!S(YP!S(gP~P+vO!W#aO~P`OPYOQYOa!iOb!hOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'wTO'zUO(SVO(b[O(oiO~Oi#kO!U#gO!x]O#b#jO#c#gO'u9vO!g(dP~P.bO!h#mO'u#lO~O!t#qO!x]O%`#rO~O#d#sO~O!a#tO#d#sO~OP$[OX$cOk$POy#xOz#yO|#zO!V$`O!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO#v$XO(SVO(c$YO(j#{O(k#|O~O^(WX'l(WX'j(WX!g(WX!S(WX!X(WX%a(WX!a(WX~P1jO#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#o(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX!X(XX%a(XX~O^(XX!f(XX'l(XX'j(XX!S(XX!g(XXo(XX!a(XX~P4QO#X$dO~O$W$fO$Y$eO$a$kO~O!X$lO$UfO$d$mO$f$oO~Oi%ROk$sOl$rOm$rOs%SOu%TOw%UO|$zO!X${O!c%ZO!h$wO#c%[O$Q%XO$m%VO$o%WO$r%YO'u$qO'wTO'zUO(O%QO(S$tOd(PP~O!h%]O~O|%`O!X%aO'u%_O~O!a%eO~O^%fO'l%fO~O'v!kO~P%TO%f%mO~P%TO!h%]O'u%_O'v!kO(O%QO~Ob%tO!h%]O'u%_O~O#o$RO~Oy%yO!X%vO!h%xO%b%|O'u%_O'v!kO'wTO'zUO](xP~O!t#qO~O%k&OO|(tX!X(tX'u(tX~O'u&PO~O!q&UO#p!OO%b!PO%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO~Oa&ZOb&YO!t&WO%`&XO%s&VO~P;kOa&^ObxO!X&]O!q&UO!twO!x]O#p!OO%`|O%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO%q!TO~O_&aO#X&dO%b&_O'v!kO~P<pO!h&eO!q&iO~O!h#mO~O!XXO~O^%fO'k&qO'l%fO~O^%fO'k&tO'l%fO~O^%fO'k&vO'l%fO~O'jYX!SYXoYX!gYX&RYX!XYX%aYX!aYX~P(jO!['TO!]&|O!^&|O'v!kO'wTO'zUO~Ol&zO|&yO!U&}O(V&xO!W(ZP!W(iP~P?wOg'WO!X'UO'u%_O~Ob']O!h%]O'u%_O~Oy%yO!h%xO~Ol!mO|!nO!x9qO!|!oO!}!oO#P!oO#Q!oO'v!kO'wTO'zUO(V!lO(b!rO~O!['cO!]'bO!^'bO#O!oO#T'dO#U'dO~PAcO^%fO!a#tO!h%]O'l%fO(O%QO(c'fO~O!l'jO#X'hO~PBqOl!mO|!nO'wTO'zUO(V!lO(b!rO~O!XXOl(`X|(`X![(`X!](`X!^(`X!x(`X!|(`X!}(`X#O(`X#P(`X#Q(`X#T(`X#U(`X'v(`X'w(`X'z(`X(V(`X(b(`X~O!]'bO!^'bO'v!kO~PCaO'q'nO'r'nO's'pO~O[!{O'w'rO'x!{O'y'rO~O[#OO'y'rO'z'rO'{#OO~Oq#QO!O#RO(T#RO(U'vO~O!U'xO!S&}X!S'TX!V&}X!V'TX~P+vO!V'zO!S(YX~OP$[OX$cOk$POy#xOz#yO|#zO!V'zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO#v$XO(SVO(c$YO(j#{O(k#|O~O!S(YX~PGTO!S(PO~O!S(fX!V(fX!a(fX!g(fX(c(fX~O#X(fX#d#]X!W(fX~PIZO#X(QO!S(hX!V(hX~O!V(RO!S(gX~O!S(UO~O#X$dO~PIZO!W(VO~P`Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!jaX!jak!ja!V!ja!e!ja!l!ja#g!ja#h!ja#i!ja#j!ja#k!ja#l!ja#m!ja#n!ja#o!ja#q!ja#s!ja#u!ja#v!ja(c!ja(j!ja(k!ja~O^!ja'l!ja'j!ja!S!ja!g!jao!ja!X!ja%a!ja!a!ja~PJqO!g(WO~O!a#tO#X(XO(c'fO!V(eX^(eX'l(eX~O!g(eX~PMaO|%`O!X%aO!x]O#b(^O#c(]O'u%_O~O!V(_O!g(dX~O!g(aO~O|%`O!X%aO#c(]O'u%_O~OP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!f(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#o(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX~O!a#tO!g(XX~PN}Oy(bOz(cO!f#vO!h#wO!x!wa|!wa~O!t!wa%`!wa!X!wa#b!wa#c!wa'u!wa~P!#RO!t(gO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'u!cO'wTO'zUO(SVO(b[O(oiO~Oi%ROk$sOl$rOm$rOs%SOu%TOw:ZO|$zO!X${O!c;eO!h$wO#c:aO$Q%XO$m:]O$o:_O$r%YO'u(kO'wTO'zUO(O%QO(S$tO~O#d(mO~Oi%ROk$sOl$rOm$rOs%SOu%TOw%UO|$zO!X${O!c%ZO!h$wO#c%[O$Q%XO$m%VO$o%WO$r%YO'u(kO'wTO'zUO(O%QO(S$tO~Od(]P~P!'oO!U(qO!g(^P~P%TO(V(sO(b[O~O|(uO!h#wO(V(sO(b[O~OP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!X!dO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'u)TO'wTO'zUO(SVO(b[O(o;_O~Oz)WO!h#wO~O!V$`O^$ka'l$ka'j$ka!g$ka!S$ka!X$ka%a$ka!a$ka~O#p)[O~P!&VOy)_O!a)^O!X$XX$T$XX$W$XX$Y$XX$a$XX~O!a)^O!X(lX$T(lX$W(lX$Y(lX$a(lX~Oy)_O~P!-eOy)_O!X(lX$T(lX$W(lX$Y(lX$a(lX~O!X)aO$T)eO$W)`O$Y)`O$a)fO~O!U)iO~P!){O$W$fO$Y$eO$a)mO~Og$sXy$sX|$sX!f$sX(j$sX(k$sX~OdfXd$sXgfX!VfX#XfX~P!/ZOl)oO~Oq)pO(T)qO(U)sO~Og)|Oy)uO|)vO(j)xO(k)zO~Od)tO~P!0dOd)}O~Oi%ROk$sOl$rOm$rOs%SOu%TOw:ZO|$zO!X${O!c;eO!h$wO#c:aO$Q%XO$m:]O$o:_O$r%YO'wTO'zUO(O%QO(S$tO~O!U*RO'u*OO!g(pP~P!1RO#d*TO~O!h*UO~O!U*ZO'u*WO!S(qP~P!1ROk*gO|*_O![*eO!]*^O!^*^O!h*UO#T*fO%W*aO'v!kO(V!lO~O!W*dO~P!3XO!f#vOg(RXy(RX|(RX(j(RX(k(RX!V(RX#X(RX~Od(RX#y(RX~P!4QOg*jO#X*iOd(QX!V(QX~O!V*kOd(PX~O'u&POd(PP~O!h*rO~O'u(kO~Oi*vO|%`O!U#gO!X%aO!x]O#b#jO#c#gO'u%_O!g(dP~O!a#tO#d*wO~O|%`O!U*yO!V(RO!X%aO'u%_O!S(gP~Ol'QO|*{O!U*zO'wTO'zUO(V(sO~O!W(iP~P!6{O!V*|O^(uX'l(uX~OP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO#v$XO(SVO(c$YO(j#{O(k#|O~O^!ba!V!ba'l!ba'j!ba!S!ba!g!bao!ba!X!ba%a!ba!a!ba~P!7sOy#xOz#yO|#zO!f#vO!h#wO(SVOP!naX!nak!na!V!na!e!na!l!na#g!na#h!na#i!na#j!na#k!na#l!na#m!na#n!na#o!na#q!na#s!na#u!na#v!na(c!na(j!na(k!na~O^!na'l!na'j!na!S!na!g!nao!na!X!na%a!na!a!na~P!:^Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!paX!pak!pa!V!pa!e!pa!l!pa#g!pa#h!pa#i!pa#j!pa#k!pa#l!pa#m!pa#n!pa#o!pa#q!pa#s!pa#u!pa#v!pa(c!pa(j!pa(k!pa~O^!pa'l!pa'j!pa!S!pa!g!pao!pa!X!pa%a!pa!a!pa~P!<wOg+VO!X'UO%a+UO(O%QO~O!a+XO^'}X!X'}X'l'}X!V'}X~O^%fO!XXO'l%fO~O!h%]O(O%QO~O!h%]O'u%_O(O%QO~O!a#tO#d(mO~O%b+eO'u+aO'wTO'zUO!W(yP~O!V+fO](xX~OX+jO~O]+kO~O!X%vO'u%_O'v!kO](xP~O#X+pO(O%QO~Og+sO!X${O(O%QO~O!X+uO~Oy+wO!XXO~O%f%mO~O!t+|O~Ob,RO~O'u#lO!W(wP~Ob%tO~O%b!PO'u&PO~P<pOX,XO],WO~OPYOQYOayObxOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!ctO!hZO!kYO!lYO!mYO!ouO!twO!x]O$UfO%`|O'wTO'zUO(SVO(b[O(oiO~O!X!dO!q!fO$Q!jO'u!cO~P!CnO],WO^%fO'l%fO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!t!gO$Q!jO$UfO'u!cO'wTO'zUO(SVO(b[O(oiO~O^,^O!qvO#p}O%d}O%e}O%f}O~P!FWO!h&eO~O&T,dO~O!X,fO~O&f,hO&h,iOP&caQ&caV&ca^&caa&cab&cai&cak&cal&cam&cas&cau&caw&ca|&ca!Q&ca!R&ca!X&ca!c&ca!h&ca!k&ca!l&ca!m&ca!o&ca!q&ca!t&ca!x&ca#p&ca$Q&ca$U&ca%`&ca%b&ca%d&ca%e&ca%f&ca%i&ca%k&ca%n&ca%o&ca%q&ca%}&ca&T&ca&V&ca&X&ca&Z&ca&^&ca&d&ca&j&ca&l&ca&n&ca&p&ca&r&ca'j&ca'u&ca'w&ca'z&ca(S&ca(b&ca(o&ca!W&ca&[&ca_&ca&a&ca~O'u,nO~O!V{X!V!_X!W{X!W!_X!a{X!a!_X!h!_X#X{X(O!_X~O!a,sO#X,rO!V#aX!V([X!W#aX!W([X!a([X!h([X(O([X~O!a,uO!h%]O(O%QO!V!ZX!W!ZX~Ol!mO|!nO'wTO'zUO(V!lO~OP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!X!dO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'wTO'zUO(SVO(b[O(o;_O~O'u:fO~P# ^O!V,yO!W(ZX~O!W,{O~O!a,sO#X,rO!V#aX!W#aX~O!V,|O!W(iX~O!W-OO~O!]-PO!^-PO'v!kO~P!N{O!W-SO~P'WOg-VO!X'UO~O!S-[O~Ol!wa![!wa!]!wa!^!wa!|!wa!}!wa#O!wa#P!wa#Q!wa#T!wa#U!wa'v!wa'w!wa'z!wa(V!wa(b!wa~P!#RO!l-aO#X-_O~PBqO!]-cO!^-cO'v!kO~PCaO^%fO#X-_O'l%fO~O^%fO!a#tO#X-_O'l%fO~O^%fO!a#tO!l-aO#X-_O'l%fO(c'fO~O'q'nO'r'nO's-hO~Oo-iO~O!S&}a!V&}a~P!7sO!U-mO!S&}X!V&}X~P%TO!V'zO!S(Ya~O!S(Ya~PGTO!V(RO!S(ga~O|%`O!U-qO!X%aO'u%_O!S'TX!V'TX~O#X-sO!V(ea!g(ea^(ea'l(ea~O!a#tO~P#)dO!V(_O!g(da~O|%`O!X%aO#c-wO'u%_O~Oi-|O|%`O!U-yO!X%aO!x]O#b-{O#c-yO'u%_O!V'WX!g'WX~Oz.QO!h#wO~Og.TO!X'UO%a.SO(O%QO~O^#[i!V#[i'l#[i'j#[i!S#[i!g#[io#[i!X#[i%a#[i!a#[i~P!7sOg;kOy)uO|)vO(j)xO(k)zO~O#d#Wa^#Wa#X#Wa'l#Wa!V#Wa!g#Wa!X#Wa!S#Wa~P#,`O#d(RXP(RXX(RX^(RXk(RXz(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX'l(RX(S(RX(c(RX!g(RX!S(RX'j(RXo(RX!X(RX%a(RX!a(RX~P!4QO!V.^Od(]X~P!0dOd.`O~O!V.aO!g(^X~P!7sO!g.dO~O!S.fO~OP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O(SVOX#fi^#fik#fi!V#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O#g#fi~P#0[O#g#}O~P#0[OP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO(SVOX#fi^#fi!V#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~Ok#fi~P#2|Ok$PO~P#2|OP$[Ok$POy#xOz#yO|#zO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO(SVO^#fi!V#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P#5nOX$cO!e$RO#l$RO#m$RO#n$bO#o$RO~P#5nOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO(SVO^#fi!V#fi#s#fi#u#fi#v#fi'l#fi(c#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(j#fi~P#8oO(j#{O~P#8oOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO(SVO(j#{O^#fi!V#fi#u#fi#v#fi'l#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(k#fi~P#;aO(k#|O~P#;aOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO(SVO(j#{O(k#|O~O^#fi!V#fi#v#fi'l#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#>ROPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX!VYX!WYX~O#yYX~P#@lOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO#v:TO(SVO(c$YO(j#{O(k#|O~O#y.hO~P#ByO#X:YO#{:YO#y(XX!W(XX~PN}O^'Za!V'Za'l'Za'j'Za!g'Za!S'Zao'Za!X'Za%a'Za!a'Za~P!7sOP#fiX#fi^#fik#fiz#fi!V#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(S#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#,`O^#zi!V#zi'l#zi'j#zi!S#zi!g#zio#zi!X#zi%a#zi!a#zi~P!7sO$W.mO$Y.mO~O$W.nO$Y.nO~O!a)^O#X.oO!X$^X$T$^X$W$^X$Y$^X$a$^X~O!U.pO~O!X)aO$T.rO$W)`O$Y)`O$a.sO~O!V:UO!W(WX~P#ByO!W.tO~O!a)^O$a(lX~O$a.vO~Oq)pO(T)qO(U.yO~O!S.}O~P!&VO!VcX!acX!gcX!g$sX(ccX~P!/ZO!g/TO~P#,`O!V/UO!a#tO(c'fO!g(pX~O!g/ZO~O!U*RO'u%_O!g(pP~O#d/]O~O!S$sX!V$sX!a$zX~P!/ZO!V/^O!S(qX~P#,`O!a/`O~O!S/bO~Ok/fO!a#tO!h%]O(O%QO(c'fO~O'u/hO~O!a+XO~O^%fO!V/lO'l%fO~O!W/nO~P!3XO!]/oO!^/oO'v!kO(V!lO~O|/qO(V!lO~O#T/rO~O'u&POd'`X!V'`X~O!V*kOd(Pa~Od/wO~Oy/xOz/xO|/yOgva(jva(kva!Vva#Xva~Odva#yva~P$ aOy)uO|)vOg$la(j$la(k$la!V$la#X$la~Od$la#y$la~P$!VOy)uO|)vOg$na(j$na(k$na!V$na#X$na~Od$na#y$na~P$!xO#d/{O~Od$|a!V$|a#X$|a#y$|a~P!0dO!a#tO~O#d0OO~O!V*|O^(ua'l(ua~Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!niX!nik!ni!V!ni!e!ni!l!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#o!ni#q!ni#s!ni#u!ni#v!ni(c!ni(j!ni(k!ni~O^!ni'l!ni'j!ni!S!ni!g!nio!ni!X!ni%a!ni!a!ni~P$$gOg.TO!X'UO%a.SO~Oi0YO'u0XO~P!1UO!a+XO^'}a!X'}a'l'}a!V'}a~O#d0`O~OXYX!VcX!WcX~O!V0aO!W(yX~O!W0cO~OX0dO~O'u+aO'wTO'zUO~O!X%vO'u%_O]'hX!V'hX~O!V+fO](xa~O!g0iO~P!7sOX0lO~O]0mO~O#X0pO~Og0sO!X${O~O(V(sO!W(vP~Og0|O!X0yO%a0{O(O%QO~OX1WO!V1UO!W(wX~O!W1XO~O]1ZO^%fO'l%fO~O'u#lO'wTO'zUO~O#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX~O#o1^O&R1_O^(XX!f(XX~P$+]O#X$dO#o1^O&R1_O~O^1aO~P%TO^1cO~O&[1fOP&YiQ&YiV&Yi^&Yia&Yib&Yii&Yik&Yil&Yim&Yis&Yiu&Yiw&Yi|&Yi!Q&Yi!R&Yi!X&Yi!c&Yi!h&Yi!k&Yi!l&Yi!m&Yi!o&Yi!q&Yi!t&Yi!x&Yi#p&Yi$Q&Yi$U&Yi%`&Yi%b&Yi%d&Yi%e&Yi%f&Yi%i&Yi%k&Yi%n&Yi%o&Yi%q&Yi%}&Yi&T&Yi&V&Yi&X&Yi&Z&Yi&^&Yi&d&Yi&j&Yi&l&Yi&n&Yi&p&Yi&r&Yi'j&Yi'u&Yi'w&Yi'z&Yi(S&Yi(b&Yi(o&Yi!W&Yi_&Yi&a&Yi~O_1lO!W1jO&a1kO~P`O!XXO!h1nO~O&h,iOP&ciQ&ciV&ci^&cia&cib&cii&cik&cil&cim&cis&ciu&ciw&ci|&ci!Q&ci!R&ci!X&ci!c&ci!h&ci!k&ci!l&ci!m&ci!o&ci!q&ci!t&ci!x&ci#p&ci$Q&ci$U&ci%`&ci%b&ci%d&ci%e&ci%f&ci%i&ci%k&ci%n&ci%o&ci%q&ci%}&ci&T&ci&V&ci&X&ci&Z&ci&^&ci&d&ci&j&ci&l&ci&n&ci&p&ci&r&ci'j&ci'u&ci'w&ci'z&ci(S&ci(b&ci(o&ci!W&ci&[&ci_&ci&a&ci~O!S1tO~O!V!Za!W!Za~P#ByOl!mO|!nO!U1zO(V!lO!V'OX!W'OX~P?wO!V,yO!W(Za~O!V'UX!W'UX~P!6{O!V,|O!W(ia~O!W2RO~P'WO^%fO#X2[O'l%fO~O^%fO!a#tO#X2[O'l%fO~O^%fO!a#tO!l2`O#X2[O'l%fO(c'fO~O^%fO'l%fO~P!7sO!V$`Oo$ka~O!S&}i!V&}i~P!7sO!V'zO!S(Yi~O!V(RO!S(gi~O!S(hi!V(hi~P!7sO!V(ei!g(ei^(ei'l(ei~P!7sO#X2bO!V(ei!g(ei^(ei'l(ei~O!V(_O!g(di~O|%`O!X%aO!x]O#b2gO#c2fO'u%_O~O|%`O!X%aO#c2fO'u%_O~Og2nO!X'UO%a2mO~Og2nO!X'UO%a2mO(O%QO~O#dvaPvaXva^vakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva'lva(Sva(cva!gva!Sva'jvaova!Xva%ava!ava~P$ aO#d$laP$laX$la^$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la'l$la(S$la(c$la!g$la!S$la'j$lao$la!X$la%a$la!a$la~P$!VO#d$naP$naX$na^$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na'l$na(S$na(c$na!g$na!S$na'j$nao$na!X$na%a$na!a$na~P$!xO#d$|aP$|aX$|a^$|ak$|az$|a!V$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a'l$|a(S$|a(c$|a!g$|a!S$|a'j$|a#X$|ao$|a!X$|a%a$|a!a$|a~P#,`O^#[q!V#[q'l#[q'j#[q!S#[q!g#[qo#[q!X#[q%a#[q!a#[q~P!7sOd'PX!V'PX~P!'oO!V.^Od(]a~O!U2vO!V'QX!g'QX~P%TO!V.aO!g(^a~O!V.aO!g(^a~P!7sO!S2yO~O#y!ja!W!ja~PJqO#y!ba!V!ba!W!ba~P#ByO#y!na!W!na~P!:^O#y!pa!W!pa~P!<wO!X3]O$UfO$_3^O~O!W3bO~Oo3cO~P#,`O^$hq!V$hq'l$hq'j$hq!S$hq!g$hqo$hq!X$hq%a$hq!a$hq~P!7sO!S3dO~P#,`Oy)uO|)vO(k)zOg%Xi(j%Xi!V%Xi#X%Xi~Od%Xi#y%Xi~P$IuOy)uO|)vOg%Zi(j%Zi(k%Zi!V%Zi#X%Zi~Od%Zi#y%Zi~P$JhO(c$YO~P#,`O!U3gO'u%_O!V'[X!g'[X~O!V/UO!g(pa~O!V/UO!a#tO!g(pa~O!V/UO!a#tO(c'fO!g(pa~Od$ui!V$ui#X$ui#y$ui~P!0dO!U3oO'u*WO!S'^X!V'^X~P!1RO!V/^O!S(qa~O!V/^O!S(qa~P#,`O!a#tO#o3wO~Ok3zO!a#tO(c'fO~Od(Qi!V(Qi~P!0dO#X3}Od(Qi!V(Qi~P!0dO!g4QO~O^$iq!V$iq'l$iq'j$iq!S$iq!g$iqo$iq!X$iq%a$iq!a$iq~P!7sO!S4UO~O!V4VO!X(rX~P#,`O!f#vO~P4QO^$sX!X$sX%UYX'l$sX!V$sX~P!/ZO%U4XO^hXghXyhX|hX!XhX'lhX(jhX(khX!VhX~O%U4XO~O%b4`O'u+aO'wTO'zUO!V'gX!W'gX~O!V0aO!W(ya~OX4dO~O]4eO~O^%fO'l%fO~P#,`O!X${O~P#,`O!V4mO#X4oO!W(vX~O!W4pO~Ol!mO|4qO![!wO!]!tO!^!tO!x9qO!|!oO!}!oO#O!oO#P!oO#Q!oO#T4vO#U!xO'v!kO'wTO'zUO(V!lO(b!rO~O!W4uO~P%$gOg4{O!X0yO%a4zO~Og4{O!X0yO%a4zO(O%QO~O'u#lO!V'fX!W'fX~O!V1UO!W(wa~O'wTO'zUO(V5UO~O]5YO~O#o5]O&R5^O~PMaO!g5_O~P%TO^5aO~O^5aO~P%TO_1lO!W5fO&a1kO~P`O!a5hO~O!a5jO!V([i!W([i!a([i!h([i(O([i~O!V#ai!W#ai~P#ByO#X5kO!V#ai!W#ai~O!V!Zi!W!Zi~P#ByO^%fO#X5tO'l%fO~O^%fO!a#tO#X5tO'l%fO~O!V(eq!g(eq^(eq'l(eq~P!7sO!V(_O!g(dq~O|%`O!X%aO#c5{O'u%_O~O!X'UO%a6OO~Og6RO!X'UO%a6OO~O#d%XiP%XiX%Xi^%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi'l%Xi(S%Xi(c%Xi!g%Xi!S%Xi'j%Xio%Xi!X%Xi%a%Xi!a%Xi~P$IuO#d%ZiP%ZiX%Zi^%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi'l%Zi(S%Zi(c%Zi!g%Zi!S%Zi'j%Zio%Zi!X%Zi%a%Zi!a%Zi~P$JhO#d$uiP$uiX$ui^$uik$uiz$ui!V$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui'l$ui(S$ui(c$ui!g$ui!S$ui'j$ui#X$uio$ui!X$ui%a$ui!a$ui~P#,`Od'Pa!V'Pa~P!0dO!V'Qa!g'Qa~P!7sO!V.aO!g(^i~O#y#[i!V#[i!W#[i~P#ByOP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O(SVOX#fik#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~O#g#fi~P%2vO#g9yO~P%2vOP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO(SVOX#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~Ok#fi~P%5ROk9{O~P%5ROP$[Ok9{Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O(SVO#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P%7^OX:XO!e9}O#l9}O#m9}O#n:WO#o9}O~P%7^OP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO(SVO#s#fi#u#fi#v#fi#y#fi(c#fi(k#fi!V#fi!W#fi~O(j#fi~P%9xO(j#{O~P%9xOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO(SVO(j#{O#u#fi#v#fi#y#fi(c#fi!V#fi!W#fi~O(k#fi~P%<TO(k#|O~P%<TOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO(SVO(j#{O(k#|O~O#v#fi#y#fi(c#fi!V#fi!W#fi~P%>`O^#wy!V#wy'l#wy'j#wy!S#wy!g#wyo#wy!X#wy%a#wy!a#wy~P!7sOg;lOy)uO|)vO(j)xO(k)zO~OP#fiX#fik#fiz#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(S#fi(c#fi!V#fi!W#fi~P%AWO!f#vOP(RXX(RXg(RXk(RXy(RXz(RX|(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX#y(RX(S(RX(c(RX(j(RX(k(RX!V(RX!W(RX~O#y#zi!V#zi!W#zi~P#ByO#y!ni!W!ni~P$$gO!W6_O~O!V'Za!W'Za~P#ByO!a#tO(c'fO!V'[a!g'[a~O!V/UO!g(pi~O!V/UO!a#tO!g(pi~Od$uq!V$uq#X$uq#y$uq~P!0dO!S'^a!V'^a~P#,`O!a6fO~O!V/^O!S(qi~P#,`O!V/^O!S(qi~O!S6jO~O!a#tO#o6oO~Ok6pO!a#tO(c'fO~O!S6rO~Od$wq!V$wq#X$wq#y$wq~P!0dO^$iy!V$iy'l$iy'j$iy!S$iy!g$iyo$iy!X$iy%a$iy!a$iy~P!7sO!a5jO~O!V4VO!X(ra~O^#[y!V#[y'l#[y'j#[y!S#[y!g#[yo#[y!X#[y%a#[y!a#[y~P!7sOX6wO~O!V0aO!W(yi~O]6}O~O(V(sO!V'cX!W'cX~O!V4mO!W(va~OikO'u7UO~P.bO!W7XO~P%$gOl!mO|7YO'wTO'zUO(V!lO(b!rO~O!X0yO~O!X0yO%a7[O~Og7_O!X0yO%a7[O~OX7dO!V'fa!W'fa~O!V1UO!W(wi~O!g7hO~O!g7iO~O!g7lO~O!g7lO~P%TO^7nO~O!a7oO~O!g7pO~O!V(hi!W(hi~P#ByO^%fO#X7xO'l%fO~O!V(ey!g(ey^(ey'l(ey~P!7sO!V(_O!g(dy~O!X'UO%a7{O~O#d$uqP$uqX$uq^$uqk$uqz$uq!V$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq'l$uq(S$uq(c$uq!g$uq!S$uq'j$uq#X$uqo$uq!X$uq%a$uq!a$uq~P#,`O#d$wqP$wqX$wq^$wqk$wqz$wq!V$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq'l$wq(S$wq(c$wq!g$wq!S$wq'j$wq#X$wqo$wq!X$wq%a$wq!a$wq~P#,`O!V'Qi!g'Qi~P!7sO#y#[q!V#[q!W#[q~P#ByOy/xOz/xO|/yOPvaXvagvakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva#yva(Sva(cva(jva(kva!Vva!Wva~Oy)uO|)vOP$laX$lag$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la#y$la(S$la(c$la(j$la(k$la!V$la!W$la~Oy)uO|)vOP$naX$nag$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na#y$na(S$na(c$na(j$na(k$na!V$na!W$na~OP$|aX$|ak$|az$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a#y$|a(S$|a(c$|a!V$|a!W$|a~P%AWO#y$hq!V$hq!W$hq~P#ByO#y$iq!V$iq!W$iq~P#ByO!W8VO~O#y8WO~P!0dO!a#tO!V'[i!g'[i~O!a#tO(c'fO!V'[i!g'[i~O!V/UO!g(pq~O!S'^i!V'^i~P#,`O!V/^O!S(qq~O!S8^O~P#,`O!S8^O~Od(Qy!V(Qy~P!0dO!V'aa!X'aa~P#,`O^%Tq!X%Tq'l%Tq!V%Tq~P#,`OX8cO~O!V0aO!W(yq~O#X8gO!V'ca!W'ca~O!V4mO!W(vi~P#ByOPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!a%RX#o%RX~P&2WO!X0yO%a8kO~O'wTO'zUO(V8pO~O!V1UO!W(wq~O!g8sO~O!g8tO~O!g8uO~O!g8uO~P%TO#X8xO!V#ay!W#ay~O!V#ay!W#ay~P#ByO!X'UO%a8}O~O#y#wy!V#wy!W#wy~P#ByOP$uiX$uik$uiz$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui#y$ui(S$ui(c$ui!V$ui!W$ui~P%AWOy)uO|)vO(k)zOP%XiX%Xig%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi#y%Xi(S%Xi(c%Xi(j%Xi!V%Xi!W%Xi~Oy)uO|)vOP%ZiX%Zig%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi#y%Zi(S%Zi(c%Zi(j%Zi(k%Zi!V%Zi!W%Zi~O#y$iy!V$iy!W$iy~P#ByO#y#[y!V#[y!W#[y~P#ByO!a#tO!V'[q!g'[q~O!V/UO!g(py~O!S'^q!V'^q~P#,`O!S9UO~P#,`O!V0aO!W(yy~O!V4mO!W(vq~O!X0yO%a9]O~O!g9`O~O!X'UO%a9eO~OP$uqX$uqk$uqz$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq#y$uq(S$uq(c$uq!V$uq!W$uq~P%AWOP$wqX$wqk$wqz$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq#y$wq(S$wq(c$wq!V$wq!W$wq~P%AWOd%]!Z!V%]!Z#X%]!Z#y%]!Z~P!0dO!V'cq!W'cq~P#ByO!V#a!Z!W#a!Z~P#ByO#d%]!ZP%]!ZX%]!Z^%]!Zk%]!Zz%]!Z!V%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z'l%]!Z(S%]!Z(c%]!Z!g%]!Z!S%]!Z'j%]!Z#X%]!Zo%]!Z!X%]!Z%a%]!Z!a%]!Z~P#,`OP%]!ZX%]!Zk%]!Zz%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z#y%]!Z(S%]!Z(c%]!Z!V%]!Z!W%]!Z~P%AWOo(WX~P1jO'v!kO~P!){O!ScX!VcX#XcX~P&2WOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#XYX#XcX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!acX!gYX!gcX(ccX~P&GnOP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!XXO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'u)TO'wTO'zUO(SVO(b[O(o;_O~O!V:UO!W$ka~Oi%ROk$sOl$rOm$rOs%SOu%TOw:[O|$zO!X${O!c;fO!h$wO#c:bO$Q%XO$m:^O$o:`O$r%YO'u(kO'wTO'zUO(O%QO(S$tO~O#p)[O~P&LdO!WYX!WcX~P&GnO#d9xO~O!a#tO#d9xO~O#X:YO~O#o9}O~O#X:dO!V(hX!W(hX~O#X:YO!V(fX!W(fX~O#d:eO~Od:gO~P!0dO#d:lO~O#d:mO~O!a#tO#d:nO~O!a#tO#d:eO~O#y:oO~P#ByO#d:pO~O#d:qO~O#d:rO~O#d:sO~O#d:tO~O#d:uO~O#y:vO~P!0dO#y:wO~P!0dO$U~!f!|!}#P#Q#T#b#c#n(o$m$o$r%U%`%a%b%i%k%n%o%q%s~'pR$U(o#h!R'n'v#il#g#jky'o(V'o'u$W$Y$W~",goto:"$&a(}PPPP)OP)RP)cP*r.uPPPP5UPP5kP;f>mP?QP?QPPP?QP@rP?QP?QP?QP@vPP@{PAfPF]PPPFaPPPPFaIaPPPIgJbPFaPLoPPPPN}FaPPPFaPFaP!#]FaP!&p!'r!'{P!(n!(r!(nPPPPP!+|!'rPP!,j!-dP!0WFaFa!0]!3f!7z!7z!;oPPP!;vFaPPPPPPPPPPP!?SP!@ePPFa!ArPFaPFaFaFaFaPFa!CUPP!F]P!I`P!Id!In!Ir!IrP!FYP!Iv!IvP!LyP!L}FaFa!MT#!V?QP?QP?Q?QP##a?Q?Q#%]?Q#'l?Q#)b?Q?Q#*O#+|#+|#,Q#,Y#+|#,bP#+|P?Q#,z?Q#.T?Q?Q5UPPP#/aPPP#/y#/yP#/yP#0`#/yPP#0fP#0]P#0]#0x#0]#1d#1j5R)R#1m)RP#1t#1t#1tP)RP)RP)RP)RPP)RP#1z#1}P#1})RP#2RP#2UP)RP)RP)RP)RP)RP)R)RPP#2[#2b#2l#2r#2x#3O#3U#3d#3j#3p#3z#4Q#4[#4k#4q#5b#5t#5z#6Q#6`#6u#8W#8f#8l#8r#8x#9O#9Y#9`#9f#9p#:S#:YPPPPPPPPPP#:`PPPPPPP#;S#>ZP#?j#?q#?yPPPP#DX#F}#Me#Mh#Mk#Nd#Ng#Nj#Nq#NyPP$ P$ T$ {$!z$#O$#dPP$#h$#n$#rP$#u$#y$#|$$r$%Y$%p$%t$%w$%z$&Q$&T$&X$&]R!zRmqOXs!Y#b%e&h&j&k&m,a,f1f1iY!tQ'U-R0y4tQ%kuQ%sxQ%z{Q&`!US&|!d,yQ'[!hS'b!q!wS*^${*cQ+_%tQ+l%|Q,Q&YQ-P'TQ-Z']Q-c'cQ/o*eQ1T,RR:c9t$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7xS#o]9q!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ*n%UQ+d%vQ,S&]Q,Z&eQ.W:ZQ0V+VQ0Z+XQ0f+eQ1],XQ2j.TQ4_0aQ5S1UQ6Q2nQ6W:[Q6y4`R8O6R&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bt!mQ!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4v$^$ri#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ%}{Q&z!dS'Q%a,|Q+d%vQ/z*rQ0f+eQ0k+kQ1[,WQ1],XQ4_0aQ4h0mQ5V1WQ5W1ZQ6y4`Q6|4eQ7g5YQ8f6}R8q7dpnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR,U&a&t^OPXYstuvy!Y!_!f!i!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;a;b[#ZWZ#U#X&}'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q%nwQ%rxS%w{%|Q&T!SQ'X!gQ'Z!hQ(f#qS*Q$w*US+^%s%tQ+b%vQ+{&WQ,P&YS-Y'[']Q.V(gQ/Y*RQ0_+_Q0e+eQ0g+fQ0j+jQ1O+|S1S,Q,RQ2W-ZQ3f/UQ4^0aQ4b0dQ4g0lQ5R1TQ6c3gQ6x4`Q6{4dQ8b6wR9W8cv$yi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h!S%px!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yQ+W%nQ+q&QQ+t&RQ,O&YQ.U(fQ0}+{U1R,P,Q,RQ2o.VQ4|1OS5Q1S1TQ7c5R#O;c#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg;d:W:X:^:`:b:i:k:m:q:s:wW%Oi%Q*k;_S&Q!P&_Q&R!QQ&S!RR+o&O$_$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lT)q$t)rV*o%U:Z:[U'Q!d%a,|S(t#x#yQ+i%yS.O(b(cQ0t+uQ4O/xR7R4m&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b$i$_c#W#c%i%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.i.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;UT#RV#S&{kOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ'O!dR1{,yv!mQ!d!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4vS*]${*cS/g*^*eQ/p*fQ0v+wQ3y/oR3|/rlqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&o!]Q'l!vS(h#s9xQ+[%qQ+y&TQ+z&VQ-W'YQ-e'eS.[(m:eS/}*w:nQ0]+]Q0x+xQ1m,hQ1o,iQ1w,tQ2U-XQ2X-]S4T0O:tQ4Y0^S4]0`:uQ5l1yQ5p2VQ5u2^Q6v4ZQ7s5nQ7t5qQ7w5vR8w7p$d$^c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(e#n'_U*h$|(l3YS+R%i.iQ2k0VQ5}2jQ7}6QR9O8O$d$]c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(d#n'_S(v#y$^S+Q%i.iS.P(c(eQ.l)WQ0S+RR2h.Q&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS#o]9qQ&j!WQ&k!XQ&m!ZQ&n![R1e,dQ'V!gQ+T%nQ-U'XS.R(f+WQ2S-TW2l.U.V0U0WQ5o2TU5|2i2k2oS7z5}6PS8|7|7}S9c8{9OQ9k9dR9n9lU!uQ'U-RT4r0y4t!O_OXZ`s!U!Y#b#f%]%e&_&a&h&j&k&m(_,a,f-x1f1i]!oQ!q'U-R0y4tT#o]9q%WzOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS(t#x#yS.O(b(c!s:{$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bY!sQ'U-R0y4tQ'a!qS'k!t!wS'm!x4vS-b'b'cQ-d'dR2_-cQ'j!sS(Z#e1`S-a'a'mQ/X*QQ/e*]Q2`-dQ3k/YS3t/f/pQ6b3fS6m3z3|Q8Y6cR8a6pQ#ubQ'i!sS(Y#e1`S([#k*vQ*x%^Q+Y%oQ+`%uU-`'a'j'mQ-t(ZQ/W*QQ/d*]Q/j*`Q0[+ZQ1P+}S2]-a-dQ2e-|S3j/X/YS3s/e/pQ3v/iQ3x/kQ5O1QQ5w2`Q6a3fQ6e3kS6i3t3|Q6n3{Q7a5PS8X6b6cQ8]6jQ8_6mQ8n7bQ9S8YQ9T8^Q9V8aQ9_8oQ9g9UQ;O:yQ;Z;SR;[;TV!uQ'U-R%WaOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS#uy!i!r:x$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR;O;a%WbOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xQ%^j!S%ox!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yS%uy!iQ+Z%pQ+}&YW1Q,O,P,Q,RU5P1R1S1TS7b5Q5RQ8o7c!r:y$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ;S;`R;T;a$zeOPXYstuv!Y!_!f!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xY#`WZ#U#X'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q,[&e!p:z$Z$l)i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR:}&}S'R!d%aR1},|$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7x!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ,Z&eQ0V+VQ2j.TQ6Q2nR8O6R!f$Tc#W%i'w'}(i(p)P)Q)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!T:P)U)g,w.i1u1x2z3S3T3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!b$Vc#W%i'w'}(i(p)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!P:R)U)g,w.i1u1x2z3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!^$Zc#W%i'w'}(i(p)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9rQ3e/Sz;b)U)g,w.i1u1x2z3Z3a5m6V6[6]7T7r8P8T8U9Y9a;UQ;g;iR;h;j&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS$mh$nR3^.o'RgOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$if$oQ$gfS)`$j)dR)l$oT$hf$oT)b$j)d'RhOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$mh$nQ$phR)k$n%WjOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7x!s;`$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b#alOPXZs!Y!_!n#Q#b#m#z$l%e&a&d&e&h&j&k&m&q&y'W(u)i*{+V,^,a,f-V.T.p/y0|1^1_1a1c1f1i1k2n3]4q4{5]5^5a6R7Y7_7nv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lQ*s%YQ.{)ug3Y:W:X:^:`:b:i:k:m:q:s:wv$xi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;hQ*V$yS*`${*cQ*t%ZQ/k*a#O;Q#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lf;R:W:X:^:`:b:i:k:m:q:s:wQ;V;cQ;W;dQ;X;eR;Y;fv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg3Y:W:X:^:`:b:i:k:m:q:s:wloOXs!Y#b%e&h&j&k&m,a,f1f1iQ*Y$zQ,o&tQ,p&vR3n/^$^$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ+r&RQ0r+tQ4k0qR7Q4lT*b${*cS*b${*cT4s0y4tS/i*_4qT3{/q7YQ+Y%oQ/j*`Q0[+ZQ1P+}Q5O1QQ7a5PQ8n7bR9_8on)y$u(n*u/[/s/t2s3l4R6`6q9R;P;];^!Y:h(j)Z*P*X.Z.w.|/S/a0T0o0q2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j]:i3X6Z8Q9P9Q9op){$u(n*u/Q/[/s/t2s3l4R6`6q9R;P;];^![:j(j)Z*P*X.Z.w.|/S/a0T0o0q2p2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j_:k3X6Z8Q8R9P9Q9opnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ&[!TR,^&epnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR&[!TQ+v&SR0n+oqnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ0z+{S4y0}1OU7Z4w4x4|S8j7]7^S9Z8i8lQ9h9[R9m9iQ&c!UR,V&_R5V1WS%w{%|R0g+fQ&h!VR,a&iR,g&nT1g,f1iR,k&oQ,j&oR1p,kQ'o!yR-g'oQsOQ#bXT%hs#bQ!|TR'q!|Q#PUR's#PQ)r$tR.x)rQ#SVR'u#SQ#VWU'{#V'|-nQ'|#WR-n'}Q,z'OR1|,zQ._(nR2t._Q.b(pS2w.b2xR2x.cQ-R'UR2Q-RY!qQ'U-R0y4tR'`!qS#]W%`U(S#](T-oQ(T#^R-o(OQ,}'RR2O,}r`OXs!U!Y#b%e&_&a&h&j&k&m,a,f1f1iS#fZ%]U#p`#f-xR-x(_Q(`#hQ-u([W-}(`-u2c5yQ2c-vR5y2dQ)d$jR.q)dQ$nhR)j$nQ$acU)Y$a-j:VQ-j9rR:V)gQ/V*QW3h/V3i6d8ZU3i/W/X/YS6d3j3kR8Z6e#o)w$u(j(n)Z*P*X*p*q*u.X.Y.Z.w.|/Q/R/S/[/a/s/t0T0o0q2p2q2r2s3X3l3m3q4R4j4l6S6T6X6Y6Z6`6g6k6q6s6u8Q8R8S8[8`9P9Q9R9f9o;P;];^;i;jQ/_*XU3p/_3r6hQ3r/aR6h3qQ*c${R/m*cQ*l%PR/v*lQ4W0TR6t4WQ*}%cR0R*}Q4n0tS7S4n8hR8h7TQ+x&TR0w+xQ4t0yR7W4tQ1V,SS5T1V7eR7e5VQ0b+bW4a0b4c6z8dQ4c0eQ6z4bR8d6{Q+g%wR0h+gQ1i,fR5e1iWrOXs#bQ&l!YQ+P%eQ,`&hQ,b&jQ,c&kQ,e&mQ1d,aS1g,f1iR5d1fQ%gpQ&p!^Q&s!`Q&u!aQ&w!bQ'g!sQ+O%dQ+[%qQ+n%}Q,U&cQ,m&rW-^'a'i'j'mQ-e'eQ/l*bQ0]+]S1Y,V,YQ1q,lQ1r,oQ1s,pQ2X-]W2Z-`-a-d-fQ4Y0^Q4f0kQ4i0oQ4}1PQ5X1[Q5c1eU5r2Y2]2`Q5u2^Q6v4ZQ7O4hQ7P4jQ7V4sQ7`5OQ7f5WS7u5s5wQ7w5vQ8e6|Q8m7aQ8r7gQ8y7vQ9X8fQ9^8nQ9b8zR9j9_Q%qxQ'Y!hQ'e!sU+]%r%s%tQ,t&{U-X'Z'[']S-]'a'kQ/c*]S0^+^+_Q1y,vS2V-Y-ZQ2^-bQ3u/gQ4Z0_Q5n2PQ5q2WQ5v2_R6l3yS$vi;_R*m%QU%Pi%Q;_R/u*kQ$uiS(j#t+XQ(n#vS)Z$b$cQ*P$wQ*X$zQ*p%VQ*q%WQ*u%[Q.X:]Q.Y:_Q.Z:aQ.w)pS.|)v/OQ/Q)yQ/R){Q/S)|Q/[*TQ/a*ZQ/s*iQ/t*jh0T+U.S0{2m4z6O7[7{8k8}9]9eQ0o+pQ0q+sQ2p:hQ2q:jQ2r:lQ2s.^S3X:W:XQ3l/]Q3m/^Q3q/`Q4R/{Q4j0pQ4l0sQ6S:pQ6T:rQ6X:^Q6Y:`Q6Z:bQ6`3eQ6g3oQ6k3wQ6q3}Q6s4VQ6u4XQ8Q:mQ8R:iQ8S:kQ8[6fQ8`6oQ9P:qQ9Q:sQ9R8WQ9f:vQ9o:wQ;P;_Q;];gQ;^;hQ;i;kR;j;llpOXs!Y#b%e&h&j&k&m,a,f1f1iQ!ePS#dZ#mQ&r!_U'^!n4q7YQ't#QQ(w#zQ)h$lS,Y&a&dQ,_&eQ,l&qQ,q&yQ-T'WQ.e(uQ.u)iQ0P*{Q0W+VQ1b,^Q2T-VQ2k.TQ3`.pQ4P/yQ4x0|Q5Z1^Q5[1_Q5`1aQ5b1cQ5g1kQ5}2nQ6^3]Q7^4{Q7j5]Q7k5^Q7m5aQ7}6RQ8l7_R8v7n#UcOPXZs!Y!_!n#b#m#z%e&a&d&e&h&j&k&m&q&y'W(u*{+V,^,a,f-V.T/y0|1^1_1a1c1f1i1k2n4q4{5]5^5a6R7Y7_7nQ#WWQ#cYQ%itQ%juS%lv!fS'w#U'zQ'}#XQ(i#sQ(p#wQ(x#}Q(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)U$ZQ)X$`Q)]$dW)g$l)i.p3]Q+S%kQ+h%xS,w&}1zQ-f'hS-k'x-mQ-p(QQ-r(XQ.](mQ.c(qQ.g9pQ.i9sQ.j9tQ.k9wQ.z)tQ/|*wQ1u,rQ1x,uQ2Y-_Q2a-sQ2u.aQ2z9xQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W.hQ3Z:YQ3[:cQ3a:UQ4S0OQ4[0`Q5m:dQ5s2[Q5x2bQ6U2vQ6V:eQ6[:gQ6]:nQ7T4oQ7r5kQ7v5tQ8P:oQ8T:tQ8U:uQ8z7xQ9Y8gQ9a8xQ9r#QR;U;bR#YWR'P!dY!sQ'U-R0y4tS&{!d,yQ'a!qS'k!t!wS'm!x4vS,v&|'TS-b'b'cQ-d'dQ2P-PR2_-cR(o#vR(r#wQ!eQT-Q'U-R]!pQ!q'U-R0y4tQ#n]R'_9qT#iZ%]S#hZ%]S%cm,]U([#f#g#jS-v(](^Q-z(_Q0Q*|Q2d-wU2e-x-y-{S5z2f2gR7y5{`#[W#U#X%`'x(R*y-qr#eZm#f#g#j%](](^(_*|-w-x-y-{2f2g5{Q1`,]Q1v,sQ5i1nQ7q5jT:|&}*zT#_W%`S#^W%`S'y#U(RS(O#X*yS,x&}*zT-l'x-qT'S!d%aQ$jfR)n$oT)c$j)dR3_.oT*S$w*UR*[$zQ0U+UQ2i.SQ4w0{Q6P2mQ7]4zQ7|6OQ8i7[Q8{7{Q9[8kQ9d8}Q9i9]R9l9elqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&b!UR,U&_rmOXs!T!U!Y#b%e&_&h&j&k&m,a,f1f1iR,]&eT%dm,]R0u+uR,T&]Q%{{R+m%|R+c%vT&f!V&iT&g!V&iT1h,f1i",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:366,context:S8,nodeProps:[["group",-26,6,14,16,62,199,203,207,208,210,213,216,226,228,234,236,238,240,243,249,255,257,259,261,263,265,266,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[T8],skippedNodes:[0,3,4,269],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$<s$I}$JO$<s$JO$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$d&j'xp'{!b'n(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'y#S$d&j'o(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$d&j'xp'{!b'o(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$d&j!l$Ip'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'w$(n$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$d&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$_#t$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$_#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$_#t$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'{!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$_#t'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|<[i$d&j(b!L^'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!Q%Z!Q![<P![!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|=|P;=`<%l<P(CS>`k$d&j'xp'{!b(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$d&j'xp'{!b$W#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$d&j'xp'{!b#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$d&j#{$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfETa(k%<v$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sv%ZvwFYwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SFe`$d&j#u$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2bGp_'z$)`$d&j'xpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo*QHv_$d&j'xpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo)`IzX$d&jOwIuwx6cx!^Iu!^!_Jg!_#oIu#o#pJg#p;'SIu;'S;=`KP<%lOIu#tJjTOwJgwx7]x;'SJg;'S;=`Jy<%lOJg#tJ|P;=`<%lJg)`KSP;=`<%lIu*QK`]$_#t$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r$fL^Z'xpOYLXYZJgZrLXrsJgswLXwxMPx#OLX#O#PJg#P;'SLX;'S;=`Mj<%lOLX$fMWU$_#t'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r$fMmP;=`<%lLX*QMsP;=`<%lHo(*QNR_!h(!b$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'l! ]_!gM|$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h!!ib$d&j'xp'{!b'v#)d#j$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!#q{!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S!#|`$d&j'xp'{!b#g$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&-O!%Z`$d&j'xp'{!bk&%`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&C[!&h_!V&;l$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!'rc$d&j'xp'{!by'<nOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!(}!P!Q%Z!Q![!+g![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!)Wa$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!*]!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!*h_!UMt$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!+rg$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!+g![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S!+g#S#X%Z#X#Y!-Z#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!-dg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!.{|}%Z}!O!.{!O!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!/Uc$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!0lc$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!2Sf$d&j'xp'{!b#h$IdOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}xz!3hz{#$s{!P!3h!P!Q#&Y!Q!^!3h!^!_!Mh!_!`#-x!`!a#/_!a!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(r!3sb$d&j'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(Q!5U`$d&j'{!b!RSOY!4{YZ&cZw!4{wx!6Wx!P!4{!P!Q!=o!Q!^!4{!^!_!?g!_!}!4{!}#O!Bn#O#P!<w#P#o!4{#o#p!?g#p;'S!4{;'S;=`!Cw<%lO!4{&n!6_^$d&j!RSOY!6WYZ&cZ!P!6W!P!Q!7Z!Q!^!6W!^!_!8g!_!}!6W!}#O!;U#O#P!<w#P#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!7ba$d&j!RSO!^&c!_#Z&c#Z#[!7Z#[#]&c#]#^!7Z#^#a&c#a#b!7Z#b#g&c#g#h!7Z#h#i&c#i#j!7Z#j#m&c#m#n!7Z#n#o&c#p;'S&c;'S;=`&w<%lO&cS!8lX!RSOY!8gZ!P!8g!P!Q!9X!Q!}!8g!}#O!9p#O#P!:o#P;'S!8g;'S;=`!;O<%lO!8gS!9^U!RS#Z#[!9X#]#^!9X#a#b!9X#g#h!9X#i#j!9X#m#n!9XS!9sVOY!9pZ#O!9p#O#P!:Y#P#Q!8g#Q;'S!9p;'S;=`!:i<%lO!9pS!:]SOY!9pZ;'S!9p;'S;=`!:i<%lO!9pS!:lP;=`<%l!9pS!:rSOY!8gZ;'S!8g;'S;=`!;O<%lO!8gS!;RP;=`<%l!8g&n!;Z[$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#O!;U#O#P!<P#P#Q!6W#Q#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<UX$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<tP;=`<%l!;U&n!<|X$d&jOY!6WYZ&cZ!^!6W!^!_!8g!_#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!=lP;=`<%l!6W(Q!=xi$d&j'{!b!RSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!=o#[#]&}#]#^!=o#^#a&}#a#b!=o#b#g&}#g#h!=o#h#i&}#i#j!=o#j#m&}#m#n!=o#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!?nZ'{!b!RSOY!?gZw!?gwx!8gx!P!?g!P!Q!@a!Q!}!?g!}#O!Ap#O#P!:o#P;'S!?g;'S;=`!Bh<%lO!?g!f!@hb'{!b!RSOY'}Zw'}x#O'}#P#Z'}#Z#[!@a#[#]'}#]#^!@a#^#a'}#a#b!@a#b#g'}#g#h!@a#h#i'}#i#j!@a#j#m'}#m#n!@a#n;'S'};'S;=`(f<%lO'}!f!AuX'{!bOY!ApZw!Apwx!9px#O!Ap#O#P!:Y#P#Q!?g#Q;'S!Ap;'S;=`!Bb<%lO!Ap!f!BeP;=`<%l!Ap!f!BkP;=`<%l!?g(Q!Bu^$d&j'{!bOY!BnYZ&cZw!Bnwx!;Ux!^!Bn!^!_!Ap!_#O!Bn#O#P!<P#P#Q!4{#Q#o!Bn#o#p!Ap#p;'S!Bn;'S;=`!Cq<%lO!Bn(Q!CtP;=`<%l!Bn(Q!CzP;=`<%l!4{'`!DW`$d&j'xp!RSOY!C}YZ&cZr!C}rs!6Ws!P!C}!P!Q!EY!Q!^!C}!^!_!GQ!_!}!C}!}#O!JX#O#P!<w#P#o!C}#o#p!GQ#p;'S!C};'S;=`!Kb<%lO!C}'`!Eci$d&j'xp!RSOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#Z(r#Z#[!EY#[#](r#]#^!EY#^#a(r#a#b!EY#b#g(r#g#h!EY#h#i(r#i#j!EY#j#m(r#m#n!EY#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rt!GXZ'xp!RSOY!GQZr!GQrs!8gs!P!GQ!P!Q!Gz!Q!}!GQ!}#O!IZ#O#P!:o#P;'S!GQ;'S;=`!JR<%lO!GQt!HRb'xp!RSOY)rZr)rs#O)r#P#Z)r#Z#[!Gz#[#])r#]#^!Gz#^#a)r#a#b!Gz#b#g)r#g#h!Gz#h#i)r#i#j!Gz#j#m)r#m#n!Gz#n;'S)r;'S;=`*Z<%lO)rt!I`X'xpOY!IZZr!IZrs!9ps#O!IZ#O#P!:Y#P#Q!GQ#Q;'S!IZ;'S;=`!I{<%lO!IZt!JOP;=`<%l!IZt!JUP;=`<%l!GQ'`!J`^$d&j'xpOY!JXYZ&cZr!JXrs!;Us!^!JX!^!_!IZ!_#O!JX#O#P!<P#P#Q!C}#Q#o!JX#o#p!IZ#p;'S!JX;'S;=`!K[<%lO!JX'`!K_P;=`<%l!JX'`!KeP;=`<%l!C}(r!Ksk$d&j'xp'{!b!RSOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#Z%Z#Z#[!Kh#[#]%Z#]#^!Kh#^#a%Z#a#b!Kh#b#g%Z#g#h!Kh#h#i%Z#i#j!Kh#j#m%Z#m#n!Kh#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#W!Mq]'xp'{!b!RSOY!MhZr!Mhrs!?gsw!Mhwx!GQx!P!Mh!P!Q!Nj!Q!}!Mh!}#O#!U#O#P!:o#P;'S!Mh;'S;=`##U<%lO!Mh#W!Nse'xp'{!b!RSOY*gZr*grs'}sw*gwx)rx#O*g#P#Z*g#Z#[!Nj#[#]*g#]#^!Nj#^#a*g#a#b!Nj#b#g*g#g#h!Nj#h#i*g#i#j!Nj#j#m*g#m#n!Nj#n;'S*g;'S;=`+Z<%lO*g#W#!]Z'xp'{!bOY#!UZr#!Urs!Apsw#!Uwx!IZx#O#!U#O#P!:Y#P#Q!Mh#Q;'S#!U;'S;=`##O<%lO#!U#W##RP;=`<%l#!U#W##XP;=`<%l!Mh(r##e`$d&j'xp'{!bOY##[YZ&cZr##[rs!Bnsw##[wx!JXx!^##[!^!_#!U!_#O##[#O#P!<P#P#Q!3h#Q#o##[#o#p#!U#p;'S##[;'S;=`#$g<%lO##[(r#$jP;=`<%l##[(r#$pP;=`<%l!3h(CS#%Qb$d&j'xp'{!b'p(;d!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(CS#&e_$d&j'xp'{!bR(;dOY#&YYZ&cZr#&Yrs#'dsw#&Ywx#*tx!^#&Y!^!_#,s!_#O#&Y#O#P#(f#P#o#&Y#o#p#,s#p;'S#&Y;'S;=`#-r<%lO#&Y(Bb#'m]$d&j'{!bR(;dOY#'dYZ&cZw#'dwx#(fx!^#'d!^!_#)w!_#O#'d#O#P#(f#P#o#'d#o#p#)w#p;'S#'d;'S;=`#*n<%lO#'d(AO#(mX$d&jR(;dOY#(fYZ&cZ!^#(f!^!_#)Y!_#o#(f#o#p#)Y#p;'S#(f;'S;=`#)q<%lO#(f(;d#)_SR(;dOY#)YZ;'S#)Y;'S;=`#)k<%lO#)Y(;d#)nP;=`<%l#)Y(AO#)tP;=`<%l#(f(<v#*OW'{!bR(;dOY#)wZw#)wwx#)Yx#O#)w#O#P#)Y#P;'S#)w;'S;=`#*h<%lO#)w(<v#*kP;=`<%l#)w(Bb#*qP;=`<%l#'d(Ap#*}]$d&j'xpR(;dOY#*tYZ&cZr#*trs#(fs!^#*t!^!_#+v!_#O#*t#O#P#(f#P#o#*t#o#p#+v#p;'S#*t;'S;=`#,m<%lO#*t(<U#+}W'xpR(;dOY#+vZr#+vrs#)Ys#O#+v#O#P#)Y#P;'S#+v;'S;=`#,g<%lO#+v(<U#,jP;=`<%l#+v(Ap#,pP;=`<%l#*t(=h#,|Y'xp'{!bR(;dOY#,sZr#,srs#)wsw#,swx#+vx#O#,s#O#P#)Y#P;'S#,s;'S;=`#-l<%lO#,s(=h#-oP;=`<%l#,s(CS#-uP;=`<%l#&Y%#W#.Vb$d&j#{$Id'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h+h#/lb$T#t$d&j'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h$/l#1Pp$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#U%Z#U#V#6_#V#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#d#9g#d#l%Z#l#m#<i#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#3`k$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#5`_$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#6hd$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#8Rf$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#9pc$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#;We$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#<rg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$d&j#y%<f'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Al_^l$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS#Bz^(O!*v!e'.r'xp'{!b$U)d(oSOY*gZr*grs'}sw*gwx)rx!P*g!P!Q#Cv!Q!^*g!^!_#Dl!_!`#F^!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#DPX$f&j'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#DuZ#k$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Eh!`#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#EqX#{$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#FgX#l$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Gh#G_a#X%?x$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a#Hd!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#W#Ho_#d$Ih$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#I}adBf#l$Id$a#|$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`#KS!`!a#L^!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#K__#l$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#Lia#k$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`!a#Mn!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#My`#k$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h$ Wc(c$Ip$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P$!c!P!^%Z!^!_*g!_!a%Z!a!b$#m!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+`$!n_z'#p$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$#x`$d&j#v$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&^$%V_!x!Ln$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(@^$&a_|(8n$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$'eZ$d&jO!^$(W!^!_$(n!_#i$(W#i#j$(s#j#l$(W#l#m$*f#m#o$(W#o#p$(n#p;'S$(W;'S;=`$,q<%lO$(W(n$(_T[#S$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$(sO[#S(n$(x[$d&jO!Q&c!Q![$)n![!^&c!_!c&c!c!i$)n!i#T&c#T#Z$)n#Z#o&c#o#p$,U#p;'S&c;'S;=`&w<%lO&c(n$)sZ$d&jO!Q&c!Q![$*f![!^&c!_!c&c!c!i$*f!i#T&c#T#Z$*f#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$*kZ$d&jO!Q&c!Q![$+^![!^&c!_!c&c!c!i$+^!i#T&c#T#Z$+^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$+cZ$d&jO!Q&c!Q![$(W![!^&c!_!c&c!c!i$(W!i#T&c#T#Z$(W#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$,XR!Q![$,b!c!i$,b#T#Z$,b#S$,eS!Q![$,b!c!i$,b#T#Z$,b#q#r$(n(n$,tP;=`<%l$(W!2r$-S_!S!+S$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$.^`#s$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&,v$/k_$d&j'xp'{!b(S&%WOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$0yk$d&j'xp'{!b(V!LY'u&;d$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$0juw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$0j![!^%Z!^!_*g!_!c%Z!c!}$0j!}#O%Z#O#P&c#P#R%Z#R#S$0j#S#T%Z#T#o$0j#o#p*g#p$g%Z$g;'S$0j;'S;=`$4t<%lO$0j+d$2yk$d&j'xp'{!b$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$2nuw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$2n![!^%Z!^!_*g!_!c%Z!c!}$2n!}#O%Z#O#P&c#P#R%Z#R#S$2n#S#T%Z#T#o$2n#o#p*g#p$g%Z$g;'S$2n;'S;=`$4n<%lO$2n+d$4qP;=`<%l$2n(CS$4wP;=`<%l$0j!5p$5TX!X!3l'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Df$5{a(j%<v$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$#m#q;'S%Z;'S;=`+a<%lO%Z%#`$7__!W$I`o`$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(r$8i_!mS$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$9y|$d&j'xp'{!b'n(;d(V!LY'u&;d$W#tOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'xp'{!b'o(;d(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[w8,A8,2,3,4,5,6,7,8,9,10,11,12,13,E8,new mg("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(U~~",141,327),new mg("j~RQYZXz{^~^O'r~~aP!P!Qd~iO's~~",25,309)],topRules:{Script:[0,5],SingleExpression:[1,267],SingleClassItem:[2,268]},dialects:{jsx:12794,ts:12796},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:313,get:r=>P8[r]||-1},{term:329,get:r=>k8[r]||-1},{term:67,get:r=>F8[r]||-1}],tokenPrec:12820}),WE=[Aa("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Aa("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Aa("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Aa("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Aa("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Aa(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),Aa("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Aa(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),Aa(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),Aa('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Aa('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],$8=WE.concat([Aa("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Aa("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Aa("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Ib=new D2,ZE=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function bf(r){return(e,t)=>{let n=e.node.getChild("VariableDefinition");return n&&t(n,r),!0}}const B8=["FunctionDeclaration"],N8={FunctionDeclaration:bf("function"),ClassDeclaration:bf("class"),ClassExpression:()=>!0,EnumDeclaration:bf("constant"),TypeAliasDeclaration:bf("type"),NamespaceDeclaration:bf("namespace"),VariableDefinition(r,e){r.matchContext(B8)||e(r,"variable")},TypeDefinition(r,e){e(r,"type")},__proto__:null};function YE(r,e){let t=Ib.get(e);if(t)return t;let n=[],i=!0;function s(a,l){let p=r.sliceString(a.from,a.to);n.push({label:p,type:l})}return e.cursor(js.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let l=N8[a.name];if(l&&l(a,s)||ZE.has(a.name))return!1}else if(a.to-a.from>8192){for(let l of YE(r,a.node))n.push(l);return!1}}),Ib.set(e,n),n}const Mb=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,GE=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function I8(r){let e=ho(r.state).resolveInner(r.pos,-1);if(GE.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&Mb.test(r.state.sliceDoc(e.from,e.to));if(!t&&!r.explicit)return null;let n=[];for(let i=e;i;i=i.parent)ZE.has(i.name)&&(n=n.concat(YE(r.state.doc,i)));return{options:n,from:t?e.from:r.pos,validFor:Mb}}const Dl=Wh.define({name:"javascript",parser:_8.configure({props:[Ad.add({IfStatement:Pm({except:/^\s*({|else\b)/}),TryStatement:Pm({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:R_,SwitchBody:r=>{let e=r.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return r.baseIndent+(t?0:n?1:2)*r.unit},Block:M_({closing:"}"}),ArrowFunction:r=>r.baseIndent+r.unit,"TemplateString BlockComment":()=>null,"Statement Property":Pm({except:/^{/}),JSXElement(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},JSXEscape(r){let e=/\s*\}/.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"JSXOpenTag JSXSelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Td.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":w2,BlockComment(r){return{from:r.from+2,to:r.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),HE={test:r=>/^JSX/.test(r.name),facet:v2({commentTokens:{block:{open:"{/*",close:"*/}"}}})},JE=Dl.configure({dialect:"ts"},"typescript"),KE=Dl.configure({dialect:"jsx",props:[dO.add(r=>r.isTop?[HE]:void 0)]}),ew=Dl.configure({dialect:"jsx ts",props:[dO.add(r=>r.isTop?[HE]:void 0)]},"typescript");let tw=r=>({label:r,type:"keyword"});const rw="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(tw),M8=rw.concat(["declare","implements","private","protected","public"].map(tw));function kc(r={}){let e=r.jsx?r.typescript?ew:KE:r.typescript?JE:Dl,t=r.typescript?$8.concat(M8):WE.concat(rw);return new mO(e,[Dl.data.of({autocomplete:eN(GE,AE(t))}),Dl.data.of({autocomplete:I8}),r.jsx?j8:[]])}function R8(r){for(;;){if(r.name=="JSXOpenTag"||r.name=="JSXSelfClosingTag"||r.name=="JSXFragmentTag")return r;if(r.name=="JSXEscape"||!r.parent)return null;r=r.parent}}function Rb(r,e,t=r.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return r.sliceString(n.from,Math.min(n.to,t));return""}const Q8=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),j8=Qn.inputHandler.of((r,e,t,n,i)=>{if((Q8?r.composing:r.compositionStarted)||r.state.readOnly||e!=t||n!=">"&&n!="/"||!Dl.isActiveAt(r.state,e,-1))return!1;let s=i(),{state:a}=s,l=a.changeByRange(p=>{var d;let{head:g}=p,b=ho(a).resolveInner(g-1,-1),S;if(b.name=="JSXStartTag"&&(b=b.parent),!(a.doc.sliceString(g-1,g)!=n||b.name=="JSXAttributeValue"&&b.to>g)){if(n==">"&&b.name=="JSXFragmentTag")return{range:p,changes:{from:g,insert:"</>"}};if(n=="/"&&b.name=="JSXStartCloseTag"){let I=b.parent,H=I.parent;if(H&&I.from==g-2&&((S=Rb(a.doc,H.firstChild,g))||((d=H.firstChild)===null||d===void 0?void 0:d.name)=="JSXFragmentTag")){let be=`${S}>`;return{range:Pr.cursor(g+be.length,-1),changes:{from:g,insert:be}}}}else if(n==">"){let I=R8(b);if(I&&!/^\/?>|^<\//.test(a.doc.sliceString(g,g+2))&&(S=Rb(a.doc,I,g)))return{range:p,changes:{from:g,insert:`</${S}>`}}}}return{range:p}});return l.changes.empty?!1:(r.dispatch([s,a.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),L8=96,Qb=1,X8=97,V8=98,jb=2,nw=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],U8=58,q8=40,iw=95,z8=91,Fm=45,W8=46,Z8=35,Y8=37;function gg(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function G8(r){return r>=48&&r<=57}const H8=new iu((r,e)=>{for(let t=!1,n=0,i=0;;i++){let{next:s}=r;if(gg(s)||s==Fm||s==iw||t&&G8(s))!t&&(s!=Fm||i>0)&&(t=!0),n===i&&s==Fm&&n++,r.advance();else{t&&r.acceptToken(s==q8?X8:n==2&&e.canShift(jb)?jb:V8);break}}}),J8=new iu(r=>{if(nw.includes(r.peek(-1))){let{next:e}=r;(gg(e)||e==iw||e==Z8||e==W8||e==z8||e==U8||e==Fm)&&r.acceptToken(L8)}}),K8=new iu(r=>{if(!nw.includes(r.peek(-1))){let{next:e}=r;if(e==Y8&&(r.advance(),r.acceptToken(Qb)),gg(e)){do r.advance();while(gg(r.next));r.acceptToken(Qb)}}}),eI=wd({"AtKeyword import charset namespace keyframes media supports":He.definitionKeyword,"from to selector":He.keyword,NamespaceName:He.namespace,KeyframeName:He.labelName,KeyframeRangeName:He.operatorKeyword,TagName:He.tagName,ClassName:He.className,PseudoClassName:He.constant(He.className),IdName:He.labelName,"FeatureName PropertyName":He.propertyName,AttributeName:He.attributeName,NumberLiteral:He.number,KeywordQuery:He.keyword,UnaryQueryOp:He.operatorKeyword,"CallTag ValueName":He.atom,VariableName:He.variableName,Callee:He.operatorKeyword,Unit:He.unit,"UniversalSelector NestingSelector":He.definitionOperator,MatchOp:He.compareOperator,"ChildOp SiblingOp, LogicOp":He.logicOperator,BinOp:He.arithmeticOperator,Important:He.modifier,Comment:He.blockComment,ColorLiteral:He.color,"ParenthesizedContent StringLiteral":He.string,":":He.punctuation,"PseudoOp #":He.derefOperator,"; ,":He.separator,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace}),tI={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},rI={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},nI={__proto__:null,not:128,only:128},iI=Yh.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<<HaO8rQWO,5;ZOOQP1G/U1G/UOOQS-E8T-E8TO${QdO'#EWO8zQWO,5;WOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO9SQdO7+%ZOOQO7+%b7+%bOOQO,5:i,5:iO3QQdO'#E^O6tQWO,5:wOOQS,5:w,5:wOOQS-E8Z-E8ZOOQS1G0S1G0SO9ZQtO,5:tOOQS-E8W-E8WOOQO<<Hm<<HmOOQPAN={AN={O:XQdO,5:rOOQO-E8U-E8UOOQO<<Hu<<HuOOQO,5:x,5:xOOQO-E8[-E8[OOQS1G0c1G0c",stateData:":k~O#WOS#XQQ~OUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#URO#_TO~OQfOUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#UeO#_TO~O#R#dP~P!ZO#XjO~O#UlO~O]qO^qOpoOtrOxsO|tO!PvO#SuO#_nO~O!RwO~P#pO`}O#TzO#UyO~O#U!OO~O#U!QO~OQ!ZOb!TOf!ZOh!ZOn!YO#T!WO#U!SO#b!UO~Ob!]O!b!_O!e!`O#U![O!R#eP~Oh!eOn!YO#U!dO~Oh!gO#U!gO~Ob!]O!b!_O!e!`O#U![O~O!W#eP~P%gO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#SWX#_WX~O]!lO~O!W!mO#R#dX!Q#dX~O#R#dX!Q#dX~P!ZO#Y!pO#Z!pO#[!rO~OUYOXYO]VO^VOtWOxXO#URO#_TO~OpoO!RwO~O`!yO#TzO#UyO~O!Q#dP~P!ZOb#QO~Ob#RO~Ov#SOz#TO~OP#VObgXjgX!WgX!bgX!egX#UgXagXQgXfgXhgXngXpgX!VgX#RgX#TgX#bgXvgX!QgX~Ob!]Oj#WO!b!_O!e!`O#U![O!W#eP~Ob#ZO~Ob!]O!b!_O!e!`O#U#[O~Op#`O!`#_O!R#eX!W#eX~Ob#cO~Oj#WO!W#eO~O!W#fO~Oh#gOn!YO~O!R#hO~O!RwO!`#_O~O!RwO!W#kO~O!W!}X#R!}X!Q!}X~P!ZO!W!mO#R#da!Q#da~O#Y!pO#Z!pO#[#rO~O]qO^qOtrOxsO|tO!PvO#SuO#_nO~Op!{a!R!{aa!{a~P.QOv#tOz#uO~O]qO^qOtrOxsO#_nO~Op{i|{i!P{i!R{i#S{ia{i~P/ROp}i|}i!P}i!R}i#S}ia}i~P/ROp!Oi|!Oi!P!Oi!R!Oi#S!Oia!Oi~P/RO!Q#vO~Oa#cP~P(^Oa#`P~P${Oa#}Oj#WO~O!W$PO~Oh$QOo$QO~O]!^Xa![X!`![X~O]$RO~Oa$SO!`#_O~Op#`O!R#ea!W#ea~O!`#_Op!aa!R!aa!W!aaa!aa~O!W$XO~O!Q$`O#U$ZO#b$YO~Oj#WOp$bO!V$dO!W!Ti#R!Ti!Q!Ti~P${O!W!}a#R!}a!Q!}a~P!ZO!W!mO#R#di!Q#di~Oa#cX~P#pOa$hO~Oj#WOQ!yXa!yXb!yXf!yXh!yXn!yXp!yX#T!yX#U!yX#b!yX~Op$jOa#`X~P${Oa$lO~Oj#WOv$mO~Oa$nO~O!`#_Op#Oa!R#Oa!W#Oa~Oa$pO~P.QOP#VOpgX!RgX~O#b$YOp!qX!R!qX~Op$rO!RwO~O!Q$vO#U$ZO#b$YO~Oj#WOQ!|Xb!|Xf!|Xh!|Xn!|Xp!|X!V!|X!W!|X#R!|X#T!|X#U!|X#b!|X!Q!|X~Op$bO!V$yO!W!Tq#R!Tq!Q!Tq~P${Oj#WOv$zO~OpoOa#ca~Op$jOa#`a~Oa$}O~P${Oj#WOQ!|ab!|af!|ah!|an!|ap!|a!V!|a!W!|a#R!|a#T!|a#U!|a#b!|a!Q!|a~Oa!zap!za~P${O#Wo#X#bj!P#b~",goto:"-Y#gPPP#hP#kP#t$TP#t$d#tPP$jPPP$p$y$yP%]P$yP$y%w&ZPPP&s&y#tP'PP#tP'VP#tP#t#tPPP']'r(PPP#kPP(W(W(b(WP(WP(W(WP#kP#kP#kP(e#kP(h(k(n(u#kP#kP(z)Q)a)o)u*P*V*a*g*mPPPPPPPPPP*s*|P+i+lP,b,e,k,tRkQ_bOPdhw!m#nkYOPdhotuvw!m#Q#c#nkSOPdhotuvw!m#Q#c#nQmTR!snQ{VR!wqQ!w}Q#Y!XR#s!yq!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${U$]#h$_$rR$q$[q!XZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${Q!e^R#g!fQ|VR!xqQ!w|R#s!xQ!PWR!zrQ!RXR!{sQxUQ!vpQ#d!bQ#j!iQ#k!jQ$t$^R%Q$sSgPwQ!ohQ#m!mR$e#nZfPhw!m#na!a[`a!V!]!_#_#`R#]!]R!f^R!h_R#i!hS$^#h$_R%O$rV$[#h$_$rQ!qjR#q!qQdOShPwU!kdh#nR#n!mQ#z#RU$i#z$o${Q$o$RR${$jQ$k#zR$|$kQpUS!up$gR$g#wQ$c#lR$x$cQ!ngS#o!n#pR#p!oQ#a!^R$V#aQ$_#hR$u$_Q$s$^R%P$s_cOPdhw!m#n^UOPdhw!m#nQ!toQ!|tQ!}uQ#OvQ#w#QR$W#cR#{#RQ!VZQ!c]Q#U!TQ#l!l[#y#R#z$R$j$o${Q#|#TQ$O#WS$a#l$cQ$f#uR$w$bR#x#QQiPR#PwQ!b[Q!jaR#X!VU!^[a!VQ!i`Q#^!]Q#b!_Q$T#_R$U#`",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:114,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[eI],skippedNodes:[0,3,85],repeatNodeCount:10,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#W~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#W~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!V[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYtQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QSzSo`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!PQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#b[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[J8,K8,H8,1,2,3,4,new mg("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>tI[r]||-1},{term:56,get:r=>rI[r]||-1},{term:98,get:r=>nI[r]||-1}],tokenPrec:1169});let G0=null;function H0(){if(!G0&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));G0=e.sort().map(n=>({type:"property",label:n}))}return G0||[]}const Lb=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),Xb=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),sI=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),Fc=/^(\w[\w-]*|-\w[\w-]*|)$/,oI=/^-(-[\w-]*)?$/;function aI(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const Vb=new D2,uI=["Declaration"];function lI(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function sw(r,e,t){if(e.to-e.from>4096){let n=Vb.get(e);if(n)return n;let i=[],s=new Set,a=e.cursor(js.IncludeAnonymous);if(a.firstChild())do for(let l of sw(r,a.node,t))s.has(l.label)||(s.add(l.label),i.push(l));while(a.nextSibling());return Vb.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(s=>{var a;if(t(s)&&s.matchContext(uI)&&((a=s.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let l=r.sliceString(s.from,s.to);i.has(l)||(i.add(l),n.push({label:l,type:"variable"}))}}),n}}const cI=r=>e=>{let{state:t,pos:n}=e,i=ho(t).resolveInner(n,-1),s=i.type.isError&&i.from==i.to-1&&t.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(s||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:H0(),validFor:Fc};if(i.name=="ValueName")return{from:i.from,options:Xb,validFor:Fc};if(i.name=="PseudoClassName")return{from:i.from,options:Lb,validFor:Fc};if(r(i)||(e.explicit||s)&&aI(i,t.doc))return{from:r(i)||s?i.from:n,options:sw(t.doc,lI(i),r),validFor:oI};if(i.name=="TagName"){for(let{parent:p}=i;p;p=p.parent)if(p.name=="Block")return{from:i.from,options:H0(),validFor:Fc};return{from:i.from,options:sI,validFor:Fc}}if(!e.explicit)return null;let a=i.resolve(n),l=a.childBefore(n);return l&&l.name==":"&&a.name=="PseudoClassSelector"?{from:n,options:Lb,validFor:Fc}:l&&l.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:n,options:Xb,validFor:Fc}:a.name=="Block"||a.name=="Styles"?{from:n,options:H0(),validFor:Fc}:null},hI=cI(r=>r.name=="VariableName"),yg=Wh.define({name:"css",parser:iI.configure({props:[Ad.add({Declaration:Pm()}),Td.add({"Block KeyframeList":w2})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function pI(){return new mO(yg,yg.data.of({autocomplete:hI}))}const dD=1,fI=2,dI=3,mI=4,gI=5,yI=35,DI=36,OI=37,xI=11,bI=13;function vI(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function CI(r){return r==9||r==10||r==13||r==32}let Ub=null,qb=null,zb=0;function mD(r,e){let t=r.pos+e;if(qb==r&&zb==t)return Ub;for(;CI(r.peek(e));)e++;let n="";for(;;){let i=r.peek(e);if(!vI(i))break;n+=String.fromCharCode(i),e++}return qb=r,zb=t,Ub=n||null}function Wb(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const SI=new $O({start:null,shift(r,e,t,n){return e==dD?new Wb(mD(n,1)||"",r):r},reduce(r,e){return e==xI&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==dD||i==bI?new Wb(mD(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),EI=new iu((r,e)=>{if(r.next==60){if(r.advance(),r.next==47){r.advance();let t=mD(r,0);if(!t)return r.acceptToken(gI);if(e.context&&t==e.context.name)return r.acceptToken(fI);for(let n=e.context;n;n=n.parent)if(n.name==t)return r.acceptToken(dI,-2);r.acceptToken(mI)}else if(r.next!=33&&r.next!=63)return r.acceptToken(dD)}},{contextual:!0});function BO(r,e){return new iu(t=>{for(let n=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(r);break}if(t.next==e.charCodeAt(n)){if(n++,n==e.length){i>=e.length&&t.acceptToken(r,1-e.length);break}}else n=t.next==e.charCodeAt(0)?1:0;t.advance()}})}const wI=BO(yI,"-->"),AI=BO(DI,"?>"),TI=BO(OI,"]]>"),PI=wd({Text:He.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/Tagname":[He.tagName,He.invalid],AttributeName:He.attributeName,AttributeValue:He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta,Cdata:He.special(He.string)}),kI=Yh.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:SI,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[PI],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[EI,wI,AI,TI,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function _m(r,e){let t=e&&e.getChild("TagName");return t?r.sliceString(t.from,t.to):""}function J0(r,e){let t=e&&e.firstChild;return!t||t.name!="OpenTag"?"":_m(r,t)}function FI(r,e,t){let n=e&&e.getChildren("Attribute").find(s=>s.from<=t&&s.to>=t),i=n&&n.getChild("AttributeName");return i?r.sliceString(i.from,i.to):""}function K0(r){for(let e=r&&r.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function _I(r,e){var t;let n=ho(r).resolveInner(e,-1),i=null;for(let s=n;!i&&s.parent;s=s.parent)(s.name=="OpenTag"||s.name=="CloseTag"||s.name=="SelfClosingTag"||s.name=="MismatchedCloseTag")&&(i=s);if(i&&(i.to>e||i.lastChild.type.isError)){let s=i.parent;if(n.name=="TagName")return i.name=="CloseTag"||i.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:s}:{type:"openTag",from:n.from,context:K0(s)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:i};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:i};let a=n==i||n.name=="Attribute"?n.childBefore(e):n;return(a==null?void 0:a.name)=="StartTag"?{type:"openTag",from:e,context:K0(s)}:(a==null?void 0:a.name)=="StartCloseTag"&&a.to<=e?{type:"closeTag",from:e,context:s}:(a==null?void 0:a.name)=="Is"?{type:"attrValue",from:e,context:i}:a?{type:"attrName",from:e,context:i}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:e,context:n.parent};for(;n.parent&&n.to==e&&!(!((t=n.lastChild)===null||t===void 0)&&t.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:e,context:n.name=="Element"?n:K0(n)}:null}let $I=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(i=>({label:i,type:"text"})):[]}};const ey=/^[:\-\.\w\u00b7-\uffff]*$/;function Zb(r){return Object.assign(Object.assign({type:"property"},r.completion||{}),{label:r.name})}function Yb(r){return typeof r=="string"?{label:`"${r}"`,type:"constant"}:/^"/.test(r.label)?r:Object.assign(Object.assign({},r),{label:`"${r.label}"`})}function BI(r,e){let t=[],n=[],i=Object.create(null);for(let p of e){let d=Zb(p);t.push(d),p.global&&n.push(d),p.values&&(i[p.name]=p.values.map(Yb))}let s=[],a=[],l=Object.create(null);for(let p of r){let d=n,g=i;p.attributes&&(d=d.concat(p.attributes.map(S=>typeof S=="string"?t.find(I=>I.label==S)||{label:S,type:"property"}:(S.values&&(g==i&&(g=Object.create(g)),g[S.name]=S.values.map(Yb)),Zb(S)))));let b=new $I(p,d,g);l[b.name]=b,s.push(b),p.top&&a.push(b)}a.length||(a=s);for(let p=0;p<s.length;p++){let d=r[p],g=s[p];if(d.children)for(let b of d.children)l[b]&&g.children.push(l[b]);else g.children=s}return p=>{var d;let{doc:g}=p.state,b=_I(p.state,p.pos);if(!b||b.type=="tag"&&!p.explicit)return null;let{type:S,from:I,context:H}=b;if(S=="openTag"){let be=a,ke=J0(g,H);if(ke){let ge=l[ke];be=(ge==null?void 0:ge.children)||s}return{from:I,options:be.map(ge=>ge.completion),validFor:ey}}else if(S=="closeTag"){let be=J0(g,H);return be?{from:I,to:p.pos+(g.sliceString(p.pos,p.pos+1)==">"?1:0),options:[((d=l[be])===null||d===void 0?void 0:d.closeNameCompletion)||{label:be+">",type:"type"}],validFor:ey}:null}else if(S=="attrName"){let be=l[_m(g,H)];return{from:I,options:(be==null?void 0:be.attrs)||n,validFor:ey}}else if(S=="attrValue"){let be=FI(g,H,I);if(!be)return null;let ke=l[_m(g,H)],ge=((ke==null?void 0:ke.attrValues)||i)[be];return!ge||!ge.length?null:{from:I,to:p.pos+(g.sliceString(p.pos,p.pos+1)=='"'?1:0),options:ge,validFor:/^"[^"]*"?$/}}else if(S=="tag"){let be=J0(g,H),ke=l[be],ge=[],Ue=H&&H.lastChild;be&&(!Ue||Ue.name!="CloseTag"||_m(g,Ue)!=be)&&ge.push(ke?ke.closeCompletion:{label:"</"+be+">",type:"type",boost:2});let Dt=ge.concat(((ke==null?void 0:ke.children)||(H?s:a)).map(pt=>pt.openCompletion));if(H&&(ke!=null&&ke.text.length)){let pt=H.firstChild;pt.to>p.pos-20&&!/\S/.test(p.state.sliceDoc(pt.to,p.pos))&&(Dt=Dt.concat(ke.text))}return{from:I,options:Dt,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const Gb=Wh.define({name:"xml",parser:kI.configure({props:[Ad.add({Element(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Td.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),DO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function NI(r={}){return new mO(Gb,Gb.data.of({autocomplete:BI(r.elements||[],r.attributes||[])}))}const II=54,MI=1,RI=55,QI=2,jI=56,LI=3,Hb=4,XI=5,Dg=6,ow=7,aw=8,uw=9,lw=10,VI=11,UI=12,qI=13,ty=57,zI=14,Jb=58,cw=20,WI=22,hw=23,ZI=24,gD=26,pw=27,YI=28,GI=31,HI=34,JI=36,KI=37,e5=0,t5=1,r5={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},n5={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Kb={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function i5(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function fw(r){return r==9||r==10||r==13||r==32}let ev=null,tv=null,rv=0;function yD(r,e){let t=r.pos+e;if(rv==t&&tv==r)return ev;let n=r.peek(e);for(;fw(n);)n=r.peek(++e);let i="";for(;i5(n);)i+=String.fromCharCode(n),n=r.peek(++e);return tv=r,rv=t,ev=i?i.toLowerCase():n==s5||n==o5?void 0:null}const dw=60,Og=62,NO=47,s5=63,o5=33,a5=45;function nv(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const u5=[Dg,lw,ow,aw,uw],l5=new $O({start:null,shift(r,e,t,n){return u5.indexOf(e)>-1?new nv(yD(n,1)||"",r):r},reduce(r,e){return e==cw&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==Dg||i==JI?new nv(yD(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),c5=new iu((r,e)=>{if(r.next!=dw){r.next<0&&e.context&&r.acceptToken(ty);return}r.advance();let t=r.next==NO;t&&r.advance();let n=yD(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?zI:Dg);let i=e.context?e.context.name:null;if(t){if(n==i)return r.acceptToken(VI);if(i&&n5[i])return r.acceptToken(ty,-2);if(e.dialectEnabled(e5))return r.acceptToken(UI);for(let s=e.context;s;s=s.parent)if(s.name==n)return;r.acceptToken(qI)}else{if(n=="script")return r.acceptToken(ow);if(n=="style")return r.acceptToken(aw);if(n=="textarea")return r.acceptToken(uw);if(r5.hasOwnProperty(n))return r.acceptToken(lw);i&&Kb[i]&&Kb[i][n]?r.acceptToken(ty,-1):r.acceptToken(Dg)}},{contextual:!0}),h5=new iu(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(Jb);break}if(r.next==a5)e++;else if(r.next==Og&&e>=2){t>3&&r.acceptToken(Jb,-2);break}else e=0;r.advance()}});function p5(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const f5=new iu((r,e)=>{if(r.next==NO&&r.peek(1)==Og){let t=e.dialectEnabled(t5)||p5(e.context);r.acceptToken(t?XI:Hb,2)}else r.next==Og&&r.acceptToken(Hb,1)});function IO(r,e,t){let n=2+r.length;return new iu(i=>{for(let s=0,a=0,l=0;;l++){if(i.next<0){l&&i.acceptToken(e);break}if(s==0&&i.next==dw||s==1&&i.next==NO||s>=2&&s<n&&i.next==r.charCodeAt(s-2))s++,a++;else if((s==2||s==n)&&fw(i.next))a++;else if(s==n&&i.next==Og){l>a?i.acceptToken(e,-a):i.acceptToken(t,-(a-2));break}else if((i.next==10||i.next==13)&&l){i.acceptToken(e,1);break}else s=a=0;i.advance()}})}const d5=IO("script",II,MI),m5=IO("style",RI,QI),g5=IO("textarea",jI,LI),y5=wd({"Text RawText":He.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/TagName":[He.tagName,He.invalid],AttributeName:He.attributeName,"AttributeValue UnquotedAttributeValue":He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta}),D5=Yh.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:l5,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[y5],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[d5,m5,g5,f5,c5,h5,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function mw(r,e){let t=Object.create(null);for(let n of r.getChildren(hw)){let i=n.getChild(ZI),s=n.getChild(gD)||n.getChild(pw);i&&(t[e.read(i.from,i.to)]=s?s.type.id==gD?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function iv(r,e){let t=r.getChild(WI);return t?e.read(t.from,t.to):" "}function ry(r,e,t){let n;for(let i of t)if(!i.attrs||i.attrs(n||(n=mw(r.node.parent.firstChild,e))))return{parser:i.parser};return null}function O5(r=[],e=[]){let t=[],n=[],i=[],s=[];for(let l of r)(l.tag=="script"?t:l.tag=="style"?n:l.tag=="textarea"?i:s).push(l);let a=e.length?Object.create(null):null;for(let l of e)(a[l.name]||(a[l.name]=[])).push(l);return f_((l,p)=>{let d=l.type.id;if(d==YI)return ry(l,p,t);if(d==GI)return ry(l,p,n);if(d==HI)return ry(l,p,i);if(d==cw&&s.length){let g=l.node,b=g.firstChild,S=b&&iv(b,p),I;if(S){for(let H of s)if(H.tag==S&&(!H.attrs||H.attrs(I||(I=mw(g,p))))){let be=g.lastChild;return{parser:H.parser,overlay:[{from:b.to,to:be.type.id==KI?be.from:g.to}]}}}}if(a&&d==hw){let g=l.node,b;if(b=g.firstChild){let S=a[p.read(b.from,b.to)];if(S)for(let I of S){if(I.tagName&&I.tagName!=iv(g.parent,p))continue;let H=g.lastChild;if(H.type.id==gD){let be=H.from+1,ke=H.lastChild,ge=H.to-(ke&&ke.isError?0:1);if(ge>be)return{parser:I.parser,overlay:[{from:be,to:ge}]}}else if(H.type.id==pw)return{parser:I.parser,overlay:[{from:H.from,to:H.to}]}}}}return null})}const gw="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of gw);const x5=Dl.parser.configure({top:"SingleExpression"}),b5=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:JE.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:KE.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:ew.parser},{tag:"script",attrs:r=>r.type=="importmap"||r.type=="speculationrules",parser:x5},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:Dl.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:yg.parser}],v5=[{name:"style",parser:yg.parser.configure({top:"Styles"})}].concat(gw.map(r=>({name:r,parser:Dl.parser}))),C5=Wh.define({name:"html",parser:D5.configure({props:[Ad.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].length<r.node.to)return r.continue();let e=null,t;for(let n=r.node;;){let i=n.lastChild;if(!i||i.name!="Element"||i.to!=n.to)break;e=n=i}return e&&!((t=e.lastChild)&&(t.name=="CloseTag"||t.name=="SelfClosingTag"))?r.lineIndent(e.from)+r.unit:null}}),Td.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),DO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),$m=C5.configure({wrap:O5(b5,v5)}),S5="var(--cm-keyword)",sv="var(--cm-property)",E5="var(--cm-punctuation)",w5="#ffffff",DD="var(--cm-foreground)",yw="var(--cm-line-number)",A5="var(--cm-comment)",T5="var(--cm-variable)",P5="var(--cm-string)",k5="var(--cm-background)",F5="var(--cm-line-highlight-background)",ov="var(--cm-background)",ny="#242222",_5="var(--cm-selection-background)",av="#888",$5=Qn.theme({"&":{color:DD,backgroundColor:ov},"& div":{flexDirection:"initial"},"&.cm-focused":{outline:"none"},".cm-content":{caretColor:av},".cm-completionIcon":{display:"none"},".cm-cursor, .cm-dropCursor":{borderLeftColor:av},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:_5},".cm-panels":{backgroundColor:k5,color:DD},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-line":{border:"1px solid transparent"},".cm-activeLine":{backgroundColor:F5,border:"1px solid var(--cm-line-highlight-border)"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"transparent"},".cm-gutters":{backgroundColor:ov,color:yw,border:"none"},".cm-activeLineGutter":{backgroundColor:"transparent",color:"#bfbaaa"},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:ny,color:"#c2beb3"},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ny,borderBottomColor:ny},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:"#ffffff14",color:"#c2beb3"}}},{dark:!0}),B5=kd.define([{tag:[He.variableName,He.regexp],color:"var(--cm-decorator)"},{tag:[He.name,He.deleted,He.character,He.propertyName,He.macroName],color:sv},{tag:[He.function(He.variableName),He.labelName],color:T5},{tag:[He.color,He.constant(He.name),He.standard(He.name)],color:"#c99076"},{tag:[He.definition(He.name),He.separator],color:DD},{tag:[He.angleBracket],color:"#666666"},{tag:[He.brace],color:"#5eaab5"},{tag:[He.bracket],color:"#4d9375"},{tag:[He.typeName,He.className,He.number,He.changed,He.annotation,He.modifier,He.self,He.namespace,He.keyword,He.atom,He.bool,He.special(He.variableName)],color:S5},{tag:[He.definitionKeyword],color:"var(--cm-definition-keyword)"},{tag:[He.operator,He.operatorKeyword,He.url,He.escape,He.link,He.special(He.string)],color:E5},{tag:[He.meta,He.comment],color:A5},{tag:He.strong,fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.link,color:yw,textDecoration:"underline"},{tag:He.heading,fontWeight:"bold",color:sv},{tag:[He.processingInstruction,He.string,He.inserted],color:P5},{tag:He.invalid,color:w5}]),N5=[$5,B2(B5)],Dw=ji.define(),Ow=ji.define(),I5=Po.define({create(){return _i.none},update(r,e){r=r.map(e.changes);for(const t of e.effects)t.is(Dw)?r=r.update({add:t.value,sort:!0}):t.is(Ow)&&(r=r.update({filter:t.value}));return r},provide:r=>Qn.decorations.from(r)}),M5={xml:NI,css:pI,html:()=>$m.extension,vue:()=>$m.extension,svelte:()=>$m.extension,js:kc,mjs:kc,cjs:kc,ts:()=>kc({typescript:!0}),mts:()=>kc({typescript:!0}),cts:()=>kc({typescript:!0}),jsx:()=>kc({jsx:!0}),tsx:()=>kc({typescript:!0,jsx:!0})};function R5(r,e,t={}){const n=[...FO];n.push({key:"Tab",run:$E});const i=fs(()=>{const{mode:l="html",readOnly:p,autocomplete:d}=wi(t);return[n8,N5,I5,M5[l](),l==="html"&&d&&$m.data.of({autocomplete:d}),p&&ms.readOnly.of(!0),Cd.of(n)].filter(Boolean)});let s=!1;const a=new Qn({parent:r.value,doc:e.value,extensions:i.value,dispatch(l){a.update([l]);const p=a.state.selection.main;if(p.from!==p.to?(a.contentDOM.style.setProperty("--cm-line-highlight-background","transparent"),a.contentDOM.style.setProperty("--cm-line-highlight-border","transparent")):(a.contentDOM.style.removeProperty("--cm-line-highlight-background"),a.contentDOM.style.removeProperty("--cm-line-highlight-border")),l.docChanged){if(s){s=!1;return}e.value=a.state.doc.toString()}},...wi(t)});return Ro(t,()=>{a.dispatch({effects:ji.reconfigure.of(i.value)})}),Ro(e,l=>{if(l!==a.state.doc.toString()){s=!0;const p=a.state.selection.ranges;a.dispatch({changes:{from:0,to:a.state.doc.length,insert:l},selection:Pr.create(p)})}},{immediate:!0}),a}const Q5=bo({__name:"CodeMirror",props:{modelValue:{},mode:{},readOnly:{type:Boolean},matched:{},annotations:{},getHint:{type:Function}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=Ws(),s=lO(t,"modelValue",n,{passive:!0});return Ng(async()=>{const a=R5(i,s,Dd({autocomplete:t.getHint,...GA(t)}));od(a.contentDOM.parentElement,"scroll",U3(()=>{a.requestMeasure()},50,!0));function l(g,b){const S=_i.mark({class:"highlighted"});a.dispatch({effects:Dw.of([S.range(g,b)])})}function p(){a.dispatch({effects:Ow.of((g,b)=>b<=0||g>=a.state.doc.toString().length)}),VP(t.modelValue,Array.from(t.matched||[]),t.annotations||[]).forEach(g=>l(g[0],g[1]))}let d=0;Ro(()=>[t.modelValue,t.matched],async()=>{clearTimeout(d),t.matched&&(d=setTimeout(p,200))},{immediate:!0})}),(a,l)=>(bi(),ss("div",{ref_key:"el",ref:i,relative:"","font-mono":"","text-sm":"","data-enable-grammarly":"false","h-full":""},null,512))}}),xw=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},j5={},L5={"bg-active":"","p-5":"",border:"b main",text:"sm gray5 dark:gray3"};function X5(r,e){return bi(),ss("div",L5,[tc(r.$slots,"default")])}const V5=xw(j5,[["render",X5]]),U5={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},q5={"mr-2":"","op-60":"","shrink-0":""},z5={px1:"",flex:"","gap-2":"","flex-auto":"","h-full":""},W5=bo({__name:"TitleBar",props:{title:{}},emits:["titleClick"],setup(r,{emit:e}){const t=e;return(n,i)=>(bi(),ss("div",U5,[sn("div",{p1:"",flex:"",onClick:i[0]||(i[0]=s=>t("titleClick",s))},[tc(n.$slots,"before"),sn("div",q5,Ys(n.title),1)]),sn("div",z5,[tc(n.$slots,"default")])]))}}),Z5={flex:"",border:"t main"},Y5=["onClick"],G5=bo({__name:"Tabs",props:{modelValue:{},items:{}},emits:["update:modelValue"],setup(r,{emit:e}){var s,a;const t=r,i=lO(t,"modelValue",e,{passive:!0,defaultValue:(a=(s=t.items)==null?void 0:s[0])==null?void 0:a.value});return(l,p)=>(bi(),ss("ul",Z5,[(bi(!0),ss(co,null,jc(l.items,({label:d,value:g,icon:b})=>(bi(),ss("li",{key:g,"cursor-pointer":"","px-4":"","py-3":"","whitespace-nowrap":"","select-none":"",class:Fa(wi(i)===g?"bg-active dark:text-white text-black":"text-dark:50 dark:text-white:50"),onClick:S=>i.value=g},[sn("div",{class:Fa(b)},null,2),pa(" "+Ys(d),1)],10,Y5))),128))]))}}),H5=bo({__name:"OverviewTabs",props:{modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=Ws([{label:"Source",value:"source",icon:"i-carbon-cics-program"},{label:"Analyzer",value:"analyzer",icon:"i-carbon-align-horizontal-left"}]),s=lO(t,"modelValue",n);return(a,l)=>{const p=G5;return bi(),Zo(p,{modelValue:wi(s),"onUpdate:modelValue":l[0]||(l[0]=d=>Gs(s)?s.value=d:null),items:wi(i)},null,8,["modelValue","items"])}}}),J5="/@vite/client",bw=Rf(),vw=Rf(),K5=bw.on,Cw=vw.on;AD(()=>import(J5),__vite__mapDeps([])).then(r=>{const e=r.createHotContext("/");e.on("vite:beforeUpdate",t=>{t.updates.forEach(n=>{bw.trigger(n)})}),e.on("unocss:config-changed",()=>{vw.trigger()})}).catch(r=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(r)});const t0="/__unocss_api",Sw=Ug(t0).json(),MO=Ug(`${t0}/overview`,{immediate:!1}).json(),Vo=Sw.data,Sp=MO.data;Cw(()=>{Sw.execute(),MO.execute()});function J7(r){const e=Ug(fs(()=>`${t0}/module?id=${encodeURIComponent(wi(r))}`),{refetch:!0}).json();return Cw(()=>e.execute()),K5(t=>{var n;(t.path===wi(r)||t.path===wi(r).slice(((n=Vo.value)==null?void 0:n.root.length)||0))&&setTimeout(()=>{e.execute()},50)}),e}function K7(r,e){const t=V3(r,500);return Ug(fs(()=>`${t0}/repl?token=${encodeURIComponent(t.value)}&safelist=${e.value}`),{refetch:!0}).json()}const Ep=fs(()=>{if(!Vo.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]},nodeModules:{children:{},items:[]}};const r=[],e=[],t=[];return Vo.value.modules.map(n=>({full:n,path:n})).forEach(n=>{n.full.includes("node_modules")?t.push(n):n.full.startsWith(Vo.value.root)?r.push(n):e.push(n)}),r.forEach(n=>n.path=n.path.slice(Vo.value.root.length+1)),{workspace:iy(r,"Project Root"),nodeModules:iy(t,"Node Modules"),root:iy(e,"Disk Root")}});function iy(r,e){const t={name:e,children:{},items:[]};function n(s,a,l=t){if(!s)return;if(a.length<=1){l.items.push(s);return}const p=a.shift();l.children[p]||(l.children[p]={name:p,children:{},items:[]}),n(s,a,l.children[p])}r.forEach(s=>{const a=s.path.split(/\//g).filter(Boolean);n(s,a)});function i(s){if(!s)return;const a=Object.values(s.children);if(a.length===1&&!s.items.length){const l=a[0];s.name=s.name?`${s.name}/${l.name}`:l.name,s.items=l.items,s.children=l.children,i(s)}else a.forEach(i)}return Object.values(t.children).forEach(i),t}const e6={key:0,"ws-wrap":""},t6=sn("span",{op80:""},".",-1),r6={key:1},Ew=bo({__name:"ModuleId",props:{id:{}},setup(r){return(e,t)=>e.id&&wi(Vo)?(bi(),ss("span",e6,[e.id.startsWith(wi(Vo).root)?(bi(),ss(co,{key:0},[t6,sn("span",null,Ys(e.id.slice(wi(Vo).root.length)),1)],64)):(bi(),ss("span",r6,Ys(e.id),1))])):Eu("",!0)}});function n6(r,e){const t=Ws(null);return s_(r,()=>{var i;const n=(i=sd(r))==null?void 0:i.clientHeight;t.value=n?`--${e}: calc(100vh - ${n}px - 2px);`:null}),t}var ww={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(me,le)=>()=>(le||me((le={exports:{}}).exports,le),le.exports),n=t((me,le)=>{var ae=function(Ee){return Ee&&Ee.Math==Math&&Ee};le.exports=ae(typeof globalThis=="object"&&globalThis)||ae(typeof window=="object"&&window)||ae(typeof self=="object"&&self)||ae(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((me,le)=>{le.exports=function(ae){try{return!!ae()}catch{return!0}}}),s=t((me,le)=>{var ae=i();le.exports=!ae(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((me,le)=>{var ae=i();le.exports=!ae(function(){var Ee=(function(){}).bind();return typeof Ee!="function"||Ee.hasOwnProperty("prototype")})}),l=t((me,le)=>{var ae=a(),Ee=Function.prototype.call;le.exports=ae?Ee.bind(Ee):function(){return Ee.apply(Ee,arguments)}}),p=t(me=>{var le={}.propertyIsEnumerable,ae=Object.getOwnPropertyDescriptor,Ee=ae&&!le.call({1:2},1);me.f=Ee?function(xe){var Le=ae(this,xe);return!!Le&&Le.enumerable}:le}),d=t((me,le)=>{le.exports=function(ae,Ee){return{enumerable:!(ae&1),configurable:!(ae&2),writable:!(ae&4),value:Ee}}}),g=t((me,le)=>{var ae=a(),Ee=Function.prototype,xe=Ee.call,Le=ae&&Ee.bind.bind(xe,xe);le.exports=ae?Le:function(nt){return function(){return xe.apply(nt,arguments)}}}),b=t((me,le)=>{var ae=g(),Ee=ae({}.toString),xe=ae("".slice);le.exports=function(Le){return xe(Ee(Le),8,-1)}}),S=t((me,le)=>{var ae=g(),Ee=i(),xe=b(),Le=Object,nt=ae("".split);le.exports=Ee(function(){return!Le("z").propertyIsEnumerable(0)})?function(dt){return xe(dt)=="String"?nt(dt,""):Le(dt)}:Le}),I=t((me,le)=>{le.exports=function(ae){return ae==null}}),H=t((me,le)=>{var ae=I(),Ee=TypeError;le.exports=function(xe){if(ae(xe))throw Ee("Can't call method on "+xe);return xe}}),be=t((me,le)=>{var ae=S(),Ee=H();le.exports=function(xe){return ae(Ee(xe))}}),ke=t((me,le)=>{var ae=typeof document=="object"&&document.all,Ee=typeof ae>"u"&&ae!==void 0;le.exports={all:ae,IS_HTMLDDA:Ee}}),ge=t((me,le)=>{var ae=ke(),Ee=ae.all;le.exports=ae.IS_HTMLDDA?function(xe){return typeof xe=="function"||xe===Ee}:function(xe){return typeof xe=="function"}}),Ue=t((me,le)=>{var ae=ge(),Ee=ke(),xe=Ee.all;le.exports=Ee.IS_HTMLDDA?function(Le){return typeof Le=="object"?Le!==null:ae(Le)||Le===xe}:function(Le){return typeof Le=="object"?Le!==null:ae(Le)}}),Dt=t((me,le)=>{var ae=n(),Ee=ge(),xe=function(Le){return Ee(Le)?Le:void 0};le.exports=function(Le,nt){return arguments.length<2?xe(ae[Le]):ae[Le]&&ae[Le][nt]}}),pt=t((me,le)=>{var ae=g();le.exports=ae({}.isPrototypeOf)}),vt=t((me,le)=>{var ae=Dt();le.exports=ae("navigator","userAgent")||""}),Yt=t((me,le)=>{var ae=n(),Ee=vt(),xe=ae.process,Le=ae.Deno,nt=xe&&xe.versions||Le&&Le.version,dt=nt&&nt.v8,Ge,Ct;dt&&(Ge=dt.split("."),Ct=Ge[0]>0&&Ge[0]<4?1:+(Ge[0]+Ge[1])),!Ct&&Ee&&(Ge=Ee.match(/Edge\/(\d+)/),(!Ge||Ge[1]>=74)&&(Ge=Ee.match(/Chrome\/(\d+)/),Ge&&(Ct=+Ge[1]))),le.exports=Ct}),ir=t((me,le)=>{var ae=Yt(),Ee=i();le.exports=!!Object.getOwnPropertySymbols&&!Ee(function(){var xe=Symbol();return!String(xe)||!(Object(xe)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})}),qr=t((me,le)=>{var ae=ir();le.exports=ae&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((me,le)=>{var ae=Dt(),Ee=ge(),xe=pt(),Le=qr(),nt=Object;le.exports=Le?function(dt){return typeof dt=="symbol"}:function(dt){var Ge=ae("Symbol");return Ee(Ge)&&xe(Ge.prototype,nt(dt))}}),kr=t((me,le)=>{var ae=String;le.exports=function(Ee){try{return ae(Ee)}catch{return"Object"}}}),Zr=t((me,le)=>{var ae=ge(),Ee=kr(),xe=TypeError;le.exports=function(Le){if(ae(Le))return Le;throw xe(Ee(Le)+" is not a function")}}),zn=t((me,le)=>{var ae=Zr(),Ee=I();le.exports=function(xe,Le){var nt=xe[Le];return Ee(nt)?void 0:ae(nt)}}),Gn=t((me,le)=>{var ae=l(),Ee=ge(),xe=Ue(),Le=TypeError;le.exports=function(nt,dt){var Ge,Ct;if(dt==="string"&&Ee(Ge=nt.toString)&&!xe(Ct=ae(Ge,nt))||Ee(Ge=nt.valueOf)&&!xe(Ct=ae(Ge,nt))||dt!=="string"&&Ee(Ge=nt.toString)&&!xe(Ct=ae(Ge,nt)))return Ct;throw Le("Can't convert object to primitive value")}}),Ni=t((me,le)=>{le.exports=!1}),ii=t((me,le)=>{var ae=n(),Ee=Object.defineProperty;le.exports=function(xe,Le){try{Ee(ae,xe,{value:Le,configurable:!0,writable:!0})}catch{ae[xe]=Le}return Le}}),Sn=t((me,le)=>{var ae=n(),Ee=ii(),xe="__core-js_shared__",Le=ae[xe]||Ee(xe,{});le.exports=Le}),Wn=t((me,le)=>{var ae=Ni(),Ee=Sn();(le.exports=function(xe,Le){return Ee[xe]||(Ee[xe]=Le!==void 0?Le:{})})("versions",[]).push({version:"3.26.1",mode:ae?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((me,le)=>{var ae=H(),Ee=Object;le.exports=function(xe){return Ee(ae(xe))}}),Tn=t((me,le)=>{var ae=g(),Ee=jn(),xe=ae({}.hasOwnProperty);le.exports=Object.hasOwn||function(Le,nt){return xe(Ee(Le),nt)}}),Mi=t((me,le)=>{var ae=g(),Ee=0,xe=Math.random(),Le=ae(1 .toString);le.exports=function(nt){return"Symbol("+(nt===void 0?"":nt)+")_"+Le(++Ee+xe,36)}}),Ri=t((me,le)=>{var ae=n(),Ee=Wn(),xe=Tn(),Le=Mi(),nt=ir(),dt=qr(),Ge=Ee("wks"),Ct=ae.Symbol,or=Ct&&Ct.for,er=dt?Ct:Ct&&Ct.withoutSetter||Le;le.exports=function(Or){if(!xe(Ge,Or)||!(nt||typeof Ge[Or]=="string")){var Cr="Symbol."+Or;nt&&xe(Ct,Or)?Ge[Or]=Ct[Or]:dt&&or?Ge[Or]=or(Cr):Ge[Or]=er(Cr)}return Ge[Or]}}),rs=t((me,le)=>{var ae=l(),Ee=Ue(),xe=yr(),Le=zn(),nt=Gn(),dt=Ri(),Ge=TypeError,Ct=dt("toPrimitive");le.exports=function(or,er){if(!Ee(or)||xe(or))return or;var Or=Le(or,Ct),Cr;if(Or){if(er===void 0&&(er="default"),Cr=ae(Or,or,er),!Ee(Cr)||xe(Cr))return Cr;throw Ge("Can't convert object to primitive value")}return er===void 0&&(er="number"),nt(or,er)}}),bs=t((me,le)=>{var ae=rs(),Ee=yr();le.exports=function(xe){var Le=ae(xe,"string");return Ee(Le)?Le:Le+""}}),Ls=t((me,le)=>{var ae=n(),Ee=Ue(),xe=ae.document,Le=Ee(xe)&&Ee(xe.createElement);le.exports=function(nt){return Le?xe.createElement(nt):{}}}),vo=t((me,le)=>{var ae=s(),Ee=i(),xe=Ls();le.exports=!ae&&!Ee(function(){return Object.defineProperty(xe("div"),"a",{get:function(){return 7}}).a!=7})}),Ui=t(me=>{var le=s(),ae=l(),Ee=p(),xe=d(),Le=be(),nt=bs(),dt=Tn(),Ge=vo(),Ct=Object.getOwnPropertyDescriptor;me.f=le?Ct:function(or,er){if(or=Le(or),er=nt(er),Ge)try{return Ct(or,er)}catch{}if(dt(or,er))return xe(!ae(Ee.f,or,er),or[er])}}),Sr=t((me,le)=>{var ae=s(),Ee=i();le.exports=ae&&Ee(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((me,le)=>{var ae=Ue(),Ee=String,xe=TypeError;le.exports=function(Le){if(ae(Le))return Le;throw xe(Ee(Le)+" is not an object")}}),zr=t(me=>{var le=s(),ae=vo(),Ee=Sr(),xe=cn(),Le=bs(),nt=TypeError,dt=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,Ct="enumerable",or="configurable",er="writable";me.f=le?Ee?function(Or,Cr,Oe){if(xe(Or),Cr=Le(Cr),xe(Oe),typeof Or=="function"&&Cr==="prototype"&&"value"in Oe&&er in Oe&&!Oe[er]){var pn=Ge(Or,Cr);pn&&pn[er]&&(Or[Cr]=Oe.value,Oe={configurable:or in Oe?Oe[or]:pn[or],enumerable:Ct in Oe?Oe[Ct]:pn[Ct],writable:!1})}return dt(Or,Cr,Oe)}:dt:function(Or,Cr,Oe){if(xe(Or),Cr=Le(Cr),xe(Oe),ae)try{return dt(Or,Cr,Oe)}catch{}if("get"in Oe||"set"in Oe)throw nt("Accessors not supported");return"value"in Oe&&(Or[Cr]=Oe.value),Or}}),In=t((me,le)=>{var ae=s(),Ee=zr(),xe=d();le.exports=ae?function(Le,nt,dt){return Ee.f(Le,nt,xe(1,dt))}:function(Le,nt,dt){return Le[nt]=dt,Le}}),es=t((me,le)=>{var ae=s(),Ee=Tn(),xe=Function.prototype,Le=ae&&Object.getOwnPropertyDescriptor,nt=Ee(xe,"name"),dt=nt&&(function(){}).name==="something",Ge=nt&&(!ae||ae&&Le(xe,"name").configurable);le.exports={EXISTS:nt,PROPER:dt,CONFIGURABLE:Ge}}),tt=t((me,le)=>{var ae=g(),Ee=ge(),xe=Sn(),Le=ae(Function.toString);Ee(xe.inspectSource)||(xe.inspectSource=function(nt){return Le(nt)}),le.exports=xe.inspectSource}),gt=t((me,le)=>{var ae=n(),Ee=ge(),xe=ae.WeakMap;le.exports=Ee(xe)&&/native code/.test(String(xe))}),Zt=t((me,le)=>{var ae=Wn(),Ee=Mi(),xe=ae("keys");le.exports=function(Le){return xe[Le]||(xe[Le]=Ee(Le))}}),dr=t((me,le)=>{le.exports={}}),Fr=t((me,le)=>{var ae=gt(),Ee=n(),xe=Ue(),Le=In(),nt=Tn(),dt=Sn(),Ge=Zt(),Ct=dr(),or="Object already initialized",er=Ee.TypeError,Or=Ee.WeakMap,Cr,Oe,pn,mn=function(Ye){return pn(Ye)?Oe(Ye):Cr(Ye,{})},ui=function(Ye){return function(Es){var ko;if(!xe(Es)||(ko=Oe(Es)).type!==Ye)throw er("Incompatible receiver, "+Ye+" required");return ko}};ae||dt.state?(Oi=dt.state||(dt.state=new Or),Oi.get=Oi.get,Oi.has=Oi.has,Oi.set=Oi.set,Cr=function(Ye,Es){if(Oi.has(Ye))throw er(or);return Es.facade=Ye,Oi.set(Ye,Es),Es},Oe=function(Ye){return Oi.get(Ye)||{}},pn=function(Ye){return Oi.has(Ye)}):(Gi=Ge("state"),Ct[Gi]=!0,Cr=function(Ye,Es){if(nt(Ye,Gi))throw er(or);return Es.facade=Ye,Le(Ye,Gi,Es),Es},Oe=function(Ye){return nt(Ye,Gi)?Ye[Gi]:{}},pn=function(Ye){return nt(Ye,Gi)});var Oi,Gi;le.exports={set:Cr,get:Oe,has:pn,enforce:mn,getterFor:ui}}),Lr=t((me,le)=>{var ae=i(),Ee=ge(),xe=Tn(),Le=s(),nt=es().CONFIGURABLE,dt=tt(),Ge=Fr(),Ct=Ge.enforce,or=Ge.get,er=Object.defineProperty,Or=Le&&!ae(function(){return er(function(){},"length",{value:8}).length!==8}),Cr=String(String).split("String"),Oe=le.exports=function(pn,mn,ui){String(mn).slice(0,7)==="Symbol("&&(mn="["+String(mn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),ui&&ui.getter&&(mn="get "+mn),ui&&ui.setter&&(mn="set "+mn),(!xe(pn,"name")||nt&&pn.name!==mn)&&(Le?er(pn,"name",{value:mn,configurable:!0}):pn.name=mn),Or&&ui&&xe(ui,"arity")&&pn.length!==ui.arity&&er(pn,"length",{value:ui.arity});try{ui&&xe(ui,"constructor")&&ui.constructor?Le&&er(pn,"prototype",{writable:!1}):pn.prototype&&(pn.prototype=void 0)}catch{}var Oi=Ct(pn);return xe(Oi,"source")||(Oi.source=Cr.join(typeof mn=="string"?mn:"")),pn};Function.prototype.toString=Oe(function(){return Ee(this)&&or(this).source||dt(this)},"toString")}),yn=t((me,le)=>{var ae=ge(),Ee=zr(),xe=Lr(),Le=ii();le.exports=function(nt,dt,Ge,Ct){Ct||(Ct={});var or=Ct.enumerable,er=Ct.name!==void 0?Ct.name:dt;if(ae(Ge)&&xe(Ge,er,Ct),Ct.global)or?nt[dt]=Ge:Le(dt,Ge);else{try{Ct.unsafe?nt[dt]&&(or=!0):delete nt[dt]}catch{}or?nt[dt]=Ge:Ee.f(nt,dt,{value:Ge,enumerable:!1,configurable:!Ct.nonConfigurable,writable:!Ct.nonWritable})}return nt}}),Jr=t((me,le)=>{var ae=Math.ceil,Ee=Math.floor;le.exports=Math.trunc||function(xe){var Le=+xe;return(Le>0?Ee:ae)(Le)}}),on=t((me,le)=>{var ae=Jr();le.exports=function(Ee){var xe=+Ee;return xe!==xe||xe===0?0:ae(xe)}}),Xr=t((me,le)=>{var ae=on(),Ee=Math.max,xe=Math.min;le.exports=function(Le,nt){var dt=ae(Le);return dt<0?Ee(dt+nt,0):xe(dt,nt)}}),ei=t((me,le)=>{var ae=on(),Ee=Math.min;le.exports=function(xe){return xe>0?Ee(ae(xe),9007199254740991):0}}),xn=t((me,le)=>{var ae=ei();le.exports=function(Ee){return ae(Ee.length)}}),ti=t((me,le)=>{var ae=be(),Ee=Xr(),xe=xn(),Le=function(nt){return function(dt,Ge,Ct){var or=ae(dt),er=xe(or),Or=Ee(Ct,er),Cr;if(nt&&Ge!=Ge){for(;er>Or;)if(Cr=or[Or++],Cr!=Cr)return!0}else for(;er>Or;Or++)if((nt||Or in or)&&or[Or]===Ge)return nt||Or||0;return!nt&&-1}};le.exports={includes:Le(!0),indexOf:Le(!1)}}),Ai=t((me,le)=>{var ae=g(),Ee=Tn(),xe=be(),Le=ti().indexOf,nt=dr(),dt=ae([].push);le.exports=function(Ge,Ct){var or=xe(Ge),er=0,Or=[],Cr;for(Cr in or)!Ee(nt,Cr)&&Ee(or,Cr)&&dt(Or,Cr);for(;Ct.length>er;)Ee(or,Cr=Ct[er++])&&(~Le(Or,Cr)||dt(Or,Cr));return Or}}),Li=t((me,le)=>{le.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),us=t(me=>{var le=Ai(),ae=Li(),Ee=ae.concat("length","prototype");me.f=Object.getOwnPropertyNames||function(xe){return le(xe,Ee)}}),os=t(me=>{me.f=Object.getOwnPropertySymbols}),Ts=t((me,le)=>{var ae=Dt(),Ee=g(),xe=us(),Le=os(),nt=cn(),dt=Ee([].concat);le.exports=ae("Reflect","ownKeys")||function(Ge){var Ct=xe.f(nt(Ge)),or=Le.f;return or?dt(Ct,or(Ge)):Ct}}),Co=t((me,le)=>{var ae=Tn(),Ee=Ts(),xe=Ui(),Le=zr();le.exports=function(nt,dt,Ge){for(var Ct=Ee(dt),or=Le.f,er=xe.f,Or=0;Or<Ct.length;Or++){var Cr=Ct[Or];!ae(nt,Cr)&&!(Ge&&ae(Ge,Cr))&&or(nt,Cr,er(dt,Cr))}}}),ya=t((me,le)=>{var ae=i(),Ee=ge(),xe=/#|\.prototype\./,Le=function(or,er){var Or=dt[nt(or)];return Or==Ct?!0:Or==Ge?!1:Ee(er)?ae(er):!!er},nt=Le.normalize=function(or){return String(or).replace(xe,".").toLowerCase()},dt=Le.data={},Ge=Le.NATIVE="N",Ct=Le.POLYFILL="P";le.exports=Le}),Go=t((me,le)=>{var ae=n(),Ee=Ui().f,xe=In(),Le=yn(),nt=ii(),dt=Co(),Ge=ya();le.exports=function(Ct,or){var er=Ct.target,Or=Ct.global,Cr=Ct.stat,Oe,pn,mn,ui,Oi,Gi;if(Or?pn=ae:Cr?pn=ae[er]||nt(er,{}):pn=(ae[er]||{}).prototype,pn)for(mn in or){if(Oi=or[mn],Ct.dontCallGetSet?(Gi=Ee(pn,mn),ui=Gi&&Gi.value):ui=pn[mn],Oe=Ge(Or?mn:er+(Cr?".":"#")+mn,Ct.forced),!Oe&&ui!==void 0){if(typeof Oi==typeof ui)continue;dt(Oi,ui)}(Ct.sham||ui&&ui.sham)&&xe(Oi,"sham",!0),Le(pn,mn,Oi,Ct)}}}),Da=t((me,le)=>{var ae=b();le.exports=Array.isArray||function(Ee){return ae(Ee)=="Array"}}),Fu=t((me,le)=>{var ae=TypeError,Ee=9007199254740991;le.exports=function(xe){if(xe>Ee)throw ae("Maximum allowed index exceeded");return xe}}),io=t((me,le)=>{var ae=b(),Ee=g();le.exports=function(xe){if(ae(xe)==="Function")return Ee(xe)}}),Hr=t((me,le)=>{var ae=io(),Ee=Zr(),xe=a(),Le=ae(ae.bind);le.exports=function(nt,dt){return Ee(nt),dt===void 0?nt:xe?Le(nt,dt):function(){return nt.apply(dt,arguments)}}}),Kt=t((me,le)=>{var ae=Da(),Ee=xn(),xe=Fu(),Le=Hr(),nt=function(dt,Ge,Ct,or,er,Or,Cr,Oe){for(var pn=er,mn=0,ui=Cr?Le(Cr,Oe):!1,Oi,Gi;mn<or;)mn in Ct&&(Oi=ui?ui(Ct[mn],mn,Ge):Ct[mn],Or>0&&ae(Oi)?(Gi=Ee(Oi),pn=nt(dt,Ge,Oi,Gi,pn,Or-1)-1):(xe(pn+1),dt[pn]=Oi),pn++),mn++;return pn};le.exports=nt}),Ht=t((me,le)=>{var ae=Ri(),Ee=ae("toStringTag"),xe={};xe[Ee]="z",le.exports=String(xe)==="[object z]"}),lr=t((me,le)=>{var ae=Ht(),Ee=ge(),xe=b(),Le=Ri(),nt=Le("toStringTag"),dt=Object,Ge=xe(function(){return arguments}())=="Arguments",Ct=function(or,er){try{return or[er]}catch{}};le.exports=ae?xe:function(or){var er,Or,Cr;return or===void 0?"Undefined":or===null?"Null":typeof(Or=Ct(er=dt(or),nt))=="string"?Or:Ge?xe(er):(Cr=xe(er))=="Object"&&Ee(er.callee)?"Arguments":Cr}}),cr=t((me,le)=>{var ae=g(),Ee=i(),xe=ge(),Le=lr(),nt=Dt(),dt=tt(),Ge=function(){},Ct=[],or=nt("Reflect","construct"),er=/^\s*(?:class|function)\b/,Or=ae(er.exec),Cr=!er.exec(Ge),Oe=function(mn){if(!xe(mn))return!1;try{return or(Ge,Ct,mn),!0}catch{return!1}},pn=function(mn){if(!xe(mn))return!1;switch(Le(mn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cr||!!Or(er,dt(mn))}catch{return!0}};pn.sham=!0,le.exports=!or||Ee(function(){var mn;return Oe(Oe.call)||!Oe(Object)||!Oe(function(){mn=!0})||mn})?pn:Oe}),vr=t((me,le)=>{var ae=Da(),Ee=cr(),xe=Ue(),Le=Ri(),nt=Le("species"),dt=Array;le.exports=function(Ge){var Ct;return ae(Ge)&&(Ct=Ge.constructor,Ee(Ct)&&(Ct===dt||ae(Ct.prototype))?Ct=void 0:xe(Ct)&&(Ct=Ct[nt],Ct===null&&(Ct=void 0))),Ct===void 0?dt:Ct}}),Kr=t((me,le)=>{var ae=vr();le.exports=function(Ee,xe){return new(ae(Ee))(xe===0?0:xe)}}),Rt=t(()=>{var me=Go(),le=Kt(),ae=Zr(),Ee=jn(),xe=xn(),Le=Kr();me({target:"Array",proto:!0},{flatMap:function(nt){var dt=Ee(this),Ge=xe(dt),Ct;return ae(nt),Ct=Le(dt,0),Ct.length=le(Ct,dt,dt,Ge,0,1,nt,arguments.length>1?arguments[1]:void 0),Ct}})}),En=t((me,le)=>{le.exports={}}),Bn=t((me,le)=>{var ae=Ri(),Ee=En(),xe=ae("iterator"),Le=Array.prototype;le.exports=function(nt){return nt!==void 0&&(Ee.Array===nt||Le[xe]===nt)}}),Hn=t((me,le)=>{var ae=lr(),Ee=zn(),xe=I(),Le=En(),nt=Ri(),dt=nt("iterator");le.exports=function(Ge){if(!xe(Ge))return Ee(Ge,dt)||Ee(Ge,"@@iterator")||Le[ae(Ge)]}}),qt=t((me,le)=>{var ae=l(),Ee=Zr(),xe=cn(),Le=kr(),nt=Hn(),dt=TypeError;le.exports=function(Ge,Ct){var or=arguments.length<2?nt(Ge):Ct;if(Ee(or))return xe(ae(or,Ge));throw dt(Le(Ge)+" is not iterable")}}),ai=t((me,le)=>{var ae=l(),Ee=cn(),xe=zn();le.exports=function(Le,nt,dt){var Ge,Ct;Ee(Le);try{if(Ge=xe(Le,"return"),!Ge){if(nt==="throw")throw dt;return dt}Ge=ae(Ge,Le)}catch(or){Ct=!0,Ge=or}if(nt==="throw")throw dt;if(Ct)throw Ge;return Ee(Ge),dt}}),mi=t((me,le)=>{var ae=Hr(),Ee=l(),xe=cn(),Le=kr(),nt=Bn(),dt=xn(),Ge=pt(),Ct=qt(),or=Hn(),er=ai(),Or=TypeError,Cr=function(pn,mn){this.stopped=pn,this.result=mn},Oe=Cr.prototype;le.exports=function(pn,mn,ui){var Oi=ui&&ui.that,Gi=!!(ui&&ui.AS_ENTRIES),Ye=!!(ui&&ui.IS_RECORD),Es=!!(ui&&ui.IS_ITERATOR),ko=!!(ui&&ui.INTERRUPTED),Ho=ae(mn,Oi),vs,po,Cs,Jo,oo,Js,_u,So=function(fo){return vs&&er(vs,"normal",fo),new Cr(!0,fo)},Zs=function(fo){return Gi?(xe(fo),ko?Ho(fo[0],fo[1],So):Ho(fo[0],fo[1])):ko?Ho(fo,So):Ho(fo)};if(Ye)vs=pn.iterator;else if(Es)vs=pn;else{if(po=or(pn),!po)throw Or(Le(pn)+" is not iterable");if(nt(po)){for(Cs=0,Jo=dt(pn);Jo>Cs;Cs++)if(oo=Zs(pn[Cs]),oo&&Ge(Oe,oo))return oo;return new Cr(!1)}vs=Ct(pn,po)}for(Js=Ye?pn.next:vs.next;!(_u=Ee(Js,vs)).done;){try{oo=Zs(_u.value)}catch(fo){er(vs,"throw",fo)}if(typeof oo=="object"&&oo&&Ge(Oe,oo))return oo}return new Cr(!1)}}),Dr=t((me,le)=>{var ae=bs(),Ee=zr(),xe=d();le.exports=function(Le,nt,dt){var Ge=ae(nt);Ge in Le?Ee.f(Le,Ge,xe(0,dt)):Le[Ge]=dt}}),xt=t(()=>{var me=Go(),le=mi(),ae=Dr();me({target:"Object",stat:!0},{fromEntries:function(Ee){var xe={};return le(Ee,function(Le,nt){ae(xe,Le,nt)},{AS_ENTRIES:!0}),xe}})}),Ot=t((me,le)=>{var ae=Lr(),Ee=zr();le.exports=function(xe,Le,nt){return nt.get&&ae(nt.get,Le,{getter:!0}),nt.set&&ae(nt.set,Le,{setter:!0}),Ee.f(xe,Le,nt)}}),At=t((me,le)=>{var ae=cn();le.exports=function(){var Ee=ae(this),xe="";return Ee.hasIndices&&(xe+="d"),Ee.global&&(xe+="g"),Ee.ignoreCase&&(xe+="i"),Ee.multiline&&(xe+="m"),Ee.dotAll&&(xe+="s"),Ee.unicode&&(xe+="u"),Ee.unicodeSets&&(xe+="v"),Ee.sticky&&(xe+="y"),xe}}),bt=t(()=>{var me=n(),le=s(),ae=Ot(),Ee=At(),xe=i(),Le=me.RegExp,nt=Le.prototype,dt=le&&xe(function(){var Ge=!0;try{Le(".","d")}catch{Ge=!1}var Ct={},or="",er=Ge?"dgimsy":"gimsy",Or=function(mn,ui){Object.defineProperty(Ct,mn,{get:function(){return or+=ui,!0}})},Cr={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ge&&(Cr.hasIndices="d");for(var Oe in Cr)Or(Oe,Cr[Oe]);var pn=Object.getOwnPropertyDescriptor(nt,"flags").get.call(Ct);return pn!==er||or!==er});dt&&ae(nt,"flags",{configurable:!0,get:Ee})}),Ke=t(()=>{var me=Go(),le=n();me({global:!0,forced:le.globalThis!==le},{globalThis:le})}),$e=t(()=>{Ke()}),Ie=t(()=>{var me=Go(),le=Kt(),ae=jn(),Ee=xn(),xe=on(),Le=Kr();me({target:"Array",proto:!0},{flat:function(){var nt=arguments.length?arguments[0]:void 0,dt=ae(this),Ge=Ee(dt),Ct=Le(dt,0);return Ct.length=le(Ct,dt,dt,Ge,0,nt===void 0?1:xe(nt)),Ct}})}),Ze=t((me,le)=>{var ae=["cliName","cliCategory","cliDescription"],Ee=["_"],xe=["languageId"];function Le(u,h){if(u==null)return{};var f=nt(u,h),m,y;if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(u);for(y=0;y<D.length;y++)m=D[y],!(h.indexOf(m)>=0)&&Object.prototype.propertyIsEnumerable.call(u,m)&&(f[m]=u[m])}return f}function nt(u,h){if(u==null)return{};var f={},m=Object.keys(u),y,D;for(D=0;D<m.length;D++)y=m[D],!(h.indexOf(y)>=0)&&(f[y]=u[y]);return f}Rt(),xt(),bt(),$e(),Ie();var dt=Object.create,Ge=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,or=Object.getOwnPropertyNames,er=Object.getPrototypeOf,Or=Object.prototype.hasOwnProperty,Cr=(u,h)=>function(){return u&&(h=(0,u[or(u)[0]])(u=0)),h},Oe=(u,h)=>function(){return h||(0,u[or(u)[0]])((h={exports:{}}).exports,h),h.exports},pn=(u,h)=>{for(var f in h)Ge(u,f,{get:h[f],enumerable:!0})},mn=(u,h,f,m)=>{if(h&&typeof h=="object"||typeof h=="function")for(let y of or(h))!Or.call(u,y)&&y!==f&&Ge(u,y,{get:()=>h[y],enumerable:!(m=Ct(h,y))||m.enumerable});return u},ui=(u,h,f)=>(f=u!=null?dt(er(u)):{},mn(h||!u||!u.__esModule?Ge(f,"default",{value:u,enumerable:!0}):f,u)),Oi=u=>mn(Ge({},"__esModule",{value:!0}),u),Gi,Ye=Cr({"<define:process>"(){Gi={env:{},argv:[]}}}),Es=Oe({"package.json"(u,h){h.exports={version:"2.8.8"}}}),ko=Oe({"node_modules/diff/lib/diff/base.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.default=h;function h(){}h.prototype={diff:function(y,D){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=O.callback;typeof O=="function"&&(x=O,O={}),this.options=O;var v=this;function E(L){return x?(setTimeout(function(){x(void 0,L)},0),!0):L}y=this.castInput(y),D=this.castInput(D),y=this.removeEmpty(this.tokenize(y)),D=this.removeEmpty(this.tokenize(D));var F=D.length,k=y.length,N=1,T=F+k,_=[{newPos:-1,components:[]}],R=this.extractCommon(_[0],D,y,0);if(_[0].newPos+1>=F&&R+1>=k)return E([{value:this.join(D),count:D.length}]);function W(){for(var L=-1*N;L<=N;L+=2){var re=void 0,z=_[L-1],ue=_[L+1],ie=(ue?ue.newPos:0)-L;z&&(_[L-1]=void 0);var Be=z&&z.newPos+1<F,B=ue&&0<=ie&&ie<k;if(!Be&&!B){_[L]=void 0;continue}if(!Be||B&&z.newPos<ue.newPos?(re=m(ue),v.pushComponent(re.components,void 0,!0)):(re=z,re.newPos++,v.pushComponent(re.components,!0,void 0)),ie=v.extractCommon(re,D,y,L),re.newPos+1>=F&&ie+1>=k)return E(f(v,re.components,D,y,v.useLongestToken));_[L]=re}N++}if(x)(function L(){setTimeout(function(){if(N>T)return x();W()||L()},0)})();else for(;N<=T;){var ne=W();if(ne)return ne}},pushComponent:function(y,D,O){var x=y[y.length-1];x&&x.added===D&&x.removed===O?y[y.length-1]={count:x.count+1,added:D,removed:O}:y.push({count:1,added:D,removed:O})},extractCommon:function(y,D,O,x){for(var v=D.length,E=O.length,F=y.newPos,k=F-x,N=0;F+1<v&&k+1<E&&this.equals(D[F+1],O[k+1]);)F++,k++,N++;return N&&y.components.push({count:N}),y.newPos=F,k},equals:function(y,D){return this.options.comparator?this.options.comparator(y,D):y===D||this.options.ignoreCase&&y.toLowerCase()===D.toLowerCase()},removeEmpty:function(y){for(var D=[],O=0;O<y.length;O++)y[O]&&D.push(y[O]);return D},castInput:function(y){return y},tokenize:function(y){return y.split("")},join:function(y){return y.join("")}};function f(y,D,O,x,v){for(var E=0,F=D.length,k=0,N=0;E<F;E++){var T=D[E];if(T.removed){if(T.value=y.join(x.slice(N,N+T.count)),N+=T.count,E&&D[E-1].added){var _=D[E-1];D[E-1]=D[E],D[E]=_}}else{if(!T.added&&v){var R=O.slice(k,k+T.count);R=R.map(function(ne,L){var re=x[N+L];return re.length>ne.length?re:ne}),T.value=y.join(R)}else T.value=y.join(O.slice(k,k+T.count));k+=T.count,T.added||(N+=T.count)}}var W=D[F-1];return F>1&&typeof W.value=="string"&&(W.added||W.removed)&&y.equals("",W.value)&&(D[F-2].value+=W.value,D.pop()),D}function m(y){return{newPos:y.newPos,components:y.components.slice(0)}}}}),Ho=Oe({"node_modules/diff/lib/diff/array.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.diffArrays=y,u.arrayDiff=void 0;var h=f(ko());function f(D){return D&&D.__esModule?D:{default:D}}var m=new h.default;u.arrayDiff=m,m.tokenize=function(D){return D.slice()},m.join=m.removeEmpty=function(D){return D};function y(D,O,x){return m.diff(D,O,x)}}}),vs=Oe({"src/document/doc-builders.js"(u,h){Ye();function f(j){return{type:"concat",parts:j}}function m(j){return{type:"indent",contents:j}}function y(j,A){return{type:"align",contents:A,n:j}}function D(j){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:A.id,contents:j,break:!!A.shouldBreak,expandedStates:A.expandedStates}}function O(j){return y(Number.NEGATIVE_INFINITY,j)}function x(j){return y({type:"root"},j)}function v(j){return y(-1,j)}function E(j,A){return D(j[0],Object.assign(Object.assign({},A),{},{expandedStates:j}))}function F(j){return{type:"fill",parts:j}}function k(j,A){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:j,flatContents:A,groupId:M.groupId}}function N(j,A){return{type:"indent-if-break",contents:j,groupId:A.groupId,negate:A.negate}}function T(j){return{type:"line-suffix",contents:j}}var _={type:"line-suffix-boundary"},R={type:"break-parent"},W={type:"trim"},ne={type:"line",hard:!0},L={type:"line",hard:!0,literal:!0},re={type:"line"},z={type:"line",soft:!0},ue=f([ne,R]),ie=f([L,R]),Be={type:"cursor",placeholder:Symbol("cursor")};function B(j,A){let M=[];for(let Q=0;Q<A.length;Q++)Q!==0&&M.push(j),M.push(A[Q]);return f(M)}function Z(j,A,M){let Q=j;if(A>0){for(let U=0;U<Math.floor(A/M);++U)Q=m(Q);Q=y(A%M,Q),Q=y(Number.NEGATIVE_INFINITY,Q)}return Q}function $(j,A){return{type:"label",label:j,contents:A}}h.exports={concat:f,join:B,line:re,softline:z,hardline:ue,literalline:ie,group:D,conditionalGroup:E,fill:F,lineSuffix:T,lineSuffixBoundary:_,cursor:Be,breakParent:R,ifBreak:k,trim:W,indent:m,indentIfBreak:N,align:y,addAlignmentToDoc:Z,markAsRoot:x,dedentToRoot:O,dedent:v,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:L,label:$}}}),po=Oe({"src/common/end-of-line.js"(u,h){Ye();function f(O){let x=O.indexOf("\r");return x>=0?O.charAt(x+1)===`
`?"crlf":"cr":"lf"}function m(O){switch(O){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function y(O,x){let v;switch(x){case`
`:v=/\n/g;break;case"\r":v=/\r/g;break;case`\r
`:v=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(x)}.`)}let E=O.match(v);return E?E.length:0}function D(O){return O.replace(/\r\n?/g,`
`)}h.exports={guessEndOfLine:f,convertEndOfLineToChars:m,countEndOfLineChars:y,normalizeEndOfLine:D}}}),Cs=Oe({"src/utils/get-last.js"(u,h){Ye();var f=m=>m[m.length-1];h.exports=f}});function Jo(){let{onlyFirst:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(h,u?void 0:"g")}var oo=Cr({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Ye()}});function Js(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(Jo(),"")}var _u=Cr({"node_modules/strip-ansi/index.js"(){Ye(),oo()}});function So(u){return Number.isInteger(u)?u>=4352&&(u<=4447||u===9001||u===9002||11904<=u&&u<=12871&&u!==12351||12880<=u&&u<=19903||19968<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65131||65281<=u&&u<=65376||65504<=u&&u<=65510||110592<=u&&u<=110593||127488<=u&&u<=127569||131072<=u&&u<=262141):!1}var Zs=Cr({"node_modules/is-fullwidth-code-point/index.js"(){Ye()}}),fo=Oe({"node_modules/emoji-regex/index.js"(u,h){Ye(),h.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),wl={};pn(wl,{default:()=>Al});function Al(u){if(typeof u!="string"||u.length===0||(u=Js(u),u.length===0))return 0;u=u.replace((0,$u.default)()," ");let h=0;for(let f=0;f<u.length;f++){let m=u.codePointAt(f);m<=31||m>=127&&m<=159||m>=768&&m<=879||(m>65535&&f++,h+=So(m)?2:1)}return h}var $u,Tl=Cr({"node_modules/string-width/index.js"(){Ye(),_u(),Zs(),$u=ui(fo())}}),su=Oe({"src/utils/get-string-width.js"(u,h){Ye();var f=(Tl(),Oi(wl)).default,m=/[^\x20-\x7F]/;function y(D){return D?m.test(D)?f(D):D.length:0}h.exports=y}}),$a=Oe({"src/document/doc-utils.js"(u,h){Ye();var f=Cs(),{literalline:m,join:y}=vs(),D=A=>Array.isArray(A)||A&&A.type==="concat",O=A=>{if(Array.isArray(A))return A;if(A.type!=="concat"&&A.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return A.parts},x={};function v(A,M,Q,U){let q=[A];for(;q.length>0;){let K=q.pop();if(K===x){Q(q.pop());continue}if(Q&&q.push(K,x),!M||M(K)!==!1)if(D(K)||K.type==="fill"){let he=O(K);for(let Te=he.length,_e=Te-1;_e>=0;--_e)q.push(he[_e])}else if(K.type==="if-break")K.flatContents&&q.push(K.flatContents),K.breakContents&&q.push(K.breakContents);else if(K.type==="group"&&K.expandedStates)if(U)for(let he=K.expandedStates.length,Te=he-1;Te>=0;--Te)q.push(K.expandedStates[Te]);else q.push(K.contents);else K.contents&&q.push(K.contents)}}function E(A,M){let Q=new Map;return U(A);function U(K){if(Q.has(K))return Q.get(K);let he=q(K);return Q.set(K,he),he}function q(K){if(Array.isArray(K))return M(K.map(U));if(K.type==="concat"||K.type==="fill"){let he=K.parts.map(U);return M(Object.assign(Object.assign({},K),{},{parts:he}))}if(K.type==="if-break"){let he=K.breakContents&&U(K.breakContents),Te=K.flatContents&&U(K.flatContents);return M(Object.assign(Object.assign({},K),{},{breakContents:he,flatContents:Te}))}if(K.type==="group"&&K.expandedStates){let he=K.expandedStates.map(U),Te=he[0];return M(Object.assign(Object.assign({},K),{},{contents:Te,expandedStates:he}))}if(K.contents){let he=U(K.contents);return M(Object.assign(Object.assign({},K),{},{contents:he}))}return M(K)}}function F(A,M,Q){let U=Q,q=!1;function K(he){let Te=M(he);if(Te!==void 0&&(q=!0,U=Te),q)return!1}return v(A,K),U}function k(A){if(A.type==="group"&&A.break||A.type==="line"&&A.hard||A.type==="break-parent")return!0}function N(A){return F(A,k,!1)}function T(A){if(A.length>0){let M=f(A);!M.expandedStates&&!M.break&&(M.break="propagated")}return null}function _(A){let M=new Set,Q=[];function U(K){if(K.type==="break-parent"&&T(Q),K.type==="group"){if(Q.push(K),M.has(K))return!1;M.add(K)}}function q(K){K.type==="group"&&Q.pop().break&&T(Q)}v(A,U,q,!0)}function R(A){return A.type==="line"&&!A.hard?A.soft?"":" ":A.type==="if-break"?A.flatContents||"":A}function W(A){return E(A,R)}var ne=(A,M)=>A&&A.type==="line"&&A.hard&&M&&M.type==="break-parent";function L(A){if(!A)return A;if(D(A)||A.type==="fill"){let M=O(A);for(;M.length>1&&ne(...M.slice(-2));)M.length-=2;if(M.length>0){let Q=L(f(M));M[M.length-1]=Q}return Array.isArray(A)?M:Object.assign(Object.assign({},A),{},{parts:M})}switch(A.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let M=L(A.contents);return Object.assign(Object.assign({},A),{},{contents:M})}case"if-break":{let M=L(A.breakContents),Q=L(A.flatContents);return Object.assign(Object.assign({},A),{},{breakContents:M,flatContents:Q})}}return A}function re(A){return L(ue(A))}function z(A){switch(A.type){case"fill":if(A.parts.every(Q=>Q===""))return"";break;case"group":if(!A.contents&&!A.id&&!A.break&&!A.expandedStates)return"";if(A.contents.type==="group"&&A.contents.id===A.id&&A.contents.break===A.break&&A.contents.expandedStates===A.expandedStates)return A.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!A.contents)return"";break;case"if-break":if(!A.flatContents&&!A.breakContents)return"";break}if(!D(A))return A;let M=[];for(let Q of O(A)){if(!Q)continue;let[U,...q]=D(Q)?O(Q):[Q];typeof U=="string"&&typeof f(M)=="string"?M[M.length-1]+=U:M.push(U),M.push(...q)}return M.length===0?"":M.length===1?M[0]:Array.isArray(A)?M:Object.assign(Object.assign({},A),{},{parts:M})}function ue(A){return E(A,M=>z(M))}function ie(A){let M=[],Q=A.filter(Boolean);for(;Q.length>0;){let U=Q.shift();if(U){if(D(U)){Q.unshift(...O(U));continue}if(M.length>0&&typeof f(M)=="string"&&typeof U=="string"){M[M.length-1]+=U;continue}M.push(U)}}return M}function Be(A){return E(A,M=>Array.isArray(M)?ie(M):M.parts?Object.assign(Object.assign({},M),{},{parts:ie(M.parts)}):M)}function B(A){return E(A,M=>typeof M=="string"&&M.includes(`
`)?Z(M):M)}function Z(A){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m;return y(M,A.split(`
`)).parts}function $(A){if(A.type==="line")return!0}function j(A){return F(A,$,!1)}h.exports={isConcat:D,getDocParts:O,willBreak:N,traverseDoc:v,findInDoc:F,mapDoc:E,propagateBreaks:_,removeLines:W,stripTrailingHardline:re,normalizeParts:ie,normalizeDoc:Be,cleanDoc:ue,replaceTextEndOfLine:Z,replaceEndOfLine:B,canBreak:j}}}),uc=Oe({"src/document/doc-printer.js"(u,h){Ye();var{convertEndOfLineToChars:f}=po(),m=Cs(),y=su(),{fill:D,cursor:O,indent:x}=vs(),{isConcat:v,getDocParts:E}=$a(),F,k=1,N=2;function T(){return{value:"",length:0,queue:[]}}function _(z,ue){return W(z,{type:"indent"},ue)}function R(z,ue,ie){return ue===Number.NEGATIVE_INFINITY?z.root||T():ue<0?W(z,{type:"dedent"},ie):ue?ue.type==="root"?Object.assign(Object.assign({},z),{},{root:z}):W(z,{type:typeof ue=="string"?"stringAlign":"numberAlign",n:ue},ie):z}function W(z,ue,ie){let Be=ue.type==="dedent"?z.queue.slice(0,-1):[...z.queue,ue],B="",Z=0,$=0,j=0;for(let he of Be)switch(he.type){case"indent":Q(),ie.useTabs?A(1):M(ie.tabWidth);break;case"stringAlign":Q(),B+=he.n,Z+=he.n.length;break;case"numberAlign":$+=1,j+=he.n;break;default:throw new Error(`Unexpected type '${he.type}'`)}return q(),Object.assign(Object.assign({},z),{},{value:B,length:Z,queue:Be});function A(he){B+=" ".repeat(he),Z+=ie.tabWidth*he}function M(he){B+=" ".repeat(he),Z+=he}function Q(){ie.useTabs?U():q()}function U(){$>0&&A($),K()}function q(){j>0&&M(j),K()}function K(){$=0,j=0}}function ne(z){if(z.length===0)return 0;let ue=0;for(;z.length>0&&typeof m(z)=="string"&&/^[\t ]*$/.test(m(z));)ue+=z.pop().length;if(z.length>0&&typeof m(z)=="string"){let ie=m(z).replace(/[\t ]*$/,"");ue+=m(z).length-ie.length,z[z.length-1]=ie}return ue}function L(z,ue,ie,Be,B){let Z=ue.length,$=[z],j=[];for(;ie>=0;){if($.length===0){if(Z===0)return!0;$.push(ue[--Z]);continue}let{mode:A,doc:M}=$.pop();if(typeof M=="string")j.push(M),ie-=y(M);else if(v(M)||M.type==="fill"){let Q=E(M);for(let U=Q.length-1;U>=0;U--)$.push({mode:A,doc:Q[U]})}else switch(M.type){case"indent":case"align":case"indent-if-break":case"label":$.push({mode:A,doc:M.contents});break;case"trim":ie+=ne(j);break;case"group":{if(B&&M.break)return!1;let Q=M.break?k:A,U=M.expandedStates&&Q===k?m(M.expandedStates):M.contents;$.push({mode:Q,doc:U});break}case"if-break":{let Q=(M.groupId?F[M.groupId]||N:A)===k?M.breakContents:M.flatContents;Q&&$.push({mode:A,doc:Q});break}case"line":if(A===k||M.hard)return!0;M.soft||(j.push(" "),ie--);break;case"line-suffix":Be=!0;break;case"line-suffix-boundary":if(Be)return!1;break}}return!1}function re(z,ue){F={};let ie=ue.printWidth,Be=f(ue.endOfLine),B=0,Z=[{ind:T(),mode:k,doc:z}],$=[],j=!1,A=[];for(;Z.length>0;){let{ind:Q,mode:U,doc:q}=Z.pop();if(typeof q=="string"){let K=Be!==`
`?q.replace(/\n/g,Be):q;$.push(K),B+=y(K)}else if(v(q)){let K=E(q);for(let he=K.length-1;he>=0;he--)Z.push({ind:Q,mode:U,doc:K[he]})}else switch(q.type){case"cursor":$.push(O.placeholder);break;case"indent":Z.push({ind:_(Q,ue),mode:U,doc:q.contents});break;case"align":Z.push({ind:R(Q,q.n,ue),mode:U,doc:q.contents});break;case"trim":B-=ne($);break;case"group":switch(U){case N:if(!j){Z.push({ind:Q,mode:q.break?k:N,doc:q.contents});break}case k:{j=!1;let K={ind:Q,mode:N,doc:q.contents},he=ie-B,Te=A.length>0;if(!q.break&&L(K,Z,he,Te))Z.push(K);else if(q.expandedStates){let _e=m(q.expandedStates);if(q.break){Z.push({ind:Q,mode:k,doc:_e});break}else for(let Pe=1;Pe<q.expandedStates.length+1;Pe++)if(Pe>=q.expandedStates.length){Z.push({ind:Q,mode:k,doc:_e});break}else{let ze=q.expandedStates[Pe],ye={ind:Q,mode:N,doc:ze};if(L(ye,Z,he,Te)){Z.push(ye);break}}}else Z.push({ind:Q,mode:k,doc:q.contents});break}}q.id&&(F[q.id]=m(Z).mode);break;case"fill":{let K=ie-B,{parts:he}=q;if(he.length===0)break;let[Te,_e]=he,Pe={ind:Q,mode:N,doc:Te},ze={ind:Q,mode:k,doc:Te},ye=L(Pe,[],K,A.length>0,!0);if(he.length===1){ye?Z.push(Pe):Z.push(ze);break}let ct={ind:Q,mode:N,doc:_e},Fe={ind:Q,mode:k,doc:_e};if(he.length===2){ye?Z.push(ct,Pe):Z.push(Fe,ze);break}he.splice(0,2);let Se={ind:Q,mode:U,doc:D(he)},lt=he[0];L({ind:Q,mode:N,doc:[Te,_e,lt]},[],K,A.length>0,!0)?Z.push(Se,ct,Pe):ye?Z.push(Se,Fe,Pe):Z.push(Se,Fe,ze);break}case"if-break":case"indent-if-break":{let K=q.groupId?F[q.groupId]:U;if(K===k){let he=q.type==="if-break"?q.breakContents:q.negate?q.contents:x(q.contents);he&&Z.push({ind:Q,mode:U,doc:he})}if(K===N){let he=q.type==="if-break"?q.flatContents:q.negate?x(q.contents):q.contents;he&&Z.push({ind:Q,mode:U,doc:he})}break}case"line-suffix":A.push({ind:Q,mode:U,doc:q.contents});break;case"line-suffix-boundary":A.length>0&&Z.push({ind:Q,mode:U,doc:{type:"line",hard:!0}});break;case"line":switch(U){case N:if(q.hard)j=!0;else{q.soft||($.push(" "),B+=1);break}case k:if(A.length>0){Z.push({ind:Q,mode:U,doc:q},...A.reverse()),A.length=0;break}q.literal?Q.root?($.push(Be,Q.root.value),B=Q.root.length):($.push(Be),B=0):(B-=ne($),$.push(Be+Q.value),B=Q.length);break}break;case"label":Z.push({ind:Q,mode:U,doc:q.contents});break}Z.length===0&&A.length>0&&(Z.push(...A.reverse()),A.length=0)}let M=$.indexOf(O.placeholder);if(M!==-1){let Q=$.indexOf(O.placeholder,M+1),U=$.slice(0,M).join(""),q=$.slice(M+1,Q).join(""),K=$.slice(Q+1).join("");return{formatted:U+q+K,cursorNodeStart:U.length,cursorNodeText:q}}return{formatted:$.join("")}}h.exports={printDocToString:re}}}),lc=Oe({"src/document/doc-debug.js"(u,h){Ye();var{isConcat:f,getDocParts:m}=$a();function y(O){if(!O)return"";if(f(O)){let x=[];for(let v of m(O))if(f(v))x.push(...y(v).parts);else{let E=y(v);E!==""&&x.push(E)}return{type:"concat",parts:x}}return O.type==="if-break"?Object.assign(Object.assign({},O),{},{breakContents:y(O.breakContents),flatContents:y(O.flatContents)}):O.type==="group"?Object.assign(Object.assign({},O),{},{contents:y(O.contents),expandedStates:O.expandedStates&&O.expandedStates.map(y)}):O.type==="fill"?{type:"fill",parts:O.parts.map(y)}:O.contents?Object.assign(Object.assign({},O),{},{contents:y(O.contents)}):O}function D(O){let x=Object.create(null),v=new Set;return E(y(O));function E(k,N,T){if(typeof k=="string")return JSON.stringify(k);if(f(k)){let _=m(k).map(E).filter(Boolean);return _.length===1?_[0]:`[${_.join(", ")}]`}if(k.type==="line"){let _=Array.isArray(T)&&T[N+1]&&T[N+1].type==="break-parent";return k.literal?_?"literalline":"literallineWithoutBreakParent":k.hard?_?"hardline":"hardlineWithoutBreakParent":k.soft?"softline":"line"}if(k.type==="break-parent")return Array.isArray(T)&&T[N-1]&&T[N-1].type==="line"&&T[N-1].hard?void 0:"breakParent";if(k.type==="trim")return"trim";if(k.type==="indent")return"indent("+E(k.contents)+")";if(k.type==="align")return k.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+E(k.contents)+")":k.n<0?"dedent("+E(k.contents)+")":k.n.type==="root"?"markAsRoot("+E(k.contents)+")":"align("+JSON.stringify(k.n)+", "+E(k.contents)+")";if(k.type==="if-break")return"ifBreak("+E(k.breakContents)+(k.flatContents?", "+E(k.flatContents):"")+(k.groupId?(k.flatContents?"":', ""')+`, { groupId: ${F(k.groupId)} }`:"")+")";if(k.type==="indent-if-break"){let _=[];k.negate&&_.push("negate: true"),k.groupId&&_.push(`groupId: ${F(k.groupId)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return`indentIfBreak(${E(k.contents)}${R})`}if(k.type==="group"){let _=[];k.break&&k.break!=="propagated"&&_.push("shouldBreak: true"),k.id&&_.push(`id: ${F(k.id)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return k.expandedStates?`conditionalGroup([${k.expandedStates.map(W=>E(W)).join(",")}]${R})`:`group(${E(k.contents)}${R})`}if(k.type==="fill")return`fill([${k.parts.map(_=>E(_)).join(", ")}])`;if(k.type==="line-suffix")return"lineSuffix("+E(k.contents)+")";if(k.type==="line-suffix-boundary")return"lineSuffixBoundary";if(k.type==="label")return`label(${JSON.stringify(k.label)}, ${E(k.contents)})`;throw new Error("Unknown doc type "+k.type)}function F(k){if(typeof k!="symbol")return JSON.stringify(String(k));if(k in x)return x[k];let N=String(k).slice(7,-1)||"symbol";for(let T=0;;T++){let _=N+(T>0?` #${T}`:"");if(!v.has(_))return v.add(_),x[k]=`Symbol.for(${JSON.stringify(_)})`}}}h.exports={printDocToDebug:D}}}),Ln=Oe({"src/document/index.js"(u,h){Ye(),h.exports={builders:vs(),printer:uc(),utils:$a(),debug:lc()}}}),Pl={};pn(Pl,{default:()=>cc});function cc(u){if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var hc=Cr({"node_modules/escape-string-regexp/index.js"(){Ye()}}),kl=Oe({"node_modules/semver/internal/debug.js"(u,h){Ye();var f=typeof Gi=="object"&&Gi.env&&Gi.env.NODE_DEBUG&&/\bsemver\b/i.test(Gi.env.NODE_DEBUG)?function(){for(var m=arguments.length,y=new Array(m),D=0;D<m;D++)y[D]=arguments[D];return console.error("SEMVER",...y)}:()=>{};h.exports=f}}),Bu=Oe({"node_modules/semver/internal/constants.js"(u,h){Ye();var f="2.0.0",m=256,y=Number.MAX_SAFE_INTEGER||9007199254740991,D=16;h.exports={SEMVER_SPEC_VERSION:f,MAX_LENGTH:m,MAX_SAFE_INTEGER:y,MAX_SAFE_COMPONENT_LENGTH:D}}}),Fl=Oe({"node_modules/semver/internal/re.js"(u,h){Ye();var{MAX_SAFE_COMPONENT_LENGTH:f}=Bu(),m=kl();u=h.exports={};var y=u.re=[],D=u.src=[],O=u.t={},x=0,v=(E,F,k)=>{let N=x++;m(E,N,F),O[E]=N,D[N]=F,y[N]=new RegExp(F,k?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","[0-9]+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),v("MAINVERSION",`(${D[O.NUMERICIDENTIFIER]})\\.(${D[O.NUMERICIDENTIFIER]})\\.(${D[O.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${D[O.NUMERICIDENTIFIERLOOSE]})\\.(${D[O.NUMERICIDENTIFIERLOOSE]})\\.(${D[O.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${D[O.NUMERICIDENTIFIER]}|${D[O.NONNUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${D[O.NUMERICIDENTIFIERLOOSE]}|${D[O.NONNUMERICIDENTIFIER]})`),v("PRERELEASE",`(?:-(${D[O.PRERELEASEIDENTIFIER]}(?:\\.${D[O.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${D[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[O.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER","[0-9A-Za-z-]+"),v("BUILD",`(?:\\+(${D[O.BUILDIDENTIFIER]}(?:\\.${D[O.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${D[O.MAINVERSION]}${D[O.PRERELEASE]}?${D[O.BUILD]}?`),v("FULL",`^${D[O.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${D[O.MAINVERSIONLOOSE]}${D[O.PRERELEASELOOSE]}?${D[O.BUILD]}?`),v("LOOSE",`^${D[O.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${D[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${D[O.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${D[O.XRANGEIDENTIFIER]})(?:\\.(${D[O.XRANGEIDENTIFIER]})(?:\\.(${D[O.XRANGEIDENTIFIER]})(?:${D[O.PRERELEASE]})?${D[O.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${D[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[O.XRANGEIDENTIFIERLOOSE]})(?:${D[O.PRERELEASELOOSE]})?${D[O.BUILD]}?)?)?`),v("XRANGE",`^${D[O.GTLT]}\\s*${D[O.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${D[O.GTLT]}\\s*${D[O.XRANGEPLAINLOOSE]}$`),v("COERCE",`(^|[^\\d])(\\d{1,${f}})(?:\\.(\\d{1,${f}}))?(?:\\.(\\d{1,${f}}))?(?:$|[^\\d])`),v("COERCERTL",D[O.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${D[O.LONETILDE]}\\s+`,!0),u.tildeTrimReplace="$1~",v("TILDE",`^${D[O.LONETILDE]}${D[O.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${D[O.LONETILDE]}${D[O.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${D[O.LONECARET]}\\s+`,!0),u.caretTrimReplace="$1^",v("CARET",`^${D[O.LONECARET]}${D[O.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${D[O.LONECARET]}${D[O.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${D[O.GTLT]}\\s*(${D[O.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${D[O.GTLT]}\\s*(${D[O.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${D[O.GTLT]}\\s*(${D[O.LOOSEPLAIN]}|${D[O.XRANGEPLAIN]})`,!0),u.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${D[O.XRANGEPLAIN]})\\s+-\\s+(${D[O.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${D[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[O.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),uh=Oe({"node_modules/semver/internal/parse-options.js"(u,h){Ye();var f=["includePrerelease","loose","rtl"],m=y=>y?typeof y!="object"?{loose:!0}:f.filter(D=>y[D]).reduce((D,O)=>(D[O]=!0,D),{}):{};h.exports=m}}),pc=Oe({"node_modules/semver/internal/identifiers.js"(u,h){Ye();var f=/^[0-9]+$/,m=(D,O)=>{let x=f.test(D),v=f.test(O);return x&&v&&(D=+D,O=+O),D===O?0:x&&!v?-1:v&&!x?1:D<O?-1:1},y=(D,O)=>m(O,D);h.exports={compareIdentifiers:m,rcompareIdentifiers:y}}}),fc=Oe({"node_modules/semver/classes/semver.js"(u,h){Ye();var f=kl(),{MAX_LENGTH:m,MAX_SAFE_INTEGER:y}=Bu(),{re:D,t:O}=Fl(),x=uh(),{compareIdentifiers:v}=pc(),E=class{constructor(F,k){if(k=x(k),F instanceof E){if(F.loose===!!k.loose&&F.includePrerelease===!!k.includePrerelease)return F;F=F.version}else if(typeof F!="string")throw new TypeError(`Invalid Version: ${F}`);if(F.length>m)throw new TypeError(`version is longer than ${m} characters`);f("SemVer",F,k),this.options=k,this.loose=!!k.loose,this.includePrerelease=!!k.includePrerelease;let N=F.trim().match(k.loose?D[O.LOOSE]:D[O.FULL]);if(!N)throw new TypeError(`Invalid Version: ${F}`);if(this.raw=F,this.major=+N[1],this.minor=+N[2],this.patch=+N[3],this.major>y||this.major<0)throw new TypeError("Invalid major version");if(this.minor>y||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>y||this.patch<0)throw new TypeError("Invalid patch version");N[4]?this.prerelease=N[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){let _=+T;if(_>=0&&_<y)return _}return T}):this.prerelease=[],this.build=N[5]?N[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(F){if(f("SemVer.compare",this.version,this.options,F),!(F instanceof E)){if(typeof F=="string"&&F===this.version)return 0;F=new E(F,this.options)}return F.version===this.version?0:this.compareMain(F)||this.comparePre(F)}compareMain(F){return F instanceof E||(F=new E(F,this.options)),v(this.major,F.major)||v(this.minor,F.minor)||v(this.patch,F.patch)}comparePre(F){if(F instanceof E||(F=new E(F,this.options)),this.prerelease.length&&!F.prerelease.length)return-1;if(!this.prerelease.length&&F.prerelease.length)return 1;if(!this.prerelease.length&&!F.prerelease.length)return 0;let k=0;do{let N=this.prerelease[k],T=F.prerelease[k];if(f("prerelease compare",k,N,T),N===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(N===void 0)return-1;if(N!==T)return v(N,T)}while(++k)}compareBuild(F){F instanceof E||(F=new E(F,this.options));let k=0;do{let N=this.build[k],T=F.build[k];if(f("prerelease compare",k,N,T),N===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(N===void 0)return-1;if(N!==T)return v(N,T)}while(++k)}inc(F,k){switch(F){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",k);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",k);break;case"prepatch":this.prerelease.length=0,this.inc("patch",k),this.inc("pre",k);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",k),this.inc("pre",k);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let N=this.prerelease.length;for(;--N>=0;)typeof this.prerelease[N]=="number"&&(this.prerelease[N]++,N=-2);N===-1&&this.prerelease.push(0)}k&&(v(this.prerelease[0],k)===0?isNaN(this.prerelease[1])&&(this.prerelease=[k,0]):this.prerelease=[k,0]);break;default:throw new Error(`invalid increment argument: ${F}`)}return this.format(),this.raw=this.version,this}};h.exports=E}}),Oa=Oe({"node_modules/semver/functions/compare.js"(u,h){Ye();var f=fc(),m=(y,D,O)=>new f(y,O).compare(new f(D,O));h.exports=m}}),Nu=Oe({"node_modules/semver/functions/lt.js"(u,h){Ye();var f=Oa(),m=(y,D,O)=>f(y,D,O)<0;h.exports=m}}),xa=Oe({"node_modules/semver/functions/gte.js"(u,h){Ye();var f=Oa(),m=(y,D,O)=>f(y,D,O)>=0;h.exports=m}}),dc=Oe({"src/utils/arrayify.js"(u,h){Ye(),h.exports=(f,m)=>Object.entries(f).map(y=>{let[D,O]=y;return Object.assign({[m]:D},O)})}}),mc=Oe({"node_modules/outdent/lib/index.js"(u,h){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.outdent=void 0;function f(){for(var L=[],re=0;re<arguments.length;re++)L[re]=arguments[re]}function m(){return typeof WeakMap<"u"?new WeakMap:y()}function y(){return{add:f,delete:f,get:f,set:f,has:function(L){return!1}}}var D=Object.prototype.hasOwnProperty,O=function(L,re){return D.call(L,re)};function x(L,re){for(var z in re)O(re,z)&&(L[z]=re[z]);return L}var v=/^[ \t]*(?:\r\n|\r|\n)/,E=/(?:\r\n|\r|\n)[ \t]*$/,F=/^(?:[\r\n]|$)/,k=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,N=/^[ \t]*[\r\n][ \t\r\n]*$/;function T(L,re,z){var ue=0,ie=L[0].match(k);ie&&(ue=ie[1].length);var Be="(\\r\\n|\\r|\\n).{0,"+ue+"}",B=new RegExp(Be,"g");re&&(L=L.slice(1));var Z=z.newline,$=z.trimLeadingNewline,j=z.trimTrailingNewline,A=typeof Z=="string",M=L.length,Q=L.map(function(U,q){return U=U.replace(B,"$1"),q===0&&$&&(U=U.replace(v,"")),q===M-1&&j&&(U=U.replace(E,"")),A&&(U=U.replace(/\r\n|\n|\r/g,function(K){return Z})),U});return Q}function _(L,re){for(var z="",ue=0,ie=L.length;ue<ie;ue++)z+=L[ue],ue<ie-1&&(z+=re[ue]);return z}function R(L){return O(L,"raw")&&O(L,"length")}function W(L){var re=m(),z=m();function ue(Be){for(var B=[],Z=1;Z<arguments.length;Z++)B[Z-1]=arguments[Z];if(R(Be)){var $=Be,j=(B[0]===ue||B[0]===ne)&&N.test($[0])&&F.test($[1]),A=j?z:re,M=A.get($);if(M||(M=T($,j,L),A.set($,M)),B.length===0)return M[0];var Q=_(M,j?B.slice(1):B);return Q}else return W(x(x({},L),Be||{}))}var ie=x(ue,{string:function(Be){return T([Be],!1,L)[0]}});return ie}var ne=W({trimLeadingNewline:!0,trimTrailingNewline:!0});if(u.outdent=ne,u.default=ne,typeof h<"u")try{h.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),lh=Oe({"src/main/core-options.js"(u,h){Ye();var{outdent:f}=mc(),m="Config",y="Editor",D="Format",O="Other",x="Output",v="Global",E="Special",F={cursorOffset:{since:"1.4.0",category:E,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:f`
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:y},endOfLine:{since:"1.15.0",category:v,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:f`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:E,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:O,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:E,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:O},parser:{since:"0.0.10",category:v,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:k=>typeof k=="string"||typeof k=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:v,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin",cliCategory:m},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:v,description:f`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin-search-dir",cliCategory:m},printWidth:{since:"0.0.0",category:v,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:E,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:y},rangeStart:{since:"1.4.0",category:E,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:y},requirePragma:{since:"1.7.0",category:E,type:"boolean",default:!1,description:f`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:O},tabWidth:{type:"int",category:v,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:v,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:v,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};h.exports={CATEGORY_CONFIG:m,CATEGORY_EDITOR:y,CATEGORY_FORMAT:D,CATEGORY_OTHER:O,CATEGORY_OUTPUT:x,CATEGORY_GLOBAL:v,CATEGORY_SPECIAL:E,options:F}}}),Iu=Oe({"src/main/support.js"(u,h){Ye();var f={compare:Oa(),lt:Nu(),gte:xa()},m=dc(),y=Es().version,D=lh().options;function O(){let{plugins:v=[],showUnreleased:E=!1,showDeprecated:F=!1,showInternal:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=y.split("-",1)[0],T=v.flatMap(L=>L.languages||[]).filter(R),_=m(Object.assign({},...v.map(L=>{let{options:re}=L;return re}),D),"name").filter(L=>R(L)&&W(L)).sort((L,re)=>L.name===re.name?0:L.name<re.name?-1:1).map(ne).map(L=>{L=Object.assign({},L),Array.isArray(L.default)&&(L.default=L.default.length===1?L.default[0].value:L.default.filter(R).sort((z,ue)=>f.compare(ue.since,z.since))[0].value),Array.isArray(L.choices)&&(L.choices=L.choices.filter(z=>R(z)&&W(z)),L.name==="parser"&&x(L,T,v));let re=Object.fromEntries(v.filter(z=>z.defaultOptions&&z.defaultOptions[L.name]!==void 0).map(z=>[z.name,z.defaultOptions[L.name]]));return Object.assign(Object.assign({},L),{},{pluginDefaults:re})});return{languages:T,options:_};function R(L){return E||!("since"in L)||L.since&&f.gte(N,L.since)}function W(L){return F||!("deprecated"in L)||L.deprecated&&f.lt(N,L.deprecated)}function ne(L){return k?L:Le(L,ae)}}function x(v,E,F){let k=new Set(v.choices.map(N=>N.value));for(let N of E)if(N.parsers){for(let T of N.parsers)if(!k.has(T)){k.add(T);let _=F.find(W=>W.parsers&&W.parsers[T]),R=N.name;_&&_.name&&(R+=` (plugin: ${_.name})`),v.choices.push({value:T,description:R})}}}h.exports={getSupportInfo:O}}}),Mu=Oe({"src/utils/is-non-empty-array.js"(u,h){Ye();function f(m){return Array.isArray(m)&&m.length>0}h.exports=f}}),mo=Oe({"src/utils/text/skip.js"(u,h){Ye();function f(x){return(v,E,F)=>{let k=F&&F.backwards;if(E===!1)return!1;let{length:N}=v,T=E;for(;T>=0&&T<N;){let _=v.charAt(T);if(x instanceof RegExp){if(!x.test(_))return T}else if(!x.includes(_))return T;k?T--:T++}return T===-1||T===N?T:!1}}var m=f(/\s/),y=f(" "),D=f(",; "),O=f(/[^\n\r]/);h.exports={skipWhitespace:m,skipSpaces:y,skipToLineEnd:D,skipEverythingButNewLine:O}}}),Ko=Oe({"src/utils/text/skip-inline-comment.js"(u,h){Ye();function f(m,y){if(y===!1)return!1;if(m.charAt(y)==="/"&&m.charAt(y+1)==="*"){for(let D=y+2;D<m.length;++D)if(m.charAt(D)==="*"&&m.charAt(D+1)==="/")return D+2}return y}h.exports=f}}),ea=Oe({"src/utils/text/skip-trailing-comment.js"(u,h){Ye();var{skipEverythingButNewLine:f}=mo();function m(y,D){return D===!1?!1:y.charAt(D)==="/"&&y.charAt(D+1)==="/"?f(y,D):D}h.exports=m}}),Qo=Oe({"src/utils/text/skip-newline.js"(u,h){Ye();function f(m,y,D){let O=D&&D.backwards;if(y===!1)return!1;let x=m.charAt(y);if(O){if(m.charAt(y-1)==="\r"&&x===`
`)return y-2;if(x===`
`||x==="\r"||x==="\u2028"||x==="\u2029")return y-1}else{if(x==="\r"&&m.charAt(y+1)===`
`)return y+2;if(x===`
`||x==="\r"||x==="\u2028"||x==="\u2029")return y+1}return y}h.exports=f}}),Fo=Oe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(u,h){Ye();var f=Ko(),m=Qo(),y=ea(),{skipSpaces:D}=mo();function O(x,v){let E=null,F=v;for(;F!==E;)E=F,F=D(x,F),F=f(x,F),F=y(x,F),F=m(x,F);return F}h.exports=O}}),fi=Oe({"src/common/util.js"(u,h){Ye();var{default:f}=(hc(),Oi(Pl)),m=Cs(),{getSupportInfo:y}=Iu(),D=Mu(),O=su(),{skipWhitespace:x,skipSpaces:v,skipToLineEnd:E,skipEverythingButNewLine:F}=mo(),k=Ko(),N=ea(),T=Qo(),_=Fo(),R=Fe=>Fe[Fe.length-2];function W(Fe){return(Se,lt,kt)=>{let ft=kt&&kt.backwards;if(lt===!1)return!1;let{length:jt}=Se,Ne=lt;for(;Ne>=0&&Ne<jt;){let Je=Se.charAt(Ne);if(Fe instanceof RegExp){if(!Fe.test(Je))return Ne}else if(!Fe.includes(Je))return Ne;ft?Ne--:Ne++}return Ne===-1||Ne===jt?Ne:!1}}function ne(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kt=v(Fe,lt.backwards?Se-1:Se,lt),ft=T(Fe,kt,lt);return kt!==ft}function L(Fe,Se,lt){for(let kt=Se;kt<lt;++kt)if(Fe.charAt(kt)===`
`)return!0;return!1}function re(Fe,Se,lt){let kt=lt(Se)-1;kt=v(Fe,kt,{backwards:!0}),kt=T(Fe,kt,{backwards:!0}),kt=v(Fe,kt,{backwards:!0});let ft=T(Fe,kt,{backwards:!0});return kt!==ft}function z(Fe,Se){let lt=null,kt=Se;for(;kt!==lt;)lt=kt,kt=E(Fe,kt),kt=k(Fe,kt),kt=v(Fe,kt);return kt=N(Fe,kt),kt=T(Fe,kt),kt!==!1&&ne(Fe,kt)}function ue(Fe,Se,lt){return z(Fe,lt(Se))}function ie(Fe,Se,lt){return _(Fe,lt(Se))}function Be(Fe,Se,lt){return Fe.charAt(ie(Fe,Se,lt))}function B(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v(Fe,lt.backwards?Se-1:Se,lt)!==Se}function Z(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,kt=0;for(let ft=lt;ft<Fe.length;++ft)Fe[ft]===" "?kt=kt+Se-kt%Se:kt++;return kt}function $(Fe,Se){let lt=Fe.lastIndexOf(`
`);return lt===-1?0:Z(Fe.slice(lt+1).match(/^[\t ]*/)[0],Se)}function j(Fe,Se){let lt={quote:'"',regex:/"/g,escaped:"&quot;"},kt={quote:"'",regex:/'/g,escaped:"&apos;"},ft=Se==="'"?kt:lt,jt=ft===kt?lt:kt,Ne=ft;if(Fe.includes(ft.quote)||Fe.includes(jt.quote)){let Je=(Fe.match(ft.regex)||[]).length,It=(Fe.match(jt.regex)||[]).length;Ne=Je>It?jt:ft}return Ne}function A(Fe,Se){let lt=Fe.slice(1,-1),kt=Se.parser==="json"||Se.parser==="json5"&&Se.quoteProps==="preserve"&&!Se.singleQuote?'"':Se.__isInHtmlAttribute?"'":j(lt,Se.singleQuote?"'":'"').quote;return M(lt,kt,!(Se.parser==="css"||Se.parser==="less"||Se.parser==="scss"||Se.__embeddedInHtml))}function M(Fe,Se,lt){let kt=Se==='"'?"'":'"',ft=/\\(.)|(["'])/gs,jt=Fe.replace(ft,(Ne,Je,It)=>Je===kt?Je:It===Se?"\\"+It:It||(lt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Je)?Je:"\\"+Je));return Se+jt+Se}function Q(Fe){return Fe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function U(Fe,Se){let lt=Fe.match(new RegExp(`(${f(Se)})+`,"g"));return lt===null?0:lt.reduce((kt,ft)=>Math.max(kt,ft.length/Se.length),0)}function q(Fe,Se){let lt=Fe.match(new RegExp(`(${f(Se)})+`,"g"));if(lt===null)return 0;let kt=new Map,ft=0;for(let jt of lt){let Ne=jt.length/Se.length;kt.set(Ne,!0),Ne>ft&&(ft=Ne)}for(let jt=1;jt<ft;jt++)if(!kt.get(jt))return jt;return ft+1}function K(Fe,Se){(Fe.comments||(Fe.comments=[])).push(Se),Se.printed=!1,Se.nodeDescription=ct(Fe)}function he(Fe,Se){Se.leading=!0,Se.trailing=!1,K(Fe,Se)}function Te(Fe,Se,lt){Se.leading=!1,Se.trailing=!1,lt&&(Se.marker=lt),K(Fe,Se)}function _e(Fe,Se){Se.leading=!1,Se.trailing=!0,K(Fe,Se)}function Pe(Fe,Se){let{languages:lt}=y({plugins:Se.plugins}),kt=lt.find(ft=>{let{name:jt}=ft;return jt.toLowerCase()===Fe})||lt.find(ft=>{let{aliases:jt}=ft;return Array.isArray(jt)&&jt.includes(Fe)})||lt.find(ft=>{let{extensions:jt}=ft;return Array.isArray(jt)&&jt.includes(`.${Fe}`)});return kt&&kt.parsers[0]}function ze(Fe){return Fe&&Fe.type==="front-matter"}function ye(Fe){let Se=new WeakMap;return function(lt){return Se.has(lt)||Se.set(lt,Symbol(Fe)),Se.get(lt)}}function ct(Fe){let Se=Fe.type||Fe.kind||"(unknown type)",lt=String(Fe.name||Fe.id&&(typeof Fe.id=="object"?Fe.id.name:Fe.id)||Fe.key&&(typeof Fe.key=="object"?Fe.key.name:Fe.key)||Fe.value&&(typeof Fe.value=="object"?"":String(Fe.value))||Fe.operator||"");return lt.length>20&&(lt=lt.slice(0,19)+"…"),Se+(lt?" "+lt:"")}h.exports={inferParserByLanguage:Pe,getStringWidth:O,getMaxContinuousCount:U,getMinNotPresentContinuousCount:q,getPenultimate:R,getLast:m,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:ie,getNextNonSpaceNonCommentCharacter:Be,skip:W,skipWhitespace:x,skipSpaces:v,skipToLineEnd:E,skipEverythingButNewLine:F,skipInlineComment:k,skipTrailingComment:N,skipNewline:T,isNextLineEmptyAfterIndex:z,isNextLineEmpty:ue,isPreviousLineEmpty:re,hasNewline:ne,hasNewlineInRange:L,hasSpaces:B,getAlignmentSize:Z,getIndentSize:$,getPreferredQuote:j,printString:A,printNumber:Q,makeString:M,addLeadingComment:he,addDanglingComment:Te,addTrailingComment:_e,isFrontMatterNode:ze,isNonEmptyArray:D,createGroupIdMapper:ye}}}),Ba={};pn(Ba,{basename:()=>Lu,default:()=>Nr,delimiter:()=>mr,dirname:()=>au,extname:()=>$l,isAbsolute:()=>Na,join:()=>Qu,normalize:()=>Ru,relative:()=>ju,resolve:()=>ou,sep:()=>Ar});function _l(u,h){for(var f=0,m=u.length-1;m>=0;m--){var y=u[m];y==="."?u.splice(m,1):y===".."?(u.splice(m,1),f++):f&&(u.splice(m,1),f--)}if(h)for(;f--;f)u.unshift("..");return u}function ou(){for(var u="",h=!1,f=arguments.length-1;f>=-1&&!h;f--){var m=f>=0?arguments[f]:"/";if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");m&&(u=m+"/"+u,h=m.charAt(0)==="/")}return u=_l(bn(u.split("/"),function(y){return!!y}),!h).join("/"),(h?"/":"")+u||"."}function Ru(u){var h=Na(u),f=rr(u,-1)==="/";return u=_l(bn(u.split("/"),function(m){return!!m}),!h).join("/"),!u&&!h&&(u="."),u&&f&&(u+="/"),(h?"/":"")+u}function Na(u){return u.charAt(0)==="/"}function Qu(){var u=Array.prototype.slice.call(arguments,0);return Ru(bn(u,function(h,f){if(typeof h!="string")throw new TypeError("Arguments to path.join must be strings");return h}).join("/"))}function ju(u,h){u=ou(u).substr(1),h=ou(h).substr(1);function f(E){for(var F=0;F<E.length&&E[F]==="";F++);for(var k=E.length-1;k>=0&&E[k]==="";k--);return F>k?[]:E.slice(F,k-F+1)}for(var m=f(u.split("/")),y=f(h.split("/")),D=Math.min(m.length,y.length),O=D,x=0;x<D;x++)if(m[x]!==y[x]){O=x;break}for(var v=[],x=O;x<m.length;x++)v.push("..");return v=v.concat(y.slice(O)),v.join("/")}function au(u){var h=Vr(u),f=h[0],m=h[1];return!f&&!m?".":(m&&(m=m.substr(0,m.length-1)),f+m)}function Lu(u,h){var f=Vr(u)[2];return h&&f.substr(-1*h.length)===h&&(f=f.substr(0,f.length-h.length)),f}function $l(u){return Vr(u)[3]}function bn(u,h){if(u.filter)return u.filter(h);for(var f=[],m=0;m<u.length;m++)h(u[m],m,u)&&f.push(u[m]);return f}var Ur,Vr,Ar,mr,Nr,rr,vn=Cr({"node-modules-polyfills:path"(){Ye(),Ur=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vr=function(u){return Ur.exec(u).slice(1)},Ar="/",mr=":",Nr={extname:$l,basename:Lu,dirname:au,sep:Ar,delimiter:mr,relative:ju,join:Qu,isAbsolute:Na,normalize:Ru,resolve:ou},rr="ab".substr(-1)==="b"?function(u,h,f){return u.substr(h,f)}:function(u,h,f){return h<0&&(h=u.length+h),u.substr(h,f)}}}),li=Oe({"node-modules-polyfills-commonjs:path"(u,h){Ye();var f=(vn(),Oi(Ba));if(f&&f.default){h.exports=f.default;for(let m in f)h.exports[m]=f[m]}else f&&(h.exports=f)}}),vi=Oe({"src/common/errors.js"(u,h){Ye();var f=class extends Error{},m=class extends Error{},y=class extends Error{},D=class extends Error{};h.exports={ConfigError:f,DebugError:m,UndefinedParserError:y,ArgExpansionBailout:D}}}),gi={};pn(gi,{__assign:()=>Vt,__asyncDelegator:()=>Pt,__asyncGenerator:()=>at,__asyncValues:()=>qe,__await:()=>ot,__awaiter:()=>Xn,__classPrivateFieldGet:()=>tn,__classPrivateFieldSet:()=>it,__createBinding:()=>Os,__decorate:()=>Qr,__exportStar:()=>Bi,__extends:()=>Fn,__generator:()=>ki,__importDefault:()=>Gt,__importStar:()=>Lt,__makeTemplateObject:()=>ut,__metadata:()=>ks,__param:()=>$i,__read:()=>Ks,__rest:()=>Ti,__spread:()=>te,__spreadArrays:()=>Re,__values:()=>Ji});function Fn(u,h){wt(u,h);function f(){this.constructor=u}u.prototype=h===null?Object.create(h):(f.prototype=h.prototype,new f)}function Ti(u,h){var f={};for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&h.indexOf(m)<0&&(f[m]=u[m]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,m=Object.getOwnPropertySymbols(u);y<m.length;y++)h.indexOf(m[y])<0&&Object.prototype.propertyIsEnumerable.call(u,m[y])&&(f[m[y]]=u[m[y]]);return f}function Qr(u,h,f,m){var y=arguments.length,D=y<3?h:m===null?m=Object.getOwnPropertyDescriptor(h,f):m,O;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(u,h,f,m);else for(var x=u.length-1;x>=0;x--)(O=u[x])&&(D=(y<3?O(D):y>3?O(h,f,D):O(h,f))||D);return y>3&&D&&Object.defineProperty(h,f,D),D}function $i(u,h){return function(f,m){h(f,m,u)}}function ks(u,h){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(u,h)}function Xn(u,h,f,m){function y(D){return D instanceof f?D:new f(function(O){O(D)})}return new(f||(f=Promise))(function(D,O){function x(F){try{E(m.next(F))}catch(k){O(k)}}function v(F){try{E(m.throw(F))}catch(k){O(k)}}function E(F){F.done?D(F.value):y(F.value).then(x,v)}E((m=m.apply(u,h||[])).next())})}function ki(u,h){var f={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},m,y,D,O;return O={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(O[Symbol.iterator]=function(){return this}),O;function x(E){return function(F){return v([E,F])}}function v(E){if(m)throw new TypeError("Generator is already executing.");for(;f;)try{if(m=1,y&&(D=E[0]&2?y.return:E[0]?y.throw||((D=y.return)&&D.call(y),0):y.next)&&!(D=D.call(y,E[1])).done)return D;switch(y=0,D&&(E=[E[0]&2,D.value]),E[0]){case 0:case 1:D=E;break;case 4:return f.label++,{value:E[1],done:!1};case 5:f.label++,y=E[1],E=[0];continue;case 7:E=f.ops.pop(),f.trys.pop();continue;default:if(D=f.trys,!(D=D.length>0&&D[D.length-1])&&(E[0]===6||E[0]===2)){f=0;continue}if(E[0]===3&&(!D||E[1]>D[0]&&E[1]<D[3])){f.label=E[1];break}if(E[0]===6&&f.label<D[1]){f.label=D[1],D=E;break}if(D&&f.label<D[2]){f.label=D[2],f.ops.push(E);break}D[2]&&f.ops.pop(),f.trys.pop();continue}E=h.call(u,f)}catch(F){E=[6,F],y=0}finally{m=D=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}}function Os(u,h,f,m){m===void 0&&(m=f),u[m]=h[f]}function Bi(u,h){for(var f in u)f!=="default"&&!h.hasOwnProperty(f)&&(h[f]=u[f])}function Ji(u){var h=typeof Symbol=="function"&&Symbol.iterator,f=h&&u[h],m=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&m>=u.length&&(u=void 0),{value:u&&u[m++],done:!u}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ks(u,h){var f=typeof Symbol=="function"&&u[Symbol.iterator];if(!f)return u;var m=f.call(u),y,D=[],O;try{for(;(h===void 0||h-- >0)&&!(y=m.next()).done;)D.push(y.value)}catch(x){O={error:x}}finally{try{y&&!y.done&&(f=m.return)&&f.call(m)}finally{if(O)throw O.error}}return D}function te(){for(var u=[],h=0;h<arguments.length;h++)u=u.concat(Ks(arguments[h]));return u}function Re(){for(var u=0,h=0,f=arguments.length;h<f;h++)u+=arguments[h].length;for(var m=Array(u),y=0,h=0;h<f;h++)for(var D=arguments[h],O=0,x=D.length;O<x;O++,y++)m[y]=D[O];return m}function ot(u){return this instanceof ot?(this.v=u,this):new ot(u)}function at(u,h,f){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=f.apply(u,h||[]),y,D=[];return y={},O("next"),O("throw"),O("return"),y[Symbol.asyncIterator]=function(){return this},y;function O(N){m[N]&&(y[N]=function(T){return new Promise(function(_,R){D.push([N,T,_,R])>1||x(N,T)})})}function x(N,T){try{v(m[N](T))}catch(_){k(D[0][3],_)}}function v(N){N.value instanceof ot?Promise.resolve(N.value.v).then(E,F):k(D[0][2],N)}function E(N){x("next",N)}function F(N){x("throw",N)}function k(N,T){N(T),D.shift(),D.length&&x(D[0][0],D[0][1])}}function Pt(u){var h,f;return h={},m("next"),m("throw",function(y){throw y}),m("return"),h[Symbol.iterator]=function(){return this},h;function m(y,D){h[y]=u[y]?function(O){return(f=!f)?{value:ot(u[y](O)),done:y==="return"}:D?D(O):O}:D}}function qe(u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h=u[Symbol.asyncIterator],f;return h?h.call(u):(u=typeof Ji=="function"?Ji(u):u[Symbol.iterator](),f={},m("next"),m("throw"),m("return"),f[Symbol.asyncIterator]=function(){return this},f);function m(D){f[D]=u[D]&&function(O){return new Promise(function(x,v){O=u[D](O),y(x,v,O.done,O.value)})}}function y(D,O,x,v){Promise.resolve(v).then(function(E){D({value:E,done:x})},O)}}function ut(u,h){return Object.defineProperty?Object.defineProperty(u,"raw",{value:h}):u.raw=h,u}function Lt(u){if(u&&u.__esModule)return u;var h={};if(u!=null)for(var f in u)Object.hasOwnProperty.call(u,f)&&(h[f]=u[f]);return h.default=u,h}function Gt(u){return u&&u.__esModule?u:{default:u}}function tn(u,h){if(!h.has(u))throw new TypeError("attempted to get private field on non-instance");return h.get(u)}function it(u,h,f){if(!h.has(u))throw new TypeError("attempted to set private field on non-instance");return h.set(u,f),f}var wt,Vt,ar=Cr({"node_modules/tslib/tslib.es6.js"(){Ye(),wt=function(u,h){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,m){f.__proto__=m}||function(f,m){for(var y in m)m.hasOwnProperty(y)&&(f[y]=m[y])},wt(u,h)},Vt=function(){return Vt=Object.assign||function(u){for(var h,f=1,m=arguments.length;f<m;f++){h=arguments[f];for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(u[y]=h[y])}return u},Vt.apply(this,arguments)}}}),tr=Oe({"node_modules/vnopts/lib/descriptors/api.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.apiDescriptor={key:h=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(h)?h:JSON.stringify(h),value(h){if(h===null||typeof h!="object")return JSON.stringify(h);if(Array.isArray(h))return`[${h.map(m=>u.apiDescriptor.value(m)).join(", ")}]`;let f=Object.keys(h);return f.length===0?"{}":`{ ${f.map(m=>`${u.apiDescriptor.key(m)}: ${u.apiDescriptor.value(h[m])}`).join(", ")} }`},pair:h=>{let{key:f,value:m}=h;return u.apiDescriptor.value({[f]:m})}}}}),fr=Oe({"node_modules/vnopts/lib/descriptors/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(tr(),u)}}),rn=Oe({"scripts/build/shims/chalk.cjs"(u,h){Ye();var f=m=>m;f.grey=f,f.red=f,f.bold=f,f.yellow=f,f.blue=f,f.default=f,h.exports=f}}),Mn=Oe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn();u.commonDeprecatedHandler=(f,m,y)=>{let{descriptor:D}=y,O=[`${h.default.yellow(typeof f=="string"?D.key(f):D.pair(f))} is deprecated`];return m&&O.push(`we now treat it as ${h.default.blue(typeof m=="string"?D.key(m):D.pair(m))}`),O.join("; ")+"."}}}),jr=Oe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Mn(),u)}}),Nn=Oe({"node_modules/vnopts/lib/handlers/invalid/common.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn();u.commonInvalidHandler=(f,m,y)=>[`Invalid ${h.default.red(y.descriptor.key(f))} value.`,`Expected ${h.default.blue(y.schemas[f].expected(y))},`,`but received ${h.default.red(y.descriptor.value(m))}.`].join(" ")}}),ri=Oe({"node_modules/vnopts/lib/handlers/invalid/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Nn(),u)}}),ns=Oe({"node_modules/vnopts/node_modules/leven/index.js"(u,h){Ye();var f=[],m=[];h.exports=function(y,D){if(y===D)return 0;var O=y;y.length>D.length&&(y=D,D=O);var x=y.length,v=D.length;if(x===0)return v;if(v===0)return x;for(;x>0&&y.charCodeAt(~-x)===D.charCodeAt(~-v);)x--,v--;if(x===0)return v;for(var E=0;E<x&&y.charCodeAt(E)===D.charCodeAt(E);)E++;if(x-=E,v-=E,x===0)return v;for(var F,k,N,T,_=0,R=0;_<x;)m[E+_]=y.charCodeAt(E+_),f[_]=++_;for(;R<v;)for(F=D.charCodeAt(E+R),N=R++,k=R,_=0;_<x;_++)T=F===m[E+_]?N:N+1,N=f[_],k=f[_]=N>k?T>k?k+1:T:T>N?N+1:T;return k}}}),Er=Oe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn(),f=ns();u.levenUnknownHandler=(m,y,D)=>{let{descriptor:O,logger:x,schemas:v}=D,E=[`Ignored unknown option ${h.default.yellow(O.pair({key:m,value:y}))}.`],F=Object.keys(v).sort().find(k=>f(m,k)<3);F&&E.push(`Did you mean ${h.default.blue(O.key(F))}?`),x.warn(E.join(" "))}}}),Zn=Oe({"node_modules/vnopts/lib/handlers/unknown/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Er(),u)}}),Jn=Oe({"node_modules/vnopts/lib/handlers/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(jr(),u),h.__exportStar(ri(),u),h.__exportStar(Zn(),u)}}),xi=Oe({"node_modules/vnopts/lib/schema.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function f(D,O){let x=new D(O),v=Object.create(x);for(let E of h)E in O&&(v[E]=y(O[E],x,m.prototype[E].length));return v}u.createSchema=f;var m=class{constructor(D){this.name=D.name}static create(D){return f(this,D)}default(D){}expected(D){return"nothing"}validate(D,O){return!1}deprecated(D,O){return!1}forward(D,O){}redirect(D,O){}overlap(D,O,x){return D}preprocess(D,O){return D}postprocess(D,O){return D}};u.Schema=m;function y(D,O,x){return typeof D=="function"?function(){for(var v=arguments.length,E=new Array(v),F=0;F<v;F++)E[F]=arguments[F];return D(...E.slice(0,x-1),O,...E.slice(x-1))}:()=>D}}}),Ei=Oe({"node_modules/vnopts/lib/schemas/alias.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{constructor(m){super(m),this._sourceName=m.sourceName}expected(m){return m.schemas[this._sourceName].expected(m)}validate(m,y){return y.schemas[this._sourceName].validate(m,y)}redirect(m,y){return this._sourceName}};u.AliasSchema=f}}),Me=Oe({"node_modules/vnopts/lib/schemas/any.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"anything"}validate(){return!0}};u.AnySchema=f}}),st=Oe({"node_modules/vnopts/lib/schemas/array.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi)),f=xi(),m=class extends f.Schema{constructor(D){var{valueSchema:O,name:x=O.name}=D,v=h.__rest(D,["valueSchema","name"]);super(Object.assign({},v,{name:x})),this._valueSchema=O}expected(D){return`an array of ${this._valueSchema.expected(D)}`}validate(D,O){if(!Array.isArray(D))return!1;let x=[];for(let v of D){let E=O.normalizeValidateResult(this._valueSchema.validate(v,O),v);E!==!0&&x.push(E.value)}return x.length===0?!0:{value:x}}deprecated(D,O){let x=[];for(let v of D){let E=O.normalizeDeprecatedResult(this._valueSchema.deprecated(v,O),v);E!==!1&&x.push(...E.map(F=>{let{value:k}=F;return{value:[k]}}))}return x}forward(D,O){let x=[];for(let v of D){let E=O.normalizeForwardResult(this._valueSchema.forward(v,O),v);x.push(...E.map(y))}return x}redirect(D,O){let x=[],v=[];for(let E of D){let F=O.normalizeRedirectResult(this._valueSchema.redirect(E,O),E);"remain"in F&&x.push(F.remain),v.push(...F.redirect.map(y))}return x.length===0?{redirect:v}:{redirect:v,remain:x}}overlap(D,O){return D.concat(O)}};u.ArraySchema=m;function y(D){let{from:O,to:x}=D;return{from:[O],to:x}}}}),sr=Oe({"node_modules/vnopts/lib/schemas/boolean.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"true or false"}validate(m){return typeof m=="boolean"}};u.BooleanSchema=f}}),Xt=Oe({"node_modules/vnopts/lib/utils.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});function h(T,_){let R=Object.create(null);for(let W of T){let ne=W[_];if(R[ne])throw new Error(`Duplicate ${_} ${JSON.stringify(ne)}`);R[ne]=W}return R}u.recordFromArray=h;function f(T,_){let R=new Map;for(let W of T){let ne=W[_];if(R.has(ne))throw new Error(`Duplicate ${_} ${JSON.stringify(ne)}`);R.set(ne,W)}return R}u.mapFromArray=f;function m(){let T=Object.create(null);return _=>{let R=JSON.stringify(_);return T[R]?!0:(T[R]=!0,!1)}}u.createAutoChecklist=m;function y(T,_){let R=[],W=[];for(let ne of T)_(ne)?R.push(ne):W.push(ne);return[R,W]}u.partition=y;function D(T){return T===Math.floor(T)}u.isInt=D;function O(T,_){if(T===_)return 0;let R=typeof T,W=typeof _,ne=["undefined","object","boolean","number","string"];return R!==W?ne.indexOf(R)-ne.indexOf(W):R!=="string"?Number(T)-Number(_):T.localeCompare(_)}u.comparePrimitive=O;function x(T){return T===void 0?{}:T}u.normalizeDefaultResult=x;function v(T,_){return T===!0?!0:T===!1?{value:_}:T}u.normalizeValidateResult=v;function E(T,_){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return T===!1?!1:T===!0?R?!0:[{value:_}]:"value"in T?[T]:T.length===0?!1:T}u.normalizeDeprecatedResult=E;function F(T,_){return typeof T=="string"||"key"in T?{from:_,to:T}:"from"in T?{from:T.from,to:T.to}:{from:_,to:T.to}}u.normalizeTransferResult=F;function k(T,_){return T===void 0?[]:Array.isArray(T)?T.map(R=>F(R,_)):[F(T,_)]}u.normalizeForwardResult=k;function N(T,_){let R=k(typeof T=="object"&&"redirect"in T?T.redirect:T,_);return R.length===0?{remain:_,redirect:R}:typeof T=="object"&&"remain"in T?{remain:T.remain,redirect:R}:{redirect:R}}u.normalizeRedirectResult=N}}),Ir=Oe({"node_modules/vnopts/lib/schemas/choice.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=Xt(),m=class extends h.Schema{constructor(y){super(y),this._choices=f.mapFromArray(y.choices.map(D=>D&&typeof D=="object"?D:{value:D}),"value")}expected(y){let{descriptor:D}=y,O=Array.from(this._choices.keys()).map(E=>this._choices.get(E)).filter(E=>!E.deprecated).map(E=>E.value).sort(f.comparePrimitive).map(D.value),x=O.slice(0,-2),v=O.slice(-2);return x.concat(v.join(" or ")).join(", ")}validate(y){return this._choices.has(y)}deprecated(y){let D=this._choices.get(y);return D&&D.deprecated?{value:y}:!1}forward(y){let D=this._choices.get(y);return D?D.forward:void 0}redirect(y){let D=this._choices.get(y);return D?D.redirect:void 0}};u.ChoiceSchema=m}}),Ci=Oe({"node_modules/vnopts/lib/schemas/number.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"a number"}validate(m,y){return typeof m=="number"}};u.NumberSchema=f}}),Ki=Oe({"node_modules/vnopts/lib/schemas/integer.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=Xt(),f=Ci(),m=class extends f.NumberSchema{expected(){return"an integer"}validate(y,D){return D.normalizeValidateResult(super.validate(y,D),y)===!0&&h.isInt(y)}};u.IntegerSchema=m}}),eo=Oe({"node_modules/vnopts/lib/schemas/string.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"a string"}validate(m){return typeof m=="string"}};u.StringSchema=f}}),Ns=Oe({"node_modules/vnopts/lib/schemas/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Ei(),u),h.__exportStar(Me(),u),h.__exportStar(st(),u),h.__exportStar(sr(),u),h.__exportStar(Ir(),u),h.__exportStar(Ki(),u),h.__exportStar(Ci(),u),h.__exportStar(eo(),u)}}),go=Oe({"node_modules/vnopts/lib/defaults.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=tr(),f=Mn(),m=ri(),y=Er();u.defaultDescriptor=h.apiDescriptor,u.defaultUnknownHandler=y.levenUnknownHandler,u.defaultInvalidHandler=m.commonInvalidHandler,u.defaultDeprecatedHandler=f.commonDeprecatedHandler}}),yo=Oe({"node_modules/vnopts/lib/normalize.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=go(),f=Xt();u.normalize=(y,D,O)=>new m(D,O).normalize(y);var m=class{constructor(y,D){let{logger:O=console,descriptor:x=h.defaultDescriptor,unknown:v=h.defaultUnknownHandler,invalid:E=h.defaultInvalidHandler,deprecated:F=h.defaultDeprecatedHandler}=D||{};this._utils={descriptor:x,logger:O||{warn:()=>{}},schemas:f.recordFromArray(y,"name"),normalizeDefaultResult:f.normalizeDefaultResult,normalizeDeprecatedResult:f.normalizeDeprecatedResult,normalizeForwardResult:f.normalizeForwardResult,normalizeRedirectResult:f.normalizeRedirectResult,normalizeValidateResult:f.normalizeValidateResult},this._unknownHandler=v,this._invalidHandler=E,this._deprecatedHandler=F,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=f.createAutoChecklist()}normalize(y){let D={},O=[y],x=()=>{for(;O.length!==0;){let v=O.shift(),E=this._applyNormalization(v,D);O.push(...E)}};x();for(let v of Object.keys(this._utils.schemas)){let E=this._utils.schemas[v];if(!(v in D)){let F=f.normalizeDefaultResult(E.default(this._utils));"value"in F&&O.push({[v]:F.value})}}x();for(let v of Object.keys(this._utils.schemas)){let E=this._utils.schemas[v];v in D&&(D[v]=E.postprocess(D[v],this._utils))}return D}_applyNormalization(y,D){let O=[],[x,v]=f.partition(Object.keys(y),E=>E in this._utils.schemas);for(let E of x){let F=this._utils.schemas[E],k=F.preprocess(y[E],this._utils),N=f.normalizeValidateResult(F.validate(k,this._utils),k);if(N!==!0){let{value:W}=N,ne=this._invalidHandler(E,W,this._utils);throw typeof ne=="string"?new Error(ne):ne}let T=W=>{let{from:ne,to:L}=W;O.push(typeof L=="string"?{[L]:ne}:{[L.key]:L.value})},_=W=>{let{value:ne,redirectTo:L}=W,re=f.normalizeDeprecatedResult(F.deprecated(ne,this._utils),k,!0);if(re!==!1)if(re===!0)this._hasDeprecationWarned(E)||this._utils.logger.warn(this._deprecatedHandler(E,L,this._utils));else for(let{value:z}of re){let ue={key:E,value:z};if(!this._hasDeprecationWarned(ue)){let ie=typeof L=="string"?{key:L,value:z}:L;this._utils.logger.warn(this._deprecatedHandler(ue,ie,this._utils))}}};f.normalizeForwardResult(F.forward(k,this._utils),k).forEach(T);let R=f.normalizeRedirectResult(F.redirect(k,this._utils),k);if(R.redirect.forEach(T),"remain"in R){let W=R.remain;D[E]=E in D?F.overlap(D[E],W,this._utils):W,_({value:W})}for(let{from:W,to:ne}of R.redirect)_({value:W,redirectTo:ne})}for(let E of v){let F=y[E],k=this._unknownHandler(E,F,this._utils);if(k)for(let N of Object.keys(k)){let T={[N]:k[N]};N in this._utils.schemas?O.push(T):Object.assign(D,T)}}return O}};u.Normalizer=m}}),_o=Oe({"node_modules/vnopts/lib/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(fr(),u),h.__exportStar(Jn(),u),h.__exportStar(Ns(),u),h.__exportStar(yo(),u),h.__exportStar(xi(),u)}}),$o=Oe({"src/main/options-normalizer.js"(u,h){Ye();var f=_o(),m=Cs(),y={key:N=>N.length===1?`-${N}`:`--${N}`,value:N=>f.apiDescriptor.value(N),pair:N=>{let{key:T,value:_}=N;return _===!1?`--no-${T}`:_===!0?y.key(T):_===""?`${y.key(T)} without an argument`:`${y.key(T)}=${_}`}},D=N=>{let{colorsModule:T,levenshteinDistance:_}=N;return class extends f.ChoiceSchema{constructor(R){let{name:W,flags:ne}=R;super({name:W,choices:ne}),this._flags=[...ne].sort()}preprocess(R,W){if(typeof R=="string"&&R.length>0&&!this._flags.includes(R)){let ne=this._flags.find(L=>_(L,R)<3);if(ne)return W.logger.warn([`Unknown flag ${T.yellow(W.descriptor.value(R))},`,`did you mean ${T.blue(W.descriptor.value(ne))}?`].join(" ")),ne}return R}expected(){return"a flag"}}},O;function x(N,T){let{logger:_=!1,isCLI:R=!1,passThrough:W=!1,colorsModule:ne=null,levenshteinDistance:L=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=W?Array.isArray(W)?(Z,$)=>W.includes(Z)?{[Z]:$}:void 0:(Z,$)=>({[Z]:$}):(Z,$,j)=>{let A=j.schemas,M=Le(A,Ee);return f.levenUnknownHandler(Z,$,Object.assign(Object.assign({},j),{},{schemas:M}))},z=R?y:f.apiDescriptor,ue=v(T,{isCLI:R,colorsModule:ne,levenshteinDistance:L}),ie=new f.Normalizer(ue,{logger:_,unknown:re,descriptor:z}),Be=_!==!1;Be&&O&&(ie._hasDeprecationWarned=O);let B=ie.normalize(N);return Be&&(O=ie._hasDeprecationWarned),R&&B["plugin-search"]===!1&&(B["plugin-search-dir"]=!1),B}function v(N,T){let{isCLI:_,colorsModule:R,levenshteinDistance:W}=T,ne=[];_&&ne.push(f.AnySchema.create({name:"_"}));for(let L of N)ne.push(E(L,{isCLI:_,optionInfos:N,colorsModule:R,levenshteinDistance:W})),L.alias&&_&&ne.push(f.AliasSchema.create({name:L.alias,sourceName:L.name}));return ne}function E(N,T){let{isCLI:_,optionInfos:R,colorsModule:W,levenshteinDistance:ne}=T,{name:L}=N;if(L==="plugin-search-dir"||L==="pluginSearchDirs")return f.AnySchema.create({name:L,preprocess(ie){return ie===!1||(ie=Array.isArray(ie)?ie:[ie]),ie},validate(ie){return ie===!1?!0:ie.every(Be=>typeof Be=="string")},expected(){return"false or paths to plugin search dir"}});let re={name:L},z,ue={};switch(N.type){case"int":z=f.IntegerSchema,_&&(re.preprocess=Number);break;case"string":z=f.StringSchema;break;case"choice":z=f.ChoiceSchema,re.choices=N.choices.map(ie=>typeof ie=="object"&&ie.redirect?Object.assign(Object.assign({},ie),{},{redirect:{to:{key:N.name,value:ie.redirect}}}):ie);break;case"boolean":z=f.BooleanSchema;break;case"flag":z=D({colorsModule:W,levenshteinDistance:ne}),re.flags=R.flatMap(ie=>[ie.alias,ie.description&&ie.name,ie.oppositeDescription&&`no-${ie.name}`].filter(Boolean));break;case"path":z=f.StringSchema;break;default:throw new Error(`Unexpected type ${N.type}`)}if(N.exception?re.validate=(ie,Be,B)=>N.exception(ie)||Be.validate(ie,B):re.validate=(ie,Be,B)=>ie===void 0||Be.validate(ie,B),N.redirect&&(ue.redirect=ie=>ie?{to:{key:N.redirect.option,value:N.redirect.value}}:void 0),N.deprecated&&(ue.deprecated=!0),_&&!N.array){let ie=re.preprocess||(Be=>Be);re.preprocess=(Be,B,Z)=>B.preprocess(ie(Array.isArray(Be)?m(Be):Be),Z)}return N.array?f.ArraySchema.create(Object.assign(Object.assign(Object.assign({},_?{preprocess:ie=>Array.isArray(ie)?ie:[ie]}:{}),ue),{},{valueSchema:z.create(re)})):z.create(Object.assign(Object.assign({},re),ue))}function F(N,T,_){return x(N,T,_)}function k(N,T,_){return x(N,T,Object.assign({isCLI:!0},_))}h.exports={normalizeApiOptions:F,normalizeCliOptions:k}}}),Wi=Oe({"src/language-js/loc.js"(u,h){Ye();var f=Mu();function m(v){var E,F;let k=v.range?v.range[0]:v.start,N=(E=(F=v.declaration)===null||F===void 0?void 0:F.decorators)!==null&&E!==void 0?E:v.decorators;return f(N)?Math.min(m(N[0]),k):k}function y(v){return v.range?v.range[1]:v.end}function D(v,E){let F=m(v);return Number.isInteger(F)&&F===m(E)}function O(v,E){let F=y(v);return Number.isInteger(F)&&F===y(E)}function x(v,E){return D(v,E)&&O(v,E)}h.exports={locStart:m,locEnd:y,hasSameLocStart:D,hasSameLoc:x}}}),Qe=Oe({"src/main/load-parser.js"(u,h){Ye(),h.exports=()=>{}}}),an=Oe({"scripts/build/shims/babel-highlight.cjs"(u,h){Ye();var f=rn(),m={shouldHighlight:()=>!1,getChalk:()=>f};h.exports=m}}),_n=Oe({"node_modules/@babel/code-frame/lib/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.codeFrameColumns=O,u.default=x;var h=an(),f=!1;function m(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}var y=/\r\n|[\n\r\u2028\u2029]/;function D(v,E,F){let k=Object.assign({column:0,line:-1},v.start),N=Object.assign({},k,v.end),{linesAbove:T=2,linesBelow:_=3}=F||{},R=k.line,W=k.column,ne=N.line,L=N.column,re=Math.max(R-(T+1),0),z=Math.min(E.length,ne+_);R===-1&&(re=0),ne===-1&&(z=E.length);let ue=ne-R,ie={};if(ue)for(let Be=0;Be<=ue;Be++){let B=Be+R;if(!W)ie[B]=!0;else if(Be===0){let Z=E[B-1].length;ie[B]=[W,Z-W+1]}else if(Be===ue)ie[B]=[0,L];else{let Z=E[B-Be].length;ie[B]=[0,Z]}}else W===L?W?ie[R]=[W,0]:ie[R]=!0:ie[R]=[W,L-W];return{start:re,end:z,markerLines:ie}}function O(v,E){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=(F.highlightCode||F.forceColor)&&(0,h.shouldHighlight)(F),N=(0,h.getChalk)(F),T=m(N),_=(ie,Be)=>k?ie(Be):Be,R=v.split(y),{start:W,end:ne,markerLines:L}=D(E,R,F),re=E.start&&typeof E.start.column=="number",z=String(ne).length,ue=(k?(0,h.default)(v,F):v).split(y,ne).slice(W,ne).map((ie,Be)=>{let B=W+1+Be,Z=` ${` ${B}`.slice(-z)} |`,$=L[B],j=!L[B+1];if($){let A="";if(Array.isArray($)){let M=ie.slice(0,Math.max($[0]-1,0)).replace(/[^\t]/g," "),Q=$[1]||1;A=[`
`,_(T.gutter,Z.replace(/\d/g," "))," ",M,_(T.marker,"^").repeat(Q)].join(""),j&&F.message&&(A+=" "+_(T.message,F.message))}return[_(T.marker,">"),_(T.gutter,Z),ie.length>0?` ${ie}`:"",A].join("")}else return` ${_(T.gutter,Z)}${ie.length>0?` ${ie}`:""}`}).join(`
`);return F.message&&!re&&(ue=`${" ".repeat(z+1)}${F.message}
${ue}`),k?N.reset(ue):ue}function x(v,E,F){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!f){f=!0;let N="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Gi.emitWarning)Gi.emitWarning(N,"DeprecationWarning");else{let T=new Error(N);T.name="DeprecationWarning",console.warn(new Error(N))}}return F=Math.max(F,0),O(v,{start:{column:F,line:E}},k)}}}),Cn=Oe({"src/main/parser.js"(u,h){Ye();var{ConfigError:f}=vi(),m=Wi();Qe();var{locStart:y,locEnd:D}=m,O=Object.getOwnPropertyNames,x=Object.getOwnPropertyDescriptor;function v(k){let N={};for(let T of k.plugins)if(T.parsers)for(let _ of O(T.parsers))Object.defineProperty(N,_,x(T.parsers,_));return N}function E(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v(k);if(typeof k.parser=="function")return{parse:k.parser,astFormat:"estree",locStart:y,locEnd:D};if(typeof k.parser=="string"){if(Object.prototype.hasOwnProperty.call(N,k.parser))return N[k.parser];throw new f(`Couldn't resolve parser "${k.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function F(k,N){let T=v(N),_=Object.defineProperties({},Object.fromEntries(Object.keys(T).map(W=>[W,{enumerable:!0,get(){return T[W].parse}}]))),R=E(N,T);try{return R.preprocess&&(k=R.preprocess(k,N)),{text:k,ast:R.parse(k,_,N)}}catch(W){let{loc:ne}=W;if(ne){let{codeFrameColumns:L}=_n();throw W.codeFrame=L(k,ne,{highlightCode:!0}),W.message+=`
`+W.codeFrame,W}throw W}}h.exports={parse:F,resolveParser:E}}}),yi=Oe({"src/main/options.js"(u,h){Ye();var f=li(),{UndefinedParserError:m}=vi(),{getSupportInfo:y}=Iu(),D=$o(),{resolveParser:O}=Cn(),x={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function v(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=Object.assign({},k),_=y({plugins:k.plugins,showUnreleased:!0,showDeprecated:!0}).options,R=Object.assign(Object.assign({},x),Object.fromEntries(_.filter(z=>z.default!==void 0).map(z=>[z.name,z.default])));if(!T.parser){if(!T.filepath)(N.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),T.parser="babel";else if(T.parser=F(T.filepath,T.plugins),!T.parser)throw new m(`No parser could be inferred for file: ${T.filepath}`)}let W=O(D.normalizeApiOptions(T,[_.find(z=>z.name==="parser")],{passThrough:!0,logger:!1}));T.astFormat=W.astFormat,T.locEnd=W.locEnd,T.locStart=W.locStart;let ne=E(T);T.printer=ne.printers[T.astFormat];let L=Object.fromEntries(_.filter(z=>z.pluginDefaults&&z.pluginDefaults[ne.name]!==void 0).map(z=>[z.name,z.pluginDefaults[ne.name]])),re=Object.assign(Object.assign({},R),L);for(let[z,ue]of Object.entries(re))(T[z]===null||T[z]===void 0)&&(T[z]=ue);return T.parser==="json"&&(T.trailingComma="none"),D.normalizeApiOptions(T,_,Object.assign({passThrough:Object.keys(x)},N))}function E(k){let{astFormat:N}=k;if(!N)throw new Error("getPlugin() requires astFormat to be set");let T=k.plugins.find(_=>_.printers&&_.printers[N]);if(!T)throw new Error(`Couldn't find plugin for AST format "${N}"`);return T}function F(k,N){let T=f.basename(k).toLowerCase(),_=y({plugins:N}).languages.filter(R=>R.since!==null).find(R=>R.extensions&&R.extensions.some(W=>T.endsWith(W))||R.filenames&&R.filenames.some(W=>W.toLowerCase()===T));return _&&_.parsers[0]}h.exports={normalize:v,hiddenDefaults:x,inferParser:F}}}),is=Oe({"src/main/massage-ast.js"(u,h){Ye();function f(m,y,D){if(Array.isArray(m))return m.map(E=>f(E,y,D)).filter(Boolean);if(!m||typeof m!="object")return m;let O=y.printer.massageAstNode,x;O&&O.ignoredProperties?x=O.ignoredProperties:x=new Set;let v={};for(let[E,F]of Object.entries(m))!x.has(E)&&typeof F!="function"&&(v[E]=f(F,y,m));if(O){let E=O(m,v,D);if(E===null)return;if(E)return E}return v}h.exports=f}}),ls=Oe({"scripts/build/shims/assert.cjs"(u,h){Ye();var f=()=>{};f.ok=f,f.strictEqual=f,h.exports=f}}),Zi=Oe({"src/main/comments.js"(u,h){Ye();var f=ls(),{builders:{line:m,hardline:y,breakParent:D,indent:O,lineSuffix:x,join:v,cursor:E}}=Ln(),{hasNewline:F,skipNewline:k,skipSpaces:N,isPreviousLineEmpty:T,addLeadingComment:_,addDanglingComment:R,addTrailingComment:W}=fi(),ne=new WeakMap;function L(he,Te,_e){if(!he)return;let{printer:Pe,locStart:ze,locEnd:ye}=Te;if(_e){if(Pe.canAttachComment&&Pe.canAttachComment(he)){let Fe;for(Fe=_e.length-1;Fe>=0&&!(ze(_e[Fe])<=ze(he)&&ye(_e[Fe])<=ye(he));--Fe);_e.splice(Fe+1,0,he);return}}else if(ne.has(he))return ne.get(he);let ct=Pe.getCommentChildNodes&&Pe.getCommentChildNodes(he,Te)||typeof he=="object"&&Object.entries(he).filter(Fe=>{let[Se]=Fe;return Se!=="enclosingNode"&&Se!=="precedingNode"&&Se!=="followingNode"&&Se!=="tokens"&&Se!=="comments"&&Se!=="parent"}).map(Fe=>{let[,Se]=Fe;return Se});if(ct){_e||(_e=[],ne.set(he,_e));for(let Fe of ct)L(Fe,Te,_e);return _e}}function re(he,Te,_e,Pe){let{locStart:ze,locEnd:ye}=_e,ct=ze(Te),Fe=ye(Te),Se=L(he,_e),lt,kt,ft=0,jt=Se.length;for(;ft<jt;){let Ne=ft+jt>>1,Je=Se[Ne],It=ze(Je),Mt=ye(Je);if(It<=ct&&Fe<=Mt)return re(Je,Te,_e,Je);if(Mt<=ct){lt=Je,ft=Ne+1;continue}if(Fe<=It){kt=Je,jt=Ne;continue}throw new Error("Comment location overlaps with node location")}if(Pe&&Pe.type==="TemplateLiteral"){let{quasis:Ne}=Pe,Je=j(Ne,Te,_e);lt&&j(Ne,lt,_e)!==Je&&(lt=null),kt&&j(Ne,kt,_e)!==Je&&(kt=null)}return{enclosingNode:Pe,precedingNode:lt,followingNode:kt}}var z=()=>!1;function ue(he,Te,_e,Pe){if(!Array.isArray(he))return;let ze=[],{locStart:ye,locEnd:ct,printer:{handleComments:Fe={}}}=Pe,{avoidAstMutation:Se,ownLine:lt=z,endOfLine:kt=z,remaining:ft=z}=Fe,jt=he.map((Ne,Je)=>Object.assign(Object.assign({},re(Te,Ne,Pe)),{},{comment:Ne,text:_e,options:Pe,ast:Te,isLastComment:he.length-1===Je}));for(let[Ne,Je]of jt.entries()){let{comment:It,precedingNode:Mt,enclosingNode:Rr,followingNode:rt,text:Ve,options:mt,ast:Et,isLastComment:zt}=Je;if(mt.parser==="json"||mt.parser==="json5"||mt.parser==="__js_expression"||mt.parser==="__vue_expression"||mt.parser==="__vue_ts_expression"){if(ye(It)-ye(Et)<=0){_(Et,It);continue}if(ct(It)-ct(Et)>=0){W(Et,It);continue}}let ur;if(Se?ur=[Je]:(It.enclosingNode=Rr,It.precedingNode=Mt,It.followingNode=rt,ur=[It,Ve,mt,Et,zt]),Be(Ve,mt,jt,Ne))It.placement="ownLine",lt(...ur)||(rt?_(rt,It):Mt?W(Mt,It):R(Rr||Et,It));else if(B(Ve,mt,jt,Ne))It.placement="endOfLine",kt(...ur)||(Mt?W(Mt,It):rt?_(rt,It):R(Rr||Et,It));else if(It.placement="remaining",!ft(...ur))if(Mt&&rt){let xr=ze.length;xr>0&&ze[xr-1].followingNode!==rt&&Z(ze,Ve,mt),ze.push(Je)}else Mt?W(Mt,It):rt?_(rt,It):R(Rr||Et,It)}if(Z(ze,_e,Pe),!Se)for(let Ne of he)delete Ne.precedingNode,delete Ne.enclosingNode,delete Ne.followingNode}var ie=he=>!/[\S\n\u2028\u2029]/.test(he);function Be(he,Te,_e,Pe){let{comment:ze,precedingNode:ye}=_e[Pe],{locStart:ct,locEnd:Fe}=Te,Se=ct(ze);if(ye)for(let lt=Pe-1;lt>=0;lt--){let{comment:kt,precedingNode:ft}=_e[lt];if(ft!==ye||!ie(he.slice(Fe(kt),Se)))break;Se=ct(kt)}return F(he,Se,{backwards:!0})}function B(he,Te,_e,Pe){let{comment:ze,followingNode:ye}=_e[Pe],{locStart:ct,locEnd:Fe}=Te,Se=Fe(ze);if(ye)for(let lt=Pe+1;lt<_e.length;lt++){let{comment:kt,followingNode:ft}=_e[lt];if(ft!==ye||!ie(he.slice(Se,ct(kt))))break;Se=Fe(kt)}return F(he,Se)}function Z(he,Te,_e){let Pe=he.length;if(Pe===0)return;let{precedingNode:ze,followingNode:ye,enclosingNode:ct}=he[0],Fe=_e.printer.getGapRegex&&_e.printer.getGapRegex(ct)||/^[\s(]*$/,Se=_e.locStart(ye),lt;for(lt=Pe;lt>0;--lt){let{comment:kt,precedingNode:ft,followingNode:jt}=he[lt-1];f.strictEqual(ft,ze),f.strictEqual(jt,ye);let Ne=Te.slice(_e.locEnd(kt),Se);if(Fe.test(Ne))Se=_e.locStart(kt);else break}for(let[kt,{comment:ft}]of he.entries())kt<lt?W(ze,ft):_(ye,ft);for(let kt of[ze,ye])kt.comments&&kt.comments.length>1&&kt.comments.sort((ft,jt)=>_e.locStart(ft)-_e.locStart(jt));he.length=0}function $(he,Te){let _e=he.getValue();return _e.printed=!0,Te.printer.printComment(he,Te)}function j(he,Te,_e){let Pe=_e.locStart(Te)-1;for(let ze=1;ze<he.length;++ze)if(Pe<_e.locStart(he[ze]))return ze-1;return 0}function A(he,Te){let _e=he.getValue(),Pe=[$(he,Te)],{printer:ze,originalText:ye,locStart:ct,locEnd:Fe}=Te;if(ze.isBlockComment&&ze.isBlockComment(_e)){let lt=F(ye,Fe(_e))?F(ye,ct(_e),{backwards:!0})?y:m:" ";Pe.push(lt)}else Pe.push(y);let Se=k(ye,N(ye,Fe(_e)));return Se!==!1&&F(ye,Se)&&Pe.push(y),Pe}function M(he,Te){let _e=he.getValue(),Pe=$(he,Te),{printer:ze,originalText:ye,locStart:ct}=Te,Fe=ze.isBlockComment&&ze.isBlockComment(_e);if(F(ye,ct(_e),{backwards:!0})){let lt=T(ye,_e,ct);return x([y,lt?y:"",Pe])}let Se=[" ",Pe];return Fe||(Se=[x(Se),D]),Se}function Q(he,Te,_e,Pe){let ze=[],ye=he.getValue();return!ye||!ye.comments||(he.each(()=>{let ct=he.getValue();!ct.leading&&!ct.trailing&&(!Pe||Pe(ct))&&ze.push($(he,Te))},"comments"),ze.length===0)?"":_e?v(y,ze):O([y,v(y,ze)])}function U(he,Te,_e){let Pe=he.getValue();if(!Pe)return{};let ze=Pe.comments||[];_e&&(ze=ze.filter(Se=>!_e.has(Se)));let ye=Pe===Te.cursorNode;if(ze.length===0){let Se=ye?E:"";return{leading:Se,trailing:Se}}let ct=[],Fe=[];return he.each(()=>{let Se=he.getValue();if(_e&&_e.has(Se))return;let{leading:lt,trailing:kt}=Se;lt?ct.push(A(he,Te)):kt&&Fe.push(M(he,Te))},"comments"),ye&&(ct.unshift(E),Fe.push(E)),{leading:ct,trailing:Fe}}function q(he,Te,_e,Pe){let{leading:ze,trailing:ye}=U(he,_e,Pe);return!ze&&!ye?Te:[ze,Te,ye]}function K(he){if(he)for(let Te of he){if(!Te.printed)throw new Error('Comment "'+Te.value.trim()+'" was not printed. Please report this error!');delete Te.printed}}h.exports={attach:ue,printComments:q,printCommentsSeparately:U,printDanglingComments:Q,getSortedChildNodes:L,ensureAllCommentsPrinted:K}}}),Eo=Oe({"src/common/ast-path.js"(u,h){Ye();var f=Cs();function m(O,x){let v=y(O.stack,x);return v===-1?null:O.stack[v]}function y(O,x){for(let v=O.length-1;v>=0;v-=2){let E=O[v];if(E&&!Array.isArray(E)&&--x<0)return v}return-1}var D=class{constructor(O){this.stack=[O]}getName(){let{stack:O}=this,{length:x}=O;return x>1?O[x-2]:null}getValue(){return f(this.stack)}getNode(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return m(this,O)}getParentNode(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return m(this,O+1)}call(O){let{stack:x}=this,{length:v}=x,E=f(x);for(var F=arguments.length,k=new Array(F>1?F-1:0),N=1;N<F;N++)k[N-1]=arguments[N];for(let _ of k)E=E[_],x.push(_,E);let T=O(this);return x.length=v,T}callParent(O){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=y(this.stack,x+1),E=this.stack.splice(v+1),F=O(this);return this.stack.push(...E),F}each(O){let{stack:x}=this,{length:v}=x,E=f(x);for(var F=arguments.length,k=new Array(F>1?F-1:0),N=1;N<F;N++)k[N-1]=arguments[N];for(let T of k)E=E[T],x.push(T,E);for(let T=0;T<E.length;++T)x.push(T,E[T]),O(this,T,E),x.length-=2;x.length=v}map(O){let x=[];for(var v=arguments.length,E=new Array(v>1?v-1:0),F=1;F<v;F++)E[F-1]=arguments[F];return this.each((k,N,T)=>{x[N]=O(k,N,T)},...E),x}try(O){let{stack:x}=this,v=[...x];try{return O()}finally{x.length=0,x.push(...v)}}match(){let O=this.stack.length-1,x=null,v=this.stack[O--];for(var E=arguments.length,F=new Array(E),k=0;k<E;k++)F[k]=arguments[k];for(let N of F){if(v===void 0)return!1;let T=null;if(typeof x=="number"&&(T=x,x=this.stack[O--],v=this.stack[O--]),N&&!N(v,x,T))return!1;x=this.stack[O--],v=this.stack[O--]}return!0}findAncestor(O){let x=this.stack.length-1,v=null,E=this.stack[x--];for(;E;){let F=null;if(typeof v=="number"&&(F=v,v=this.stack[x--],E=this.stack[x--]),v!==null&&O(E,v,F))return E;v=this.stack[x--],E=this.stack[x--]}}};h.exports=D}}),Za=Oe({"src/main/multiparser.js"(u,h){Ye();var{utils:{stripTrailingHardline:f}}=Ln(),{normalize:m}=yi(),y=Zi();function D(x,v,E,F){if(E.printer.embed&&E.embeddedLanguageFormatting==="auto")return E.printer.embed(x,v,(k,N,T)=>O(k,N,E,F,T),E)}function O(x,v,E,F){let{stripTrailingHardline:k=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},N=m(Object.assign(Object.assign(Object.assign({},E),v),{},{parentParser:E.parser,originalText:x}),{passThrough:!0}),T=Cn().parse(x,N),{ast:_}=T;x=T.text;let R=_.comments;delete _.comments,y.attach(R,_,x,N),N[Symbol.for("comments")]=R||[],N[Symbol.for("tokens")]=_.tokens||[];let W=F(_,N);return y.ensureAllCommentsPrinted(R),k?typeof W=="string"?W.replace(/(?:\r?\n)*$/,""):f(W):W}h.exports={printSubtree:D}}}),uu=Oe({"src/main/ast-to-doc.js"(u,h){Ye();var f=Eo(),{builders:{hardline:m,addAlignmentToDoc:y},utils:{propagateBreaks:D}}=Ln(),{printComments:O}=Zi(),x=Za();function v(k,N){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:_}=N;_.preprocess&&(k=_.preprocess(k,N));let R=new Map,W=new f(k),ne=L();return T>0&&(ne=y([m,ne],T,N.tabWidth)),D(ne),ne;function L(z,ue){return z===void 0||z===W?re(ue):Array.isArray(z)?W.call(()=>re(ue),...z):W.call(()=>re(ue),z)}function re(z){let ue=W.getValue(),ie=ue&&typeof ue=="object"&&z===void 0;if(ie&&R.has(ue))return R.get(ue);let Be=F(W,N,L,z);return ie&&R.set(ue,Be),Be}}function E(k,N){let{originalText:T,[Symbol.for("comments")]:_,locStart:R,locEnd:W}=N,ne=R(k),L=W(k),re=new Set;for(let z of _)R(z)>=ne&&W(z)<=L&&(z.printed=!0,re.add(z));return{doc:T.slice(ne,L),printedComments:re}}function F(k,N,T,_){let R=k.getValue(),{printer:W}=N,ne,L;if(W.hasPrettierIgnore&&W.hasPrettierIgnore(k))({doc:ne,printedComments:L}=E(R,N));else{if(R)try{ne=x.printSubtree(k,T,N,v)}catch(re){if(globalThis.PRETTIER_DEBUG)throw re}ne||(ne=W.print(k,N,T,_))}return(!W.willPrintOwnComments||!W.willPrintOwnComments(k,N))&&(ne=O(k,ne,N,L)),ne}h.exports=v}}),lu=Oe({"src/main/range-util.js"(u,h){Ye();var f=ls(),m=Zi(),y=_=>{let{parser:R}=_;return R==="json"||R==="json5"||R==="json-stringify"};function D(_,R){let W=[_.node,..._.parentNodes],ne=new Set([R.node,...R.parentNodes]);return W.find(L=>F.has(L.type)&&ne.has(L))}function O(_){let R=_.length-1;for(;;){let W=_[R];if(W&&(W.type==="Program"||W.type==="File"))R--;else break}return _.slice(0,R+1)}function x(_,R,W){let{locStart:ne,locEnd:L}=W,re=_.node,z=R.node;if(re===z)return{startNode:re,endNode:z};let ue=ne(_.node);for(let Be of O(R.parentNodes))if(ne(Be)>=ue)z=Be;else break;let ie=L(R.node);for(let Be of O(_.parentNodes)){if(L(Be)<=ie)re=Be;else break;if(re===z)break}return{startNode:re,endNode:z}}function v(_,R,W,ne){let L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],re=arguments.length>5?arguments[5]:void 0,{locStart:z,locEnd:ue}=W,ie=z(_),Be=ue(_);if(!(R>Be||R<ie||re==="rangeEnd"&&R===ie||re==="rangeStart"&&R===Be)){for(let B of m.getSortedChildNodes(_,W)){let Z=v(B,R,W,ne,[_,...L],re);if(Z)return Z}if(!ne||ne(_,L[0]))return{node:_,parentNodes:L}}}function E(_,R){return R!=="DeclareExportDeclaration"&&_!=="TypeParameterDeclaration"&&(_==="Directive"||_==="TypeAlias"||_==="TSExportAssignment"||_.startsWith("Declare")||_.startsWith("TSDeclare")||_.endsWith("Statement")||_.endsWith("Declaration"))}var F=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),k=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function N(_,R,W){if(!R)return!1;switch(_.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return E(R.type,W&&W.type);case"json":case"json5":case"json-stringify":return F.has(R.type);case"graphql":return k.has(R.kind);case"vue":return R.tag!=="root"}return!1}function T(_,R,W){let{rangeStart:ne,rangeEnd:L,locStart:re,locEnd:z}=R;f.ok(L>ne);let ue=_.slice(ne,L).search(/\S/),ie=ue===-1;if(!ie)for(ne+=ue;L>ne&&!/\S/.test(_[L-1]);--L);let Be=v(W,ne,R,(j,A)=>N(R,j,A),[],"rangeStart"),B=ie?Be:v(W,L,R,j=>N(R,j),[],"rangeEnd");if(!Be||!B)return{rangeStart:0,rangeEnd:0};let Z,$;if(y(R)){let j=D(Be,B);Z=j,$=j}else({startNode:Z,endNode:$}=x(Be,B,R));return{rangeStart:Math.min(re(Z),re($)),rangeEnd:Math.max(z(Z),z($))}}h.exports={calculateRange:T,findNodeAtOffset:v}}}),jo=Oe({"src/main/core.js"(u,h){Ye();var{diffArrays:f}=Ho(),{printer:{printDocToString:m},debug:{printDocToDebug:y}}=Ln(),{getAlignmentSize:D}=fi(),{guessEndOfLine:O,convertEndOfLineToChars:x,countEndOfLineChars:v,normalizeEndOfLine:E}=po(),F=yi().normalize,k=is(),N=Zi(),T=Cn(),_=uu(),R=lu(),W="\uFEFF",ne=Symbol("cursor");function L($,j,A){let M=j.comments;return M&&(delete j.comments,N.attach(M,j,$,A)),A[Symbol.for("comments")]=M||[],A[Symbol.for("tokens")]=j.tokens||[],A.originalText=$,M}function re($,j){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!$||$.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:M,text:Q}=T.parse($,j);if(j.cursorOffset>=0){let he=R.findNodeAtOffset(M,j.cursorOffset,j);he&&he.node&&(j.cursorNode=he.node)}let U=L(Q,M,j),q=_(M,j,A),K=m(q,j);if(N.ensureAllCommentsPrinted(U),A>0){let he=K.formatted.trim();K.cursorNodeStart!==void 0&&(K.cursorNodeStart-=K.formatted.indexOf(he)),K.formatted=he+x(j.endOfLine)}if(j.cursorOffset>=0){let he,Te,_e,Pe,ze;if(j.cursorNode&&K.cursorNodeText?(he=j.locStart(j.cursorNode),Te=Q.slice(he,j.locEnd(j.cursorNode)),_e=j.cursorOffset-he,Pe=K.cursorNodeStart,ze=K.cursorNodeText):(he=0,Te=Q,_e=j.cursorOffset,Pe=0,ze=K.formatted),Te===ze)return{formatted:K.formatted,cursorOffset:Pe+_e,comments:U};let ye=[...Te];ye.splice(_e,0,ne);let ct=[...ze],Fe=f(ye,ct),Se=Pe;for(let lt of Fe)if(lt.removed){if(lt.value.includes(ne))break}else Se+=lt.count;return{formatted:K.formatted,cursorOffset:Se,comments:U}}return{formatted:K.formatted,cursorOffset:-1,comments:U}}function z($,j){let{ast:A,text:M}=T.parse($,j),{rangeStart:Q,rangeEnd:U}=R.calculateRange(M,j,A),q=M.slice(Q,U),K=Math.min(Q,M.lastIndexOf(`
`,Q)+1),he=M.slice(K,Q).match(/^\s*/)[0],Te=D(he,j.tabWidth),_e=re(q,Object.assign(Object.assign({},j),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:j.cursorOffset>Q&&j.cursorOffset<=U?j.cursorOffset-Q:-1,endOfLine:"lf"}),Te),Pe=_e.formatted.trimEnd(),{cursorOffset:ze}=j;ze>U?ze+=Pe.length-q.length:_e.cursorOffset>=0&&(ze=_e.cursorOffset+Q);let ye=M.slice(0,Q)+Pe+M.slice(U);if(j.endOfLine!=="lf"){let ct=x(j.endOfLine);ze>=0&&ct===`\r
`&&(ze+=v(ye.slice(0,ze),`
`)),ye=ye.replace(/\n/g,ct)}return{formatted:ye,cursorOffset:ze,comments:_e.comments}}function ue($,j,A){return typeof j!="number"||Number.isNaN(j)||j<0||j>$.length?A:j}function ie($,j){let{cursorOffset:A,rangeStart:M,rangeEnd:Q}=j;return A=ue($,A,-1),M=ue($,M,0),Q=ue($,Q,$.length),Object.assign(Object.assign({},j),{},{cursorOffset:A,rangeStart:M,rangeEnd:Q})}function Be($,j){let{cursorOffset:A,rangeStart:M,rangeEnd:Q,endOfLine:U}=ie($,j),q=$.charAt(0)===W;if(q&&($=$.slice(1),A--,M--,Q--),U==="auto"&&(U=O($)),$.includes("\r")){let K=he=>v($.slice(0,Math.max(he,0)),`\r
`);A-=K(A),M-=K(M),Q-=K(Q),$=E($)}return{hasBOM:q,text:$,options:ie($,Object.assign(Object.assign({},j),{},{cursorOffset:A,rangeStart:M,rangeEnd:Q,endOfLine:U}))}}function B($,j){let A=T.resolveParser(j);return!A.hasPragma||A.hasPragma($)}function Z($,j){let{hasBOM:A,text:M,options:Q}=Be($,F(j));if(Q.rangeStart>=Q.rangeEnd&&M!==""||Q.requirePragma&&!B(M,Q))return{formatted:$,cursorOffset:j.cursorOffset,comments:[]};let U;return Q.rangeStart>0||Q.rangeEnd<M.length?U=z(M,Q):(!Q.requirePragma&&Q.insertPragma&&Q.printer.insertPragma&&!B(M,Q)&&(M=Q.printer.insertPragma(M)),U=re(M,Q)),A&&(U.formatted=W+U.formatted,U.cursorOffset>=0&&U.cursorOffset++),U}h.exports={formatWithCursor:Z,parse($,j,A){let{text:M,options:Q}=Be($,F(j)),U=T.parse(M,Q);return A&&(U.ast=k(U.ast,Q)),U},formatAST($,j){j=F(j);let A=_($,j);return m(A,j)},formatDoc($,j){return Z(y($),Object.assign(Object.assign({},j),{},{parser:"__js_expression"})).formatted},printToDoc($,j){j=F(j);let{ast:A,text:M}=T.parse($,j);return L(M,A,j),_(A,j)},printDocToString($,j){return m($,F(j))}}}}),ba=Oe({"src/common/util-shared.js"(u,h){Ye();var{getMaxContinuousCount:f,getStringWidth:m,getAlignmentSize:y,getIndentSize:D,skip:O,skipWhitespace:x,skipSpaces:v,skipNewline:E,skipToLineEnd:F,skipEverythingButNewLine:k,skipInlineComment:N,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:R,hasSpaces:W,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:re,getNextNonSpaceNonCommentCharacterIndex:z,makeString:ue,addLeadingComment:ie,addDanglingComment:Be,addTrailingComment:B}=fi();h.exports={getMaxContinuousCount:f,getStringWidth:m,getAlignmentSize:y,getIndentSize:D,skip:O,skipWhitespace:x,skipSpaces:v,skipNewline:E,skipToLineEnd:F,skipEverythingButNewLine:k,skipInlineComment:N,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:R,hasSpaces:W,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:re,getNextNonSpaceNonCommentCharacterIndex:z,makeString:ue,addLeadingComment:ie,addDanglingComment:Be,addTrailingComment:B}}}),Is=Oe({"src/utils/create-language.js"(u,h){Ye(),h.exports=function(f,m){let{languageId:y}=f,D=Le(f,xe);return Object.assign(Object.assign({linguistLanguageId:y},D),m(f))}}}),ta=Oe({"node_modules/esutils/lib/ast.js"(u,h){Ye(),function(){function f(v){if(v==null)return!1;switch(v.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function m(v){if(v==null)return!1;switch(v.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function y(v){if(v==null)return!1;switch(v.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function D(v){return y(v)||v!=null&&v.type==="FunctionDeclaration"}function O(v){switch(v.type){case"IfStatement":return v.alternate!=null?v.alternate:v.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return v.body}return null}function x(v){var E;if(v.type!=="IfStatement"||v.alternate==null)return!1;E=v.consequent;do{if(E.type==="IfStatement"&&E.alternate==null)return!0;E=O(E)}while(E);return!1}h.exports={isExpression:f,isStatement:y,isIterationStatement:m,isSourceElement:D,isProblematicIfStatement:x,trailingStatement:O}}()}}),Ia=Oe({"node_modules/esutils/lib/code.js"(u,h){Ye(),function(){var f,m,y,D,O,x;m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},f={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function v(L){return 48<=L&&L<=57}function E(L){return 48<=L&&L<=57||97<=L&&L<=102||65<=L&&L<=70}function F(L){return L>=48&&L<=55}y=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function k(L){return L===32||L===9||L===11||L===12||L===160||L>=5760&&y.indexOf(L)>=0}function N(L){return L===10||L===13||L===8232||L===8233}function T(L){if(L<=65535)return String.fromCharCode(L);var re=String.fromCharCode(Math.floor((L-65536)/1024)+55296),z=String.fromCharCode((L-65536)%1024+56320);return re+z}for(D=new Array(128),x=0;x<128;++x)D[x]=x>=97&&x<=122||x>=65&&x<=90||x===36||x===95;for(O=new Array(128),x=0;x<128;++x)O[x]=x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===36||x===95;function _(L){return L<128?D[L]:m.NonAsciiIdentifierStart.test(T(L))}function R(L){return L<128?O[L]:m.NonAsciiIdentifierPart.test(T(L))}function W(L){return L<128?D[L]:f.NonAsciiIdentifierStart.test(T(L))}function ne(L){return L<128?O[L]:f.NonAsciiIdentifierPart.test(T(L))}h.exports={isDecimalDigit:v,isHexDigit:E,isOctalDigit:F,isWhiteSpace:k,isLineTerminator:N,isIdentifierStartES5:_,isIdentifierPartES5:R,isIdentifierStartES6:W,isIdentifierPartES6:ne}}()}}),tp=Oe({"node_modules/esutils/lib/keyword.js"(u,h){Ye(),function(){var f=Ia();function m(_){switch(_){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function y(_,R){return!R&&_==="yield"?!1:D(_,R)}function D(_,R){if(R&&m(_))return!0;switch(_.length){case 2:return _==="if"||_==="in"||_==="do";case 3:return _==="var"||_==="for"||_==="new"||_==="try";case 4:return _==="this"||_==="else"||_==="case"||_==="void"||_==="with"||_==="enum";case 5:return _==="while"||_==="break"||_==="catch"||_==="throw"||_==="const"||_==="yield"||_==="class"||_==="super";case 6:return _==="return"||_==="typeof"||_==="delete"||_==="switch"||_==="export"||_==="import";case 7:return _==="default"||_==="finally"||_==="extends";case 8:return _==="function"||_==="continue"||_==="debugger";case 10:return _==="instanceof";default:return!1}}function O(_,R){return _==="null"||_==="true"||_==="false"||y(_,R)}function x(_,R){return _==="null"||_==="true"||_==="false"||D(_,R)}function v(_){return _==="eval"||_==="arguments"}function E(_){var R,W,ne;if(_.length===0||(ne=_.charCodeAt(0),!f.isIdentifierStartES5(ne)))return!1;for(R=1,W=_.length;R<W;++R)if(ne=_.charCodeAt(R),!f.isIdentifierPartES5(ne))return!1;return!0}function F(_,R){return(_-55296)*1024+(R-56320)+65536}function k(_){var R,W,ne,L,re;if(_.length===0)return!1;for(re=f.isIdentifierStartES6,R=0,W=_.length;R<W;++R){if(ne=_.charCodeAt(R),55296<=ne&&ne<=56319){if(++R,R>=W||(L=_.charCodeAt(R),!(56320<=L&&L<=57343)))return!1;ne=F(ne,L)}if(!re(ne))return!1;re=f.isIdentifierPartES6}return!0}function N(_,R){return E(_)&&!O(_,R)}function T(_,R){return k(_)&&!x(_,R)}h.exports={isKeywordES5:y,isKeywordES6:D,isReservedWordES5:O,isReservedWordES6:x,isRestrictedWord:v,isIdentifierNameES5:E,isIdentifierNameES6:k,isIdentifierES5:N,isIdentifierES6:T}}()}}),ch=Oe({"node_modules/esutils/lib/utils.js"(u){Ye(),function(){u.ast=ta(),u.code=Ia(),u.keyword=tp()}()}}),Ya=Oe({"src/language-js/utils/is-block-comment.js"(u,h){Ye();var f=new Set(["Block","CommentBlock","MultiLine"]),m=y=>f.has(y==null?void 0:y.type);h.exports=m}}),rp=Oe({"src/language-js/utils/is-node-matches.js"(u,h){Ye();function f(y,D){let O=D.split(".");for(let x=O.length-1;x>=0;x--){let v=O[x];if(x===0)return y.type==="Identifier"&&y.name===v;if(y.type!=="MemberExpression"||y.optional||y.computed||y.property.type!=="Identifier"||y.property.name!==v)return!1;y=y.object}}function m(y,D){return D.some(O=>f(y,O))}h.exports=m}}),as=Oe({"src/language-js/utils/index.js"(u,h){Ye();var f=ch().keyword.isIdentifierNameES5,{getLast:m,hasNewline:y,skipWhitespace:D,isNonEmptyArray:O,isNextLineEmptyAfterIndex:x,getStringWidth:v}=fi(),{locStart:E,locEnd:F,hasSameLocStart:k}=Wi(),N=Ya(),T=rp(),_="(?:(?=.)\\s)",R=new RegExp(`^${_}*:`),W=new RegExp(`^${_}*::`);function ne(Ce){var Wt,kn;return((Wt=Ce.extra)===null||Wt===void 0?void 0:Wt.parenthesized)&&N((kn=Ce.trailingComments)===null||kn===void 0?void 0:kn[0])&&R.test(Ce.trailingComments[0].value)}function L(Ce){let Wt=Ce==null?void 0:Ce[0];return N(Wt)&&W.test(Wt.value)}function re(Ce,Wt){if(!Ce||typeof Ce!="object")return!1;if(Array.isArray(Ce))return Ce.some(Xi=>re(Xi,Wt));let kn=Wt(Ce);return typeof kn=="boolean"?kn:Object.values(Ce).some(Xi=>re(Xi,Wt))}function z(Ce){return Ce.type==="AssignmentExpression"||Ce.type==="BinaryExpression"||Ce.type==="LogicalExpression"||Ce.type==="NGPipeExpression"||Ce.type==="ConditionalExpression"||It(Ce)||Mt(Ce)||Ce.type==="SequenceExpression"||Ce.type==="TaggedTemplateExpression"||Ce.type==="BindExpression"||Ce.type==="UpdateExpression"&&!Ce.prefix||ja(Ce)||Ce.type==="TSNonNullExpression"}function ue(Ce){var Wt,kn,Xi,Vi,Ea,Rs;return Ce.expressions?Ce.expressions[0]:(Wt=(kn=(Xi=(Vi=(Ea=(Rs=Ce.left)!==null&&Rs!==void 0?Rs:Ce.test)!==null&&Ea!==void 0?Ea:Ce.callee)!==null&&Vi!==void 0?Vi:Ce.object)!==null&&Xi!==void 0?Xi:Ce.tag)!==null&&kn!==void 0?kn:Ce.argument)!==null&&Wt!==void 0?Wt:Ce.expression}function ie(Ce,Wt){if(Wt.expressions)return["expressions",0];if(Wt.left)return["left"];if(Wt.test)return["test"];if(Wt.object)return["object"];if(Wt.callee)return["callee"];if(Wt.tag)return["tag"];if(Wt.argument)return["argument"];if(Wt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function Be(Ce){return Ce=new Set(Ce),Wt=>Ce.has(Wt==null?void 0:Wt.type)}var B=Be(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),Z=Be(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function $(Ce){let Wt=Ce.getParentNode();return Ce.getName()==="declaration"&&Z(Wt)?Wt:null}var j=Be(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function A(Ce){return Ce.type==="NumericLiteral"||Ce.type==="Literal"&&typeof Ce.value=="number"}function M(Ce){return Ce.type==="UnaryExpression"&&(Ce.operator==="+"||Ce.operator==="-")&&A(Ce.argument)}function Q(Ce){return Ce.type==="StringLiteral"||Ce.type==="Literal"&&typeof Ce.value=="string"}var U=Be(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),q=Be(["FunctionExpression","ArrowFunctionExpression"]);function K(Ce){return Ce.type==="FunctionExpression"||Ce.type==="ArrowFunctionExpression"&&Ce.body.type==="BlockStatement"}function he(Ce){return It(Ce)&&Ce.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Ce.callee.name)}var Te=Be(["JSXElement","JSXFragment"]);function _e(Ce,Wt){if(Ce.parentParser!=="markdown"&&Ce.parentParser!=="mdx")return!1;let kn=Wt.getNode();if(!kn.expression||!Te(kn.expression))return!1;let Xi=Wt.getParentNode();return Xi.type==="Program"&&Xi.body.length===1}function Pe(Ce){return Ce.kind==="get"||Ce.kind==="set"}function ze(Ce){return Pe(Ce)||k(Ce,Ce.value)}function ye(Ce){return(Ce.type==="ObjectTypeProperty"||Ce.type==="ObjectTypeInternalSlot")&&Ce.value.type==="FunctionTypeAnnotation"&&!Ce.static&&!ze(Ce)}function ct(Ce){return(Ce.type==="TypeAnnotation"||Ce.type==="TSTypeAnnotation")&&Ce.typeAnnotation.type==="FunctionTypeAnnotation"&&!Ce.static&&!k(Ce,Ce.typeAnnotation)}var Fe=Be(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Se(Ce){return Mt(Ce)||Ce.type==="BindExpression"&&!!Ce.object}var lt=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function kt(Ce){return Ce?!!((Ce.type==="GenericTypeAnnotation"||Ce.type==="TSTypeReference")&&!Ce.typeParameters||lt.has(Ce.type)):!1}function ft(Ce){let Wt=/^(?:before|after)(?:Each|All)$/;return Ce.callee.type==="Identifier"&&Wt.test(Ce.callee.name)&&Ce.arguments.length===1}var jt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Ne(Ce){return T(Ce,jt)}function Je(Ce,Wt){if(Ce.type!=="CallExpression")return!1;if(Ce.arguments.length===1){if(he(Ce)&&Wt&&Je(Wt))return q(Ce.arguments[0]);if(ft(Ce))return he(Ce.arguments[0])}else if((Ce.arguments.length===2||Ce.arguments.length===3)&&(Ce.arguments[0].type==="TemplateLiteral"||Q(Ce.arguments[0]))&&Ne(Ce.callee))return Ce.arguments[2]&&!A(Ce.arguments[2])?!1:(Ce.arguments.length===2?q(Ce.arguments[1]):K(Ce.arguments[1])&&br(Ce.arguments[1]).length<=1)||he(Ce.arguments[1]);return!1}var It=Be(["CallExpression","OptionalCallExpression"]),Mt=Be(["MemberExpression","OptionalMemberExpression"]);function Rr(Ce){let Wt="expressions";Ce.type==="TSTemplateLiteralType"&&(Wt="types");let kn=Ce[Wt];return kn.length===0?!1:kn.every(Xi=>{if(ni(Xi))return!1;if(Xi.type==="Identifier"||Xi.type==="ThisExpression")return!0;if(Mt(Xi)){let Vi=Xi;for(;Mt(Vi);)if(Vi.property.type!=="Identifier"&&Vi.property.type!=="Literal"&&Vi.property.type!=="StringLiteral"&&Vi.property.type!=="NumericLiteral"||(Vi=Vi.object,ni(Vi)))return!1;return Vi.type==="Identifier"||Vi.type==="ThisExpression"}return!1})}function rt(Ce,Wt){return Ce==="+"||Ce==="-"?Ce+Wt:Wt}function Ve(Ce,Wt){let kn=E(Wt),Xi=D(Ce,F(Wt));return Xi!==!1&&Ce.slice(kn,kn+2)==="/*"&&Ce.slice(Xi,Xi+2)==="*/"}function mt(Ce,Wt){return Te(Wt)?Di(Wt):ni(Wt,ln.Leading,kn=>y(Ce,F(kn)))}function Et(Ce,Wt){return Wt.parser!=="json"&&Q(Ce.key)&&$t(Ce.key).slice(1,-1)===Ce.key.value&&(f(Ce.key.value)&&!(Wt.parser==="babel-ts"&&Ce.type==="ClassProperty"||Wt.parser==="typescript"&&Ce.type==="PropertyDefinition")||zt(Ce.key.value)&&String(Number(Ce.key.value))===Ce.key.value&&(Wt.parser==="babel"||Wt.parser==="acorn"||Wt.parser==="espree"||Wt.parser==="meriyah"||Wt.parser==="__babel_estree"))}function zt(Ce){return/^(?:\d+|\d+\.\d+)$/.test(Ce)}function ur(Ce,Wt){let kn=/^[fx]?(?:describe|it|test)$/;return Wt.type==="TaggedTemplateExpression"&&Wt.quasi===Ce&&Wt.tag.type==="MemberExpression"&&Wt.tag.property.type==="Identifier"&&Wt.tag.property.name==="each"&&(Wt.tag.object.type==="Identifier"&&kn.test(Wt.tag.object.name)||Wt.tag.object.type==="MemberExpression"&&Wt.tag.object.property.type==="Identifier"&&(Wt.tag.object.property.name==="only"||Wt.tag.object.property.name==="skip")&&Wt.tag.object.object.type==="Identifier"&&kn.test(Wt.tag.object.object.name))}function xr(Ce){return Ce.quasis.some(Wt=>Wt.value.raw.includes(`
`))}function gn(Ce,Wt){return(Ce.type==="TemplateLiteral"&&xr(Ce)||Ce.type==="TaggedTemplateExpression"&&xr(Ce.quasi))&&!y(Wt,E(Ce),{backwards:!0})}function Si(Ce){if(!ni(Ce))return!1;let Wt=m(Bt(Ce,ln.Dangling));return Wt&&!N(Wt)}function di(Ce){if(Ce.length<=1)return!1;let Wt=0;for(let kn of Ce)if(q(kn)){if(Wt+=1,Wt>1)return!0}else if(It(kn)){for(let Xi of kn.arguments)if(q(Xi))return!0}return!1}function dn(Ce){let Wt=Ce.getValue(),kn=Ce.getParentNode();return It(Wt)&&It(kn)&&kn.callee===Wt&&Wt.arguments.length>kn.arguments.length&&kn.arguments.length>0}function $n(Ce,Wt){if(Wt>=2)return!1;let kn=Rs=>$n(Rs,Wt+1),Xi=Ce.type==="Literal"&&"regex"in Ce&&Ce.regex.pattern||Ce.type==="RegExpLiteral"&&Ce.pattern;if(Xi&&v(Xi)>5)return!1;if(Ce.type==="Literal"||Ce.type==="BigIntLiteral"||Ce.type==="DecimalLiteral"||Ce.type==="BooleanLiteral"||Ce.type==="NullLiteral"||Ce.type==="NumericLiteral"||Ce.type==="RegExpLiteral"||Ce.type==="StringLiteral"||Ce.type==="Identifier"||Ce.type==="ThisExpression"||Ce.type==="Super"||Ce.type==="PrivateName"||Ce.type==="PrivateIdentifier"||Ce.type==="ArgumentPlaceholder"||Ce.type==="Import")return!0;if(Ce.type==="TemplateLiteral")return Ce.quasis.every(Rs=>!Rs.value.raw.includes(`
`))&&Ce.expressions.every(kn);if(Ce.type==="ObjectExpression")return Ce.properties.every(Rs=>!Rs.computed&&(Rs.shorthand||Rs.value&&kn(Rs.value)));if(Ce.type==="ArrayExpression")return Ce.elements.every(Rs=>Rs===null||kn(Rs));if(Io(Ce))return(Ce.type==="ImportExpression"||$n(Ce.callee,Wt))&&ws(Ce).every(kn);if(Mt(Ce))return $n(Ce.object,Wt)&&$n(Ce.property,Wt);let Vi={"!":!0,"-":!0,"+":!0,"~":!0};if(Ce.type==="UnaryExpression"&&Vi[Ce.operator])return $n(Ce.argument,Wt);let Ea={"++":!0,"--":!0};return Ce.type==="UpdateExpression"&&Ea[Ce.operator]?$n(Ce.argument,Wt):Ce.type==="TSNonNullExpression"?$n(Ce.expression,Wt):!1}function $t(Ce){var Wt,kn;return(Wt=(kn=Ce.extra)===null||kn===void 0?void 0:kn.raw)!==null&&Wt!==void 0?Wt:Ce.raw}function je(Ce){return Ce}function Qt(Ce){return Ce.filepath&&/\.tsx$/i.test(Ce.filepath)}function et(Ce){let Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return Ce.trailingComma==="es5"&&Wt==="es5"||Ce.trailingComma==="all"&&(Wt==="all"||Wt==="es5")}function Nt(Ce,Wt){switch(Ce.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Nt(Ce.left,Wt);case"MemberExpression":case"OptionalMemberExpression":return Nt(Ce.object,Wt);case"TaggedTemplateExpression":return Ce.tag.type==="FunctionExpression"?!1:Nt(Ce.tag,Wt);case"CallExpression":case"OptionalCallExpression":return Ce.callee.type==="FunctionExpression"?!1:Nt(Ce.callee,Wt);case"ConditionalExpression":return Nt(Ce.test,Wt);case"UpdateExpression":return!Ce.prefix&&Nt(Ce.argument,Wt);case"BindExpression":return Ce.object&&Nt(Ce.object,Wt);case"SequenceExpression":return Nt(Ce.expressions[0],Wt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Nt(Ce.expression,Wt);default:return Wt(Ce)}}var Wr={"==":!0,"!=":!0,"===":!0,"!==":!0},$r={"*":!0,"/":!0,"%":!0},Ut={">>":!0,">>>":!0,"<<":!0};function X(Ce,Wt){return!(_t(Wt)!==_t(Ce)||Ce==="**"||Wr[Ce]&&Wr[Wt]||Wt==="%"&&$r[Ce]||Ce==="%"&&$r[Wt]||Wt!==Ce&&$r[Wt]&&$r[Ce]||Ut[Ce]&&Ut[Wt])}var We=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Ce,Wt)=>Ce.map(kn=>[kn,Wt])));function _t(Ce){return We.get(Ce)}function gr(Ce){return!!Ut[Ce]||Ce==="|"||Ce==="^"||Ce==="&"}function wr(Ce){var Wt;if(Ce.rest)return!0;let kn=br(Ce);return((Wt=m(kn))===null||Wt===void 0?void 0:Wt.type)==="RestElement"}var hn=new WeakMap;function br(Ce){if(hn.has(Ce))return hn.get(Ce);let Wt=[];return Ce.this&&Wt.push(Ce.this),Array.isArray(Ce.parameters)?Wt.push(...Ce.parameters):Array.isArray(Ce.params)&&Wt.push(...Ce.params),Ce.rest&&Wt.push(Ce.rest),hn.set(Ce,Wt),Wt}function _s(Ce,Wt){let kn=Ce.getValue(),Xi=0,Vi=Ea=>Wt(Ea,Xi++);kn.this&&Ce.call(Vi,"this"),Array.isArray(kn.parameters)?Ce.each(Vi,"parameters"):Array.isArray(kn.params)&&Ce.each(Vi,"params"),kn.rest&&Ce.call(Vi,"rest")}var nn=new WeakMap;function ws(Ce){if(nn.has(Ce))return nn.get(Ce);let Wt=Ce.arguments;return Ce.type==="ImportExpression"&&(Wt=[Ce.source],Ce.attributes&&Wt.push(Ce.attributes)),nn.set(Ce,Wt),Wt}function en(Ce,Wt){let kn=Ce.getValue();kn.type==="ImportExpression"?(Ce.call(Xi=>Wt(Xi,0),"source"),kn.attributes&&Ce.call(Xi=>Wt(Xi,1),"attributes")):Ce.each(Wt,"arguments")}function Yn(Ce){return Ce.value.trim()==="prettier-ignore"&&!Ce.unignore}function Di(Ce){return Ce&&(Ce.prettierIgnore||ni(Ce,ln.PrettierIgnore))}function hs(Ce){let Wt=Ce.getValue();return Di(Wt)}var ln={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},pi=(Ce,Wt)=>{if(typeof Ce=="function"&&(Wt=Ce,Ce=0),Ce||Wt)return(kn,Xi,Vi)=>!(Ce&ln.Leading&&!kn.leading||Ce&ln.Trailing&&!kn.trailing||Ce&ln.Dangling&&(kn.leading||kn.trailing)||Ce&ln.Block&&!N(kn)||Ce&ln.Line&&!B(kn)||Ce&ln.First&&Xi!==0||Ce&ln.Last&&Xi!==Vi.length-1||Ce&ln.PrettierIgnore&&!Yn(kn)||Wt&&!Wt(kn))};function ni(Ce,Wt,kn){if(!O(Ce==null?void 0:Ce.comments))return!1;let Xi=pi(Wt,kn);return Xi?Ce.comments.some(Xi):!0}function Bt(Ce,Wt,kn){if(!Array.isArray(Ce==null?void 0:Ce.comments))return[];let Xi=pi(Wt,kn);return Xi?Ce.comments.filter(Xi):Ce.comments}var Qa=(Ce,Wt)=>{let{originalText:kn}=Wt;return x(kn,F(Ce))};function Io(Ce){return It(Ce)||Ce.type==="NewExpression"||Ce.type==="ImportExpression"}function Ii(Ce){return Ce&&(Ce.type==="ObjectProperty"||Ce.type==="Property"&&!Ce.method&&Ce.kind==="init")}function Qi(Ce){return!!Ce.__isUsingHackPipeline}var gs=Symbol("ifWithoutBlockAndSameLineComment");function ja(Ce){return Ce.type==="TSAsExpression"||Ce.type==="TSSatisfiesExpression"}h.exports={getFunctionParameters:br,iterateFunctionParametersPath:_s,getCallArguments:ws,iterateCallArgumentsPath:en,hasRestParameter:wr,getLeftSide:ue,getLeftSidePathName:ie,getParentExportDeclaration:$,getTypeScriptMappedTypeModifier:rt,hasFlowAnnotationComment:L,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:mt,hasNakedLeftSide:z,hasNode:re,hasIgnoreComment:hs,hasNodeIgnoreComment:Di,identity:je,isBinaryish:Fe,isCallLikeExpression:Io,isEnabledHackPipeline:Qi,isLineComment:B,isPrettierIgnoreComment:Yn,isCallExpression:It,isMemberExpression:Mt,isExportDeclaration:Z,isFlowAnnotationComment:Ve,isFunctionCompositionArgs:di,isFunctionNotation:ze,isFunctionOrArrowExpression:q,isGetterOrSetter:Pe,isJestEachTemplateLiteral:ur,isJsxNode:Te,isLiteral:j,isLongCurriedCallExpression:dn,isSimpleCallArgument:$n,isMemberish:Se,isNumericLiteral:A,isSignedNumericLiteral:M,isObjectProperty:Ii,isObjectType:U,isObjectTypePropertyAFunction:ye,isSimpleType:kt,isSimpleNumber:zt,isSimpleTemplateLiteral:Rr,isStringLiteral:Q,isStringPropSafeToUnquote:Et,isTemplateOnItsOwnLine:gn,isTestCall:Je,isTheOnlyJsxElementInMarkdown:_e,isTSXFile:Qt,isTypeAnnotationAFunction:ct,isNextLineEmpty:Qa,needsHardlineAfterDanglingComment:Si,rawText:$t,shouldPrintComma:et,isBitwiseOperator:gr,shouldFlatten:X,startsWithNoLookaheadToken:Nt,getPrecedence:_t,hasComment:ni,getComments:Bt,CommentCheckFlags:ln,markerForIfWithoutBlockAndSameLineComment:gs,isTSTypeExpression:ja}}}),Xu=Oe({"src/language-js/print/template-literal.js"(u,h){Ye();var f=Cs(),{getStringWidth:m,getIndentSize:y}=fi(),{builders:{join:D,hardline:O,softline:x,group:v,indent:E,align:F,lineSuffixBoundary:k,addAlignmentToDoc:N},printer:{printDocToString:T},utils:{mapDoc:_}}=Ln(),{isBinaryish:R,isJestEachTemplateLiteral:W,isSimpleTemplateLiteral:ne,hasComment:L,isMemberExpression:re,isTSTypeExpression:z}=as();function ue(j,A,M){let Q=j.getValue();if(Q.type==="TemplateLiteral"&&W(Q,j.getParentNode())){let Te=ie(j,M,A);if(Te)return Te}let U="expressions";Q.type==="TSTemplateLiteralType"&&(U="types");let q=[],K=j.map(A,U),he=ne(Q);return he&&(K=K.map(Te=>T(Te,Object.assign(Object.assign({},M),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),q.push(k,"`"),j.each(Te=>{let _e=Te.getName();if(q.push(A()),_e<K.length){let{tabWidth:Pe}=M,ze=Te.getValue(),ye=y(ze.value.raw,Pe),ct=K[_e];if(!he){let Se=Q[U][_e];(L(Se)||re(Se)||Se.type==="ConditionalExpression"||Se.type==="SequenceExpression"||z(Se)||R(Se))&&(ct=[E([x,ct]),x])}let Fe=ye===0&&ze.value.raw.endsWith(`
`)?F(Number.NEGATIVE_INFINITY,ct):N(ct,ye,Pe);q.push(v(["${",Fe,k,"}"]))}},"quasis"),q.push("`"),q}function ie(j,A,M){let Q=j.getNode(),U=Q.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(U.length>1||U.some(q=>q.length>0)){A.__inJestEach=!0;let q=j.map(M,"expressions");A.__inJestEach=!1;let K=[],he=q.map(ye=>"${"+T(ye,Object.assign(Object.assign({},A),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),Te=[{hasLineBreak:!1,cells:[]}];for(let ye=1;ye<Q.quasis.length;ye++){let ct=f(Te),Fe=he[ye-1];ct.cells.push(Fe),Fe.includes(`
`)&&(ct.hasLineBreak=!0),Q.quasis[ye].value.raw.includes(`
`)&&Te.push({hasLineBreak:!1,cells:[]})}let _e=Math.max(U.length,...Te.map(ye=>ye.cells.length)),Pe=Array.from({length:_e}).fill(0),ze=[{cells:U},...Te.filter(ye=>ye.cells.length>0)];for(let{cells:ye}of ze.filter(ct=>!ct.hasLineBreak))for(let[ct,Fe]of ye.entries())Pe[ct]=Math.max(Pe[ct],m(Fe));return K.push(k,"`",E([O,D(O,ze.map(ye=>D(" | ",ye.cells.map((ct,Fe)=>ye.hasLineBreak?ct:ct+" ".repeat(Pe[Fe]-m(ct))))))]),O,"`"),K}}function Be(j,A){let M=j.getValue(),Q=A();return L(M)&&(Q=v([E([x,Q]),x])),["${",Q,k,"}"]}function B(j,A){return j.map(M=>Be(M,A),"expressions")}function Z(j,A){return _(j,M=>typeof M=="string"?A?M.replace(/(\\*)`/g,"$1$1\\`"):$(M):M)}function $(j){return j.replace(/([\\`]|\${)/g,"\\$1")}h.exports={printTemplateLiteral:ue,printTemplateExpressions:B,escapeTemplateCharacters:Z,uncookTemplateElementValue:$}}}),uf=Oe({"src/language-js/embed/markdown.js"(u,h){Ye();var{builders:{indent:f,softline:m,literalline:y,dedentToRoot:D}}=Ln(),{escapeTemplateCharacters:O}=Xu();function x(E,F,k){let N=E.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(W,ne)=>"\\".repeat(ne.length/2)+"`"),T=v(N),_=T!=="";_&&(N=N.replace(new RegExp(`^${T}`,"gm"),""));let R=O(k(N,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",_?f([m,R]):[y,D(R)],m,"`"]}function v(E){let F=E.match(/^([^\S\n]*)\S/m);return F===null?"":F[1]}h.exports=x}}),np=Oe({"src/language-js/embed/css.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{indent:m,hardline:y,softline:D},utils:{mapDoc:O,replaceEndOfLine:x,cleanDoc:v}}=Ln(),{printTemplateExpressions:E}=Xu();function F(T,_,R){let W=T.getValue(),ne=W.quasis.map(ie=>ie.value.raw),L=0,re=ne.reduce((ie,Be,B)=>B===0?Be:ie+"@prettier-placeholder-"+L+++"-id"+Be,""),z=R(re,{parser:"scss"},{stripTrailingHardline:!0}),ue=E(T,_);return k(z,W,ue)}function k(T,_,R){if(_.quasis.length===1&&!_.quasis[0].value.raw.trim())return"``";let W=N(T,R);if(!W)throw new Error("Couldn't insert all the expressions");return["`",m([y,W]),D,"`"]}function N(T,_){if(!f(_))return T;let R=0,W=O(v(T),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map((L,re)=>re%2===0?x(L):(R++,_[L])));return _.length===R?W:null}h.exports=F}}),ip=Oe({"src/language-js/embed/graphql.js"(u,h){Ye();var{builders:{indent:f,join:m,hardline:y}}=Ln(),{escapeTemplateCharacters:D,printTemplateExpressions:O}=Xu();function x(E,F,k){let N=E.getValue(),T=N.quasis.length;if(T===1&&N.quasis[0].value.raw.trim()==="")return"``";let _=O(E,F),R=[];for(let W=0;W<T;W++){let ne=N.quasis[W],L=W===0,re=W===T-1,z=ne.value.cooked,ue=z.split(`
`),ie=ue.length,Be=_[W],B=ie>2&&ue[0].trim()===""&&ue[1].trim()==="",Z=ie>2&&ue[ie-1].trim()===""&&ue[ie-2].trim()==="",$=ue.every(A=>/^\s*(?:#[^\n\r]*)?$/.test(A));if(!re&&/#[^\n\r]*$/.test(ue[ie-1]))return null;let j=null;$?j=v(ue):j=k(z,{parser:"graphql"},{stripTrailingHardline:!0}),j?(j=D(j,!1),!L&&B&&R.push(""),R.push(j),!re&&Z&&R.push("")):!L&&!re&&B&&R.push(""),Be&&R.push(Be)}return["`",f([y,m(y,R)]),y,"`"]}function v(E){let F=[],k=!1,N=E.map(T=>T.trim());for(let[T,_]of N.entries())_!==""&&(N[T-1]===""&&k?F.push([y,_]):F.push(_),k=!0);return F.length===0?null:m(y,F)}h.exports=x}}),Vu=Oe({"src/language-js/embed/html.js"(u,h){Ye();var{builders:{indent:f,line:m,hardline:y,group:D},utils:{mapDoc:O}}=Ln(),{printTemplateExpressions:x,uncookTemplateElementValue:v}=Xu(),E=0;function F(k,N,T,_,R){let{parser:W}=R,ne=k.getValue(),L=E;E=E+1>>>0;let re=M=>`PRETTIER_HTML_PLACEHOLDER_${M}_${L}_IN_JS`,z=ne.quasis.map((M,Q,U)=>Q===U.length-1?M.value.cooked:M.value.cooked+re(Q)).join(""),ue=x(k,N);if(ue.length===0&&z.trim().length===0)return"``";let ie=new RegExp(re("(\\d+)"),"g"),Be=0,B=T(z,{parser:W,__onHtmlRoot(M){Be=M.children.length}},{stripTrailingHardline:!0}),Z=O(B,M=>{if(typeof M!="string")return M;let Q=[],U=M.split(ie);for(let q=0;q<U.length;q++){let K=U[q];if(q%2===0){K&&(K=v(K),_.__embeddedInHtml&&(K=K.replace(/<\/(script)\b/gi,"<\\/$1")),Q.push(K));continue}let he=Number(K);Q.push(ue[he])}return Q}),$=/^\s/.test(z)?" ":"",j=/\s$/.test(z)?" ":"",A=_.htmlWhitespaceSensitivity==="ignore"?y:$&&j?m:null;return D(A?["`",f([A,D(Z)]),A,"`"]:["`",$,Be>1?f(D(Z)):D(Z),j,"`"])}h.exports=F}}),Uu=Oe({"src/language-js/embed.js"(u,h){Ye();var{hasComment:f,CommentCheckFlags:m,isObjectProperty:y}=as(),D=uf(),O=np(),x=ip(),v=Vu();function E(B){if(N(B)||W(B)||ne(B)||T(B))return"css";if(z(B))return"graphql";if(ie(B))return"html";if(_(B))return"angular";if(k(B))return"markdown"}function F(B,Z,$,j){let A=B.getValue();if(A.type!=="TemplateLiteral"||Be(A))return;let M=E(B);if(M){if(M==="markdown")return D(B,Z,$);if(M==="css")return O(B,Z,$);if(M==="graphql")return x(B,Z,$);if(M==="html"||M==="angular")return v(B,Z,$,j,{parser:M})}}function k(B){let Z=B.getValue(),$=B.getParentNode();return $&&$.type==="TaggedTemplateExpression"&&Z.quasis.length===1&&$.tag.type==="Identifier"&&($.tag.name==="md"||$.tag.name==="markdown")}function N(B){let Z=B.getValue(),$=B.getParentNode(),j=B.getParentNode(1);return j&&Z.quasis&&$.type==="JSXExpressionContainer"&&j.type==="JSXElement"&&j.openingElement.name.name==="style"&&j.openingElement.attributes.some(A=>A.name.name==="jsx")||$&&$.type==="TaggedTemplateExpression"&&$.tag.type==="Identifier"&&$.tag.name==="css"||$&&$.type==="TaggedTemplateExpression"&&$.tag.type==="MemberExpression"&&$.tag.object.name==="css"&&($.tag.property.name==="global"||$.tag.property.name==="resolve")}function T(B){return B.match(Z=>Z.type==="TemplateLiteral",(Z,$)=>Z.type==="ArrayExpression"&&$==="elements",(Z,$)=>y(Z)&&Z.key.type==="Identifier"&&Z.key.name==="styles"&&$==="value",...R)}function _(B){return B.match(Z=>Z.type==="TemplateLiteral",(Z,$)=>y(Z)&&Z.key.type==="Identifier"&&Z.key.name==="template"&&$==="value",...R)}var R=[(B,Z)=>B.type==="ObjectExpression"&&Z==="properties",(B,Z)=>B.type==="CallExpression"&&B.callee.type==="Identifier"&&B.callee.name==="Component"&&Z==="arguments",(B,Z)=>B.type==="Decorator"&&Z==="expression"];function W(B){let Z=B.getParentNode();if(!Z||Z.type!=="TaggedTemplateExpression")return!1;let $=Z.tag.type==="ParenthesizedExpression"?Z.tag.expression:Z.tag;switch($.type){case"MemberExpression":return L($.object)||re($);case"CallExpression":return L($.callee)||$.callee.type==="MemberExpression"&&($.callee.object.type==="MemberExpression"&&(L($.callee.object.object)||re($.callee.object))||$.callee.object.type==="CallExpression"&&L($.callee.object.callee));case"Identifier":return $.name==="css";default:return!1}}function ne(B){let Z=B.getParentNode(),$=B.getParentNode(1);return $&&Z.type==="JSXExpressionContainer"&&$.type==="JSXAttribute"&&$.name.type==="JSXIdentifier"&&$.name.name==="css"}function L(B){return B.type==="Identifier"&&B.name==="styled"}function re(B){return/^[A-Z]/.test(B.object.name)&&B.property.name==="extend"}function z(B){let Z=B.getValue(),$=B.getParentNode();return ue(Z,"GraphQL")||$&&($.type==="TaggedTemplateExpression"&&($.tag.type==="MemberExpression"&&$.tag.object.name==="graphql"&&$.tag.property.name==="experimental"||$.tag.type==="Identifier"&&($.tag.name==="gql"||$.tag.name==="graphql"))||$.type==="CallExpression"&&$.callee.type==="Identifier"&&$.callee.name==="graphql")}function ue(B,Z){return f(B,m.Block|m.Leading,$=>{let{value:j}=$;return j===` ${Z} `})}function ie(B){return ue(B.getValue(),"HTML")||B.match(Z=>Z.type==="TemplateLiteral",(Z,$)=>Z.type==="TaggedTemplateExpression"&&Z.tag.type==="Identifier"&&Z.tag.name==="html"&&$==="quasi")}function Be(B){let{quasis:Z}=B;return Z.some($=>{let{value:{cooked:j}}=$;return j===null})}h.exports=F}}),va=Oe({"src/language-js/clean.js"(u,h){Ye();var f=Ya(),m=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),y=O=>{for(let x of O.quasis)delete x.value};function D(O,x,v){if(O.type==="Program"&&delete x.sourceType,(O.type==="BigIntLiteral"||O.type==="BigIntLiteralTypeAnnotation")&&x.value&&(x.value=x.value.toLowerCase()),(O.type==="BigIntLiteral"||O.type==="Literal")&&x.bigint&&(x.bigint=x.bigint.toLowerCase()),O.type==="DecimalLiteral"&&(x.value=Number(x.value)),O.type==="Literal"&&x.decimal&&(x.decimal=Number(x.decimal)),O.type==="EmptyStatement"||O.type==="JSXText"||O.type==="JSXExpressionContainer"&&(O.expression.type==="Literal"||O.expression.type==="StringLiteral")&&O.expression.value===" ")return null;if((O.type==="Property"||O.type==="ObjectProperty"||O.type==="MethodDefinition"||O.type==="ClassProperty"||O.type==="ClassMethod"||O.type==="PropertyDefinition"||O.type==="TSDeclareMethod"||O.type==="TSPropertySignature"||O.type==="ObjectTypeProperty")&&typeof O.key=="object"&&O.key&&(O.key.type==="Literal"||O.key.type==="NumericLiteral"||O.key.type==="StringLiteral"||O.key.type==="Identifier")&&delete x.key,O.type==="JSXElement"&&O.openingElement.name.name==="style"&&O.openingElement.attributes.some(k=>k.name.name==="jsx"))for(let{type:k,expression:N}of x.children)k==="JSXExpressionContainer"&&N.type==="TemplateLiteral"&&y(N);O.type==="JSXAttribute"&&O.name.name==="css"&&O.value.type==="JSXExpressionContainer"&&O.value.expression.type==="TemplateLiteral"&&y(x.value.expression),O.type==="JSXAttribute"&&O.value&&O.value.type==="Literal"&&/["']|&quot;|&apos;/.test(O.value.value)&&(x.value.value=x.value.value.replace(/["']|&quot;|&apos;/g,'"'));let E=O.expression||O.callee;if(O.type==="Decorator"&&E.type==="CallExpression"&&E.callee.name==="Component"&&E.arguments.length===1){let k=O.expression.arguments[0].properties;for(let[N,T]of x.expression.arguments[0].properties.entries())switch(k[N].key.name){case"styles":T.value.type==="ArrayExpression"&&y(T.value.elements[0]);break;case"template":T.value.type==="TemplateLiteral"&&y(T.value);break}}if(O.type==="TaggedTemplateExpression"&&(O.tag.type==="MemberExpression"||O.tag.type==="Identifier"&&(O.tag.name==="gql"||O.tag.name==="graphql"||O.tag.name==="css"||O.tag.name==="md"||O.tag.name==="markdown"||O.tag.name==="html")||O.tag.type==="CallExpression")&&y(x.quasi),O.type==="TemplateLiteral"){var F;(!((F=O.leadingComments)===null||F===void 0)&&F.some(k=>f(k)&&["GraphQL","HTML"].some(N=>k.value===` ${N} `))||v.type==="CallExpression"&&v.callee.name==="graphql"||!O.leadingComments)&&y(x)}if(O.type==="InterpreterDirective"&&(x.value=x.value.trimEnd()),(O.type==="TSIntersectionType"||O.type==="TSUnionType")&&O.types.length===1)return x.types[0]}D.ignoredProperties=m,h.exports=D}}),Bl={};pn(Bl,{EOL:()=>Ml,arch:()=>Zu,cpus:()=>Wu,default:()=>Dc,endianness:()=>qu,freemem:()=>zu,getNetworkInterfaces:()=>ca,hostname:()=>cu,loadavg:()=>Nl,networkInterfaces:()=>gc,platform:()=>yc,release:()=>Ca,tmpDir:()=>hu,tmpdir:()=>Il,totalmem:()=>Ga,type:()=>ra,uptime:()=>Ma});function qu(){if(typeof pu>"u"){var u=new ArrayBuffer(2),h=new Uint8Array(u),f=new Uint16Array(u);if(h[0]=1,h[1]=2,f[0]===258)pu="BE";else if(f[0]===513)pu="LE";else throw new Error("unable to figure out endianess")}return pu}function cu(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Nl(){return[]}function Ma(){return 0}function zu(){return Number.MAX_VALUE}function Ga(){return Number.MAX_VALUE}function Wu(){return[]}function ra(){return"Browser"}function Ca(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function gc(){}function ca(){}function Zu(){return"javascript"}function yc(){return"browser"}function hu(){return"/tmp"}var pu,Il,Ml,Dc,Rl=Cr({"node-modules-polyfills:os"(){Ye(),Il=hu,Ml=`
`,Dc={EOL:Ml,tmpdir:Il,tmpDir:hu,networkInterfaces:gc,getNetworkInterfaces:ca,release:Ca,type:ra,cpus:Wu,totalmem:Ga,freemem:zu,uptime:Ma,loadavg:Nl,hostname:cu,endianness:qu}}}),Ql=Oe({"node-modules-polyfills-commonjs:os"(u,h){Ye();var f=(Rl(),Oi(Bl));if(f&&f.default){h.exports=f.default;for(let m in f)h.exports[m]=f[m]}else f&&(h.exports=f)}}),sp=Oe({"node_modules/detect-newline/index.js"(u,h){Ye();var f=m=>{if(typeof m!="string")throw new TypeError("Expected a string");let y=m.match(/(?:\r?\n)/g)||[];if(y.length===0)return;let D=y.filter(x=>x===`\r
`).length,O=y.length-D;return D>O?`\r
`:`
`};h.exports=f,h.exports.graceful=m=>typeof m=="string"&&f(m)||`
`}}),Ra=Oe({"node_modules/jest-docblock/build/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.extract=T,u.parse=R,u.parseWithComments=W,u.print=ne,u.strip=_;function h(){let re=Ql();return h=function(){return re},re}function f(){let re=m(sp());return f=function(){return re},re}function m(re){return re&&re.__esModule?re:{default:re}}var y=/\*\/$/,D=/^\/\*\*?/,O=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,x=/(^|\s+)\/\/([^\r\n]*)/g,v=/^(\r?\n)+/,E=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,F=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,k=/(\r?\n|^) *\* ?/g,N=[];function T(re){let z=re.match(O);return z?z[0].trimLeft():""}function _(re){let z=re.match(O);return z&&z[0]?re.substring(z[0].length):re}function R(re){return W(re).pragmas}function W(re){let z=(0,f().default)(re)||h().EOL;re=re.replace(D,"").replace(y,"").replace(k,"$1");let ue="";for(;ue!==re;)ue=re,re=re.replace(E,`${z}$1 $2${z}`);re=re.replace(v,"").trimRight();let ie=Object.create(null),Be=re.replace(F,"").replace(v,"").trimRight(),B;for(;B=F.exec(re);){let Z=B[2].replace(x,"");typeof ie[B[1]]=="string"||Array.isArray(ie[B[1]])?ie[B[1]]=N.concat(ie[B[1]],Z):ie[B[1]]=Z}return{comments:Be,pragmas:ie}}function ne(re){let{comments:z="",pragmas:ue={}}=re,ie=(0,f().default)(z)||h().EOL,Be="/**",B=" *",Z=" */",$=Object.keys(ue),j=$.map(M=>L(M,ue[M])).reduce((M,Q)=>M.concat(Q),[]).map(M=>`${B} ${M}${ie}`).join("");if(!z){if($.length===0)return"";if($.length===1&&!Array.isArray(ue[$[0]])){let M=ue[$[0]];return`${Be} ${L($[0],M)[0]}${Z}`}}let A=z.split(ie).map(M=>`${B} ${M}`).join(ie)+ie;return Be+ie+(z?A:"")+(z&&$.length?B+ie:"")+j+Z}function L(re,z){return N.concat(z).map(ue=>`@${re} ${ue}`.trim())}}}),Oc=Oe({"src/language-js/utils/get-shebang.js"(u,h){Ye();function f(m){if(!m.startsWith("#!"))return"";let y=m.indexOf(`
`);return y===-1?m:m.slice(0,y)}h.exports=f}}),Yu=Oe({"src/language-js/pragma.js"(u,h){Ye();var{parseWithComments:f,strip:m,extract:y,print:D}=Ra(),{normalizeEndOfLine:O}=po(),x=Oc();function v(k){let N=x(k);N&&(k=k.slice(N.length+1));let T=y(k),{pragmas:_,comments:R}=f(T);return{shebang:N,text:k,pragmas:_,comments:R}}function E(k){let N=Object.keys(v(k).pragmas);return N.includes("prettier")||N.includes("format")}function F(k){let{shebang:N,text:T,pragmas:_,comments:R}=v(k),W=m(T),ne=D({pragmas:Object.assign({format:""},_),comments:R.trimStart()});return(N?`${N}
`:"")+O(ne)+(W.startsWith(`
`)?`
`:`
`)+W}h.exports={hasPragma:E,insertPragma:F}}}),xc=Oe({"src/language-js/utils/is-type-cast-comment.js"(u,h){Ye();var f=Ya();function m(y){return f(y)&&y.value[0]==="*"&&/@(?:type|satisfies)\b/.test(y.value)}h.exports=m}}),jl=Oe({"src/language-js/comments.js"(u,h){Ye();var{getLast:f,hasNewline:m,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:y,getNextNonSpaceNonCommentCharacter:D,hasNewlineInRange:O,addLeadingComment:x,addTrailingComment:v,addDanglingComment:E,getNextNonSpaceNonCommentCharacterIndex:F,isNonEmptyArray:k}=fi(),{getFunctionParameters:N,isPrettierIgnoreComment:T,isJsxNode:_,hasFlowShorthandAnnotationComment:R,hasFlowAnnotationComment:W,hasIgnoreComment:ne,isCallLikeExpression:L,getCallArguments:re,isCallExpression:z,isMemberExpression:ue,isObjectProperty:ie,isLineComment:Be,getComments:B,CommentCheckFlags:Z,markerForIfWithoutBlockAndSameLineComment:$}=as(),{locStart:j,locEnd:A}=Wi(),M=Ya(),Q=xc();function U(Ut){return[je,Rr,ct,Pe,ze,ye,kt,xr,Et,ur,gn,Si,jt,rt,Ve].some(X=>X(Ut))}function q(Ut){return[_e,Rr,Fe,gn,Pe,ze,ye,kt,rt,mt,zt,ur,$n,Ve,et].some(X=>X(Ut))}function K(Ut){return[je,Pe,ze,Se,Mt,jt,ur,It,Je,Qt,Ve,$t].some(X=>X(Ut))}function he(Ut,X){let We=(Ut.body||Ut.properties).find(_t=>{let{type:gr}=_t;return gr!=="EmptyStatement"});We?x(We,X):E(Ut,X)}function Te(Ut,X){Ut.type==="BlockStatement"?he(Ut,X):x(Ut,X)}function _e(Ut){let{comment:X,followingNode:We}=Ut;return We&&Q(X)?(x(We,X),!0):!1}function Pe(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;if((_t==null?void 0:_t.type)!=="IfStatement"||!gr)return!1;if(D(wr,X,A)===")")return v(We,X),!0;if(We===_t.consequent&&gr===_t.alternate){if(We.type==="BlockStatement")v(We,X);else{let hn=X.type==="SingleLine"||X.loc.start.line===X.loc.end.line,br=X.loc.start.line===We.loc.start.line;hn&&br?E(We,X,$):E(_t,X)}return!0}return gr.type==="BlockStatement"?(he(gr,X),!0):gr.type==="IfStatement"?(Te(gr.consequent,X),!0):_t.consequent===gr?(x(gr,X),!0):!1}function ze(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;return(_t==null?void 0:_t.type)!=="WhileStatement"||!gr?!1:D(wr,X,A)===")"?(v(We,X),!0):gr.type==="BlockStatement"?(he(gr,X),!0):_t.body===gr?(x(gr,X),!0):!1}function ye(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)!=="TryStatement"&&(_t==null?void 0:_t.type)!=="CatchClause"||!gr?!1:_t.type==="CatchClause"&&We?(v(We,X),!0):gr.type==="BlockStatement"?(he(gr,X),!0):gr.type==="TryStatement"?(Te(gr.finalizer,X),!0):gr.type==="CatchClause"?(Te(gr.body,X),!0):!1}function ct(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return ue(We)&&(_t==null?void 0:_t.type)==="Identifier"?(x(We,X),!0):!1}function Fe(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut,hn=We&&!O(wr,A(We),j(X));return(!We||!hn)&&((_t==null?void 0:_t.type)==="ConditionalExpression"||(_t==null?void 0:_t.type)==="TSConditionalType")&&gr?(x(gr,X),!0):!1}function Se(Ut){let{comment:X,precedingNode:We,enclosingNode:_t}=Ut;return ie(_t)&&_t.shorthand&&_t.key===We&&_t.value.type==="AssignmentPattern"?(v(_t.value.left,X),!0):!1}var lt=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function kt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;if(lt.has(_t==null?void 0:_t.type)){if(k(_t.decorators)&&!(gr&&gr.type==="Decorator"))return v(f(_t.decorators),X),!0;if(_t.body&&gr===_t.body)return he(_t.body,X),!0;if(gr){if(_t.superClass&&gr===_t.superClass&&We&&(We===_t.id||We===_t.typeParameters))return v(We,X),!0;for(let wr of["implements","extends","mixins"])if(_t[wr]&&gr===_t[wr][0])return We&&(We===_t.id||We===_t.typeParameters||We===_t.superClass)?v(We,X):E(_t,X,wr),!0}}return!1}var ft=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function jt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;return _t&&We&&D(gr,X,A)==="("&&(_t.type==="Property"||_t.type==="TSDeclareMethod"||_t.type==="TSAbstractMethodDefinition")&&We.type==="Identifier"&&_t.key===We&&D(gr,We,A)!==":"||(We==null?void 0:We.type)==="Decorator"&&ft.has(_t==null?void 0:_t.type)?(v(We,X),!0):!1}var Ne=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Je(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;return D(gr,X,A)!=="("?!1:We&&Ne.has(_t==null?void 0:_t.type)?(v(We,X),!0):!1}function It(Ut){let{comment:X,enclosingNode:We,text:_t}=Ut;if((We==null?void 0:We.type)!=="ArrowFunctionExpression")return!1;let gr=F(_t,X,A);return gr!==!1&&_t.slice(gr,gr+2)==="=>"?(E(We,X),!0):!1}function Mt(Ut){let{comment:X,enclosingNode:We,text:_t}=Ut;return D(_t,X,A)!==")"?!1:We&&(Nt(We)&&N(We).length===0||L(We)&&re(We).length===0)?(E(We,X),!0):((We==null?void 0:We.type)==="MethodDefinition"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&N(We.value).length===0?(E(We.value,X),!0):!1}function Rr(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;if((We==null?void 0:We.type)==="FunctionTypeParam"&&(_t==null?void 0:_t.type)==="FunctionTypeAnnotation"&&(gr==null?void 0:gr.type)!=="FunctionTypeParam"||((We==null?void 0:We.type)==="Identifier"||(We==null?void 0:We.type)==="AssignmentPattern")&&_t&&Nt(_t)&&D(wr,X,A)===")")return v(We,X),!0;if((_t==null?void 0:_t.type)==="FunctionDeclaration"&&(gr==null?void 0:gr.type)==="BlockStatement"){let hn=(()=>{let br=N(_t);if(br.length>0)return y(wr,A(f(br)));let _s=y(wr,A(_t.id));return _s!==!1&&y(wr,_s+1)})();if(j(X)>hn)return he(gr,X),!0}return!1}function rt(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="LabeledStatement"?(x(We,X),!0):!1}function Ve(Ut){let{comment:X,enclosingNode:We}=Ut;return((We==null?void 0:We.type)==="ContinueStatement"||(We==null?void 0:We.type)==="BreakStatement")&&!We.label?(v(We,X),!0):!1}function mt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t}=Ut;return z(_t)&&We&&_t.callee===We&&_t.arguments.length>0?(x(_t.arguments[0],X),!0):!1}function Et(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)==="UnionTypeAnnotation"||(_t==null?void 0:_t.type)==="TSUnionType"?(T(X)&&(gr.prettierIgnore=!0,X.unignore=!0),We?(v(We,X),!0):!1):(((gr==null?void 0:gr.type)==="UnionTypeAnnotation"||(gr==null?void 0:gr.type)==="TSUnionType")&&T(X)&&(gr.types[0].prettierIgnore=!0,X.unignore=!0),!1)}function zt(Ut){let{comment:X,enclosingNode:We}=Ut;return ie(We)?(x(We,X),!0):!1}function ur(Ut){let{comment:X,enclosingNode:We,followingNode:_t,ast:gr,isLastComment:wr}=Ut;return gr&&gr.body&&gr.body.length===0?(wr?E(gr,X):x(gr,X),!0):(We==null?void 0:We.type)==="Program"&&(We==null?void 0:We.body.length)===0&&!k(We.directives)?(wr?E(We,X):x(We,X),!0):(_t==null?void 0:_t.type)==="Program"&&(_t==null?void 0:_t.body.length)===0&&(We==null?void 0:We.type)==="ModuleExpression"?(E(_t,X),!0):!1}function xr(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="ForInStatement"||(We==null?void 0:We.type)==="ForOfStatement"?(x(We,X),!0):!1}function gn(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;if((_t==null?void 0:_t.type)==="ImportSpecifier"||(_t==null?void 0:_t.type)==="ExportSpecifier")return x(_t,X),!0;let wr=(We==null?void 0:We.type)==="ImportSpecifier"&&(_t==null?void 0:_t.type)==="ImportDeclaration",hn=(We==null?void 0:We.type)==="ExportSpecifier"&&(_t==null?void 0:_t.type)==="ExportNamedDeclaration";return(wr||hn)&&m(gr,A(X))?(v(We,X),!0):!1}function Si(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="AssignmentPattern"?(x(We,X),!0):!1}var di=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),dn=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function $n(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return di.has(We==null?void 0:We.type)&&_t&&(dn.has(_t.type)||M(X))?(x(_t,X),!0):!1}function $t(Ut){let{comment:X,enclosingNode:We,followingNode:_t,text:gr}=Ut;return!_t&&((We==null?void 0:We.type)==="TSMethodSignature"||(We==null?void 0:We.type)==="TSDeclareFunction"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&D(gr,X,A)===";"?(v(We,X),!0):!1}function je(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;if(T(X)&&(We==null?void 0:We.type)==="TSMappedType"&&(_t==null?void 0:_t.type)==="TSTypeParameter"&&_t.constraint)return We.prettierIgnore=!0,X.unignore=!0,!0}function Qt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)!=="TSMappedType"?!1:(gr==null?void 0:gr.type)==="TSTypeParameter"&&gr.name?(x(gr.name,X),!0):(We==null?void 0:We.type)==="TSTypeParameter"&&We.constraint?(v(We.constraint,X),!0):!1}function et(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return!We||We.type!=="SwitchCase"||We.test||!_t||_t!==We.consequent[0]?!1:(_t.type==="BlockStatement"&&Be(X)?he(_t,X):E(We,X),!0)}function Nt(Ut){return Ut.type==="ArrowFunctionExpression"||Ut.type==="FunctionExpression"||Ut.type==="FunctionDeclaration"||Ut.type==="ObjectMethod"||Ut.type==="ClassMethod"||Ut.type==="TSDeclareFunction"||Ut.type==="TSCallSignatureDeclaration"||Ut.type==="TSConstructSignatureDeclaration"||Ut.type==="TSMethodSignature"||Ut.type==="TSConstructorType"||Ut.type==="TSFunctionType"||Ut.type==="TSDeclareMethod"}function Wr(Ut,X){if((X.parser==="typescript"||X.parser==="flow"||X.parser==="acorn"||X.parser==="espree"||X.parser==="meriyah"||X.parser==="__babel_estree")&&Ut.type==="MethodDefinition"&&Ut.value&&Ut.value.type==="FunctionExpression"&&N(Ut.value).length===0&&!Ut.value.returnType&&!k(Ut.value.typeParameters)&&Ut.value.body)return[...Ut.decorators||[],Ut.key,Ut.value.body]}function $r(Ut){let X=Ut.getValue(),We=Ut.getParentNode(),_t=gr=>W(B(gr,Z.Leading))||W(B(gr,Z.Trailing));return(X&&(_(X)||R(X)||z(We)&&_t(X))||We&&(We.type==="JSXSpreadAttribute"||We.type==="JSXSpreadChild"||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType"||(We.type==="ClassDeclaration"||We.type==="ClassExpression")&&We.superClass===X))&&(!ne(Ut)||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType")}h.exports={handleOwnLineComment:U,handleEndOfLineComment:q,handleRemainingComment:K,getCommentChildNodes:Wr,willPrintOwnComments:$r}}}),fu=Oe({"src/language-js/needs-parens.js"(u,h){Ye();var f=Cs(),m=Mu(),{getFunctionParameters:y,getLeftSidePathName:D,hasFlowShorthandAnnotationComment:O,hasNakedLeftSide:x,hasNode:v,isBitwiseOperator:E,startsWithNoLookaheadToken:F,shouldFlatten:k,getPrecedence:N,isCallExpression:T,isMemberExpression:_,isObjectProperty:R,isTSTypeExpression:W}=as();function ne(B,Z){let $=B.getParentNode();if(!$)return!1;let j=B.getName(),A=B.getNode();if(Z.__isInHtmlInterpolation&&!Z.bracketSpacing&&ue(A)&&ie(B))return!0;if(L(A))return!1;if(Z.parser!=="flow"&&O(B.getValue()))return!0;if(A.type==="Identifier"){if(A.extra&&A.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(A.name)||j==="left"&&(A.name==="async"&&!$.await||A.name==="let")&&$.type==="ForOfStatement")return!0;if(A.name==="let"){var M;let U=(M=B.findAncestor(q=>q.type==="ForOfStatement"))===null||M===void 0?void 0:M.left;if(U&&F(U,q=>q===A))return!0}if(j==="object"&&A.name==="let"&&$.type==="MemberExpression"&&$.computed&&!$.optional){let U=B.findAncestor(K=>K.type==="ExpressionStatement"||K.type==="ForStatement"||K.type==="ForInStatement"),q=U?U.type==="ExpressionStatement"?U.expression:U.type==="ForStatement"?U.init:U.left:void 0;if(q&&F(q,K=>K===A))return!0}return!1}if(A.type==="ObjectExpression"||A.type==="FunctionExpression"||A.type==="ClassExpression"||A.type==="DoExpression"){var Q;let U=(Q=B.findAncestor(q=>q.type==="ExpressionStatement"))===null||Q===void 0?void 0:Q.expression;if(U&&F(U,q=>q===A))return!0}switch($.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(j==="superClass"&&(A.type==="ArrowFunctionExpression"||A.type==="AssignmentExpression"||A.type==="AwaitExpression"||A.type==="BinaryExpression"||A.type==="ConditionalExpression"||A.type==="LogicalExpression"||A.type==="NewExpression"||A.type==="ObjectExpression"||A.type==="SequenceExpression"||A.type==="TaggedTemplateExpression"||A.type==="UnaryExpression"||A.type==="UpdateExpression"||A.type==="YieldExpression"||A.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return Be(B,Z)||A.type==="SequenceExpression";case"Decorator":{if(j==="expression"){if(_(A)&&A.computed)return!0;let U=!1,q=!1,K=A;for(;K;)switch(K.type){case"MemberExpression":q=!0,K=K.object;break;case"CallExpression":if(q||U)return Z.parser!=="typescript";U=!0,K=K.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return Z.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(j==="body"&&A.type!=="SequenceExpression"&&F(A,U=>U.type==="ObjectExpression"))return!0;break}}switch(A.type){case"UpdateExpression":if($.type==="UnaryExpression")return A.prefix&&(A.operator==="++"&&$.operator==="+"||A.operator==="--"&&$.operator==="-");case"UnaryExpression":switch($.type){case"UnaryExpression":return A.operator===$.operator&&(A.operator==="+"||A.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"BinaryExpression":return j==="left"&&$.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if($.type==="UpdateExpression"||A.operator==="in"&&re(B))return!0;if(A.operator==="|>"&&A.extra&&A.extra.parenthesized){let U=B.getParentNode(1);if(U.type==="BinaryExpression"&&U.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch($.type){case"TSSatisfiesExpression":case"TSAsExpression":return!W(A);case"ConditionalExpression":return W(A);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return j==="callee";case"ClassExpression":case"ClassDeclaration":return j==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"AssignmentExpression":case"AssignmentPattern":return j==="left"&&(A.type==="TSTypeAssertion"||W(A));case"LogicalExpression":if(A.type==="LogicalExpression")return $.operator!==A.operator;case"BinaryExpression":{let{operator:U,type:q}=A;if(!U&&q!=="TSTypeAssertion")return!0;let K=N(U),he=$.operator,Te=N(he);return Te>K||j==="right"&&Te===K||Te===K&&!k(he,U)?!0:Te<K&&U==="%"?he==="+"||he==="-":!!E(he)}default:return!1}case"SequenceExpression":switch($.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return j!=="expression";case"ArrowFunctionExpression":return j!=="body";default:return!0}case"YieldExpression":if($.type==="UnaryExpression"||$.type==="AwaitExpression"||W($)||$.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch($.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"ConditionalExpression":return j==="test";case"BinaryExpression":return!(!A.argument&&$.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(j==="extendsType"&&$.type==="TSConditionalType"){if(A.type==="TSConditionalType")return!0;let{typeAnnotation:U}=A.returnType||A.typeAnnotation;if(U.type==="TSTypePredicate"&&U.typeAnnotation&&(U=U.typeAnnotation.typeAnnotation),U.type==="TSInferType"&&U.typeParameter.constraint)return!0}if(j==="checkType"&&$.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if(($.type==="TSUnionType"||$.type==="TSIntersectionType")&&$.types.length>1&&(!A.types||A.types.length>1))return!0;case"TSInferType":if(A.type==="TSInferType"&&$.type==="TSRestType")return!1;case"TSTypeOperator":return $.type==="TSArrayType"||$.type==="TSOptionalType"||$.type==="TSRestType"||j==="objectType"&&$.type==="TSIndexedAccessType"||$.type==="TSTypeOperator"||$.type==="TSTypeAnnotation"&&B.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return j==="objectType"&&$.type==="TSIndexedAccessType"||j==="elementType"&&$.type==="TSArrayType";case"TypeofTypeAnnotation":return j==="objectType"&&($.type==="IndexedAccessType"||$.type==="OptionalIndexedAccessType")||j==="elementType"&&$.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return $.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return $.type==="ArrayTypeAnnotation"||$.type==="NullableTypeAnnotation"||$.type==="IntersectionTypeAnnotation"||$.type==="UnionTypeAnnotation"||j==="objectType"&&($.type==="IndexedAccessType"||$.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return $.type==="ArrayTypeAnnotation"||j==="objectType"&&($.type==="IndexedAccessType"||$.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let U=$.type==="NullableTypeAnnotation"?B.getParentNode(1):$;return U.type==="UnionTypeAnnotation"||U.type==="IntersectionTypeAnnotation"||U.type==="ArrayTypeAnnotation"||j==="objectType"&&(U.type==="IndexedAccessType"||U.type==="OptionalIndexedAccessType")||U.type==="NullableTypeAnnotation"||$.type==="FunctionTypeParam"&&$.name===null&&y(A).some(q=>q.typeAnnotation&&q.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return j==="objectType"&&$.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof A.value=="string"&&$.type==="ExpressionStatement"&&!$.directive){let U=B.getParentNode(1);return U.type==="Program"||U.type==="BlockStatement"}return j==="object"&&$.type==="MemberExpression"&&typeof A.value=="number";case"AssignmentExpression":{let U=B.getParentNode(1);return j==="body"&&$.type==="ArrowFunctionExpression"?!0:j==="key"&&($.type==="ClassProperty"||$.type==="PropertyDefinition")&&$.computed||(j==="init"||j==="update")&&$.type==="ForStatement"?!1:$.type==="ExpressionStatement"?A.left.type==="ObjectPattern":!(j==="key"&&$.type==="TSPropertySignature"||$.type==="AssignmentExpression"||$.type==="SequenceExpression"&&U&&U.type==="ForStatement"&&(U.init===$||U.update===$)||j==="value"&&$.type==="Property"&&U&&U.type==="ObjectPattern"&&U.properties.includes($)||$.type==="NGChainedExpression")}case"ConditionalExpression":switch($.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"ConditionalExpression":return j==="test";case"MemberExpression":case"OptionalMemberExpression":return j==="object";default:return!1}case"FunctionExpression":switch($.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch($.type){case"BinaryExpression":return $.operator!=="|>"||A.extra&&A.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return j==="test";default:return!1}case"ClassExpression":if(m(A.decorators))return!0;switch($.type){case"NewExpression":return j==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let U=B.getParentNode(1);if(j==="object"&&$.type==="MemberExpression"||j==="callee"&&($.type==="CallExpression"||$.type==="NewExpression")||$.type==="TSNonNullExpression"&&U.type==="MemberExpression"&&U.object===$)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(j==="callee"&&($.type==="BindExpression"||$.type==="NewExpression")){let U=A;for(;U;)switch(U.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":U=U.object;break;case"TaggedTemplateExpression":U=U.tag;break;case"TSNonNullExpression":U=U.expression;break;default:return!1}}return!1;case"BindExpression":return j==="callee"&&($.type==="BindExpression"||$.type==="NewExpression")||j==="object"&&_($);case"NGPipeExpression":return!($.type==="NGRoot"||$.type==="NGMicrosyntaxExpression"||$.type==="ObjectProperty"&&!(A.extra&&A.extra.parenthesized)||$.type==="ArrayExpression"||T($)&&$.arguments[j]===A||j==="right"&&$.type==="NGPipeExpression"||j==="property"&&$.type==="MemberExpression"||$.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return j==="callee"||j==="left"&&$.type==="BinaryExpression"&&$.operator==="<"||$.type!=="ArrayExpression"&&$.type!=="ArrowFunctionExpression"&&$.type!=="AssignmentExpression"&&$.type!=="AssignmentPattern"&&$.type!=="BinaryExpression"&&$.type!=="NewExpression"&&$.type!=="ConditionalExpression"&&$.type!=="ExpressionStatement"&&$.type!=="JsExpressionRoot"&&$.type!=="JSXAttribute"&&$.type!=="JSXElement"&&$.type!=="JSXExpressionContainer"&&$.type!=="JSXFragment"&&$.type!=="LogicalExpression"&&!T($)&&!R($)&&$.type!=="ReturnStatement"&&$.type!=="ThrowStatement"&&$.type!=="TypeCastExpression"&&$.type!=="VariableDeclarator"&&$.type!=="YieldExpression";case"TypeAnnotation":return j==="returnType"&&$.type==="ArrowFunctionExpression"&&z(A)}return!1}function L(B){return B.type==="BlockStatement"||B.type==="BreakStatement"||B.type==="ClassBody"||B.type==="ClassDeclaration"||B.type==="ClassMethod"||B.type==="ClassProperty"||B.type==="PropertyDefinition"||B.type==="ClassPrivateProperty"||B.type==="ContinueStatement"||B.type==="DebuggerStatement"||B.type==="DeclareClass"||B.type==="DeclareExportAllDeclaration"||B.type==="DeclareExportDeclaration"||B.type==="DeclareFunction"||B.type==="DeclareInterface"||B.type==="DeclareModule"||B.type==="DeclareModuleExports"||B.type==="DeclareVariable"||B.type==="DoWhileStatement"||B.type==="EnumDeclaration"||B.type==="ExportAllDeclaration"||B.type==="ExportDefaultDeclaration"||B.type==="ExportNamedDeclaration"||B.type==="ExpressionStatement"||B.type==="ForInStatement"||B.type==="ForOfStatement"||B.type==="ForStatement"||B.type==="FunctionDeclaration"||B.type==="IfStatement"||B.type==="ImportDeclaration"||B.type==="InterfaceDeclaration"||B.type==="LabeledStatement"||B.type==="MethodDefinition"||B.type==="ReturnStatement"||B.type==="SwitchStatement"||B.type==="ThrowStatement"||B.type==="TryStatement"||B.type==="TSDeclareFunction"||B.type==="TSEnumDeclaration"||B.type==="TSImportEqualsDeclaration"||B.type==="TSInterfaceDeclaration"||B.type==="TSModuleDeclaration"||B.type==="TSNamespaceExportDeclaration"||B.type==="TypeAlias"||B.type==="VariableDeclaration"||B.type==="WhileStatement"||B.type==="WithStatement"}function re(B){let Z=0,$=B.getValue();for(;$;){let j=B.getParentNode(Z++);if(j&&j.type==="ForStatement"&&j.init===$)return!0;$=j}return!1}function z(B){return v(B,Z=>Z.type==="ObjectTypeAnnotation"&&v(Z,$=>$.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ue(B){switch(B.type){case"ObjectExpression":return!0;default:return!1}}function ie(B){let Z=B.getValue(),$=B.getParentNode(),j=B.getName();switch($.type){case"NGPipeExpression":if(typeof j=="number"&&$.arguments[j]===Z&&$.arguments.length-1===j)return B.callParent(ie);break;case"ObjectProperty":if(j==="value"){let A=B.getParentNode(1);return f(A.properties)===$}break;case"BinaryExpression":case"LogicalExpression":if(j==="right")return B.callParent(ie);break;case"ConditionalExpression":if(j==="alternate")return B.callParent(ie);break;case"UnaryExpression":if($.prefix)return B.callParent(ie);break}return!1}function Be(B,Z){let $=B.getValue(),j=B.getParentNode();return $.type==="FunctionExpression"||$.type==="ClassExpression"?j.type==="ExportDefaultDeclaration"||!ne(B,Z):!x($)||j.type!=="ExportDefaultDeclaration"&&ne(B,Z)?!1:B.call(A=>Be(A,Z),...D(B,$))}h.exports=ne}}),Ll=Oe({"src/language-js/print-preprocess.js"(u,h){Ye();function f(m,y){switch(y.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},m),{},{type:y.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:m,comments:[],rootMarker:y.rootMarker});default:return m}}h.exports=f}}),hh=Oe({"src/language-js/print/html-binding.js"(u,h){Ye();var{builders:{join:f,line:m,group:y,softline:D,indent:O}}=Ln();function x(E,F,k){let N=E.getValue();if(F.__onHtmlBindingRoot&&E.getName()===null&&F.__onHtmlBindingRoot(N,F),N.type==="File"){if(F.__isVueForBindingLeft)return E.call(T=>{let _=f([",",m],T.map(k,"params")),{params:R}=T.getValue();return R.length===1?_:["(",O([D,y(_)]),D,")"]},"program","body",0);if(F.__isVueBindings)return E.call(T=>f([",",m],T.map(k,"params")),"program","body",0)}}function v(E){switch(E.type){case"MemberExpression":switch(E.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return v(E.object)}return!1;case"Identifier":return!0;default:return!1}}h.exports={isVueEventBindingExpression:v,printHtmlBinding:x}}}),Sa=Oe({"src/language-js/print/binaryish.js"(u,h){Ye();var{printComments:f}=Zi(),{getLast:m}=fi(),{builders:{join:y,line:D,softline:O,group:x,indent:v,align:E,indentIfBreak:F},utils:{cleanDoc:k,getDocParts:N,isConcat:T}}=Ln(),{hasLeadingOwnLineComment:_,isBinaryish:R,isJsxNode:W,shouldFlatten:ne,hasComment:L,CommentCheckFlags:re,isCallExpression:z,isMemberExpression:ue,isObjectProperty:ie,isEnabledHackPipeline:Be}=as(),B=0;function Z(A,M,Q){let U=A.getValue(),q=A.getParentNode(),K=A.getParentNode(1),he=U!==q.body&&(q.type==="IfStatement"||q.type==="WhileStatement"||q.type==="SwitchStatement"||q.type==="DoWhileStatement"),Te=Be(M)&&U.operator==="|>",_e=$(A,Q,M,!1,he);if(he)return _e;if(Te)return x(_e);if(z(q)&&q.callee===U||q.type==="UnaryExpression"||ue(q)&&!q.computed)return x([v([O,..._e]),O]);let Pe=q.type==="ReturnStatement"||q.type==="ThrowStatement"||q.type==="JSXExpressionContainer"&&K.type==="JSXAttribute"||U.operator!=="|"&&q.type==="JsExpressionRoot"||U.type!=="NGPipeExpression"&&(q.type==="NGRoot"&&M.parser==="__ng_binding"||q.type==="NGMicrosyntaxExpression"&&K.type==="NGMicrosyntax"&&K.body.length===1)||U===q.body&&q.type==="ArrowFunctionExpression"||U!==q.body&&q.type==="ForStatement"||q.type==="ConditionalExpression"&&K.type!=="ReturnStatement"&&K.type!=="ThrowStatement"&&!z(K)||q.type==="TemplateLiteral",ze=q.type==="AssignmentExpression"||q.type==="VariableDeclarator"||q.type==="ClassProperty"||q.type==="PropertyDefinition"||q.type==="TSAbstractPropertyDefinition"||q.type==="ClassPrivateProperty"||ie(q),ye=R(U.left)&&ne(U.operator,U.left.operator);if(Pe||j(U)&&!ye||!j(U)&&ze)return x(_e);if(_e.length===0)return"";let ct=W(U.right),Fe=_e.findIndex(Ne=>typeof Ne!="string"&&!Array.isArray(Ne)&&Ne.type==="group"),Se=_e.slice(0,Fe===-1?1:Fe+1),lt=_e.slice(Se.length,ct?-1:void 0),kt=Symbol("logicalChain-"+ ++B),ft=x([...Se,v(lt)],{id:kt});if(!ct)return ft;let jt=m(_e);return x([ft,F(jt,{groupId:kt})])}function $(A,M,Q,U,q){let K=A.getValue();if(!R(K))return[x(M())];let he=[];ne(K.operator,K.left.operator)?he=A.call(lt=>$(lt,M,Q,!0,q),"left"):he.push(x(M("left")));let Te=j(K),_e=(K.operator==="|>"||K.type==="NGPipeExpression"||K.operator==="|"&&Q.parser==="__vue_expression")&&!_(Q.originalText,K.right),Pe=K.type==="NGPipeExpression"?"|":K.operator,ze=K.type==="NGPipeExpression"&&K.arguments.length>0?x(v([D,": ",y([D,": "],A.map(M,"arguments").map(lt=>E(2,x(lt))))])):"",ye;if(Te)ye=[Pe," ",M("right"),ze];else{let lt=Be(Q)&&Pe==="|>"?A.call(kt=>$(kt,M,Q,!0,q),"right"):M("right");ye=[_e?D:"",Pe,_e?" ":D,lt,ze]}let ct=A.getParentNode(),Fe=L(K.left,re.Trailing|re.Line),Se=Fe||!(q&&K.type==="LogicalExpression")&&ct.type!==K.type&&K.left.type!==K.type&&K.right.type!==K.type;if(he.push(_e?"":" ",Se?x(ye,{shouldBreak:Fe}):ye),U&&L(K)){let lt=k(f(A,he,Q));return T(lt)||lt.type==="fill"?N(lt):[lt]}return he}function j(A){return A.type!=="LogicalExpression"?!1:!!(A.right.type==="ObjectExpression"&&A.right.properties.length>0||A.right.type==="ArrayExpression"&&A.right.elements.length>0||W(A.right))}h.exports={printBinaryishExpression:Z,shouldInlineLogicalExpression:j}}}),op=Oe({"src/language-js/print/angular.js"(u,h){Ye();var{builders:{join:f,line:m,group:y}}=Ln(),{hasNode:D,hasComment:O,getComments:x}=as(),{printBinaryishExpression:v}=Sa();function E(N,T,_){let R=N.getValue();if(R.type.startsWith("NG"))switch(R.type){case"NGRoot":return[_("node"),O(R.node)?" //"+x(R.node)[0].value.trimEnd():""];case"NGPipeExpression":return v(N,T,_);case"NGChainedExpression":return y(f([";",m],N.map(W=>k(W)?_():["(",_(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[R.prefix,": ",R.value.trim()];case"NGMicrosyntax":return N.map((W,ne)=>[ne===0?"":F(W.getValue(),ne,R)?" ":[";",m],_()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(R.name)?R.name:JSON.stringify(R.name);case"NGMicrosyntaxExpression":return[_("expression"),R.alias===null?"":[" as ",_("alias")]];case"NGMicrosyntaxKeyedExpression":{let W=N.getName(),ne=N.getParentNode(),L=F(R,W,ne)||(W===1&&(R.key.name==="then"||R.key.name==="else")||W===2&&R.key.name==="else"&&ne.body[W-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[W-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[_("key"),L?" ":": ",_("expression")]}case"NGMicrosyntaxLet":return["let ",_("key"),R.value===null?"":[" = ",_("value")]];case"NGMicrosyntaxAs":return[_("key")," as ",_("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(R.type)}.`)}}function F(N,T,_){return N.type==="NGMicrosyntaxKeyedExpression"&&N.key.name==="of"&&T===1&&_.body[0].type==="NGMicrosyntaxLet"&&_.body[0].value===null}function k(N){return D(N.getValue(),T=>{switch(T.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}h.exports={printAngular:E}}}),bc=Oe({"src/language-js/print/jsx.js"(u,h){Ye();var{printComments:f,printDanglingComments:m,printCommentsSeparately:y}=Zi(),{builders:{line:D,hardline:O,softline:x,group:v,indent:E,conditionalGroup:F,fill:k,ifBreak:N,lineSuffixBoundary:T,join:_},utils:{willBreak:R}}=Ln(),{getLast:W,getPreferredQuote:ne}=fi(),{isJsxNode:L,rawText:re,isCallExpression:z,isStringLiteral:ue,isBinaryish:ie,hasComment:Be,CommentCheckFlags:B,hasNodeIgnoreComment:Z}=as(),$=fu(),{willPrintOwnComments:j}=jl(),A=Ve=>Ve===""||Ve===D||Ve===O||Ve===x;function M(Ve,mt,Et){let zt=Ve.getValue();if(zt.type==="JSXElement"&&It(zt))return[Et("openingElement"),Et("closingElement")];let ur=zt.type==="JSXElement"?Et("openingElement"):Et("openingFragment"),xr=zt.type==="JSXElement"?Et("closingElement"):Et("closingFragment");if(zt.children.length===1&&zt.children[0].type==="JSXExpressionContainer"&&(zt.children[0].expression.type==="TemplateLiteral"||zt.children[0].expression.type==="TaggedTemplateExpression"))return[ur,...Ve.map(Et,"children"),xr];zt.children=zt.children.map(X=>Rr(X)?{type:"JSXText",value:" ",raw:" "}:X);let gn=zt.children.some(L),Si=zt.children.filter(X=>X.type==="JSXExpressionContainer").length>1,di=zt.type==="JSXElement"&&zt.openingElement.attributes.length>1,dn=R(ur)||gn||di||Si,$n=Ve.getParentNode().rootMarker==="mdx",$t=mt.singleQuote?"{' '}":'{" "}',je=$n?" ":N([$t,x]," "),Qt=zt.openingElement&&zt.openingElement.name&&zt.openingElement.name.name==="fbt",et=Q(Ve,mt,Et,je,Qt),Nt=zt.children.some(X=>Mt(X));for(let X=et.length-2;X>=0;X--){let We=et[X]===""&&et[X+1]==="",_t=et[X]===O&&et[X+1]===""&&et[X+2]===O,gr=(et[X]===x||et[X]===O)&&et[X+1]===""&&et[X+2]===je,wr=et[X]===je&&et[X+1]===""&&(et[X+2]===x||et[X+2]===O),hn=et[X]===je&&et[X+1]===""&&et[X+2]===je,br=et[X]===x&&et[X+1]===""&&et[X+2]===O||et[X]===O&&et[X+1]===""&&et[X+2]===x;_t&&Nt||We||gr||hn||br?et.splice(X,2):wr&&et.splice(X+1,2)}for(;et.length>0&&A(W(et));)et.pop();for(;et.length>1&&A(et[0])&&A(et[1]);)et.shift(),et.shift();let Wr=[];for(let[X,We]of et.entries()){if(We===je){if(X===1&&et[X-1]===""){if(et.length===2){Wr.push($t);continue}Wr.push([$t,O]);continue}else if(X===et.length-1){Wr.push($t);continue}else if(et[X-1]===""&&et[X-2]===O){Wr.push($t);continue}}Wr.push(We),R(We)&&(dn=!0)}let $r=Nt?k(Wr):v(Wr,{shouldBreak:!0});if($n)return $r;let Ut=v([ur,E([O,$r]),O,xr]);return dn?Ut:F([v([ur,...et,xr]),Ut])}function Q(Ve,mt,Et,zt,ur){let xr=[];return Ve.each((gn,Si,di)=>{let dn=gn.getValue();if(dn.type==="JSXText"){let $n=re(dn);if(Mt(dn)){let $t=$n.split(jt);if($t[0]===""){if(xr.push(""),$t.shift(),/\n/.test($t[0])){let Qt=di[Si+1];xr.push(q(ur,$t[1],dn,Qt))}else xr.push(zt);$t.shift()}let je;if(W($t)===""&&($t.pop(),je=$t.pop()),$t.length===0)return;for(let[Qt,et]of $t.entries())Qt%2===1?xr.push(D):xr.push(et);if(je!==void 0)if(/\n/.test(je)){let Qt=di[Si+1];xr.push(q(ur,W(xr),dn,Qt))}else xr.push(zt);else{let Qt=di[Si+1];xr.push(U(ur,W(xr),dn,Qt))}}else/\n/.test($n)?$n.match(/\n/g).length>1&&xr.push("",O):xr.push("",zt)}else{let $n=Et();xr.push($n);let $t=di[Si+1];if($t&&Mt($t)){let je=Je(re($t)).split(jt)[0];xr.push(U(ur,je,dn,$t))}else xr.push(O)}},"children"),xr}function U(Ve,mt,Et,zt){return Ve?"":Et.type==="JSXElement"&&!Et.closingElement||zt&&zt.type==="JSXElement"&&!zt.closingElement?mt.length===1?x:O:x}function q(Ve,mt,Et,zt){return Ve?O:mt.length===1?Et.type==="JSXElement"&&!Et.closingElement||zt&&zt.type==="JSXElement"&&!zt.closingElement?O:x:O}function K(Ve,mt,Et){let zt=Ve.getParentNode();if(!zt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[zt.type])return mt;let ur=Ve.match(void 0,gn=>gn.type==="ArrowFunctionExpression",z,gn=>gn.type==="JSXExpressionContainer"),xr=$(Ve,Et);return v([xr?"":N("("),E([x,mt]),x,xr?"":N(")")],{shouldBreak:ur})}function he(Ve,mt,Et){let zt=Ve.getValue(),ur=[];if(ur.push(Et("name")),zt.value){let xr;if(ue(zt.value)){let gn=re(zt.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Si,quote:di,regex:dn}=ne(gn,mt.jsxSingleQuote?"'":'"');gn=gn.replace(dn,Si);let{leading:$n,trailing:$t}=Ve.call(()=>y(Ve,mt),"value");xr=[$n,di,gn,di,$t]}else xr=Et("value");ur.push("=",xr)}return ur}function Te(Ve,mt,Et){let zt=Ve.getValue(),ur=(xr,gn)=>xr.type==="JSXEmptyExpression"||!Be(xr)&&(xr.type==="ArrayExpression"||xr.type==="ObjectExpression"||xr.type==="ArrowFunctionExpression"||xr.type==="AwaitExpression"&&(ur(xr.argument,xr)||xr.argument.type==="JSXElement")||z(xr)||xr.type==="FunctionExpression"||xr.type==="TemplateLiteral"||xr.type==="TaggedTemplateExpression"||xr.type==="DoExpression"||L(gn)&&(xr.type==="ConditionalExpression"||ie(xr)));return ur(zt.expression,Ve.getParentNode(0))?v(["{",Et("expression"),T,"}"]):v(["{",E([x,Et("expression")]),x,T,"}"])}function _e(Ve,mt,Et){let zt=Ve.getValue(),ur=zt.name&&Be(zt.name)||zt.typeParameters&&Be(zt.typeParameters);if(zt.selfClosing&&zt.attributes.length===0&&!ur)return["<",Et("name"),Et("typeParameters")," />"];if(zt.attributes&&zt.attributes.length===1&&zt.attributes[0].value&&ue(zt.attributes[0].value)&&!zt.attributes[0].value.value.includes(`
`)&&!ur&&!Be(zt.attributes[0]))return v(["<",Et("name"),Et("typeParameters")," ",...Ve.map(Et,"attributes"),zt.selfClosing?" />":">"]);let xr=zt.attributes&&zt.attributes.some(Si=>Si.value&&ue(Si.value)&&Si.value.value.includes(`
`)),gn=mt.singleAttributePerLine&&zt.attributes.length>1?O:D;return v(["<",Et("name"),Et("typeParameters"),E(Ve.map(()=>[gn,Et()],"attributes")),...Pe(zt,mt,ur)],{shouldBreak:xr})}function Pe(Ve,mt,Et){return Ve.selfClosing?[D,"/>"]:ze(Ve,mt,Et)?[">"]:[x,">"]}function ze(Ve,mt,Et){let zt=Ve.attributes.length>0&&Be(W(Ve.attributes),B.Trailing);return Ve.attributes.length===0&&!Et||(mt.bracketSameLine||mt.jsxBracketSameLine)&&(!Et||Ve.attributes.length>0)&&!zt}function ye(Ve,mt,Et){let zt=Ve.getValue(),ur=[];ur.push("</");let xr=Et("name");return Be(zt.name,B.Leading|B.Line)?ur.push(E([O,xr]),O):Be(zt.name,B.Leading|B.Block)?ur.push(" ",xr):ur.push(xr),ur.push(">"),ur}function ct(Ve,mt){let Et=Ve.getValue(),zt=Be(Et),ur=Be(Et,B.Line),xr=Et.type==="JSXOpeningFragment";return[xr?"<":"</",E([ur?O:zt&&!xr?" ":"",m(Ve,mt,!0)]),ur?O:"",">"]}function Fe(Ve,mt,Et){let zt=f(Ve,M(Ve,mt,Et),mt);return K(Ve,zt,mt)}function Se(Ve,mt){let Et=Ve.getValue(),zt=Be(Et,B.Line);return[m(Ve,mt,!zt),zt?O:""]}function lt(Ve,mt,Et){let zt=Ve.getValue();return["{",Ve.call(ur=>{let xr=["...",Et()],gn=ur.getValue();return!Be(gn)||!j(ur)?xr:[E([x,f(ur,xr,mt)]),x]},zt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function kt(Ve,mt,Et){let zt=Ve.getValue();if(zt.type.startsWith("JSX"))switch(zt.type){case"JSXAttribute":return he(Ve,mt,Et);case"JSXIdentifier":return String(zt.name);case"JSXNamespacedName":return _(":",[Et("namespace"),Et("name")]);case"JSXMemberExpression":return _(".",[Et("object"),Et("property")]);case"JSXSpreadAttribute":return lt(Ve,mt,Et);case"JSXSpreadChild":return lt(Ve,mt,Et);case"JSXExpressionContainer":return Te(Ve,mt,Et);case"JSXFragment":case"JSXElement":return Fe(Ve,mt,Et);case"JSXOpeningElement":return _e(Ve,mt,Et);case"JSXClosingElement":return ye(Ve,mt,Et);case"JSXOpeningFragment":case"JSXClosingFragment":return ct(Ve,mt);case"JSXEmptyExpression":return Se(Ve,mt);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(zt.type)}.`)}}var ft=`
\r `,jt=new RegExp("(["+ft+"]+)"),Ne=new RegExp("[^"+ft+"]"),Je=Ve=>Ve.replace(new RegExp("(?:^"+jt.source+"|"+jt.source+"$)"),"");function It(Ve){if(Ve.children.length===0)return!0;if(Ve.children.length>1)return!1;let mt=Ve.children[0];return mt.type==="JSXText"&&!Mt(mt)}function Mt(Ve){return Ve.type==="JSXText"&&(Ne.test(re(Ve))||!/\n/.test(re(Ve)))}function Rr(Ve){return Ve.type==="JSXExpressionContainer"&&ue(Ve.expression)&&Ve.expression.value===" "&&!Be(Ve.expression)}function rt(Ve){let mt=Ve.getValue(),Et=Ve.getParentNode();if(!Et||!mt||!L(mt)||!L(Et))return!1;let zt=Et.children.indexOf(mt),ur=null;for(let xr=zt;xr>0;xr--){let gn=Et.children[xr-1];if(!(gn.type==="JSXText"&&!Mt(gn))){ur=gn;break}}return ur&&ur.type==="JSXExpressionContainer"&&ur.expression.type==="JSXEmptyExpression"&&Z(ur.expression)}h.exports={hasJsxIgnoreComment:rt,printJsx:kt}}}),Bo=Oe({"src/language-js/print/misc.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{indent:m,join:y,line:D}}=Ln(),{isFlowAnnotationComment:O}=as();function x(W){let ne=W.getValue();return!ne.optional||ne.type==="Identifier"&&ne===W.getParentNode().key?"":ne.type==="OptionalCallExpression"||ne.type==="OptionalMemberExpression"&&ne.computed?"?.":"?"}function v(W){return W.getValue().definite||W.match(void 0,(ne,L)=>L==="id"&&ne.type==="VariableDeclarator"&&ne.definite)?"!":""}function E(W,ne,L){let re=W.getValue();return re.typeArguments?L("typeArguments"):re.typeParameters?L("typeParameters"):""}function F(W,ne,L){let re=W.getValue();if(!re.typeAnnotation)return"";let z=W.getParentNode(),ue=z.type==="DeclareFunction"&&z.id===re;return O(ne.originalText,re.typeAnnotation)?[" /*: ",L("typeAnnotation")," */"]:[ue?"":": ",L("typeAnnotation")]}function k(W,ne,L){return["::",L("callee")]}function N(W,ne,L){let re=W.getValue();return f(re.modifiers)?[y(" ",W.map(L,"modifiers"))," "]:""}function T(W,ne,L){return W.type==="EmptyStatement"?";":W.type==="BlockStatement"||L?[" ",ne]:m([D,ne])}function _(W,ne,L){return["...",L("argument"),F(W,ne,L)]}function R(W,ne){let L=W.slice(1,-1);if(L.includes('"')||L.includes("'"))return W;let re=ne.singleQuote?"'":'"';return re+L+re}h.exports={printOptionalToken:x,printDefiniteToken:v,printFunctionTypeParameters:E,printBindExpressionCallee:k,printTypeScriptModifiers:N,printTypeAnnotation:F,printRestSpread:_,adjustClause:T,printDirective:R}}}),Gu=Oe({"src/language-js/print/array.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{builders:{line:m,softline:y,hardline:D,group:O,indent:x,ifBreak:v,fill:E}}=Ln(),{getLast:F,hasNewline:k}=fi(),{shouldPrintComma:N,hasComment:T,CommentCheckFlags:_,isNextLineEmpty:R,isNumericLiteral:W,isSignedNumericLiteral:ne}=as(),{locStart:L}=Wi(),{printOptionalToken:re,printTypeAnnotation:z}=Bo();function ue(Z,$,j){let A=Z.getValue(),M=[],Q=A.type==="TupleExpression"?"#[":"[",U="]";if(A.elements.length===0)T(A,_.Dangling)?M.push(O([Q,f(Z,$),y,U])):M.push(Q,U);else{let q=F(A.elements),K=!(q&&q.type==="RestElement"),he=q===null,Te=Symbol("array"),_e=!$.__inJestEach&&A.elements.length>1&&A.elements.every((ye,ct,Fe)=>{let Se=ye&&ye.type;if(Se!=="ArrayExpression"&&Se!=="ObjectExpression")return!1;let lt=Fe[ct+1];if(lt&&Se!==lt.type)return!1;let kt=Se==="ArrayExpression"?"elements":"properties";return ye[kt]&&ye[kt].length>1}),Pe=ie(A,$),ze=K?he?",":N($)?Pe?v(",","",{groupId:Te}):v(","):"":"";M.push(O([Q,x([y,Pe?B(Z,$,j,ze):[Be(Z,$,"elements",j),ze],f(Z,$,!0)]),y,U],{shouldBreak:_e,id:Te}))}return M.push(re(Z),z(Z,$,j)),M}function ie(Z,$){return Z.elements.length>1&&Z.elements.every(j=>j&&(W(j)||ne(j)&&!T(j.argument))&&!T(j,_.Trailing|_.Line,A=>!k($.originalText,L(A),{backwards:!0})))}function Be(Z,$,j,A){let M=[],Q=[];return Z.each(U=>{M.push(Q,O(A())),Q=[",",m],U.getValue()&&R(U.getValue(),$)&&Q.push(y)},j),M}function B(Z,$,j,A){let M=[];return Z.each((Q,U,q)=>{let K=U===q.length-1;M.push([j(),K?A:","]),K||M.push(R(Q.getValue(),$)?[D,D]:T(q[U+1],_.Leading|_.Line)?D:m)},"elements"),E(M)}h.exports={printArray:ue,printArrayItems:Be,isConciselyPrintedArray:ie}}}),ap=Oe({"src/language-js/print/call-arguments.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{getLast:m,getPenultimate:y}=fi(),{getFunctionParameters:D,hasComment:O,CommentCheckFlags:x,isFunctionCompositionArgs:v,isJsxNode:E,isLongCurriedCallExpression:F,shouldPrintComma:k,getCallArguments:N,iterateCallArgumentsPath:T,isNextLineEmpty:_,isCallExpression:R,isStringLiteral:W,isObjectProperty:ne,isTSTypeExpression:L}=as(),{builders:{line:re,hardline:z,softline:ue,group:ie,indent:Be,conditionalGroup:B,ifBreak:Z,breakParent:$},utils:{willBreak:j}}=Ln(),{ArgExpansionBailout:A}=vi(),{isConciselyPrintedArray:M}=Gu();function Q(Pe,ze,ye){let ct=Pe.getValue(),Fe=ct.type==="ImportExpression",Se=N(ct);if(Se.length===0)return["(",f(Pe,ze,!0),")"];if(he(Se))return["(",ye(["arguments",0]),", ",ye(["arguments",1]),")"];let lt=!1,kt=!1,ft=Se.length-1,jt=[];T(Pe,(rt,Ve)=>{let mt=rt.getNode(),Et=[ye()];Ve===ft||(_(mt,ze)?(Ve===0&&(kt=!0),lt=!0,Et.push(",",z,z)):Et.push(",",re)),jt.push(Et)});let Ne=!(Fe||ct.callee&&ct.callee.type==="Import")&&k(ze,"all")?",":"";function Je(){return ie(["(",Be([re,...jt]),Ne,re,")"],{shouldBreak:!0})}if(lt||Pe.getParentNode().type!=="Decorator"&&v(Se))return Je();let It=K(Se),Mt=q(Se,ze);if(It||Mt){if(It?jt.slice(1).some(j):jt.slice(0,-1).some(j))return Je();let rt=[];try{Pe.try(()=>{T(Pe,(Ve,mt)=>{It&&mt===0&&(rt=[[ye([],{expandFirstArg:!0}),jt.length>1?",":"",kt?z:re,kt?z:""],...jt.slice(1)]),Mt&&mt===ft&&(rt=[...jt.slice(0,-1),ye([],{expandLastArg:!0})])})})}catch(Ve){if(Ve instanceof A)return Je();throw Ve}return[jt.some(j)?$:"",B([["(",...rt,")"],It?["(",ie(rt[0],{shouldBreak:!0}),...rt.slice(1),")"]:["(",...jt.slice(0,-1),ie(m(rt),{shouldBreak:!0}),")"],Je()])]}let Rr=["(",Be([ue,...jt]),Z(Ne),ue,")"];return F(Pe)?Rr:ie(Rr,{shouldBreak:jt.some(j)||lt})}function U(Pe){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pe.type==="ObjectExpression"&&(Pe.properties.length>0||O(Pe))||Pe.type==="ArrayExpression"&&(Pe.elements.length>0||O(Pe))||Pe.type==="TSTypeAssertion"&&U(Pe.expression)||L(Pe)&&U(Pe.expression)||Pe.type==="FunctionExpression"||Pe.type==="ArrowFunctionExpression"&&(!Pe.returnType||!Pe.returnType.typeAnnotation||Pe.returnType.typeAnnotation.type!=="TSTypeReference"||Te(Pe.body))&&(Pe.body.type==="BlockStatement"||Pe.body.type==="ArrowFunctionExpression"&&U(Pe.body,!0)||Pe.body.type==="ObjectExpression"||Pe.body.type==="ArrayExpression"||!ze&&(R(Pe.body)||Pe.body.type==="ConditionalExpression")||E(Pe.body))||Pe.type==="DoExpression"||Pe.type==="ModuleExpression"}function q(Pe,ze){let ye=m(Pe),ct=y(Pe);return!O(ye,x.Leading)&&!O(ye,x.Trailing)&&U(ye)&&(!ct||ct.type!==ye.type)&&(Pe.length!==2||ct.type!=="ArrowFunctionExpression"||ye.type!=="ArrayExpression")&&!(Pe.length>1&&ye.type==="ArrayExpression"&&M(ye,ze))}function K(Pe){if(Pe.length!==2)return!1;let[ze,ye]=Pe;return ze.type==="ModuleExpression"&&_e(ye)?!0:!O(ze)&&(ze.type==="FunctionExpression"||ze.type==="ArrowFunctionExpression"&&ze.body.type==="BlockStatement")&&ye.type!=="FunctionExpression"&&ye.type!=="ArrowFunctionExpression"&&ye.type!=="ConditionalExpression"&&!U(ye)}function he(Pe){return Pe.length===2&&Pe[0].type==="ArrowFunctionExpression"&&D(Pe[0]).length===0&&Pe[0].body.type==="BlockStatement"&&Pe[1].type==="ArrayExpression"&&!Pe.some(ze=>O(ze))}function Te(Pe){return Pe.type==="BlockStatement"&&(Pe.body.some(ze=>ze.type!=="EmptyStatement")||O(Pe,x.Dangling))}function _e(Pe){return Pe.type==="ObjectExpression"&&Pe.properties.length===1&&ne(Pe.properties[0])&&Pe.properties[0].key.type==="Identifier"&&Pe.properties[0].key.name==="type"&&W(Pe.properties[0].value)&&Pe.properties[0].value.value==="module"}h.exports=Q}}),Xl=Oe({"src/language-js/print/member.js"(u,h){Ye();var{builders:{softline:f,group:m,indent:y,label:D}}=Ln(),{isNumericLiteral:O,isMemberExpression:x,isCallExpression:v}=as(),{printOptionalToken:E}=Bo();function F(N,T,_){let R=N.getValue(),W=N.getParentNode(),ne,L=0;do ne=N.getParentNode(L),L++;while(ne&&(x(ne)||ne.type==="TSNonNullExpression"));let re=_("object"),z=k(N,T,_),ue=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||R.computed||R.object.type==="Identifier"&&R.property.type==="Identifier"&&!x(W)||(W.type==="AssignmentExpression"||W.type==="VariableDeclarator")&&(v(R.object)&&R.object.arguments.length>0||R.object.type==="TSNonNullExpression"&&v(R.object.expression)&&R.object.expression.arguments.length>0||re.label==="member-chain");return D(re.label==="member-chain"?"member-chain":"member",[re,ue?z:m(y([f,z]))])}function k(N,T,_){let R=_("property"),W=N.getValue(),ne=E(N);return W.computed?!W.property||O(W.property)?[ne,"[",R,"]"]:m([ne,"[",y([f,R]),f,"]"]):[ne,".",R]}h.exports={printMemberExpression:F,printMemberLookup:k}}}),ph=Oe({"src/language-js/print/member-chain.js"(u,h){Ye();var{printComments:f}=Zi(),{getLast:m,isNextLineEmptyAfterIndex:y,getNextNonSpaceNonCommentCharacterIndex:D}=fi(),O=fu(),{isCallExpression:x,isMemberExpression:v,isFunctionOrArrowExpression:E,isLongCurriedCallExpression:F,isMemberish:k,isNumericLiteral:N,isSimpleCallArgument:T,hasComment:_,CommentCheckFlags:R,isNextLineEmpty:W}=as(),{locEnd:ne}=Wi(),{builders:{join:L,hardline:re,group:z,indent:ue,conditionalGroup:ie,breakParent:Be,label:B},utils:{willBreak:Z}}=Ln(),$=ap(),{printMemberLookup:j}=Xl(),{printOptionalToken:A,printFunctionTypeParameters:M,printBindExpressionCallee:Q}=Bo();function U(q,K,he){let Te=q.getParentNode(),_e=!Te||Te.type==="ExpressionStatement",Pe=[];function ze(dn){let{originalText:$n}=K,$t=D($n,dn,ne);return $n.charAt($t)===")"?$t!==!1&&y($n,$t+1):W(dn,K)}function ye(dn){let $n=dn.getValue();x($n)&&(k($n.callee)||x($n.callee))?(Pe.unshift({node:$n,printed:[f(dn,[A(dn),M(dn,K,he),$(dn,K,he)],K),ze($n)?re:""]}),dn.call($t=>ye($t),"callee")):k($n)?(Pe.unshift({node:$n,needsParens:O(dn,K),printed:f(dn,v($n)?j(dn,K,he):Q(dn,K,he),K)}),dn.call($t=>ye($t),"object")):$n.type==="TSNonNullExpression"?(Pe.unshift({node:$n,printed:f(dn,"!",K)}),dn.call($t=>ye($t),"expression")):Pe.unshift({node:$n,printed:he()})}let ct=q.getValue();Pe.unshift({node:ct,printed:[A(q),M(q,K,he),$(q,K,he)]}),ct.callee&&q.call(dn=>ye(dn),"callee");let Fe=[],Se=[Pe[0]],lt=1;for(;lt<Pe.length&&(Pe[lt].node.type==="TSNonNullExpression"||x(Pe[lt].node)||v(Pe[lt].node)&&Pe[lt].node.computed&&N(Pe[lt].node.property));++lt)Se.push(Pe[lt]);if(!x(Pe[0].node))for(;lt+1<Pe.length&&k(Pe[lt].node)&&k(Pe[lt+1].node);++lt)Se.push(Pe[lt]);Fe.push(Se),Se=[];let kt=!1;for(;lt<Pe.length;++lt){if(kt&&k(Pe[lt].node)){if(Pe[lt].node.computed&&N(Pe[lt].node.property)){Se.push(Pe[lt]);continue}Fe.push(Se),Se=[],kt=!1}(x(Pe[lt].node)||Pe[lt].node.type==="ImportExpression")&&(kt=!0),Se.push(Pe[lt]),_(Pe[lt].node,R.Trailing)&&(Fe.push(Se),Se=[],kt=!1)}Se.length>0&&Fe.push(Se);function ft(dn){return/^[A-Z]|^[$_]+$/.test(dn)}function jt(dn){return dn.length<=K.tabWidth}function Ne(dn){let $n=dn[1].length>0&&dn[1][0].node.computed;if(dn[0].length===1){let je=dn[0][0].node;return je.type==="ThisExpression"||je.type==="Identifier"&&(ft(je.name)||_e&&jt(je.name)||$n)}let $t=m(dn[0]).node;return v($t)&&$t.property.type==="Identifier"&&(ft($t.property.name)||$n)}let Je=Fe.length>=2&&!_(Fe[1][0].node)&&Ne(Fe);function It(dn){let $n=dn.map($t=>$t.printed);return dn.length>0&&m(dn).needsParens?["(",...$n,")"]:$n}function Mt(dn){return dn.length===0?"":ue(z([re,L(re,dn.map(It))]))}let Rr=Fe.map(It),rt=Rr,Ve=Je?3:2,mt=Fe.flat(),Et=mt.slice(1,-1).some(dn=>_(dn.node,R.Leading))||mt.slice(0,-1).some(dn=>_(dn.node,R.Trailing))||Fe[Ve]&&_(Fe[Ve][0].node,R.Leading);if(Fe.length<=Ve&&!Et)return F(q)?rt:z(rt);let zt=m(Fe[Je?1:0]).node,ur=!x(zt)&&ze(zt),xr=[It(Fe[0]),Je?Fe.slice(1,2).map(It):"",ur?re:"",Mt(Fe.slice(Je?2:1))],gn=Pe.map(dn=>{let{node:$n}=dn;return $n}).filter(x);function Si(){let dn=m(m(Fe)).node,$n=m(Rr);return x(dn)&&Z($n)&&gn.slice(0,-1).some($t=>$t.arguments.some(E))}let di;return Et||gn.length>2&&gn.some(dn=>!dn.arguments.every($n=>T($n,0)))||Rr.slice(0,-1).some(Z)||Si()?di=z(xr):di=[Z(rt)||ur?Be:"",ie([rt,xr])],B("member-chain",di)}h.exports=U}}),Vl=Oe({"src/language-js/print/call-expression.js"(u,h){Ye();var{builders:{join:f,group:m}}=Ln(),y=fu(),{getCallArguments:D,hasFlowAnnotationComment:O,isCallExpression:x,isMemberish:v,isStringLiteral:E,isTemplateOnItsOwnLine:F,isTestCall:k,iterateCallArgumentsPath:N}=as(),T=ph(),_=ap(),{printOptionalToken:R,printFunctionTypeParameters:W}=Bo();function ne(re,z,ue){let ie=re.getValue(),Be=re.getParentNode(),B=ie.type==="NewExpression",Z=ie.type==="ImportExpression",$=R(re),j=D(ie);if(j.length>0&&(!Z&&!B&&L(ie,Be)||j.length===1&&F(j[0],z.originalText)||!B&&k(ie,Be))){let Q=[];return N(re,()=>{Q.push(ue())}),[B?"new ":"",ue("callee"),$,W(re,z,ue),"(",f(", ",Q),")"]}let A=(z.parser==="babel"||z.parser==="babel-flow")&&ie.callee&&ie.callee.type==="Identifier"&&O(ie.callee.trailingComments);if(A&&(ie.callee.trailingComments[0].printed=!0),!Z&&!B&&v(ie.callee)&&!re.call(Q=>y(Q,z),"callee"))return T(re,z,ue);let M=[B?"new ":"",Z?"import":ue("callee"),$,A?`/*:: ${ie.callee.trailingComments[0].value.slice(2).trim()} */`:"",W(re,z,ue),_(re,z,ue)];return Z||x(ie.callee)?m(M):M}function L(re,z){if(re.callee.type!=="Identifier")return!1;if(re.callee.name==="require")return!0;if(re.callee.name==="define"){let ue=D(re);return z.type==="ExpressionStatement"&&(ue.length===1||ue.length===2&&ue[0].type==="ArrayExpression"||ue.length===3&&E(ue[0])&&ue[1].type==="ArrayExpression")}return!1}h.exports={printCallExpression:ne}}}),du=Oe({"src/language-js/print/assignment.js"(u,h){Ye();var{isNonEmptyArray:f,getStringWidth:m}=fi(),{builders:{line:y,group:D,indent:O,indentIfBreak:x,lineSuffixBoundary:v},utils:{cleanDoc:E,willBreak:F,canBreak:k}}=Ln(),{hasLeadingOwnLineComment:N,isBinaryish:T,isStringLiteral:_,isLiteral:R,isNumericLiteral:W,isCallExpression:ne,isMemberExpression:L,getCallArguments:re,rawText:z,hasComment:ue,isSignedNumericLiteral:ie,isObjectProperty:Be}=as(),{shouldInlineLogicalExpression:B}=Sa(),{printCallExpression:Z}=Vl();function $(Ne,Je,It,Mt,Rr,rt){let Ve=M(Ne,Je,It,Mt,rt),mt=It(rt,{assignmentLayout:Ve});switch(Ve){case"break-after-operator":return D([D(Mt),Rr,D(O([y,mt]))]);case"never-break-after-operator":return D([D(Mt),Rr," ",mt]);case"fluid":{let Et=Symbol("assignment");return D([D(Mt),Rr,D(O(y),{id:Et}),v,x(mt,{groupId:Et})])}case"break-lhs":return D([Mt,Rr," ",D(mt)]);case"chain":return[D(Mt),Rr,y,mt];case"chain-tail":return[D(Mt),Rr,O([y,mt])];case"chain-tail-arrow-chain":return[D(Mt),Rr,mt];case"only-left":return Mt}}function j(Ne,Je,It){let Mt=Ne.getValue();return $(Ne,Je,It,It("left"),[" ",Mt.operator],"right")}function A(Ne,Je,It){return $(Ne,Je,It,It("id")," =","init")}function M(Ne,Je,It,Mt,Rr){let rt=Ne.getValue(),Ve=rt[Rr];if(!Ve)return"only-left";let mt=!q(Ve);if(Ne.match(q,K,zt=>!mt||zt.type!=="ExpressionStatement"&&zt.type!=="VariableDeclaration"))return mt?Ve.type==="ArrowFunctionExpression"&&Ve.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!mt&&q(Ve.right)||N(Je.originalText,Ve))return"break-after-operator";if(Ve.type==="CallExpression"&&Ve.callee.name==="require"||Je.parser==="json5"||Je.parser==="json")return"never-break-after-operator";if(U(rt)||he(rt)||Pe(rt)||ze(rt)&&k(Mt))return"break-lhs";let Et=kt(rt,Mt,Je);return Ne.call(()=>Q(Ne,Je,It,Et),Rr)?"break-after-operator":Et||Ve.type==="TemplateLiteral"||Ve.type==="TaggedTemplateExpression"||Ve.type==="BooleanLiteral"||W(Ve)||Ve.type==="ClassExpression"?"never-break-after-operator":"fluid"}function Q(Ne,Je,It,Mt){let Rr=Ne.getValue();if(T(Rr)&&!B(Rr))return!0;switch(Rr.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:mt}=Rr;return T(mt)&&!B(mt)}case"ClassExpression":return f(Rr.decorators)}if(Mt)return!1;let rt=Rr,Ve=[];for(;;)if(rt.type==="UnaryExpression")rt=rt.argument,Ve.push("argument");else if(rt.type==="TSNonNullExpression")rt=rt.expression,Ve.push("expression");else break;return!!(_(rt)||Ne.call(()=>Fe(Ne,Je,It),...Ve))}function U(Ne){if(K(Ne)){let Je=Ne.left||Ne.id;return Je.type==="ObjectPattern"&&Je.properties.length>2&&Je.properties.some(It=>Be(It)&&(!It.shorthand||It.value&&It.value.type==="AssignmentPattern"))}return!1}function q(Ne){return Ne.type==="AssignmentExpression"}function K(Ne){return q(Ne)||Ne.type==="VariableDeclarator"}function he(Ne){let Je=Te(Ne);if(f(Je)){let It=Ne.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Je.length>1&&Je.some(Mt=>Mt[It]||Mt.default))return!0}return!1}function Te(Ne){return _e(Ne)&&Ne.typeParameters&&Ne.typeParameters.params?Ne.typeParameters.params:null}function _e(Ne){return Ne.type==="TSTypeAliasDeclaration"||Ne.type==="TypeAlias"}function Pe(Ne){if(Ne.type!=="VariableDeclarator")return!1;let{typeAnnotation:Je}=Ne.id;if(!Je||!Je.typeAnnotation)return!1;let It=ye(Je.typeAnnotation);return f(It)&&It.length>1&&It.some(Mt=>f(ye(Mt))||Mt.type==="TSConditionalType")}function ze(Ne){return Ne.type==="VariableDeclarator"&&Ne.init&&Ne.init.type==="ArrowFunctionExpression"}function ye(Ne){return ct(Ne)&&Ne.typeParameters&&Ne.typeParameters.params?Ne.typeParameters.params:null}function ct(Ne){return Ne.type==="TSTypeReference"||Ne.type==="GenericTypeAnnotation"}function Fe(Ne,Je,It){let Mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Rr=Ne.getValue(),rt=()=>Fe(Ne,Je,It,!0);if(Rr.type==="TSNonNullExpression")return Ne.call(rt,"expression");if(ne(Rr)){if(Z(Ne,Je,It).label==="member-chain")return!1;let Ve=re(Rr);return!(Ve.length===0||Ve.length===1&&lt(Ve[0],Je))||ft(Rr,It)?!1:Ne.call(rt,"callee")}return L(Rr)?Ne.call(rt,"object"):Mt&&(Rr.type==="Identifier"||Rr.type==="ThisExpression")}var Se=.25;function lt(Ne,Je){let{printWidth:It}=Je;if(ue(Ne))return!1;let Mt=It*Se;if(Ne.type==="ThisExpression"||Ne.type==="Identifier"&&Ne.name.length<=Mt||ie(Ne)&&!ue(Ne.argument))return!0;let Rr=Ne.type==="Literal"&&"regex"in Ne&&Ne.regex.pattern||Ne.type==="RegExpLiteral"&&Ne.pattern;return Rr?Rr.length<=Mt:_(Ne)?z(Ne).length<=Mt:Ne.type==="TemplateLiteral"?Ne.expressions.length===0&&Ne.quasis[0].value.raw.length<=Mt&&!Ne.quasis[0].value.raw.includes(`
`):R(Ne)}function kt(Ne,Je,It){if(!Be(Ne))return!1;Je=E(Je);let Mt=3;return typeof Je=="string"&&m(Je)<It.tabWidth+Mt}function ft(Ne,Je){let It=jt(Ne);if(f(It)){if(It.length>1)return!0;if(It.length===1){let Rr=It[0];if(Rr.type==="TSUnionType"||Rr.type==="UnionTypeAnnotation"||Rr.type==="TSIntersectionType"||Rr.type==="IntersectionTypeAnnotation"||Rr.type==="TSTypeLiteral"||Rr.type==="ObjectTypeAnnotation")return!0}let Mt=Ne.typeParameters?"typeParameters":"typeArguments";if(F(Je(Mt)))return!0}return!1}function jt(Ne){return Ne.typeParameters&&Ne.typeParameters.params||Ne.typeArguments&&Ne.typeArguments.params}h.exports={printVariableDeclarator:A,printAssignmentExpression:j,printAssignment:$,isArrowFunctionVariableDeclarator:ze}}}),vc=Oe({"src/language-js/print/function-parameters.js"(u,h){Ye();var{getNextNonSpaceNonCommentCharacter:f}=fi(),{printDanglingComments:m}=Zi(),{builders:{line:y,hardline:D,softline:O,group:x,indent:v,ifBreak:E},utils:{removeLines:F,willBreak:k}}=Ln(),{getFunctionParameters:N,iterateFunctionParametersPath:T,isSimpleType:_,isTestCall:R,isTypeAnnotationAFunction:W,isObjectType:ne,isObjectTypePropertyAFunction:L,hasRestParameter:re,shouldPrintComma:z,hasComment:ue,isNextLineEmpty:ie}=as(),{locEnd:Be}=Wi(),{ArgExpansionBailout:B}=vi(),{printFunctionTypeParameters:Z}=Bo();function $(Q,U,q,K,he){let Te=Q.getValue(),_e=N(Te),Pe=he?Z(Q,q,U):"";if(_e.length===0)return[Pe,"(",m(Q,q,!0,lt=>f(q.originalText,lt,Be)===")"),")"];let ze=Q.getParentNode(),ye=R(ze),ct=j(Te),Fe=[];if(T(Q,(lt,kt)=>{let ft=kt===_e.length-1;ft&&Te.rest&&Fe.push("..."),Fe.push(U()),!ft&&(Fe.push(","),ye||ct?Fe.push(" "):ie(_e[kt],q)?Fe.push(D,D):Fe.push(y))}),K){if(k(Pe)||k(Fe))throw new B;return x([F(Pe),"(",F(Fe),")"])}let Se=_e.every(lt=>!lt.decorators);return ct&&Se?[Pe,"(",...Fe,")"]:ye?[Pe,"(",...Fe,")"]:(L(ze)||W(ze)||ze.type==="TypeAlias"||ze.type==="UnionTypeAnnotation"||ze.type==="TSUnionType"||ze.type==="IntersectionTypeAnnotation"||ze.type==="FunctionTypeAnnotation"&&ze.returnType===Te)&&_e.length===1&&_e[0].name===null&&Te.this!==_e[0]&&_e[0].typeAnnotation&&Te.typeParameters===null&&_(_e[0].typeAnnotation)&&!Te.rest?q.arrowParens==="always"?["(",...Fe,")"]:Fe:[Pe,"(",v([O,...Fe]),E(!re(Te)&&z(q,"all")?",":""),O,")"]}function j(Q){if(!Q)return!1;let U=N(Q);if(U.length!==1)return!1;let[q]=U;return!ue(q)&&(q.type==="ObjectPattern"||q.type==="ArrayPattern"||q.type==="Identifier"&&q.typeAnnotation&&(q.typeAnnotation.type==="TypeAnnotation"||q.typeAnnotation.type==="TSTypeAnnotation")&&ne(q.typeAnnotation.typeAnnotation)||q.type==="FunctionTypeParam"&&ne(q.typeAnnotation)||q.type==="AssignmentPattern"&&(q.left.type==="ObjectPattern"||q.left.type==="ArrayPattern")&&(q.right.type==="Identifier"||q.right.type==="ObjectExpression"&&q.right.properties.length===0||q.right.type==="ArrayExpression"&&q.right.elements.length===0))}function A(Q){let U;return Q.returnType?(U=Q.returnType,U.typeAnnotation&&(U=U.typeAnnotation)):Q.typeAnnotation&&(U=Q.typeAnnotation),U}function M(Q,U){let q=A(Q);if(!q)return!1;let K=Q.typeParameters&&Q.typeParameters.params;if(K){if(K.length>1)return!1;if(K.length===1){let he=K[0];if(he.constraint||he.default)return!1}}return N(Q).length===1&&(ne(q)||k(U))}h.exports={printFunctionParameters:$,shouldHugFunctionParameters:j,shouldGroupFunctionParameters:M}}}),Hu=Oe({"src/language-js/print/type-annotation.js"(u,h){Ye();var{printComments:f,printDanglingComments:m}=Zi(),{isNonEmptyArray:y}=fi(),{builders:{group:D,join:O,line:x,softline:v,indent:E,align:F,ifBreak:k}}=Ln(),N=fu(),{locStart:T}=Wi(),{isSimpleType:_,isObjectType:R,hasLeadingOwnLineComment:W,isObjectTypePropertyAFunction:ne,shouldPrintComma:L}=as(),{printAssignment:re}=du(),{printFunctionParameters:z,shouldGroupFunctionParameters:ue}=vc(),{printArrayItems:ie}=Gu();function Be(q){if(_(q)||R(q))return!0;if(q.type==="UnionTypeAnnotation"||q.type==="TSUnionType"){let K=q.types.filter(Te=>Te.type==="VoidTypeAnnotation"||Te.type==="TSVoidKeyword"||Te.type==="NullLiteralTypeAnnotation"||Te.type==="TSNullKeyword").length,he=q.types.some(Te=>Te.type==="ObjectTypeAnnotation"||Te.type==="TSTypeLiteral"||Te.type==="GenericTypeAnnotation"||Te.type==="TSTypeReference");if(q.types.length-1===K&&he)return!0}return!1}function B(q,K,he){let Te=K.semi?";":"",_e=q.getValue(),Pe=[];return Pe.push("opaque type ",he("id"),he("typeParameters")),_e.supertype&&Pe.push(": ",he("supertype")),_e.impltype&&Pe.push(" = ",he("impltype")),Pe.push(Te),Pe}function Z(q,K,he){let Te=K.semi?";":"",_e=q.getValue(),Pe=[];_e.declare&&Pe.push("declare "),Pe.push("type ",he("id"),he("typeParameters"));let ze=_e.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[re(q,K,he,Pe," =",ze),Te]}function $(q,K,he){let Te=q.getValue(),_e=q.map(he,"types"),Pe=[],ze=!1;for(let ye=0;ye<_e.length;++ye)ye===0?Pe.push(_e[ye]):R(Te.types[ye-1])&&R(Te.types[ye])?Pe.push([" & ",ze?E(_e[ye]):_e[ye]]):!R(Te.types[ye-1])&&!R(Te.types[ye])?Pe.push(E([" &",x,_e[ye]])):(ye>1&&(ze=!0),Pe.push(" & ",ye>1?E(_e[ye]):_e[ye]));return D(Pe)}function j(q,K,he){let Te=q.getValue(),_e=q.getParentNode(),Pe=_e.type!=="TypeParameterInstantiation"&&_e.type!=="TSTypeParameterInstantiation"&&_e.type!=="GenericTypeAnnotation"&&_e.type!=="TSTypeReference"&&_e.type!=="TSTypeAssertion"&&_e.type!=="TupleTypeAnnotation"&&_e.type!=="TSTupleType"&&!(_e.type==="FunctionTypeParam"&&!_e.name&&q.getParentNode(1).this!==_e)&&!((_e.type==="TypeAlias"||_e.type==="VariableDeclarator"||_e.type==="TSTypeAliasDeclaration")&&W(K.originalText,Te)),ze=Be(Te),ye=q.map(Se=>{let lt=he();return ze||(lt=F(2,lt)),f(Se,lt,K)},"types");if(ze)return O(" | ",ye);let ct=Pe&&!W(K.originalText,Te),Fe=[k([ct?x:"","| "]),O([x,"| "],ye)];return N(q,K)?D([E(Fe),v]):_e.type==="TupleTypeAnnotation"&&_e.types.length>1||_e.type==="TSTupleType"&&_e.elementTypes.length>1?D([E([k(["(",v]),Fe]),v,k(")")]):D(Pe?E(Fe):Fe)}function A(q,K,he){let Te=q.getValue(),_e=[],Pe=q.getParentNode(0),ze=q.getParentNode(1),ye=q.getParentNode(2),ct=Te.type==="TSFunctionType"||!((Pe.type==="ObjectTypeProperty"||Pe.type==="ObjectTypeInternalSlot")&&!Pe.variance&&!Pe.optional&&T(Pe)===T(Te)||Pe.type==="ObjectTypeCallProperty"||ye&&ye.type==="DeclareFunction"),Fe=ct&&(Pe.type==="TypeAnnotation"||Pe.type==="TSTypeAnnotation"),Se=Fe&&ct&&(Pe.type==="TypeAnnotation"||Pe.type==="TSTypeAnnotation")&&ze.type==="ArrowFunctionExpression";ne(Pe)&&(ct=!0,Fe=!0),Se&&_e.push("(");let lt=z(q,he,K,!1,!0),kt=Te.returnType||Te.predicate||Te.typeAnnotation?[ct?" => ":": ",he("returnType"),he("predicate"),he("typeAnnotation")]:"",ft=ue(Te,kt);return _e.push(ft?D(lt):lt),kt&&_e.push(kt),Se&&_e.push(")"),D(_e)}function M(q,K,he){let Te=q.getValue(),_e=Te.type==="TSTupleType"?"elementTypes":"types",Pe=Te[_e],ze=y(Pe),ye=ze?v:"";return D(["[",E([ye,ie(q,K,_e,he)]),k(ze&&L(K,"all")?",":""),m(q,K,!0),ye,"]"])}function Q(q,K,he){let Te=q.getValue(),_e=Te.type==="OptionalIndexedAccessType"&&Te.optional?"?.[":"[";return[he("objectType"),_e,he("indexType"),"]"]}function U(q,K,he){let Te=q.getValue();return[Te.postfix?"":he,K("typeAnnotation"),Te.postfix?he:""]}h.exports={printOpaqueType:B,printTypeAlias:Z,printIntersectionType:$,printUnionType:j,printFunctionType:A,printTupleType:M,printIndexedAccessType:Q,shouldHugType:Be,printJSDocType:U}}}),Cc=Oe({"src/language-js/print/type-parameters.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{builders:{join:m,line:y,hardline:D,softline:O,group:x,indent:v,ifBreak:E}}=Ln(),{isTestCall:F,hasComment:k,CommentCheckFlags:N,isTSXFile:T,shouldPrintComma:_,getFunctionParameters:R,isObjectType:W,getTypeScriptMappedTypeModifier:ne}=as(),{createGroupIdMapper:L}=fi(),{shouldHugType:re}=Hu(),{isArrowFunctionVariableDeclarator:z}=du(),ue=L("typeParameters");function ie(Z,$,j,A){let M=Z.getValue();if(!M[A])return"";if(!Array.isArray(M[A]))return j(A);let Q=Z.getNode(2),U=Q&&F(Q),q=Z.match(he=>!(he[A].length===1&&W(he[A][0])),void 0,(he,Te)=>Te==="typeAnnotation",he=>he.type==="Identifier",z);if(M[A].length===0||!q&&(U||M[A].length===1&&(M[A][0].type==="NullableTypeAnnotation"||re(M[A][0]))))return["<",m(", ",Z.map(j,A)),Be(Z,$),">"];let K=M.type==="TSTypeParameterInstantiation"?"":R(M).length===1&&T($)&&!M[A][0].constraint&&Z.getParentNode().type==="ArrowFunctionExpression"?",":_($,"all")?E(","):"";return x(["<",v([O,m([",",y],Z.map(j,A))]),K,O,">"],{id:ue(M)})}function Be(Z,$){let j=Z.getValue();if(!k(j,N.Dangling))return"";let A=!k(j,N.Line),M=f(Z,$,A);return A?M:[M,D]}function B(Z,$,j){let A=Z.getValue(),M=[A.type==="TSTypeParameter"&&A.const?"const ":""],Q=Z.getParentNode();return Q.type==="TSMappedType"?(Q.readonly&&M.push(ne(Q.readonly,"readonly")," "),M.push("[",j("name")),A.constraint&&M.push(" in ",j("constraint")),Q.nameType&&M.push(" as ",Z.callParent(()=>j("nameType"))),M.push("]"),M):(A.variance&&M.push(j("variance")),A.in&&M.push("in "),A.out&&M.push("out "),M.push(j("name")),A.bound&&M.push(": ",j("bound")),A.constraint&&M.push(" extends ",j("constraint")),A.default&&M.push(" = ",j("default")),M)}h.exports={printTypeParameter:B,printTypeParameters:ie,getTypeParametersGroupId:ue}}}),Ul=Oe({"src/language-js/print/property.js"(u,h){Ye();var{printComments:f}=Zi(),{printString:m,printNumber:y}=fi(),{isNumericLiteral:D,isSimpleNumber:O,isStringLiteral:x,isStringPropSafeToUnquote:v,rawText:E}=as(),{printAssignment:F}=du(),k=new WeakMap;function N(_,R,W){let ne=_.getNode();if(ne.computed)return["[",W("key"),"]"];let L=_.getParentNode(),{key:re}=ne;if(R.quoteProps==="consistent"&&!k.has(L)){let z=(L.properties||L.body||L.members).some(ue=>!ue.computed&&ue.key&&x(ue.key)&&!v(ue,R));k.set(L,z)}if((re.type==="Identifier"||D(re)&&O(y(E(re)))&&String(re.value)===y(E(re))&&!(R.parser==="typescript"||R.parser==="babel-ts"))&&(R.parser==="json"||R.quoteProps==="consistent"&&k.get(L))){let z=m(JSON.stringify(re.type==="Identifier"?re.name:re.value.toString()),R);return _.call(ue=>f(ue,z,R),"key")}return v(ne,R)&&(R.quoteProps==="as-needed"||R.quoteProps==="consistent"&&!k.get(L))?_.call(z=>f(z,/^\d/.test(re.value)?y(re.value):re.value,R),"key"):W("key")}function T(_,R,W){return _.getValue().shorthand?W("value"):F(_,R,W,N(_,R,W),":","value")}h.exports={printProperty:T,printPropertyKey:N}}}),Ju=Oe({"src/language-js/print/function.js"(u,h){Ye();var f=ls(),{printDanglingComments:m,printCommentsSeparately:y}=Zi(),D=Cs(),{getNextNonSpaceNonCommentCharacterIndex:O}=fi(),{builders:{line:x,softline:v,group:E,indent:F,ifBreak:k,hardline:N,join:T,indentIfBreak:_},utils:{removeLines:R,willBreak:W}}=Ln(),{ArgExpansionBailout:ne}=vi(),{getFunctionParameters:L,hasLeadingOwnLineComment:re,isFlowAnnotationComment:z,isJsxNode:ue,isTemplateOnItsOwnLine:ie,shouldPrintComma:Be,startsWithNoLookaheadToken:B,isBinaryish:Z,isLineComment:$,hasComment:j,getComments:A,CommentCheckFlags:M,isCallLikeExpression:Q,isCallExpression:U,getCallArguments:q,hasNakedLeftSide:K,getLeftSide:he}=as(),{locEnd:Te}=Wi(),{printFunctionParameters:_e,shouldGroupFunctionParameters:Pe}=vc(),{printPropertyKey:ze}=Ul(),{printFunctionTypeParameters:ye}=Bo();function ct(Ve,mt,Et,zt){let ur=Ve.getValue(),xr=!1;if((ur.type==="FunctionDeclaration"||ur.type==="FunctionExpression")&&zt&&zt.expandLastArg){let $n=Ve.getParentNode();U($n)&&q($n).length>1&&(xr=!0)}let gn=[];ur.type==="TSDeclareFunction"&&ur.declare&&gn.push("declare "),ur.async&&gn.push("async "),ur.generator?gn.push("function* "):gn.push("function "),ur.id&&gn.push(mt("id"));let Si=_e(Ve,mt,Et,xr),di=Je(Ve,mt,Et),dn=Pe(ur,di);return gn.push(ye(Ve,Et,mt),E([dn?E(Si):Si,di]),ur.body?" ":"",mt("body")),Et.semi&&(ur.declare||!ur.body)&&gn.push(";"),gn}function Fe(Ve,mt,Et){let zt=Ve.getNode(),{kind:ur}=zt,xr=zt.value||zt,gn=[];return!ur||ur==="init"||ur==="method"||ur==="constructor"?xr.async&&gn.push("async "):(f.ok(ur==="get"||ur==="set"),gn.push(ur," ")),xr.generator&&gn.push("*"),gn.push(ze(Ve,mt,Et),zt.optional||zt.key.optional?"?":""),zt===xr?gn.push(Se(Ve,mt,Et)):xr.type==="FunctionExpression"?gn.push(Ve.call(Si=>Se(Si,mt,Et),"value")):gn.push(Et("value")),gn}function Se(Ve,mt,Et){let zt=Ve.getNode(),ur=_e(Ve,Et,mt),xr=Je(Ve,Et,mt),gn=Pe(zt,xr),Si=[ye(Ve,mt,Et),E([gn?E(ur):ur,xr])];return zt.body?Si.push(" ",Et("body")):Si.push(mt.semi?";":""),Si}function lt(Ve,mt,Et,zt){let ur=Ve.getValue(),xr=[];if(ur.async&&xr.push("async "),Ne(Ve,mt))xr.push(Et(["params",0]));else{let Si=zt&&(zt.expandLastArg||zt.expandFirstArg),di=Je(Ve,Et,mt);if(Si){if(W(di))throw new ne;di=E(R(di))}xr.push(E([_e(Ve,Et,mt,Si,!0),di]))}let gn=m(Ve,mt,!0,Si=>{let di=O(mt.originalText,Si,Te);return di!==!1&&mt.originalText.slice(di,di+2)==="=>"});return gn&&xr.push(" ",gn),xr}function kt(Ve,mt,Et,zt,ur,xr){let gn=Ve.getName(),Si=Ve.getParentNode(),di=Q(Si)&&gn==="callee",dn=!!(mt&&mt.assignmentLayout),$n=xr.body.type!=="BlockStatement"&&xr.body.type!=="ObjectExpression"&&xr.body.type!=="SequenceExpression",$t=di&&$n||mt&&mt.assignmentLayout==="chain-tail-arrow-chain",je=Symbol("arrow-chain");return xr.body.type==="SequenceExpression"&&(ur=E(["(",F([v,ur]),v,")"])),E([E(F([di||dn?v:"",E(T([" =>",x],Et),{shouldBreak:zt})]),{id:je,shouldBreak:$t})," =>",_($n?F([x,ur]):[" ",ur],{groupId:je}),di?k(v,"",{groupId:je}):""])}function ft(Ve,mt,Et,zt){let ur=Ve.getValue(),xr=[],gn=[],Si=!1;if(function je(){let Qt=lt(Ve,mt,Et,zt);if(xr.length===0)xr.push(Qt);else{let{leading:et,trailing:Nt}=y(Ve,mt);xr.push([et,Qt]),gn.unshift(Nt)}Si=Si||ur.returnType&&L(ur).length>0||ur.typeParameters||L(ur).some(et=>et.type!=="Identifier"),ur.body.type!=="ArrowFunctionExpression"||zt&&zt.expandLastArg?gn.unshift(Et("body",zt)):(ur=ur.body,Ve.call(je,"body"))}(),xr.length>1)return kt(Ve,zt,xr,Si,gn,ur);let di=xr;if(di.push(" =>"),!re(mt.originalText,ur.body)&&(ur.body.type==="ArrayExpression"||ur.body.type==="ObjectExpression"||ur.body.type==="BlockStatement"||ue(ur.body)||ie(ur.body,mt.originalText)||ur.body.type==="ArrowFunctionExpression"||ur.body.type==="DoExpression"))return E([...di," ",gn]);if(ur.body.type==="SequenceExpression")return E([...di,E([" (",F([v,gn]),v,")"])]);let dn=(zt&&zt.expandLastArg||Ve.getParentNode().type==="JSXExpressionContainer")&&!j(ur),$n=zt&&zt.expandLastArg&&Be(mt,"all"),$t=ur.body.type==="ConditionalExpression"&&!B(ur.body,je=>je.type==="ObjectExpression");return E([...di,E([F([x,$t?k("","("):"",gn,$t?k("",")"):""]),dn?[k($n?",":""),v]:""])])}function jt(Ve){let mt=L(Ve);return mt.length===1&&!Ve.typeParameters&&!j(Ve,M.Dangling)&&mt[0].type==="Identifier"&&!mt[0].typeAnnotation&&!j(mt[0])&&!mt[0].optional&&!Ve.predicate&&!Ve.returnType}function Ne(Ve,mt){if(mt.arrowParens==="always")return!1;if(mt.arrowParens==="avoid"){let Et=Ve.getValue();return jt(Et)}return!1}function Je(Ve,mt,Et){let zt=Ve.getValue(),ur=mt("returnType");if(zt.returnType&&z(Et.originalText,zt.returnType))return[" /*: ",ur," */"];let xr=[ur];return zt.returnType&&zt.returnType.typeAnnotation&&xr.unshift(": "),zt.predicate&&xr.push(zt.returnType?" ":": ",mt("predicate")),xr}function It(Ve,mt,Et){let zt=Ve.getValue(),ur=mt.semi?";":"",xr=[];zt.argument&&(rt(mt,zt.argument)?xr.push([" (",F([N,Et("argument")]),N,")"]):Z(zt.argument)||zt.argument.type==="SequenceExpression"?xr.push(E([k(" ("," "),F([v,Et("argument")]),v,k(")")])):xr.push(" ",Et("argument")));let gn=A(zt),Si=D(gn),di=Si&&$(Si);return di&&xr.push(ur),j(zt,M.Dangling)&&xr.push(" ",m(Ve,mt,!0)),di||xr.push(ur),xr}function Mt(Ve,mt,Et){return["return",It(Ve,mt,Et)]}function Rr(Ve,mt,Et){return["throw",It(Ve,mt,Et)]}function rt(Ve,mt){if(re(Ve.originalText,mt))return!0;if(K(mt)){let Et=mt,zt;for(;zt=he(Et);)if(Et=zt,re(Ve.originalText,Et))return!0}return!1}h.exports={printFunction:ct,printArrowFunction:ft,printMethod:Fe,printReturnStatement:Mt,printThrowStatement:Rr,printMethodInternal:Se,shouldPrintParamsWithoutParens:Ne}}}),ql=Oe({"src/language-js/print/decorators.js"(u,h){Ye();var{isNonEmptyArray:f,hasNewline:m}=fi(),{builders:{line:y,hardline:D,join:O,breakParent:x,group:v}}=Ln(),{locStart:E,locEnd:F}=Wi(),{getParentExportDeclaration:k}=as();function N(ne,L,re){let z=ne.getValue();return v([O(y,ne.map(re,"decorators")),R(z,L)?D:y])}function T(ne,L,re){return[O(D,ne.map(re,"declaration","decorators")),D]}function _(ne,L,re){let z=ne.getValue(),{decorators:ue}=z;if(!f(ue)||W(ne.getParentNode()))return;let ie=z.type==="ClassExpression"||z.type==="ClassDeclaration"||R(z,L);return[k(ne)?D:ie?x:"",O(y,ne.map(re,"decorators")),y]}function R(ne,L){return ne.decorators.some(re=>m(L.originalText,F(re)))}function W(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let L=ne.declaration&&ne.declaration.decorators;return f(L)&&E(ne)===E(L[0])}h.exports={printDecorators:_,printClassMemberDecorators:N,printDecoratorsBeforeExport:T,hasDecoratorsBeforeExport:W}}}),mu=Oe({"src/language-js/print/class.js"(u,h){Ye();var{isNonEmptyArray:f,createGroupIdMapper:m}=fi(),{printComments:y,printDanglingComments:D}=Zi(),{builders:{join:O,line:x,hardline:v,softline:E,group:F,indent:k,ifBreak:N}}=Ln(),{hasComment:T,CommentCheckFlags:_}=as(),{getTypeParametersGroupId:R}=Cc(),{printMethod:W}=Ju(),{printOptionalToken:ne,printTypeAnnotation:L,printDefiniteToken:re}=Bo(),{printPropertyKey:z}=Ul(),{printAssignment:ue}=du(),{printClassMemberDecorators:ie}=ql();function Be(q,K,he){let Te=q.getValue(),_e=[];Te.declare&&_e.push("declare "),Te.abstract&&_e.push("abstract "),_e.push("class");let Pe=Te.id&&T(Te.id,_.Trailing)||Te.typeParameters&&T(Te.typeParameters,_.Trailing)||Te.superClass&&T(Te.superClass)||f(Te.extends)||f(Te.mixins)||f(Te.implements),ze=[],ye=[];if(Te.id&&ze.push(" ",he("id")),ze.push(he("typeParameters")),Te.superClass){let ct=[M(q,K,he),he("superTypeParameters")],Fe=q.call(Se=>["extends ",y(Se,ct,K)],"superClass");Pe?ye.push(x,F(Fe)):ye.push(" ",Fe)}else ye.push(A(q,K,he,"extends"));if(ye.push(A(q,K,he,"mixins"),A(q,K,he,"implements")),Pe){let ct;j(Te)?ct=[...ze,k(ye)]:ct=k([...ze,ye]),_e.push(F(ct,{id:B(Te)}))}else _e.push(...ze,...ye);return _e.push(" ",he("body")),_e}var B=m("heritageGroup");function Z(q){return N(v,"",{groupId:B(q)})}function $(q){return["superClass","extends","mixins","implements"].filter(K=>!!q[K]).length>1}function j(q){return q.typeParameters&&!T(q.typeParameters,_.Trailing|_.Line)&&!$(q)}function A(q,K,he,Te){let _e=q.getValue();if(!f(_e[Te]))return"";let Pe=D(q,K,!0,ze=>{let{marker:ye}=ze;return ye===Te});return[j(_e)?N(" ",x,{groupId:R(_e.typeParameters)}):x,Pe,Pe&&v,Te,F(k([x,O([",",x],q.map(he,Te))]))]}function M(q,K,he){let Te=he("superClass");return q.getParentNode().type==="AssignmentExpression"?F(N(["(",k([E,Te]),E,")"],Te)):Te}function Q(q,K,he){let Te=q.getValue(),_e=[];return f(Te.decorators)&&_e.push(ie(q,K,he)),Te.accessibility&&_e.push(Te.accessibility+" "),Te.readonly&&_e.push("readonly "),Te.declare&&_e.push("declare "),Te.static&&_e.push("static "),(Te.type==="TSAbstractMethodDefinition"||Te.abstract)&&_e.push("abstract "),Te.override&&_e.push("override "),_e.push(W(q,K,he)),_e}function U(q,K,he){let Te=q.getValue(),_e=[],Pe=K.semi?";":"";return f(Te.decorators)&&_e.push(ie(q,K,he)),Te.accessibility&&_e.push(Te.accessibility+" "),Te.declare&&_e.push("declare "),Te.static&&_e.push("static "),(Te.type==="TSAbstractPropertyDefinition"||Te.type==="TSAbstractAccessorProperty"||Te.abstract)&&_e.push("abstract "),Te.override&&_e.push("override "),Te.readonly&&_e.push("readonly "),Te.variance&&_e.push(he("variance")),(Te.type==="ClassAccessorProperty"||Te.type==="AccessorProperty"||Te.type==="TSAbstractAccessorProperty")&&_e.push("accessor "),_e.push(z(q,K,he),ne(q),re(q),L(q,K,he)),[ue(q,K,he,_e," =","value"),Pe]}h.exports={printClass:Be,printClassMethod:Q,printClassProperty:U,printHardlineAfterHeritage:Z}}}),up=Oe({"src/language-js/print/interface.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{join:m,line:y,group:D,indent:O,ifBreak:x}}=Ln(),{hasComment:v,identity:E,CommentCheckFlags:F}=as(),{getTypeParametersGroupId:k}=Cc(),{printTypeScriptModifiers:N}=Bo();function T(_,R,W){let ne=_.getValue(),L=[];ne.declare&&L.push("declare "),ne.type==="TSInterfaceDeclaration"&&L.push(ne.abstract?"abstract ":"",N(_,R,W)),L.push("interface");let re=[],z=[];ne.type!=="InterfaceTypeAnnotation"&&re.push(" ",W("id"),W("typeParameters"));let ue=ne.typeParameters&&!v(ne.typeParameters,F.Trailing|F.Line);return f(ne.extends)&&z.push(ue?x(" ",y,{groupId:k(ne.typeParameters)}):y,"extends ",(ne.extends.length===1?E:O)(m([",",y],_.map(W,"extends")))),ne.id&&v(ne.id,F.Trailing)||f(ne.extends)?ue?L.push(D([...re,O(z)])):L.push(D(O([...re,...z]))):L.push(...re,...z),L.push(" ",W("body")),D(L)}h.exports={printInterface:T}}}),lp=Oe({"src/language-js/print/module.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{softline:m,group:y,indent:D,join:O,line:x,ifBreak:v,hardline:E}}=Ln(),{printDanglingComments:F}=Zi(),{hasComment:k,CommentCheckFlags:N,shouldPrintComma:T,needsHardlineAfterDanglingComment:_,isStringLiteral:R,rawText:W}=as(),{locStart:ne,hasSameLoc:L}=Wi(),{hasDecoratorsBeforeExport:re,printDecoratorsBeforeExport:z}=ql();function ue(U,q,K){let he=U.getValue(),Te=q.semi?";":"",_e=[],{importKind:Pe}=he;return _e.push("import"),Pe&&Pe!=="value"&&_e.push(" ",Pe),_e.push($(U,q,K),Z(U,q,K),A(U,q,K),Te),_e}function ie(U,q,K){let he=U.getValue(),Te=[];re(he)&&Te.push(z(U,q,K));let{type:_e,exportKind:Pe,declaration:ze}=he;return Te.push("export"),(he.default||_e==="ExportDefaultDeclaration")&&Te.push(" default"),k(he,N.Dangling)&&(Te.push(" ",F(U,q,!0)),_(he)&&Te.push(E)),ze?Te.push(" ",K("declaration")):Te.push(Pe==="type"?" type":"",$(U,q,K),Z(U,q,K),A(U,q,K)),B(he,q)&&Te.push(";"),Te}function Be(U,q,K){let he=U.getValue(),Te=q.semi?";":"",_e=[],{exportKind:Pe,exported:ze}=he;return _e.push("export"),Pe==="type"&&_e.push(" type"),_e.push(" *"),ze&&_e.push(" as ",K("exported")),_e.push(Z(U,q,K),A(U,q,K),Te),_e}function B(U,q){if(!q.semi)return!1;let{type:K,declaration:he}=U,Te=U.default||K==="ExportDefaultDeclaration";if(!he)return!0;let{type:_e}=he;return!!(Te&&_e!=="ClassDeclaration"&&_e!=="FunctionDeclaration"&&_e!=="TSInterfaceDeclaration"&&_e!=="DeclareClass"&&_e!=="DeclareFunction"&&_e!=="TSDeclareFunction"&&_e!=="EnumDeclaration")}function Z(U,q,K){let he=U.getValue();if(!he.source)return"";let Te=[];return j(he,q)||Te.push(" from"),Te.push(" ",K("source")),Te}function $(U,q,K){let he=U.getValue();if(j(he,q))return"";let Te=[" "];if(f(he.specifiers)){let _e=[],Pe=[];U.each(()=>{let ze=U.getValue().type;if(ze==="ExportNamespaceSpecifier"||ze==="ExportDefaultSpecifier"||ze==="ImportNamespaceSpecifier"||ze==="ImportDefaultSpecifier")_e.push(K());else if(ze==="ExportSpecifier"||ze==="ImportSpecifier")Pe.push(K());else throw new Error(`Unknown specifier type ${JSON.stringify(ze)}`)},"specifiers"),Te.push(O(", ",_e)),Pe.length>0&&(_e.length>0&&Te.push(", "),Pe.length>1||_e.length>0||he.specifiers.some(ze=>k(ze))?Te.push(y(["{",D([q.bracketSpacing?x:m,O([",",x],Pe)]),v(T(q)?",":""),q.bracketSpacing?x:m,"}"])):Te.push(["{",q.bracketSpacing?" ":"",...Pe,q.bracketSpacing?" ":"","}"]))}else Te.push("{}");return Te}function j(U,q){let{type:K,importKind:he,source:Te,specifiers:_e}=U;return K!=="ImportDeclaration"||f(_e)||he==="type"?!1:!/{\s*}/.test(q.originalText.slice(ne(U),ne(Te)))}function A(U,q,K){let he=U.getNode();return f(he.assertions)?[" assert {",q.bracketSpacing?" ":"",O(", ",U.map(K,"assertions")),q.bracketSpacing?" ":"","}"]:""}function M(U,q,K){let he=U.getNode(),{type:Te}=he,_e=[],Pe=Te==="ImportSpecifier"?he.importKind:he.exportKind;Pe&&Pe!=="value"&&_e.push(Pe," ");let ze=Te.startsWith("Import"),ye=ze?"imported":"local",ct=ze?"local":"exported",Fe=he[ye],Se=he[ct],lt="",kt="";return Te==="ExportNamespaceSpecifier"||Te==="ImportNamespaceSpecifier"?lt="*":Fe&&(lt=K(ye)),Se&&!Q(he)&&(kt=K(ct)),_e.push(lt,lt&&kt?" as ":"",kt),_e}function Q(U){if(U.type!=="ImportSpecifier"&&U.type!=="ExportSpecifier")return!1;let{local:q,[U.type==="ImportSpecifier"?"imported":"exported"]:K}=U;if(q.type!==K.type||!L(q,K))return!1;if(R(q))return q.value===K.value&&W(q)===W(K);switch(q.type){case"Identifier":return q.name===K.name;default:return!1}}h.exports={printImportDeclaration:ue,printExportDeclaration:ie,printExportAllDeclaration:Be,printModuleSpecifier:M}}}),fh=Oe({"src/language-js/print/object.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{builders:{line:m,softline:y,group:D,indent:O,ifBreak:x,hardline:v}}=Ln(),{getLast:E,hasNewlineInRange:F,hasNewline:k,isNonEmptyArray:N}=fi(),{shouldPrintComma:T,hasComment:_,getComments:R,CommentCheckFlags:W,isNextLineEmpty:ne}=as(),{locStart:L,locEnd:re}=Wi(),{printOptionalToken:z,printTypeAnnotation:ue}=Bo(),{shouldHugFunctionParameters:ie}=vc(),{shouldHugType:Be}=Hu(),{printHardlineAfterHeritage:B}=mu();function Z($,j,A){let M=j.semi?";":"",Q=$.getValue(),U;Q.type==="TSTypeLiteral"?U="members":Q.type==="TSInterfaceBody"?U="body":U="properties";let q=Q.type==="ObjectTypeAnnotation",K=[U];q&&K.push("indexers","callProperties","internalSlots");let he=K.map(Ne=>Q[Ne][0]).sort((Ne,Je)=>L(Ne)-L(Je))[0],Te=$.getParentNode(0),_e=q&&Te&&(Te.type==="InterfaceDeclaration"||Te.type==="DeclareInterface"||Te.type==="DeclareClass")&&$.getName()==="body",Pe=Q.type==="TSInterfaceBody"||_e||Q.type==="ObjectPattern"&&Te.type!=="FunctionDeclaration"&&Te.type!=="FunctionExpression"&&Te.type!=="ArrowFunctionExpression"&&Te.type!=="ObjectMethod"&&Te.type!=="ClassMethod"&&Te.type!=="ClassPrivateMethod"&&Te.type!=="AssignmentPattern"&&Te.type!=="CatchClause"&&Q.properties.some(Ne=>Ne.value&&(Ne.value.type==="ObjectPattern"||Ne.value.type==="ArrayPattern"))||Q.type!=="ObjectPattern"&&he&&F(j.originalText,L(Q),L(he)),ze=_e?";":Q.type==="TSInterfaceBody"||Q.type==="TSTypeLiteral"?x(M,";"):",",ye=Q.type==="RecordExpression"?"#{":Q.exact?"{|":"{",ct=Q.exact?"|}":"}",Fe=[];for(let Ne of K)$.each(Je=>{let It=Je.getValue();Fe.push({node:It,printed:A(),loc:L(It)})},Ne);K.length>1&&Fe.sort((Ne,Je)=>Ne.loc-Je.loc);let Se=[],lt=Fe.map(Ne=>{let Je=[...Se,D(Ne.printed)];return Se=[ze,m],(Ne.node.type==="TSPropertySignature"||Ne.node.type==="TSMethodSignature"||Ne.node.type==="TSConstructSignatureDeclaration")&&_(Ne.node,W.PrettierIgnore)&&Se.shift(),ne(Ne.node,j)&&Se.push(v),Je});if(Q.inexact){let Ne;if(_(Q,W.Dangling)){let Je=_(Q,W.Line);Ne=[f($,j,!0),Je||k(j.originalText,re(E(R(Q))))?v:m,"..."]}else Ne=["..."];lt.push([...Se,...Ne])}let kt=E(Q[U]),ft=!(Q.inexact||kt&&kt.type==="RestElement"||kt&&(kt.type==="TSPropertySignature"||kt.type==="TSCallSignatureDeclaration"||kt.type==="TSMethodSignature"||kt.type==="TSConstructSignatureDeclaration")&&_(kt,W.PrettierIgnore)),jt;if(lt.length===0){if(!_(Q,W.Dangling))return[ye,ct,ue($,j,A)];jt=D([ye,f($,j),y,ct,z($),ue($,j,A)])}else jt=[_e&&N(Q.properties)?B(Te):"",ye,O([j.bracketSpacing?m:y,...lt]),x(ft&&(ze!==","||T(j))?ze:""),j.bracketSpacing?m:y,ct,z($),ue($,j,A)];return $.match(Ne=>Ne.type==="ObjectPattern"&&!Ne.decorators,(Ne,Je,It)=>ie(Ne)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&It===0)||$.match(Be,(Ne,Je)=>Je==="typeAnnotation",(Ne,Je)=>Je==="typeAnnotation",(Ne,Je,It)=>ie(Ne)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&It===0)||!Pe&&$.match(Ne=>Ne.type==="ObjectPattern",Ne=>Ne.type==="AssignmentExpression"||Ne.type==="VariableDeclarator")?jt:D(jt,{shouldBreak:Pe})}h.exports={printObject:Z}}}),cp=Oe({"src/language-js/print/flow.js"(u,h){Ye();var f=ls(),{printDanglingComments:m}=Zi(),{printString:y,printNumber:D}=fi(),{builders:{hardline:O,softline:x,group:v,indent:E}}=Ln(),{getParentExportDeclaration:F,isFunctionNotation:k,isGetterOrSetter:N,rawText:T,shouldPrintComma:_}=as(),{locStart:R,locEnd:W}=Wi(),{replaceTextEndOfLine:ne}=$a(),{printClass:L}=mu(),{printOpaqueType:re,printTypeAlias:z,printIntersectionType:ue,printUnionType:ie,printFunctionType:Be,printTupleType:B,printIndexedAccessType:Z}=Hu(),{printInterface:$}=up(),{printTypeParameter:j,printTypeParameters:A}=Cc(),{printExportDeclaration:M,printExportAllDeclaration:Q}=lp(),{printArrayItems:U}=Gu(),{printObject:q}=fh(),{printPropertyKey:K}=Ul(),{printOptionalToken:he,printTypeAnnotation:Te,printRestSpread:_e}=Bo();function Pe(ye,ct,Fe){let Se=ye.getValue(),lt=ct.semi?";":"",kt=[];switch(Se.type){case"DeclareClass":return ze(ye,L(ye,ct,Fe));case"DeclareFunction":return ze(ye,["function ",Fe("id"),Se.predicate?" ":"",Fe("predicate"),lt]);case"DeclareModule":return ze(ye,["module ",Fe("id")," ",Fe("body")]);case"DeclareModuleExports":return ze(ye,["module.exports",": ",Fe("typeAnnotation"),lt]);case"DeclareVariable":return ze(ye,["var ",Fe("id"),lt]);case"DeclareOpaqueType":return ze(ye,re(ye,ct,Fe));case"DeclareInterface":return ze(ye,$(ye,ct,Fe));case"DeclareTypeAlias":return ze(ye,z(ye,ct,Fe));case"DeclareExportDeclaration":return ze(ye,M(ye,ct,Fe));case"DeclareExportAllDeclaration":return ze(ye,Q(ye,ct,Fe));case"OpaqueType":return re(ye,ct,Fe);case"TypeAlias":return z(ye,ct,Fe);case"IntersectionTypeAnnotation":return ue(ye,ct,Fe);case"UnionTypeAnnotation":return ie(ye,ct,Fe);case"FunctionTypeAnnotation":return Be(ye,ct,Fe);case"TupleTypeAnnotation":return B(ye,ct,Fe);case"GenericTypeAnnotation":return[Fe("id"),A(ye,ct,Fe,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Z(ye,ct,Fe);case"TypeAnnotation":return Fe("typeAnnotation");case"TypeParameter":return j(ye,ct,Fe);case"TypeofTypeAnnotation":return["typeof ",Fe("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Fe("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Se.value);case"EnumDeclaration":return["enum ",Fe("id")," ",Fe("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Se.type==="EnumSymbolBody"||Se.explicitType){let ft=null;switch(Se.type){case"EnumBooleanBody":ft="boolean";break;case"EnumNumberBody":ft="number";break;case"EnumStringBody":ft="string";break;case"EnumSymbolBody":ft="symbol";break}kt.push("of ",ft," ")}if(Se.members.length===0&&!Se.hasUnknownMembers)kt.push(v(["{",m(ye,ct),x,"}"]));else{let ft=Se.members.length>0?[O,U(ye,ct,"members",Fe),Se.hasUnknownMembers||_(ct)?",":""]:[];kt.push(v(["{",E([...ft,...Se.hasUnknownMembers?[O,"..."]:[]]),m(ye,ct,!0),O,"}"]))}return kt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Fe("id")," = ",typeof Se.init=="object"?Fe("init"):String(Se.init)];case"EnumDefaultedMember":return Fe("id");case"FunctionTypeParam":{let ft=Se.name?Fe("name"):ye.getParentNode().this===Se?"this":"";return[ft,he(ye),ft?": ":"",Fe("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return $(ye,ct,Fe);case"ClassImplements":case"InterfaceExtends":return[Fe("id"),Fe("typeParameters")];case"NullableTypeAnnotation":return["?",Fe("typeAnnotation")];case"Variance":{let{kind:ft}=Se;return f.ok(ft==="plus"||ft==="minus"),ft==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Se.static&&kt.push("static "),kt.push(Fe("value")),kt;case"ObjectTypeIndexer":return[Se.static?"static ":"",Se.variance?Fe("variance"):"","[",Fe("id"),Se.id?": ":"",Fe("key"),"]: ",Fe("value")];case"ObjectTypeProperty":{let ft="";return Se.proto?ft="proto ":Se.static&&(ft="static "),[ft,N(Se)?Se.kind+" ":"",Se.variance?Fe("variance"):"",K(ye,ct,Fe),he(ye),k(Se)?"":": ",Fe("value")]}case"ObjectTypeAnnotation":return q(ye,ct,Fe);case"ObjectTypeInternalSlot":return[Se.static?"static ":"","[[",Fe("id"),"]]",he(ye),Se.method?"":": ",Fe("value")];case"ObjectTypeSpreadProperty":return _e(ye,ct,Fe);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Fe("qualification"),".",Fe("id")];case"StringLiteralTypeAnnotation":return ne(y(T(Se),ct));case"NumberLiteralTypeAnnotation":f.strictEqual(typeof Se.value,"number");case"BigIntLiteralTypeAnnotation":return Se.extra?D(Se.extra.raw):D(Se.raw);case"TypeCastExpression":return["(",Fe("expression"),Te(ye,ct,Fe),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let ft=A(ye,ct,Fe,"params");if(ct.parser==="flow"){let jt=R(Se),Ne=W(Se),Je=ct.originalText.lastIndexOf("/*",jt),It=ct.originalText.indexOf("*/",Ne);if(Je!==-1&&It!==-1){let Mt=ct.originalText.slice(Je+2,It).trim();if(Mt.startsWith("::")&&!Mt.includes("/*")&&!Mt.includes("*/"))return["/*:: ",ft," */"]}}return ft}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Fe("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(Se.type))}}function ze(ye,ct){let Fe=F(ye);return Fe?(f.strictEqual(Fe.type,"DeclareExportDeclaration"),ct):["declare ",ct]}h.exports={printFlow:Pe}}}),lf=Oe({"src/language-js/utils/is-ts-keyword-type.js"(u,h){Ye();function f(m){let{type:y}=m;return y.startsWith("TS")&&y.endsWith("Keyword")}h.exports=f}}),Ku=Oe({"src/language-js/print/ternary.js"(u,h){Ye();var{hasNewlineInRange:f}=fi(),{isJsxNode:m,getComments:y,isCallExpression:D,isMemberExpression:O,isTSTypeExpression:x}=as(),{locStart:v,locEnd:E}=Wi(),F=Ya(),{builders:{line:k,softline:N,group:T,indent:_,align:R,ifBreak:W,dedent:ne,breakParent:L}}=Ln();function re(B){let Z=[B];for(let $=0;$<Z.length;$++){let j=Z[$];for(let A of["test","consequent","alternate"]){let M=j[A];if(m(M))return!0;M.type==="ConditionalExpression"&&Z.push(M)}}return!1}function z(B,Z,$){let j=B.getValue(),A=j.type==="ConditionalExpression",M=A?"alternate":"falseType",Q=B.getParentNode(),U=A?$("test"):[$("checkType")," ","extends"," ",$("extendsType")];return Q.type===j.type&&Q[M]===j?R(2,U):U}var ue=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ie(B){let Z=B.getValue();if(Z.type!=="ConditionalExpression")return!1;let $,j=Z;for(let A=0;!$;A++){let M=B.getParentNode(A);if(D(M)&&M.callee===j||O(M)&&M.object===j||M.type==="TSNonNullExpression"&&M.expression===j){j=M;continue}M.type==="NewExpression"&&M.callee===j||x(M)&&M.expression===j?($=B.getParentNode(A+1),j=M):$=M}return j===Z?!1:$[ue.get($.type)]===j}function Be(B,Z,$){let j=B.getValue(),A=j.type==="ConditionalExpression",M=A?"consequent":"trueType",Q=A?"alternate":"falseType",U=A?["test"]:["checkType","extendsType"],q=j[M],K=j[Q],he=[],Te=!1,_e=B.getParentNode(),Pe=_e.type===j.type&&U.some(It=>_e[It]===j),ze=_e.type===j.type&&!Pe,ye,ct,Fe=0;do ct=ye||j,ye=B.getParentNode(Fe),Fe++;while(ye&&ye.type===j.type&&U.every(It=>ye[It]!==ct));let Se=ye||_e,lt=ct;if(A&&(m(j[U[0]])||m(q)||m(K)||re(lt))){Te=!0,ze=!0;let It=Rr=>[W("("),_([N,Rr]),N,W(")")],Mt=Rr=>Rr.type==="NullLiteral"||Rr.type==="Literal"&&Rr.value===null||Rr.type==="Identifier"&&Rr.name==="undefined";he.push(" ? ",Mt(q)?$(M):It($(M))," : ",K.type===j.type||Mt(K)?$(Q):It($(Q)))}else{let It=[k,"? ",q.type===j.type?W("","("):"",R(2,$(M)),q.type===j.type?W("",")"):"",k,": ",K.type===j.type?$(Q):R(2,$(Q))];he.push(_e.type!==j.type||_e[Q]===j||Pe?It:Z.useTabs?ne(_(It)):R(Math.max(0,Z.tabWidth-2),It))}let kt=[...U.map(It=>y(j[It])),y(q),y(K)].flat().some(It=>F(It)&&f(Z.originalText,v(It),E(It))),ft=It=>_e===Se?T(It,{shouldBreak:kt}):kt?[It,L]:It,jt=!Te&&(O(_e)||_e.type==="NGPipeExpression"&&_e.left===j)&&!_e.computed,Ne=ie(B),Je=ft([z(B,Z,$),ze?he:_(he),A&&jt&&!Ne?N:""]);return Pe||Ne?T([_([N,Je]),N]):Je}h.exports={printTernary:Be}}}),el=Oe({"src/language-js/print/statement.js"(u,h){Ye();var{builders:{hardline:f}}=Ln(),m=fu(),{getLeftSidePathName:y,hasNakedLeftSide:D,isJsxNode:O,isTheOnlyJsxElementInMarkdown:x,hasComment:v,CommentCheckFlags:E,isNextLineEmpty:F}=as(),{shouldPrintParamsWithoutParens:k}=Ju();function N(z,ue,ie,Be){let B=z.getValue(),Z=[],$=B.type==="ClassBody",j=T(B[Be]);return z.each((A,M,Q)=>{let U=A.getValue();if(U.type==="EmptyStatement")return;let q=ie();!ue.semi&&!$&&!x(ue,A)&&_(A,ue)?v(U,E.Leading)?Z.push(ie([],{needsSemi:!0})):Z.push(";",q):Z.push(q),!ue.semi&&$&&L(U)&&re(U,Q[M+1])&&Z.push(";"),U!==j&&(Z.push(f),F(U,ue)&&Z.push(f))},Be),Z}function T(z){for(let ue=z.length-1;ue>=0;ue--){let ie=z[ue];if(ie.type!=="EmptyStatement")return ie}}function _(z,ue){return z.getNode().type!=="ExpressionStatement"?!1:z.call(ie=>R(ie,ue),"expression")}function R(z,ue){let ie=z.getValue();switch(ie.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!k(z,ue))return!0;break}case"UnaryExpression":{let{prefix:Be,operator:B}=ie;if(Be&&(B==="+"||B==="-"))return!0;break}case"BindExpression":{if(!ie.object)return!0;break}case"Literal":{if(ie.regex)return!0;break}default:if(O(ie))return!0}return m(z,ue)?!0:D(ie)?z.call(Be=>R(Be,ue),...y(z,ie)):!1}function W(z,ue,ie){return N(z,ue,ie,"body")}function ne(z,ue,ie){return N(z,ue,ie,"consequent")}var L=z=>{let{type:ue}=z;return ue==="ClassProperty"||ue==="PropertyDefinition"||ue==="ClassPrivateProperty"||ue==="ClassAccessorProperty"||ue==="AccessorProperty"||ue==="TSAbstractPropertyDefinition"||ue==="TSAbstractAccessorProperty"};function re(z,ue){let{type:ie,name:Be}=z.key;if(!z.computed&&ie==="Identifier"&&(Be==="static"||Be==="get"||Be==="set"||Be==="accessor")&&!z.value&&!z.typeAnnotation)return!0;if(!ue||ue.static||ue.accessibility)return!1;if(!ue.computed){let B=ue.key&&ue.key.name;if(B==="in"||B==="instanceof")return!0}if(L(ue)&&ue.variance&&!ue.static&&!ue.declare)return!0;switch(ue.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ue.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ue.value?ue.value.async:ue.async)||ue.kind==="get"||ue.kind==="set")return!1;let B=ue.value?ue.value.generator:ue.generator;return!!(ue.computed||B)}case"TSIndexSignature":return!0}return!1}h.exports={printBody:W,printSwitchCaseConsequent:ne}}}),hp=Oe({"src/language-js/print/block.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{isNonEmptyArray:m}=fi(),{builders:{hardline:y,indent:D}}=Ln(),{hasComment:O,CommentCheckFlags:x,isNextLineEmpty:v}=as(),{printHardlineAfterHeritage:E}=mu(),{printBody:F}=el();function k(T,_,R){let W=T.getValue(),ne=[];if(W.type==="StaticBlock"&&ne.push("static "),W.type==="ClassBody"&&m(W.body)){let re=T.getParentNode();ne.push(E(re))}ne.push("{");let L=N(T,_,R);if(L)ne.push(D([y,L]),y);else{let re=T.getParentNode(),z=T.getParentNode(1);re.type==="ArrowFunctionExpression"||re.type==="FunctionExpression"||re.type==="FunctionDeclaration"||re.type==="ObjectMethod"||re.type==="ClassMethod"||re.type==="ClassPrivateMethod"||re.type==="ForStatement"||re.type==="WhileStatement"||re.type==="DoWhileStatement"||re.type==="DoExpression"||re.type==="CatchClause"&&!z.finalizer||re.type==="TSModuleDeclaration"||re.type==="TSDeclareFunction"||W.type==="StaticBlock"||W.type==="ClassBody"||ne.push(y)}return ne.push("}"),ne}function N(T,_,R){let W=T.getValue(),ne=m(W.directives),L=W.body.some(ue=>ue.type!=="EmptyStatement"),re=O(W,x.Dangling);if(!ne&&!L&&!re)return"";let z=[];if(ne&&T.each((ue,ie,Be)=>{z.push(R()),(ie<Be.length-1||L||re)&&(z.push(y),v(ue.getValue(),_)&&z.push(y))},"directives"),L&&z.push(F(T,_,R)),re&&z.push(f(T,_,!0)),W.type==="Program"){let ue=T.getParentNode();(!ue||ue.type!=="ModuleExpression")&&z.push(y)}return z}h.exports={printBlock:k,printBlockBody:N}}}),dh=Oe({"src/language-js/print/typescript.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{hasNewlineInRange:m}=fi(),{builders:{join:y,line:D,hardline:O,softline:x,group:v,indent:E,conditionalGroup:F,ifBreak:k}}=Ln(),{isStringLiteral:N,getTypeScriptMappedTypeModifier:T,shouldPrintComma:_,isCallExpression:R,isMemberExpression:W}=as(),ne=lf(),{locStart:L,locEnd:re}=Wi(),{printOptionalToken:z,printTypeScriptModifiers:ue}=Bo(),{printTernary:ie}=Ku(),{printFunctionParameters:Be,shouldGroupFunctionParameters:B}=vc(),{printTemplateLiteral:Z}=Xu(),{printArrayItems:$}=Gu(),{printObject:j}=fh(),{printClassProperty:A,printClassMethod:M}=mu(),{printTypeParameter:Q,printTypeParameters:U}=Cc(),{printPropertyKey:q}=Ul(),{printFunction:K,printMethodInternal:he}=Ju(),{printInterface:Te}=up(),{printBlock:_e}=hp(),{printTypeAlias:Pe,printIntersectionType:ze,printUnionType:ye,printFunctionType:ct,printTupleType:Fe,printIndexedAccessType:Se,printJSDocType:lt}=Hu();function kt(ft,jt,Ne){let Je=ft.getValue();if(!Je.type.startsWith("TS"))return;if(ne(Je))return Je.type.slice(2,-7).toLowerCase();let It=jt.semi?";":"",Mt=[];switch(Je.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Rr=!(Je.expression.type==="ArrayExpression"||Je.expression.type==="ObjectExpression"),rt=v(["<",E([x,Ne("typeAnnotation")]),x,">"]),Ve=[k("("),E([x,Ne("expression")]),x,k(")")];return Rr?F([[rt,Ne("expression")],[rt,v(Ve,{shouldBreak:!0})],[rt,Ne("expression")]]):v([rt,Ne("expression")])}case"TSDeclareFunction":return K(ft,Ne,jt);case"TSExportAssignment":return["export = ",Ne("expression"),It];case"TSModuleBlock":return _e(ft,jt,Ne);case"TSInterfaceBody":case"TSTypeLiteral":return j(ft,jt,Ne);case"TSTypeAliasDeclaration":return Pe(ft,jt,Ne);case"TSQualifiedName":return y(".",[Ne("left"),Ne("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return M(ft,jt,Ne);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return A(ft,jt,Ne);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Mt.push(Ne("expression")),Je.typeParameters&&Mt.push(Ne("typeParameters")),Mt;case"TSTemplateLiteralType":return Z(ft,Ne,jt);case"TSNamedTupleMember":return[Ne("label"),Je.optional?"?":"",": ",Ne("elementType")];case"TSRestType":return["...",Ne("typeAnnotation")];case"TSOptionalType":return[Ne("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Te(ft,jt,Ne);case"TSClassImplements":return[Ne("expression"),Ne("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return U(ft,jt,Ne,"params");case"TSTypeParameter":return Q(ft,jt,Ne);case"TSSatisfiesExpression":case"TSAsExpression":{let Rr=Je.type==="TSAsExpression"?"as":"satisfies";Mt.push(Ne("expression"),` ${Rr} `,Ne("typeAnnotation"));let rt=ft.getParentNode();return R(rt)&&rt.callee===Je||W(rt)&&rt.object===Je?v([E([x,...Mt]),x]):Mt}case"TSArrayType":return[Ne("elementType"),"[]"];case"TSPropertySignature":return Je.readonly&&Mt.push("readonly "),Mt.push(q(ft,jt,Ne),z(ft)),Je.typeAnnotation&&Mt.push(": ",Ne("typeAnnotation")),Je.initializer&&Mt.push(" = ",Ne("initializer")),Mt;case"TSParameterProperty":return Je.accessibility&&Mt.push(Je.accessibility+" "),Je.export&&Mt.push("export "),Je.static&&Mt.push("static "),Je.override&&Mt.push("override "),Je.readonly&&Mt.push("readonly "),Mt.push(Ne("parameter")),Mt;case"TSTypeQuery":return["typeof ",Ne("exprName"),Ne("typeParameters")];case"TSIndexSignature":{let Rr=ft.getParentNode(),rt=Je.parameters.length>1?k(_(jt)?",":""):"",Ve=v([E([x,y([", ",x],ft.map(Ne,"parameters"))]),rt,x]);return[Je.export?"export ":"",Je.accessibility?[Je.accessibility," "]:"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.declare?"declare ":"","[",Je.parameters?Ve:"",Je.typeAnnotation?"]: ":"]",Je.typeAnnotation?Ne("typeAnnotation"):"",Rr.type==="ClassBody"?It:""]}case"TSTypePredicate":return[Je.asserts?"asserts ":"",Ne("parameterName"),Je.typeAnnotation?[" is ",Ne("typeAnnotation")]:""];case"TSNonNullExpression":return[Ne("expression"),"!"];case"TSImportType":return[Je.isTypeOf?"typeof ":"","import(",Ne(Je.parameter?"parameter":"argument"),")",Je.qualifier?[".",Ne("qualifier")]:"",U(ft,jt,Ne,"typeParameters")];case"TSLiteralType":return Ne("literal");case"TSIndexedAccessType":return Se(ft,jt,Ne);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Je.type==="TSConstructorType"&&Je.abstract&&Mt.push("abstract "),Je.type!=="TSCallSignatureDeclaration"&&Mt.push("new "),Mt.push(v(Be(ft,Ne,jt,!1,!0))),Je.returnType||Je.typeAnnotation){let Rr=Je.type==="TSConstructorType";Mt.push(Rr?" => ":": ",Ne("returnType"),Ne("typeAnnotation"))}return Mt}case"TSTypeOperator":return[Je.operator," ",Ne("typeAnnotation")];case"TSMappedType":{let Rr=m(jt.originalText,L(Je),re(Je));return v(["{",E([jt.bracketSpacing?D:x,Ne("typeParameter"),Je.optional?T(Je.optional,"?"):"",Je.typeAnnotation?": ":"",Ne("typeAnnotation"),k(It)]),f(ft,jt,!0),jt.bracketSpacing?D:x,"}"],{shouldBreak:Rr})}case"TSMethodSignature":{let Rr=Je.kind&&Je.kind!=="method"?`${Je.kind} `:"";Mt.push(Je.accessibility?[Je.accessibility," "]:"",Rr,Je.export?"export ":"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.abstract?"abstract ":"",Je.declare?"declare ":"",Je.computed?"[":"",Ne("key"),Je.computed?"]":"",z(ft));let rt=Be(ft,Ne,jt,!1,!0),Ve=Je.returnType?"returnType":"typeAnnotation",mt=Je[Ve],Et=mt?Ne(Ve):"",zt=B(Je,Et);return Mt.push(zt?v(rt):rt),mt&&Mt.push(": ",v(Et)),v(Mt)}case"TSNamespaceExportDeclaration":return Mt.push("export as namespace ",Ne("id")),jt.semi&&Mt.push(";"),v(Mt);case"TSEnumDeclaration":return Je.declare&&Mt.push("declare "),Je.modifiers&&Mt.push(ue(ft,jt,Ne)),Je.const&&Mt.push("const "),Mt.push("enum ",Ne("id")," "),Je.members.length===0?Mt.push(v(["{",f(ft,jt),x,"}"])):Mt.push(v(["{",E([O,$(ft,jt,"members",Ne),_(jt,"es5")?",":""]),f(ft,jt,!0),O,"}"])),Mt;case"TSEnumMember":return Je.computed?Mt.push("[",Ne("id"),"]"):Mt.push(Ne("id")),Je.initializer&&Mt.push(" = ",Ne("initializer")),Mt;case"TSImportEqualsDeclaration":return Je.isExport&&Mt.push("export "),Mt.push("import "),Je.importKind&&Je.importKind!=="value"&&Mt.push(Je.importKind," "),Mt.push(Ne("id")," = ",Ne("moduleReference")),jt.semi&&Mt.push(";"),v(Mt);case"TSExternalModuleReference":return["require(",Ne("expression"),")"];case"TSModuleDeclaration":{let Rr=ft.getParentNode(),rt=N(Je.id),Ve=Rr.type==="TSModuleDeclaration",mt=Je.body&&Je.body.type==="TSModuleDeclaration";if(Ve)Mt.push(".");else{Je.declare&&Mt.push("declare "),Mt.push(ue(ft,jt,Ne));let Et=jt.originalText.slice(L(Je),L(Je.id));Je.id.type==="Identifier"&&Je.id.name==="global"&&!/namespace|module/.test(Et)||Mt.push(rt||/(?:^|\s)module(?:\s|$)/.test(Et)?"module ":"namespace ")}return Mt.push(Ne("id")),mt?Mt.push(Ne("body")):Je.body?Mt.push(" ",v(Ne("body"))):Mt.push(It),Mt}case"TSConditionalType":return ie(ft,jt,Ne);case"TSInferType":return["infer"," ",Ne("typeParameter")];case"TSIntersectionType":return ze(ft,jt,Ne);case"TSUnionType":return ye(ft,jt,Ne);case"TSFunctionType":return ct(ft,jt,Ne);case"TSTupleType":return Fe(ft,jt,Ne);case"TSTypeReference":return[Ne("typeName"),U(ft,jt,Ne,"typeParameters")];case"TSTypeAnnotation":return Ne("typeAnnotation");case"TSEmptyBodyFunctionExpression":return he(ft,jt,Ne);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return lt(ft,Ne,"?");case"TSJSDocNonNullableType":return lt(ft,Ne,"!");case"TSInstantiationExpression":return[Ne("expression"),Ne("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Je.type)}.`)}}h.exports={printTypescript:kt}}}),Sc=Oe({"src/language-js/print/comment.js"(u,h){Ye();var{hasNewline:f}=fi(),{builders:{join:m,hardline:y},utils:{replaceTextEndOfLine:D}}=Ln(),{isLineComment:O}=as(),{locStart:x,locEnd:v}=Wi(),E=Ya();function F(T,_){let R=T.getValue();if(O(R))return _.originalText.slice(x(R),v(R)).trimEnd();if(E(R)){if(k(R)){let L=N(R);return R.trailing&&!f(_.originalText,x(R),{backwards:!0})?[y,L]:L}let W=v(R),ne=_.originalText.slice(W-3,W)==="*-/";return["/*",D(R.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(R))}function k(T){let _=`*${T.value}*`.split(`
`);return _.length>1&&_.every(R=>R.trim()[0]==="*")}function N(T){let _=T.value.split(`
`);return["/*",m(y,_.map((R,W)=>W===0?R.trimEnd():" "+(W<_.length-1?R.trim():R.trimStart()))),"*/"]}h.exports={printComment:F}}}),zl=Oe({"src/language-js/print/literal.js"(u,h){Ye();var{printString:f,printNumber:m}=fi(),{replaceTextEndOfLine:y}=$a(),{printDirective:D}=Bo();function O(F,k){let N=F.getNode();switch(N.type){case"RegExpLiteral":return E(N);case"BigIntLiteral":return v(N.bigint||N.extra.raw);case"NumericLiteral":return m(N.extra.raw);case"StringLiteral":return y(f(N.extra.raw,k));case"NullLiteral":return"null";case"BooleanLiteral":return String(N.value);case"DecimalLiteral":return m(N.value)+"m";case"Literal":{if(N.regex)return E(N.regex);if(N.bigint)return v(N.raw);if(N.decimal)return m(N.decimal)+"m";let{value:T}=N;return typeof T=="number"?m(N.raw):typeof T=="string"?x(F)?D(N.raw,k):y(f(N.raw,k)):String(T)}}}function x(F){if(F.getName()!=="expression")return;let k=F.getParentNode();return k.type==="ExpressionStatement"&&k.directive}function v(F){return F.toLowerCase()}function E(F){let{pattern:k,flags:N}=F;return N=[...N].sort().join(""),`/${k}/${N}`}h.exports={printLiteral:O}}}),Wl=Oe({"src/language-js/printer-estree.js"(u,h){Ye();var{printDanglingComments:f}=Zi(),{hasNewline:m}=fi(),{builders:{join:y,line:D,hardline:O,softline:x,group:v,indent:E},utils:{replaceTextEndOfLine:F}}=Ln(),k=Uu(),N=va(),{insertPragma:T}=Yu(),_=jl(),R=fu(),W=Ll(),{hasFlowShorthandAnnotationComment:ne,hasComment:L,CommentCheckFlags:re,isTheOnlyJsxElementInMarkdown:z,isLineComment:ue,isNextLineEmpty:ie,needsHardlineAfterDanglingComment:Be,hasIgnoreComment:B,isCallExpression:Z,isMemberExpression:$,markerForIfWithoutBlockAndSameLineComment:j}=as(),{locStart:A,locEnd:M}=Wi(),Q=Ya(),{printHtmlBinding:U,isVueEventBindingExpression:q}=hh(),{printAngular:K}=op(),{printJsx:he,hasJsxIgnoreComment:Te}=bc(),{printFlow:_e}=cp(),{printTypescript:Pe}=dh(),{printOptionalToken:ze,printBindExpressionCallee:ye,printTypeAnnotation:ct,adjustClause:Fe,printRestSpread:Se,printDefiniteToken:lt,printDirective:kt}=Bo(),{printImportDeclaration:ft,printExportDeclaration:jt,printExportAllDeclaration:Ne,printModuleSpecifier:Je}=lp(),{printTernary:It}=Ku(),{printTemplateLiteral:Mt}=Xu(),{printArray:Rr}=Gu(),{printObject:rt}=fh(),{printClass:Ve,printClassMethod:mt,printClassProperty:Et}=mu(),{printProperty:zt}=Ul(),{printFunction:ur,printArrowFunction:xr,printMethod:gn,printReturnStatement:Si,printThrowStatement:di}=Ju(),{printCallExpression:dn}=Vl(),{printVariableDeclarator:$n,printAssignmentExpression:$t}=du(),{printBinaryishExpression:je}=Sa(),{printSwitchCaseConsequent:Qt}=el(),{printMemberExpression:et}=Xl(),{printBlock:Nt,printBlockBody:Wr}=hp(),{printComment:$r}=Sc(),{printLiteral:Ut}=zl(),{printDecorators:X}=ql();function We(wr,hn,br,_s){let nn=_t(wr,hn,br,_s);if(!nn)return"";let ws=wr.getValue(),{type:en}=ws;if(en==="ClassMethod"||en==="ClassPrivateMethod"||en==="ClassProperty"||en==="ClassAccessorProperty"||en==="AccessorProperty"||en==="TSAbstractAccessorProperty"||en==="PropertyDefinition"||en==="TSAbstractPropertyDefinition"||en==="ClassPrivateProperty"||en==="MethodDefinition"||en==="TSAbstractMethodDefinition"||en==="TSDeclareMethod")return nn;let Yn=[nn],Di=X(wr,hn,br),hs=ws.type==="ClassExpression"&&Di;if(Di&&(Yn=[...Di,nn],!hs))return v(Yn);if(!R(wr,hn))return _s&&_s.needsSemi&&Yn.unshift(";"),Yn.length===1&&Yn[0]===nn?nn:Yn;if(hs&&(Yn=[E([D,...Yn])]),Yn.unshift("("),_s&&_s.needsSemi&&Yn.unshift(";"),ne(ws)){let[ln]=ws.trailingComments;Yn.push(" /*",ln.value.trimStart(),"*/"),ln.printed=!0}return hs&&Yn.push(D),Yn.push(")"),Yn}function _t(wr,hn,br,_s){let nn=wr.getValue(),ws=hn.semi?";":"";if(!nn)return"";if(typeof nn=="string")return nn;for(let Yn of[Ut,U,K,he,_e,Pe]){let Di=Yn(wr,hn,br);if(typeof Di<"u")return Di}let en=[];switch(nn.type){case"JsExpressionRoot":return br("node");case"JsonRoot":return[br("node"),O];case"File":return nn.program&&nn.program.interpreter&&en.push(br(["program","interpreter"])),en.push(br("program")),en;case"Program":return Wr(wr,hn,br);case"EmptyStatement":return"";case"ExpressionStatement":{if(hn.parser==="__vue_event_binding"||hn.parser==="__vue_ts_event_binding"){let Di=wr.getParentNode();if(Di.type==="Program"&&Di.body.length===1&&Di.body[0]===nn)return[br("expression"),q(nn.expression)?";":""]}let Yn=f(wr,hn,!0,Di=>{let{marker:hs}=Di;return hs===j});return[br("expression"),z(hn,wr)?"":ws,Yn?[" ",Yn]:""]}case"ParenthesizedExpression":return!L(nn.expression)&&(nn.expression.type==="ObjectExpression"||nn.expression.type==="ArrayExpression")?["(",br("expression"),")"]:v(["(",E([x,br("expression")]),x,")"]);case"AssignmentExpression":return $t(wr,hn,br);case"VariableDeclarator":return $n(wr,hn,br);case"BinaryExpression":case"LogicalExpression":return je(wr,hn,br);case"AssignmentPattern":return[br("left")," = ",br("right")];case"OptionalMemberExpression":case"MemberExpression":return et(wr,hn,br);case"MetaProperty":return[br("meta"),".",br("property")];case"BindExpression":return nn.object&&en.push(br("object")),en.push(v(E([x,ye(wr,hn,br)]))),en;case"Identifier":return[nn.name,ze(wr),lt(wr),ct(wr,hn,br)];case"V8IntrinsicIdentifier":return["%",nn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Se(wr,hn,br);case"FunctionDeclaration":case"FunctionExpression":return ur(wr,br,hn,_s);case"ArrowFunctionExpression":return xr(wr,hn,br,_s);case"YieldExpression":return en.push("yield"),nn.delegate&&en.push("*"),nn.argument&&en.push(" ",br("argument")),en;case"AwaitExpression":{if(en.push("await"),nn.argument){en.push(" ",br("argument"));let Yn=wr.getParentNode();if(Z(Yn)&&Yn.callee===nn||$(Yn)&&Yn.object===nn){en=[E([x,...en]),x];let Di=wr.findAncestor(hs=>hs.type==="AwaitExpression"||hs.type==="BlockStatement");if(!Di||Di.type!=="AwaitExpression")return v(en)}}return en}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return jt(wr,hn,br);case"ExportAllDeclaration":return Ne(wr,hn,br);case"ImportDeclaration":return ft(wr,hn,br);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Je(wr,hn,br);case"ImportAttribute":return[br("key"),": ",br("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Nt(wr,hn,br);case"ThrowStatement":return di(wr,hn,br);case"ReturnStatement":return Si(wr,hn,br);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return dn(wr,hn,br);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return rt(wr,hn,br);case"ObjectProperty":case"Property":return nn.method||nn.kind==="get"||nn.kind==="set"?gn(wr,hn,br):zt(wr,hn,br);case"ObjectMethod":return gn(wr,hn,br);case"Decorator":return["@",br("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Rr(wr,hn,br);case"SequenceExpression":{let Yn=wr.getParentNode(0);if(Yn.type==="ExpressionStatement"||Yn.type==="ForStatement"){let Di=[];return wr.each((hs,ln)=>{ln===0?Di.push(br()):Di.push(",",E([D,br()]))},"expressions"),v(Di)}return v(y([",",D],wr.map(br,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[br("value"),ws];case"DirectiveLiteral":return kt(nn.extra.raw,hn);case"UnaryExpression":return en.push(nn.operator),/[a-z]$/.test(nn.operator)&&en.push(" "),L(nn.argument)?en.push(v(["(",E([x,br("argument")]),x,")"])):en.push(br("argument")),en;case"UpdateExpression":return en.push(br("argument"),nn.operator),nn.prefix&&en.reverse(),en;case"ConditionalExpression":return It(wr,hn,br);case"VariableDeclaration":{let Yn=wr.map(br,"declarations"),Di=wr.getParentNode(),hs=Di.type==="ForStatement"||Di.type==="ForInStatement"||Di.type==="ForOfStatement",ln=nn.declarations.some(ni=>ni.init),pi;return Yn.length===1&&!L(nn.declarations[0])?pi=Yn[0]:Yn.length>0&&(pi=E(Yn[0])),en=[nn.declare?"declare ":"",nn.kind,pi?[" ",pi]:"",E(Yn.slice(1).map(ni=>[",",ln&&!hs?O:D,ni]))],hs&&Di.body!==nn||en.push(ws),v(en)}case"WithStatement":return v(["with (",br("object"),")",Fe(nn.body,br("body"))]);case"IfStatement":{let Yn=Fe(nn.consequent,br("consequent")),Di=v(["if (",v([E([x,br("test")]),x]),")",Yn]);if(en.push(Di),nn.alternate){let hs=L(nn.consequent,re.Trailing|re.Line)||Be(nn),ln=nn.consequent.type==="BlockStatement"&&!hs;en.push(ln?" ":O),L(nn,re.Dangling)&&en.push(f(wr,hn,!0),hs?O:" "),en.push("else",v(Fe(nn.alternate,br("alternate"),nn.alternate.type==="IfStatement")))}return en}case"ForStatement":{let Yn=Fe(nn.body,br("body")),Di=f(wr,hn,!0),hs=Di?[Di,x]:"";return!nn.init&&!nn.test&&!nn.update?[hs,v(["for (;;)",Yn])]:[hs,v(["for (",v([E([x,br("init"),";",D,br("test"),";",D,br("update")]),x]),")",Yn])]}case"WhileStatement":return v(["while (",v([E([x,br("test")]),x]),")",Fe(nn.body,br("body"))]);case"ForInStatement":return v(["for (",br("left")," in ",br("right"),")",Fe(nn.body,br("body"))]);case"ForOfStatement":return v(["for",nn.await?" await":""," (",br("left")," of ",br("right"),")",Fe(nn.body,br("body"))]);case"DoWhileStatement":{let Yn=Fe(nn.body,br("body"));return en=[v(["do",Yn])],nn.body.type==="BlockStatement"?en.push(" "):en.push(O),en.push("while (",v([E([x,br("test")]),x]),")",ws),en}case"DoExpression":return[nn.async?"async ":"","do ",br("body")];case"BreakStatement":return en.push("break"),nn.label&&en.push(" ",br("label")),en.push(ws),en;case"ContinueStatement":return en.push("continue"),nn.label&&en.push(" ",br("label")),en.push(ws),en;case"LabeledStatement":return nn.body.type==="EmptyStatement"?[br("label"),":;"]:[br("label"),": ",br("body")];case"TryStatement":return["try ",br("block"),nn.handler?[" ",br("handler")]:"",nn.finalizer?[" finally ",br("finalizer")]:""];case"CatchClause":if(nn.param){let Yn=L(nn.param,hs=>!Q(hs)||hs.leading&&m(hn.originalText,M(hs))||hs.trailing&&m(hn.originalText,A(hs),{backwards:!0})),Di=br("param");return["catch ",Yn?["(",E([x,Di]),x,") "]:["(",Di,") "],br("body")]}return["catch ",br("body")];case"SwitchStatement":return[v(["switch (",E([x,br("discriminant")]),x,")"])," {",nn.cases.length>0?E([O,y(O,wr.map((Yn,Di,hs)=>{let ln=Yn.getValue();return[br(),Di!==hs.length-1&&ie(ln,hn)?O:""]},"cases"))]):"",O,"}"];case"SwitchCase":{nn.test?en.push("case ",br("test"),":"):en.push("default:"),L(nn,re.Dangling)&&en.push(" ",f(wr,hn,!0));let Yn=nn.consequent.filter(Di=>Di.type!=="EmptyStatement");if(Yn.length>0){let Di=Qt(wr,hn,br);en.push(Yn.length===1&&Yn[0].type==="BlockStatement"?[" ",Di]:E([O,Di]))}return en}case"DebuggerStatement":return["debugger",ws];case"ClassDeclaration":case"ClassExpression":return Ve(wr,hn,br);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return mt(wr,hn,br);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Et(wr,hn,br);case"TemplateElement":return F(nn.value.raw);case"TemplateLiteral":return Mt(wr,br,hn);case"TaggedTemplateExpression":return[br("tag"),br("typeParameters"),br("quasi")];case"PrivateIdentifier":return["#",br("name")];case"PrivateName":return["#",br("id")];case"InterpreterDirective":return en.push("#!",nn.value,O),ie(nn,hn)&&en.push(O),en;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{en.push("module {");let Yn=br("body");return Yn&&en.push(E([O,Yn]),O),en.push("}"),en}default:throw new Error("unknown type: "+JSON.stringify(nn.type))}}function gr(wr){return wr.type&&!Q(wr)&&!ue(wr)&&wr.type!=="EmptyStatement"&&wr.type!=="TemplateElement"&&wr.type!=="Import"&&wr.type!=="TSEmptyBodyFunctionExpression"}h.exports={preprocess:W,print:We,embed:k,insertPragma:T,massageAstNode:N,hasPrettierIgnore(wr){return B(wr)||Te(wr)},willPrintOwnComments:_.willPrintOwnComments,canAttachComment:gr,printComment:$r,isBlockComment:Q,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),cf=Oe({"src/language-js/printer-estree-json.js"(u,h){Ye();var{builders:{hardline:f,indent:m,join:y}}=Ln(),D=Ll();function O(F,k,N){let T=F.getValue();switch(T.type){case"JsonRoot":return[N("node"),f];case"ArrayExpression":{if(T.elements.length===0)return"[]";let _=F.map(()=>F.getValue()===null?"null":N(),"elements");return["[",m([f,y([",",f],_)]),f,"]"]}case"ObjectExpression":return T.properties.length===0?"{}":["{",m([f,y([",",f],F.map(N,"properties"))]),f,"}"];case"ObjectProperty":return[N("key"),": ",N("value")];case"UnaryExpression":return[T.operator==="+"?"":T.operator,N("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return T.value?"true":"false";case"StringLiteral":return JSON.stringify(T.value);case"NumericLiteral":return x(F)?JSON.stringify(String(T.value)):JSON.stringify(T.value);case"Identifier":return x(F)?JSON.stringify(T.name):T.name;case"TemplateLiteral":return N(["quasis",0]);case"TemplateElement":return JSON.stringify(T.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(T.type))}}function x(F){return F.getName()==="key"&&F.getParentNode().type==="ObjectProperty"}var v=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function E(F,k){let{type:N}=F;if(N==="ObjectProperty"){let{key:T}=F;T.type==="Identifier"?k.key={type:"StringLiteral",value:T.name}:T.type==="NumericLiteral"&&(k.key={type:"StringLiteral",value:String(T.value)});return}if(N==="UnaryExpression"&&F.operator==="+")return k.argument;if(N==="ArrayExpression"){for(let[T,_]of F.elements.entries())_===null&&k.elements.splice(T,0,{type:"NullLiteral"});return}if(N==="TemplateLiteral")return{type:"StringLiteral",value:F.quasis[0].value.cooked}}E.ignoredProperties=v,h.exports={preprocess:D,print:O,massageAstNode:E}}}),gu=Oe({"src/common/common-options.js"(u,h){Ye();var f="Common";h.exports={bracketSpacing:{since:"0.0.0",category:f,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:f,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:f,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:f,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:f,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),hf=Oe({"src/language-js/options.js"(u,h){Ye();var f=gu(),m="JavaScript";h.exports={arrowParens:{since:"1.9.0",category:m,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:f.bracketSameLine,bracketSpacing:f.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:m,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:m,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:f.singleQuote,jsxSingleQuote:{since:"1.15.0",category:m,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:m,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:m,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:f.singleAttributePerLine}}}),pp=Oe({"src/language-js/parse/parsers.js"(){Ye()}}),mh=Oe({"node_modules/linguist-languages/data/JavaScript.json"(u,h){h.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),fp=Oe({"node_modules/linguist-languages/data/TypeScript.json"(u,h){h.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Ec=Oe({"node_modules/linguist-languages/data/TSX.json"(u,h){h.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),gh=Oe({"node_modules/linguist-languages/data/JSON.json"(u,h){h.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),yh=Oe({"node_modules/linguist-languages/data/JSON with Comments.json"(u,h){h.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),dp=Oe({"node_modules/linguist-languages/data/JSON5.json"(u,h){h.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Dh=Oe({"src/language-js/index.js"(u,h){Ye();var f=Is(),m=Wl(),y=cf(),D=hf(),O=pp(),x=[f(mh(),E=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...E.interpreters,"zx"],extensions:[...E.extensions.filter(F=>F!==".jsx"),".wxs"]})),f(mh(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),f(mh(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),f(fp(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),f(Ec(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),f(gh(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),f(gh(),E=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:E.extensions.filter(F=>F!==".jsonl")})),f(yh(),E=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...E.filenames,".eslintrc",".swcrc"]})),f(dp(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],v={estree:m,"estree-json":y};h.exports={languages:x,options:D,printers:v,parsers:O}}}),mp=Oe({"src/language-css/clean.js"(u,h){Ye();var{isFrontMatterNode:f}=fi(),m=Cs(),y=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function D(x,v,E){if(f(x)&&x.lang==="yaml"&&delete v.value,x.type==="css-comment"&&E.type==="css-root"&&E.nodes.length>0&&((E.nodes[0]===x||f(E.nodes[0])&&E.nodes[1]===x)&&(delete v.text,/^\*\s*@(?:format|prettier)\s*$/.test(x.text))||E.type==="css-root"&&m(E.nodes)===x))return null;if(x.type==="value-root"&&delete v.text,(x.type==="media-query"||x.type==="media-query-list"||x.type==="media-feature-expression")&&delete v.value,x.type==="css-rule"&&delete v.params,x.type==="selector-combinator"&&(v.value=v.value.replace(/\s+/g," ")),x.type==="media-feature"&&(v.value=v.value.replace(/ /g,"")),(x.type==="value-word"&&(x.isColor&&x.isHex||["initial","inherit","unset","revert"].includes(v.value.replace().toLowerCase()))||x.type==="media-feature"||x.type==="selector-root-invalid"||x.type==="selector-pseudo")&&(v.value=v.value.toLowerCase()),x.type==="css-decl"&&(v.prop=v.prop.toLowerCase()),(x.type==="css-atrule"||x.type==="css-import")&&(v.name=v.name.toLowerCase()),x.type==="value-number"&&(v.unit=v.unit.toLowerCase()),(x.type==="media-feature"||x.type==="media-keyword"||x.type==="media-type"||x.type==="media-unknown"||x.type==="media-url"||x.type==="media-value"||x.type==="selector-attribute"||x.type==="selector-string"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="value-string")&&v.value&&(v.value=O(v.value)),x.type==="selector-attribute"&&(v.attribute=v.attribute.trim(),v.namespace&&typeof v.namespace=="string"&&(v.namespace=v.namespace.trim(),v.namespace.length===0&&(v.namespace=!0)),v.value&&(v.value=v.value.trim().replace(/^["']|["']$/g,""),delete v.quoted)),(x.type==="media-value"||x.type==="media-type"||x.type==="value-number"||x.type==="selector-root-invalid"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="selector-tag")&&v.value&&(v.value=v.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(F,k,N)=>{let T=Number(k);return Number.isNaN(T)?F:T+N.toLowerCase()})),x.type==="selector-tag"){let F=x.value.toLowerCase();["from","to"].includes(F)&&(v.value=F)}if(x.type==="css-atrule"&&x.name.toLowerCase()==="supports"&&delete v.value,x.type==="selector-unknown"&&delete v.value,x.type==="value-comma_group"){let F=x.groups.findIndex(k=>k.type==="value-number"&&k.unit==="...");F!==-1&&(v.groups[F].unit="",v.groups.splice(F+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(x.type==="value-comma_group"&&x.groups.some(F=>F.type==="value-atword"&&F.value.endsWith("[")||F.type==="value-word"&&F.value.startsWith("]")))return{type:"value-atword",value:x.groups.map(F=>F.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}D.ignoredProperties=y;function O(x){return x.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}h.exports=D}}),wc=Oe({"src/utils/front-matter/print.js"(u,h){Ye();var{builders:{hardline:f,markAsRoot:m}}=Ln();function y(D,O){if(D.lang==="yaml"){let x=D.value.trim(),v=x?O(x,{parser:"yaml"},{stripTrailingHardline:!0}):"";return m([D.startDelimiter,f,v,v?f:"",D.endDelimiter])}}h.exports=y}}),pf=Oe({"src/language-css/embed.js"(u,h){Ye();var{builders:{hardline:f}}=Ln(),m=wc();function y(D,O,x){let v=D.getValue();if(v.type==="front-matter"){let E=m(v,x);return E?[E,f]:""}}h.exports=y}}),gp=Oe({"src/utils/front-matter/parse.js"(u,h){Ye();var f=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function m(y){let D=y.match(f);if(!D)return{content:y};let{startDelimiter:O,language:x,value:v="",endDelimiter:E}=D.groups,F=x.trim()||"yaml";if(O==="+++"&&(F="toml"),F!=="yaml"&&O!==E)return{content:y};let[k]=D;return{frontMatter:{type:"front-matter",lang:F,value:v,startDelimiter:O,endDelimiter:E,raw:k.replace(/\n$/,"")},content:k.replace(/[^\n]/g," ")+y.slice(k.length)}}h.exports=m}}),Zl=Oe({"src/language-css/pragma.js"(u,h){Ye();var f=Yu(),m=gp();function y(O){return f.hasPragma(m(O).content)}function D(O){let{frontMatter:x,content:v}=m(O);return(x?x.raw+`
`:"")+f.insertPragma(v)}h.exports={hasPragma:y,insertPragma:D}}}),Oh=Oe({"src/language-css/utils/index.js"(u,h){Ye();var f=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function m(rt,Ve){let mt=Array.isArray(Ve)?Ve:[Ve],Et=-1,zt;for(;zt=rt.getParentNode(++Et);)if(mt.includes(zt.type))return Et;return-1}function y(rt,Ve){let mt=m(rt,Ve);return mt===-1?null:rt.getParentNode(mt)}function D(rt){var Ve;let mt=y(rt,"css-decl");return mt==null||(Ve=mt.prop)===null||Ve===void 0?void 0:Ve.toLowerCase()}var O=new Set(["initial","inherit","unset","revert"]);function x(rt){return O.has(rt.toLowerCase())}function v(rt,Ve){let mt=y(rt,"css-atrule");return(mt==null?void 0:mt.name)&&mt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ve.toLowerCase())}function E(rt){return rt.includes("$")||rt.includes("@")||rt.includes("#")||rt.startsWith("%")||rt.startsWith("--")||rt.startsWith(":--")||rt.includes("(")&&rt.includes(")")?rt:rt.toLowerCase()}function F(rt,Ve){var mt;let Et=y(rt,"value-func");return(Et==null||(mt=Et.value)===null||mt===void 0?void 0:mt.toLowerCase())===Ve}function k(rt){var Ve;let mt=y(rt,"css-rule"),Et=mt==null||(Ve=mt.raws)===null||Ve===void 0?void 0:Ve.selector;return Et&&(Et.startsWith(":import")||Et.startsWith(":export"))}function N(rt,Ve){let mt=Array.isArray(Ve)?Ve:[Ve],Et=y(rt,"css-atrule");return Et&&mt.includes(Et.name.toLowerCase())}function T(rt){let Ve=rt.getValue(),mt=y(rt,"css-atrule");return(mt==null?void 0:mt.name)==="import"&&Ve.groups[0].value==="url"&&Ve.groups.length===2}function _(rt){return rt.type==="value-func"&&rt.value.toLowerCase()==="url"}function R(rt,Ve){var mt;let Et=(mt=rt.getParentNode())===null||mt===void 0?void 0:mt.nodes;return Et&&Et.indexOf(Ve)===Et.length-1}function W(rt){let{selector:Ve}=rt;return Ve?typeof Ve=="string"&&/^@.+:.*$/.test(Ve)||Ve.value&&/^@.+:.*$/.test(Ve.value):!1}function ne(rt){return rt.type==="value-word"&&["from","through","end"].includes(rt.value)}function L(rt){return rt.type==="value-word"&&["and","or","not"].includes(rt.value)}function re(rt){return rt.type==="value-word"&&rt.value==="in"}function z(rt){return rt.type==="value-operator"&&rt.value==="*"}function ue(rt){return rt.type==="value-operator"&&rt.value==="/"}function ie(rt){return rt.type==="value-operator"&&rt.value==="+"}function Be(rt){return rt.type==="value-operator"&&rt.value==="-"}function B(rt){return rt.type==="value-operator"&&rt.value==="%"}function Z(rt){return z(rt)||ue(rt)||ie(rt)||Be(rt)||B(rt)}function $(rt){return rt.type==="value-word"&&["==","!="].includes(rt.value)}function j(rt){return rt.type==="value-word"&&["<",">","<=",">="].includes(rt.value)}function A(rt){return rt.type==="css-atrule"&&["if","else","for","each","while"].includes(rt.name)}function M(rt){var Ve;return((Ve=rt.raws)===null||Ve===void 0?void 0:Ve.params)&&/^\(\s*\)$/.test(rt.raws.params)}function Q(rt){return rt.name.startsWith("prettier-placeholder")}function U(rt){return rt.prop.startsWith("@prettier-placeholder")}function q(rt,Ve){return rt.value==="$$"&&rt.type==="value-func"&&(Ve==null?void 0:Ve.type)==="value-word"&&!Ve.raws.before}function K(rt){var Ve,mt;return((Ve=rt.value)===null||Ve===void 0?void 0:Ve.type)==="value-root"&&((mt=rt.value.group)===null||mt===void 0?void 0:mt.type)==="value-value"&&rt.prop.toLowerCase()==="composes"}function he(rt){var Ve,mt,Et;return((Ve=rt.value)===null||Ve===void 0||(mt=Ve.group)===null||mt===void 0||(Et=mt.group)===null||Et===void 0?void 0:Et.type)==="value-paren_group"&&rt.value.group.group.open!==null&&rt.value.group.group.close!==null}function Te(rt){var Ve;return((Ve=rt.raws)===null||Ve===void 0?void 0:Ve.before)===""}function _e(rt){var Ve,mt;return rt.type==="value-comma_group"&&((Ve=rt.groups)===null||Ve===void 0||(mt=Ve[1])===null||mt===void 0?void 0:mt.type)==="value-colon"}function Pe(rt){var Ve;return rt.type==="value-paren_group"&&((Ve=rt.groups)===null||Ve===void 0?void 0:Ve[0])&&_e(rt.groups[0])}function ze(rt){var Ve;let mt=rt.getValue();if(mt.groups.length===0)return!1;let Et=rt.getParentNode(1);if(!Pe(mt)&&!(Et&&Pe(Et)))return!1;let zt=y(rt,"css-decl");return!!(zt!=null&&(Ve=zt.prop)!==null&&Ve!==void 0&&Ve.startsWith("$")||Pe(Et)||Et.type==="value-func")}function ye(rt){return rt.type==="value-comment"&&rt.inline}function ct(rt){return rt.type==="value-word"&&rt.value==="#"}function Fe(rt){return rt.type==="value-word"&&rt.value==="{"}function Se(rt){return rt.type==="value-word"&&rt.value==="}"}function lt(rt){return["value-word","value-atword"].includes(rt.type)}function kt(rt){return(rt==null?void 0:rt.type)==="value-colon"}function ft(rt,Ve){if(!_e(Ve))return!1;let{groups:mt}=Ve,Et=mt.indexOf(rt);return Et===-1?!1:kt(mt[Et+1])}function jt(rt){return rt.value&&["not","and","or"].includes(rt.value.toLowerCase())}function Ne(rt){return rt.type!=="value-func"?!1:f.has(rt.value.toLowerCase())}function Je(rt){return/\/\//.test(rt.split(/[\n\r]/).pop())}function It(rt){return(rt==null?void 0:rt.type)==="value-atword"&&rt.value.startsWith("prettier-placeholder-")}function Mt(rt,Ve){var mt,Et;if(((mt=rt.open)===null||mt===void 0?void 0:mt.value)!=="("||((Et=rt.close)===null||Et===void 0?void 0:Et.value)!==")"||rt.groups.some(zt=>zt.type!=="value-comma_group"))return!1;if(Ve.type==="value-comma_group"){let zt=Ve.groups.indexOf(rt)-1,ur=Ve.groups[zt];if((ur==null?void 0:ur.type)==="value-word"&&ur.value==="with")return!0}return!1}function Rr(rt){var Ve,mt;return rt.type==="value-paren_group"&&((Ve=rt.open)===null||Ve===void 0?void 0:Ve.value)==="("&&((mt=rt.close)===null||mt===void 0?void 0:mt.value)===")"}h.exports={getAncestorCounter:m,getAncestorNode:y,getPropOfDeclNode:D,maybeToLowerCase:E,insideValueFunctionNode:F,insideICSSRuleNode:k,insideAtRuleNode:N,insideURLFunctionInImportAtRuleNode:T,isKeyframeAtRuleKeywords:v,isWideKeywords:x,isLastNode:R,isSCSSControlDirectiveNode:A,isDetachedRulesetDeclarationNode:W,isRelationalOperatorNode:j,isEqualityOperatorNode:$,isMultiplicationNode:z,isDivisionNode:ue,isAdditionNode:ie,isSubtractionNode:Be,isModuloNode:B,isMathOperatorNode:Z,isEachKeywordNode:re,isForKeywordNode:ne,isURLFunctionNode:_,isIfElseKeywordNode:L,hasComposesNode:K,hasParensAroundNode:he,hasEmptyRawBefore:Te,isDetachedRulesetCallNode:M,isTemplatePlaceholderNode:Q,isTemplatePropNode:U,isPostcssSimpleVarNode:q,isKeyValuePairNode:_e,isKeyValuePairInParenGroupNode:Pe,isKeyInValuePairNode:ft,isSCSSMapItemNode:ze,isInlineValueCommentNode:ye,isHashNode:ct,isLeftCurlyBraceNode:Fe,isRightCurlyBraceNode:Se,isWordNode:lt,isColonNode:kt,isMediaAndSupportsKeywords:jt,isColorAdjusterFuncNode:Ne,lastLineHasInlineComment:Je,isAtWordPlaceholderNode:It,isConfigurationNode:Mt,isParenGroupNode:Rr}}}),na=Oe({"src/utils/line-column-to-index.js"(u,h){Ye(),h.exports=function(f,m){let y=0;for(let D=0;D<f.line-1;++D)y=m.indexOf(`
`,y)+1;return y+f.column}}}),yp=Oe({"src/language-css/loc.js"(u,h){Ye();var{skipEverythingButNewLine:f}=mo(),m=Cs(),y=na();function D(T,_){return typeof T.sourceIndex=="number"?T.sourceIndex:T.source?y(T.source.start,_)-1:null}function O(T,_){if(T.type==="css-comment"&&T.inline)return f(_,T.source.startOffset);let R=T.nodes&&m(T.nodes);return R&&T.source&&!T.source.end&&(T=R),T.source&&T.source.end?y(T.source.end,_):null}function x(T,_){T.source&&(T.source.startOffset=D(T,_),T.source.endOffset=O(T,_));for(let R in T){let W=T[R];R==="source"||!W||typeof W!="object"||(W.type==="value-root"||W.type==="value-unknown"?v(W,E(T),W.text||W.value):x(W,_))}}function v(T,_,R){T.source&&(T.source.startOffset=D(T,R)+_,T.source.endOffset=O(T,R)+_);for(let W in T){let ne=T[W];W==="source"||!ne||typeof ne!="object"||v(ne,_,R)}}function E(T){let _=T.source.startOffset;return typeof T.prop=="string"&&(_+=T.prop.length),T.type==="css-atrule"&&typeof T.name=="string"&&(_+=1+T.name.length+T.raws.afterName.match(/^\s*:?\s*/)[0].length),T.type!=="css-atrule"&&T.raws&&typeof T.raws.between=="string"&&(_+=T.raws.between.length),_}function F(T){let _="initial",R="initial",W,ne=!1,L=[];for(let re=0;re<T.length;re++){let z=T[re];switch(_){case"initial":if(z==="'"){_="single-quotes";continue}if(z==='"'){_="double-quotes";continue}if((z==="u"||z==="U")&&T.slice(re,re+4).toLowerCase()==="url("){_="url",re+=3;continue}if(z==="*"&&T[re-1]==="/"){_="comment-block";continue}if(z==="/"&&T[re-1]==="/"){_="comment-inline",W=re-1;continue}continue;case"single-quotes":if(z==="'"&&T[re-1]!=="\\"&&(_=R,R="initial"),z===`
`||z==="\r")return T;continue;case"double-quotes":if(z==='"'&&T[re-1]!=="\\"&&(_=R,R="initial"),z===`
`||z==="\r")return T;continue;case"url":if(z===")"&&(_="initial"),z===`
`||z==="\r")return T;if(z==="'"){_="single-quotes",R="url";continue}if(z==='"'){_="double-quotes",R="url";continue}continue;case"comment-block":z==="/"&&T[re-1]==="*"&&(_="initial");continue;case"comment-inline":(z==='"'||z==="'"||z==="*")&&(ne=!0),(z===`
`||z==="\r")&&(ne&&L.push([W,re]),_="initial",ne=!1);continue}}for(let[re,z]of L)T=T.slice(0,re)+T.slice(re,z).replace(/["'*]/g," ")+T.slice(z);return T}function k(T){return T.source.startOffset}function N(T){return T.source.endOffset}h.exports={locStart:k,locEnd:N,calculateLoc:x,replaceQuotesInInlineComments:F}}}),Dp=Oe({"src/language-css/utils/is-less-parser.js"(u,h){Ye();function f(m){return m.parser==="css"||m.parser==="less"}h.exports=f}}),yu=Oe({"src/language-css/utils/is-scss.js"(u,h){Ye();function f(m,y){return m==="less"||m==="scss"?m==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(y)}h.exports=f}}),Du=Oe({"src/language-css/utils/css-units.evaluate.js"(u,h){h.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Op=Oe({"src/language-css/utils/print-unit.js"(u,h){Ye();var f=Du();function m(y){let D=y.toLowerCase();return Object.prototype.hasOwnProperty.call(f,D)?f[D]:y}h.exports=m}}),xh=Oe({"src/language-css/printer-postcss.js"(u,h){Ye();var f=Cs(),{printNumber:m,printString:y,hasNewline:D,isFrontMatterNode:O,isNextLineEmpty:x,isNonEmptyArray:v}=fi(),{builders:{join:E,line:F,hardline:k,softline:N,group:T,fill:_,indent:R,dedent:W,ifBreak:ne,breakParent:L},utils:{removeLines:re,getDocParts:z}}=Ln(),ue=mp(),ie=pf(),{insertPragma:Be}=Zl(),{getAncestorNode:B,getPropOfDeclNode:Z,maybeToLowerCase:$,insideValueFunctionNode:j,insideICSSRuleNode:A,insideAtRuleNode:M,insideURLFunctionInImportAtRuleNode:Q,isKeyframeAtRuleKeywords:U,isWideKeywords:q,isLastNode:K,isSCSSControlDirectiveNode:he,isDetachedRulesetDeclarationNode:Te,isRelationalOperatorNode:_e,isEqualityOperatorNode:Pe,isMultiplicationNode:ze,isDivisionNode:ye,isAdditionNode:ct,isSubtractionNode:Fe,isMathOperatorNode:Se,isEachKeywordNode:lt,isForKeywordNode:kt,isURLFunctionNode:ft,isIfElseKeywordNode:jt,hasComposesNode:Ne,hasParensAroundNode:Je,hasEmptyRawBefore:It,isKeyValuePairNode:Mt,isKeyInValuePairNode:Rr,isDetachedRulesetCallNode:rt,isTemplatePlaceholderNode:Ve,isTemplatePropNode:mt,isPostcssSimpleVarNode:Et,isSCSSMapItemNode:zt,isInlineValueCommentNode:ur,isHashNode:xr,isLeftCurlyBraceNode:gn,isRightCurlyBraceNode:Si,isWordNode:di,isColonNode:dn,isMediaAndSupportsKeywords:$n,isColorAdjusterFuncNode:$t,lastLineHasInlineComment:je,isAtWordPlaceholderNode:Qt,isConfigurationNode:et,isParenGroupNode:Nt}=Oh(),{locStart:Wr,locEnd:$r}=yp(),Ut=Dp(),X=yu(),We=Op();function _t(ln){return ln.trailingComma==="es5"||ln.trailingComma==="all"}function gr(ln,pi,ni){let Bt=ln.getValue();if(!Bt)return"";if(typeof Bt=="string")return Bt;switch(Bt.type){case"front-matter":return[Bt.raw,k];case"css-root":{let Ii=wr(ln,pi,ni),Qi=Bt.raws.after.trim();return Qi.startsWith(";")&&(Qi=Qi.slice(1).trim()),[Ii,Qi?` ${Qi}`:"",z(Ii).length>0?k:""]}case"css-comment":{let Ii=Bt.inline||Bt.raws.inline,Qi=pi.originalText.slice(Wr(Bt),$r(Bt));return Ii?Qi.trimEnd():Qi}case"css-rule":return[ni("selector"),Bt.important?" !important":"",Bt.nodes?[Bt.selector&&Bt.selector.type==="selector-unknown"&&je(Bt.selector.value)?F:" ","{",Bt.nodes.length>0?R([k,wr(ln,pi,ni)]):"",k,"}",Te(Bt)?";":""]:";"];case"css-decl":{let Ii=ln.getParentNode(),{between:Qi}=Bt.raws,gs=Qi.trim(),ja=gs===":",Ce=Ne(Bt)?re(ni("value")):ni("value");return!ja&&je(gs)&&(Ce=R([k,W(Ce)])),[Bt.raws.before.replace(/[\s;]/g,""),Ii.type==="css-atrule"&&Ii.variable||A(ln)?Bt.prop:$(Bt.prop),gs.startsWith("//")?" ":"",gs,Bt.extend?"":" ",Ut(pi)&&Bt.extend&&Bt.selector?["extend(",ni("selector"),")"]:"",Ce,Bt.raws.important?Bt.raws.important.replace(/\s*!\s*important/i," !important"):Bt.important?" !important":"",Bt.raws.scssDefault?Bt.raws.scssDefault.replace(/\s*!default/i," !default"):Bt.scssDefault?" !default":"",Bt.raws.scssGlobal?Bt.raws.scssGlobal.replace(/\s*!global/i," !global"):Bt.scssGlobal?" !global":"",Bt.nodes?[" {",R([N,wr(ln,pi,ni)]),N,"}"]:mt(Bt)&&!Ii.raws.semicolon&&pi.originalText[$r(Bt)-1]!==";"?"":pi.__isHTMLStyleAttribute&&K(ln,Bt)?ne(";"):";"]}case"css-atrule":{let Ii=ln.getParentNode(),Qi=Ve(Bt)&&!Ii.raws.semicolon&&pi.originalText[$r(Bt)-1]!==";";if(Ut(pi)){if(Bt.mixin)return[ni("selector"),Bt.important?" !important":"",Qi?"":";"];if(Bt.function)return[Bt.name,ni("params"),Qi?"":";"];if(Bt.variable)return["@",Bt.name,": ",Bt.value?ni("value"):"",Bt.raws.between.trim()?Bt.raws.between.trim()+" ":"",Bt.nodes?["{",R([Bt.nodes.length>0?N:"",wr(ln,pi,ni)]),N,"}"]:"",Qi?"":";"]}return["@",rt(Bt)||Bt.name.endsWith(":")?Bt.name:$(Bt.name),Bt.params?[rt(Bt)?"":Ve(Bt)?Bt.raws.afterName===""?"":Bt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Bt.raws.afterName)?[k,k]:/^\s*\n/.test(Bt.raws.afterName)?k:" ":" ",ni("params")]:"",Bt.selector?R([" ",ni("selector")]):"",Bt.value?T([" ",ni("value"),he(Bt)?Je(Bt)?" ":F:""]):Bt.name==="else"?" ":"",Bt.nodes?[he(Bt)?"":Bt.selector&&!Bt.selector.nodes&&typeof Bt.selector.value=="string"&&je(Bt.selector.value)||!Bt.selector&&typeof Bt.params=="string"&&je(Bt.params)?F:" ","{",R([Bt.nodes.length>0?N:"",wr(ln,pi,ni)]),N,"}"]:Qi?"":";"]}case"media-query-list":{let Ii=[];return ln.each(Qi=>{let gs=Qi.getValue();gs.type==="media-query"&&gs.value===""||Ii.push(ni())},"nodes"),T(R(E(F,Ii)))}case"media-query":return[E(" ",ln.map(ni,"nodes")),K(ln,Bt)?"":","];case"media-type":return Di(en(Bt.value,pi));case"media-feature-expression":return Bt.nodes?["(",...ln.map(ni,"nodes"),")"]:Bt.value;case"media-feature":return $(en(Bt.value.replace(/ +/g," "),pi));case"media-colon":return[Bt.value," "];case"media-value":return Di(en(Bt.value,pi));case"media-keyword":return en(Bt.value,pi);case"media-url":return en(Bt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),pi);case"media-unknown":return Bt.value;case"selector-root":return T([M(ln,"custom-selector")?[B(ln,"css-atrule").customSelector,F]:"",E([",",M(ln,["extend","custom-selector","nest"])?F:k],ln.map(ni,"nodes"))]);case"selector-selector":return T(R(ln.map(ni,"nodes")));case"selector-comment":return Bt.value;case"selector-string":return en(Bt.value,pi);case"selector-tag":{let Ii=ln.getParentNode(),Qi=Ii&&Ii.nodes.indexOf(Bt),gs=Qi&&Ii.nodes[Qi-1];return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",gs.type==="selector-nesting"?Bt.value:Di(U(ln,Bt.value)?Bt.value.toLowerCase():Bt.value)]}case"selector-id":return["#",Bt.value];case"selector-class":return[".",Di(en(Bt.value,pi))];case"selector-attribute":{var Qa;return["[",Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.attribute.trim(),(Qa=Bt.operator)!==null&&Qa!==void 0?Qa:"",Bt.value?Yn(en(Bt.value.trim(),pi),pi):"",Bt.insensitive?" i":"","]"]}case"selector-combinator":{if(Bt.value==="+"||Bt.value===">"||Bt.value==="~"||Bt.value===">>>"){let gs=ln.getParentNode();return[gs.type==="selector-selector"&&gs.nodes[0]===Bt?"":F,Bt.value,K(ln,Bt)?"":" "]}let Ii=Bt.value.trim().startsWith("(")?F:"",Qi=Di(en(Bt.value.trim(),pi))||F;return[Ii,Qi]}case"selector-universal":return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.value];case"selector-pseudo":return[$(Bt.value),v(Bt.nodes)?T(["(",R([N,E([",",F],ln.map(ni,"nodes"))]),N,")"]):""];case"selector-nesting":return Bt.value;case"selector-unknown":{let Ii=B(ln,"css-rule");if(Ii&&Ii.isSCSSNesterProperty)return Di(en($(Bt.value),pi));let Qi=ln.getParentNode();if(Qi.raws&&Qi.raws.selector){let ja=Wr(Qi),Ce=ja+Qi.raws.selector.length;return pi.originalText.slice(ja,Ce).trim()}let gs=ln.getParentNode(1);if(Qi.type==="value-paren_group"&&gs&&gs.type==="value-func"&&gs.value==="selector"){let ja=$r(Qi.open)+1,Ce=Wr(Qi.close),Wt=pi.originalText.slice(ja,Ce).trim();return je(Wt)?[L,Wt]:Wt}return Bt.value}case"value-value":case"value-root":return ni("group");case"value-comment":return pi.originalText.slice(Wr(Bt),$r(Bt));case"value-comma_group":{let Ii=ln.getParentNode(),Qi=ln.getParentNode(1),gs=Z(ln),ja=gs&&Ii.type==="value-value"&&(gs==="grid"||gs.startsWith("grid-template")),Ce=B(ln,"css-atrule"),Wt=Ce&&he(Ce),kn=Bt.groups.some(La=>ur(La)),Xi=ln.map(ni,"groups"),Vi=[],Ea=j(ln,"url"),Rs=!1,Lo=!1;for(let La=0;La<Bt.groups.length;++La){var Io;Vi.push(Xi[La]);let uo=Bt.groups[La-1],si=Bt.groups[La],Fi=Bt.groups[La+1],Id=Bt.groups[La+2];if(Ea){(Fi&&ct(Fi)||ct(si))&&Vi.push(" ");continue}if(M(ln,"forward")&&si.type==="value-word"&&si.value&&uo!==void 0&&uo.type==="value-word"&&uo.value==="as"&&Fi.type==="value-operator"&&Fi.value==="*"||!Fi||si.type==="value-word"&&si.value.endsWith("-")&&Qt(Fi))continue;if(si.type==="value-string"&&si.quoted){let g0=si.value.lastIndexOf("#{"),y0=si.value.lastIndexOf("}");g0!==-1&&y0!==-1?Rs=g0>y0:g0!==-1?Rs=!0:y0!==-1&&(Rs=!1)}if(Rs||dn(si)||dn(Fi)||si.type==="value-atword"&&(si.value===""||si.value.endsWith("["))||Fi.type==="value-word"&&Fi.value.startsWith("]")||si.value==="~"||si.value&&si.value.includes("\\")&&Fi&&Fi.type!=="value-comment"||uo&&uo.value&&uo.value.indexOf("\\")===uo.value.length-1&&si.type==="value-operator"&&si.value==="/"||si.value==="\\"||Et(si,Fi)||xr(si)||gn(si)||Si(Fi)||gn(Fi)&&It(Fi)||Si(si)&&It(Fi)||si.value==="--"&&xr(Fi))continue;let m0=Se(si),zO=Se(Fi);if((m0&&xr(Fi)||zO&&Si(si))&&It(Fi)||!uo&&ye(si)||j(ln,"calc")&&(ct(si)||ct(Fi)||Fe(si)||Fe(Fi))&&It(Fi))continue;let iA=(ct(si)||Fe(si))&&La===0&&(Fi.type==="value-number"||Fi.isHex)&&Qi&&$t(Qi)&&!It(Fi),WO=Id&&Id.type==="value-func"||Id&&di(Id)||si.type==="value-func"||di(si),ZO=Fi.type==="value-func"||di(Fi)||uo&&uo.type==="value-func"||uo&&di(uo);if(!(!(ze(Fi)||ze(si))&&!j(ln,"calc")&&!iA&&(ye(Fi)&&!WO||ye(si)&&!ZO||ct(Fi)&&!WO||ct(si)&&!ZO||Fe(Fi)||Fe(si))&&(It(Fi)||m0&&(!uo||uo&&Se(uo))))&&!((pi.parser==="scss"||pi.parser==="less")&&m0&&si.value==="-"&&Nt(Fi)&&$r(si)===Wr(Fi.open)&&Fi.open.value==="(")){if(ur(si)){if(Ii.type==="value-paren_group"){Vi.push(W(k));continue}Vi.push(k);continue}if(Wt&&(Pe(Fi)||_e(Fi)||jt(Fi)||lt(si)||kt(si))){Vi.push(" ");continue}if(Ce&&Ce.name.toLowerCase()==="namespace"){Vi.push(" ");continue}if(ja){si.source&&Fi.source&&si.source.start.line!==Fi.source.start.line?(Vi.push(k),Lo=!0):Vi.push(" ");continue}if(zO){Vi.push(" ");continue}if(!(Fi&&Fi.value==="...")&&!(Qt(si)&&Qt(Fi)&&$r(si)===Wr(Fi))){if(Qt(si)&&Nt(Fi)&&$r(si)===Wr(Fi.open)){Vi.push(N);continue}if(si.value==="with"&&Nt(Fi)){Vi.push(" ");continue}(Io=si.value)!==null&&Io!==void 0&&Io.endsWith("#")&&Fi.value==="{"&&Nt(Fi.group)||Vi.push(F)}}}return kn&&Vi.push(L),Lo&&Vi.unshift(k),Wt?T(R(Vi)):Q(ln)?T(_(Vi)):T(R(_(Vi)))}case"value-paren_group":{let Ii=ln.getParentNode();if(Ii&&ft(Ii)&&(Bt.groups.length===1||Bt.groups.length>0&&Bt.groups[0].type==="value-comma_group"&&Bt.groups[0].groups.length>0&&Bt.groups[0].groups[0].type==="value-word"&&Bt.groups[0].groups[0].value.startsWith("data:")))return[Bt.open?ni("open"):"",E(",",ln.map(ni,"groups")),Bt.close?ni("close"):""];if(!Bt.open){let Ea=ln.map(ni,"groups"),Rs=[];for(let Lo=0;Lo<Ea.length;Lo++)Lo!==0&&Rs.push([",",F]),Rs.push(Ea[Lo]);return T(R(_(Rs)))}let Qi=zt(ln),gs=f(Bt.groups),ja=gs&&gs.type==="value-comment",Ce=Rr(Bt,Ii),Wt=et(Bt,Ii),kn=Wt||Qi&&!Ce,Xi=Wt||Ce,Vi=T([Bt.open?ni("open"):"",R([N,E([F],ln.map((Ea,Rs)=>{let Lo=Ea.getValue(),La=Rs===Bt.groups.length-1,uo=[ni(),La?"":","];if(Mt(Lo)&&Lo.type==="value-comma_group"&&Lo.groups&&Lo.groups[0].type!=="value-paren_group"&&Lo.groups[2]&&Lo.groups[2].type==="value-paren_group"){let si=z(uo[0].contents.contents);si[1]=T(si[1]),uo=[T(W(uo))]}if(!La&&Lo.type==="value-comma_group"&&v(Lo.groups)){let si=f(Lo.groups);!si.source&&si.close&&(si=si.close),si.source&&x(pi.originalText,si,$r)&&uo.push(k)}return uo},"groups"))]),ne(!ja&&X(pi.parser,pi.originalText)&&Qi&&_t(pi)?",":""),N,Bt.close?ni("close"):""],{shouldBreak:kn});return Xi?W(Vi):Vi}case"value-func":return[Bt.value,M(ln,"supports")&&$n(Bt)?" ":"",ni("group")];case"value-paren":return Bt.value;case"value-number":return[hs(Bt.value),We(Bt.unit)];case"value-operator":return Bt.value;case"value-word":return Bt.isColor&&Bt.isHex||q(Bt.value)?Bt.value.toLowerCase():Bt.value;case"value-colon":{let Ii=ln.getParentNode(),Qi=Ii&&Ii.groups.indexOf(Bt),gs=Qi&&Ii.groups[Qi-1];return[Bt.value,gs&&typeof gs.value=="string"&&f(gs.value)==="\\"||j(ln,"url")?"":F]}case"value-comma":return[Bt.value," "];case"value-string":return y(Bt.raws.quote+Bt.value+Bt.raws.quote,pi);case"value-atword":return["@",Bt.value];case"value-unicode-range":return Bt.value;case"value-unknown":return Bt.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Bt.type)}`)}}function wr(ln,pi,ni){let Bt=[];return ln.each((Qa,Io,Ii)=>{let Qi=Ii[Io-1];if(Qi&&Qi.type==="css-comment"&&Qi.text.trim()==="prettier-ignore"){let gs=Qa.getValue();Bt.push(pi.originalText.slice(Wr(gs),$r(gs)))}else Bt.push(ni());Io!==Ii.length-1&&(Ii[Io+1].type==="css-comment"&&!D(pi.originalText,Wr(Ii[Io+1]),{backwards:!0})&&!O(Ii[Io])||Ii[Io+1].type==="css-atrule"&&Ii[Io+1].name==="else"&&Ii[Io].type!=="css-comment"?Bt.push(" "):(Bt.push(pi.__isHTMLStyleAttribute?F:k),x(pi.originalText,Qa.getValue(),$r)&&!O(Ii[Io])&&Bt.push(k)))},"nodes"),Bt}var hn=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,br=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,_s=/[A-Za-z]+/g,nn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,ws=new RegExp(hn.source+`|(${nn.source})?(${br.source})(${_s.source})?`,"g");function en(ln,pi){return ln.replace(hn,ni=>y(ni,pi))}function Yn(ln,pi){let ni=pi.singleQuote?"'":'"';return ln.includes('"')||ln.includes("'")?ln:ni+ln+ni}function Di(ln){return ln.replace(ws,(pi,ni,Bt,Qa,Io)=>!Bt&&Qa?hs(Qa)+$(Io||""):pi)}function hs(ln){return m(ln).replace(/\.0(?=$|e)/,"")}h.exports={print:gr,embed:ie,insertPragma:Be,massageAstNode:ue}}}),xp=Oe({"src/language-css/options.js"(u,h){Ye();var f=gu();h.exports={singleQuote:f.singleQuote}}}),Yl=Oe({"src/language-css/parsers.js"(){Ye()}}),bh=Oe({"node_modules/linguist-languages/data/CSS.json"(u,h){h.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),ff=Oe({"node_modules/linguist-languages/data/PostCSS.json"(u,h){h.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),vh=Oe({"node_modules/linguist-languages/data/Less.json"(u,h){h.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Ch=Oe({"node_modules/linguist-languages/data/SCSS.json"(u,h){h.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Sh=Oe({"src/language-css/index.js"(u,h){Ye();var f=Is(),m=xh(),y=xp(),D=Yl(),O=[f(bh(),v=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...v.extensions,".wxss"]})),f(ff(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),f(vh(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),f(Ch(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],x={postcss:m};h.exports={languages:O,options:y,printers:x,parsers:D}}}),w=Oe({"src/language-handlebars/loc.js"(u,h){Ye();function f(y){return y.loc.start.offset}function m(y){return y.loc.end.offset}h.exports={locStart:f,locEnd:m}}}),ee=Oe({"src/language-handlebars/clean.js"(u,h){Ye();function f(m,y){if(m.type==="TextNode"){let D=m.chars.trim();if(!D)return null;y.chars=D.replace(/[\t\n\f\r ]+/g," ")}m.type==="AttrNode"&&m.name.toLowerCase()==="class"&&delete y.value}f.ignoredProperties=new Set(["loc","selfClosing"]),h.exports=f}}),Y=Oe({"src/language-handlebars/html-void-elements.evaluate.js"(u,h){h.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),G=Oe({"src/language-handlebars/utils.js"(u,h){Ye();var f=Cs(),m=Y();function y(z){let ue=z.getValue(),ie=z.getParentNode(0);return!!(N(z,["ElementNode"])&&f(ie.children)===ue||N(z,["Block"])&&f(ie.body)===ue)}function D(z){return z.toUpperCase()===z}function O(z){return k(z,["ElementNode"])&&typeof z.tag=="string"&&!z.tag.startsWith(":")&&(D(z.tag[0])||z.tag.includes("."))}var x=new Set(m);function v(z){return x.has(z.toLowerCase())&&!D(z[0])}function E(z){return z.selfClosing===!0||v(z.tag)||O(z)&&z.children.every(ue=>F(ue))}function F(z){return k(z,["TextNode"])&&!/\S/.test(z.chars)}function k(z,ue){return z&&ue.includes(z.type)}function N(z,ue){let ie=z.getParentNode(0);return k(ie,ue)}function T(z,ue){let ie=W(z);return k(ie,ue)}function _(z,ue){let ie=ne(z);return k(ie,ue)}function R(z,ue){var ie,Be,B,Z;let $=z.getValue(),j=(ie=z.getParentNode(0))!==null&&ie!==void 0?ie:{},A=(Be=(B=(Z=j.children)!==null&&Z!==void 0?Z:j.body)!==null&&B!==void 0?B:j.parts)!==null&&Be!==void 0?Be:[],M=A.indexOf($);return M!==-1&&A[M+ue]}function W(z){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return R(z,-ue)}function ne(z){return R(z,1)}function L(z){return k(z,["MustacheCommentStatement"])&&typeof z.value=="string"&&z.value.trim()==="prettier-ignore"}function re(z){let ue=z.getValue(),ie=W(z,2);return L(ue)||L(ie)}h.exports={getNextNode:ne,getPreviousNode:W,hasPrettierIgnore:re,isLastNodeOfSiblings:y,isNextNodeOfSomeType:_,isNodeOfSomeType:k,isParentOfSomeType:N,isPreviousNodeOfSomeType:T,isVoid:E,isWhitespaceNode:F}}}),oe=Oe({"src/language-handlebars/printer-glimmer.js"(u,h){Ye();var{builders:{dedent:f,fill:m,group:y,hardline:D,ifBreak:O,indent:x,join:v,line:E,softline:F},utils:{getDocParts:k,replaceTextEndOfLine:N}}=Ln(),{getPreferredQuote:T,isNonEmptyArray:_}=fi(),{locStart:R,locEnd:W}=w(),ne=ee(),{getNextNode:L,getPreviousNode:re,hasPrettierIgnore:z,isLastNodeOfSiblings:ue,isNextNodeOfSomeType:ie,isNodeOfSomeType:Be,isParentOfSomeType:B,isPreviousNodeOfSomeType:Z,isVoid:$,isWhitespaceNode:j}=G(),A=2;function M(je,Qt,et){let Nt=je.getValue();if(!Nt)return"";if(z(je))return Qt.originalText.slice(R(Nt),W(Nt));let Wr=Qt.singleQuote?"'":'"';switch(Nt.type){case"Block":case"Program":case"Template":return y(je.map(et,"body"));case"ElementNode":{let $r=y(U(je,et)),Ut=Qt.htmlWhitespaceSensitivity==="ignore"&&ie(je,["ElementNode"])?F:"";if($(Nt))return[$r,Ut];let X=["</",Nt.tag,">"];return Nt.children.length===0?[$r,x(X),Ut]:Qt.htmlWhitespaceSensitivity==="ignore"?[$r,x(q(je,Qt,et)),D,x(X),Ut]:[$r,x(y(q(je,Qt,et))),x(X),Ut]}case"BlockStatement":{let $r=je.getParentNode(1);return $r&&$r.inverse&&$r.inverse.body.length===1&&$r.inverse.body[0]===Nt&&$r.inverse.body[0].path.parts[0]===$r.path.parts[0]?[kt(je,et,$r.inverse.body[0].path.parts[0]),It(je,et,Qt),Mt(je,et,Qt)]:[Se(je,et),y([It(je,et,Qt),Mt(je,et,Qt),ft(je,et,Qt)])]}case"ElementModifierStatement":return y(["{{",di(je,et),"}}"]);case"MustacheStatement":return y([he(Nt),di(je,et),Te(Nt)]);case"SubExpression":return y(["(",Si(je,et),F,")"]);case"AttrNode":{let $r=Nt.value.type==="TextNode";if($r&&Nt.value.chars===""&&R(Nt.value)===W(Nt.value))return Nt.name;let Ut=$r?T(Nt.value.chars,Wr).quote:Nt.value.type==="ConcatStatement"?T(Nt.value.parts.filter(We=>We.type==="TextNode").map(We=>We.chars).join(""),Wr).quote:"",X=et("value");return[Nt.name,"=",Ut,Nt.name==="class"&&Ut?y(x(X)):X,Ut]}case"ConcatStatement":return je.map(et,"parts");case"Hash":return v(E,je.map(et,"pairs"));case"HashPair":return[Nt.key,"=",et("value")];case"TextNode":{let $r=Nt.chars.replace(/{{/g,"\\{{"),Ut=Ve(je);if(Ut){if(Ut==="class"){let nn=$r.trim().split(/\s+/).join(" "),ws=!1,en=!1;return B(je,["ConcatStatement"])&&(Z(je,["MustacheStatement"])&&/^\s/.test($r)&&(ws=!0),ie(je,["MustacheStatement"])&&/\s$/.test($r)&&nn!==""&&(en=!0)),[ws?E:"",nn,en?E:""]}return N($r)}let X=/^[\t\n\f\r ]*$/.test($r),We=!re(je),_t=!L(je);if(Qt.htmlWhitespaceSensitivity!=="ignore"){let nn=/^[\t\n\f\r ]*/,ws=/[\t\n\f\r ]*$/,en=_t&&B(je,["Template"]),Yn=We&&B(je,["Template"]);if(X){if(Yn||en)return"";let ni=[E],Bt=mt($r);return Bt&&(ni=ur(Bt)),ue(je)&&(ni=ni.map(Qa=>f(Qa))),ni}let[Di]=$r.match(nn),[hs]=$r.match(ws),ln=[];if(Di){ln=[E];let ni=mt(Di);ni&&(ln=ur(ni)),$r=$r.replace(nn,"")}let pi=[];if(hs){if(!en){pi=[E];let ni=mt(hs);ni&&(pi=ur(ni)),ue(je)&&(pi=pi.map(Bt=>f(Bt)))}$r=$r.replace(ws,"")}return[...ln,m(Rr($r)),...pi]}let gr=mt($r),wr=Et($r),hn=zt($r);if((We||_t)&&X&&B(je,["Block","ElementNode","Template"]))return"";X&&gr?(wr=Math.min(gr,A),hn=0):(ie(je,["BlockStatement","ElementNode"])&&(hn=Math.max(hn,1)),Z(je,["BlockStatement","ElementNode"])&&(wr=Math.max(wr,1)));let br="",_s="";return hn===0&&ie(je,["MustacheStatement"])&&(_s=" "),wr===0&&Z(je,["MustacheStatement"])&&(br=" "),We&&(wr=0,br=""),_t&&(hn=0,_s=""),$r=$r.replace(/^[\t\n\f\r ]+/g,br).replace(/[\t\n\f\r ]+$/,_s),[...ur(wr),m(Rr($r)),...ur(hn)]}case"MustacheCommentStatement":{let $r=R(Nt),Ut=W(Nt),X=Qt.originalText.charAt($r+2)==="~",We=Qt.originalText.charAt(Ut-3)==="~",_t=Nt.value.includes("}}")?"--":"";return["{{",X?"~":"","!",_t,Nt.value,_t,We?"~":"","}}"]}case"PathExpression":return Nt.original;case"BooleanLiteral":return String(Nt.value);case"CommentStatement":return["<!--",Nt.value,"-->"];case"StringLiteral":{if(gn(je)){let $r=Qt.singleQuote?'"':"'";return xr(Nt.value,$r)}return xr(Nt.value,Wr)}case"NumberLiteral":return String(Nt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Nt.type))}}function Q(je,Qt){return R(je)-R(Qt)}function U(je,Qt){let et=je.getValue(),Nt=["attributes","modifiers","comments"].filter($r=>_(et[$r])),Wr=Nt.flatMap($r=>et[$r]).sort(Q);for(let $r of Nt)je.each(Ut=>{let X=Wr.indexOf(Ut.getValue());Wr.splice(X,1,[E,Qt()])},$r);return _(et.blockParams)&&Wr.push(E,$t(et)),["<",et.tag,x(Wr),K(et)]}function q(je,Qt,et){let Nt=je.getValue().children.every(Wr=>j(Wr));return Qt.htmlWhitespaceSensitivity==="ignore"&&Nt?"":je.map((Wr,$r)=>{let Ut=et();return $r===0&&Qt.htmlWhitespaceSensitivity==="ignore"?[F,Ut]:Ut},"children")}function K(je){return $(je)?O([F,"/>"],[" />",F]):O([F,">"],">")}function he(je){let Qt=je.escaped===!1?"{{{":"{{",et=je.strip&&je.strip.open?"~":"";return[Qt,et]}function Te(je){let Qt=je.escaped===!1?"}}}":"}}";return[je.strip&&je.strip.close?"~":"",Qt]}function _e(je){let Qt=he(je),et=je.openStrip.open?"~":"";return[Qt,et,"#"]}function Pe(je){let Qt=Te(je);return[je.openStrip.close?"~":"",Qt]}function ze(je){let Qt=he(je),et=je.closeStrip.open?"~":"";return[Qt,et,"/"]}function ye(je){let Qt=Te(je);return[je.closeStrip.close?"~":"",Qt]}function ct(je){let Qt=he(je),et=je.inverseStrip.open?"~":"";return[Qt,et]}function Fe(je){let Qt=Te(je);return[je.inverseStrip.close?"~":"",Qt]}function Se(je,Qt){let et=je.getValue(),Nt=[],Wr=$n(je,Qt);return Wr&&Nt.push(y(Wr)),_(et.program.blockParams)&&Nt.push($t(et.program)),y([_e(et),dn(je,Qt),Nt.length>0?x([E,v(E,Nt)]):"",F,Pe(et)])}function lt(je,Qt){return[Qt.htmlWhitespaceSensitivity==="ignore"?D:"",ct(je),"else",Fe(je)]}function kt(je,Qt,et){let Nt=je.getValue(),Wr=je.getParentNode(1);return y([ct(Wr),["else"," ",et],x([E,y($n(je,Qt)),..._(Nt.program.blockParams)?[E,$t(Nt.program)]:[]]),F,Fe(Wr)])}function ft(je,Qt,et){let Nt=je.getValue();return et.htmlWhitespaceSensitivity==="ignore"?[jt(Nt)?F:D,ze(Nt),Qt("path"),ye(Nt)]:[ze(Nt),Qt("path"),ye(Nt)]}function jt(je){return Be(je,["BlockStatement"])&&je.program.body.every(Qt=>j(Qt))}function Ne(je){return Je(je)&&je.inverse.body.length===1&&Be(je.inverse.body[0],["BlockStatement"])&&je.inverse.body[0].path.parts[0]===je.path.parts[0]}function Je(je){return Be(je,["BlockStatement"])&&je.inverse}function It(je,Qt,et){let Nt=je.getValue();if(jt(Nt))return"";let Wr=Qt("program");return et.htmlWhitespaceSensitivity==="ignore"?x([D,Wr]):x(Wr)}function Mt(je,Qt,et){let Nt=je.getValue(),Wr=Qt("inverse"),$r=et.htmlWhitespaceSensitivity==="ignore"?[D,Wr]:Wr;return Ne(Nt)?$r:Je(Nt)?[lt(Nt,et),x($r)]:""}function Rr(je){return k(v(E,rt(je)))}function rt(je){return je.split(/[\t\n\f\r ]+/)}function Ve(je){for(let Qt=0;Qt<2;Qt++){let et=je.getParentNode(Qt);if(et&&et.type==="AttrNode")return et.name.toLowerCase()}}function mt(je){return je=typeof je=="string"?je:"",je.split(`
`).length-1}function Et(je){je=typeof je=="string"?je:"";let Qt=(je.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return mt(Qt)}function zt(je){je=typeof je=="string"?je:"";let Qt=(je.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return mt(Qt)}function ur(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(je,A)}).fill(D)}function xr(je,Qt){let{quote:et,regex:Nt}=T(je,Qt);return[et,je.replace(Nt,`\\${et}`),et]}function gn(je){let Qt=0,et=je.getParentNode(Qt);for(;et&&Be(et,["SubExpression"]);)Qt++,et=je.getParentNode(Qt);return!!(et&&Be(je.getParentNode(Qt+1),["ConcatStatement"])&&Be(je.getParentNode(Qt+2),["AttrNode"]))}function Si(je,Qt){let et=dn(je,Qt),Nt=$n(je,Qt);return Nt?x([et,E,y(Nt)]):et}function di(je,Qt){let et=dn(je,Qt),Nt=$n(je,Qt);return Nt?[x([et,E,Nt]),F]:et}function dn(je,Qt){return Qt("path")}function $n(je,Qt){let et=je.getValue(),Nt=[];if(et.params.length>0){let Wr=je.map(Qt,"params");Nt.push(...Wr)}if(et.hash&&et.hash.pairs.length>0){let Wr=Qt("hash");Nt.push(Wr)}return Nt.length===0?"":v(E,Nt)}function $t(je){return["as |",je.blockParams.join(" "),"|"]}h.exports={print:M,massageAstNode:ne}}}),pe=Oe({"src/language-handlebars/parsers.js"(){Ye()}}),ce=Oe({"node_modules/linguist-languages/data/Handlebars.json"(u,h){h.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),de=Oe({"src/language-handlebars/index.js"(u,h){Ye();var f=Is(),m=oe(),y=pe(),D=[f(ce(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],O={glimmer:m};h.exports={languages:D,printers:O,parsers:y}}}),se=Oe({"src/language-graphql/pragma.js"(u,h){Ye();function f(y){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(y)}function m(y){return`# @format
`+y}h.exports={hasPragma:f,insertPragma:m}}}),fe=Oe({"src/language-graphql/loc.js"(u,h){Ye();function f(y){return typeof y.start=="number"?y.start:y.loc&&y.loc.start}function m(y){return typeof y.end=="number"?y.end:y.loc&&y.loc.end}h.exports={locStart:f,locEnd:m}}}),P=Oe({"src/language-graphql/printer-graphql.js"(u,h){Ye();var{builders:{join:f,hardline:m,line:y,softline:D,group:O,indent:x,ifBreak:v}}=Ln(),{isNextLineEmpty:E,isNonEmptyArray:F}=fi(),{insertPragma:k}=se(),{locStart:N,locEnd:T}=fe();function _(ie,Be,B){let Z=ie.getValue();if(!Z)return"";if(typeof Z=="string")return Z;switch(Z.kind){case"Document":{let $=[];return ie.each((j,A,M)=>{$.push(B()),A!==M.length-1&&($.push(m),E(Be.originalText,j.getValue(),T)&&$.push(m))},"definitions"),[...$,m]}case"OperationDefinition":{let $=Be.originalText[N(Z)]!=="{",j=!!Z.name;return[$?Z.operation:"",$&&j?[" ",B("name")]:"",$&&!j&&F(Z.variableDefinitions)?" ":"",F(Z.variableDefinitions)?O(["(",x([D,f([v("",", "),D],ie.map(B,"variableDefinitions"))]),D,")"]):"",R(ie,B,Z),Z.selectionSet?!$&&!j?"":" ":"",B("selectionSet")]}case"FragmentDefinition":return["fragment ",B("name"),F(Z.variableDefinitions)?O(["(",x([D,f([v("",", "),D],ie.map(B,"variableDefinitions"))]),D,")"]):""," on ",B("typeCondition"),R(ie,B,Z)," ",B("selectionSet")];case"SelectionSet":return["{",x([m,f(m,W(ie,Be,B,"selections"))]),m,"}"];case"Field":return O([Z.alias?[B("alias"),": "]:"",B("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,B,"arguments"))]),D,")"]):"",R(ie,B,Z),Z.selectionSet?" ":"",B("selectionSet")]);case"Name":return Z.value;case"StringValue":{if(Z.block){let $=Z.value.replace(/"""/g,"\\$&").split(`
`);return $.length===1&&($[0]=$[0].trim()),$.every(j=>j==="")&&($.length=0),f(m,['"""',...$,'"""'])}return['"',Z.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return Z.value;case"BooleanValue":return Z.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",B("name")];case"ListValue":return O(["[",x([D,f([v("",", "),D],ie.map(B,"values"))]),D,"]"]);case"ObjectValue":return O(["{",Be.bracketSpacing&&Z.fields.length>0?" ":"",x([D,f([v("",", "),D],ie.map(B,"fields"))]),D,v("",Be.bracketSpacing&&Z.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[B("name"),": ",B("value")];case"Directive":return["@",B("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,B,"arguments"))]),D,")"]):""];case"NamedType":return B("name");case"VariableDefinition":return[B("variable"),": ",B("type"),Z.defaultValue?[" = ",B("defaultValue")]:"",R(ie,B,Z)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[B("description"),Z.description?m:"",Z.kind==="ObjectTypeExtension"?"extend ":"","type ",B("name"),Z.interfaces.length>0?[" implements ",...re(ie,Be,B)]:"",R(ie,B,Z),Z.fields.length>0?[" {",x([m,f(m,W(ie,Be,B,"fields"))]),m,"}"]:""];case"FieldDefinition":return[B("description"),Z.description?m:"",B("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,B,"arguments"))]),D,")"]):"",": ",B("type"),R(ie,B,Z)];case"DirectiveDefinition":return[B("description"),Z.description?m:"","directive ","@",B("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,B,"arguments"))]),D,")"]):"",Z.repeatable?" repeatable":""," on ",f(" | ",ie.map(B,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[B("description"),Z.description?m:"",Z.kind==="EnumTypeExtension"?"extend ":"","enum ",B("name"),R(ie,B,Z),Z.values.length>0?[" {",x([m,f(m,W(ie,Be,B,"values"))]),m,"}"]:""];case"EnumValueDefinition":return[B("description"),Z.description?m:"",B("name"),R(ie,B,Z)];case"InputValueDefinition":return[B("description"),Z.description?Z.description.block?m:y:"",B("name"),": ",B("type"),Z.defaultValue?[" = ",B("defaultValue")]:"",R(ie,B,Z)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[B("description"),Z.description?m:"",Z.kind==="InputObjectTypeExtension"?"extend ":"","input ",B("name"),R(ie,B,Z),Z.fields.length>0?[" {",x([m,f(m,W(ie,Be,B,"fields"))]),m,"}"]:""];case"SchemaExtension":return["extend schema",R(ie,B,Z),...Z.operationTypes.length>0?[" {",x([m,f(m,W(ie,Be,B,"operationTypes"))]),m,"}"]:[]];case"SchemaDefinition":return[B("description"),Z.description?m:"","schema",R(ie,B,Z)," {",Z.operationTypes.length>0?x([m,f(m,W(ie,Be,B,"operationTypes"))]):"",m,"}"];case"OperationTypeDefinition":return[B("operation"),": ",B("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[B("description"),Z.description?m:"",Z.kind==="InterfaceTypeExtension"?"extend ":"","interface ",B("name"),Z.interfaces.length>0?[" implements ",...re(ie,Be,B)]:"",R(ie,B,Z),Z.fields.length>0?[" {",x([m,f(m,W(ie,Be,B,"fields"))]),m,"}"]:""];case"FragmentSpread":return["...",B("name"),R(ie,B,Z)];case"InlineFragment":return["...",Z.typeCondition?[" on ",B("typeCondition")]:"",R(ie,B,Z)," ",B("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return O([B("description"),Z.description?m:"",O([Z.kind==="UnionTypeExtension"?"extend ":"","union ",B("name"),R(ie,B,Z),Z.types.length>0?[" =",v(""," "),x([v([y," "]),f([y,"| "],ie.map(B,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[B("description"),Z.description?m:"",Z.kind==="ScalarTypeExtension"?"extend ":"","scalar ",B("name"),R(ie,B,Z)];case"NonNullType":return[B("type"),"!"];case"ListType":return["[",B("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(Z.kind))}}function R(ie,Be,B){if(B.directives.length===0)return"";let Z=f(y,ie.map(Be,"directives"));return B.kind==="FragmentDefinition"||B.kind==="OperationDefinition"?O([y,Z]):[" ",O(x([D,Z]))]}function W(ie,Be,B,Z){return ie.map(($,j,A)=>{let M=B();return j<A.length-1&&E(Be.originalText,$.getValue(),T)?[M,m]:M},Z)}function ne(ie){return ie.kind&&ie.kind!=="Comment"}function L(ie){let Be=ie.getValue();if(Be.kind==="Comment")return"#"+Be.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(Be))}function re(ie,Be,B){let Z=ie.getNode(),$=[],{interfaces:j}=Z,A=ie.map(M=>B(M),"interfaces");for(let M=0;M<j.length;M++){let Q=j[M];$.push(A[M]);let U=j[M+1];if(U){let q=Be.originalText.slice(Q.loc.end,U.loc.start),K=q.includes("#"),he=q.replace(/#.*/g,"").trim();$.push(he===","?",":" &",K?y:" ")}}return $}function z(ie,Be){ie.kind==="StringValue"&&ie.block&&!ie.value.includes(`
`)&&(Be.value=Be.value.trim())}z.ignoredProperties=new Set(["loc","comments"]);function ue(ie){var Be;let B=ie.getValue();return B==null||(Be=B.comments)===null||Be===void 0?void 0:Be.some(Z=>Z.value.trim()==="prettier-ignore")}h.exports={print:_,massageAstNode:z,hasPrettierIgnore:ue,insertPragma:k,printComment:L,canAttachComment:ne}}}),C=Oe({"src/language-graphql/options.js"(u,h){Ye();var f=gu();h.exports={bracketSpacing:f.bracketSpacing}}}),J=Oe({"src/language-graphql/parsers.js"(){Ye()}}),V=Oe({"node_modules/linguist-languages/data/GraphQL.json"(u,h){h.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),we=Oe({"src/language-graphql/index.js"(u,h){Ye();var f=Is(),m=P(),y=C(),D=J(),O=[f(V(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],x={graphql:m};h.exports={languages:O,options:y,printers:x,parsers:D}}}),De=Oe({"node_modules/collapse-white-space/index.js"(u,h){Ye(),h.exports=f;function f(m){return String(m).replace(/\s+/g," ")}}}),Xe=Oe({"src/language-markdown/loc.js"(u,h){Ye();function f(y){return y.position.start.offset}function m(y){return y.position.end.offset}h.exports={locStart:f,locEnd:m}}}),ve=Oe({"src/language-markdown/constants.evaluate.js"(u,h){h.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ae=Oe({"src/language-markdown/utils.js"(u,h){Ye();var{getLast:f}=fi(),{locStart:m,locEnd:y}=Xe(),{cjkPattern:D,kPattern:O,punctuationPattern:x}=ve(),v=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],E=[...v,"tableCell","paragraph","heading"],F=new RegExp(O),k=new RegExp(x);function N(L,re){let z="non-cjk",ue="cj-letter",ie="k-letter",Be="cjk-punctuation",B=[],Z=(re.proseWrap==="preserve"?L:L.replace(new RegExp(`(${D})
(${D})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[j,A]of Z.entries()){if(j%2===1){B.push({type:"whitespace",value:/\n/.test(A)?`
`:" "});continue}if((j===0||j===Z.length-1)&&A==="")continue;let M=A.split(new RegExp(`(${D})`));for(let[Q,U]of M.entries())if(!((Q===0||Q===M.length-1)&&U==="")){if(Q%2===0){U!==""&&$({type:"word",value:U,kind:z,hasLeadingPunctuation:k.test(U[0]),hasTrailingPunctuation:k.test(f(U))});continue}$(k.test(U)?{type:"word",value:U,kind:Be,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:U,kind:F.test(U)?ie:ue,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return B;function $(j){let A=f(B);A&&A.type==="word"&&(A.kind===z&&j.kind===ue&&!A.hasTrailingPunctuation||A.kind===ue&&j.kind===z&&!j.hasLeadingPunctuation?B.push({type:"whitespace",value:" "}):!M(z,Be)&&![A.value,j.value].some(Q=>/\u3000/.test(Q))&&B.push({type:"whitespace",value:""})),B.push(j);function M(Q,U){return A.kind===Q&&j.kind===U||A.kind===U&&j.kind===Q}}}function T(L,re){let[,z,ue,ie]=re.slice(L.position.start.offset,L.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:z,marker:ue,leadingSpaces:ie}}function _(L,re){if(!L.ordered||L.children.length<2)return!1;let z=Number(T(L.children[0],re.originalText).numberText),ue=Number(T(L.children[1],re.originalText).numberText);if(z===0&&L.children.length>2){let ie=Number(T(L.children[2],re.originalText).numberText);return ue===1&&ie===1}return ue===1}function R(L,re){let{value:z}=L;return L.position.end.offset===re.length&&z.endsWith(`
`)&&re.endsWith(`
`)?z.slice(0,-1):z}function W(L,re){return function z(ue,ie,Be){let B=Object.assign({},re(ue,ie,Be));return B.children&&(B.children=B.children.map((Z,$)=>z(Z,$,[B,...Be]))),B}(L,null,[])}function ne(L){if((L==null?void 0:L.type)!=="link"||L.children.length!==1)return!1;let[re]=L.children;return m(L)===m(re)&&y(L)===y(re)}h.exports={mapAst:W,splitText:N,punctuationPattern:x,getFencedCodeBlockValue:R,getOrderedListItemInfo:T,hasGitDiffFriendlyOrderedList:_,INLINE_NODE_TYPES:v,INLINE_NODE_WRAPPER_TYPES:E,isAutolink:ne}}}),ht=Oe({"src/language-markdown/embed.js"(u,h){Ye();var{inferParserByLanguage:f,getMaxContinuousCount:m}=fi(),{builders:{hardline:y,markAsRoot:D},utils:{replaceEndOfLine:O}}=Ln(),x=wc(),{getFencedCodeBlockValue:v}=Ae();function E(F,k,N,T){let _=F.getValue();if(_.type==="code"&&_.lang!==null){let R=f(_.lang,T);if(R){let W=T.__inJsTemplate?"~":"`",ne=W.repeat(Math.max(3,m(_.value,W)+1)),L={parser:R};_.lang==="tsx"&&(L.filepath="dummy.tsx");let re=N(v(_,T.originalText),L,{stripTrailingHardline:!0});return D([ne,_.lang,_.meta?" "+_.meta:"",y,O(re),y,ne])}}switch(_.type){case"front-matter":return x(_,N);case"importExport":return[N(_.value,{parser:"babel"},{stripTrailingHardline:!0}),y];case"jsx":return N(`<$>${_.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}h.exports=E}}),yt=Oe({"src/language-markdown/pragma.js"(u,h){Ye();var f=gp(),m=["format","prettier"];function y(D){let O=`@(${m.join("|")})`,x=new RegExp([`<!--\\s*${O}\\s*-->`,`{\\s*\\/\\*\\s*${O}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${O}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),v=D.match(x);return(v==null?void 0:v.index)===0}h.exports={startWithPragma:y,hasPragma:D=>y(f(D).content.trimStart()),insertPragma:D=>{let O=f(D),x=`<!-- @${m[0]} -->`;return O.frontMatter?`${O.frontMatter.raw}
${x}
${O.content}`:`${x}
${O.content}`}}}}),Ft=Oe({"src/language-markdown/print-preprocess.js"(u,h){Ye();var f=Cs(),{getOrderedListItemInfo:m,mapAst:y,splitText:D}=Ae(),O=/^.$/su;function x(ne,L){return ne=F(ne,L),ne=T(ne),ne=E(ne,L),ne=R(ne,L),ne=W(ne,L),ne=_(ne,L),ne=v(ne),ne=k(ne),ne}function v(ne){return y(ne,L=>L.type!=="import"&&L.type!=="export"?L:Object.assign(Object.assign({},L),{},{type:"importExport"}))}function E(ne,L){return y(ne,re=>re.type!=="inlineCode"||L.proseWrap==="preserve"?re:Object.assign(Object.assign({},re),{},{value:re.value.replace(/\s+/g," ")}))}function F(ne,L){return y(ne,re=>re.type!=="text"||re.value==="*"||re.value==="_"||!O.test(re.value)||re.position.end.offset-re.position.start.offset===re.value.length?re:Object.assign(Object.assign({},re),{},{value:L.originalText.slice(re.position.start.offset,re.position.end.offset)}))}function k(ne){return N(ne,(L,re)=>L.type==="importExport"&&re.type==="importExport",(L,re)=>({type:"importExport",value:L.value+`
`+re.value,position:{start:L.position.start,end:re.position.end}}))}function N(ne,L,re){return y(ne,z=>{if(!z.children)return z;let ue=z.children.reduce((ie,Be)=>{let B=f(ie);return B&&L(B,Be)?ie.splice(-1,1,re(B,Be)):ie.push(Be),ie},[]);return Object.assign(Object.assign({},z),{},{children:ue})})}function T(ne){return N(ne,(L,re)=>L.type==="text"&&re.type==="text",(L,re)=>({type:"text",value:L.value+re.value,position:{start:L.position.start,end:re.position.end}}))}function _(ne,L){return y(ne,(re,z,ue)=>{let[ie]=ue;if(re.type!=="text")return re;let{value:Be}=re;return ie.type==="paragraph"&&(z===0&&(Be=Be.trimStart()),z===ie.children.length-1&&(Be=Be.trimEnd())),{type:"sentence",position:re.position,children:D(Be,L)}})}function R(ne,L){return y(ne,(re,z,ue)=>{if(re.type==="code"){let ie=/^\n?(?: {4,}|\t)/.test(L.originalText.slice(re.position.start.offset,re.position.end.offset));if(re.isIndented=ie,ie)for(let Be=0;Be<ue.length;Be++){let B=ue[Be];if(B.hasIndentedCodeblock)break;B.type==="list"&&(B.hasIndentedCodeblock=!0)}}return re})}function W(ne,L){return y(ne,(ue,ie,Be)=>{if(ue.type==="list"&&ue.children.length>0){for(let B=0;B<Be.length;B++){let Z=Be[B];if(Z.type==="list"&&!Z.isAligned)return ue.isAligned=!1,ue}ue.isAligned=z(ue)}return ue});function re(ue){return ue.children.length===0?-1:ue.children[0].position.start.column-1}function z(ue){if(!ue.ordered)return!0;let[ie,Be]=ue.children;if(m(ie,L.originalText).leadingSpaces.length>1)return!0;let B=re(ie);if(B===-1)return!1;if(ue.children.length===1)return B%L.tabWidth===0;let Z=re(Be);return B!==Z?!1:B%L.tabWidth===0?!0:m(Be,L.originalText).leadingSpaces.length>1}}h.exports=x}}),Tr=Oe({"src/language-markdown/clean.js"(u,h){Ye();var f=De(),{isFrontMatterNode:m}=fi(),{startWithPragma:y}=yt(),D=new Set(["position","raw"]);function O(x,v,E){if((x.type==="front-matter"||x.type==="code"||x.type==="yaml"||x.type==="import"||x.type==="export"||x.type==="jsx")&&delete v.value,x.type==="list"&&delete v.isAligned,(x.type==="list"||x.type==="listItem")&&(delete v.spread,delete v.loose),x.type==="text"||(x.type==="inlineCode"&&(v.value=x.value.replace(/[\t\n ]+/g," ")),x.type==="wikiLink"&&(v.value=x.value.trim().replace(/[\t\n]+/g," ")),(x.type==="definition"||x.type==="linkReference"||x.type==="imageReference")&&(v.label=f(x.label)),(x.type==="definition"||x.type==="link"||x.type==="image")&&x.title&&(v.title=x.title.replace(/\\(["')])/g,"$1")),E&&E.type==="root"&&E.children.length>0&&(E.children[0]===x||m(E.children[0])&&E.children[1]===x)&&x.type==="html"&&y(x.value)))return null}O.ignoredProperties=D,h.exports=O}}),Yr=Oe({"src/language-markdown/printer-markdown.js"(u,h){Ye();var f=De(),{getLast:m,getMinNotPresentContinuousCount:y,getMaxContinuousCount:D,getStringWidth:O,isNonEmptyArray:x}=fi(),{builders:{breakParent:v,join:E,line:F,literalline:k,markAsRoot:N,hardline:T,softline:_,ifBreak:R,fill:W,align:ne,indent:L,group:re,hardlineWithoutBreakParent:z},utils:{normalizeDoc:ue,replaceTextEndOfLine:ie},printer:{printDocToString:Be}}=Ln(),B=ht(),{insertPragma:Z}=yt(),{locStart:$,locEnd:j}=Xe(),A=Ft(),M=Tr(),{getFencedCodeBlockValue:Q,hasGitDiffFriendlyOrderedList:U,splitText:q,punctuationPattern:K,INLINE_NODE_TYPES:he,INLINE_NODE_WRAPPER_TYPES:Te,isAutolink:_e}=Ae(),Pe=new Set(["importExport"]),ze=["heading","tableCell","link","wikiLink"],ye=new Set(["listItem","definition","footnoteDefinition"]);function ct($t,je,Qt){let et=$t.getValue();if(ur($t))return q(je.originalText.slice(et.position.start.offset,et.position.end.offset),je).map(Nt=>Nt.type==="word"?Nt.value:Nt.value===""?"":Ne($t,Nt.value,je));switch(et.type){case"front-matter":return je.originalText.slice(et.position.start.offset,et.position.end.offset);case"root":return et.children.length===0?"":[ue(It($t,je,Qt)),Pe.has(rt(et).type)?"":T];case"paragraph":return Mt($t,je,Qt,{postprocessor:W});case"sentence":return Mt($t,je,Qt);case"word":{let Nt=et.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${K})(_+)`,`(_+)(${K}|$)`].join("|"),"g"),(Ut,X,We,_t,gr)=>(We?`${X}${We}`:`${_t}${gr}`).replace(/_/g,"\\_")),Wr=(Ut,X,We)=>Ut.type==="sentence"&&We===0,$r=(Ut,X,We)=>_e(Ut.children[We-1]);return Nt!==et.value&&($t.match(void 0,Wr,$r)||$t.match(void 0,Wr,(Ut,X,We)=>Ut.type==="emphasis"&&We===0,$r))&&(Nt=Nt.replace(/^(\\?[*_])+/,Ut=>Ut.replace(/\\/g,""))),Nt}case"whitespace":{let Nt=$t.getParentNode(),Wr=Nt.children.indexOf(et),$r=Nt.children[Wr+1],Ut=$r&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test($r.value)?"never":je.proseWrap;return Ne($t,et.value,{proseWrap:Ut})}case"emphasis":{let Nt;if(_e(et.children[0]))Nt=je.originalText[et.position.start.offset];else{let Wr=$t.getParentNode(),$r=Wr.children.indexOf(et),Ut=Wr.children[$r-1],X=Wr.children[$r+1];Nt=Ut&&Ut.type==="sentence"&&Ut.children.length>0&&m(Ut.children).type==="word"&&!m(Ut.children).hasTrailingPunctuation||X&&X.type==="sentence"&&X.children.length>0&&X.children[0].type==="word"&&!X.children[0].hasLeadingPunctuation||jt($t,"emphasis")?"*":"_"}return[Nt,Mt($t,je,Qt),Nt]}case"strong":return["**",Mt($t,je,Qt),"**"];case"delete":return["~~",Mt($t,je,Qt),"~~"];case"inlineCode":{let Nt=y(et.value,"`"),Wr="`".repeat(Nt||1),$r=Nt&&!/^\s/.test(et.value)?" ":"";return[Wr,$r,et.value,$r,Wr]}case"wikiLink":{let Nt="";return je.proseWrap==="preserve"?Nt=et.value:Nt=et.value.replace(/[\t\n]+/g," "),["[[",Nt,"]]"]}case"link":switch(je.originalText[et.position.start.offset]){case"<":{let Nt="mailto:";return["<",et.url.startsWith(Nt)&&je.originalText.slice(et.position.start.offset+1,et.position.start.offset+1+Nt.length)!==Nt?et.url.slice(Nt.length):et.url,">"]}case"[":return["[",Mt($t,je,Qt),"](",xr(et.url,")"),gn(et.title,je),")"];default:return je.originalText.slice(et.position.start.offset,et.position.end.offset)}case"image":return["![",et.alt||"","](",xr(et.url,")"),gn(et.title,je),")"];case"blockquote":return["> ",ne("> ",Mt($t,je,Qt))];case"heading":return["#".repeat(et.depth)+" ",Mt($t,je,Qt)];case"code":{if(et.isIndented){let $r=" ".repeat(4);return ne($r,[$r,...ie(et.value,T)])}let Nt=je.__inJsTemplate?"~":"`",Wr=Nt.repeat(Math.max(3,D(et.value,Nt)+1));return[Wr,et.lang||"",et.meta?" "+et.meta:"",T,...ie(Q(et,je.originalText),T),T,Wr]}case"html":{let Nt=$t.getParentNode(),Wr=Nt.type==="root"&&m(Nt.children)===et?et.value.trimEnd():et.value,$r=/^<!--.*-->$/s.test(Wr);return ie(Wr,$r?T:N(k))}case"list":{let Nt=lt(et,$t.getParentNode()),Wr=U(et,je);return Mt($t,je,Qt,{processor:($r,Ut)=>{let X=_t(),We=$r.getValue();if(We.children.length===2&&We.children[1].type==="html"&&We.children[0].position.start.column!==We.children[1].position.start.column)return[X,Fe($r,je,Qt,X)];return[X,ne(" ".repeat(X.length),Fe($r,je,Qt,X))];function _t(){let gr=et.ordered?(Ut===0?et.start:Wr?1:et.start+Ut)+(Nt%2===0?". ":") "):Nt%2===0?"- ":"* ";return et.isAligned||et.hasIndentedCodeblock?Se(gr,je):gr}}})}case"thematicBreak":{let Nt=ft($t,"list");return Nt===-1?"---":lt($t.getParentNode(Nt),$t.getParentNode(Nt+1))%2===0?"***":"---"}case"linkReference":return["[",Mt($t,je,Qt),"]",et.referenceType==="full"?dn(et):et.referenceType==="collapsed"?"[]":""];case"imageReference":switch(et.referenceType){case"full":return["![",et.alt||"","]",dn(et)];default:return["![",et.alt,"]",et.referenceType==="collapsed"?"[]":""]}case"definition":{let Nt=je.proseWrap==="always"?F:" ";return re([dn(et),":",L([Nt,xr(et.url),et.title===null?"":[Nt,gn(et.title,je,!1)]])])}case"footnote":return["[^",Mt($t,je,Qt),"]"];case"footnoteReference":return $n(et);case"footnoteDefinition":{let Nt=$t.getParentNode().children[$t.getName()+1],Wr=et.children.length===1&&et.children[0].type==="paragraph"&&(je.proseWrap==="never"||je.proseWrap==="preserve"&&et.children[0].position.start.line===et.children[0].position.end.line);return[$n(et),": ",Wr?Mt($t,je,Qt):re([ne(" ".repeat(4),Mt($t,je,Qt,{processor:($r,Ut)=>Ut===0?re([_,Qt()]):Qt()})),Nt&&Nt.type==="footnoteDefinition"?_:""])]}case"table":return Je($t,je,Qt);case"tableCell":return Mt($t,je,Qt);case"break":return/\s/.test(je.originalText[et.position.start.offset])?[" ",N(k)]:["\\",T];case"liquidNode":return ie(et.value,T);case"importExport":return[et.value,T];case"esComment":return["{/* ",et.value," */}"];case"jsx":return et.value;case"math":return["$$",T,et.value?[...ie(et.value,T),T]:"","$$"];case"inlineMath":return je.originalText.slice($(et),j(et));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(et.type)}`)}}function Fe($t,je,Qt,et){let Nt=$t.getValue(),Wr=Nt.checked===null?"":Nt.checked?"[x] ":"[ ] ";return[Wr,Mt($t,je,Qt,{processor:($r,Ut)=>{if(Ut===0&&$r.getValue().type!=="list")return ne(" ".repeat(Wr.length),Qt());let X=" ".repeat(Si(je.tabWidth-et.length,0,3));return[X,ne(X,Qt())]}})]}function Se($t,je){let Qt=et();return $t+" ".repeat(Qt>=4?0:Qt);function et(){let Nt=$t.length%je.tabWidth;return Nt===0?0:je.tabWidth-Nt}}function lt($t,je){return kt($t,je,Qt=>Qt.ordered===$t.ordered)}function kt($t,je,Qt){let et=-1;for(let Nt of je.children)if(Nt.type===$t.type&&Qt(Nt)?et++:et=-1,Nt===$t)return et}function ft($t,je){let Qt=Array.isArray(je)?je:[je],et=-1,Nt;for(;Nt=$t.getParentNode(++et);)if(Qt.includes(Nt.type))return et;return-1}function jt($t,je){let Qt=ft($t,je);return Qt===-1?null:$t.getParentNode(Qt)}function Ne($t,je,Qt){if(Qt.proseWrap==="preserve"&&je===`
`)return T;let et=Qt.proseWrap==="always"&&!jt($t,ze);return je!==""?et?F:" ":et?_:""}function Je($t,je,Qt){let et=$t.getValue(),Nt=[],Wr=$t.map(gr=>gr.map((wr,hn)=>{let br=Be(Qt(),je).formatted,_s=O(br);return Nt[hn]=Math.max(Nt[hn]||3,_s),{text:br,width:_s}},"children"),"children"),$r=X(!1);if(je.proseWrap!=="never")return[v,$r];let Ut=X(!0);return[v,re(R(Ut,$r))];function X(gr){let wr=[_t(Wr[0],gr),We(gr)];return Wr.length>1&&wr.push(E(z,Wr.slice(1).map(hn=>_t(hn,gr)))),E(z,wr)}function We(gr){return`| ${Nt.map((wr,hn)=>{let br=et.align[hn],_s=br==="center"||br==="left"?":":"-",nn=br==="center"||br==="right"?":":"-",ws=gr?"-":"-".repeat(wr-2);return`${_s}${ws}${nn}`}).join(" | ")} |`}function _t(gr,wr){return`| ${gr.map((hn,br)=>{let{text:_s,width:nn}=hn;if(wr)return _s;let ws=Nt[br]-nn,en=et.align[br],Yn=0;en==="right"?Yn=ws:en==="center"&&(Yn=Math.floor(ws/2));let Di=ws-Yn;return`${" ".repeat(Yn)}${_s}${" ".repeat(Di)}`}).join(" | ")} |`}}function It($t,je,Qt){let et=[],Nt=null,{children:Wr}=$t.getValue();for(let[$r,Ut]of Wr.entries())switch(Ve(Ut)){case"start":Nt===null&&(Nt={index:$r,offset:Ut.position.end.offset});break;case"end":Nt!==null&&(et.push({start:Nt,end:{index:$r,offset:Ut.position.start.offset}}),Nt=null);break}return Mt($t,je,Qt,{processor:($r,Ut)=>{if(et.length>0){let X=et[0];if(Ut===X.start.index)return[Rr(Wr[X.start.index]),je.originalText.slice(X.start.offset,X.end.offset),Rr(Wr[X.end.index])];if(X.start.index<Ut&&Ut<X.end.index)return!1;if(Ut===X.end.index)return et.shift(),!1}return Qt()}})}function Mt($t,je,Qt){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Nt}=et,Wr=et.processor||(()=>Qt()),$r=$t.getValue(),Ut=[],X;return $t.each((We,_t)=>{let gr=We.getValue(),wr=Wr(We,_t);if(wr!==!1){let hn={parts:Ut,prevNode:X,parentNode:$r,options:je};mt(gr,hn)&&(Ut.push(T),X&&Pe.has(X.type)||(Et(gr,hn)||zt(gr,hn))&&Ut.push(T),zt(gr,hn)&&Ut.push(T)),Ut.push(wr),X=gr}},"children"),Nt?Nt(Ut):Ut}function Rr($t){if($t.type==="html")return $t.value;if($t.type==="paragraph"&&Array.isArray($t.children)&&$t.children.length===1&&$t.children[0].type==="esComment")return["{/* ",$t.children[0].value," */}"]}function rt($t){let je=$t;for(;x(je.children);)je=m(je.children);return je}function Ve($t){let je;if($t.type==="html")je=$t.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Qt;$t.type==="esComment"?Qt=$t:$t.type==="paragraph"&&$t.children.length===1&&$t.children[0].type==="esComment"&&(Qt=$t.children[0]),Qt&&(je=Qt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return je?je[1]||"next":!1}function mt($t,je){let Qt=je.parts.length===0,et=he.includes($t.type),Nt=$t.type==="html"&&Te.includes(je.parentNode.type);return!Qt&&!et&&!Nt}function Et($t,je){var Qt,et,Nt;let Wr=(je.prevNode&&je.prevNode.type)===$t.type&&ye.has($t.type),$r=je.parentNode.type==="listItem"&&!je.parentNode.loose,Ut=((Qt=je.prevNode)===null||Qt===void 0?void 0:Qt.type)==="listItem"&&je.prevNode.loose,X=Ve(je.prevNode)==="next",We=$t.type==="html"&&((et=je.prevNode)===null||et===void 0?void 0:et.type)==="html"&&je.prevNode.position.end.line+1===$t.position.start.line,_t=$t.type==="html"&&je.parentNode.type==="listItem"&&((Nt=je.prevNode)===null||Nt===void 0?void 0:Nt.type)==="paragraph"&&je.prevNode.position.end.line+1===$t.position.start.line;return Ut||!(Wr||$r||X||We||_t)}function zt($t,je){let Qt=je.prevNode&&je.prevNode.type==="list",et=$t.type==="code"&&$t.isIndented;return Qt&&et}function ur($t){let je=jt($t,["linkReference","imageReference"]);return je&&(je.type!=="linkReference"||je.referenceType!=="full")}function xr($t){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qt=[" ",...Array.isArray(je)?je:[je]];return new RegExp(Qt.map(et=>`\\${et}`).join("|")).test($t)?`<${$t}>`:$t}function gn($t,je){let Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!$t)return"";if(Qt)return" "+gn($t,je,!1);if($t=$t.replace(/\\(["')])/g,"$1"),$t.includes('"')&&$t.includes("'")&&!$t.includes(")"))return`(${$t})`;let et=$t.split("'").length-1,Nt=$t.split('"').length-1,Wr=et>Nt?'"':Nt>et||je.singleQuote?"'":'"';return $t=$t.replace(/\\/,"\\\\"),$t=$t.replace(new RegExp(`(${Wr})`,"g"),"\\$1"),`${Wr}${$t}${Wr}`}function Si($t,je,Qt){return $t<je?je:$t>Qt?Qt:$t}function di($t){let je=Number($t.getName());if(je===0)return!1;let Qt=$t.getParentNode().children[je-1];return Ve(Qt)==="next"}function dn($t){return`[${f($t.label)}]`}function $n($t){return`[^${$t.label}]`}h.exports={preprocess:A,print:ct,embed:B,massageAstNode:M,hasPrettierIgnore:di,insertPragma:Z}}}),un=Oe({"src/language-markdown/options.js"(u,h){Ye();var f=gu();h.exports={proseWrap:f.proseWrap,singleQuote:f.singleQuote}}}),Vn=Oe({"src/language-markdown/parsers.js"(){Ye()}}),wn=Oe({"node_modules/linguist-languages/data/Markdown.json"(u,h){h.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Rn=Oe({"src/language-markdown/index.js"(u,h){Ye();var f=Is(),m=Yr(),y=un(),D=Vn(),O=[f(wn(),v=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...v.filenames,"README"],extensions:v.extensions.filter(E=>E!==".mdx")})),f(wn(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],x={mdast:m};h.exports={languages:O,options:y,printers:x,parsers:D}}}),Pn=Oe({"src/language-html/clean.js"(u,h){Ye();var{isFrontMatterNode:f}=fi(),m=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function y(D,O){if(D.type==="text"||D.type==="comment"||f(D)||D.type==="yaml"||D.type==="toml")return null;D.type==="attribute"&&delete O.value,D.type==="docType"&&delete O.value}y.ignoredProperties=m,h.exports=y}}),Un=Oe({"src/language-html/constants.evaluate.js"(u,h){h.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),Br=Oe({"src/language-html/utils/is-unknown-namespace.js"(u,h){Ye();function f(m){return m.type==="element"&&!m.hasExplicitNamespace&&!["html","svg"].includes(m.namespace)}h.exports=f}}),hr=Oe({"src/language-html/utils/index.js"(u,h){Ye();var{inferParserByLanguage:f,isFrontMatterNode:m}=fi(),{builders:{line:y,hardline:D,join:O},utils:{getDocParts:x,replaceTextEndOfLine:v}}=Ln(),{CSS_DISPLAY_TAGS:E,CSS_DISPLAY_DEFAULT:F,CSS_WHITE_SPACE_TAGS:k,CSS_WHITE_SPACE_DEFAULT:N}=Un(),T=Br(),_=new Set([" ",`
`,"\f","\r"," "]),R=X=>X.replace(/^[\t\n\f\r ]+/,""),W=X=>X.replace(/[\t\n\f\r ]+$/,""),ne=X=>R(W(X)),L=X=>X.replace(/^[\t\f\r ]*\n/g,""),re=X=>L(W(X)),z=X=>X.split(/[\t\n\f\r ]+/),ue=X=>X.match(/^[\t\n\f\r ]*/)[0],ie=X=>{let[,We,_t,gr]=X.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:We,trailingWhitespace:gr,text:_t}},Be=X=>/[\t\n\f\r ]/.test(X);function B(X,We){return!!(X.type==="ieConditionalComment"&&X.lastChild&&!X.lastChild.isSelfClosing&&!X.lastChild.endSourceSpan||X.type==="ieConditionalComment"&&!X.complete||Et(X)&&X.children.some(_t=>_t.type!=="text"&&_t.type!=="interpolation")||et(X,We)&&!A(X)&&X.type!=="interpolation")}function Z(X){return X.type==="attribute"||!X.parent||!X.prev?!1:$(X.prev)}function $(X){return X.type==="comment"&&X.value.trim()==="prettier-ignore"}function j(X){return X.type==="text"||X.type==="comment"}function A(X){return X.type==="element"&&(X.fullName==="script"||X.fullName==="style"||X.fullName==="svg:style"||T(X)&&(X.name==="script"||X.name==="style"))}function M(X){return X.children&&!A(X)}function Q(X){return A(X)||X.type==="interpolation"||U(X)}function U(X){return gn(X).startsWith("pre")}function q(X,We){let _t=gr();if(_t&&!X.prev&&X.parent&&X.parent.tagDefinition&&X.parent.tagDefinition.ignoreFirstLf)return X.type==="interpolation";return _t;function gr(){return m(X)?!1:(X.type==="text"||X.type==="interpolation")&&X.prev&&(X.prev.type==="text"||X.prev.type==="interpolation")?!0:!X.parent||X.parent.cssDisplay==="none"?!1:Et(X.parent)?!0:!(!X.prev&&(X.parent.type==="root"||Et(X)&&X.parent||A(X.parent)||je(X.parent,We)||!Mt(X.parent.cssDisplay))||X.prev&&!Ve(X.prev.cssDisplay))}}function K(X,We){return m(X)?!1:(X.type==="text"||X.type==="interpolation")&&X.next&&(X.next.type==="text"||X.next.type==="interpolation")?!0:!X.parent||X.parent.cssDisplay==="none"?!1:Et(X.parent)?!0:!(!X.next&&(X.parent.type==="root"||Et(X)&&X.parent||A(X.parent)||je(X.parent,We)||!Rr(X.parent.cssDisplay))||X.next&&!rt(X.next.cssDisplay))}function he(X){return mt(X.cssDisplay)&&!A(X)}function Te(X){return m(X)||X.next&&X.sourceSpan.end&&X.sourceSpan.end.line+1<X.next.sourceSpan.start.line}function _e(X){return Pe(X)||X.type==="element"&&X.children.length>0&&(["body","script","style"].includes(X.name)||X.children.some(We=>ft(We)))||X.firstChild&&X.firstChild===X.lastChild&&X.firstChild.type!=="text"&&Fe(X.firstChild)&&(!X.lastChild.isTrailingSpaceSensitive||Se(X.lastChild))}function Pe(X){return X.type==="element"&&X.children.length>0&&(["html","head","ul","ol","select"].includes(X.name)||X.cssDisplay.startsWith("table")&&X.cssDisplay!=="table-cell")}function ze(X){return lt(X)||X.prev&&ye(X.prev)||ct(X)}function ye(X){return lt(X)||X.type==="element"&&X.fullName==="br"||ct(X)}function ct(X){return Fe(X)&&Se(X)}function Fe(X){return X.hasLeadingSpaces&&(X.prev?X.prev.sourceSpan.end.line<X.sourceSpan.start.line:X.parent.type==="root"||X.parent.startSourceSpan.end.line<X.sourceSpan.start.line)}function Se(X){return X.hasTrailingSpaces&&(X.next?X.next.sourceSpan.start.line>X.sourceSpan.end.line:X.parent.type==="root"||X.parent.endSourceSpan&&X.parent.endSourceSpan.start.line>X.sourceSpan.end.line)}function lt(X){switch(X.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(X.name)}return!1}function kt(X){return X.lastChild?kt(X.lastChild):X}function ft(X){return X.children&&X.children.some(We=>We.type!=="text")}function jt(X){let{type:We,lang:_t}=X.attrMap;if(We==="module"||We==="text/javascript"||We==="text/babel"||We==="application/javascript"||_t==="jsx")return"babel";if(We==="application/x-typescript"||_t==="ts"||_t==="tsx")return"typescript";if(We==="text/markdown")return"markdown";if(We==="text/html")return"html";if(We&&(We.endsWith("json")||We.endsWith("importmap"))||We==="speculationrules")return"json";if(We==="text/x-handlebars-template")return"glimmer"}function Ne(X,We){let{lang:_t}=X.attrMap;if(!_t||_t==="postcss"||_t==="css")return"css";if(_t==="scss")return"scss";if(_t==="less")return"less";if(_t==="stylus")return f("stylus",We)}function Je(X,We){if(X.name==="script"&&!X.attrMap.src)return!X.attrMap.lang&&!X.attrMap.type?"babel":jt(X);if(X.name==="style")return Ne(X,We);if(We&&et(X,We))return jt(X)||!("src"in X.attrMap)&&f(X.attrMap.lang,We)}function It(X){return X==="block"||X==="list-item"||X.startsWith("table")}function Mt(X){return!It(X)&&X!=="inline-block"}function Rr(X){return!It(X)&&X!=="inline-block"}function rt(X){return!It(X)}function Ve(X){return!It(X)}function mt(X){return!It(X)&&X!=="inline-block"}function Et(X){return gn(X).startsWith("pre")}function zt(X,We){let _t=0;for(let gr=X.stack.length-1;gr>=0;gr--){let wr=X.stack[gr];wr&&typeof wr=="object"&&!Array.isArray(wr)&&We(wr)&&_t++}return _t}function ur(X,We){let _t=X;for(;_t;){if(We(_t))return!0;_t=_t.parent}return!1}function xr(X,We){if(X.prev&&X.prev.type==="comment"){let gr=X.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(gr)return gr[1]}let _t=!1;if(X.type==="element"&&X.namespace==="svg")if(ur(X,gr=>gr.fullName==="svg:foreignObject"))_t=!0;else return X.name==="svg"?"inline-block":"block";switch(We.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return We.parser==="vue"&&X.parent&&X.parent.type==="root"?"block":X.type==="element"&&(!X.namespace||_t||T(X))&&E[X.name]||F}}function gn(X){return X.type==="element"&&(!X.namespace||T(X))&&k[X.name]||N}function Si(X){let We=Number.POSITIVE_INFINITY;for(let _t of X.split(`
`)){if(_t.length===0)continue;if(!_.has(_t[0]))return 0;let gr=ue(_t).length;_t.length!==gr&&gr<We&&(We=gr)}return We===Number.POSITIVE_INFINITY?0:We}function di(X){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Si(X);return We===0?X:X.split(`
`).map(_t=>_t.slice(We)).join(`
`)}function dn(X,We){let _t=0;for(let gr=0;gr<X.length;gr++)X[gr]===We&&_t++;return _t}function $n(X){return X.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var $t=new Set(["template","style","script"]);function je(X,We){return Qt(X,We)&&!$t.has(X.fullName)}function Qt(X,We){return We.parser==="vue"&&X.type==="element"&&X.parent.type==="root"&&X.fullName.toLowerCase()!=="html"}function et(X,We){return Qt(X,We)&&(je(X,We)||X.attrMap.lang&&X.attrMap.lang!=="html")}function Nt(X){let We=X.fullName;return We.charAt(0)==="#"||We==="slot-scope"||We==="v-slot"||We.startsWith("v-slot:")}function Wr(X,We){let _t=X.parent;if(!Qt(_t,We))return!1;let gr=_t.fullName,wr=X.fullName;return gr==="script"&&wr==="setup"||gr==="style"&&wr==="vars"}function $r(X){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.value;return X.parent.isWhitespaceSensitive?X.parent.isIndentationSensitive?v(We):v(di(re(We)),D):x(O(y,z(We)))}function Ut(X,We){return Qt(X,We)&&X.name==="script"}h.exports={htmlTrim:ne,htmlTrimPreserveIndentation:re,hasHtmlWhitespace:Be,getLeadingAndTrailingHtmlWhitespace:ie,canHaveInterpolation:M,countChars:dn,countParents:zt,dedentString:di,forceBreakChildren:Pe,forceBreakContent:_e,forceNextEmptyLine:Te,getLastDescendant:kt,getNodeCssStyleDisplay:xr,getNodeCssStyleWhiteSpace:gn,hasPrettierIgnore:Z,inferScriptParser:Je,isVueCustomBlock:je,isVueNonHtmlBlock:et,isVueScriptTag:Ut,isVueSlotAttribute:Nt,isVueSfcBindingsAttribute:Wr,isVueSfcBlock:Qt,isDanglingSpaceSensitiveNode:he,isIndentationSensitiveNode:U,isLeadingSpaceSensitiveNode:q,isPreLikeNode:Et,isScriptLikeTag:A,isTextLikeNode:j,isTrailingSpaceSensitiveNode:K,isWhitespaceSensitiveNode:Q,isUnknownNamespace:T,preferHardlineAsLeadingSpaces:ze,preferHardlineAsTrailingSpaces:ye,shouldPreserveContent:B,unescapeQuoteEntities:$n,getTextValueParts:$r}}}),Mr=Oe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.$EOF=0,u.$BSPACE=8,u.$TAB=9,u.$LF=10,u.$VTAB=11,u.$FF=12,u.$CR=13,u.$SPACE=32,u.$BANG=33,u.$DQ=34,u.$HASH=35,u.$$=36,u.$PERCENT=37,u.$AMPERSAND=38,u.$SQ=39,u.$LPAREN=40,u.$RPAREN=41,u.$STAR=42,u.$PLUS=43,u.$COMMA=44,u.$MINUS=45,u.$PERIOD=46,u.$SLASH=47,u.$COLON=58,u.$SEMICOLON=59,u.$LT=60,u.$EQ=61,u.$GT=62,u.$QUESTION=63,u.$0=48,u.$7=55,u.$9=57,u.$A=65,u.$E=69,u.$F=70,u.$X=88,u.$Z=90,u.$LBRACKET=91,u.$BACKSLASH=92,u.$RBRACKET=93,u.$CARET=94,u.$_=95,u.$a=97,u.$b=98,u.$e=101,u.$f=102,u.$n=110,u.$r=114,u.$t=116,u.$u=117,u.$v=118,u.$x=120,u.$z=122,u.$LBRACE=123,u.$BAR=124,u.$RBRACE=125,u.$NBSP=160,u.$PIPE=124,u.$TILDA=126,u.$AT=64,u.$BT=96;function h(x){return x>=u.$TAB&&x<=u.$SPACE||x==u.$NBSP}u.isWhitespace=h;function f(x){return u.$0<=x&&x<=u.$9}u.isDigit=f;function m(x){return x>=u.$a&&x<=u.$z||x>=u.$A&&x<=u.$Z}u.isAsciiLetter=m;function y(x){return x>=u.$a&&x<=u.$f||x>=u.$A&&x<=u.$F||f(x)}u.isAsciiHexDigit=y;function D(x){return x===u.$LF||x===u.$CR}u.isNewLine=D;function O(x){return u.$0<=x&&x<=u.$7}u.isOctalDigit=O}}),pr=Oe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=class{constructor(m,y,D){this.filePath=m,this.name=y,this.members=D}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};u.StaticSymbol=h;var f=class{constructor(){this.cache=new Map}get(m,y,D){D=D||[];let O=D.length?`.${D.join(".")}`:"",x=`"${m}".${y}${O}`,v=this.cache.get(x);return v||(v=new h(m,y,D),this.cache.set(x,v)),v}};u.StaticSymbolCache=f}}),Fs=Oe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=/-+([a-z0-9])/g;function f(A){return A.replace(h,function(){for(var M=arguments.length,Q=new Array(M),U=0;U<M;U++)Q[U]=arguments[U];return Q[1].toUpperCase()})}u.dashCaseToCamelCase=f;function m(A,M){return D(A,":",M)}u.splitAtColon=m;function y(A,M){return D(A,".",M)}u.splitAtPeriod=y;function D(A,M,Q){let U=A.indexOf(M);return U==-1?Q:[A.slice(0,U).trim(),A.slice(U+1).trim()]}function O(A,M,Q){return Array.isArray(A)?M.visitArray(A,Q):L(A)?M.visitStringMap(A,Q):A==null||typeof A=="string"||typeof A=="number"||typeof A=="boolean"?M.visitPrimitive(A,Q):M.visitOther(A,Q)}u.visitValue=O;function x(A){return A!=null}u.isDefined=x;function v(A){return A===void 0?null:A}u.noUndefined=v;var E=class{visitArray(A,M){return A.map(Q=>O(Q,this,M))}visitStringMap(A,M){let Q={};return Object.keys(A).forEach(U=>{Q[U]=O(A[U],this,M)}),Q}visitPrimitive(A,M){return A}visitOther(A,M){return A}};u.ValueTransformer=E,u.SyncAsync={assertSync:A=>{if(ie(A))throw new Error("Illegal state: value cannot be a promise");return A},then:(A,M)=>ie(A)?A.then(M):M(A),all:A=>A.some(ie)?Promise.all(A):A};function F(A){throw new Error(`Internal Error: ${A}`)}u.error=F;function k(A,M){let Q=Error(A);return Q[N]=!0,M&&(Q[T]=M),Q}u.syntaxError=k;var N="ngSyntaxError",T="ngParseErrors";function _(A){return A[N]}u.isSyntaxError=_;function R(A){return A[T]||[]}u.getParseErrors=R;function W(A){return A.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}u.escapeRegExp=W;var ne=Object.getPrototypeOf({});function L(A){return typeof A=="object"&&A!==null&&Object.getPrototypeOf(A)===ne}function re(A){let M="";for(let Q=0;Q<A.length;Q++){let U=A.charCodeAt(Q);if(U>=55296&&U<=56319&&A.length>Q+1){let q=A.charCodeAt(Q+1);q>=56320&&q<=57343&&(Q++,U=(U-55296<<10)+q-56320+65536)}U<=127?M+=String.fromCharCode(U):U<=2047?M+=String.fromCharCode(U>>6&31|192,U&63|128):U<=65535?M+=String.fromCharCode(U>>12|224,U>>6&63|128,U&63|128):U<=2097151&&(M+=String.fromCharCode(U>>18&7|240,U>>12&63|128,U>>6&63|128,U&63|128))}return M}u.utf8Encode=re;function z(A){if(typeof A=="string")return A;if(A instanceof Array)return"["+A.map(z).join(", ")+"]";if(A==null)return""+A;if(A.overriddenName)return`${A.overriddenName}`;if(A.name)return`${A.name}`;if(!A.toString)return"object";let M=A.toString();if(M==null)return""+M;let Q=M.indexOf(`
`);return Q===-1?M:M.substring(0,Q)}u.stringify=z;function ue(A){return typeof A=="function"&&A.hasOwnProperty("__forward_ref__")?A():A}u.resolveForwardRef=ue;function ie(A){return!!A&&typeof A.then=="function"}u.isPromise=ie;var Be=class{constructor(A){this.full=A;let M=A.split(".");this.major=M[0],this.minor=M[1],this.patch=M.slice(2).join(".")}};u.Version=Be;var B=typeof window<"u"&&window,Z=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,$=typeof globalThis<"u"&&globalThis,j=$||B||Z;u.global=j}}),ts=Oe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=pr(),f=Fs(),m=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function y(Q){return Q.replace(/\W/g,"_")}u.sanitizeIdentifier=y;var D=0;function O(Q){if(!Q||!Q.reference)return null;let U=Q.reference;if(U instanceof h.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;let q=f.stringify(U);return q.indexOf("(")>=0?(q=`anonymous_${D++}`,U.__anonymousType=q):q=y(q),q}u.identifierName=O;function x(Q){let U=Q.reference;return U instanceof h.StaticSymbol?U.filePath:`./${f.stringify(U)}`}u.identifierModuleUrl=x;function v(Q,U){return`View_${O({reference:Q})}_${U}`}u.viewClassName=v;function E(Q){return`RenderType_${O({reference:Q})}`}u.rendererTypeName=E;function F(Q){return`HostView_${O({reference:Q})}`}u.hostViewClassName=F;function k(Q){return`${O({reference:Q})}NgFactory`}u.componentFactoryName=k;var N;(function(Q){Q[Q.Pipe=0]="Pipe",Q[Q.Directive=1]="Directive",Q[Q.NgModule=2]="NgModule",Q[Q.Injectable=3]="Injectable"})(N=u.CompileSummaryKind||(u.CompileSummaryKind={}));function T(Q){return Q.value!=null?y(Q.value):O(Q.identifier)}u.tokenName=T;function _(Q){return Q.identifier!=null?Q.identifier.reference:Q.value}u.tokenReference=_;var R=class{constructor(){let{moduleUrl:Q,styles:U,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Q||null,this.styles=ie(U),this.styleUrls=ie(q)}};u.CompileStylesheetMetadata=R;var W=class{constructor(Q){let{encapsulation:U,template:q,templateUrl:K,htmlAst:he,styles:Te,styleUrls:_e,externalStylesheets:Pe,animations:ze,ngContentSelectors:ye,interpolation:ct,isInline:Fe,preserveWhitespaces:Se}=Q;if(this.encapsulation=U,this.template=q,this.templateUrl=K,this.htmlAst=he,this.styles=ie(Te),this.styleUrls=ie(_e),this.externalStylesheets=ie(Pe),this.animations=ze?B(ze):[],this.ngContentSelectors=ye||[],ct&&ct.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ct,this.isInline=Fe,this.preserveWhitespaces=Se}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};u.CompileTemplateMetadata=W;var ne=class{static create(Q){let{isHost:U,type:q,isComponent:K,selector:he,exportAs:Te,changeDetection:_e,inputs:Pe,outputs:ze,host:ye,providers:ct,viewProviders:Fe,queries:Se,guards:lt,viewQueries:kt,entryComponents:ft,template:jt,componentViewType:Ne,rendererType:Je,componentFactory:It}=Q,Mt={},Rr={},rt={};ye!=null&&Object.keys(ye).forEach(Et=>{let zt=ye[Et],ur=Et.match(m);ur===null?rt[Et]=zt:ur[1]!=null?Rr[ur[1]]=zt:ur[2]!=null&&(Mt[ur[2]]=zt)});let Ve={};Pe!=null&&Pe.forEach(Et=>{let zt=f.splitAtColon(Et,[Et,Et]);Ve[zt[0]]=zt[1]});let mt={};return ze!=null&&ze.forEach(Et=>{let zt=f.splitAtColon(Et,[Et,Et]);mt[zt[0]]=zt[1]}),new ne({isHost:U,type:q,isComponent:!!K,selector:he,exportAs:Te,changeDetection:_e,inputs:Ve,outputs:mt,hostListeners:Mt,hostProperties:Rr,hostAttributes:rt,providers:ct,viewProviders:Fe,queries:Se,guards:lt,viewQueries:kt,entryComponents:ft,template:jt,componentViewType:Ne,rendererType:Je,componentFactory:It})}constructor(Q){let{isHost:U,type:q,isComponent:K,selector:he,exportAs:Te,changeDetection:_e,inputs:Pe,outputs:ze,hostListeners:ye,hostProperties:ct,hostAttributes:Fe,providers:Se,viewProviders:lt,queries:kt,guards:ft,viewQueries:jt,entryComponents:Ne,template:Je,componentViewType:It,rendererType:Mt,componentFactory:Rr}=Q;this.isHost=!!U,this.type=q,this.isComponent=K,this.selector=he,this.exportAs=Te,this.changeDetection=_e,this.inputs=Pe,this.outputs=ze,this.hostListeners=ye,this.hostProperties=ct,this.hostAttributes=Fe,this.providers=ie(Se),this.viewProviders=ie(lt),this.queries=ie(kt),this.guards=ft,this.viewQueries=ie(jt),this.entryComponents=ie(Ne),this.template=Je,this.componentViewType=It,this.rendererType=Mt,this.componentFactory=Rr}toSummary(){return{summaryKind:N.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};u.CompileDirectiveMetadata=ne;var L=class{constructor(Q){let{type:U,name:q,pure:K}=Q;this.type=U,this.name=q,this.pure=!!K}toSummary(){return{summaryKind:N.Pipe,type:this.type,name:this.name,pure:this.pure}}};u.CompilePipeMetadata=L;var re=class{};u.CompileShallowModuleMetadata=re;var z=class{constructor(Q){let{type:U,providers:q,declaredDirectives:K,exportedDirectives:he,declaredPipes:Te,exportedPipes:_e,entryComponents:Pe,bootstrapComponents:ze,importedModules:ye,exportedModules:ct,schemas:Fe,transitiveModule:Se,id:lt}=Q;this.type=U||null,this.declaredDirectives=ie(K),this.exportedDirectives=ie(he),this.declaredPipes=ie(Te),this.exportedPipes=ie(_e),this.providers=ie(q),this.entryComponents=ie(Pe),this.bootstrapComponents=ie(ze),this.importedModules=ie(ye),this.exportedModules=ie(ct),this.schemas=ie(Fe),this.id=lt||null,this.transitiveModule=Se||null}toSummary(){let Q=this.transitiveModule;return{summaryKind:N.NgModule,type:this.type,entryComponents:Q.entryComponents,providers:Q.providers,modules:Q.modules,exportedDirectives:Q.exportedDirectives,exportedPipes:Q.exportedPipes}}};u.CompileNgModuleMetadata=z;var ue=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Q,U){this.providers.push({provider:Q,module:U})}addDirective(Q){this.directivesSet.has(Q.reference)||(this.directivesSet.add(Q.reference),this.directives.push(Q))}addExportedDirective(Q){this.exportedDirectivesSet.has(Q.reference)||(this.exportedDirectivesSet.add(Q.reference),this.exportedDirectives.push(Q))}addPipe(Q){this.pipesSet.has(Q.reference)||(this.pipesSet.add(Q.reference),this.pipes.push(Q))}addExportedPipe(Q){this.exportedPipesSet.has(Q.reference)||(this.exportedPipesSet.add(Q.reference),this.exportedPipes.push(Q))}addModule(Q){this.modulesSet.has(Q.reference)||(this.modulesSet.add(Q.reference),this.modules.push(Q))}addEntryComponent(Q){this.entryComponentsSet.has(Q.componentType)||(this.entryComponentsSet.add(Q.componentType),this.entryComponents.push(Q))}};u.TransitiveCompileNgModuleMetadata=ue;function ie(Q){return Q||[]}var Be=class{constructor(Q,U){let{useClass:q,useValue:K,useExisting:he,useFactory:Te,deps:_e,multi:Pe}=U;this.token=Q,this.useClass=q||null,this.useValue=K,this.useExisting=he,this.useFactory=Te||null,this.dependencies=_e||null,this.multi=!!Pe}};u.ProviderMeta=Be;function B(Q){return Q.reduce((U,q)=>{let K=Array.isArray(q)?B(q):q;return U.concat(K)},[])}u.flatten=B;function Z(Q){return Q.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function $(Q,U,q){let K;return q.isInline?U.type.reference instanceof h.StaticSymbol?K=`${U.type.reference.filePath}.${U.type.reference.name}.html`:K=`${O(Q)}/${O(U.type)}.html`:K=q.templateUrl,U.type.reference instanceof h.StaticSymbol?K:Z(K)}u.templateSourceUrl=$;function j(Q,U){let q=Q.moduleUrl.split(/\/\\/g),K=q[q.length-1];return Z(`css/${U}${K}.ngstyle.js`)}u.sharedStylesheetJitUrl=j;function A(Q){return Z(`${O(Q.type)}/module.ngfactory.js`)}u.ngModuleJitUrl=A;function M(Q,U){return Z(`${O(Q)}/${O(U.type)}.ngfactory.js`)}u.templateJitUrl=M}}),cs=Oe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=Mr(),f=ts(),m=class{constructor(F,k,N,T){this.file=F,this.offset=k,this.line=N,this.col=T}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(F){let k=this.file.content,N=k.length,T=this.offset,_=this.line,R=this.col;for(;T>0&&F<0;)if(T--,F++,k.charCodeAt(T)==h.$LF){_--;let W=k.substr(0,T-1).lastIndexOf(String.fromCharCode(h.$LF));R=W>0?T-W:T}else R--;for(;T<N&&F>0;){let W=k.charCodeAt(T);T++,F--,W==h.$LF?(_++,R=0):R++}return new m(this.file,T,_,R)}getContext(F,k){let N=this.file.content,T=this.offset;if(T!=null){T>N.length-1&&(T=N.length-1);let _=T,R=0,W=0;for(;R<F&&T>0&&(T--,R++,!(N[T]==`
`&&++W==k)););for(R=0,W=0;R<F&&_<N.length-1&&(_++,R++,!(N[_]==`
`&&++W==k)););return{before:N.substring(T,this.offset),after:N.substring(this.offset,_+1)}}return null}};u.ParseLocation=m;var y=class{constructor(F,k){this.content=F,this.url=k}};u.ParseSourceFile=y;var D=class{constructor(F,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=F,this.end=k,this.details=N}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};u.ParseSourceSpan=D,u.EMPTY_PARSE_LOCATION=new m(new y("",""),0,0,0),u.EMPTY_SOURCE_SPAN=new D(u.EMPTY_PARSE_LOCATION,u.EMPTY_PARSE_LOCATION);var O;(function(F){F[F.WARNING=0]="WARNING",F[F.ERROR=1]="ERROR"})(O=u.ParseErrorLevel||(u.ParseErrorLevel={}));var x=class{constructor(F,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O.ERROR;this.span=F,this.msg=k,this.level=N}contextualMessage(){let F=this.span.start.getContext(100,3);return F?`${this.msg} ("${F.before}[${O[this.level]} ->]${F.after}")`:this.msg}toString(){let F=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${F}`}};u.ParseError=x;function v(F,k){let N=f.identifierModuleUrl(k),T=N!=null?`in ${F} ${f.identifierName(k)} in ${N}`:`in ${F} ${f.identifierName(k)}`,_=new y("",T);return new D(new m(_,-1,-1,-1),new m(_,-1,-1,-1))}u.typeSourceSpan=v;function E(F,k,N){let T=`in ${F} ${k} in ${N}`,_=new y("",T);return new D(new m(_,-1,-1,-1),new m(_,-1,-1,-1))}u.r3JitTypeSourceSpan=E}}),Yi=Oe({"src/language-html/print-preprocess.js"(u,h){Ye();var{ParseSourceSpan:f}=cs(),{htmlTrim:m,getLeadingAndTrailingHtmlWhitespace:y,hasHtmlWhitespace:D,canHaveInterpolation:O,getNodeCssStyleDisplay:x,isDanglingSpaceSensitiveNode:v,isIndentationSensitiveNode:E,isLeadingSpaceSensitiveNode:F,isTrailingSpaceSensitiveNode:k,isWhitespaceSensitiveNode:N,isVueScriptTag:T}=hr(),_=[W,ne,re,ue,ie,Z,Be,B,$,z,j];function R(A,M){for(let Q of _)Q(A,M);return A}function W(A){A.walk(M=>{if(M.type==="element"&&M.tagDefinition.ignoreFirstLf&&M.children.length>0&&M.children[0].type==="text"&&M.children[0].value[0]===`
`){let Q=M.children[0];Q.value.length===1?M.removeChild(Q):Q.value=Q.value.slice(1)}})}function ne(A){let M=Q=>Q.type==="element"&&Q.prev&&Q.prev.type==="ieConditionalStartComment"&&Q.prev.sourceSpan.end.offset===Q.startSourceSpan.start.offset&&Q.firstChild&&Q.firstChild.type==="ieConditionalEndComment"&&Q.firstChild.sourceSpan.start.offset===Q.startSourceSpan.end.offset;A.walk(Q=>{if(Q.children)for(let U=0;U<Q.children.length;U++){let q=Q.children[U];if(!M(q))continue;let K=q.prev,he=q.firstChild;Q.removeChild(K),U--;let Te=new f(K.sourceSpan.start,he.sourceSpan.end),_e=new f(Te.start,q.sourceSpan.end);q.condition=K.condition,q.sourceSpan=_e,q.startSourceSpan=Te,q.removeChild(he)}})}function L(A,M,Q){A.walk(U=>{if(U.children)for(let q=0;q<U.children.length;q++){let K=U.children[q];if(K.type!=="text"&&!M(K))continue;K.type!=="text"&&(K.type="text",K.value=Q(K));let he=K.prev;!he||he.type!=="text"||(he.value+=K.value,he.sourceSpan=new f(he.sourceSpan.start,K.sourceSpan.end),U.removeChild(K),q--)}})}function re(A){return L(A,M=>M.type==="cdata",M=>`<![CDATA[${M.value}]]>`)}function z(A){let M=Q=>Q.type==="element"&&Q.attrs.length===0&&Q.children.length===1&&Q.firstChild.type==="text"&&!D(Q.children[0].value)&&!Q.firstChild.hasLeadingSpaces&&!Q.firstChild.hasTrailingSpaces&&Q.isLeadingSpaceSensitive&&!Q.hasLeadingSpaces&&Q.isTrailingSpaceSensitive&&!Q.hasTrailingSpaces&&Q.prev&&Q.prev.type==="text"&&Q.next&&Q.next.type==="text";A.walk(Q=>{if(Q.children)for(let U=0;U<Q.children.length;U++){let q=Q.children[U];if(!M(q))continue;let K=q.prev,he=q.next;K.value+=`<${q.rawName}>`+q.firstChild.value+`</${q.rawName}>`+he.value,K.sourceSpan=new f(K.sourceSpan.start,he.sourceSpan.end),K.isTrailingSpaceSensitive=he.isTrailingSpaceSensitive,K.hasTrailingSpaces=he.hasTrailingSpaces,Q.removeChild(q),U--,Q.removeChild(he)}})}function ue(A,M){if(M.parser==="html")return;let Q=/{{(.+?)}}/s;A.walk(U=>{if(O(U))for(let q of U.children){if(q.type!=="text")continue;let K=q.sourceSpan.start,he=null,Te=q.value.split(Q);for(let _e=0;_e<Te.length;_e++,K=he){let Pe=Te[_e];if(_e%2===0){he=K.moveBy(Pe.length),Pe.length>0&&U.insertChildBefore(q,{type:"text",value:Pe,sourceSpan:new f(K,he)});continue}he=K.moveBy(Pe.length+4),U.insertChildBefore(q,{type:"interpolation",sourceSpan:new f(K,he),children:Pe.length===0?[]:[{type:"text",value:Pe,sourceSpan:new f(K.moveBy(2),he.moveBy(-2))}]})}U.removeChild(q)}})}function ie(A){A.walk(M=>{if(!M.children)return;if(M.children.length===0||M.children.length===1&&M.children[0].type==="text"&&m(M.children[0].value).length===0){M.hasDanglingSpaces=M.children.length>0,M.children=[];return}let Q=N(M),U=E(M);if(!Q)for(let q=0;q<M.children.length;q++){let K=M.children[q];if(K.type!=="text")continue;let{leadingWhitespace:he,text:Te,trailingWhitespace:_e}=y(K.value),Pe=K.prev,ze=K.next;Te?(K.value=Te,K.sourceSpan=new f(K.sourceSpan.start.moveBy(he.length),K.sourceSpan.end.moveBy(-_e.length)),he&&(Pe&&(Pe.hasTrailingSpaces=!0),K.hasLeadingSpaces=!0),_e&&(K.hasTrailingSpaces=!0,ze&&(ze.hasLeadingSpaces=!0))):(M.removeChild(K),q--,(he||_e)&&(Pe&&(Pe.hasTrailingSpaces=!0),ze&&(ze.hasLeadingSpaces=!0)))}M.isWhitespaceSensitive=Q,M.isIndentationSensitive=U})}function Be(A){A.walk(M=>{M.isSelfClosing=!M.children||M.type==="element"&&(M.tagDefinition.isVoid||M.startSourceSpan===M.endSourceSpan)})}function B(A,M){A.walk(Q=>{Q.type==="element"&&(Q.hasHtmComponentClosingTag=Q.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(M.originalText.slice(Q.endSourceSpan.start.offset,Q.endSourceSpan.end.offset)))})}function Z(A,M){A.walk(Q=>{Q.cssDisplay=x(Q,M)})}function $(A,M){A.walk(Q=>{let{children:U}=Q;if(U){if(U.length===0){Q.isDanglingSpaceSensitive=v(Q);return}for(let q of U)q.isLeadingSpaceSensitive=F(q,M),q.isTrailingSpaceSensitive=k(q,M);for(let q=0;q<U.length;q++){let K=U[q];K.isLeadingSpaceSensitive=(q===0||K.prev.isTrailingSpaceSensitive)&&K.isLeadingSpaceSensitive,K.isTrailingSpaceSensitive=(q===U.length-1||K.next.isLeadingSpaceSensitive)&&K.isTrailingSpaceSensitive}}})}function j(A,M){if(M.parser==="vue"){let Q=A.children.find(q=>T(q,M));if(!Q)return;let{lang:U}=Q.attrMap;(U==="ts"||U==="typescript")&&(M.__should_parse_vue_template_with_ts=!0)}}h.exports=R}}),_r=Oe({"src/language-html/pragma.js"(u,h){Ye();function f(y){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(y)}function m(y){return`<!-- @format -->
`+y.replace(/^\s*\n/,"")}h.exports={hasPragma:f,insertPragma:m}}}),Dn=Oe({"src/language-html/loc.js"(u,h){Ye();function f(y){return y.sourceSpan.start.offset}function m(y){return y.sourceSpan.end.offset}h.exports={locStart:f,locEnd:m}}}),ci=Oe({"src/language-html/print/tag.js"(u,h){Ye();var f=ls(),{isNonEmptyArray:m}=fi(),{builders:{indent:y,join:D,line:O,softline:x,hardline:v},utils:{replaceTextEndOfLine:E}}=Ln(),{locStart:F,locEnd:k}=Dn(),{isTextLikeNode:N,getLastDescendant:T,isPreLikeNode:_,hasPrettierIgnore:R,shouldPreserveContent:W,isVueSfcBlock:ne}=hr();function L(ye,ct){return[ye.isSelfClosing?"":re(ye,ct),z(ye,ct)]}function re(ye,ct){return ye.lastChild&&A(ye.lastChild)?"":[ue(ye,ct),Be(ye,ct)]}function z(ye,ct){return(ye.next?$(ye.next):j(ye.parent))?"":[B(ye,ct),ie(ye,ct)]}function ue(ye,ct){return j(ye)?B(ye.lastChild,ct):""}function ie(ye,ct){return A(ye)?Be(ye.parent,ct):M(ye)?Pe(ye.next):""}function Be(ye,ct){if(f(!ye.isSelfClosing),Z(ye,ct))return"";switch(ye.type){case"ieConditionalComment":return"<!";case"element":if(ye.hasHtmComponentClosingTag)return"<//";default:return`</${ye.rawName}`}}function B(ye,ct){if(Z(ye,ct))return"";switch(ye.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ye.isSelfClosing)return"/>";default:return">"}}function Z(ye,ct){return!ye.isSelfClosing&&!ye.endSourceSpan&&(R(ye)||W(ye.parent,ct))}function $(ye){return ye.prev&&ye.prev.type!=="docType"&&!N(ye.prev)&&ye.isLeadingSpaceSensitive&&!ye.hasLeadingSpaces}function j(ye){return ye.lastChild&&ye.lastChild.isTrailingSpaceSensitive&&!ye.lastChild.hasTrailingSpaces&&!N(T(ye.lastChild))&&!_(ye)}function A(ye){return!ye.next&&!ye.hasTrailingSpaces&&ye.isTrailingSpaceSensitive&&N(T(ye))}function M(ye){return ye.next&&!N(ye.next)&&N(ye)&&ye.isTrailingSpaceSensitive&&!ye.hasTrailingSpaces}function Q(ye){let ct=ye.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return ct?ct[1]?ct[1].split(/\s+/):!0:!1}function U(ye){return!ye.prev&&ye.isLeadingSpaceSensitive&&!ye.hasLeadingSpaces}function q(ye,ct,Fe){let Se=ye.getValue();if(!m(Se.attrs))return Se.isSelfClosing?" ":"";let lt=Se.prev&&Se.prev.type==="comment"&&Q(Se.prev.value),kt=typeof lt=="boolean"?()=>lt:Array.isArray(lt)?It=>lt.includes(It.rawName):()=>!1,ft=ye.map(It=>{let Mt=It.getValue();return kt(Mt)?E(ct.originalText.slice(F(Mt),k(Mt))):Fe()},"attrs"),jt=Se.type==="element"&&Se.fullName==="script"&&Se.attrs.length===1&&Se.attrs[0].fullName==="src"&&Se.children.length===0,Ne=ct.singleAttributePerLine&&Se.attrs.length>1&&!ne(Se,ct)?v:O,Je=[y([jt?" ":O,D(Ne,ft)])];return Se.firstChild&&U(Se.firstChild)||Se.isSelfClosing&&j(Se.parent)||jt?Je.push(Se.isSelfClosing?" ":""):Je.push(ct.bracketSameLine?Se.isSelfClosing?" ":"":Se.isSelfClosing?O:x),Je}function K(ye){return ye.firstChild&&U(ye.firstChild)?"":ze(ye)}function he(ye,ct,Fe){let Se=ye.getValue();return[Te(Se,ct),q(ye,ct,Fe),Se.isSelfClosing?"":K(Se)]}function Te(ye,ct){return ye.prev&&M(ye.prev)?"":[_e(ye,ct),Pe(ye)]}function _e(ye,ct){return U(ye)?ze(ye.parent):$(ye)?B(ye.prev,ct):""}function Pe(ye){switch(ye.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${ye.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ye.condition)return`<!--[if ${ye.condition}]><!--><${ye.rawName}`;default:return`<${ye.rawName}`}}function ze(ye){switch(f(!ye.isSelfClosing),ye.type){case"ieConditionalComment":return"]>";case"element":if(ye.condition)return"><!--<![endif]-->";default:return">"}}h.exports={printClosingTag:L,printClosingTagStart:re,printClosingTagStartMarker:Be,printClosingTagEndMarker:B,printClosingTagSuffix:ie,printClosingTagEnd:z,needsToBorrowLastChildClosingTagEndMarker:j,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:$,printOpeningTag:he,printOpeningTagStart:Te,printOpeningTagPrefix:_e,printOpeningTagStartMarker:Pe,printOpeningTagEndMarker:ze,needsToBorrowNextOpeningTagStartMarker:M,needsToBorrowParentOpeningTagEndMarker:U}}}),Kn=Oe({"node_modules/parse-srcset/src/parse-srcset.js"(u,h){Ye(),function(f,m){typeof h=="object"&&h.exports?h.exports=m():f.parseSrcset=m()}(u,function(){return function(f,m){var y=m&&m.logger||console;function D(Be){return Be===" "||Be===" "||Be===`
`||Be==="\f"||Be==="\r"}function O(Be){var B,Z=Be.exec(f.substring(re));if(Z)return B=Z[0],re+=B.length,B}for(var x=f.length,v=/^[ \t\n\r\u000c]+/,E=/^[, \t\n\r\u000c]+/,F=/^[^ \t\n\r\u000c]+/,k=/[,]+$/,N=/^\d+$/,T=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,R,W,ne,L,re=0,z=[];;){if(O(E),re>=x)return z;_=O(F),R=[],_.slice(-1)===","?(_=_.replace(k,""),ie()):ue()}function ue(){for(O(v),W="",ne="in descriptor";;){if(L=f.charAt(re),ne==="in descriptor")if(D(L))W&&(R.push(W),W="",ne="after descriptor");else if(L===","){re+=1,W&&R.push(W),ie();return}else if(L==="(")W=W+L,ne="in parens";else if(L===""){W&&R.push(W),ie();return}else W=W+L;else if(ne==="in parens")if(L===")")W=W+L,ne="in descriptor";else if(L===""){R.push(W),ie();return}else W=W+L;else if(ne==="after descriptor"&&!D(L))if(L===""){ie();return}else ne="in descriptor",re-=1;re+=1}}function ie(){var Be=!1,B,Z,$,j,A={},M,Q,U,q,K;for(j=0;j<R.length;j++)M=R[j],Q=M[M.length-1],U=M.substring(0,M.length-1),q=parseInt(U,10),K=parseFloat(U),N.test(U)&&Q==="w"?((B||Z)&&(Be=!0),q===0?Be=!0:B=q):T.test(U)&&Q==="x"?((B||Z||$)&&(Be=!0),K<0?Be=!0:Z=K):N.test(U)&&Q==="h"?(($||Z)&&(Be=!0),q===0?Be=!0:$=q):Be=!0;Be?y&&y.error&&y.error("Invalid srcset descriptor found in '"+f+"' at '"+M+"'."):(A.url=_,B&&(A.w=B),Z&&(A.d=Z),$&&(A.h=$),z.push(A))}}})}}),hi=Oe({"src/language-html/syntax-attribute.js"(u,h){Ye();var f=Kn(),{builders:{ifBreak:m,join:y,line:D}}=Ln();function O(v){let E=f(v,{logger:{error(ue){throw new Error(ue)}}}),F=E.some(ue=>{let{w:ie}=ue;return ie}),k=E.some(ue=>{let{h:ie}=ue;return ie}),N=E.some(ue=>{let{d:ie}=ue;return ie});if(F+k+N>1)throw new Error("Mixed descriptor in srcset is not supported");let T=F?"w":k?"h":"d",_=F?"w":k?"h":"x",R=ue=>Math.max(...ue),W=E.map(ue=>ue.url),ne=R(W.map(ue=>ue.length)),L=E.map(ue=>ue[T]).map(ue=>ue?ue.toString():""),re=L.map(ue=>{let ie=ue.indexOf(".");return ie===-1?ue.length:ie}),z=R(re);return y([",",D],W.map((ue,ie)=>{let Be=[ue],B=L[ie];if(B){let Z=ne-ue.length+1,$=z-re[ie],j=" ".repeat(Z+$);Be.push(m(j," "),B+_)}return Be}))}function x(v){return v.trim().split(/\s+/).join(" ")}h.exports={printImgSrcset:O,printClassNames:x}}}),Tt=Oe({"src/language-html/syntax-vue.js"(u,h){Ye();var{builders:{group:f}}=Ln();function m(x,v){let{left:E,operator:F,right:k}=y(x);return[f(v(`function _(${E}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",F," ",v(k,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function y(x){let v=/(.*?)\s+(in|of)\s+(.*)/s,E=/,([^,\]}]*)(?:,([^,\]}]*))?$/,F=/^\(|\)$/g,k=x.match(v);if(!k)return;let N={};if(N.for=k[3].trim(),!N.for)return;let T=k[1].trim().replace(F,""),_=T.match(E);_?(N.alias=T.replace(E,""),N.iterator1=_[1].trim(),_[2]&&(N.iterator2=_[2].trim())):N.alias=T;let R=[N.alias,N.iterator1,N.iterator2];if(!R.some((W,ne)=>!W&&(ne===0||R.slice(ne+1).some(Boolean))))return{left:R.filter(Boolean).join(","),operator:k[2],right:N.for}}function D(x,v){return v(`function _(${x}) {}`,{parser:"babel",__isVueBindings:!0})}function O(x){let v=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,E=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,F=x.trim();return v.test(F)||E.test(F)}h.exports={isVueEventBindingExpression:O,printVueFor:m,printVueBindings:D}}}),Jt=Oe({"src/language-html/get-node-content.js"(u,h){Ye();var{needsToBorrowParentClosingTagStartMarker:f,printClosingTagStartMarker:m,needsToBorrowLastChildClosingTagEndMarker:y,printClosingTagEndMarker:D,needsToBorrowParentOpeningTagEndMarker:O,printOpeningTagEndMarker:x}=ci();function v(E,F){let k=E.startSourceSpan.end.offset;E.firstChild&&O(E.firstChild)&&(k-=x(E).length);let N=E.endSourceSpan.start.offset;return E.lastChild&&f(E.lastChild)?N+=m(E,F).length:y(E)&&(N-=D(E.lastChild,F).length),F.originalText.slice(k,N)}h.exports=v}}),nr=Oe({"src/language-html/embed.js"(u,h){Ye();var{builders:{breakParent:f,group:m,hardline:y,indent:D,line:O,fill:x,softline:v},utils:{mapDoc:E,replaceTextEndOfLine:F}}=Ln(),k=wc(),{printClosingTag:N,printClosingTagSuffix:T,needsToBorrowPrevClosingTagEndMarker:_,printOpeningTagPrefix:R,printOpeningTag:W}=ci(),{printImgSrcset:ne,printClassNames:L}=hi(),{printVueFor:re,printVueBindings:z,isVueEventBindingExpression:ue}=Tt(),{isScriptLikeTag:ie,isVueNonHtmlBlock:Be,inferScriptParser:B,htmlTrimPreserveIndentation:Z,dedentString:$,unescapeQuoteEntities:j,isVueSlotAttribute:A,isVueSfcBindingsAttribute:M,getTextValueParts:Q}=hr(),U=Jt();function q(he,Te,_e){let Pe=ft=>new RegExp(ft.join("|")).test(he.fullName),ze=()=>j(he.value),ye=!1,ct=(ft,jt)=>{let Ne=ft.type==="NGRoot"?ft.node.type==="NGMicrosyntax"&&ft.node.body.length===1&&ft.node.body[0].type==="NGMicrosyntaxExpression"?ft.node.body[0].expression:ft.node:ft.type==="JsExpressionRoot"?ft.node:ft;Ne&&(Ne.type==="ObjectExpression"||Ne.type==="ArrayExpression"||jt.parser==="__vue_expression"&&(Ne.type==="TemplateLiteral"||Ne.type==="StringLiteral"))&&(ye=!0)},Fe=ft=>m(ft),Se=function(ft){let jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return m([D([v,ft]),jt?v:""])},lt=ft=>ye?Fe(ft):Se(ft),kt=(ft,jt)=>Te(ft,Object.assign({__onHtmlBindingRoot:ct,__embeddedInHtml:!0},jt));if(he.fullName==="srcset"&&(he.parent.fullName==="img"||he.parent.fullName==="source"))return Se(ne(ze()));if(he.fullName==="class"&&!_e.parentParser){let ft=ze();if(!ft.includes("{{"))return L(ft)}if(he.fullName==="style"&&!_e.parentParser){let ft=ze();if(!ft.includes("{{"))return Se(kt(ft,{parser:"css",__isHTMLStyleAttribute:!0}))}if(_e.parser==="vue"){if(he.fullName==="v-for")return re(ze(),kt);if(A(he)||M(he,_e))return z(ze(),kt);let ft=["^@","^v-on:"],jt=["^:","^v-bind:"],Ne=["^v-"];if(Pe(ft)){let Je=ze(),It=ue(Je)?"__js_expression":_e.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return lt(kt(Je,{parser:It}))}if(Pe(jt))return lt(kt(ze(),{parser:"__vue_expression"}));if(Pe(Ne))return lt(kt(ze(),{parser:"__js_expression"}))}if(_e.parser==="angular"){let ft=(rt,Ve)=>kt(rt,Object.assign(Object.assign({},Ve),{},{trailingComma:"none"})),jt=["^\\*"],Ne=["^\\(.+\\)$","^on-"],Je=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],It=["^i18n(-.+)?$"];if(Pe(Ne))return lt(ft(ze(),{parser:"__ng_action"}));if(Pe(Je))return lt(ft(ze(),{parser:"__ng_binding"}));if(Pe(It)){let rt=ze().trim();return Se(x(Q(he,rt)),!rt.includes("@@"))}if(Pe(jt))return lt(ft(ze(),{parser:"__ng_directive"}));let Mt=/{{(.+?)}}/s,Rr=ze();if(Mt.test(Rr)){let rt=[];for(let[Ve,mt]of Rr.split(Mt).entries())if(Ve%2===0)rt.push(F(mt));else try{rt.push(m(["{{",D([O,ft(mt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),O,"}}"]))}catch{rt.push("{{",F(mt),"}}")}return m(rt)}}return null}function K(he,Te,_e,Pe){let ze=he.getValue();switch(ze.type){case"element":{if(ie(ze)||ze.type==="interpolation")return;if(!ze.isSelfClosing&&Be(ze,Pe)){let ye=B(ze,Pe);if(!ye)return;let ct=U(ze,Pe),Fe=/^\s*$/.test(ct),Se="";return Fe||(Se=_e(Z(ct),{parser:ye,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Fe=Se===""),[R(ze,Pe),m(W(he,Pe,Te)),Fe?"":y,Se,Fe?"":y,N(ze,Pe),T(ze,Pe)]}break}case"text":{if(ie(ze.parent)){let ye=B(ze.parent,Pe);if(ye){let ct=ye==="markdown"?$(ze.value.replace(/^[^\S\n]*\n/,"")):ze.value,Fe={parser:ye,__embeddedInHtml:!0};if(Pe.parser==="html"&&ye==="babel"){let Se="script",{attrMap:lt}=ze.parent;lt&&(lt.type==="module"||lt.type==="text/babel"&&lt["data-type"]==="module")&&(Se="module"),Fe.__babelSourceType=Se}return[f,R(ze,Pe),_e(ct,Fe,{stripTrailingHardline:!0}),T(ze,Pe)]}}else if(ze.parent.type==="interpolation"){let ye={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Pe.parser==="angular"?(ye.parser="__ng_interpolation",ye.trailingComma="none"):Pe.parser==="vue"?ye.parser=Pe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":ye.parser="__js_expression",[D([O,_e(ze.value,ye,{stripTrailingHardline:!0})]),ze.parent.next&&_(ze.parent.next)?" ":O]}break}case"attribute":{if(!ze.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Pe.originalText.slice(ze.valueSpan.start.offset,ze.valueSpan.end.offset)))return[ze.rawName,"=",ze.value];if(Pe.parser==="lwc"&&/^{.*}$/s.test(Pe.originalText.slice(ze.valueSpan.start.offset,ze.valueSpan.end.offset)))return[ze.rawName,"=",ze.value];let ye=q(ze,(ct,Fe)=>_e(ct,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Fe),{stripTrailingHardline:!0}),Pe);if(ye)return[ze.rawName,'="',m(E(ye,ct=>typeof ct=="string"?ct.replace(/"/g,"&quot;"):ct)),'"'];break}case"front-matter":return k(ze,_e)}}h.exports=K}}),Gr=Oe({"src/language-html/print/children.js"(u,h){Ye();var{builders:{breakParent:f,group:m,ifBreak:y,line:D,softline:O,hardline:x},utils:{replaceTextEndOfLine:v}}=Ln(),{locStart:E,locEnd:F}=Dn(),{forceBreakChildren:k,forceNextEmptyLine:N,isTextLikeNode:T,hasPrettierIgnore:_,preferHardlineAsLeadingSpaces:R}=hr(),{printOpeningTagPrefix:W,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:L,needsToBorrowPrevClosingTagEndMarker:re,printClosingTagEndMarker:z,printClosingTagSuffix:ue,needsToBorrowParentClosingTagStartMarker:ie}=ci();function Be($,j,A){let M=$.getValue();return _(M)?[W(M,j),...v(j.originalText.slice(E(M)+(M.prev&&ne(M.prev)?L(M).length:0),F(M)-(M.next&&re(M.next)?z(M,j).length:0))),ue(M,j)]:A()}function B($,j){return T($)&&T(j)?$.isTrailingSpaceSensitive?$.hasTrailingSpaces?R(j)?x:D:"":R(j)?x:O:ne($)&&(_(j)||j.firstChild||j.isSelfClosing||j.type==="element"&&j.attrs.length>0)||$.type==="element"&&$.isSelfClosing&&re(j)?"":!j.isLeadingSpaceSensitive||R(j)||re(j)&&$.lastChild&&ie($.lastChild)&&$.lastChild.lastChild&&ie($.lastChild.lastChild)?x:j.hasLeadingSpaces?D:O}function Z($,j,A){let M=$.getValue();if(k(M))return[f,...$.map(U=>{let q=U.getValue(),K=q.prev?B(q.prev,q):"";return[K?[K,N(q.prev)?x:""]:"",Be(U,j,A)]},"children")];let Q=M.children.map(()=>Symbol(""));return $.map((U,q)=>{let K=U.getValue();if(T(K)){if(K.prev&&T(K.prev)){let ct=B(K.prev,K);if(ct)return N(K.prev)?[x,x,Be(U,j,A)]:[ct,Be(U,j,A)]}return Be(U,j,A)}let he=[],Te=[],_e=[],Pe=[],ze=K.prev?B(K.prev,K):"",ye=K.next?B(K,K.next):"";return ze&&(N(K.prev)?he.push(x,x):ze===x?he.push(x):T(K.prev)?Te.push(ze):Te.push(y("",O,{groupId:Q[q-1]}))),ye&&(N(K)?T(K.next)&&Pe.push(x,x):ye===x?T(K.next)&&Pe.push(x):_e.push(ye)),[...he,m([...Te,m([Be(U,j,A),..._e],{id:Q[q]})]),...Pe]},"children")}h.exports={printChildren:Z}}}),St=Oe({"src/language-html/print/element.js"(u,h){Ye();var{builders:{breakParent:f,dedentToRoot:m,group:y,ifBreak:D,indentIfBreak:O,indent:x,line:v,softline:E},utils:{replaceTextEndOfLine:F}}=Ln(),k=Jt(),{shouldPreserveContent:N,isScriptLikeTag:T,isVueCustomBlock:_,countParents:R,forceBreakContent:W}=hr(),{printOpeningTagPrefix:ne,printOpeningTag:L,printClosingTagSuffix:re,printClosingTag:z,needsToBorrowPrevClosingTagEndMarker:ue,needsToBorrowLastChildClosingTagEndMarker:ie}=ci(),{printChildren:Be}=Gr();function B(Z,$,j){let A=Z.getValue();if(N(A,$))return[ne(A,$),y(L(Z,$,j)),...F(k(A,$)),...z(A,$),re(A,$)];let M=A.children.length===1&&A.firstChild.type==="interpolation"&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,Q=Symbol("element-attr-group-id"),U=Te=>y([y(L(Z,$,j),{id:Q}),Te,z(A,$)]),q=Te=>M?O(Te,{groupId:Q}):(T(A)||_(A,$))&&A.parent.type==="root"&&$.parser==="vue"&&!$.vueIndentScriptAndStyle?Te:x(Te),K=()=>M?D(E,"",{groupId:Q}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?v:A.firstChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive?m(E):E,he=()=>(A.next?ue(A.next):ie(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":M?D(E,"",{groupId:Q}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?v:(A.lastChild.type==="comment"||A.lastChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${$.tabWidth*R(Z,Te=>Te.parent&&Te.parent.type!=="root")}}$`).test(A.lastChild.value)?"":E;return A.children.length===0?U(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?v:""):U([W(A)?f:"",q([K(),Be(Z,$,j)]),he()])}h.exports={printElement:B}}}),An=Oe({"src/language-html/printer-html.js"(u,h){Ye();var{builders:{fill:f,group:m,hardline:y,literalline:D},utils:{cleanDoc:O,getDocParts:x,isConcat:v,replaceTextEndOfLine:E}}=Ln(),F=Pn(),{countChars:k,unescapeQuoteEntities:N,getTextValueParts:T}=hr(),_=Yi(),{insertPragma:R}=_r(),{locStart:W,locEnd:ne}=Dn(),L=nr(),{printClosingTagSuffix:re,printClosingTagEnd:z,printOpeningTagPrefix:ue,printOpeningTagStart:ie}=ci(),{printElement:Be}=St(),{printChildren:B}=Gr();function Z($,j,A){let M=$.getValue();switch(M.type){case"front-matter":return E(M.raw);case"root":return j.__onHtmlRoot&&j.__onHtmlRoot(M),[m(B($,j,A)),y];case"element":case"ieConditionalComment":return Be($,j,A);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ie(M),z(M)];case"interpolation":return[ie(M,j),...$.map(A,"children"),z(M,j)];case"text":{if(M.parent.type==="interpolation"){let U=/\n[^\S\n]*$/,q=U.test(M.value),K=q?M.value.replace(U,""):M.value;return[...E(K),q?y:""]}let Q=O([ue(M,j),...T(M),re(M,j)]);return v(Q)||Q.type==="fill"?f(x(Q)):Q}case"docType":return[m([ie(M,j)," ",M.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),z(M,j)];case"comment":return[ue(M,j),...E(j.originalText.slice(W(M),ne(M)),D),re(M,j)];case"attribute":{if(M.value===null)return M.rawName;let Q=N(M.value),U=k(Q,"'"),q=k(Q,'"'),K=U<q?"'":'"';return[M.rawName,"=",K,...E(K==='"'?Q.replace(/"/g,"&quot;"):Q.replace(/'/g,"&apos;")),K]}default:throw new Error(`Unexpected node type ${M.type}`)}}h.exports={preprocess:_,print:Z,insertPragma:R,massageAstNode:F,embed:L}}}),fn=Oe({"src/language-html/options.js"(u,h){Ye();var f=gu(),m="HTML";h.exports={bracketSameLine:f.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:m,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:f.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:m,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),to=Oe({"src/language-html/parsers.js"(){Ye()}}),zi=Oe({"node_modules/linguist-languages/data/HTML.json"(u,h){h.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Xs=Oe({"node_modules/linguist-languages/data/Vue.json"(u,h){h.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ia=Oe({"src/language-html/index.js"(u,h){Ye();var f=Is(),m=An(),y=fn(),D=to(),O=[f(zi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),f(zi(),v=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...v.extensions,".mjml"]})),f(zi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),f(Xs(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],x={html:m};h.exports={languages:O,printers:x,options:y,parsers:D}}}),ao=Oe({"src/language-yaml/pragma.js"(u,h){Ye();function f(D){return/^\s*@(?:prettier|format)\s*$/.test(D)}function m(D){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(D)}function y(D){return`# @format
${D}`}h.exports={isPragma:f,hasPragma:m,insertPragma:y}}}),Ms=Oe({"src/language-yaml/loc.js"(u,h){Ye();function f(y){return y.position.start.offset}function m(y){return y.position.end.offset}h.exports={locStart:f,locEnd:m}}}),No=Oe({"src/language-yaml/embed.js"(u,h){Ye();function f(m,y,D,O){if(m.getValue().type==="root"&&O.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(O.filepath))return D(O.originalText,Object.assign(Object.assign({},O),{},{parser:"json"}))}h.exports=f}}),Ps=Oe({"src/language-yaml/utils.js"(u,h){Ye();var{getLast:f,isNonEmptyArray:m}=fi();function y(B,Z){let $=0,j=B.stack.length-1;for(let A=0;A<j;A++){let M=B.stack[A];D(M)&&Z(M)&&$++}return $}function D(B,Z){return B&&typeof B.type=="string"&&(!Z||Z.includes(B.type))}function O(B,Z,$){return Z("children"in B?Object.assign(Object.assign({},B),{},{children:B.children.map(j=>O(j,Z,B))}):B,$)}function x(B,Z,$){Object.defineProperty(B,Z,{get:$,enumerable:!1})}function v(B,Z){let $=0,j=Z.length;for(let A=B.position.end.offset-1;A<j;A++){let M=Z[A];if(M===`
`&&$++,$===1&&/\S/.test(M))return!1;if($===2)return!0}return!1}function E(B){switch(B.getValue().type){case"tag":case"anchor":case"comment":return!1}let Z=B.stack.length;for(let $=1;$<Z;$++){let j=B.stack[$],A=B.stack[$-1];if(Array.isArray(A)&&typeof j=="number"&&j!==A.length-1)return!1}return!0}function F(B){return m(B.children)?F(f(B.children)):B}function k(B){return B.value.trim()==="prettier-ignore"}function N(B){let Z=B.getValue();if(Z.type==="documentBody"){let $=B.getParentNode();return re($.head)&&k(f($.head.endComments))}return R(Z)&&k(f(Z.leadingComments))}function T(B){return!m(B.children)&&!_(B)}function _(B){return R(B)||W(B)||ne(B)||L(B)||re(B)}function R(B){return m(B==null?void 0:B.leadingComments)}function W(B){return m(B==null?void 0:B.middleComments)}function ne(B){return B==null?void 0:B.indicatorComment}function L(B){return B==null?void 0:B.trailingComment}function re(B){return m(B==null?void 0:B.endComments)}function z(B){let Z=[],$;for(let j of B.split(/( +)/))j!==" "?$===" "?Z.push(j):Z.push((Z.pop()||"")+j):$===void 0&&Z.unshift(""),$=j;return $===" "&&Z.push((Z.pop()||"")+" "),Z[0]===""&&(Z.shift(),Z.unshift(" "+(Z.shift()||""))),Z}function ue(B,Z,$){let j=Z.split(`
`).map((A,M,Q)=>M===0&&M===Q.length-1?A:M!==0&&M!==Q.length-1?A.trim():M===0?A.trimEnd():A.trimStart());return $.proseWrap==="preserve"?j.map(A=>A.length===0?[]:[A]):j.map(A=>A.length===0?[]:z(A)).reduce((A,M,Q)=>Q!==0&&j[Q-1].length>0&&M.length>0&&!(B==="quoteDouble"&&f(f(A)).endsWith("\\"))?[...A.slice(0,-1),[...f(A),...M]]:[...A,M],[]).map(A=>$.proseWrap==="never"?[A.join(" ")]:A)}function ie(B,Z){let{parentIndent:$,isLastDescendant:j,options:A}=Z,M=B.position.start.line===B.position.end.line?"":A.originalText.slice(B.position.start.offset,B.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],Q;if(B.indent===null){let K=M.match(/^(?<leadingSpace> *)[^\n\r ]/m);Q=K?K.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else Q=B.indent-1+$;let U=M.split(`
`).map(K=>K.slice(Q));if(A.proseWrap==="preserve"||B.type==="blockLiteral")return q(U.map(K=>K.length===0?[]:[K]));return q(U.map(K=>K.length===0?[]:z(K)).reduce((K,he,Te)=>Te!==0&&U[Te-1].length>0&&he.length>0&&!/^\s/.test(he[0])&&!/^\s|\s$/.test(f(K))?[...K.slice(0,-1),[...f(K),...he]]:[...K,he],[]).map(K=>K.reduce((he,Te)=>he.length>0&&/\s$/.test(f(he))?[...he.slice(0,-1),f(he)+" "+Te]:[...he,Te],[])).map(K=>A.proseWrap==="never"?[K.join(" ")]:K));function q(K){if(B.chomping==="keep")return f(K).length===0?K.slice(0,-1):K;let he=0;for(let Te=K.length-1;Te>=0&&K[Te].length===0;Te--)he++;return he===0?K:he>=2&&!j?K.slice(0,-(he-1)):K.slice(0,-he)}}function Be(B){if(!B)return!0;switch(B.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}h.exports={getLast:f,getAncestorCount:y,isNode:D,isEmptyNode:T,isInlineNode:Be,mapNode:O,defineShortcut:x,isNextLineEmpty:v,isLastDescendantNode:E,getBlockValueLineContents:ie,getFlowScalarLineContents:ue,getLastDescendantNode:F,hasPrettierIgnore:N,hasLeadingComments:R,hasMiddleComments:W,hasIndicatorComment:ne,hasTrailingComment:L,hasEndComments:re}}}),Vs=Oe({"src/language-yaml/print-preprocess.js"(u,h){Ye();var{defineShortcut:f,mapNode:m}=Ps();function y(O){return m(O,D)}function D(O){switch(O.type){case"document":f(O,"head",()=>O.children[0]),f(O,"body",()=>O.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":f(O,"content",()=>O.children[0]);break;case"mappingItem":case"flowMappingItem":f(O,"key",()=>O.children[0]),f(O,"value",()=>O.children[1]);break}return O}h.exports=y}}),so=Oe({"src/language-yaml/print/misc.js"(u,h){Ye();var{builders:{softline:f,align:m}}=Ln(),{hasEndComments:y,isNextLineEmpty:D,isNode:O}=Ps(),x=new WeakMap;function v(k,N){let T=k.getValue(),_=k.stack[0],R;return x.has(_)?R=x.get(_):(R=new Set,x.set(_,R)),!R.has(T.position.end.line)&&(R.add(T.position.end.line),D(T,N)&&!E(k.getParentNode()))?f:""}function E(k){return y(k)&&!O(k,["documentHead","documentBody","flowMapping","flowSequence"])}function F(k,N){return m(" ".repeat(k),N)}h.exports={alignWithSpaces:F,shouldPrintEndComments:E,printNextEmptyLine:v}}}),Ac=Oe({"src/language-yaml/print/flow-mapping-sequence.js"(u,h){Ye();var{builders:{ifBreak:f,line:m,softline:y,hardline:D,join:O}}=Ln(),{isEmptyNode:x,getLast:v,hasEndComments:E}=Ps(),{printNextEmptyLine:F,alignWithSpaces:k}=so();function N(_,R,W){let ne=_.getValue(),L=ne.type==="flowMapping",re=L?"{":"[",z=L?"}":"]",ue=y;L&&ne.children.length>0&&W.bracketSpacing&&(ue=m);let ie=v(ne.children),Be=ie&&ie.type==="flowMappingItem"&&x(ie.key)&&x(ie.value);return[re,k(W.tabWidth,[ue,T(_,R,W),W.trailingComma==="none"?"":f(","),E(ne)?[D,O(D,_.map(R,"endComments"))]:""]),Be?"":ue,z]}function T(_,R,W){let ne=_.getValue();return _.map((L,re)=>[R(),re===ne.children.length-1?"":[",",m,ne.children[re].position.start.line!==ne.children[re+1].position.start.line?F(L,W.originalText):""]],"children")}h.exports={printFlowMapping:N,printFlowSequence:N}}}),bp=Oe({"src/language-yaml/print/mapping-item.js"(u,h){Ye();var{builders:{conditionalGroup:f,group:m,hardline:y,ifBreak:D,join:O,line:x}}=Ln(),{hasLeadingComments:v,hasMiddleComments:E,hasTrailingComment:F,hasEndComments:k,isNode:N,isEmptyNode:T,isInlineNode:_}=Ps(),{alignWithSpaces:R}=so();function W(z,ue,ie,Be,B){let{key:Z,value:$}=z,j=T(Z),A=T($);if(j&&A)return": ";let M=Be("key"),Q=L(z)?" ":"";if(A)return z.type==="flowMappingItem"&&ue.type==="flowMapping"?M:z.type==="mappingItem"&&ne(Z.content,B)&&!F(Z.content)&&(!ue.tag||ue.tag.value!=="tag:yaml.org,2002:set")?[M,Q,":"]:["? ",R(2,M)];let U=Be("value");if(j)return[": ",R(2,U)];if(v($)||!_(Z.content))return["? ",R(2,M),y,O("",ie.map(Be,"value","leadingComments").map(Pe=>[Pe,y])),": ",R(2,U)];if(re(Z.content)&&!v(Z.content)&&!E(Z.content)&&!F(Z.content)&&!k(Z)&&!v($.content)&&!E($.content)&&!k($)&&ne($.content,B))return[M,Q,": ",U];let q=Symbol("mappingKey"),K=m([D("? "),m(R(2,M),{id:q})]),he=[y,": ",R(2,U)],Te=[Q,":"];v($.content)||k($)&&$.content&&!N($.content,["mapping","sequence"])||ue.type==="mapping"&&F(Z.content)&&_($.content)||N($.content,["mapping","sequence"])&&$.content.tag===null&&$.content.anchor===null?Te.push(y):$.content&&Te.push(x),Te.push(U);let _e=R(B.tabWidth,Te);return ne(Z.content,B)&&!v(Z.content)&&!E(Z.content)&&!k(Z)?f([[M,_e]]):f([[K,D(he,_e,{groupId:q})]])}function ne(z,ue){if(!z)return!0;switch(z.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ue.proseWrap==="preserve")return z.position.start.line===z.position.end.line;if(/\\$/m.test(ue.originalText.slice(z.position.start.offset,z.position.end.offset)))return!1;switch(ue.proseWrap){case"never":return!z.value.includes(`
`);case"always":return!/[\n ]/.test(z.value);default:return!1}}function L(z){return z.key.content&&z.key.content.type==="alias"}function re(z){if(!z)return!0;switch(z.type){case"plain":case"quoteDouble":case"quoteSingle":return z.position.start.line===z.position.end.line;case"alias":return!0;default:return!1}}h.exports=W}}),a0=Oe({"src/language-yaml/print/block.js"(u,h){Ye();var{builders:{dedent:f,dedentToRoot:m,fill:y,hardline:D,join:O,line:x,literalline:v,markAsRoot:E},utils:{getDocParts:F}}=Ln(),{getAncestorCount:k,getBlockValueLineContents:N,hasIndicatorComment:T,isLastDescendantNode:_,isNode:R}=Ps(),{alignWithSpaces:W}=so();function ne(L,re,z){let ue=L.getValue(),ie=k(L,j=>R(j,["sequence","mapping"])),Be=_(L),B=[ue.type==="blockFolded"?">":"|"];ue.indent!==null&&B.push(ue.indent.toString()),ue.chomping!=="clip"&&B.push(ue.chomping==="keep"?"+":"-"),T(ue)&&B.push(" ",re("indicatorComment"));let Z=N(ue,{parentIndent:ie,isLastDescendant:Be,options:z}),$=[];for(let[j,A]of Z.entries())j===0&&$.push(D),$.push(y(F(O(x,A)))),j!==Z.length-1?$.push(A.length===0?D:E(v)):ue.chomping==="keep"&&Be&&$.push(m(A.length===0?D:v));return ue.indent===null?B.push(f(W(z.tabWidth,$))):B.push(m(W(ue.indent-1+ie,$))),B}h.exports=ne}}),df=Oe({"src/language-yaml/printer-yaml.js"(u,h){Ye();var{builders:{breakParent:f,fill:m,group:y,hardline:D,join:O,line:x,lineSuffix:v,literalline:E},utils:{getDocParts:F,replaceTextEndOfLine:k}}=Ln(),{isPreviousLineEmpty:N}=fi(),{insertPragma:T,isPragma:_}=ao(),{locStart:R}=Ms(),W=No(),{getFlowScalarLineContents:ne,getLastDescendantNode:L,hasLeadingComments:re,hasMiddleComments:z,hasTrailingComment:ue,hasEndComments:ie,hasPrettierIgnore:Be,isLastDescendantNode:B,isNode:Z,isInlineNode:$}=Ps(),j=Vs(),{alignWithSpaces:A,printNextEmptyLine:M,shouldPrintEndComments:Q}=so(),{printFlowMapping:U,printFlowSequence:q}=Ac(),K=bp(),he=a0();function Te(Se,lt,kt){let ft=Se.getValue(),jt=[];ft.type!=="mappingValue"&&re(ft)&&jt.push([O(D,Se.map(kt,"leadingComments")),D]);let{tag:Ne,anchor:Je}=ft;Ne&&jt.push(kt("tag")),Ne&&Je&&jt.push(" "),Je&&jt.push(kt("anchor"));let It="";Z(ft,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!B(Se)&&(It=M(Se,lt.originalText)),(Ne||Je)&&(Z(ft,["sequence","mapping"])&&!z(ft)?jt.push(D):jt.push(" ")),z(ft)&&jt.push([ft.middleComments.length===1?"":D,O(D,Se.map(kt,"middleComments")),D]);let Mt=Se.getParentNode();return Be(Se)?jt.push(k(lt.originalText.slice(ft.position.start.offset,ft.position.end.offset).trimEnd(),E)):jt.push(y(_e(ft,Mt,Se,lt,kt))),ue(ft)&&!Z(ft,["document","documentHead"])&&jt.push(v([ft.type==="mappingValue"&&!ft.content?"":" ",Mt.type==="mappingKey"&&Se.getParentNode(2).type==="mapping"&&$(ft)?"":f,kt("trailingComment")])),Q(ft)&&jt.push(A(ft.type==="sequenceItem"?2:0,[D,O(D,Se.map(Rr=>[N(lt.originalText,Rr.getValue(),R)?D:"",kt()],"endComments"))])),jt.push(It),jt}function _e(Se,lt,kt,ft,jt){switch(Se.type){case"root":{let{children:Ne}=Se,Je=[];kt.each((Mt,Rr)=>{let rt=Ne[Rr],Ve=Ne[Rr+1];Rr!==0&&Je.push(D),Je.push(jt()),ze(rt,Ve)?(Je.push(D,"..."),ue(rt)&&Je.push(" ",jt("trailingComment"))):Ve&&!ue(Ve.head)&&Je.push(D,"---")},"children");let It=L(Se);return(!Z(It,["blockLiteral","blockFolded"])||It.chomping!=="keep")&&Je.push(D),Je}case"document":{let Ne=lt.children[kt.getName()+1],Je=[];return ye(Se,Ne,lt,ft)==="head"&&((Se.head.children.length>0||Se.head.endComments.length>0)&&Je.push(jt("head")),ue(Se.head)?Je.push(["---"," ",jt(["head","trailingComment"])]):Je.push("---")),Pe(Se)&&Je.push(jt("body")),O(D,Je)}case"documentHead":return O(D,[...kt.map(jt,"children"),...kt.map(jt,"endComments")]);case"documentBody":{let{children:Ne,endComments:Je}=Se,It="";if(Ne.length>0&&Je.length>0){let Mt=L(Se);Z(Mt,["blockFolded","blockLiteral"])?Mt.chomping!=="keep"&&(It=[D,D]):It=D}return[O(D,kt.map(jt,"children")),It,O(D,kt.map(jt,"endComments"))]}case"directive":return["%",O(" ",[Se.name,...Se.parameters])];case"comment":return["#",Se.value];case"alias":return["*",Se.value];case"tag":return ft.originalText.slice(Se.position.start.offset,Se.position.end.offset);case"anchor":return["&",Se.value];case"plain":return ct(Se.type,ft.originalText.slice(Se.position.start.offset,Se.position.end.offset),ft);case"quoteDouble":case"quoteSingle":{let Ne="'",Je='"',It=ft.originalText.slice(Se.position.start.offset+1,Se.position.end.offset-1);if(Se.type==="quoteSingle"&&It.includes("\\")||Se.type==="quoteDouble"&&/\\[^"]/.test(It)){let Rr=Se.type==="quoteDouble"?Je:Ne;return[Rr,ct(Se.type,It,ft),Rr]}if(It.includes(Je))return[Ne,ct(Se.type,Se.type==="quoteDouble"?It.replace(/\\"/g,Je).replace(/'/g,Ne.repeat(2)):It,ft),Ne];if(It.includes(Ne))return[Je,ct(Se.type,Se.type==="quoteSingle"?It.replace(/''/g,Ne):It,ft),Je];let Mt=ft.singleQuote?Ne:Je;return[Mt,ct(Se.type,It,ft),Mt]}case"blockFolded":case"blockLiteral":return he(kt,jt,ft);case"mapping":case"sequence":return O(D,kt.map(jt,"children"));case"sequenceItem":return["- ",A(2,Se.content?jt("content"):"")];case"mappingKey":case"mappingValue":return Se.content?jt("content"):"";case"mappingItem":case"flowMappingItem":return K(Se,lt,kt,jt,ft);case"flowMapping":return U(kt,jt,ft);case"flowSequence":return q(kt,jt,ft);case"flowSequenceItem":return jt("content");default:throw new Error(`Unexpected node type ${Se.type}`)}}function Pe(Se){return Se.body.children.length>0||ie(Se.body)}function ze(Se,lt){return ue(Se)||lt&&(lt.head.children.length>0||ie(lt.head))}function ye(Se,lt,kt,ft){return kt.children[0]===Se&&/---(?:\s|$)/.test(ft.originalText.slice(R(Se),R(Se)+4))||Se.head.children.length>0||ie(Se.head)||ue(Se.head)?"head":ze(Se,lt)?!1:lt?"root":!1}function ct(Se,lt,kt){let ft=ne(Se,lt,kt);return O(D,ft.map(jt=>m(F(O(x,jt)))))}function Fe(Se,lt){if(Z(lt))switch(delete lt.position,lt.type){case"comment":if(_(lt.value))return null;break;case"quoteDouble":case"quoteSingle":lt.type="quote";break}}h.exports={preprocess:j,embed:W,print:Te,massageAstNode:Fe,insertPragma:T}}}),u0=Oe({"src/language-yaml/options.js"(u,h){Ye();var f=gu();h.exports={bracketSpacing:f.bracketSpacing,singleQuote:f.singleQuote,proseWrap:f.proseWrap}}}),l0=Oe({"src/language-yaml/parsers.js"(){Ye()}}),Bd=Oe({"node_modules/linguist-languages/data/YAML.json"(u,h){h.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),c0=Oe({"src/language-yaml/index.js"(u,h){Ye();var f=Is(),m=df(),y=u0(),D=l0(),O=[f(Bd(),x=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...x.filenames.filter(v=>v!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];h.exports={languages:O,printers:{yaml:m},options:y,parsers:D}}}),h0=Oe({"src/languages.js"(u,h){Ye(),h.exports=[Dh(),Sh(),de(),we(),Rn(),ia(),c0()]}});Ye();var{version:p0}=Es(),Tc=jo(),{getSupportInfo:f0}=Iu(),Eh=ba(),Nd=h0(),d0=Ln();function c(u){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var f=arguments.length,m=new Array(f),y=0;y<f;y++)m[y]=arguments[y];let D=m[h]||{},O=D.plugins||[];return m[h]=Object.assign(Object.assign({},D),{},{plugins:[...Nd,...Array.isArray(O)?O:Object.values(O)]}),u(...m)}}var o=c(Tc.formatWithCursor);le.exports={formatWithCursor:o,format(u,h){return o(u,h).formatted},check(u,h){let{formatted:f}=o(u,h);return f===u},doc:d0,getSupportInfo:c(f0,0),version:p0,util:Eh,__debug:{parse:c(Tc.parse),formatAST:c(Tc.formatAST),formatDoc:c(Tc.formatDoc),printToDoc:c(Tc.printToDoc),printDocToString:c(Tc.printDocToString)}}});return Ze()})})(ww);var i6=ww.exports;const s6=Qg(i6);var Aw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Hr,Kt)=>()=>(Kt||Hr((Kt={exports:{}}).exports,Kt),Kt.exports),n=t((Hr,Kt)=>{var Ht=function(lr){return lr&&lr.Math==Math&&lr};Kt.exports=Ht(typeof globalThis=="object"&&globalThis)||Ht(typeof window=="object"&&window)||Ht(typeof self=="object"&&self)||Ht(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Hr,Kt)=>{Kt.exports=function(Ht){try{return!!Ht()}catch{return!0}}}),s=t((Hr,Kt)=>{var Ht=i();Kt.exports=!Ht(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Hr,Kt)=>{var Ht=i();Kt.exports=!Ht(function(){var lr=(function(){}).bind();return typeof lr!="function"||lr.hasOwnProperty("prototype")})}),l=t((Hr,Kt)=>{var Ht=a(),lr=Function.prototype.call;Kt.exports=Ht?lr.bind(lr):function(){return lr.apply(lr,arguments)}}),p=t(Hr=>{var Kt={}.propertyIsEnumerable,Ht=Object.getOwnPropertyDescriptor,lr=Ht&&!Kt.call({1:2},1);Hr.f=lr?function(cr){var vr=Ht(this,cr);return!!vr&&vr.enumerable}:Kt}),d=t((Hr,Kt)=>{Kt.exports=function(Ht,lr){return{enumerable:!(Ht&1),configurable:!(Ht&2),writable:!(Ht&4),value:lr}}}),g=t((Hr,Kt)=>{var Ht=a(),lr=Function.prototype,cr=lr.call,vr=Ht&&lr.bind.bind(cr,cr);Kt.exports=Ht?vr:function(Kr){return function(){return cr.apply(Kr,arguments)}}}),b=t((Hr,Kt)=>{var Ht=g(),lr=Ht({}.toString),cr=Ht("".slice);Kt.exports=function(vr){return cr(lr(vr),8,-1)}}),S=t((Hr,Kt)=>{var Ht=g(),lr=i(),cr=b(),vr=Object,Kr=Ht("".split);Kt.exports=lr(function(){return!vr("z").propertyIsEnumerable(0)})?function(Rt){return cr(Rt)=="String"?Kr(Rt,""):vr(Rt)}:vr}),I=t((Hr,Kt)=>{Kt.exports=function(Ht){return Ht==null}}),H=t((Hr,Kt)=>{var Ht=I(),lr=TypeError;Kt.exports=function(cr){if(Ht(cr))throw lr("Can't call method on "+cr);return cr}}),be=t((Hr,Kt)=>{var Ht=S(),lr=H();Kt.exports=function(cr){return Ht(lr(cr))}}),ke=t((Hr,Kt)=>{var Ht=typeof document=="object"&&document.all,lr=typeof Ht>"u"&&Ht!==void 0;Kt.exports={all:Ht,IS_HTMLDDA:lr}}),ge=t((Hr,Kt)=>{var Ht=ke(),lr=Ht.all;Kt.exports=Ht.IS_HTMLDDA?function(cr){return typeof cr=="function"||cr===lr}:function(cr){return typeof cr=="function"}}),Ue=t((Hr,Kt)=>{var Ht=ge(),lr=ke(),cr=lr.all;Kt.exports=lr.IS_HTMLDDA?function(vr){return typeof vr=="object"?vr!==null:Ht(vr)||vr===cr}:function(vr){return typeof vr=="object"?vr!==null:Ht(vr)}}),Dt=t((Hr,Kt)=>{var Ht=n(),lr=ge(),cr=function(vr){return lr(vr)?vr:void 0};Kt.exports=function(vr,Kr){return arguments.length<2?cr(Ht[vr]):Ht[vr]&&Ht[vr][Kr]}}),pt=t((Hr,Kt)=>{var Ht=g();Kt.exports=Ht({}.isPrototypeOf)}),vt=t((Hr,Kt)=>{var Ht=Dt();Kt.exports=Ht("navigator","userAgent")||""}),Yt=t((Hr,Kt)=>{var Ht=n(),lr=vt(),cr=Ht.process,vr=Ht.Deno,Kr=cr&&cr.versions||vr&&vr.version,Rt=Kr&&Kr.v8,En,Bn;Rt&&(En=Rt.split("."),Bn=En[0]>0&&En[0]<4?1:+(En[0]+En[1])),!Bn&&lr&&(En=lr.match(/Edge\/(\d+)/),(!En||En[1]>=74)&&(En=lr.match(/Chrome\/(\d+)/),En&&(Bn=+En[1]))),Kt.exports=Bn}),ir=t((Hr,Kt)=>{var Ht=Yt(),lr=i();Kt.exports=!!Object.getOwnPropertySymbols&&!lr(function(){var cr=Symbol();return!String(cr)||!(Object(cr)instanceof Symbol)||!Symbol.sham&&Ht&&Ht<41})}),qr=t((Hr,Kt)=>{var Ht=ir();Kt.exports=Ht&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Hr,Kt)=>{var Ht=Dt(),lr=ge(),cr=pt(),vr=qr(),Kr=Object;Kt.exports=vr?function(Rt){return typeof Rt=="symbol"}:function(Rt){var En=Ht("Symbol");return lr(En)&&cr(En.prototype,Kr(Rt))}}),kr=t((Hr,Kt)=>{var Ht=String;Kt.exports=function(lr){try{return Ht(lr)}catch{return"Object"}}}),Zr=t((Hr,Kt)=>{var Ht=ge(),lr=kr(),cr=TypeError;Kt.exports=function(vr){if(Ht(vr))return vr;throw cr(lr(vr)+" is not a function")}}),zn=t((Hr,Kt)=>{var Ht=Zr(),lr=I();Kt.exports=function(cr,vr){var Kr=cr[vr];return lr(Kr)?void 0:Ht(Kr)}}),Gn=t((Hr,Kt)=>{var Ht=l(),lr=ge(),cr=Ue(),vr=TypeError;Kt.exports=function(Kr,Rt){var En,Bn;if(Rt==="string"&&lr(En=Kr.toString)&&!cr(Bn=Ht(En,Kr))||lr(En=Kr.valueOf)&&!cr(Bn=Ht(En,Kr))||Rt!=="string"&&lr(En=Kr.toString)&&!cr(Bn=Ht(En,Kr)))return Bn;throw vr("Can't convert object to primitive value")}}),Ni=t((Hr,Kt)=>{Kt.exports=!1}),ii=t((Hr,Kt)=>{var Ht=n(),lr=Object.defineProperty;Kt.exports=function(cr,vr){try{lr(Ht,cr,{value:vr,configurable:!0,writable:!0})}catch{Ht[cr]=vr}return vr}}),Sn=t((Hr,Kt)=>{var Ht=n(),lr=ii(),cr="__core-js_shared__",vr=Ht[cr]||lr(cr,{});Kt.exports=vr}),Wn=t((Hr,Kt)=>{var Ht=Ni(),lr=Sn();(Kt.exports=function(cr,vr){return lr[cr]||(lr[cr]=vr!==void 0?vr:{})})("versions",[]).push({version:"3.26.1",mode:Ht?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Hr,Kt)=>{var Ht=H(),lr=Object;Kt.exports=function(cr){return lr(Ht(cr))}}),Tn=t((Hr,Kt)=>{var Ht=g(),lr=jn(),cr=Ht({}.hasOwnProperty);Kt.exports=Object.hasOwn||function(vr,Kr){return cr(lr(vr),Kr)}}),Mi=t((Hr,Kt)=>{var Ht=g(),lr=0,cr=Math.random(),vr=Ht(1 .toString);Kt.exports=function(Kr){return"Symbol("+(Kr===void 0?"":Kr)+")_"+vr(++lr+cr,36)}}),Ri=t((Hr,Kt)=>{var Ht=n(),lr=Wn(),cr=Tn(),vr=Mi(),Kr=ir(),Rt=qr(),En=lr("wks"),Bn=Ht.Symbol,Hn=Bn&&Bn.for,qt=Rt?Bn:Bn&&Bn.withoutSetter||vr;Kt.exports=function(ai){if(!cr(En,ai)||!(Kr||typeof En[ai]=="string")){var mi="Symbol."+ai;Kr&&cr(Bn,ai)?En[ai]=Bn[ai]:Rt&&Hn?En[ai]=Hn(mi):En[ai]=qt(mi)}return En[ai]}}),rs=t((Hr,Kt)=>{var Ht=l(),lr=Ue(),cr=yr(),vr=zn(),Kr=Gn(),Rt=Ri(),En=TypeError,Bn=Rt("toPrimitive");Kt.exports=function(Hn,qt){if(!lr(Hn)||cr(Hn))return Hn;var ai=vr(Hn,Bn),mi;if(ai){if(qt===void 0&&(qt="default"),mi=Ht(ai,Hn,qt),!lr(mi)||cr(mi))return mi;throw En("Can't convert object to primitive value")}return qt===void 0&&(qt="number"),Kr(Hn,qt)}}),bs=t((Hr,Kt)=>{var Ht=rs(),lr=yr();Kt.exports=function(cr){var vr=Ht(cr,"string");return lr(vr)?vr:vr+""}}),Ls=t((Hr,Kt)=>{var Ht=n(),lr=Ue(),cr=Ht.document,vr=lr(cr)&&lr(cr.createElement);Kt.exports=function(Kr){return vr?cr.createElement(Kr):{}}}),vo=t((Hr,Kt)=>{var Ht=s(),lr=i(),cr=Ls();Kt.exports=!Ht&&!lr(function(){return Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a!=7})}),Ui=t(Hr=>{var Kt=s(),Ht=l(),lr=p(),cr=d(),vr=be(),Kr=bs(),Rt=Tn(),En=vo(),Bn=Object.getOwnPropertyDescriptor;Hr.f=Kt?Bn:function(Hn,qt){if(Hn=vr(Hn),qt=Kr(qt),En)try{return Bn(Hn,qt)}catch{}if(Rt(Hn,qt))return cr(!Ht(lr.f,Hn,qt),Hn[qt])}}),Sr=t((Hr,Kt)=>{var Ht=s(),lr=i();Kt.exports=Ht&&lr(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Hr,Kt)=>{var Ht=Ue(),lr=String,cr=TypeError;Kt.exports=function(vr){if(Ht(vr))return vr;throw cr(lr(vr)+" is not an object")}}),zr=t(Hr=>{var Kt=s(),Ht=vo(),lr=Sr(),cr=cn(),vr=bs(),Kr=TypeError,Rt=Object.defineProperty,En=Object.getOwnPropertyDescriptor,Bn="enumerable",Hn="configurable",qt="writable";Hr.f=Kt?lr?function(ai,mi,Dr){if(cr(ai),mi=vr(mi),cr(Dr),typeof ai=="function"&&mi==="prototype"&&"value"in Dr&&qt in Dr&&!Dr[qt]){var xt=En(ai,mi);xt&&xt[qt]&&(ai[mi]=Dr.value,Dr={configurable:Hn in Dr?Dr[Hn]:xt[Hn],enumerable:Bn in Dr?Dr[Bn]:xt[Bn],writable:!1})}return Rt(ai,mi,Dr)}:Rt:function(ai,mi,Dr){if(cr(ai),mi=vr(mi),cr(Dr),Ht)try{return Rt(ai,mi,Dr)}catch{}if("get"in Dr||"set"in Dr)throw Kr("Accessors not supported");return"value"in Dr&&(ai[mi]=Dr.value),ai}}),In=t((Hr,Kt)=>{var Ht=s(),lr=zr(),cr=d();Kt.exports=Ht?function(vr,Kr,Rt){return lr.f(vr,Kr,cr(1,Rt))}:function(vr,Kr,Rt){return vr[Kr]=Rt,vr}}),es=t((Hr,Kt)=>{var Ht=s(),lr=Tn(),cr=Function.prototype,vr=Ht&&Object.getOwnPropertyDescriptor,Kr=lr(cr,"name"),Rt=Kr&&(function(){}).name==="something",En=Kr&&(!Ht||Ht&&vr(cr,"name").configurable);Kt.exports={EXISTS:Kr,PROPER:Rt,CONFIGURABLE:En}}),tt=t((Hr,Kt)=>{var Ht=g(),lr=ge(),cr=Sn(),vr=Ht(Function.toString);lr(cr.inspectSource)||(cr.inspectSource=function(Kr){return vr(Kr)}),Kt.exports=cr.inspectSource}),gt=t((Hr,Kt)=>{var Ht=n(),lr=ge(),cr=Ht.WeakMap;Kt.exports=lr(cr)&&/native code/.test(String(cr))}),Zt=t((Hr,Kt)=>{var Ht=Wn(),lr=Mi(),cr=Ht("keys");Kt.exports=function(vr){return cr[vr]||(cr[vr]=lr(vr))}}),dr=t((Hr,Kt)=>{Kt.exports={}}),Fr=t((Hr,Kt)=>{var Ht=gt(),lr=n(),cr=Ue(),vr=In(),Kr=Tn(),Rt=Sn(),En=Zt(),Bn=dr(),Hn="Object already initialized",qt=lr.TypeError,ai=lr.WeakMap,mi,Dr,xt,Ot=function($e){return xt($e)?Dr($e):mi($e,{})},At=function($e){return function(Ie){var Ze;if(!cr(Ie)||(Ze=Dr(Ie)).type!==$e)throw qt("Incompatible receiver, "+$e+" required");return Ze}};Ht||Rt.state?(bt=Rt.state||(Rt.state=new ai),bt.get=bt.get,bt.has=bt.has,bt.set=bt.set,mi=function($e,Ie){if(bt.has($e))throw qt(Hn);return Ie.facade=$e,bt.set($e,Ie),Ie},Dr=function($e){return bt.get($e)||{}},xt=function($e){return bt.has($e)}):(Ke=En("state"),Bn[Ke]=!0,mi=function($e,Ie){if(Kr($e,Ke))throw qt(Hn);return Ie.facade=$e,vr($e,Ke,Ie),Ie},Dr=function($e){return Kr($e,Ke)?$e[Ke]:{}},xt=function($e){return Kr($e,Ke)});var bt,Ke;Kt.exports={set:mi,get:Dr,has:xt,enforce:Ot,getterFor:At}}),Lr=t((Hr,Kt)=>{var Ht=i(),lr=ge(),cr=Tn(),vr=s(),Kr=es().CONFIGURABLE,Rt=tt(),En=Fr(),Bn=En.enforce,Hn=En.get,qt=Object.defineProperty,ai=vr&&!Ht(function(){return qt(function(){},"length",{value:8}).length!==8}),mi=String(String).split("String"),Dr=Kt.exports=function(xt,Ot,At){String(Ot).slice(0,7)==="Symbol("&&(Ot="["+String(Ot).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),At&&At.getter&&(Ot="get "+Ot),At&&At.setter&&(Ot="set "+Ot),(!cr(xt,"name")||Kr&&xt.name!==Ot)&&(vr?qt(xt,"name",{value:Ot,configurable:!0}):xt.name=Ot),ai&&At&&cr(At,"arity")&&xt.length!==At.arity&&qt(xt,"length",{value:At.arity});try{At&&cr(At,"constructor")&&At.constructor?vr&&qt(xt,"prototype",{writable:!1}):xt.prototype&&(xt.prototype=void 0)}catch{}var bt=Bn(xt);return cr(bt,"source")||(bt.source=mi.join(typeof Ot=="string"?Ot:"")),xt};Function.prototype.toString=Dr(function(){return lr(this)&&Hn(this).source||Rt(this)},"toString")}),yn=t((Hr,Kt)=>{var Ht=ge(),lr=zr(),cr=Lr(),vr=ii();Kt.exports=function(Kr,Rt,En,Bn){Bn||(Bn={});var Hn=Bn.enumerable,qt=Bn.name!==void 0?Bn.name:Rt;if(Ht(En)&&cr(En,qt,Bn),Bn.global)Hn?Kr[Rt]=En:vr(Rt,En);else{try{Bn.unsafe?Kr[Rt]&&(Hn=!0):delete Kr[Rt]}catch{}Hn?Kr[Rt]=En:lr.f(Kr,Rt,{value:En,enumerable:!1,configurable:!Bn.nonConfigurable,writable:!Bn.nonWritable})}return Kr}}),Jr=t((Hr,Kt)=>{var Ht=Math.ceil,lr=Math.floor;Kt.exports=Math.trunc||function(cr){var vr=+cr;return(vr>0?lr:Ht)(vr)}}),on=t((Hr,Kt)=>{var Ht=Jr();Kt.exports=function(lr){var cr=+lr;return cr!==cr||cr===0?0:Ht(cr)}}),Xr=t((Hr,Kt)=>{var Ht=on(),lr=Math.max,cr=Math.min;Kt.exports=function(vr,Kr){var Rt=Ht(vr);return Rt<0?lr(Rt+Kr,0):cr(Rt,Kr)}}),ei=t((Hr,Kt)=>{var Ht=on(),lr=Math.min;Kt.exports=function(cr){return cr>0?lr(Ht(cr),9007199254740991):0}}),xn=t((Hr,Kt)=>{var Ht=ei();Kt.exports=function(lr){return Ht(lr.length)}}),ti=t((Hr,Kt)=>{var Ht=be(),lr=Xr(),cr=xn(),vr=function(Kr){return function(Rt,En,Bn){var Hn=Ht(Rt),qt=cr(Hn),ai=lr(Bn,qt),mi;if(Kr&&En!=En){for(;qt>ai;)if(mi=Hn[ai++],mi!=mi)return!0}else for(;qt>ai;ai++)if((Kr||ai in Hn)&&Hn[ai]===En)return Kr||ai||0;return!Kr&&-1}};Kt.exports={includes:vr(!0),indexOf:vr(!1)}}),Ai=t((Hr,Kt)=>{var Ht=g(),lr=Tn(),cr=be(),vr=ti().indexOf,Kr=dr(),Rt=Ht([].push);Kt.exports=function(En,Bn){var Hn=cr(En),qt=0,ai=[],mi;for(mi in Hn)!lr(Kr,mi)&&lr(Hn,mi)&&Rt(ai,mi);for(;Bn.length>qt;)lr(Hn,mi=Bn[qt++])&&(~vr(ai,mi)||Rt(ai,mi));return ai}}),Li=t((Hr,Kt)=>{Kt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),us=t(Hr=>{var Kt=Ai(),Ht=Li(),lr=Ht.concat("length","prototype");Hr.f=Object.getOwnPropertyNames||function(cr){return Kt(cr,lr)}}),os=t(Hr=>{Hr.f=Object.getOwnPropertySymbols}),Ts=t((Hr,Kt)=>{var Ht=Dt(),lr=g(),cr=us(),vr=os(),Kr=cn(),Rt=lr([].concat);Kt.exports=Ht("Reflect","ownKeys")||function(En){var Bn=cr.f(Kr(En)),Hn=vr.f;return Hn?Rt(Bn,Hn(En)):Bn}}),Co=t((Hr,Kt)=>{var Ht=Tn(),lr=Ts(),cr=Ui(),vr=zr();Kt.exports=function(Kr,Rt,En){for(var Bn=lr(Rt),Hn=vr.f,qt=cr.f,ai=0;ai<Bn.length;ai++){var mi=Bn[ai];!Ht(Kr,mi)&&!(En&&Ht(En,mi))&&Hn(Kr,mi,qt(Rt,mi))}}}),ya=t((Hr,Kt)=>{var Ht=i(),lr=ge(),cr=/#|\.prototype\./,vr=function(Hn,qt){var ai=Rt[Kr(Hn)];return ai==Bn?!0:ai==En?!1:lr(qt)?Ht(qt):!!qt},Kr=vr.normalize=function(Hn){return String(Hn).replace(cr,".").toLowerCase()},Rt=vr.data={},En=vr.NATIVE="N",Bn=vr.POLYFILL="P";Kt.exports=vr}),Go=t((Hr,Kt)=>{var Ht=n(),lr=Ui().f,cr=In(),vr=yn(),Kr=ii(),Rt=Co(),En=ya();Kt.exports=function(Bn,Hn){var qt=Bn.target,ai=Bn.global,mi=Bn.stat,Dr,xt,Ot,At,bt,Ke;if(ai?xt=Ht:mi?xt=Ht[qt]||Kr(qt,{}):xt=(Ht[qt]||{}).prototype,xt)for(Ot in Hn){if(bt=Hn[Ot],Bn.dontCallGetSet?(Ke=lr(xt,Ot),At=Ke&&Ke.value):At=xt[Ot],Dr=En(ai?Ot:qt+(mi?".":"#")+Ot,Bn.forced),!Dr&&At!==void 0){if(typeof bt==typeof At)continue;Rt(bt,At)}(Bn.sham||At&&At.sham)&&cr(bt,"sham",!0),vr(xt,Ot,bt,Bn)}}}),Da=t(()=>{var Hr=Go(),Kt=n();Hr({global:!0,forced:Kt.globalThis!==Kt},{globalThis:Kt})}),Fu=t(()=>{Da()}),io=t((Hr,Kt)=>{Fu();var Ht=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,cr=Object.getOwnPropertyNames,vr=Object.prototype.hasOwnProperty,Kr=(w,ee)=>function(){return w&&(ee=(0,w[cr(w)[0]])(w=0)),ee},Rt=(w,ee)=>function(){return ee||(0,w[cr(w)[0]])((ee={exports:{}}).exports,ee),ee.exports},En=(w,ee)=>{for(var Y in ee)Ht(w,Y,{get:ee[Y],enumerable:!0})},Bn=(w,ee,Y,G)=>{if(ee&&typeof ee=="object"||typeof ee=="function")for(let oe of cr(ee))!vr.call(w,oe)&&oe!==Y&&Ht(w,oe,{get:()=>ee[oe],enumerable:!(G=lr(ee,oe))||G.enumerable});return w},Hn=w=>Bn(Ht({},"__esModule",{value:!0}),w),qt=Kr({"<define:process>"(){}}),ai=Rt({"src/common/parser-create-error.js"(w,ee){qt();function Y(G,oe){let pe=new SyntaxError(G+" ("+oe.start.line+":"+oe.start.column+")");return pe.loc=oe,pe}ee.exports=Y}}),mi=Rt({"src/utils/get-last.js"(w,ee){qt();var Y=G=>G[G.length-1];ee.exports=Y}}),Dr=Rt({"src/utils/front-matter/parse.js"(w,ee){qt();var Y=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function G(oe){let pe=oe.match(Y);if(!pe)return{content:oe};let{startDelimiter:ce,language:de,value:se="",endDelimiter:fe}=pe.groups,P=de.trim()||"yaml";if(ce==="+++"&&(P="toml"),P!=="yaml"&&ce!==fe)return{content:oe};let[C]=pe;return{frontMatter:{type:"front-matter",lang:P,value:se,startDelimiter:ce,endDelimiter:fe,raw:C.replace(/\n$/,"")},content:C.replace(/[^\n]/g," ")+oe.slice(C.length)}}ee.exports=G}}),xt={};En(xt,{EOL:()=>Ct,arch:()=>xe,cpus:()=>Ze,default:()=>or,endianness:()=>Ot,freemem:()=>$e,getNetworkInterfaces:()=>Ee,hostname:()=>At,loadavg:()=>bt,networkInterfaces:()=>ae,platform:()=>Le,release:()=>le,tmpDir:()=>nt,tmpdir:()=>Ge,totalmem:()=>Ie,type:()=>me,uptime:()=>Ke});function Ot(){if(typeof dt>"u"){var w=new ArrayBuffer(2),ee=new Uint8Array(w),Y=new Uint16Array(w);if(ee[0]=1,ee[1]=2,Y[0]===258)dt="BE";else if(Y[0]===513)dt="LE";else throw new Error("unable to figure out endianess")}return dt}function At(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function bt(){return[]}function Ke(){return 0}function $e(){return Number.MAX_VALUE}function Ie(){return Number.MAX_VALUE}function Ze(){return[]}function me(){return"Browser"}function le(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ae(){}function Ee(){}function xe(){return"javascript"}function Le(){return"browser"}function nt(){return"/tmp"}var dt,Ge,Ct,or,er=Kr({"node-modules-polyfills:os"(){qt(),Ge=nt,Ct=`
`,or={EOL:Ct,tmpdir:Ge,tmpDir:nt,networkInterfaces:ae,getNetworkInterfaces:Ee,release:le,type:me,cpus:Ze,totalmem:Ie,freemem:$e,uptime:Ke,loadavg:bt,hostname:At,endianness:Ot}}}),Or=Rt({"node-modules-polyfills-commonjs:os"(w,ee){qt();var Y=(er(),Hn(xt));if(Y&&Y.default){ee.exports=Y.default;for(let G in Y)ee.exports[G]=Y[G]}else Y&&(ee.exports=Y)}}),Cr=Rt({"node_modules/detect-newline/index.js"(w,ee){qt();var Y=G=>{if(typeof G!="string")throw new TypeError("Expected a string");let oe=G.match(/(?:\r?\n)/g)||[];if(oe.length===0)return;let pe=oe.filter(de=>de===`\r
`).length,ce=oe.length-pe;return pe>ce?`\r
`:`
`};ee.exports=Y,ee.exports.graceful=G=>typeof G=="string"&&Y(G)||`
`}}),Oe=Rt({"node_modules/jest-docblock/build/index.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.extract=V,w.parse=De,w.parseWithComments=Xe,w.print=ve,w.strip=we;function ee(){let ht=Or();return ee=function(){return ht},ht}function Y(){let ht=G(Cr());return Y=function(){return ht},ht}function G(ht){return ht&&ht.__esModule?ht:{default:ht}}var oe=/\*\/$/,pe=/^\/\*\*?/,ce=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,de=/(^|\s+)\/\/([^\r\n]*)/g,se=/^(\r?\n)+/,fe=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,C=/(\r?\n|^) *\* ?/g,J=[];function V(ht){let yt=ht.match(ce);return yt?yt[0].trimLeft():""}function we(ht){let yt=ht.match(ce);return yt&&yt[0]?ht.substring(yt[0].length):ht}function De(ht){return Xe(ht).pragmas}function Xe(ht){let yt=(0,Y().default)(ht)||ee().EOL;ht=ht.replace(pe,"").replace(oe,"").replace(C,"$1");let Ft="";for(;Ft!==ht;)Ft=ht,ht=ht.replace(fe,`${yt}$1 $2${yt}`);ht=ht.replace(se,"").trimRight();let Tr=Object.create(null),Yr=ht.replace(P,"").replace(se,"").trimRight(),un;for(;un=P.exec(ht);){let Vn=un[2].replace(de,"");typeof Tr[un[1]]=="string"||Array.isArray(Tr[un[1]])?Tr[un[1]]=J.concat(Tr[un[1]],Vn):Tr[un[1]]=Vn}return{comments:Yr,pragmas:Tr}}function ve(ht){let{comments:yt="",pragmas:Ft={}}=ht,Tr=(0,Y().default)(yt)||ee().EOL,Yr="/**",un=" *",Vn=" */",wn=Object.keys(Ft),Rn=wn.map(Un=>Ae(Un,Ft[Un])).reduce((Un,Br)=>Un.concat(Br),[]).map(Un=>`${un} ${Un}${Tr}`).join("");if(!yt){if(wn.length===0)return"";if(wn.length===1&&!Array.isArray(Ft[wn[0]])){let Un=Ft[wn[0]];return`${Yr} ${Ae(wn[0],Un)[0]}${Vn}`}}let Pn=yt.split(Tr).map(Un=>`${un} ${Un}`).join(Tr)+Tr;return Yr+Tr+(yt?Pn:"")+(yt&&wn.length?un+Tr:"")+Rn+Vn}function Ae(ht,yt){return J.concat(yt).map(Ft=>`@${ht} ${Ft}`.trim())}}}),pn=Rt({"src/common/end-of-line.js"(w,ee){qt();function Y(ce){let de=ce.indexOf("\r");return de>=0?ce.charAt(de+1)===`
`?"crlf":"cr":"lf"}function G(ce){switch(ce){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function oe(ce,de){let se;switch(de){case`
`:se=/\n/g;break;case"\r":se=/\r/g;break;case`\r
`:se=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(de)}.`)}let fe=ce.match(se);return fe?fe.length:0}function pe(ce){return ce.replace(/\r\n?/g,`
`)}ee.exports={guessEndOfLine:Y,convertEndOfLineToChars:G,countEndOfLineChars:oe,normalizeEndOfLine:pe}}}),mn=Rt({"src/language-js/utils/get-shebang.js"(w,ee){qt();function Y(G){if(!G.startsWith("#!"))return"";let oe=G.indexOf(`
`);return oe===-1?G:G.slice(0,oe)}ee.exports=Y}}),ui=Rt({"src/language-js/pragma.js"(w,ee){qt();var{parseWithComments:Y,strip:G,extract:oe,print:pe}=Oe(),{normalizeEndOfLine:ce}=pn(),de=mn();function se(C){let J=de(C);J&&(C=C.slice(J.length+1));let V=oe(C),{pragmas:we,comments:De}=Y(V);return{shebang:J,text:C,pragmas:we,comments:De}}function fe(C){let J=Object.keys(se(C).pragmas);return J.includes("prettier")||J.includes("format")}function P(C){let{shebang:J,text:V,pragmas:we,comments:De}=se(C),Xe=G(V),ve=pe({pragmas:Object.assign({format:""},we),comments:De.trimStart()});return(J?`${J}
`:"")+ce(ve)+(Xe.startsWith(`
`)?`
`:`
`)+Xe}ee.exports={hasPragma:fe,insertPragma:P}}}),Oi=Rt({"src/language-css/pragma.js"(w,ee){qt();var Y=ui(),G=Dr();function oe(ce){return Y.hasPragma(G(ce).content)}function pe(ce){let{frontMatter:de,content:se}=G(ce);return(de?de.raw+`
`:"")+Y.insertPragma(se)}ee.exports={hasPragma:oe,insertPragma:pe}}}),Gi=Rt({"src/utils/text/skip.js"(w,ee){qt();function Y(de){return(se,fe,P)=>{let C=P&&P.backwards;if(fe===!1)return!1;let{length:J}=se,V=fe;for(;V>=0&&V<J;){let we=se.charAt(V);if(de instanceof RegExp){if(!de.test(we))return V}else if(!de.includes(we))return V;C?V--:V++}return V===-1||V===J?V:!1}}var G=Y(/\s/),oe=Y(" "),pe=Y(",; "),ce=Y(/[^\n\r]/);ee.exports={skipWhitespace:G,skipSpaces:oe,skipToLineEnd:pe,skipEverythingButNewLine:ce}}}),Ye=Rt({"src/utils/line-column-to-index.js"(w,ee){qt(),ee.exports=function(Y,G){let oe=0;for(let pe=0;pe<Y.line-1;++pe)oe=G.indexOf(`
`,oe)+1;return oe+Y.column}}}),Es=Rt({"src/language-css/loc.js"(w,ee){qt();var{skipEverythingButNewLine:Y}=Gi(),G=mi(),oe=Ye();function pe(V,we){return typeof V.sourceIndex=="number"?V.sourceIndex:V.source?oe(V.source.start,we)-1:null}function ce(V,we){if(V.type==="css-comment"&&V.inline)return Y(we,V.source.startOffset);let De=V.nodes&&G(V.nodes);return De&&V.source&&!V.source.end&&(V=De),V.source&&V.source.end?oe(V.source.end,we):null}function de(V,we){V.source&&(V.source.startOffset=pe(V,we),V.source.endOffset=ce(V,we));for(let De in V){let Xe=V[De];De==="source"||!Xe||typeof Xe!="object"||(Xe.type==="value-root"||Xe.type==="value-unknown"?se(Xe,fe(V),Xe.text||Xe.value):de(Xe,we))}}function se(V,we,De){V.source&&(V.source.startOffset=pe(V,De)+we,V.source.endOffset=ce(V,De)+we);for(let Xe in V){let ve=V[Xe];Xe==="source"||!ve||typeof ve!="object"||se(ve,we,De)}}function fe(V){let we=V.source.startOffset;return typeof V.prop=="string"&&(we+=V.prop.length),V.type==="css-atrule"&&typeof V.name=="string"&&(we+=1+V.name.length+V.raws.afterName.match(/^\s*:?\s*/)[0].length),V.type!=="css-atrule"&&V.raws&&typeof V.raws.between=="string"&&(we+=V.raws.between.length),we}function P(V){let we="initial",De="initial",Xe,ve=!1,Ae=[];for(let ht=0;ht<V.length;ht++){let yt=V[ht];switch(we){case"initial":if(yt==="'"){we="single-quotes";continue}if(yt==='"'){we="double-quotes";continue}if((yt==="u"||yt==="U")&&V.slice(ht,ht+4).toLowerCase()==="url("){we="url",ht+=3;continue}if(yt==="*"&&V[ht-1]==="/"){we="comment-block";continue}if(yt==="/"&&V[ht-1]==="/"){we="comment-inline",Xe=ht-1;continue}continue;case"single-quotes":if(yt==="'"&&V[ht-1]!=="\\"&&(we=De,De="initial"),yt===`
`||yt==="\r")return V;continue;case"double-quotes":if(yt==='"'&&V[ht-1]!=="\\"&&(we=De,De="initial"),yt===`
`||yt==="\r")return V;continue;case"url":if(yt===")"&&(we="initial"),yt===`
`||yt==="\r")return V;if(yt==="'"){we="single-quotes",De="url";continue}if(yt==='"'){we="double-quotes",De="url";continue}continue;case"comment-block":yt==="/"&&V[ht-1]==="*"&&(we="initial");continue;case"comment-inline":(yt==='"'||yt==="'"||yt==="*")&&(ve=!0),(yt===`
`||yt==="\r")&&(ve&&Ae.push([Xe,ht]),we="initial",ve=!1);continue}}for(let[ht,yt]of Ae)V=V.slice(0,ht)+V.slice(ht,yt).replace(/["'*]/g," ")+V.slice(yt);return V}function C(V){return V.source.startOffset}function J(V){return V.source.endOffset}ee.exports={locStart:C,locEnd:J,calculateLoc:de,replaceQuotesInInlineComments:P}}}),ko=Rt({"src/utils/is-non-empty-array.js"(w,ee){qt();function Y(G){return Array.isArray(G)&&G.length>0}ee.exports=Y}}),Ho=Rt({"src/language-css/utils/has-scss-interpolation.js"(w,ee){qt();var Y=ko();function G(oe){if(Y(oe)){for(let pe=oe.length-1;pe>0;pe--)if(oe[pe].type==="word"&&oe[pe].value==="{"&&oe[pe-1].type==="word"&&oe[pe-1].value.endsWith("#"))return!0}return!1}ee.exports=G}}),vs=Rt({"src/language-css/utils/has-string-or-function.js"(w,ee){qt();function Y(G){return G.some(oe=>oe.type==="string"||oe.type==="func")}ee.exports=Y}}),po=Rt({"src/language-css/utils/is-less-parser.js"(w,ee){qt();function Y(G){return G.parser==="css"||G.parser==="less"}ee.exports=Y}}),Cs=Rt({"src/language-css/utils/is-scss.js"(w,ee){qt();function Y(G,oe){return G==="less"||G==="scss"?G==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(oe)}ee.exports=Y}}),Jo=Rt({"src/language-css/utils/is-scss-nested-property-node.js"(w,ee){qt();function Y(G){return G.selector?G.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ee.exports=Y}}),oo=Rt({"src/language-css/utils/is-scss-variable.js"(w,ee){qt();function Y(G){return!!((G==null?void 0:G.type)==="word"&&G.value.startsWith("$"))}ee.exports=Y}}),Js=Rt({"src/language-css/utils/stringify-node.js"(w,ee){qt();function Y(G){var oe,pe,ce;if(G.groups){var de,se,fe;let ve=((de=G.open)===null||de===void 0?void 0:de.value)||"",Ae=G.groups.map(yt=>Y(yt)).join(((se=G.groups[0])===null||se===void 0?void 0:se.type)==="comma_group"?",":""),ht=((fe=G.close)===null||fe===void 0?void 0:fe.value)||"";return ve+Ae+ht}let P=((oe=G.raws)===null||oe===void 0?void 0:oe.before)||"",C=((pe=G.raws)===null||pe===void 0?void 0:pe.quote)||"",J=G.type==="atword"?"@":"",V=G.value||"",we=G.unit||"",De=G.group?Y(G.group):"",Xe=((ce=G.raws)===null||ce===void 0?void 0:ce.after)||"";return P+C+J+V+C+we+De+Xe}ee.exports=Y}}),_u=Rt({"src/language-css/utils/is-module-rule-name.js"(w,ee){qt();var Y=new Set(["import","use","forward"]);function G(oe){return Y.has(oe)}ee.exports=G}}),So=Rt({"node_modules/postcss-values-parser/lib/node.js"(w,ee){qt();var Y=function(G,oe){let pe=new G.constructor;for(let ce in G){if(!G.hasOwnProperty(ce))continue;let de=G[ce],se=typeof de;ce==="parent"&&se==="object"?oe&&(pe[ce]=oe):ce==="source"?pe[ce]=de:de instanceof Array?pe[ce]=de.map(fe=>Y(fe,pe)):ce!=="before"&&ce!=="after"&&ce!=="between"&&ce!=="semicolon"&&(se==="object"&&de!==null&&(de=Y(de)),pe[ce]=de)}return pe};ee.exports=class{constructor(G){G=G||{},this.raws={before:"",after:""};for(let oe in G)this[oe]=G[oe]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(G){G=G||{};let oe=Y(this);for(let pe in G)oe[pe]=G[pe];return oe}cloneBefore(G){G=G||{};let oe=this.clone(G);return this.parent.insertBefore(this,oe),oe}cloneAfter(G){G=G||{};let oe=this.clone(G);return this.parent.insertAfter(this,oe),oe}replaceWith(){let G=Array.prototype.slice.call(arguments);if(this.parent){for(let oe of G)this.parent.insertBefore(this,oe);this.remove()}return this}moveTo(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.append(this),this}moveBefore(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertBefore(G,this),this}moveAfter(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertAfter(G,this),this}next(){let G=this.parent.index(this);return this.parent.nodes[G+1]}prev(){let G=this.parent.index(this);return this.parent.nodes[G-1]}toJSON(){let G={};for(let oe in this){if(!this.hasOwnProperty(oe)||oe==="parent")continue;let pe=this[oe];pe instanceof Array?G[oe]=pe.map(ce=>typeof ce=="object"&&ce.toJSON?ce.toJSON():ce):typeof pe=="object"&&pe.toJSON?G[oe]=pe.toJSON():G[oe]=pe}return G}root(){let G=this;for(;G.parent;)G=G.parent;return G}cleanRaws(G){delete this.raws.before,delete this.raws.after,G||delete this.raws.between}positionInside(G){let oe=this.toString(),pe=this.source.start.column,ce=this.source.start.line;for(let de=0;de<G;de++)oe[de]===`
`?(pe=1,ce+=1):pe+=1;return{line:ce,column:pe}}positionBy(G){let oe=this.source.start;if(Object(G).index)oe=this.positionInside(G.index);else if(Object(G).word){let pe=this.toString().indexOf(G.word);pe!==-1&&(oe=this.positionInside(pe))}return oe}}}}),Zs=Rt({"node_modules/postcss-values-parser/lib/container.js"(w,ee){qt();var Y=So(),G=class extends Y{constructor(oe){super(oe),this.nodes||(this.nodes=[])}push(oe){return oe.parent=this,this.nodes.push(oe),this}each(oe){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let pe=this.lastEach,ce,de;if(this.indexes[pe]=0,!!this.nodes){for(;this.indexes[pe]<this.nodes.length&&(ce=this.indexes[pe],de=oe(this.nodes[ce],ce),de!==!1);)this.indexes[pe]+=1;return delete this.indexes[pe],de}}walk(oe){return this.each((pe,ce)=>{let de=oe(pe,ce);return de!==!1&&pe.walk&&(de=pe.walk(oe)),de})}walkType(oe,pe){if(!oe||!pe)throw new Error("Parameters {type} and {callback} are required.");let ce=typeof oe=="function";return this.walk((de,se)=>{if(ce&&de instanceof oe||!ce&&de.type===oe)return pe.call(this,de,se)})}append(oe){return oe.parent=this,this.nodes.push(oe),this}prepend(oe){return oe.parent=this,this.nodes.unshift(oe),this}cleanRaws(oe){if(super.cleanRaws(oe),this.nodes)for(let pe of this.nodes)pe.cleanRaws(oe)}insertAfter(oe,pe){let ce=this.index(oe),de;this.nodes.splice(ce+1,0,pe);for(let se in this.indexes)de=this.indexes[se],ce<=de&&(this.indexes[se]=de+this.nodes.length);return this}insertBefore(oe,pe){let ce=this.index(oe),de;this.nodes.splice(ce,0,pe);for(let se in this.indexes)de=this.indexes[se],ce<=de&&(this.indexes[se]=de+this.nodes.length);return this}removeChild(oe){oe=this.index(oe),this.nodes[oe].parent=void 0,this.nodes.splice(oe,1);let pe;for(let ce in this.indexes)pe=this.indexes[ce],pe>=oe&&(this.indexes[ce]=pe-1);return this}removeAll(){for(let oe of this.nodes)oe.parent=void 0;return this.nodes=[],this}every(oe){return this.nodes.every(oe)}some(oe){return this.nodes.some(oe)}index(oe){return typeof oe=="number"?oe:this.nodes.indexOf(oe)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let oe=this.nodes.map(String).join("");return this.value&&(oe=this.value+oe),this.raws.before&&(oe=this.raws.before+oe),this.raws.after&&(oe+=this.raws.after),oe}};G.registerWalker=oe=>{let pe="walk"+oe.name;pe.lastIndexOf("s")!==pe.length-1&&(pe+="s"),!G.prototype[pe]&&(G.prototype[pe]=function(ce){return this.walkType(oe,ce)})},ee.exports=G}}),fo=Rt({"node_modules/postcss-values-parser/lib/root.js"(w,ee){qt();var Y=Zs();ee.exports=class extends Y{constructor(G){super(G),this.type="root"}}}}),wl=Rt({"node_modules/postcss-values-parser/lib/value.js"(w,ee){qt();var Y=Zs();ee.exports=class extends Y{constructor(G){super(G),this.type="value",this.unbalanced=0}}}}),Al=Rt({"node_modules/postcss-values-parser/lib/atword.js"(w,ee){qt();var Y=Zs(),G=class extends Y{constructor(oe){super(oe),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Y.registerWalker(G),ee.exports=G}}),$u=Rt({"node_modules/postcss-values-parser/lib/colon.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="colon"}};Y.registerWalker(oe),ee.exports=oe}}),Tl=Rt({"node_modules/postcss-values-parser/lib/comma.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="comma"}};Y.registerWalker(oe),ee.exports=oe}}),su=Rt({"node_modules/postcss-values-parser/lib/comment.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="comment",this.inline=Object(pe).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),$a=Rt({"node_modules/postcss-values-parser/lib/function.js"(w,ee){qt();var Y=Zs(),G=class extends Y{constructor(oe){super(oe),this.type="func",this.unbalanced=-1}};Y.registerWalker(G),ee.exports=G}}),uc=Rt({"node_modules/postcss-values-parser/lib/number.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="number",this.unit=Object(pe).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),lc=Rt({"node_modules/postcss-values-parser/lib/operator.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="operator"}};Y.registerWalker(oe),ee.exports=oe}}),Ln=Rt({"node_modules/postcss-values-parser/lib/paren.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="paren",this.parenType=""}};Y.registerWalker(oe),ee.exports=oe}}),Pl=Rt({"node_modules/postcss-values-parser/lib/string.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="string"}toString(){let pe=this.quoted?this.raws.quote:"";return[this.raws.before,pe,this.value+"",pe,this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),cc=Rt({"node_modules/postcss-values-parser/lib/word.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="word"}};Y.registerWalker(oe),ee.exports=oe}}),hc=Rt({"node_modules/postcss-values-parser/lib/unicode-range.js"(w,ee){qt();var Y=Zs(),G=So(),oe=class extends G{constructor(pe){super(pe),this.type="unicode-range"}};Y.registerWalker(oe),ee.exports=oe}});function kl(){throw new Error("setTimeout has not been defined")}function Bu(){throw new Error("clearTimeout has not been defined")}function Fl(w){if(Ko===setTimeout)return setTimeout(w,0);if((Ko===kl||!Ko)&&setTimeout)return Ko=setTimeout,setTimeout(w,0);try{return Ko(w,0)}catch{try{return Ko.call(null,w,0)}catch{return Ko.call(this,w,0)}}}function uh(w){if(ea===clearTimeout)return clearTimeout(w);if((ea===Bu||!ea)&&clearTimeout)return ea=clearTimeout,clearTimeout(w);try{return ea(w)}catch{try{return ea.call(null,w)}catch{return ea.call(this,w)}}}function pc(){!Fo||!fi||(Fo=!1,fi.length?Qo=fi.concat(Qo):Ba=-1,Qo.length&&fc())}function fc(){if(!Fo){var w=Fl(pc);Fo=!0;for(var ee=Qo.length;ee;){for(fi=Qo,Qo=[];++Ba<ee;)fi&&fi[Ba].run();Ba=-1,ee=Qo.length}fi=null,Fo=!1,uh(w)}}function Oa(w){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var Y=1;Y<arguments.length;Y++)ee[Y-1]=arguments[Y];Qo.push(new Nu(w,ee)),Qo.length===1&&!Fo&&Fl(fc)}function Nu(w,ee){this.fun=w,this.array=ee}function xa(){}function dc(w){throw new Error("process.binding is not supported")}function mc(){return"/"}function lh(w){throw new Error("process.chdir is not supported")}function Iu(){return 0}function Mu(w){var ee=li.call(vn)*.001,Y=Math.floor(ee),G=Math.floor(ee%1*1e9);return w&&(Y=Y-w[0],G=G-w[1],G<0&&(Y--,G+=1e9)),[Y,G]}function mo(){var w=new Date,ee=w-vi;return ee/1e3}var Ko,ea,Qo,Fo,fi,Ba,_l,ou,Ru,Na,Qu,ju,au,Lu,$l,bn,Ur,Vr,Ar,mr,Nr,rr,vn,li,vi,gi,Fn,Ti=Kr({"node-modules-polyfills:process"(){qt(),Ko=kl,ea=Bu,typeof globalThis.setTimeout=="function"&&(Ko=setTimeout),typeof globalThis.clearTimeout=="function"&&(ea=clearTimeout),Qo=[],Fo=!1,Ba=-1,Nu.prototype.run=function(){this.fun.apply(null,this.array)},_l="browser",ou="browser",Ru=!0,Na={},Qu=[],ju="",au={},Lu={},$l={},bn=xa,Ur=xa,Vr=xa,Ar=xa,mr=xa,Nr=xa,rr=xa,vn=globalThis.performance||{},li=vn.now||vn.mozNow||vn.msNow||vn.oNow||vn.webkitNow||function(){return new Date().getTime()},vi=new Date,gi={nextTick:Oa,title:_l,browser:Ru,env:Na,argv:Qu,version:ju,versions:au,on:bn,addListener:Ur,once:Vr,off:Ar,removeListener:mr,removeAllListeners:Nr,emit:rr,binding:dc,cwd:mc,chdir:lh,umask:Iu,hrtime:Mu,platform:ou,release:Lu,config:$l,uptime:mo},Fn=gi}}),Qr,$i,ks=Kr({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){qt(),typeof Object.create=="function"?Qr=function(w,ee){w.super_=ee,w.prototype=Object.create(ee.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}})}:Qr=function(w,ee){w.super_=ee;var Y=function(){};Y.prototype=ee.prototype,w.prototype=new Y,w.prototype.constructor=w},$i=Qr}}),Xn={};En(Xn,{_extend:()=>Me,debuglog:()=>Bi,default:()=>Ki,deprecate:()=>Os,format:()=>ki,inherits:()=>$i,inspect:()=>Ji,isArray:()=>Gt,isBoolean:()=>tn,isBuffer:()=>Er,isDate:()=>jr,isError:()=>Nn,isFunction:()=>ri,isNull:()=>it,isNullOrUndefined:()=>wt,isNumber:()=>Vt,isObject:()=>Mn,isPrimitive:()=>ns,isRegExp:()=>rn,isString:()=>ar,isSymbol:()=>tr,isUndefined:()=>fr,log:()=>Ei});function ki(w){if(!ar(w)){for(var ee=[],Y=0;Y<arguments.length;Y++)ee.push(Ji(arguments[Y]));return ee.join(" ")}for(var Y=1,G=arguments,oe=G.length,pe=String(w).replace(sr,function(se){if(se==="%%")return"%";if(Y>=oe)return se;switch(se){case"%s":return String(G[Y++]);case"%d":return Number(G[Y++]);case"%j":try{return JSON.stringify(G[Y++])}catch{return"[Circular]"}default:return se}}),ce=G[Y];Y<oe;ce=G[++Y])it(ce)||!Mn(ce)?pe+=" "+ce:pe+=" "+Ji(ce);return pe}function Os(w,ee){if(fr(globalThis.process))return function(){return Os(w,ee).apply(this,arguments)};if(Fn.noDeprecation===!0)return w;var Y=!1;function G(){if(!Y){if(Fn.throwDeprecation)throw new Error(ee);Fn.traceDeprecation?console.trace(ee):console.error(ee),Y=!0}return w.apply(this,arguments)}return G}function Bi(w){if(fr(Ir)&&(Ir=Fn.env.NODE_DEBUG||""),w=w.toUpperCase(),!Xt[w])if(new RegExp("\\b"+w+"\\b","i").test(Ir)){var ee=0;Xt[w]=function(){var Y=ki.apply(null,arguments);console.error("%s %d: %s",w,ee,Y)}}else Xt[w]=function(){};return Xt[w]}function Ji(w,ee){var Y={seen:[],stylize:te};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),tn(ee)?Y.showHidden=ee:ee&&Me(Y,ee),fr(Y.showHidden)&&(Y.showHidden=!1),fr(Y.depth)&&(Y.depth=2),fr(Y.colors)&&(Y.colors=!1),fr(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=Ks),ot(Y,w,Y.depth)}function Ks(w,ee){var Y=Ji.styles[ee];return Y?"\x1B["+Ji.colors[Y][0]+"m"+w+"\x1B["+Ji.colors[Y][1]+"m":w}function te(w,ee){return w}function Re(w){var ee={};return w.forEach(function(Y,G){ee[Y]=!0}),ee}function ot(w,ee,Y){if(w.customInspect&&ee&&ri(ee.inspect)&&ee.inspect!==Ji&&!(ee.constructor&&ee.constructor.prototype===ee)){var G=ee.inspect(Y,w);return ar(G)||(G=ot(w,G,Y)),G}var oe=at(w,ee);if(oe)return oe;var pe=Object.keys(ee),ce=Re(pe);if(w.showHidden&&(pe=Object.getOwnPropertyNames(ee)),Nn(ee)&&(pe.indexOf("message")>=0||pe.indexOf("description")>=0))return Pt(ee);if(pe.length===0){if(ri(ee)){var de=ee.name?": "+ee.name:"";return w.stylize("[Function"+de+"]","special")}if(rn(ee))return w.stylize(RegExp.prototype.toString.call(ee),"regexp");if(jr(ee))return w.stylize(Date.prototype.toString.call(ee),"date");if(Nn(ee))return Pt(ee)}var se="",fe=!1,P=["{","}"];if(Gt(ee)&&(fe=!0,P=["[","]"]),ri(ee)){var C=ee.name?": "+ee.name:"";se=" [Function"+C+"]"}if(rn(ee)&&(se=" "+RegExp.prototype.toString.call(ee)),jr(ee)&&(se=" "+Date.prototype.toUTCString.call(ee)),Nn(ee)&&(se=" "+Pt(ee)),pe.length===0&&(!fe||ee.length==0))return P[0]+se+P[1];if(Y<0)return rn(ee)?w.stylize(RegExp.prototype.toString.call(ee),"regexp"):w.stylize("[Object]","special");w.seen.push(ee);var J;return fe?J=qe(w,ee,Y,ce,pe):J=pe.map(function(V){return ut(w,ee,Y,ce,V,fe)}),w.seen.pop(),Lt(J,se,P)}function at(w,ee){if(fr(ee))return w.stylize("undefined","undefined");if(ar(ee)){var Y="'"+JSON.stringify(ee).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return w.stylize(Y,"string")}if(Vt(ee))return w.stylize(""+ee,"number");if(tn(ee))return w.stylize(""+ee,"boolean");if(it(ee))return w.stylize("null","null")}function Pt(w){return"["+Error.prototype.toString.call(w)+"]"}function qe(w,ee,Y,G,oe){for(var pe=[],ce=0,de=ee.length;ce<de;++ce)st(ee,String(ce))?pe.push(ut(w,ee,Y,G,String(ce),!0)):pe.push("");return oe.forEach(function(se){se.match(/^\d+$/)||pe.push(ut(w,ee,Y,G,se,!0))}),pe}function ut(w,ee,Y,G,oe,pe){var ce,de,se;if(se=Object.getOwnPropertyDescriptor(ee,oe)||{value:ee[oe]},se.get?se.set?de=w.stylize("[Getter/Setter]","special"):de=w.stylize("[Getter]","special"):se.set&&(de=w.stylize("[Setter]","special")),st(G,oe)||(ce="["+oe+"]"),de||(w.seen.indexOf(se.value)<0?(it(Y)?de=ot(w,se.value,null):de=ot(w,se.value,Y-1),de.indexOf(`
`)>-1&&(pe?de=de.split(`
`).map(function(fe){return" "+fe}).join(`
`).substr(2):de=`
`+de.split(`
`).map(function(fe){return" "+fe}).join(`
`))):de=w.stylize("[Circular]","special")),fr(ce)){if(pe&&oe.match(/^\d+$/))return de;ce=JSON.stringify(""+oe),ce.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ce=ce.substr(1,ce.length-2),ce=w.stylize(ce,"name")):(ce=ce.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ce=w.stylize(ce,"string"))}return ce+": "+de}function Lt(w,ee,Y){var G=0,oe=w.reduce(function(pe,ce){return G++,ce.indexOf(`
`)>=0&&G++,pe+ce.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?Y[0]+(ee===""?"":ee+`
`)+" "+w.join(`,
`)+" "+Y[1]:Y[0]+ee+" "+w.join(", ")+" "+Y[1]}function Gt(w){return Array.isArray(w)}function tn(w){return typeof w=="boolean"}function it(w){return w===null}function wt(w){return w==null}function Vt(w){return typeof w=="number"}function ar(w){return typeof w=="string"}function tr(w){return typeof w=="symbol"}function fr(w){return w===void 0}function rn(w){return Mn(w)&&Zn(w)==="[object RegExp]"}function Mn(w){return typeof w=="object"&&w!==null}function jr(w){return Mn(w)&&Zn(w)==="[object Date]"}function Nn(w){return Mn(w)&&(Zn(w)==="[object Error]"||w instanceof Error)}function ri(w){return typeof w=="function"}function ns(w){return w===null||typeof w=="boolean"||typeof w=="number"||typeof w=="string"||typeof w=="symbol"||typeof w>"u"}function Er(w){return Buffer.isBuffer(w)}function Zn(w){return Object.prototype.toString.call(w)}function Jn(w){return w<10?"0"+w.toString(10):w.toString(10)}function xi(){var w=new Date,ee=[Jn(w.getHours()),Jn(w.getMinutes()),Jn(w.getSeconds())].join(":");return[w.getDate(),Ci[w.getMonth()],ee].join(" ")}function Ei(){console.log("%s - %s",xi(),ki.apply(null,arguments))}function Me(w,ee){if(!ee||!Mn(ee))return w;for(var Y=Object.keys(ee),G=Y.length;G--;)w[Y[G]]=ee[Y[G]];return w}function st(w,ee){return Object.prototype.hasOwnProperty.call(w,ee)}var sr,Xt,Ir,Ci,Ki,eo=Kr({"node-modules-polyfills:util"(){qt(),Ti(),ks(),sr=/%[sdj%]/g,Xt={},Ji.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]},Ji.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Ci=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ki={inherits:$i,_extend:Me,log:Ei,isBuffer:Er,isPrimitive:ns,isFunction:ri,isError:Nn,isDate:jr,isObject:Mn,isRegExp:rn,isUndefined:fr,isSymbol:tr,isString:ar,isNumber:Vt,isNullOrUndefined:wt,isNull:it,isBoolean:tn,isArray:Gt,inspect:Ji,deprecate:Os,format:ki,debuglog:Bi}}}),Ns=Rt({"node-modules-polyfills-commonjs:util"(w,ee){qt();var Y=(eo(),Hn(Xn));if(Y&&Y.default){ee.exports=Y.default;for(let G in Y)ee.exports[G]=Y[G]}else Y&&(ee.exports=Y)}}),go=Rt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(w,ee){qt();var Y=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};ee.exports=Y}}),yo=Rt({"node_modules/postcss-values-parser/lib/tokenize.js"(w,ee){qt();var Y="{".charCodeAt(0),G="}".charCodeAt(0),oe="(".charCodeAt(0),pe=")".charCodeAt(0),ce="'".charCodeAt(0),de='"'.charCodeAt(0),se="\\".charCodeAt(0),fe="/".charCodeAt(0),P=".".charCodeAt(0),C=",".charCodeAt(0),J=":".charCodeAt(0),V="*".charCodeAt(0),we="-".charCodeAt(0),De="+".charCodeAt(0),Xe="#".charCodeAt(0),ve=`
`.charCodeAt(0),Ae=" ".charCodeAt(0),ht="\f".charCodeAt(0),yt=" ".charCodeAt(0),Ft="\r".charCodeAt(0),Tr="@".charCodeAt(0),Yr="e".charCodeAt(0),un="E".charCodeAt(0),Vn="0".charCodeAt(0),wn="9".charCodeAt(0),Rn="u".charCodeAt(0),Pn="U".charCodeAt(0),Un=/[ \n\t\r\{\(\)'"\\;,/]/g,Br=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,hr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Mr=/^[a-z0-9]/i,pr=/^[a-f0-9?\-]/i,Fs=Ns(),ts=go();ee.exports=function(cs,Yi){Yi=Yi||{};let _r=[],Dn=cs.valueOf(),ci=Dn.length,Kn=-1,hi=1,Tt=0,Jt=0,nr=null,Gr,St,An,fn,to,zi,Xs,ia,ao,Ms,No;function Ps(Vs){let so=Fs.format("Unclosed %s at line: %d, column: %d, token: %d",Vs,hi,Tt-Kn,Tt);throw new ts(so)}for(;Tt<ci;){switch(Gr=Dn.charCodeAt(Tt),Gr===ve&&(Kn=Tt,hi+=1),Gr){case ve:case Ae:case yt:case Ft:case ht:St=Tt;do St+=1,Gr=Dn.charCodeAt(St),Gr===ve&&(Kn=St,hi+=1);while(Gr===Ae||Gr===ve||Gr===yt||Gr===Ft||Gr===ht);_r.push(["space",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case J:St=Tt+1,_r.push(["colon",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case C:St=Tt+1,_r.push(["comma",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case Y:_r.push(["{","{",hi,Tt-Kn,hi,St-Kn,Tt]);break;case G:_r.push(["}","}",hi,Tt-Kn,hi,St-Kn,Tt]);break;case oe:Jt++,nr=!nr&&Jt===1&&_r.length>0&&_r[_r.length-1][0]==="word"&&_r[_r.length-1][1]==="url",_r.push(["(","(",hi,Tt-Kn,hi,St-Kn,Tt]);break;case pe:Jt--,nr=nr&&Jt>0,_r.push([")",")",hi,Tt-Kn,hi,St-Kn,Tt]);break;case ce:case de:An=Gr===ce?"'":'"',St=Tt;do for(ao=!1,St=Dn.indexOf(An,St+1),St===-1&&Ps("quote"),Ms=St;Dn.charCodeAt(Ms-1)===se;)Ms-=1,ao=!ao;while(ao);_r.push(["string",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case Tr:Un.lastIndex=Tt+1,Un.test(Dn),Un.lastIndex===0?St=Dn.length-1:St=Un.lastIndex-2,_r.push(["atword",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case se:St=Tt,Gr=Dn.charCodeAt(St+1),_r.push(["word",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case De:case we:case V:if(St=Tt+1,No=Dn.slice(Tt+1,St+1),Dn.slice(Tt-1,Tt),Gr===we&&No.charCodeAt(0)===we){St++,_r.push(["word",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break}_r.push(["operator",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;default:if(Gr===fe&&(Dn.charCodeAt(Tt+1)===V||Yi.loose&&!nr&&Dn.charCodeAt(Tt+1)===fe)){if(Dn.charCodeAt(Tt+1)===V)St=Dn.indexOf("*/",Tt+2)+1,St===0&&Ps("comment");else{let Vs=Dn.indexOf(`
`,Tt+2);St=Vs!==-1?Vs-1:ci}zi=Dn.slice(Tt,St+1),fn=zi.split(`
`),to=fn.length-1,to>0?(Xs=hi+to,ia=St-fn[to].length):(Xs=hi,ia=Kn),_r.push(["comment",zi,hi,Tt-Kn,Xs,St-ia,Tt]),Kn=ia,hi=Xs,Tt=St}else if(Gr===Xe&&!Mr.test(Dn.slice(Tt+1,Tt+2)))St=Tt+1,_r.push(["#",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;else if((Gr===Rn||Gr===Pn)&&Dn.charCodeAt(Tt+1)===De){St=Tt+2;do St+=1,Gr=Dn.charCodeAt(St);while(St<ci&&pr.test(Dn.slice(St,St+1)));_r.push(["unicoderange",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1}else if(Gr===fe)St=Tt+1,_r.push(["operator",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;else{let Vs=Br;if(Gr>=Vn&&Gr<=wn&&(Vs=hr),Vs.lastIndex=Tt+1,Vs.test(Dn),Vs.lastIndex===0?St=Dn.length-1:St=Vs.lastIndex-2,Vs===hr||Gr===P){let so=Dn.charCodeAt(St),Ac=Dn.charCodeAt(St+1),bp=Dn.charCodeAt(St+2);(so===Yr||so===un)&&(Ac===we||Ac===De)&&bp>=Vn&&bp<=wn&&(hr.lastIndex=St+2,hr.test(Dn),hr.lastIndex===0?St=Dn.length-1:St=hr.lastIndex-2)}_r.push(["word",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St}break}Tt++}return _r}}}),_o=Rt({"node_modules/flatten/index.js"(w,ee){qt(),ee.exports=function(Y,G){if(G=typeof G=="number"?G:1/0,!G)return Array.isArray(Y)?Y.map(function(pe){return pe}):Y;return oe(Y,1);function oe(pe,ce){return pe.reduce(function(de,se){return Array.isArray(se)&&ce<G?de.concat(oe(se,ce+1)):de.concat(se)},[])}}}}),$o=Rt({"node_modules/indexes-of/index.js"(w,ee){qt(),ee.exports=function(Y,G){for(var oe=-1,pe=[];(oe=Y.indexOf(G,oe+1))!==-1;)pe.push(oe);return pe}}}),Wi=Rt({"node_modules/uniq/uniq.js"(w,ee){qt();function Y(pe,ce){for(var de=1,se=pe.length,fe=pe[0],P=pe[0],C=1;C<se;++C)if(P=fe,fe=pe[C],ce(fe,P)){if(C===de){de++;continue}pe[de++]=fe}return pe.length=de,pe}function G(pe){for(var ce=1,de=pe.length,se=pe[0],fe=pe[0],P=1;P<de;++P,fe=se)if(fe=se,se=pe[P],se!==fe){if(P===ce){ce++;continue}pe[ce++]=se}return pe.length=ce,pe}function oe(pe,ce,de){return pe.length===0?pe:ce?(de||pe.sort(ce),Y(pe,ce)):(de||pe.sort(),G(pe))}ee.exports=oe}}),Qe=Rt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(w,ee){qt();var Y=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};ee.exports=Y}}),an=Rt({"node_modules/postcss-values-parser/lib/parser.js"(w,ee){qt();var Y=fo(),G=wl(),oe=Al(),pe=$u(),ce=Tl(),de=su(),se=$a(),fe=uc(),P=lc(),C=Ln(),J=Pl(),V=cc(),we=hc(),De=yo(),Xe=_o(),ve=$o(),Ae=Wi(),ht=Qe();function yt(Ft){return Ft.sort((Tr,Yr)=>Tr-Yr)}ee.exports=class{constructor(Ft,Tr){let Yr={loose:!1};this.cache=[],this.input=Ft,this.options=Object.assign({},Yr,Tr),this.position=0,this.unbalanced=0,this.root=new Y;let un=new G;this.root.append(un),this.current=un,this.tokens=De(Ft,this.options)}parse(){return this.loop()}colon(){let Ft=this.currToken;this.newNode(new pe({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}comma(){let Ft=this.currToken;this.newNode(new ce({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}comment(){let Ft=!1,Tr=this.currToken[1].replace(/\/\*|\*\//g,""),Yr;this.options.loose&&Tr.startsWith("//")&&(Tr=Tr.substring(2),Ft=!0),Yr=new de({value:Tr,inline:Ft,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Yr),this.position++}error(Ft,Tr){throw new ht(Ft+` at line: ${Tr[2]}, column ${Tr[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let Ft=this.currToken[1],Tr;if(Ft==="+"||Ft==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return Tr=new P({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(Tr)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let Ft=1,Tr=this.position+1,Yr=this.currToken,un;for(;Tr<this.tokens.length&&Ft;){let Vn=this.tokens[Tr];Vn[0]==="("&&Ft++,Vn[0]===")"&&Ft--,Tr++}if(Ft&&this.error("Expected closing parenthesis",Yr),un=this.current.last,un&&un.type==="func"&&un.unbalanced<0&&(un.unbalanced=0,this.current=un),this.current.unbalanced++,this.newNode(new C({value:Yr[1],source:{start:{line:Yr[2],column:Yr[3]},end:{line:Yr[4],column:Yr[5]}},sourceIndex:Yr[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let Vn=this.nextToken,wn=this.currToken[1],Rn={line:this.currToken[2],column:this.currToken[3]};for(;Vn&&Vn[0]!==")"&&this.current.unbalanced;)this.position++,wn+=this.currToken[1],Vn=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new V({value:wn,source:{start:Rn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Ft=this.currToken;this.newNode(new C({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Ft),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Ft=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Ft[1],this.position++):(this.spaces=Ft[1],this.position++)}unicodeRange(){let Ft=this.currToken;this.newNode(new we({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}splitWord(){let Ft=this.nextToken,Tr=this.currToken[1],Yr=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,un=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Vn,wn;if(!un.test(Tr))for(;Ft&&Ft[0]==="word";){this.position++;let Rn=this.currToken[1];Tr+=Rn,Ft=this.nextToken}Vn=ve(Tr,"@"),wn=yt(Ae(Xe([[0],Vn]))),wn.forEach((Rn,Pn)=>{let Un=wn[Pn+1]||Tr.length,Br=Tr.slice(Rn,Un),hr;if(~Vn.indexOf(Rn))hr=new oe({value:Br.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Pn]});else if(Yr.test(this.currToken[1])){let Mr=Br.replace(Yr,"");hr=new fe({value:Br.replace(Mr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Pn],unit:Mr})}else hr=new(Ft&&Ft[0]==="("?se:V)({value:Br,source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Pn]}),hr.type==="word"?(hr.isHex=/^#(.+)/.test(Br),hr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Br)):this.cache.push(this.current);this.newNode(hr)}),this.position++}string(){let Ft=this.currToken,Tr=this.currToken[1],Yr=/^(\"|\')/,un=Yr.test(Tr),Vn="",wn;un&&(Vn=Tr.match(Yr)[0],Tr=Tr.slice(1,Tr.length-1)),wn=new J({value:Tr,source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6],quoted:un}),wn.raws.quote=Vn,this.newNode(wn),this.position++}word(){return this.splitWord()}newNode(Ft){return this.spaces&&(Ft.raws.before+=this.spaces,this.spaces=""),this.current.append(Ft)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),_n=Rt({"node_modules/postcss-values-parser/lib/index.js"(w,ee){qt();var Y=an(),G=Al(),oe=$u(),pe=Tl(),ce=su(),de=$a(),se=uc(),fe=lc(),P=Ln(),C=Pl(),J=hc(),V=wl(),we=cc(),De=function(Xe,ve){return new Y(Xe,ve)};De.atword=function(Xe){return new G(Xe)},De.colon=function(Xe){return new oe(Object.assign({value:":"},Xe))},De.comma=function(Xe){return new pe(Object.assign({value:","},Xe))},De.comment=function(Xe){return new ce(Xe)},De.func=function(Xe){return new de(Xe)},De.number=function(Xe){return new se(Xe)},De.operator=function(Xe){return new fe(Xe)},De.paren=function(Xe){return new P(Object.assign({value:"("},Xe))},De.string=function(Xe){return new C(Object.assign({quote:"'"},Xe))},De.value=function(Xe){return new V(Xe)},De.word=function(Xe){return new we(Xe)},De.unicodeRange=function(Xe){return new J(Xe)},ee.exports=De}}),Cn=Rt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(w,ee){qt(),w.__esModule=!0;var Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ce){return typeof ce}:function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce};function G(ce,de){if(!(ce instanceof de))throw new TypeError("Cannot call a class as a function")}var oe=function ce(de,se){if((typeof de>"u"?"undefined":Y(de))!=="object")return de;var fe=new de.constructor;for(var P in de)if(de.hasOwnProperty(P)){var C=de[P],J=typeof C>"u"?"undefined":Y(C);P==="parent"&&J==="object"?se&&(fe[P]=se):C instanceof Array?fe[P]=C.map(function(V){return ce(V,fe)}):fe[P]=ce(C,fe)}return fe},pe=function(){function ce(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(this,ce);for(var se in de)this[se]=de[se];var fe=de.spaces;fe=fe===void 0?{}:fe;var P=fe.before,C=P===void 0?"":P,J=fe.after,V=J===void 0?"":J;this.spaces={before:C,after:V}}return ce.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},ce.prototype.replaceWith=function(){if(this.parent){for(var de in arguments)this.parent.insertBefore(this,arguments[de]);this.remove()}return this},ce.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},ce.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},ce.prototype.clone=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},se=oe(this);for(var fe in de)se[fe]=de[fe];return se},ce.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},ce}();w.default=pe,ee.exports=w.default}}),yi=Rt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(w){qt(),w.__esModule=!0,w.TAG="tag",w.STRING="string",w.SELECTOR="selector",w.ROOT="root",w.PSEUDO="pseudo",w.NESTING="nesting",w.ID="id",w.COMMENT="comment",w.COMBINATOR="combinator",w.CLASS="class",w.ATTRIBUTE="attribute",w.UNIVERSAL="universal"}}),is=Rt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function V(we,De){for(var Xe=0;Xe<De.length;Xe++){var ve=De[Xe];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(we,ve.key,ve)}}return function(we,De,Xe){return De&&V(we.prototype,De),Xe&&V(we,Xe),we}}(),G=Cn(),oe=se(G),pe=yi(),ce=de(pe);function de(V){if(V&&V.__esModule)return V;var we={};if(V!=null)for(var De in V)Object.prototype.hasOwnProperty.call(V,De)&&(we[De]=V[De]);return we.default=V,we}function se(V){return V&&V.__esModule?V:{default:V}}function fe(V,we){if(!(V instanceof we))throw new TypeError("Cannot call a class as a function")}function P(V,we){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:V}function C(V,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);V.prototype=Object.create(we&&we.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(V,we):V.__proto__=we)}var J=function(V){C(we,V);function we(De){fe(this,we);var Xe=P(this,V.call(this,De));return Xe.nodes||(Xe.nodes=[]),Xe}return we.prototype.append=function(De){return De.parent=this,this.nodes.push(De),this},we.prototype.prepend=function(De){return De.parent=this,this.nodes.unshift(De),this},we.prototype.at=function(De){return this.nodes[De]},we.prototype.index=function(De){return typeof De=="number"?De:this.nodes.indexOf(De)},we.prototype.removeChild=function(De){De=this.index(De),this.at(De).parent=void 0,this.nodes.splice(De,1);var Xe=void 0;for(var ve in this.indexes)Xe=this.indexes[ve],Xe>=De&&(this.indexes[ve]=Xe-1);return this},we.prototype.removeAll=function(){for(var ve=this.nodes,De=Array.isArray(ve),Xe=0,ve=De?ve:ve[Symbol.iterator]();;){var Ae;if(De){if(Xe>=ve.length)break;Ae=ve[Xe++]}else{if(Xe=ve.next(),Xe.done)break;Ae=Xe.value}var ht=Ae;ht.parent=void 0}return this.nodes=[],this},we.prototype.empty=function(){return this.removeAll()},we.prototype.insertAfter=function(De,Xe){var ve=this.index(De);this.nodes.splice(ve+1,0,Xe);var Ae=void 0;for(var ht in this.indexes)Ae=this.indexes[ht],ve<=Ae&&(this.indexes[ht]=Ae+this.nodes.length);return this},we.prototype.insertBefore=function(De,Xe){var ve=this.index(De);this.nodes.splice(ve,0,Xe);var Ae=void 0;for(var ht in this.indexes)Ae=this.indexes[ht],ve<=Ae&&(this.indexes[ht]=Ae+this.nodes.length);return this},we.prototype.each=function(De){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Xe=this.lastEach;if(this.indexes[Xe]=0,!!this.length){for(var ve=void 0,Ae=void 0;this.indexes[Xe]<this.length&&(ve=this.indexes[Xe],Ae=De(this.at(ve),ve),Ae!==!1);)this.indexes[Xe]+=1;if(delete this.indexes[Xe],Ae===!1)return!1}},we.prototype.walk=function(De){return this.each(function(Xe,ve){var Ae=De(Xe,ve);if(Ae!==!1&&Xe.length&&(Ae=Xe.walk(De)),Ae===!1)return!1})},we.prototype.walkAttributes=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.ATTRIBUTE)return De.call(Xe,ve)})},we.prototype.walkClasses=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.CLASS)return De.call(Xe,ve)})},we.prototype.walkCombinators=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.COMBINATOR)return De.call(Xe,ve)})},we.prototype.walkComments=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.COMMENT)return De.call(Xe,ve)})},we.prototype.walkIds=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.ID)return De.call(Xe,ve)})},we.prototype.walkNesting=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.NESTING)return De.call(Xe,ve)})},we.prototype.walkPseudos=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.PSEUDO)return De.call(Xe,ve)})},we.prototype.walkTags=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.TAG)return De.call(Xe,ve)})},we.prototype.walkUniversals=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.UNIVERSAL)return De.call(Xe,ve)})},we.prototype.split=function(De){var Xe=this,ve=[];return this.reduce(function(Ae,ht,yt){var Ft=De.call(Xe,ht);return ve.push(ht),Ft?(Ae.push(ve),ve=[]):yt===Xe.length-1&&Ae.push(ve),Ae},[])},we.prototype.map=function(De){return this.nodes.map(De)},we.prototype.reduce=function(De,Xe){return this.nodes.reduce(De,Xe)},we.prototype.every=function(De){return this.nodes.every(De)},we.prototype.some=function(De){return this.nodes.some(De)},we.prototype.filter=function(De){return this.nodes.filter(De)},we.prototype.sort=function(De){return this.nodes.sort(De)},we.prototype.toString=function(){return this.map(String).join("")},Y(we,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),we}(oe.default);w.default=J,ee.exports=w.default}}),ls=Rt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(w,ee){qt(),w.__esModule=!0;var Y=is(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ROOT,V}return C.prototype.toString=function(){var J=this.reduce(function(V,we){var De=String(we);return De?V+De+",":""},"").slice(0,-1);return this.trailingComma?J+",":J},C}(G.default);w.default=fe,ee.exports=w.default}}),Zi=Rt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(w,ee){qt(),w.__esModule=!0;var Y=is(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.SELECTOR,V}return C}(G.default);w.default=fe,ee.exports=w.default}}),Eo=Rt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function P(C,J){for(var V=0;V<J.length;V++){var we=J[V];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(C,we.key,we)}}return function(C,J,V){return J&&P(C.prototype,J),V&&P(C,V),C}}(),G=Cn(),oe=pe(G);function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(){return ce(this,C),de(this,P.apply(this,arguments))}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Y(C,[{key:"ns",get:function(){var J=this.namespace;return J?(typeof J=="string"?J:"")+"|":""}}]),C}(oe.default);w.default=fe,ee.exports=w.default}}),Za=Rt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.CLASS,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},C}(G.default);w.default=fe,ee.exports=w.default}}),uu=Rt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.COMMENT,V}return C}(G.default);w.default=fe,ee.exports=w.default}}),lu=Rt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ID,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},C}(G.default);w.default=fe,ee.exports=w.default}}),jo=Rt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.TAG,V}return C}(G.default);w.default=fe,ee.exports=w.default}}),ba=Rt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.STRING,V}return C}(G.default);w.default=fe,ee.exports=w.default}}),Is=Rt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(w,ee){qt(),w.__esModule=!0;var Y=is(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.PSEUDO,V}return C.prototype.toString=function(){var J=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),J,this.spaces.after].join("")},C}(G.default);w.default=fe,ee.exports=w.default}}),ta=Rt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ATTRIBUTE,V.raws={},V}return C.prototype.toString=function(){var J=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&J.push(this.operator),this.value&&J.push(this.value),this.raws.insensitive?J.push(this.raws.insensitive):this.insensitive&&J.push(" i"),J.push("]"),J.concat(this.spaces.after).join("")},C}(G.default);w.default=fe,ee.exports=w.default}}),Ia=Rt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.UNIVERSAL,V.value="*",V}return C}(G.default);w.default=fe,ee.exports=w.default}}),tp=Rt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.COMBINATOR,V}return C}(G.default);w.default=fe,ee.exports=w.default}}),ch=Rt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),G=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.NESTING,V.value="&",V}return C}(G.default);w.default=fe,ee.exports=w.default}}),Ya=Rt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(w,ee){qt(),w.__esModule=!0,w.default=Y;function Y(G){return G.sort(function(oe,pe){return oe-pe})}ee.exports=w.default}}),rp=Rt({"node_modules/postcss-selector-parser/dist/tokenize.js"(w,ee){qt(),w.__esModule=!0,w.default=Rn;var Y=39,G=34,oe=92,pe=47,ce=10,de=32,se=12,fe=9,P=13,C=43,J=62,V=126,we=124,De=44,Xe=40,ve=41,Ae=91,ht=93,yt=59,Ft=42,Tr=58,Yr=38,un=64,Vn=/[ \n\t\r\{\(\)'"\\;/]/g,wn=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Rn(Pn){for(var Un=[],Br=Pn.css.valueOf(),hr=void 0,Mr=void 0,pr=void 0,Fs=void 0,ts=void 0,cs=void 0,Yi=void 0,_r=void 0,Dn=void 0,ci=void 0,Kn=void 0,hi=Br.length,Tt=-1,Jt=1,nr=0,Gr=function(St,An){if(Pn.safe)Br+=An,Mr=Br.length-1;else throw Pn.error("Unclosed "+St,Jt,nr-Tt,nr)};nr<hi;){switch(hr=Br.charCodeAt(nr),hr===ce&&(Tt=nr,Jt+=1),hr){case ce:case de:case fe:case P:case se:Mr=nr;do Mr+=1,hr=Br.charCodeAt(Mr),hr===ce&&(Tt=Mr,Jt+=1);while(hr===de||hr===ce||hr===fe||hr===P||hr===se);Un.push(["space",Br.slice(nr,Mr),Jt,nr-Tt,nr]),nr=Mr-1;break;case C:case J:case V:case we:Mr=nr;do Mr+=1,hr=Br.charCodeAt(Mr);while(hr===C||hr===J||hr===V||hr===we);Un.push(["combinator",Br.slice(nr,Mr),Jt,nr-Tt,nr]),nr=Mr-1;break;case Ft:Un.push(["*","*",Jt,nr-Tt,nr]);break;case Yr:Un.push(["&","&",Jt,nr-Tt,nr]);break;case De:Un.push([",",",",Jt,nr-Tt,nr]);break;case Ae:Un.push(["[","[",Jt,nr-Tt,nr]);break;case ht:Un.push(["]","]",Jt,nr-Tt,nr]);break;case Tr:Un.push([":",":",Jt,nr-Tt,nr]);break;case yt:Un.push([";",";",Jt,nr-Tt,nr]);break;case Xe:Un.push(["(","(",Jt,nr-Tt,nr]);break;case ve:Un.push([")",")",Jt,nr-Tt,nr]);break;case Y:case G:pr=hr===Y?"'":'"',Mr=nr;do for(ci=!1,Mr=Br.indexOf(pr,Mr+1),Mr===-1&&Gr("quote",pr),Kn=Mr;Br.charCodeAt(Kn-1)===oe;)Kn-=1,ci=!ci;while(ci);Un.push(["string",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;case un:Vn.lastIndex=nr+1,Vn.test(Br),Vn.lastIndex===0?Mr=Br.length-1:Mr=Vn.lastIndex-2,Un.push(["at-word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;case oe:for(Mr=nr,Yi=!0;Br.charCodeAt(Mr+1)===oe;)Mr+=1,Yi=!Yi;hr=Br.charCodeAt(Mr+1),Yi&&hr!==pe&&hr!==de&&hr!==ce&&hr!==fe&&hr!==P&&hr!==se&&(Mr+=1),Un.push(["word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;default:hr===pe&&Br.charCodeAt(nr+1)===Ft?(Mr=Br.indexOf("*/",nr+2)+1,Mr===0&&Gr("comment","*/"),cs=Br.slice(nr,Mr+1),Fs=cs.split(`
`),ts=Fs.length-1,ts>0?(_r=Jt+ts,Dn=Mr-Fs[ts].length):(_r=Jt,Dn=Tt),Un.push(["comment",cs,Jt,nr-Tt,_r,Mr-Dn,nr]),Tt=Dn,Jt=_r,nr=Mr):(wn.lastIndex=nr+1,wn.test(Br),wn.lastIndex===0?Mr=Br.length-1:Mr=wn.lastIndex-2,Un.push(["word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr);break}nr++}return Un}ee.exports=w.default}}),as=Rt({"node_modules/postcss-selector-parser/dist/parser.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function Tt(Jt,nr){for(var Gr=0;Gr<nr.length;Gr++){var St=nr[Gr];St.enumerable=St.enumerable||!1,St.configurable=!0,"value"in St&&(St.writable=!0),Object.defineProperty(Jt,St.key,St)}}return function(Jt,nr,Gr){return nr&&Tt(Jt.prototype,nr),Gr&&Tt(Jt,Gr),Jt}}(),G=_o(),oe=ci(G),pe=$o(),ce=ci(pe),de=Wi(),se=ci(de),fe=ls(),P=ci(fe),C=Zi(),J=ci(C),V=Za(),we=ci(V),De=uu(),Xe=ci(De),ve=lu(),Ae=ci(ve),ht=jo(),yt=ci(ht),Ft=ba(),Tr=ci(Ft),Yr=Is(),un=ci(Yr),Vn=ta(),wn=ci(Vn),Rn=Ia(),Pn=ci(Rn),Un=tp(),Br=ci(Un),hr=ch(),Mr=ci(hr),pr=Ya(),Fs=ci(pr),ts=rp(),cs=ci(ts),Yi=yi(),_r=Dn(Yi);function Dn(Tt){if(Tt&&Tt.__esModule)return Tt;var Jt={};if(Tt!=null)for(var nr in Tt)Object.prototype.hasOwnProperty.call(Tt,nr)&&(Jt[nr]=Tt[nr]);return Jt.default=Tt,Jt}function ci(Tt){return Tt&&Tt.__esModule?Tt:{default:Tt}}function Kn(Tt,Jt){if(!(Tt instanceof Jt))throw new TypeError("Cannot call a class as a function")}var hi=function(){function Tt(Jt){Kn(this,Tt),this.input=Jt,this.lossy=Jt.options.lossless===!1,this.position=0,this.root=new P.default;var nr=new J.default;return this.root.append(nr),this.current=nr,this.lossy?this.tokens=(0,cs.default)({safe:Jt.safe,css:Jt.css.trim()}):this.tokens=(0,cs.default)(Jt),this.loop()}return Tt.prototype.attribute=function(){var Jt="",nr=void 0,Gr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Jt+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Jt.indexOf("]")&&this.error("Expected a closing square bracket.");var St=Jt.split(/((?:[*~^$|]?=))([^]*)/),An=St[0].split(/(\|)/g),fn={operator:St[1],value:St[2],source:{start:{line:Gr[2],column:Gr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Gr[4]};if(An.length>1?(An[0]===""&&(An[0]=!0),fn.attribute=this.parseValue(An[2]),fn.namespace=this.parseNamespace(An[0])):fn.attribute=this.parseValue(St[0]),nr=new wn.default(fn),St[2]){var to=St[2].split(/(\s+i\s*?)$/),zi=to[0].trim();nr.value=this.lossy?zi:to[0],to[1]&&(nr.insensitive=!0,this.lossy||(nr.raws.insensitive=to[1])),nr.quoted=zi[0]==="'"||zi[0]==='"',nr.raws.unquoted=nr.quoted?zi.slice(1,-1):zi}this.newNode(nr),this.position++},Tt.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Jt=new Br.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(Jt.spaces.before=this.parseSpace(this.currToken[1]),Jt.source.start.line=this.nextToken[2],Jt.source.start.column=this.nextToken[3],Jt.source.end.column=this.nextToken[3],Jt.source.end.line=this.nextToken[2],Jt.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Jt.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Jt.value=this.currToken[1]:this.currToken[0]==="space"&&(Jt.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Jt)},Tt.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Jt=new J.default;this.current.parent.append(Jt),this.current=Jt,this.position++},Tt.prototype.comment=function(){var Jt=new Xe.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(Jt),this.position++},Tt.prototype.error=function(Jt){throw new this.input.error(Jt)},Tt.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Tt.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Tt.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Tt.prototype.namespace=function(){var Jt=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Jt);if(this.nextToken[0]==="*")return this.position++,this.universal(Jt)},Tt.prototype.nesting=function(){this.newNode(new Mr.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},Tt.prototype.parentheses=function(){var Jt=this.current.last;if(Jt&&Jt.type===_r.PSEUDO){var nr=new J.default,Gr=this.current;Jt.append(nr),this.current=nr;var St=1;for(this.position++;this.position<this.tokens.length&&St;)this.currToken[0]==="("&&St++,this.currToken[0]===")"&&St--,St?this.parse():(nr.parent.source.end.line=this.currToken[2],nr.parent.source.end.column=this.currToken[3],this.position++);St&&this.error("Expected closing parenthesis."),this.current=Gr}else{var An=1;for(this.position++,Jt.value+="(";this.position<this.tokens.length&&An;)this.currToken[0]==="("&&An++,this.currToken[0]===")"&&An--,Jt.value+=this.parseParenthesisToken(this.currToken),this.position++;An&&this.error("Expected closing parenthesis.")}},Tt.prototype.pseudo=function(){for(var Jt=this,nr="",Gr=this.currToken;this.currToken&&this.currToken[0]===":";)nr+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var St=void 0;this.splitWord(!1,function(An,fn){nr+=An,St=new un.default({value:nr,source:{start:{line:Gr[2],column:Gr[3]},end:{line:Jt.currToken[4],column:Jt.currToken[5]}},sourceIndex:Gr[4]}),Jt.newNode(St),fn>1&&Jt.nextToken&&Jt.nextToken[0]==="("&&Jt.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Tt.prototype.space=function(){var Jt=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Jt[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Jt[1]),this.position++):this.combinator()},Tt.prototype.string=function(){var Jt=this.currToken;this.newNode(new Tr.default({value:this.currToken[1],source:{start:{line:Jt[2],column:Jt[3]},end:{line:Jt[4],column:Jt[5]}},sourceIndex:Jt[6]})),this.position++},Tt.prototype.universal=function(Jt){var nr=this.nextToken;if(nr&&nr[1]==="|")return this.position++,this.namespace();this.newNode(new Pn.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),Jt),this.position++},Tt.prototype.splitWord=function(Jt,nr){for(var Gr=this,St=this.nextToken,An=this.currToken[1];St&&St[0]==="word";){this.position++;var fn=this.currToken[1];if(An+=fn,fn.lastIndexOf("\\")===fn.length-1){var to=this.nextToken;to&&to[0]==="space"&&(An+=this.parseSpace(to[1]," "),this.position++)}St=this.nextToken}var zi=(0,ce.default)(An,"."),Xs=(0,ce.default)(An,"#"),ia=(0,ce.default)(An,"#{");ia.length&&(Xs=Xs.filter(function(Ms){return!~ia.indexOf(Ms)}));var ao=(0,Fs.default)((0,se.default)((0,oe.default)([[0],zi,Xs])));ao.forEach(function(Ms,No){var Ps=ao[No+1]||An.length,Vs=An.slice(Ms,Ps);if(No===0&&nr)return nr.call(Gr,Vs,ao.length);var so=void 0;~zi.indexOf(Ms)?so=new we.default({value:Vs.slice(1),source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Ms},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(Ps-1)}},sourceIndex:Gr.currToken[6]+ao[No]}):~Xs.indexOf(Ms)?so=new Ae.default({value:Vs.slice(1),source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Ms},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(Ps-1)}},sourceIndex:Gr.currToken[6]+ao[No]}):so=new yt.default({value:Vs,source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Ms},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(Ps-1)}},sourceIndex:Gr.currToken[6]+ao[No]}),Gr.newNode(so,Jt)}),this.position++},Tt.prototype.word=function(Jt){var nr=this.nextToken;return nr&&nr[1]==="|"?(this.position++,this.namespace()):this.splitWord(Jt)},Tt.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Tt.prototype.parse=function(Jt){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Jt&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},Tt.prototype.parseNamespace=function(Jt){if(this.lossy&&typeof Jt=="string"){var nr=Jt.trim();return nr.length?nr:!0}return Jt},Tt.prototype.parseSpace=function(Jt,nr){return this.lossy?nr||"":Jt},Tt.prototype.parseValue=function(Jt){return this.lossy&&Jt&&typeof Jt=="string"?Jt.trim():Jt},Tt.prototype.parseParenthesisToken=function(Jt){return this.lossy?Jt[0]==="space"?this.parseSpace(Jt[1]," "):this.parseValue(Jt[1]):Jt[1]},Tt.prototype.newNode=function(Jt,nr){return nr&&(Jt.namespace=this.parseNamespace(nr)),this.spaces&&(Jt.spaces.before=this.spaces,this.spaces=""),this.current.append(Jt)},Y(Tt,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Tt}();w.default=hi,ee.exports=w.default}}),Xu=Rt({"node_modules/postcss-selector-parser/dist/processor.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function se(fe,P){for(var C=0;C<P.length;C++){var J=P[C];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(fe,J.key,J)}}return function(fe,P,C){return P&&se(fe.prototype,P),C&&se(fe,C),fe}}(),G=as(),oe=pe(G);function pe(se){return se&&se.__esModule?se:{default:se}}function ce(se,fe){if(!(se instanceof fe))throw new TypeError("Cannot call a class as a function")}var de=function(){function se(fe){return ce(this,se),this.func=fe||function(){},this}return se.prototype.process=function(fe){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=new oe.default({css:fe,error:function(J){throw new Error(J)},options:P});return this.res=C,this.func(C),this},Y(se,[{key:"result",get:function(){return String(this.res)}}]),se}();w.default=de,ee.exports=w.default}}),uf=Rt({"node_modules/postcss-selector-parser/dist/index.js"(w,ee){qt(),w.__esModule=!0;var Y=Xu(),G=hr(Y),oe=ta(),pe=hr(oe),ce=Za(),de=hr(ce),se=tp(),fe=hr(se),P=uu(),C=hr(P),J=lu(),V=hr(J),we=ch(),De=hr(we),Xe=Is(),ve=hr(Xe),Ae=ls(),ht=hr(Ae),yt=Zi(),Ft=hr(yt),Tr=ba(),Yr=hr(Tr),un=jo(),Vn=hr(un),wn=Ia(),Rn=hr(wn),Pn=yi(),Un=Br(Pn);function Br(pr){if(pr&&pr.__esModule)return pr;var Fs={};if(pr!=null)for(var ts in pr)Object.prototype.hasOwnProperty.call(pr,ts)&&(Fs[ts]=pr[ts]);return Fs.default=pr,Fs}function hr(pr){return pr&&pr.__esModule?pr:{default:pr}}var Mr=function(pr){return new G.default(pr)};Mr.attribute=function(pr){return new pe.default(pr)},Mr.className=function(pr){return new de.default(pr)},Mr.combinator=function(pr){return new fe.default(pr)},Mr.comment=function(pr){return new C.default(pr)},Mr.id=function(pr){return new V.default(pr)},Mr.nesting=function(pr){return new De.default(pr)},Mr.pseudo=function(pr){return new ve.default(pr)},Mr.root=function(pr){return new ht.default(pr)},Mr.selector=function(pr){return new Ft.default(pr)},Mr.string=function(pr){return new Yr.default(pr)},Mr.tag=function(pr){return new Vn.default(pr)},Mr.universal=function(pr){return new Rn.default(pr)},Object.keys(Un).forEach(function(pr){pr!=="__esModule"&&(Mr[pr]=Un[pr])}),w.default=Mr,ee.exports=w.default}}),np=Rt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0});function ee(Y){this.after=Y.after,this.before=Y.before,this.type=Y.type,this.value=Y.value,this.sourceIndex=Y.sourceIndex}w.default=ee}}),ip=Rt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0});var ee=np(),Y=G(ee);function G(pe){return pe&&pe.__esModule?pe:{default:pe}}function oe(pe){var ce=this;this.constructor(pe),this.nodes=pe.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(de){de.parent=ce})}oe.prototype=Object.create(Y.default.prototype),oe.constructor=Y.default,oe.prototype.walk=function(pe,ce){for(var de=typeof pe=="string"||pe instanceof RegExp,se=de?ce:pe,fe=typeof pe=="string"?new RegExp(pe):pe,P=0;P<this.nodes.length;P++){var C=this.nodes[P],J=de?fe.test(C.type):!0;if(J&&se&&se(C,P,this.nodes)===!1||C.nodes&&C.walk(pe,ce)===!1)return!1}return!0},oe.prototype.each=function(){for(var pe=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],ce=0;ce<this.nodes.length;ce++){var de=this.nodes[ce];if(pe(de,ce,this.nodes)===!1)return!1}return!0},w.default=oe}}),Vu=Rt({"node_modules/postcss-media-query-parser/dist/parsers.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.parseMediaFeature=ce,w.parseMediaQuery=de,w.parseMediaList=se;var ee=np(),Y=pe(ee),G=ip(),oe=pe(G);function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function ce(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[{mode:"normal",character:null}],J=[],V=0,we="",De=null,Xe=null,ve=P,Ae=fe;fe[0]==="("&&fe[fe.length-1]===")"&&(Ae=fe.substring(1,fe.length-1),ve++);for(var ht=0;ht<Ae.length;ht++){var yt=Ae[ht];if((yt==="'"||yt==='"')&&(C[V].isCalculationEnabled===!0?(C.push({mode:"string",isCalculationEnabled:!1,character:yt}),V++):C[V].mode==="string"&&C[V].character===yt&&Ae[ht-1]!=="\\"&&(C.pop(),V--)),yt==="{"?(C.push({mode:"interpolation",isCalculationEnabled:!0}),V++):yt==="}"&&(C.pop(),V--),C[V].mode==="normal"&&yt===":"){var Ft=Ae.substring(ht+1);Xe={type:"value",before:/^(\s*)/.exec(Ft)[1],after:/(\s*)$/.exec(Ft)[1],value:Ft.trim()},Xe.sourceIndex=Xe.before.length+ht+1+ve,De={type:"colon",sourceIndex:ht+ve,after:Xe.before,value:":"};break}we+=yt}return we={type:"media-feature",before:/^(\s*)/.exec(we)[1],after:/(\s*)$/.exec(we)[1],value:we.trim()},we.sourceIndex=we.before.length+ve,J.push(we),De!==null&&(De.before=we.after,J.push(De)),Xe!==null&&J.push(Xe),J}function de(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[],J=0,V=!1,we=void 0;function De(){return{before:"",after:"",value:""}}we=De();for(var Xe=0;Xe<fe.length;Xe++){var ve=fe[Xe];V?(we.value+=ve,(ve==="{"||ve==="(")&&J++,(ve===")"||ve==="}")&&J--):ve.search(/\s/)!==-1?we.before+=ve:(ve==="("&&(we.type="media-feature-expression",J++),we.value=ve,we.sourceIndex=P+Xe,V=!0),V&&J===0&&(ve===")"||Xe===fe.length-1||fe[Xe+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(we.value)!==-1&&(we.type="keyword"),we.type==="media-feature-expression"&&(we.nodes=ce(we.value,we.sourceIndex)),C.push(Array.isArray(we.nodes)?new oe.default(we):new Y.default(we)),we=De(),V=!1)}for(var Ae=0;Ae<C.length;Ae++)if(we=C[Ae],Ae>0&&(C[Ae-1].after=we.before),we.type===void 0){if(Ae>0){if(C[Ae-1].type==="media-feature-expression"){we.type="keyword";continue}if(C[Ae-1].value==="not"||C[Ae-1].value==="only"){we.type="media-type";continue}if(C[Ae-1].value==="and"){we.type="media-feature-expression";continue}C[Ae-1].type==="media-type"&&(C[Ae+1]?we.type=C[Ae+1].type==="media-feature-expression"?"keyword":"media-feature-expression":we.type="media-feature-expression")}if(Ae===0){if(!C[Ae+1]){we.type="media-type";continue}if(C[Ae+1]&&(C[Ae+1].type==="media-feature-expression"||C[Ae+1].type==="keyword")){we.type="media-type";continue}if(C[Ae+2]){if(C[Ae+2].type==="media-feature-expression"){we.type="media-type",C[Ae+1].type="keyword";continue}if(C[Ae+2].type==="keyword"){we.type="keyword",C[Ae+1].type="media-type";continue}}if(C[Ae+3]&&C[Ae+3].type==="media-feature-expression"){we.type="keyword",C[Ae+1].type="media-type",C[Ae+2].type="keyword";continue}}}return C}function se(fe){var P=[],C=0,J=0,V=/^(\s*)url\s*\(/.exec(fe);if(V!==null){for(var we=V[0].length,De=1;De>0;){var Xe=fe[we];Xe==="("&&De++,Xe===")"&&De--,we++}P.unshift(new Y.default({type:"url",value:fe.substring(0,we).trim(),sourceIndex:V[1].length,before:V[1],after:/^(\s*)/.exec(fe.substring(we))[1]})),C=we}for(var ve=C;ve<fe.length;ve++){var Ae=fe[ve];if(Ae==="("&&J++,Ae===")"&&J--,J===0&&Ae===","){var ht=fe.substring(C,ve),yt=/^(\s*)/.exec(ht)[1];P.push(new oe.default({type:"media-query",value:ht.trim(),sourceIndex:C+yt.length,nodes:de(ht,C),before:yt,after:/(\s*)$/.exec(ht)[1]})),C=ve+1}}var Ft=fe.substring(C),Tr=/^(\s*)/.exec(Ft)[1];return P.push(new oe.default({type:"media-query",value:Ft.trim(),sourceIndex:C+Tr.length,nodes:de(Ft,C),before:Tr,after:/(\s*)$/.exec(Ft)[1]})),P}}}),Uu=Rt({"node_modules/postcss-media-query-parser/dist/index.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.default=pe;var ee=ip(),Y=oe(ee),G=Vu();function oe(ce){return ce&&ce.__esModule?ce:{default:ce}}function pe(ce){return new Y.default({nodes:(0,G.parseMediaList)(ce),type:"media-query-list",value:ce.trim()})}}}),va={};En(va,{basename:()=>Wu,default:()=>hu,delimiter:()=>yc,dirname:()=>Ga,extname:()=>ra,isAbsolute:()=>Nl,join:()=>Ma,normalize:()=>cu,relative:()=>zu,resolve:()=>qu,sep:()=>Zu});function Bl(w,ee){for(var Y=0,G=w.length-1;G>=0;G--){var oe=w[G];oe==="."?w.splice(G,1):oe===".."?(w.splice(G,1),Y++):Y&&(w.splice(G,1),Y--)}if(ee)for(;Y--;Y)w.unshift("..");return w}function qu(){for(var w="",ee=!1,Y=arguments.length-1;Y>=-1&&!ee;Y--){var G=Y>=0?arguments[Y]:"/";if(typeof G!="string")throw new TypeError("Arguments to path.resolve must be strings");G&&(w=G+"/"+w,ee=G.charAt(0)==="/")}return w=Bl(Ca(w.split("/"),function(oe){return!!oe}),!ee).join("/"),(ee?"/":"")+w||"."}function cu(w){var ee=Nl(w),Y=pu(w,-1)==="/";return w=Bl(Ca(w.split("/"),function(G){return!!G}),!ee).join("/"),!w&&!ee&&(w="."),w&&Y&&(w+="/"),(ee?"/":"")+w}function Nl(w){return w.charAt(0)==="/"}function Ma(){var w=Array.prototype.slice.call(arguments,0);return cu(Ca(w,function(ee,Y){if(typeof ee!="string")throw new TypeError("Arguments to path.join must be strings");return ee}).join("/"))}function zu(w,ee){w=qu(w).substr(1),ee=qu(ee).substr(1);function Y(fe){for(var P=0;P<fe.length&&fe[P]==="";P++);for(var C=fe.length-1;C>=0&&fe[C]==="";C--);return P>C?[]:fe.slice(P,C-P+1)}for(var G=Y(w.split("/")),oe=Y(ee.split("/")),pe=Math.min(G.length,oe.length),ce=pe,de=0;de<pe;de++)if(G[de]!==oe[de]){ce=de;break}for(var se=[],de=ce;de<G.length;de++)se.push("..");return se=se.concat(oe.slice(ce)),se.join("/")}function Ga(w){var ee=ca(w),Y=ee[0],G=ee[1];return!Y&&!G?".":(G&&(G=G.substr(0,G.length-1)),Y+G)}function Wu(w,ee){var Y=ca(w)[2];return ee&&Y.substr(-1*ee.length)===ee&&(Y=Y.substr(0,Y.length-ee.length)),Y}function ra(w){return ca(w)[3]}function Ca(w,ee){if(w.filter)return w.filter(ee);for(var Y=[],G=0;G<w.length;G++)ee(w[G],G,w)&&Y.push(w[G]);return Y}var gc,ca,Zu,yc,hu,pu,Il=Kr({"node-modules-polyfills:path"(){qt(),gc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ca=function(w){return gc.exec(w).slice(1)},Zu="/",yc=":",hu={extname:ra,basename:Wu,dirname:Ga,sep:Zu,delimiter:yc,relative:zu,join:Ma,isAbsolute:Nl,normalize:cu,resolve:qu},pu="ab".substr(-1)==="b"?function(w,ee,Y){return w.substr(ee,Y)}:function(w,ee,Y){return ee<0&&(ee=w.length+ee),w.substr(ee,Y)}}}),Ml=Rt({"node-modules-polyfills-commonjs:path"(w,ee){qt();var Y=(Il(),Hn(va));if(Y&&Y.default){ee.exports=Y.default;for(let G in Y)ee.exports[G]=Y[G]}else Y&&(ee.exports=Y)}}),Dc=Rt({"node_modules/picocolors/picocolors.browser.js"(w,ee){qt();var Y=String,G=function(){return{isColorSupported:!1,reset:Y,bold:Y,dim:Y,italic:Y,underline:Y,inverse:Y,hidden:Y,strikethrough:Y,black:Y,red:Y,green:Y,yellow:Y,blue:Y,magenta:Y,cyan:Y,white:Y,gray:Y,bgBlack:Y,bgRed:Y,bgGreen:Y,bgYellow:Y,bgBlue:Y,bgMagenta:Y,bgCyan:Y,bgWhite:Y}};ee.exports=G(),ee.exports.createColors=G}}),Rl=Rt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){qt()}}),Ql=Rt({"node_modules/postcss/lib/css-syntax-error.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(Dc()),G=oe(Rl());function oe(De){return De&&De.__esModule?De:{default:De}}function pe(De){if(De===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return De}function ce(De,Xe){De.prototype=Object.create(Xe.prototype),De.prototype.constructor=De,De.__proto__=Xe}function de(De){var Xe=typeof Map=="function"?new Map:void 0;return de=function(ve){if(ve===null||!P(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Xe<"u"){if(Xe.has(ve))return Xe.get(ve);Xe.set(ve,Ae)}function Ae(){return se(ve,arguments,J(this).constructor)}return Ae.prototype=Object.create(ve.prototype,{constructor:{value:Ae,enumerable:!1,writable:!0,configurable:!0}}),C(Ae,ve)},de(De)}function se(De,Xe,ve){return fe()?se=Reflect.construct:se=function(Ae,ht,yt){var Ft=[null];Ft.push.apply(Ft,ht);var Tr=Function.bind.apply(Ae,Ft),Yr=new Tr;return yt&&C(Yr,yt.prototype),Yr},se.apply(null,arguments)}function fe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function P(De){return Function.toString.call(De).indexOf("[native code]")!==-1}function C(De,Xe){return C=Object.setPrototypeOf||function(ve,Ae){return ve.__proto__=Ae,ve},C(De,Xe)}function J(De){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(Xe){return Xe.__proto__||Object.getPrototypeOf(Xe)},J(De)}var V=function(De){ce(Xe,De);function Xe(Ae,ht,yt,Ft,Tr,Yr){var un;return un=De.call(this,Ae)||this,un.name="CssSyntaxError",un.reason=Ae,Tr&&(un.file=Tr),Ft&&(un.source=Ft),Yr&&(un.plugin=Yr),typeof ht<"u"&&typeof yt<"u"&&(un.line=ht,un.column=yt),un.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(pe(un),Xe),un}var ve=Xe.prototype;return ve.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},ve.showSourceCode=function(Ae){var ht=this;if(!this.source)return"";var yt=this.source;G.default&&(typeof Ae>"u"&&(Ae=Y.default.isColorSupported),Ae&&(yt=(0,G.default)(yt)));var Ft=yt.split(/\r?\n/),Tr=Math.max(this.line-3,0),Yr=Math.min(this.line+2,Ft.length),un=String(Yr).length;function Vn(Rn){return Ae&&Y.default.red?Y.default.red(Y.default.bold(Rn)):Rn}function wn(Rn){return Ae&&Y.default.gray?Y.default.gray(Rn):Rn}return Ft.slice(Tr,Yr).map(function(Rn,Pn){var Un=Tr+1+Pn,Br=" "+(" "+Un).slice(-un)+" | ";if(Un===ht.line){var hr=wn(Br.replace(/\d/g," "))+Rn.slice(0,ht.column-1).replace(/[^\t]/g," ");return Vn(">")+wn(Br)+Rn+`
`+hr+Vn("^")}return" "+wn(Br)+Rn}).join(`
`)},ve.toString=function(){var Ae=this.showSourceCode();return Ae&&(Ae=`
`+Ae+`
`),this.name+": "+this.message+Ae},Xe}(de(Error)),we=V;w.default=we,ee.exports=w.default}}),sp=Rt({"node_modules/postcss/lib/previous-map.js"(w,ee){qt(),ee.exports=class{}}}),Ra=Rt({"node_modules/postcss/lib/input.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(Ml()),G=pe(Ql()),oe=pe(sp());function pe(C){return C&&C.__esModule?C:{default:C}}function ce(C,J){for(var V=0;V<J.length;V++){var we=J[V];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(C,we.key,we)}}function de(C,J,V){return J&&ce(C.prototype,J),V&&ce(C,V),C}var se=0,fe=function(){function C(V,we){if(we===void 0&&(we={}),V===null||typeof V>"u"||typeof V=="object"&&!V.toString)throw new Error("PostCSS received "+V+" instead of CSS string");this.css=V.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,we.from&&(/^\w+:\/\//.test(we.from)||Y.default.isAbsolute(we.from)?this.file=we.from:this.file=Y.default.resolve(we.from));var De=new oe.default(this.css,we);if(De.text){this.map=De;var Xe=De.consumer().file;!this.file&&Xe&&(this.file=this.mapResolve(Xe))}this.file||(se+=1,this.id="<input css "+se+">"),this.map&&(this.map.file=this.from)}var J=C.prototype;return J.error=function(V,we,De,Xe){Xe===void 0&&(Xe={});var ve,Ae=this.origin(we,De);return Ae?ve=new G.default(V,Ae.line,Ae.column,Ae.source,Ae.file,Xe.plugin):ve=new G.default(V,we,De,this.css,this.file,Xe.plugin),ve.input={line:we,column:De,source:this.css},this.file&&(ve.input.file=this.file),ve},J.origin=function(V,we){if(!this.map)return!1;var De=this.map.consumer(),Xe=De.originalPositionFor({line:V,column:we});if(!Xe.source)return!1;var ve={file:this.mapResolve(Xe.source),line:Xe.line,column:Xe.column},Ae=De.sourceContentFor(Xe.source);return Ae&&(ve.source=Ae),ve},J.mapResolve=function(V){return/^\w+:\/\//.test(V)?V:Y.default.resolve(this.map.consumer().sourceRoot||".",V)},de(C,[{key:"from",get:function(){return this.file||this.id}}]),C}(),P=fe;w.default=P,ee.exports=w.default}}),Oc=Rt({"node_modules/postcss/lib/stringifier.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function G(ce){return ce[0].toUpperCase()+ce.slice(1)}var oe=function(){function ce(se){this.builder=se}var de=ce.prototype;return de.stringify=function(se,fe){this[se.type](se,fe)},de.root=function(se){this.body(se),se.raws.after&&this.builder(se.raws.after)},de.comment=function(se){var fe=this.raw(se,"left","commentLeft"),P=this.raw(se,"right","commentRight");this.builder("/*"+fe+se.text+P+"*/",se)},de.decl=function(se,fe){var P=this.raw(se,"between","colon"),C=se.prop+P+this.rawValue(se,"value");se.important&&(C+=se.raws.important||" !important"),fe&&(C+=";"),this.builder(C,se)},de.rule=function(se){this.block(se,this.rawValue(se,"selector")),se.raws.ownSemicolon&&this.builder(se.raws.ownSemicolon,se,"end")},de.atrule=function(se,fe){var P="@"+se.name,C=se.params?this.rawValue(se,"params"):"";if(typeof se.raws.afterName<"u"?P+=se.raws.afterName:C&&(P+=" "),se.nodes)this.block(se,P+C);else{var J=(se.raws.between||"")+(fe?";":"");this.builder(P+C+J,se)}},de.body=function(se){for(var fe=se.nodes.length-1;fe>0&&se.nodes[fe].type==="comment";)fe-=1;for(var P=this.raw(se,"semicolon"),C=0;C<se.nodes.length;C++){var J=se.nodes[C],V=this.raw(J,"before");V&&this.builder(V),this.stringify(J,fe!==C||P)}},de.block=function(se,fe){var P=this.raw(se,"between","beforeOpen");this.builder(fe+P+"{",se,"start");var C;se.nodes&&se.nodes.length?(this.body(se),C=this.raw(se,"after")):C=this.raw(se,"after","emptyBody"),C&&this.builder(C),this.builder("}",se,"end")},de.raw=function(se,fe,P){var C;if(P||(P=fe),fe&&(C=se.raws[fe],typeof C<"u"))return C;var J=se.parent;if(P==="before"&&(!J||J.type==="root"&&J.first===se))return"";if(!J)return Y[P];var V=se.root();if(V.rawCache||(V.rawCache={}),typeof V.rawCache[P]<"u")return V.rawCache[P];if(P==="before"||P==="after")return this.beforeAfter(se,P);var we="raw"+G(P);return this[we]?C=this[we](V,se):V.walk(function(De){if(C=De.raws[fe],typeof C<"u")return!1}),typeof C>"u"&&(C=Y[P]),V.rawCache[P]=C,C},de.rawSemicolon=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length&&P.last.type==="decl"&&(fe=P.raws.semicolon,typeof fe<"u"))return!1}),fe},de.rawEmptyBody=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length===0&&(fe=P.raws.after,typeof fe<"u"))return!1}),fe},de.rawIndent=function(se){if(se.raws.indent)return se.raws.indent;var fe;return se.walk(function(P){var C=P.parent;if(C&&C!==se&&C.parent&&C.parent===se&&typeof P.raws.before<"u"){var J=P.raws.before.split(`
`);return fe=J[J.length-1],fe=fe.replace(/[^\s]/g,""),!1}}),fe},de.rawBeforeComment=function(se,fe){var P;return se.walkComments(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeDecl"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeDecl=function(se,fe){var P;return se.walkDecls(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeRule"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeRule=function(se){var fe;return se.walk(function(P){if(P.nodes&&(P.parent!==se||se.first!==P)&&typeof P.raws.before<"u")return fe=P.raws.before,fe.indexOf(`
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeClose=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length>0&&typeof P.raws.after<"u")return fe=P.raws.after,fe.indexOf(`
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeOpen=function(se){var fe;return se.walk(function(P){if(P.type!=="decl"&&(fe=P.raws.between,typeof fe<"u"))return!1}),fe},de.rawColon=function(se){var fe;return se.walkDecls(function(P){if(typeof P.raws.between<"u")return fe=P.raws.between.replace(/[^\s:]/g,""),!1}),fe},de.beforeAfter=function(se,fe){var P;se.type==="decl"?P=this.raw(se,null,"beforeDecl"):se.type==="comment"?P=this.raw(se,null,"beforeComment"):fe==="before"?P=this.raw(se,null,"beforeRule"):P=this.raw(se,null,"beforeClose");for(var C=se.parent,J=0;C&&C.type!=="root";)J+=1,C=C.parent;if(P.indexOf(`
`)!==-1){var V=this.raw(se,null,"indent");if(V.length)for(var we=0;we<J;we++)P+=V}return P},de.rawValue=function(se,fe){var P=se[fe],C=se.raws[fe];return C&&C.value===P?C.raw:P},ce}(),pe=oe;w.default=pe,ee.exports=w.default}}),Yu=Rt({"node_modules/postcss/lib/stringify.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(Oc());function G(ce){return ce&&ce.__esModule?ce:{default:ce}}function oe(ce,de){var se=new Y.default(de);se.stringify(ce)}var pe=oe;w.default=pe,ee.exports=w.default}}),xc=Rt({"node_modules/postcss/lib/node.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(Ql()),G=pe(Oc()),oe=pe(Yu());function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function ce(fe,P){var C=new fe.constructor;for(var J in fe)if(fe.hasOwnProperty(J)){var V=fe[J],we=typeof V;J==="parent"&&we==="object"?P&&(C[J]=P):J==="source"?C[J]=V:V instanceof Array?C[J]=V.map(function(De){return ce(De,C)}):(we==="object"&&V!==null&&(V=ce(V)),C[J]=V)}return C}var de=function(){function fe(C){C===void 0&&(C={}),this.raws={};for(var J in C)this[J]=C[J]}var P=fe.prototype;return P.error=function(C,J){if(J===void 0&&(J={}),this.source){var V=this.positionBy(J);return this.source.input.error(C,V.line,V.column,J)}return new Y.default(C)},P.warn=function(C,J,V){var we={node:this};for(var De in V)we[De]=V[De];return C.warn(J,we)},P.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},P.toString=function(C){C===void 0&&(C=oe.default),C.stringify&&(C=C.stringify);var J="";return C(this,function(V){J+=V}),J},P.clone=function(C){C===void 0&&(C={});var J=ce(this);for(var V in C)J[V]=C[V];return J},P.cloneBefore=function(C){C===void 0&&(C={});var J=this.clone(C);return this.parent.insertBefore(this,J),J},P.cloneAfter=function(C){C===void 0&&(C={});var J=this.clone(C);return this.parent.insertAfter(this,J),J},P.replaceWith=function(){if(this.parent){for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];for(var we=0,De=J;we<De.length;we++){var Xe=De[we];this.parent.insertBefore(this,Xe)}this.remove()}return this},P.next=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C+1]}},P.prev=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C-1]}},P.before=function(C){return this.parent.insertBefore(this,C),this},P.after=function(C){return this.parent.insertAfter(this,C),this},P.toJSON=function(){var C={};for(var J in this)if(this.hasOwnProperty(J)&&J!=="parent"){var V=this[J];V instanceof Array?C[J]=V.map(function(we){return typeof we=="object"&&we.toJSON?we.toJSON():we}):typeof V=="object"&&V.toJSON?C[J]=V.toJSON():C[J]=V}return C},P.raw=function(C,J){var V=new G.default;return V.raw(this,C,J)},P.root=function(){for(var C=this;C.parent;)C=C.parent;return C},P.cleanRaws=function(C){delete this.raws.before,delete this.raws.after,C||delete this.raws.between},P.positionInside=function(C){for(var J=this.toString(),V=this.source.start.column,we=this.source.start.line,De=0;De<C;De++)J[De]===`
`?(V=1,we+=1):V+=1;return{line:we,column:V}},P.positionBy=function(C){var J=this.source.start;if(C.index)J=this.positionInside(C.index);else if(C.word){var V=this.toString().indexOf(C.word);V!==-1&&(J=this.positionInside(V))}return J},fe}(),se=de;w.default=se,ee.exports=w.default}}),jl=Rt({"node_modules/postcss/lib/comment.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(xc());function G(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(fe){var P;return P=de.call(this,fe)||this,P.type="comment",P}return se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),fu=Rt({"node_modules/postcss/lib/declaration.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(xc());function G(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(fe){var P;return P=de.call(this,fe)||this,P.type="decl",P}return se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),Ll=Rt({"node_modules/postcss/lib/tokenize.js"(w,ee){qt(),w.__esModule=!0,w.default=Vn;var Y="'".charCodeAt(0),G='"'.charCodeAt(0),oe="\\".charCodeAt(0),pe="/".charCodeAt(0),ce=`
`.charCodeAt(0),de=" ".charCodeAt(0),se="\f".charCodeAt(0),fe=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),J="]".charCodeAt(0),V="(".charCodeAt(0),we=")".charCodeAt(0),De="{".charCodeAt(0),Xe="}".charCodeAt(0),ve=";".charCodeAt(0),Ae="*".charCodeAt(0),ht=":".charCodeAt(0),yt="@".charCodeAt(0),Ft=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Tr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Yr=/.[\\/("'\n]/,un=/[a-f0-9]/i;function Vn(wn,Rn){Rn===void 0&&(Rn={});var Pn=wn.css.valueOf(),Un=Rn.ignoreErrors,Br,hr,Mr,pr,Fs,ts,cs,Yi,_r,Dn,ci,Kn,hi,Tt,Jt=Pn.length,nr=-1,Gr=1,St=0,An=[],fn=[];function to(){return St}function zi(Ms){throw wn.error("Unclosed "+Ms,Gr,St-nr)}function Xs(){return fn.length===0&&St>=Jt}function ia(Ms){if(fn.length)return fn.pop();if(!(St>=Jt)){var No=Ms?Ms.ignoreUnclosed:!1;switch(Br=Pn.charCodeAt(St),(Br===ce||Br===se||Br===P&&Pn.charCodeAt(St+1)!==ce)&&(nr=St,Gr+=1),Br){case ce:case de:case fe:case P:case se:hr=St;do hr+=1,Br=Pn.charCodeAt(hr),Br===ce&&(nr=hr,Gr+=1);while(Br===de||Br===ce||Br===fe||Br===P||Br===se);Tt=["space",Pn.slice(St,hr)],St=hr-1;break;case C:case J:case De:case Xe:case ht:case ve:case we:var Ps=String.fromCharCode(Br);Tt=[Ps,Ps,Gr,St-nr];break;case V:if(Kn=An.length?An.pop()[1]:"",hi=Pn.charCodeAt(St+1),Kn==="url"&&hi!==Y&&hi!==G&&hi!==de&&hi!==ce&&hi!==fe&&hi!==se&&hi!==P){hr=St;do{if(Dn=!1,hr=Pn.indexOf(")",hr+1),hr===-1)if(Un||No){hr=St;break}else zi("bracket");for(ci=hr;Pn.charCodeAt(ci-1)===oe;)ci-=1,Dn=!Dn}while(Dn);Tt=["brackets",Pn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr}else hr=Pn.indexOf(")",St+1),ts=Pn.slice(St,hr+1),hr===-1||Yr.test(ts)?Tt=["(","(",Gr,St-nr]:(Tt=["brackets",ts,Gr,St-nr,Gr,hr-nr],St=hr);break;case Y:case G:Mr=Br===Y?"'":'"',hr=St;do{if(Dn=!1,hr=Pn.indexOf(Mr,hr+1),hr===-1)if(Un||No){hr=St+1;break}else zi("string");for(ci=hr;Pn.charCodeAt(ci-1)===oe;)ci-=1,Dn=!Dn}while(Dn);ts=Pn.slice(St,hr+1),pr=ts.split(`
`),Fs=pr.length-1,Fs>0?(Yi=Gr+Fs,_r=hr-pr[Fs].length):(Yi=Gr,_r=nr),Tt=["string",Pn.slice(St,hr+1),Gr,St-nr,Yi,hr-_r],nr=_r,Gr=Yi,St=hr;break;case yt:Ft.lastIndex=St+1,Ft.test(Pn),Ft.lastIndex===0?hr=Pn.length-1:hr=Ft.lastIndex-2,Tt=["at-word",Pn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr;break;case oe:for(hr=St,cs=!0;Pn.charCodeAt(hr+1)===oe;)hr+=1,cs=!cs;if(Br=Pn.charCodeAt(hr+1),cs&&Br!==pe&&Br!==de&&Br!==ce&&Br!==fe&&Br!==P&&Br!==se&&(hr+=1,un.test(Pn.charAt(hr)))){for(;un.test(Pn.charAt(hr+1));)hr+=1;Pn.charCodeAt(hr+1)===de&&(hr+=1)}Tt=["word",Pn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr;break;default:Br===pe&&Pn.charCodeAt(St+1)===Ae?(hr=Pn.indexOf("*/",St+2)+1,hr===0&&(Un||No?hr=Pn.length:zi("comment")),ts=Pn.slice(St,hr+1),pr=ts.split(`
`),Fs=pr.length-1,Fs>0?(Yi=Gr+Fs,_r=hr-pr[Fs].length):(Yi=Gr,_r=nr),Tt=["comment",ts,Gr,St-nr,Yi,hr-_r],nr=_r,Gr=Yi,St=hr):(Tr.lastIndex=St+1,Tr.test(Pn),Tr.lastIndex===0?hr=Pn.length-1:hr=Tr.lastIndex-2,Tt=["word",Pn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],An.push(Tt),St=hr);break}return St++,Tt}}function ao(Ms){fn.push(Ms)}return{back:ao,nextToken:ia,endOfFile:Xs,position:to}}ee.exports=w.default}}),hh=Rt({"node_modules/postcss/lib/parse.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(Hu()),G=oe(Ra());function oe(de){return de&&de.__esModule?de:{default:de}}function pe(de,se){var fe=new G.default(de,se),P=new Y.default(fe);try{P.parse()}catch(C){throw C}return P.root}var ce=pe;w.default=ce,ee.exports=w.default}}),Sa=Rt({"node_modules/postcss/lib/list.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y={split:function(oe,pe,ce){for(var de=[],se="",fe=!1,P=0,C=!1,J=!1,V=0;V<oe.length;V++){var we=oe[V];C?J?J=!1:we==="\\"?J=!0:we===C&&(C=!1):we==='"'||we==="'"?C=we:we==="("?P+=1:we===")"?P>0&&(P-=1):P===0&&pe.indexOf(we)!==-1&&(fe=!0),fe?(se!==""&&de.push(se.trim()),se="",fe=!1):se+=we}return(ce||se!=="")&&de.push(se.trim()),de},space:function(oe){var pe=[" ",`
`," "];return Y.split(oe,pe)},comma:function(oe){return Y.split(oe,[","],!0)}},G=Y;w.default=G,ee.exports=w.default}}),op=Rt({"node_modules/postcss/lib/rule.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(bc()),G=oe(Sa());function oe(P){return P&&P.__esModule?P:{default:P}}function pe(P,C){for(var J=0;J<C.length;J++){var V=C[J];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}function ce(P,C,J){return C&&pe(P.prototype,C),J&&pe(P,J),P}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var se=function(P){de(C,P);function C(J){var V;return V=P.call(this,J)||this,V.type="rule",V.nodes||(V.nodes=[]),V}return ce(C,[{key:"selectors",get:function(){return G.default.comma(this.selector)},set:function(J){var V=this.selector?this.selector.match(/,\s*/):null,we=V?V[0]:","+this.raw("between","beforeOpen");this.selector=J.join(we)}}]),C}(Y.default),fe=se;w.default=fe,ee.exports=w.default}}),bc=Rt({"node_modules/postcss/lib/container.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(fu()),G=pe(jl()),oe=pe(xc());function pe(De){return De&&De.__esModule?De:{default:De}}function ce(De,Xe){var ve;if(typeof Symbol>"u"||De[Symbol.iterator]==null){if(Array.isArray(De)||(ve=de(De))||Xe&&De&&typeof De.length=="number"){ve&&(De=ve);var Ae=0;return function(){return Ae>=De.length?{done:!0}:{done:!1,value:De[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ve=De[Symbol.iterator](),ve.next.bind(ve)}function de(De,Xe){if(De){if(typeof De=="string")return se(De,Xe);var ve=Object.prototype.toString.call(De).slice(8,-1);if(ve==="Object"&&De.constructor&&(ve=De.constructor.name),ve==="Map"||ve==="Set")return Array.from(De);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return se(De,Xe)}}function se(De,Xe){(Xe==null||Xe>De.length)&&(Xe=De.length);for(var ve=0,Ae=new Array(Xe);ve<Xe;ve++)Ae[ve]=De[ve];return Ae}function fe(De,Xe){for(var ve=0;ve<Xe.length;ve++){var Ae=Xe[ve];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(De,Ae.key,Ae)}}function P(De,Xe,ve){return Xe&&fe(De.prototype,Xe),ve&&fe(De,ve),De}function C(De,Xe){De.prototype=Object.create(Xe.prototype),De.prototype.constructor=De,De.__proto__=Xe}function J(De){return De.map(function(Xe){return Xe.nodes&&(Xe.nodes=J(Xe.nodes)),delete Xe.source,Xe})}var V=function(De){C(Xe,De);function Xe(){return De.apply(this,arguments)||this}var ve=Xe.prototype;return ve.push=function(Ae){return Ae.parent=this,this.nodes.push(Ae),this},ve.each=function(Ae){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var ht=this.lastEach;if(this.indexes[ht]=0,!!this.nodes){for(var yt,Ft;this.indexes[ht]<this.nodes.length&&(yt=this.indexes[ht],Ft=Ae(this.nodes[yt],yt),Ft!==!1);)this.indexes[ht]+=1;return delete this.indexes[ht],Ft}},ve.walk=function(Ae){return this.each(function(ht,yt){var Ft;try{Ft=Ae(ht,yt)}catch(Yr){if(Yr.postcssNode=ht,Yr.stack&&ht.source&&/\n\s{4}at /.test(Yr.stack)){var Tr=ht.source;Yr.stack=Yr.stack.replace(/\n\s{4}at /,"$&"+Tr.input.from+":"+Tr.start.line+":"+Tr.start.column+"$&")}throw Yr}return Ft!==!1&&ht.walk&&(Ft=ht.walk(Ae)),Ft})},ve.walkDecls=function(Ae,ht){return ht?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="decl"&&Ae.test(yt.prop))return ht(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="decl"&&yt.prop===Ae)return ht(yt,Ft)}):(ht=Ae,this.walk(function(yt,Ft){if(yt.type==="decl")return ht(yt,Ft)}))},ve.walkRules=function(Ae,ht){return ht?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="rule"&&Ae.test(yt.selector))return ht(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="rule"&&yt.selector===Ae)return ht(yt,Ft)}):(ht=Ae,this.walk(function(yt,Ft){if(yt.type==="rule")return ht(yt,Ft)}))},ve.walkAtRules=function(Ae,ht){return ht?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="atrule"&&Ae.test(yt.name))return ht(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="atrule"&&yt.name===Ae)return ht(yt,Ft)}):(ht=Ae,this.walk(function(yt,Ft){if(yt.type==="atrule")return ht(yt,Ft)}))},ve.walkComments=function(Ae){return this.walk(function(ht,yt){if(ht.type==="comment")return Ae(ht,yt)})},ve.append=function(){for(var Ae=arguments.length,ht=new Array(Ae),yt=0;yt<Ae;yt++)ht[yt]=arguments[yt];for(var Ft=0,Tr=ht;Ft<Tr.length;Ft++)for(var Yr=Tr[Ft],un=this.normalize(Yr,this.last),Vn=ce(un),wn;!(wn=Vn()).done;){var Rn=wn.value;this.nodes.push(Rn)}return this},ve.prepend=function(){for(var Ae=arguments.length,ht=new Array(Ae),yt=0;yt<Ae;yt++)ht[yt]=arguments[yt];ht=ht.reverse();for(var Ft=ce(ht),Tr;!(Tr=Ft()).done;){for(var Yr=Tr.value,un=this.normalize(Yr,this.first,"prepend").reverse(),Vn=ce(un),wn;!(wn=Vn()).done;){var Rn=wn.value;this.nodes.unshift(Rn)}for(var Pn in this.indexes)this.indexes[Pn]=this.indexes[Pn]+un.length}return this},ve.cleanRaws=function(Ae){if(De.prototype.cleanRaws.call(this,Ae),this.nodes)for(var ht=ce(this.nodes),yt;!(yt=ht()).done;){var Ft=yt.value;Ft.cleanRaws(Ae)}},ve.insertBefore=function(Ae,ht){Ae=this.index(Ae);for(var yt=Ae===0?"prepend":!1,Ft=this.normalize(ht,this.nodes[Ae],yt).reverse(),Tr=ce(Ft),Yr;!(Yr=Tr()).done;){var un=Yr.value;this.nodes.splice(Ae,0,un)}var Vn;for(var wn in this.indexes)Vn=this.indexes[wn],Ae<=Vn&&(this.indexes[wn]=Vn+Ft.length);return this},ve.insertAfter=function(Ae,ht){Ae=this.index(Ae);for(var yt=this.normalize(ht,this.nodes[Ae]).reverse(),Ft=ce(yt),Tr;!(Tr=Ft()).done;){var Yr=Tr.value;this.nodes.splice(Ae+1,0,Yr)}var un;for(var Vn in this.indexes)un=this.indexes[Vn],Ae<un&&(this.indexes[Vn]=un+yt.length);return this},ve.removeChild=function(Ae){Ae=this.index(Ae),this.nodes[Ae].parent=void 0,this.nodes.splice(Ae,1);var ht;for(var yt in this.indexes)ht=this.indexes[yt],ht>=Ae&&(this.indexes[yt]=ht-1);return this},ve.removeAll=function(){for(var Ae=ce(this.nodes),ht;!(ht=Ae()).done;){var yt=ht.value;yt.parent=void 0}return this.nodes=[],this},ve.replaceValues=function(Ae,ht,yt){return yt||(yt=ht,ht={}),this.walkDecls(function(Ft){ht.props&&ht.props.indexOf(Ft.prop)===-1||ht.fast&&Ft.value.indexOf(ht.fast)===-1||(Ft.value=Ft.value.replace(Ae,yt))}),this},ve.every=function(Ae){return this.nodes.every(Ae)},ve.some=function(Ae){return this.nodes.some(Ae)},ve.index=function(Ae){return typeof Ae=="number"?Ae:this.nodes.indexOf(Ae)},ve.normalize=function(Ae,ht){var yt=this;if(typeof Ae=="string"){var Ft=hh();Ae=J(Ft(Ae).nodes)}else if(Array.isArray(Ae)){Ae=Ae.slice(0);for(var Tr=ce(Ae),Yr;!(Yr=Tr()).done;){var un=Yr.value;un.parent&&un.parent.removeChild(un,"ignore")}}else if(Ae.type==="root"){Ae=Ae.nodes.slice(0);for(var Vn=ce(Ae),wn;!(wn=Vn()).done;){var Rn=wn.value;Rn.parent&&Rn.parent.removeChild(Rn,"ignore")}}else if(Ae.type)Ae=[Ae];else if(Ae.prop){if(typeof Ae.value>"u")throw new Error("Value field is missed in node creation");typeof Ae.value!="string"&&(Ae.value=String(Ae.value)),Ae=[new Y.default(Ae)]}else if(Ae.selector){var Pn=op();Ae=[new Pn(Ae)]}else if(Ae.name){var Un=Bo();Ae=[new Un(Ae)]}else if(Ae.text)Ae=[new G.default(Ae)];else throw new Error("Unknown node type in node creation");var Br=Ae.map(function(hr){return hr.parent&&hr.parent.removeChild(hr),typeof hr.raws.before>"u"&&ht&&typeof ht.raws.before<"u"&&(hr.raws.before=ht.raws.before.replace(/[^\s]/g,"")),hr.parent=yt,hr});return Br},P(Xe,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),Xe}(oe.default),we=V;w.default=we,ee.exports=w.default}}),Bo=Rt({"node_modules/postcss/lib/at-rule.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(bc());function G(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(P){var C;return C=de.call(this,P)||this,C.type="atrule",C}var fe=se.prototype;return fe.append=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];return(P=de.prototype.append).call.apply(P,[this].concat(J))},fe.prepend=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];return(P=de.prototype.prepend).call.apply(P,[this].concat(J))},se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),Gu=Rt({"node_modules/postcss/lib/map-generator.js"(w,ee){qt(),ee.exports=class{generate(){}}}}),ap=Rt({"node_modules/postcss/lib/warn-once.js"(w,ee){qt(),w.__esModule=!0,w.default=G;var Y={};function G(oe){Y[oe]||(Y[oe]=!0,typeof console<"u"&&console.warn&&console.warn(oe))}ee.exports=w.default}}),Xl=Rt({"node_modules/postcss/lib/warning.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=function(){function oe(ce,de){if(de===void 0&&(de={}),this.type="warning",this.text=ce,de.node&&de.node.source){var se=de.node.positionBy(de);this.line=se.line,this.column=se.column}for(var fe in de)this[fe]=de[fe]}var pe=oe.prototype;return pe.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},oe}(),G=Y;w.default=G,ee.exports=w.default}}),ph=Rt({"node_modules/postcss/lib/result.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(Xl());function G(se){return se&&se.__esModule?se:{default:se}}function oe(se,fe){for(var P=0;P<fe.length;P++){var C=fe[P];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(se,C.key,C)}}function pe(se,fe,P){return fe&&oe(se.prototype,fe),P&&oe(se,P),se}var ce=function(){function se(P,C,J){this.processor=P,this.messages=[],this.root=C,this.opts=J,this.css=void 0,this.map=void 0}var fe=se.prototype;return fe.toString=function(){return this.css},fe.warn=function(P,C){C===void 0&&(C={}),C.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(C.plugin=this.lastPlugin.postcssPlugin);var J=new Y.default(P,C);return this.messages.push(J),J},fe.warnings=function(){return this.messages.filter(function(P){return P.type==="warning"})},pe(se,[{key:"content",get:function(){return this.css}}]),se}(),de=ce;w.default=de,ee.exports=w.default}}),Vl=Rt({"node_modules/postcss/lib/lazy-result.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=ce(Gu()),G=ce(Yu());ce(ap());var oe=ce(ph()),pe=ce(hh());function ce(De){return De&&De.__esModule?De:{default:De}}function de(De,Xe){var ve;if(typeof Symbol>"u"||De[Symbol.iterator]==null){if(Array.isArray(De)||(ve=se(De))||Xe&&De&&typeof De.length=="number"){ve&&(De=ve);var Ae=0;return function(){return Ae>=De.length?{done:!0}:{done:!1,value:De[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ve=De[Symbol.iterator](),ve.next.bind(ve)}function se(De,Xe){if(De){if(typeof De=="string")return fe(De,Xe);var ve=Object.prototype.toString.call(De).slice(8,-1);if(ve==="Object"&&De.constructor&&(ve=De.constructor.name),ve==="Map"||ve==="Set")return Array.from(De);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return fe(De,Xe)}}function fe(De,Xe){(Xe==null||Xe>De.length)&&(Xe=De.length);for(var ve=0,Ae=new Array(Xe);ve<Xe;ve++)Ae[ve]=De[ve];return Ae}function P(De,Xe){for(var ve=0;ve<Xe.length;ve++){var Ae=Xe[ve];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(De,Ae.key,Ae)}}function C(De,Xe,ve){return Xe&&P(De.prototype,Xe),ve&&P(De,ve),De}function J(De){return typeof De=="object"&&typeof De.then=="function"}var V=function(){function De(ve,Ae,ht){this.stringified=!1,this.processed=!1;var yt;if(typeof Ae=="object"&&Ae!==null&&Ae.type==="root")yt=Ae;else if(Ae instanceof De||Ae instanceof oe.default)yt=Ae.root,Ae.map&&(typeof ht.map>"u"&&(ht.map={}),ht.map.inline||(ht.map.inline=!1),ht.map.prev=Ae.map);else{var Ft=pe.default;ht.syntax&&(Ft=ht.syntax.parse),ht.parser&&(Ft=ht.parser),Ft.parse&&(Ft=Ft.parse);try{yt=Ft(Ae,ht)}catch(Tr){this.error=Tr}}this.result=new oe.default(ve,yt,ht)}var Xe=De.prototype;return Xe.warnings=function(){return this.sync().warnings()},Xe.toString=function(){return this.css},Xe.then=function(ve,Ae){return this.async().then(ve,Ae)},Xe.catch=function(ve){return this.async().catch(ve)},Xe.finally=function(ve){return this.async().then(ve,ve)},Xe.handleError=function(ve,Ae){try{if(this.error=ve,ve.name==="CssSyntaxError"&&!ve.plugin)ve.plugin=Ae.postcssPlugin,ve.setMessage();else if(Ae.postcssVersion&&!1)var ht,yt,Ft,Tr,Yr}catch(un){console&&console.error&&console.error(un)}},Xe.asyncTick=function(ve,Ae){var ht=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ve();try{var yt=this.processor.plugins[this.plugin],Ft=this.run(yt);this.plugin+=1,J(Ft)?Ft.then(function(){ht.asyncTick(ve,Ae)}).catch(function(Tr){ht.handleError(Tr,yt),ht.processed=!0,Ae(Tr)}):this.asyncTick(ve,Ae)}catch(Tr){this.processed=!0,Ae(Tr)}},Xe.async=function(){var ve=this;return this.processed?new Promise(function(Ae,ht){ve.error?ht(ve.error):Ae(ve.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ae,ht){if(ve.error)return ht(ve.error);ve.plugin=0,ve.asyncTick(Ae,ht)}).then(function(){return ve.processed=!0,ve.stringify()}),this.processing)},Xe.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var ve=de(this.result.processor.plugins),Ae;!(Ae=ve()).done;){var ht=Ae.value,yt=this.run(ht);if(J(yt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Xe.run=function(ve){this.result.lastPlugin=ve;try{return ve(this.result.root,this.result)}catch(Ae){throw this.handleError(Ae,ve),Ae}},Xe.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ve=this.result.opts,Ae=G.default;ve.syntax&&(Ae=ve.syntax.stringify),ve.stringifier&&(Ae=ve.stringifier),Ae.stringify&&(Ae=Ae.stringify);var ht=new Y.default(Ae,this.result.root,this.result.opts),yt=ht.generate();return this.result.css=yt[0],this.result.map=yt[1],this.result},C(De,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),De}(),we=V;w.default=we,ee.exports=w.default}}),du=Rt({"node_modules/postcss/lib/processor.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(Vl());function G(fe){return fe&&fe.__esModule?fe:{default:fe}}function oe(fe,P){var C;if(typeof Symbol>"u"||fe[Symbol.iterator]==null){if(Array.isArray(fe)||(C=pe(fe))||P&&fe&&typeof fe.length=="number"){C&&(fe=C);var J=0;return function(){return J>=fe.length?{done:!0}:{done:!1,value:fe[J++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return C=fe[Symbol.iterator](),C.next.bind(C)}function pe(fe,P){if(fe){if(typeof fe=="string")return ce(fe,P);var C=Object.prototype.toString.call(fe).slice(8,-1);if(C==="Object"&&fe.constructor&&(C=fe.constructor.name),C==="Map"||C==="Set")return Array.from(fe);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return ce(fe,P)}}function ce(fe,P){(P==null||P>fe.length)&&(P=fe.length);for(var C=0,J=new Array(P);C<P;C++)J[C]=fe[C];return J}var de=function(){function fe(C){C===void 0&&(C=[]),this.version="7.0.39",this.plugins=this.normalize(C)}var P=fe.prototype;return P.use=function(C){return this.plugins=this.plugins.concat(this.normalize([C])),this},P.process=function(C){function J(V){return C.apply(this,arguments)}return J.toString=function(){return C.toString()},J}(function(C,J){return J===void 0&&(J={}),this.plugins.length===0&&(J.parser,J.stringifier),new Y.default(this,C,J)}),P.normalize=function(C){for(var J=[],V=oe(C),we;!(we=V()).done;){var De=we.value;if(De.postcss===!0){var Xe=De();throw new Error("PostCSS plugin "+Xe.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(De.postcss&&(De=De.postcss),typeof De=="object"&&Array.isArray(De.plugins))J=J.concat(De.plugins);else if(typeof De=="function")J.push(De);else if(!(typeof De=="object"&&(De.parse||De.stringify)))throw typeof De=="object"&&De.postcssPlugin?new Error("PostCSS plugin "+De.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(De+" is not a PostCSS plugin")}return J},fe}(),se=de;w.default=se,ee.exports=w.default}}),vc=Rt({"node_modules/postcss/lib/root.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=G(bc());function G(P){return P&&P.__esModule?P:{default:P}}function oe(P,C){var J;if(typeof Symbol>"u"||P[Symbol.iterator]==null){if(Array.isArray(P)||(J=pe(P))||C&&P&&typeof P.length=="number"){J&&(P=J);var V=0;return function(){return V>=P.length?{done:!0}:{done:!1,value:P[V++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return J=P[Symbol.iterator](),J.next.bind(J)}function pe(P,C){if(P){if(typeof P=="string")return ce(P,C);var J=Object.prototype.toString.call(P).slice(8,-1);if(J==="Object"&&P.constructor&&(J=P.constructor.name),J==="Map"||J==="Set")return Array.from(P);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return ce(P,C)}}function ce(P,C){(C==null||C>P.length)&&(C=P.length);for(var J=0,V=new Array(C);J<C;J++)V[J]=P[J];return V}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var se=function(P){de(C,P);function C(V){var we;return we=P.call(this,V)||this,we.type="root",we.nodes||(we.nodes=[]),we}var J=C.prototype;return J.removeChild=function(V,we){var De=this.index(V);return!we&&De===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[De].raws.before),P.prototype.removeChild.call(this,V)},J.normalize=function(V,we,De){var Xe=P.prototype.normalize.call(this,V);if(we){if(De==="prepend")this.nodes.length>1?we.raws.before=this.nodes[1].raws.before:delete we.raws.before;else if(this.first!==we)for(var ve=oe(Xe),Ae;!(Ae=ve()).done;){var ht=Ae.value;ht.raws.before=we.raws.before}}return Xe},J.toResult=function(V){V===void 0&&(V={});var we=Vl(),De=du(),Xe=new we(new De,this,V);return Xe.stringify()},C}(Y.default),fe=se;w.default=fe,ee.exports=w.default}}),Hu=Rt({"node_modules/postcss/lib/parser.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=se(fu()),G=se(Ll()),oe=se(jl()),pe=se(Bo()),ce=se(vc()),de=se(op());function se(P){return P&&P.__esModule?P:{default:P}}var fe=function(){function P(J){this.input=J,this.root=new ce.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:J,start:{line:1,column:1}}}var C=P.prototype;return C.createTokenizer=function(){this.tokenizer=(0,G.default)(this.input)},C.parse=function(){for(var J;!this.tokenizer.endOfFile();)switch(J=this.tokenizer.nextToken(),J[0]){case"space":this.spaces+=J[1];break;case";":this.freeSemicolon(J);break;case"}":this.end(J);break;case"comment":this.comment(J);break;case"at-word":this.atrule(J);break;case"{":this.emptyRule(J);break;default:this.other(J);break}this.endFile()},C.comment=function(J){var V=new oe.default;this.init(V,J[2],J[3]),V.source.end={line:J[4],column:J[5]};var we=J[1].slice(2,-2);if(/^\s*$/.test(we))V.text="",V.raws.left=we,V.raws.right="";else{var De=we.match(/^(\s*)([^]*[^\s])(\s*)$/);V.text=De[2],V.raws.left=De[1],V.raws.right=De[3]}},C.emptyRule=function(J){var V=new de.default;this.init(V,J[2],J[3]),V.selector="",V.raws.between="",this.current=V},C.other=function(J){for(var V=!1,we=null,De=!1,Xe=null,ve=[],Ae=[],ht=J;ht;){if(we=ht[0],Ae.push(ht),we==="("||we==="[")Xe||(Xe=ht),ve.push(we==="("?")":"]");else if(ve.length===0)if(we===";")if(De){this.decl(Ae);return}else break;else if(we==="{"){this.rule(Ae);return}else if(we==="}"){this.tokenizer.back(Ae.pop()),V=!0;break}else we===":"&&(De=!0);else we===ve[ve.length-1]&&(ve.pop(),ve.length===0&&(Xe=null));ht=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(V=!0),ve.length>0&&this.unclosedBracket(Xe),V&&De){for(;Ae.length&&(ht=Ae[Ae.length-1][0],!(ht!=="space"&&ht!=="comment"));)this.tokenizer.back(Ae.pop());this.decl(Ae)}else this.unknownWord(Ae)},C.rule=function(J){J.pop();var V=new de.default;this.init(V,J[0][2],J[0][3]),V.raws.between=this.spacesAndCommentsFromEnd(J),this.raw(V,"selector",J),this.current=V},C.decl=function(J){var V=new Y.default;this.init(V);var we=J[J.length-1];for(we[0]===";"&&(this.semicolon=!0,J.pop()),we[4]?V.source.end={line:we[4],column:we[5]}:V.source.end={line:we[2],column:we[3]};J[0][0]!=="word";)J.length===1&&this.unknownWord(J),V.raws.before+=J.shift()[1];for(V.source.start={line:J[0][2],column:J[0][3]},V.prop="";J.length;){var De=J[0][0];if(De===":"||De==="space"||De==="comment")break;V.prop+=J.shift()[1]}V.raws.between="";for(var Xe;J.length;)if(Xe=J.shift(),Xe[0]===":"){V.raws.between+=Xe[1];break}else Xe[0]==="word"&&/\w/.test(Xe[1])&&this.unknownWord([Xe]),V.raws.between+=Xe[1];(V.prop[0]==="_"||V.prop[0]==="*")&&(V.raws.before+=V.prop[0],V.prop=V.prop.slice(1)),V.raws.between+=this.spacesAndCommentsFromStart(J),this.precheckMissedSemicolon(J);for(var ve=J.length-1;ve>0;ve--){if(Xe=J[ve],Xe[1].toLowerCase()==="!important"){V.important=!0;var Ae=this.stringFrom(J,ve);Ae=this.spacesFromEnd(J)+Ae,Ae!==" !important"&&(V.raws.important=Ae);break}else if(Xe[1].toLowerCase()==="important"){for(var ht=J.slice(0),yt="",Ft=ve;Ft>0;Ft--){var Tr=ht[Ft][0];if(yt.trim().indexOf("!")===0&&Tr!=="space")break;yt=ht.pop()[1]+yt}yt.trim().indexOf("!")===0&&(V.important=!0,V.raws.important=yt,J=ht)}if(Xe[0]!=="space"&&Xe[0]!=="comment")break}this.raw(V,"value",J),V.value.indexOf(":")!==-1&&this.checkMissedSemicolon(J)},C.atrule=function(J){var V=new pe.default;V.name=J[1].slice(1),V.name===""&&this.unnamedAtrule(V,J),this.init(V,J[2],J[3]);for(var we,De,Xe=!1,ve=!1,Ae=[];!this.tokenizer.endOfFile();){if(J=this.tokenizer.nextToken(),J[0]===";"){V.source.end={line:J[2],column:J[3]},this.semicolon=!0;break}else if(J[0]==="{"){ve=!0;break}else if(J[0]==="}"){if(Ae.length>0){for(De=Ae.length-1,we=Ae[De];we&&we[0]==="space";)we=Ae[--De];we&&(V.source.end={line:we[4],column:we[5]})}this.end(J);break}else Ae.push(J);if(this.tokenizer.endOfFile()){Xe=!0;break}}V.raws.between=this.spacesAndCommentsFromEnd(Ae),Ae.length?(V.raws.afterName=this.spacesAndCommentsFromStart(Ae),this.raw(V,"params",Ae),Xe&&(J=Ae[Ae.length-1],V.source.end={line:J[4],column:J[5]},this.spaces=V.raws.between,V.raws.between="")):(V.raws.afterName="",V.params=""),ve&&(V.nodes=[],this.current=V)},C.end=function(J){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:J[2],column:J[3]},this.current=this.current.parent):this.unexpectedClose(J)},C.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},C.freeSemicolon=function(J){if(this.spaces+=J[1],this.current.nodes){var V=this.current.nodes[this.current.nodes.length-1];V&&V.type==="rule"&&!V.raws.ownSemicolon&&(V.raws.ownSemicolon=this.spaces,this.spaces="")}},C.init=function(J,V,we){this.current.push(J),J.source={start:{line:V,column:we},input:this.input},J.raws.before=this.spaces,this.spaces="",J.type!=="comment"&&(this.semicolon=!1)},C.raw=function(J,V,we){for(var De,Xe,ve=we.length,Ae="",ht=!0,yt,Ft,Tr=/^([.|#])?([\w])+/i,Yr=0;Yr<ve;Yr+=1){if(De=we[Yr],Xe=De[0],Xe==="comment"&&J.type==="rule"){Ft=we[Yr-1],yt=we[Yr+1],Ft[0]!=="space"&&yt[0]!=="space"&&Tr.test(Ft[1])&&Tr.test(yt[1])?Ae+=De[1]:ht=!1;continue}Xe==="comment"||Xe==="space"&&Yr===ve-1?ht=!1:Ae+=De[1]}if(!ht){var un=we.reduce(function(Vn,wn){return Vn+wn[1]},"");J.raws[V]={value:Ae,raw:un}}J[V]=Ae},C.spacesAndCommentsFromEnd=function(J){for(var V,we="";J.length&&(V=J[J.length-1][0],!(V!=="space"&&V!=="comment"));)we=J.pop()[1]+we;return we},C.spacesAndCommentsFromStart=function(J){for(var V,we="";J.length&&(V=J[0][0],!(V!=="space"&&V!=="comment"));)we+=J.shift()[1];return we},C.spacesFromEnd=function(J){for(var V,we="";J.length&&(V=J[J.length-1][0],V==="space");)we=J.pop()[1]+we;return we},C.stringFrom=function(J,V){for(var we="",De=V;De<J.length;De++)we+=J[De][1];return J.splice(V,J.length-V),we},C.colon=function(J){for(var V=0,we,De,Xe,ve=0;ve<J.length;ve++){if(we=J[ve],De=we[0],De==="("&&(V+=1),De===")"&&(V-=1),V===0&&De===":")if(!Xe)this.doubleColon(we);else{if(Xe[0]==="word"&&Xe[1]==="progid")continue;return ve}Xe=we}return!1},C.unclosedBracket=function(J){throw this.input.error("Unclosed bracket",J[2],J[3])},C.unknownWord=function(J){throw this.input.error("Unknown word",J[0][2],J[0][3])},C.unexpectedClose=function(J){throw this.input.error("Unexpected }",J[2],J[3])},C.unclosedBlock=function(){var J=this.current.source.start;throw this.input.error("Unclosed block",J.line,J.column)},C.doubleColon=function(J){throw this.input.error("Double colon",J[2],J[3])},C.unnamedAtrule=function(J,V){throw this.input.error("At-rule without name",V[2],V[3])},C.precheckMissedSemicolon=function(){},C.checkMissedSemicolon=function(J){var V=this.colon(J);if(V!==!1){for(var we=0,De,Xe=V-1;Xe>=0&&(De=J[Xe],!(De[0]!=="space"&&(we+=1,we===2)));Xe--);throw this.input.error("Missed semicolon",De[2],De[3])}},P}();w.default=fe,ee.exports=w.default}}),Cc=Rt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(w,ee){qt();var Y=Ll(),G=Ra();ee.exports={isInlineComment(oe){if(oe[0]==="word"&&oe[1].slice(0,2)==="//"){let pe=oe,ce=[],de;for(;oe;){if(/\r?\n/.test(oe[1])){if(/['"].*\r?\n/.test(oe[1])){ce.push(oe[1].substring(0,oe[1].indexOf(`
`)));let fe=oe[1].substring(oe[1].indexOf(`
`));fe+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new G(fe),this.tokenizer=Y(this.input)}else this.tokenizer.back(oe);break}ce.push(oe[1]),de=oe,oe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let se=["comment",ce.join(""),pe[2],pe[3],de[2],de[3]];return this.inlineComment(se),!0}else if(oe[1]==="/"){let pe=this.tokenizer.nextToken({ignoreUnclosed:!0});if(pe[0]==="comment"&&/^\/\*/.test(pe[1]))return pe[0]="word",pe[1]=pe[1].slice(1),oe[1]="//",this.tokenizer.back(pe),ee.exports.isInlineComment.bind(this)(oe)}return!1}}}}),Ul=Rt({"node_modules/postcss-less/lib/nodes/interpolation.js"(w,ee){qt(),ee.exports={interpolation(Y){let G=Y,oe=[Y],pe=["word","{","}"];if(Y=this.tokenizer.nextToken(),G[1].length>1||Y[0]!=="{")return this.tokenizer.back(Y),!1;for(;Y&&pe.includes(Y[0]);)oe.push(Y),Y=this.tokenizer.nextToken();let ce=oe.map(C=>C[1]);[G]=oe;let de=oe.pop(),se=[G[2],G[3]],fe=[de[4]||de[2],de[5]||de[3]],P=["word",ce.join("")].concat(se,fe);return this.tokenizer.back(Y),this.tokenizer.back(P),!0}}}}),Ju=Rt({"node_modules/postcss-less/lib/nodes/mixin.js"(w,ee){qt();var Y=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,G=/\.[0-9]/,oe=pe=>{let[,ce]=pe,[de]=ce;return(de==="."||de==="#")&&Y.test(ce)===!1&&G.test(ce)===!1};ee.exports={isMixinToken:oe}}}),ql=Rt({"node_modules/postcss-less/lib/nodes/import.js"(w,ee){qt();var Y=Ll(),G=/^url\((.+)\)/;ee.exports=oe=>{let{name:pe,params:ce=""}=oe;if(pe==="import"&&ce.length){oe.import=!0;let de=Y({css:ce});for(oe.filename=ce.replace(G,"$1");!de.endOfFile();){let[se,fe]=de.nextToken();if(se==="word"&&fe==="url")return;if(se==="brackets"){oe.options=fe,oe.filename=ce.replace(fe,"").trim();break}}}}}}),mu=Rt({"node_modules/postcss-less/lib/nodes/variable.js"(w,ee){qt();var Y=/:$/,G=/^:(\s+)?/;ee.exports=oe=>{let{name:pe,params:ce=""}=oe;if(oe.name.slice(-1)===":"){if(Y.test(pe)){let[de]=pe.match(Y);oe.name=pe.replace(de,""),oe.raws.afterName=de+(oe.raws.afterName||""),oe.variable=!0,oe.value=oe.params}if(G.test(ce)){let[de]=ce.match(G);oe.value=ce.replace(de,""),oe.raws.afterName=(oe.raws.afterName||"")+de,oe.variable=!0}}}}}),up=Rt({"node_modules/postcss-less/lib/LessParser.js"(w,ee){qt();var Y=jl(),G=Hu(),{isInlineComment:oe}=Cc(),{interpolation:pe}=Ul(),{isMixinToken:ce}=Ju(),de=ql(),se=mu(),fe=/(!\s*important)$/i;ee.exports=class extends G{constructor(){super(...arguments),this.lastNode=null}atrule(P){pe.bind(this)(P)||(super.atrule(P),de(this.lastNode),se(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(P){P[0][1]=` ${P[0][1]}`;let C=P.findIndex(De=>De[0]==="("),J=P.reverse().find(De=>De[0]===")"),V=P.reverse().indexOf(J),we=P.splice(C,V).map(De=>De[1]).join("");for(let De of P.reverse())this.tokenizer.back(De);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=we}init(P,C,J){super.init(P,C,J),this.lastNode=P}inlineComment(P){let C=new Y,J=P[1].slice(2);if(this.init(C,P[2],P[3]),C.source.end={line:P[4],column:P[5]},C.inline=!0,C.raws.begin="//",/^\s*$/.test(J))C.text="",C.raws.left=J,C.raws.right="";else{let V=J.match(/^(\s*)([^]*[^\s])(\s*)$/);[,C.raws.left,C.text,C.raws.right]=V}}mixin(P){let[C]=P,J=C[1].slice(0,1),V=P.findIndex(Ae=>Ae[0]==="brackets"),we=P.findIndex(Ae=>Ae[0]==="("),De="";if((V<0||V>3)&&we>0){let Ae=P.reduce((Rn,Pn,Un)=>Pn[0]===")"?Un:Rn),ht=P.slice(we,Ae+we).map(Rn=>Rn[1]).join(""),[yt]=P.slice(we),Ft=[yt[2],yt[3]],[Tr]=P.slice(Ae,Ae+1),Yr=[Tr[2],Tr[3]],un=["brackets",ht].concat(Ft,Yr),Vn=P.slice(0,we),wn=P.slice(Ae+1);P=Vn,P.push(un),P=P.concat(wn)}let Xe=[];for(let Ae of P)if((Ae[1]==="!"||Xe.length)&&Xe.push(Ae),Ae[1]==="important")break;if(Xe.length){let[Ae]=Xe,ht=P.indexOf(Ae),yt=Xe[Xe.length-1],Ft=[Ae[2],Ae[3]],Tr=[yt[4],yt[5]],Yr=["word",Xe.map(un=>un[1]).join("")].concat(Ft,Tr);P.splice(ht,Xe.length,Yr)}let ve=P.findIndex(Ae=>fe.test(Ae[1]));ve>0&&([,De]=P[ve],P.splice(ve,1));for(let Ae of P.reverse())this.tokenizer.back(Ae);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=J,De&&(this.lastNode.important=!0,this.lastNode.raws.important=De)}other(P){oe.bind(this)(P)||super.other(P)}rule(P){let C=P[P.length-1],J=P[P.length-2];if(J[0]==="at-word"&&C[0]==="{"&&(this.tokenizer.back(C),pe.bind(this)(J))){let V=this.tokenizer.nextToken();P=P.slice(0,P.length-2).concat([V]);for(let we of P.reverse())this.tokenizer.back(we);return}super.rule(P),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(P){let[C]=P;if(P[0][1]==="each"&&P[1][0]==="("){this.each(P);return}if(ce(C)){this.mixin(P);return}super.unknownWord(P)}}}}),lp=Rt({"node_modules/postcss-less/lib/LessStringifier.js"(w,ee){qt();var Y=Oc();ee.exports=class extends Y{atrule(G,oe){if(!G.mixin&&!G.variable&&!G.function){super.atrule(G,oe);return}let pe=`${G.function?"":G.raws.identifier||"@"}${G.name}`,ce=G.params?this.rawValue(G,"params"):"",de=G.raws.important||"";if(G.variable&&(ce=G.value),typeof G.raws.afterName<"u"?pe+=G.raws.afterName:ce&&(pe+=" "),G.nodes)this.block(G,pe+ce+de);else{let se=(G.raws.between||"")+de+(oe?";":"");this.builder(pe+ce+se,G)}}comment(G){if(G.inline){let oe=this.raw(G,"left","commentLeft"),pe=this.raw(G,"right","commentRight");this.builder(`//${oe}${G.text}${pe}`,G)}else super.comment(G)}}}}),fh=Rt({"node_modules/postcss-less/lib/index.js"(w,ee){qt();var Y=Ra(),G=up(),oe=lp();ee.exports={parse(pe,ce){let de=new Y(pe,ce),se=new G(de);return se.parse(),se.root},stringify(pe,ce){new oe(ce).stringify(pe)},nodeToString(pe){let ce="";return ee.exports.stringify(pe,de=>{ce+=de}),ce}}}}),cp=Rt({"node_modules/postcss-scss/lib/scss-stringifier.js"(w,ee){qt();function Y(pe,ce){pe.prototype=Object.create(ce.prototype),pe.prototype.constructor=pe,pe.__proto__=ce}var G=Oc(),oe=function(pe){Y(ce,pe);function ce(){return pe.apply(this,arguments)||this}var de=ce.prototype;return de.comment=function(se){var fe=this.raw(se,"left","commentLeft"),P=this.raw(se,"right","commentRight");if(se.raws.inline){var C=se.raws.text||se.text;this.builder("//"+fe+C+P,se)}else this.builder("/*"+fe+se.text+P+"*/",se)},de.decl=function(se,fe){if(!se.isNested)pe.prototype.decl.call(this,se,fe);else{var P=this.raw(se,"between","colon"),C=se.prop+P+this.rawValue(se,"value");se.important&&(C+=se.raws.important||" !important"),this.builder(C+"{",se,"start");var J;se.nodes&&se.nodes.length?(this.body(se),J=this.raw(se,"after")):J=this.raw(se,"after","emptyBody"),J&&this.builder(J),this.builder("}",se,"end")}},de.rawValue=function(se,fe){var P=se[fe],C=se.raws[fe];return C&&C.value===P?C.scss?C.scss:C.raw:P},ce}(G);ee.exports=oe}}),lf=Rt({"node_modules/postcss-scss/lib/scss-stringify.js"(w,ee){qt();var Y=cp();ee.exports=function(G,oe){var pe=new Y(oe);pe.stringify(G)}}}),Ku=Rt({"node_modules/postcss-scss/lib/nested-declaration.js"(w,ee){qt();function Y(pe,ce){pe.prototype=Object.create(ce.prototype),pe.prototype.constructor=pe,pe.__proto__=ce}var G=bc(),oe=function(pe){Y(ce,pe);function ce(de){var se;return se=pe.call(this,de)||this,se.type="decl",se.isNested=!0,se.nodes||(se.nodes=[]),se}return ce}(G);ee.exports=oe}}),el=Rt({"node_modules/postcss-scss/lib/scss-tokenize.js"(w,ee){qt();var Y="'".charCodeAt(0),G='"'.charCodeAt(0),oe="\\".charCodeAt(0),pe="/".charCodeAt(0),ce=`
`.charCodeAt(0),de=" ".charCodeAt(0),se="\f".charCodeAt(0),fe=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),J="]".charCodeAt(0),V="(".charCodeAt(0),we=")".charCodeAt(0),De="{".charCodeAt(0),Xe="}".charCodeAt(0),ve=";".charCodeAt(0),Ae="*".charCodeAt(0),ht=":".charCodeAt(0),yt="@".charCodeAt(0),Ft=",".charCodeAt(0),Tr="#".charCodeAt(0),Yr=/[ \n\t\r\f{}()'"\\;/[\]#]/g,un=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Vn=/.[\\/("'\n]/,wn=/[a-f0-9]/i,Rn=/[\r\f\n]/g;ee.exports=function(Pn,Un){Un===void 0&&(Un={});var Br=Pn.css.valueOf(),hr=Un.ignoreErrors,Mr,pr,Fs,ts,cs,Yi,_r,Dn,ci,Kn,hi,Tt,Jt,nr,Gr=Br.length,St=-1,An=1,fn=0,to=[],zi=[];function Xs(Ps){throw Pn.error("Unclosed "+Ps,An,fn-St)}function ia(){return zi.length===0&&fn>=Gr}function ao(){for(var Ps=1,Vs=!1,so=!1;Ps>0;)pr+=1,Br.length<=pr&&Xs("interpolation"),Mr=Br.charCodeAt(pr),Tt=Br.charCodeAt(pr+1),Vs?!so&&Mr===Vs?(Vs=!1,so=!1):Mr===oe?so=!Kn:so&&(so=!1):Mr===Y||Mr===G?Vs=Mr:Mr===Xe?Ps-=1:Mr===Tr&&Tt===De&&(Ps+=1)}function Ms(){if(zi.length)return zi.pop();if(!(fn>=Gr)){switch(Mr=Br.charCodeAt(fn),(Mr===ce||Mr===se||Mr===P&&Br.charCodeAt(fn+1)!==ce)&&(St=fn,An+=1),Mr){case ce:case de:case fe:case P:case se:pr=fn;do pr+=1,Mr=Br.charCodeAt(pr),Mr===ce&&(St=pr,An+=1);while(Mr===de||Mr===ce||Mr===fe||Mr===P||Mr===se);Jt=["space",Br.slice(fn,pr)],fn=pr-1;break;case C:Jt=["[","[",An,fn-St];break;case J:Jt=["]","]",An,fn-St];break;case De:Jt=["{","{",An,fn-St];break;case Xe:Jt=["}","}",An,fn-St];break;case Ft:Jt=["word",",",An,fn-St,An,fn-St+1];break;case ht:Jt=[":",":",An,fn-St];break;case ve:Jt=[";",";",An,fn-St];break;case V:if(hi=to.length?to.pop()[1]:"",Tt=Br.charCodeAt(fn+1),hi==="url"&&Tt!==Y&&Tt!==G){for(nr=1,Kn=!1,pr=fn+1;pr<=Br.length-1;){if(Tt=Br.charCodeAt(pr),Tt===oe)Kn=!Kn;else if(Tt===V)nr+=1;else if(Tt===we&&(nr-=1,nr===0))break;pr+=1}Yi=Br.slice(fn,pr+1),ts=Yi.split(`
`),cs=ts.length-1,cs>0?(Dn=An+cs,ci=pr-ts[cs].length):(Dn=An,ci=St),Jt=["brackets",Yi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr}else pr=Br.indexOf(")",fn+1),Yi=Br.slice(fn,pr+1),pr===-1||Vn.test(Yi)?Jt=["(","(",An,fn-St]:(Jt=["brackets",Yi,An,fn-St,An,pr-St],fn=pr);break;case we:Jt=[")",")",An,fn-St];break;case Y:case G:for(Fs=Mr,pr=fn,Kn=!1;pr<Gr&&(pr++,pr===Gr&&Xs("string"),Mr=Br.charCodeAt(pr),Tt=Br.charCodeAt(pr+1),!(!Kn&&Mr===Fs));)Mr===oe?Kn=!Kn:Kn?Kn=!1:Mr===Tr&&Tt===De&&ao();Yi=Br.slice(fn,pr+1),ts=Yi.split(`
`),cs=ts.length-1,cs>0?(Dn=An+cs,ci=pr-ts[cs].length):(Dn=An,ci=St),Jt=["string",Br.slice(fn,pr+1),An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr;break;case yt:Yr.lastIndex=fn+1,Yr.test(Br),Yr.lastIndex===0?pr=Br.length-1:pr=Yr.lastIndex-2,Jt=["at-word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],fn=pr;break;case oe:for(pr=fn,_r=!0;Br.charCodeAt(pr+1)===oe;)pr+=1,_r=!_r;if(Mr=Br.charCodeAt(pr+1),_r&&Mr!==pe&&Mr!==de&&Mr!==ce&&Mr!==fe&&Mr!==P&&Mr!==se&&(pr+=1,wn.test(Br.charAt(pr)))){for(;wn.test(Br.charAt(pr+1));)pr+=1;Br.charCodeAt(pr+1)===de&&(pr+=1)}Jt=["word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],fn=pr;break;default:Tt=Br.charCodeAt(fn+1),Mr===Tr&&Tt===De?(pr=fn,ao(),Yi=Br.slice(fn,pr+1),ts=Yi.split(`
`),cs=ts.length-1,cs>0?(Dn=An+cs,ci=pr-ts[cs].length):(Dn=An,ci=St),Jt=["word",Yi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr):Mr===pe&&Tt===Ae?(pr=Br.indexOf("*/",fn+2)+1,pr===0&&(hr?pr=Br.length:Xs("comment")),Yi=Br.slice(fn,pr+1),ts=Yi.split(`
`),cs=ts.length-1,cs>0?(Dn=An+cs,ci=pr-ts[cs].length):(Dn=An,ci=St),Jt=["comment",Yi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr):Mr===pe&&Tt===pe?(Rn.lastIndex=fn+1,Rn.test(Br),Rn.lastIndex===0?pr=Br.length-1:pr=Rn.lastIndex-2,Yi=Br.slice(fn,pr+1),Jt=["comment",Yi,An,fn-St,An,pr-St,"inline"],fn=pr):(un.lastIndex=fn+1,un.test(Br),un.lastIndex===0?pr=Br.length-1:pr=un.lastIndex-2,Jt=["word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],to.push(Jt),fn=pr);break}return fn++,Jt}}function No(Ps){zi.push(Ps)}return{back:No,nextToken:Ms,endOfFile:ia}}}}),hp=Rt({"node_modules/postcss-scss/lib/scss-parser.js"(w,ee){qt();function Y(se,fe){se.prototype=Object.create(fe.prototype),se.prototype.constructor=se,se.__proto__=fe}var G=jl(),oe=Hu(),pe=Ku(),ce=el(),de=function(se){Y(fe,se);function fe(){return se.apply(this,arguments)||this}var P=fe.prototype;return P.createTokenizer=function(){this.tokenizer=ce(this.input)},P.rule=function(C){for(var J=!1,V=0,we="",ve=C,De=Array.isArray(ve),Xe=0,ve=De?ve:ve[Symbol.iterator]();;){var Ae;if(De){if(Xe>=ve.length)break;Ae=ve[Xe++]}else{if(Xe=ve.next(),Xe.done)break;Ae=Xe.value}var ht=Ae;if(J)ht[0]!=="comment"&&ht[0]!=="{"&&(we+=ht[1]);else{if(ht[0]==="space"&&ht[1].indexOf(`
`)!==-1)break;ht[0]==="("?V+=1:ht[0]===")"?V-=1:V===0&&ht[0]===":"&&(J=!0)}}if(!J||we.trim()===""||/^[a-zA-Z-:#]/.test(we))se.prototype.rule.call(this,C);else{C.pop();var yt=new pe;this.init(yt);var Ft=C[C.length-1];for(Ft[4]?yt.source.end={line:Ft[4],column:Ft[5]}:yt.source.end={line:Ft[2],column:Ft[3]};C[0][0]!=="word";)yt.raws.before+=C.shift()[1];for(yt.source.start={line:C[0][2],column:C[0][3]},yt.prop="";C.length;){var Tr=C[0][0];if(Tr===":"||Tr==="space"||Tr==="comment")break;yt.prop+=C.shift()[1]}yt.raws.between="";for(var Yr;C.length;)if(Yr=C.shift(),Yr[0]===":"){yt.raws.between+=Yr[1];break}else yt.raws.between+=Yr[1];(yt.prop[0]==="_"||yt.prop[0]==="*")&&(yt.raws.before+=yt.prop[0],yt.prop=yt.prop.slice(1)),yt.raws.between+=this.spacesAndCommentsFromStart(C),this.precheckMissedSemicolon(C);for(var un=C.length-1;un>0;un--){if(Yr=C[un],Yr[1]==="!important"){yt.important=!0;var Vn=this.stringFrom(C,un);Vn=this.spacesFromEnd(C)+Vn,Vn!==" !important"&&(yt.raws.important=Vn);break}else if(Yr[1]==="important"){for(var wn=C.slice(0),Rn="",Pn=un;Pn>0;Pn--){var Un=wn[Pn][0];if(Rn.trim().indexOf("!")===0&&Un!=="space")break;Rn=wn.pop()[1]+Rn}Rn.trim().indexOf("!")===0&&(yt.important=!0,yt.raws.important=Rn,C=wn)}if(Yr[0]!=="space"&&Yr[0]!=="comment")break}this.raw(yt,"value",C),yt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(C),this.current=yt}},P.comment=function(C){if(C[6]==="inline"){var J=new G;this.init(J,C[2],C[3]),J.raws.inline=!0,J.source.end={line:C[4],column:C[5]};var V=C[1].slice(2);if(/^\s*$/.test(V))J.text="",J.raws.left=V,J.raws.right="";else{var we=V.match(/^(\s*)([^]*[^\s])(\s*)$/),De=we[2].replace(/(\*\/|\/\*)/g,"*//*");J.text=De,J.raws.left=we[1],J.raws.right=we[3],J.raws.text=we[2]}}else se.prototype.comment.call(this,C)},P.raw=function(C,J,V){if(se.prototype.raw.call(this,C,J,V),C.raws[J]){var we=C.raws[J].raw;C.raws[J].raw=V.reduce(function(De,Xe){if(Xe[0]==="comment"&&Xe[6]==="inline"){var ve=Xe[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return De+"/*"+ve+"*/"}else return De+Xe[1]},""),we!==C.raws[J].raw&&(C.raws[J].scss=we)}},fe}(oe);ee.exports=de}}),dh=Rt({"node_modules/postcss-scss/lib/scss-parse.js"(w,ee){qt();var Y=Ra(),G=hp();ee.exports=function(oe,pe){var ce=new Y(oe,pe),de=new G(ce);return de.parse(),de.root}}}),Sc=Rt({"node_modules/postcss-scss/lib/scss-syntax.js"(w,ee){qt();var Y=lf(),G=dh();ee.exports={parse:G,stringify:Y}}});qt();var zl=ai(),Wl=mi(),cf=Dr(),{hasPragma:gu}=Oi(),{locStart:hf,locEnd:pp}=Es(),{calculateLoc:mh,replaceQuotesInInlineComments:fp}=Es(),Ec=Ho(),gh=vs(),yh=po(),dp=Cs(),Dh=Jo(),mp=oo(),wc=Js(),pf=_u(),gp=w=>{for(;w.parent;)w=w.parent;return w};function Zl(w,ee){let{nodes:Y}=w,G={open:null,close:null,groups:[],type:"paren_group"},oe=[G],pe=G,ce={groups:[],type:"comma_group"},de=[ce];for(let se=0;se<Y.length;++se){let fe=Y[se];if(dp(ee.parser,fe.value)&&fe.type==="number"&&fe.unit===".."&&Wl(fe.value)==="."&&(fe.value=fe.value.slice(0,-1),fe.unit="..."),fe.type==="func"&&fe.value==="selector"&&(fe.group.groups=[Du(gp(w).text.slice(fe.group.open.sourceIndex+1,fe.group.close.sourceIndex))]),fe.type==="func"&&fe.value==="url"){let P=fe.group&&fe.group.groups||[],C=[];for(let J=0;J<P.length;J++){let V=P[J];V.type==="comma_group"?C=[...C,...V.groups]:C.push(V)}if(Ec(C)||!gh(C)&&!mp(C[0])){let J=wc({groups:fe.group.groups});fe.group.groups=[J.trim()]}}if(fe.type==="paren"&&fe.value==="(")G={open:fe,close:null,groups:[],type:"paren_group"},oe.push(G),ce={groups:[],type:"comma_group"},de.push(ce);else if(fe.type==="paren"&&fe.value===")"){if(ce.groups.length>0&&G.groups.push(ce),G.close=fe,de.length===1)throw new Error("Unbalanced parenthesis");de.pop(),ce=Wl(de),ce.groups.push(G),oe.pop(),G=Wl(oe)}else fe.type==="comma"?(G.groups.push(ce),ce={groups:[],type:"comma_group"},de[de.length-1]=ce):ce.groups.push(fe)}return ce.groups.length>0&&G.groups.push(ce),pe}function Oh(w){return w.type==="paren_group"&&!w.open&&!w.close&&w.groups.length===1||w.type==="comma_group"&&w.groups.length===1?Oh(w.groups[0]):w.type==="paren_group"||w.type==="comma_group"?Object.assign(Object.assign({},w),{},{groups:w.groups.map(Oh)}):w}function na(w,ee,Y){if(w&&typeof w=="object"){delete w.parent;for(let G in w)na(w[G],ee,Y),G==="type"&&typeof w[G]=="string"&&!w[G].startsWith(ee)&&(!Y||!Y.test(w[G]))&&(w[G]=ee+w[G])}return w}function yp(w){if(w&&typeof w=="object"){delete w.parent;for(let ee in w)yp(w[ee]);!Array.isArray(w)&&w.value&&!w.type&&(w.type="unknown")}return w}function Dp(w,ee){if(w&&typeof w=="object"){for(let Y in w)Y!=="parent"&&(Dp(w[Y],ee),Y==="nodes"&&(w.group=Oh(Zl(w,ee)),delete w[Y]));delete w.parent}return w}function yu(w,ee){let Y=_n(),G=null;try{G=Y(w,{loose:!0}).parse()}catch{return{type:"value-unknown",value:w}}G.text=w;let oe=Dp(G,ee);return na(oe,"value-",/^selector-/)}function Du(w){if(/\/\/|\/\*/.test(w))return{type:"selector-unknown",value:w.trim()};let ee=uf(),Y=null;try{ee(G=>{Y=G}).process(w)}catch{return{type:"selector-unknown",value:w}}return na(Y,"selector-")}function Op(w){let ee=Uu().default,Y=null;try{Y=ee(w)}catch{return{type:"selector-unknown",value:w}}return na(yp(Y),"media-")}var xh=/(\s*)(!default).*$/,xp=/(\s*)(!global).*$/;function Yl(w,ee){if(w&&typeof w=="object"){delete w.parent;for(let se in w)Yl(w[se],ee);if(!w.type)return w;w.raws||(w.raws={});let pe="";if(typeof w.selector=="string"){var Y;pe=w.raws.selector?(Y=w.raws.selector.scss)!==null&&Y!==void 0?Y:w.raws.selector.raw:w.selector,w.raws.between&&w.raws.between.trim().length>0&&(pe+=w.raws.between),w.raws.selector=pe}let ce="";if(typeof w.value=="string"){var G;ce=w.raws.value?(G=w.raws.value.scss)!==null&&G!==void 0?G:w.raws.value.raw:w.value,ce=ce.trim(),w.raws.value=ce}let de="";if(typeof w.params=="string"){var oe;de=w.raws.params?(oe=w.raws.params.scss)!==null&&oe!==void 0?oe:w.raws.params.raw:w.params,w.raws.afterName&&w.raws.afterName.trim().length>0&&(de=w.raws.afterName+de),w.raws.between&&w.raws.between.trim().length>0&&(de=de+w.raws.between),de=de.trim(),w.raws.params=de}if(pe.trim().length>0)return pe.startsWith("@")&&pe.endsWith(":")?w:w.mixin?(w.selector=yu(pe,ee),w):(Dh(w)&&(w.isSCSSNesterProperty=!0),w.selector=Du(pe),w);if(ce.length>0){let se=ce.match(xh);se&&(ce=ce.slice(0,se.index),w.scssDefault=!0,se[0].trim()!=="!default"&&(w.raws.scssDefault=se[0]));let fe=ce.match(xp);if(fe&&(ce=ce.slice(0,fe.index),w.scssGlobal=!0,fe[0].trim()!=="!global"&&(w.raws.scssGlobal=fe[0])),ce.startsWith("progid:"))return{type:"value-unknown",value:ce};w.value=yu(ce,ee)}if(yh(ee)&&w.type==="css-decl"&&ce.startsWith("extend(")&&(w.extend||(w.extend=w.raws.between===":"),w.extend&&!w.selector&&(delete w.value,w.selector=Du(ce.slice(7,-1)))),w.type==="css-atrule"){if(yh(ee)){if(w.mixin){let se=w.raws.identifier+w.name+w.raws.afterName+w.raws.params;return w.selector=Du(se),delete w.params,w}if(w.function)return w}if(ee.parser==="css"&&w.name==="custom-selector"){let se=w.params.match(/:--\S+\s+/)[0].trim();return w.customSelector=se,w.selector=Du(w.params.slice(se.length).trim()),delete w.params,w}if(yh(ee)){if(w.name.includes(":")&&!w.params){w.variable=!0;let se=w.name.split(":");w.name=se[0],w.value=yu(se.slice(1).join(":"),ee)}if(!["page","nest","keyframes"].includes(w.name)&&w.params&&w.params[0]===":"){w.variable=!0;let se=w.params.slice(1);se&&(w.value=yu(se,ee)),w.raws.afterName+=":"}if(w.variable)return delete w.params,w.value||delete w.value,w}}if(w.type==="css-atrule"&&de.length>0){let{name:se}=w,fe=w.name.toLowerCase();return se==="warn"||se==="error"?(w.params={type:"media-unknown",value:de},w):se==="extend"||se==="nest"?(w.selector=Du(de),delete w.params,w):se==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(de)?w.params=yu(de,ee):(w.selector=Du(de),delete w.params),w):pf(fe)?(w.import=!0,delete w.filename,w.params=yu(de,ee),w):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(se)?(de=de.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),de=de.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),w.value=yu(de,ee),delete w.params,w):["media","custom-media"].includes(fe)?de.includes("#{")?{type:"media-unknown",value:de}:(w.params=Op(de),w):(w.params=de,w)}}return w}function bh(w,ee,Y){let G=cf(ee),{frontMatter:oe}=G;ee=G.content;let pe;try{pe=w(ee)}catch(ce){let{name:de,reason:se,line:fe,column:P}=ce;throw typeof fe!="number"?ce:zl(`${de}: ${se}`,{start:{line:fe,column:P}})}return pe=Yl(na(pe,"css-"),Y),mh(pe,ee),oe&&(oe.source={startOffset:0,endOffset:oe.raw.length},pe.nodes.unshift(oe)),pe}function ff(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=dp(Y.parser,w)?[Ch,vh]:[vh,Ch],oe;for(let pe of G)try{return pe(w,ee,Y)}catch(ce){oe=oe||ce}if(oe)throw oe}function vh(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=fh();return bh(oe=>G.parse(fp(oe)),w,Y)}function Ch(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:G}=Sc();return bh(G,w,Y)}var Sh={astFormat:"postcss",hasPragma:gu,locStart:hf,locEnd:pp};Kt.exports={parsers:{css:Object.assign(Object.assign({},Sh),{},{parse:ff}),less:Object.assign(Object.assign({},Sh),{},{parse:vh}),scss:Object.assign(Object.assign({},Sh),{},{parse:Ch})}}});return io()})})(Aw);var o6=Aw.exports;const a6=Qg(o6);var Tw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Ke,$e)=>()=>($e||Ke(($e={exports:{}}).exports,$e),$e.exports),n=t((Ke,$e)=>{var Ie=function(Ze){return Ze&&Ze.Math==Math&&Ze};$e.exports=Ie(typeof globalThis=="object"&&globalThis)||Ie(typeof window=="object"&&window)||Ie(typeof self=="object"&&self)||Ie(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Ke,$e)=>{$e.exports=function(Ie){try{return!!Ie()}catch{return!0}}}),s=t((Ke,$e)=>{var Ie=i();$e.exports=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Ke,$e)=>{var Ie=i();$e.exports=!Ie(function(){var Ze=(function(){}).bind();return typeof Ze!="function"||Ze.hasOwnProperty("prototype")})}),l=t((Ke,$e)=>{var Ie=a(),Ze=Function.prototype.call;$e.exports=Ie?Ze.bind(Ze):function(){return Ze.apply(Ze,arguments)}}),p=t(Ke=>{var $e={}.propertyIsEnumerable,Ie=Object.getOwnPropertyDescriptor,Ze=Ie&&!$e.call({1:2},1);Ke.f=Ze?function(me){var le=Ie(this,me);return!!le&&le.enumerable}:$e}),d=t((Ke,$e)=>{$e.exports=function(Ie,Ze){return{enumerable:!(Ie&1),configurable:!(Ie&2),writable:!(Ie&4),value:Ze}}}),g=t((Ke,$e)=>{var Ie=a(),Ze=Function.prototype,me=Ze.call,le=Ie&&Ze.bind.bind(me,me);$e.exports=Ie?le:function(ae){return function(){return me.apply(ae,arguments)}}}),b=t((Ke,$e)=>{var Ie=g(),Ze=Ie({}.toString),me=Ie("".slice);$e.exports=function(le){return me(Ze(le),8,-1)}}),S=t((Ke,$e)=>{var Ie=g(),Ze=i(),me=b(),le=Object,ae=Ie("".split);$e.exports=Ze(function(){return!le("z").propertyIsEnumerable(0)})?function(Ee){return me(Ee)=="String"?ae(Ee,""):le(Ee)}:le}),I=t((Ke,$e)=>{$e.exports=function(Ie){return Ie==null}}),H=t((Ke,$e)=>{var Ie=I(),Ze=TypeError;$e.exports=function(me){if(Ie(me))throw Ze("Can't call method on "+me);return me}}),be=t((Ke,$e)=>{var Ie=S(),Ze=H();$e.exports=function(me){return Ie(Ze(me))}}),ke=t((Ke,$e)=>{var Ie=typeof document=="object"&&document.all,Ze=typeof Ie>"u"&&Ie!==void 0;$e.exports={all:Ie,IS_HTMLDDA:Ze}}),ge=t((Ke,$e)=>{var Ie=ke(),Ze=Ie.all;$e.exports=Ie.IS_HTMLDDA?function(me){return typeof me=="function"||me===Ze}:function(me){return typeof me=="function"}}),Ue=t((Ke,$e)=>{var Ie=ge(),Ze=ke(),me=Ze.all;$e.exports=Ze.IS_HTMLDDA?function(le){return typeof le=="object"?le!==null:Ie(le)||le===me}:function(le){return typeof le=="object"?le!==null:Ie(le)}}),Dt=t((Ke,$e)=>{var Ie=n(),Ze=ge(),me=function(le){return Ze(le)?le:void 0};$e.exports=function(le,ae){return arguments.length<2?me(Ie[le]):Ie[le]&&Ie[le][ae]}}),pt=t((Ke,$e)=>{var Ie=g();$e.exports=Ie({}.isPrototypeOf)}),vt=t((Ke,$e)=>{var Ie=Dt();$e.exports=Ie("navigator","userAgent")||""}),Yt=t((Ke,$e)=>{var Ie=n(),Ze=vt(),me=Ie.process,le=Ie.Deno,ae=me&&me.versions||le&&le.version,Ee=ae&&ae.v8,xe,Le;Ee&&(xe=Ee.split("."),Le=xe[0]>0&&xe[0]<4?1:+(xe[0]+xe[1])),!Le&&Ze&&(xe=Ze.match(/Edge\/(\d+)/),(!xe||xe[1]>=74)&&(xe=Ze.match(/Chrome\/(\d+)/),xe&&(Le=+xe[1]))),$e.exports=Le}),ir=t((Ke,$e)=>{var Ie=Yt(),Ze=i();$e.exports=!!Object.getOwnPropertySymbols&&!Ze(function(){var me=Symbol();return!String(me)||!(Object(me)instanceof Symbol)||!Symbol.sham&&Ie&&Ie<41})}),qr=t((Ke,$e)=>{var Ie=ir();$e.exports=Ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Ke,$e)=>{var Ie=Dt(),Ze=ge(),me=pt(),le=qr(),ae=Object;$e.exports=le?function(Ee){return typeof Ee=="symbol"}:function(Ee){var xe=Ie("Symbol");return Ze(xe)&&me(xe.prototype,ae(Ee))}}),kr=t((Ke,$e)=>{var Ie=String;$e.exports=function(Ze){try{return Ie(Ze)}catch{return"Object"}}}),Zr=t((Ke,$e)=>{var Ie=ge(),Ze=kr(),me=TypeError;$e.exports=function(le){if(Ie(le))return le;throw me(Ze(le)+" is not a function")}}),zn=t((Ke,$e)=>{var Ie=Zr(),Ze=I();$e.exports=function(me,le){var ae=me[le];return Ze(ae)?void 0:Ie(ae)}}),Gn=t((Ke,$e)=>{var Ie=l(),Ze=ge(),me=Ue(),le=TypeError;$e.exports=function(ae,Ee){var xe,Le;if(Ee==="string"&&Ze(xe=ae.toString)&&!me(Le=Ie(xe,ae))||Ze(xe=ae.valueOf)&&!me(Le=Ie(xe,ae))||Ee!=="string"&&Ze(xe=ae.toString)&&!me(Le=Ie(xe,ae)))return Le;throw le("Can't convert object to primitive value")}}),Ni=t((Ke,$e)=>{$e.exports=!1}),ii=t((Ke,$e)=>{var Ie=n(),Ze=Object.defineProperty;$e.exports=function(me,le){try{Ze(Ie,me,{value:le,configurable:!0,writable:!0})}catch{Ie[me]=le}return le}}),Sn=t((Ke,$e)=>{var Ie=n(),Ze=ii(),me="__core-js_shared__",le=Ie[me]||Ze(me,{});$e.exports=le}),Wn=t((Ke,$e)=>{var Ie=Ni(),Ze=Sn();($e.exports=function(me,le){return Ze[me]||(Ze[me]=le!==void 0?le:{})})("versions",[]).push({version:"3.26.1",mode:Ie?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Ke,$e)=>{var Ie=H(),Ze=Object;$e.exports=function(me){return Ze(Ie(me))}}),Tn=t((Ke,$e)=>{var Ie=g(),Ze=jn(),me=Ie({}.hasOwnProperty);$e.exports=Object.hasOwn||function(le,ae){return me(Ze(le),ae)}}),Mi=t((Ke,$e)=>{var Ie=g(),Ze=0,me=Math.random(),le=Ie(1 .toString);$e.exports=function(ae){return"Symbol("+(ae===void 0?"":ae)+")_"+le(++Ze+me,36)}}),Ri=t((Ke,$e)=>{var Ie=n(),Ze=Wn(),me=Tn(),le=Mi(),ae=ir(),Ee=qr(),xe=Ze("wks"),Le=Ie.Symbol,nt=Le&&Le.for,dt=Ee?Le:Le&&Le.withoutSetter||le;$e.exports=function(Ge){if(!me(xe,Ge)||!(ae||typeof xe[Ge]=="string")){var Ct="Symbol."+Ge;ae&&me(Le,Ge)?xe[Ge]=Le[Ge]:Ee&&nt?xe[Ge]=nt(Ct):xe[Ge]=dt(Ct)}return xe[Ge]}}),rs=t((Ke,$e)=>{var Ie=l(),Ze=Ue(),me=yr(),le=zn(),ae=Gn(),Ee=Ri(),xe=TypeError,Le=Ee("toPrimitive");$e.exports=function(nt,dt){if(!Ze(nt)||me(nt))return nt;var Ge=le(nt,Le),Ct;if(Ge){if(dt===void 0&&(dt="default"),Ct=Ie(Ge,nt,dt),!Ze(Ct)||me(Ct))return Ct;throw xe("Can't convert object to primitive value")}return dt===void 0&&(dt="number"),ae(nt,dt)}}),bs=t((Ke,$e)=>{var Ie=rs(),Ze=yr();$e.exports=function(me){var le=Ie(me,"string");return Ze(le)?le:le+""}}),Ls=t((Ke,$e)=>{var Ie=n(),Ze=Ue(),me=Ie.document,le=Ze(me)&&Ze(me.createElement);$e.exports=function(ae){return le?me.createElement(ae):{}}}),vo=t((Ke,$e)=>{var Ie=s(),Ze=i(),me=Ls();$e.exports=!Ie&&!Ze(function(){return Object.defineProperty(me("div"),"a",{get:function(){return 7}}).a!=7})}),Ui=t(Ke=>{var $e=s(),Ie=l(),Ze=p(),me=d(),le=be(),ae=bs(),Ee=Tn(),xe=vo(),Le=Object.getOwnPropertyDescriptor;Ke.f=$e?Le:function(nt,dt){if(nt=le(nt),dt=ae(dt),xe)try{return Le(nt,dt)}catch{}if(Ee(nt,dt))return me(!Ie(Ze.f,nt,dt),nt[dt])}}),Sr=t((Ke,$e)=>{var Ie=s(),Ze=i();$e.exports=Ie&&Ze(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Ke,$e)=>{var Ie=Ue(),Ze=String,me=TypeError;$e.exports=function(le){if(Ie(le))return le;throw me(Ze(le)+" is not an object")}}),zr=t(Ke=>{var $e=s(),Ie=vo(),Ze=Sr(),me=cn(),le=bs(),ae=TypeError,Ee=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Le="enumerable",nt="configurable",dt="writable";Ke.f=$e?Ze?function(Ge,Ct,or){if(me(Ge),Ct=le(Ct),me(or),typeof Ge=="function"&&Ct==="prototype"&&"value"in or&&dt in or&&!or[dt]){var er=xe(Ge,Ct);er&&er[dt]&&(Ge[Ct]=or.value,or={configurable:nt in or?or[nt]:er[nt],enumerable:Le in or?or[Le]:er[Le],writable:!1})}return Ee(Ge,Ct,or)}:Ee:function(Ge,Ct,or){if(me(Ge),Ct=le(Ct),me(or),Ie)try{return Ee(Ge,Ct,or)}catch{}if("get"in or||"set"in or)throw ae("Accessors not supported");return"value"in or&&(Ge[Ct]=or.value),Ge}}),In=t((Ke,$e)=>{var Ie=s(),Ze=zr(),me=d();$e.exports=Ie?function(le,ae,Ee){return Ze.f(le,ae,me(1,Ee))}:function(le,ae,Ee){return le[ae]=Ee,le}}),es=t((Ke,$e)=>{var Ie=s(),Ze=Tn(),me=Function.prototype,le=Ie&&Object.getOwnPropertyDescriptor,ae=Ze(me,"name"),Ee=ae&&(function(){}).name==="something",xe=ae&&(!Ie||Ie&&le(me,"name").configurable);$e.exports={EXISTS:ae,PROPER:Ee,CONFIGURABLE:xe}}),tt=t((Ke,$e)=>{var Ie=g(),Ze=ge(),me=Sn(),le=Ie(Function.toString);Ze(me.inspectSource)||(me.inspectSource=function(ae){return le(ae)}),$e.exports=me.inspectSource}),gt=t((Ke,$e)=>{var Ie=n(),Ze=ge(),me=Ie.WeakMap;$e.exports=Ze(me)&&/native code/.test(String(me))}),Zt=t((Ke,$e)=>{var Ie=Wn(),Ze=Mi(),me=Ie("keys");$e.exports=function(le){return me[le]||(me[le]=Ze(le))}}),dr=t((Ke,$e)=>{$e.exports={}}),Fr=t((Ke,$e)=>{var Ie=gt(),Ze=n(),me=Ue(),le=In(),ae=Tn(),Ee=Sn(),xe=Zt(),Le=dr(),nt="Object already initialized",dt=Ze.TypeError,Ge=Ze.WeakMap,Ct,or,er,Or=function(mn){return er(mn)?or(mn):Ct(mn,{})},Cr=function(mn){return function(ui){var Oi;if(!me(ui)||(Oi=or(ui)).type!==mn)throw dt("Incompatible receiver, "+mn+" required");return Oi}};Ie||Ee.state?(Oe=Ee.state||(Ee.state=new Ge),Oe.get=Oe.get,Oe.has=Oe.has,Oe.set=Oe.set,Ct=function(mn,ui){if(Oe.has(mn))throw dt(nt);return ui.facade=mn,Oe.set(mn,ui),ui},or=function(mn){return Oe.get(mn)||{}},er=function(mn){return Oe.has(mn)}):(pn=xe("state"),Le[pn]=!0,Ct=function(mn,ui){if(ae(mn,pn))throw dt(nt);return ui.facade=mn,le(mn,pn,ui),ui},or=function(mn){return ae(mn,pn)?mn[pn]:{}},er=function(mn){return ae(mn,pn)});var Oe,pn;$e.exports={set:Ct,get:or,has:er,enforce:Or,getterFor:Cr}}),Lr=t((Ke,$e)=>{var Ie=i(),Ze=ge(),me=Tn(),le=s(),ae=es().CONFIGURABLE,Ee=tt(),xe=Fr(),Le=xe.enforce,nt=xe.get,dt=Object.defineProperty,Ge=le&&!Ie(function(){return dt(function(){},"length",{value:8}).length!==8}),Ct=String(String).split("String"),or=$e.exports=function(er,Or,Cr){String(Or).slice(0,7)==="Symbol("&&(Or="["+String(Or).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Cr&&Cr.getter&&(Or="get "+Or),Cr&&Cr.setter&&(Or="set "+Or),(!me(er,"name")||ae&&er.name!==Or)&&(le?dt(er,"name",{value:Or,configurable:!0}):er.name=Or),Ge&&Cr&&me(Cr,"arity")&&er.length!==Cr.arity&&dt(er,"length",{value:Cr.arity});try{Cr&&me(Cr,"constructor")&&Cr.constructor?le&&dt(er,"prototype",{writable:!1}):er.prototype&&(er.prototype=void 0)}catch{}var Oe=Le(er);return me(Oe,"source")||(Oe.source=Ct.join(typeof Or=="string"?Or:"")),er};Function.prototype.toString=or(function(){return Ze(this)&&nt(this).source||Ee(this)},"toString")}),yn=t((Ke,$e)=>{var Ie=ge(),Ze=zr(),me=Lr(),le=ii();$e.exports=function(ae,Ee,xe,Le){Le||(Le={});var nt=Le.enumerable,dt=Le.name!==void 0?Le.name:Ee;if(Ie(xe)&&me(xe,dt,Le),Le.global)nt?ae[Ee]=xe:le(Ee,xe);else{try{Le.unsafe?ae[Ee]&&(nt=!0):delete ae[Ee]}catch{}nt?ae[Ee]=xe:Ze.f(ae,Ee,{value:xe,enumerable:!1,configurable:!Le.nonConfigurable,writable:!Le.nonWritable})}return ae}}),Jr=t((Ke,$e)=>{var Ie=Math.ceil,Ze=Math.floor;$e.exports=Math.trunc||function(me){var le=+me;return(le>0?Ze:Ie)(le)}}),on=t((Ke,$e)=>{var Ie=Jr();$e.exports=function(Ze){var me=+Ze;return me!==me||me===0?0:Ie(me)}}),Xr=t((Ke,$e)=>{var Ie=on(),Ze=Math.max,me=Math.min;$e.exports=function(le,ae){var Ee=Ie(le);return Ee<0?Ze(Ee+ae,0):me(Ee,ae)}}),ei=t((Ke,$e)=>{var Ie=on(),Ze=Math.min;$e.exports=function(me){return me>0?Ze(Ie(me),9007199254740991):0}}),xn=t((Ke,$e)=>{var Ie=ei();$e.exports=function(Ze){return Ie(Ze.length)}}),ti=t((Ke,$e)=>{var Ie=be(),Ze=Xr(),me=xn(),le=function(ae){return function(Ee,xe,Le){var nt=Ie(Ee),dt=me(nt),Ge=Ze(Le,dt),Ct;if(ae&&xe!=xe){for(;dt>Ge;)if(Ct=nt[Ge++],Ct!=Ct)return!0}else for(;dt>Ge;Ge++)if((ae||Ge in nt)&&nt[Ge]===xe)return ae||Ge||0;return!ae&&-1}};$e.exports={includes:le(!0),indexOf:le(!1)}}),Ai=t((Ke,$e)=>{var Ie=g(),Ze=Tn(),me=be(),le=ti().indexOf,ae=dr(),Ee=Ie([].push);$e.exports=function(xe,Le){var nt=me(xe),dt=0,Ge=[],Ct;for(Ct in nt)!Ze(ae,Ct)&&Ze(nt,Ct)&&Ee(Ge,Ct);for(;Le.length>dt;)Ze(nt,Ct=Le[dt++])&&(~le(Ge,Ct)||Ee(Ge,Ct));return Ge}}),Li=t((Ke,$e)=>{$e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),us=t(Ke=>{var $e=Ai(),Ie=Li(),Ze=Ie.concat("length","prototype");Ke.f=Object.getOwnPropertyNames||function(me){return $e(me,Ze)}}),os=t(Ke=>{Ke.f=Object.getOwnPropertySymbols}),Ts=t((Ke,$e)=>{var Ie=Dt(),Ze=g(),me=us(),le=os(),ae=cn(),Ee=Ze([].concat);$e.exports=Ie("Reflect","ownKeys")||function(xe){var Le=me.f(ae(xe)),nt=le.f;return nt?Ee(Le,nt(xe)):Le}}),Co=t((Ke,$e)=>{var Ie=Tn(),Ze=Ts(),me=Ui(),le=zr();$e.exports=function(ae,Ee,xe){for(var Le=Ze(Ee),nt=le.f,dt=me.f,Ge=0;Ge<Le.length;Ge++){var Ct=Le[Ge];!Ie(ae,Ct)&&!(xe&&Ie(xe,Ct))&&nt(ae,Ct,dt(Ee,Ct))}}}),ya=t((Ke,$e)=>{var Ie=i(),Ze=ge(),me=/#|\.prototype\./,le=function(nt,dt){var Ge=Ee[ae(nt)];return Ge==Le?!0:Ge==xe?!1:Ze(dt)?Ie(dt):!!dt},ae=le.normalize=function(nt){return String(nt).replace(me,".").toLowerCase()},Ee=le.data={},xe=le.NATIVE="N",Le=le.POLYFILL="P";$e.exports=le}),Go=t((Ke,$e)=>{var Ie=n(),Ze=Ui().f,me=In(),le=yn(),ae=ii(),Ee=Co(),xe=ya();$e.exports=function(Le,nt){var dt=Le.target,Ge=Le.global,Ct=Le.stat,or,er,Or,Cr,Oe,pn;if(Ge?er=Ie:Ct?er=Ie[dt]||ae(dt,{}):er=(Ie[dt]||{}).prototype,er)for(Or in nt){if(Oe=nt[Or],Le.dontCallGetSet?(pn=Ze(er,Or),Cr=pn&&pn.value):Cr=er[Or],or=xe(Ge?Or:dt+(Ct?".":"#")+Or,Le.forced),!or&&Cr!==void 0){if(typeof Oe==typeof Cr)continue;Ee(Oe,Cr)}(Le.sham||Cr&&Cr.sham)&&me(Oe,"sham",!0),le(er,Or,Oe,Le)}}}),Da=t(()=>{var Ke=Go(),$e=n();Ke({global:!0,forced:$e.globalThis!==$e},{globalThis:$e})}),Fu=t(()=>{Da()}),io=t((Ke,$e)=>{var Ie=b();$e.exports=Array.isArray||function(Ze){return Ie(Ze)=="Array"}}),Hr=t((Ke,$e)=>{var Ie=TypeError,Ze=9007199254740991;$e.exports=function(me){if(me>Ze)throw Ie("Maximum allowed index exceeded");return me}}),Kt=t((Ke,$e)=>{var Ie=b(),Ze=g();$e.exports=function(me){if(Ie(me)==="Function")return Ze(me)}}),Ht=t((Ke,$e)=>{var Ie=Kt(),Ze=Zr(),me=a(),le=Ie(Ie.bind);$e.exports=function(ae,Ee){return Ze(ae),Ee===void 0?ae:me?le(ae,Ee):function(){return ae.apply(Ee,arguments)}}}),lr=t((Ke,$e)=>{var Ie=io(),Ze=xn(),me=Hr(),le=Ht(),ae=function(Ee,xe,Le,nt,dt,Ge,Ct,or){for(var er=dt,Or=0,Cr=Ct?le(Ct,or):!1,Oe,pn;Or<nt;)Or in Le&&(Oe=Cr?Cr(Le[Or],Or,xe):Le[Or],Ge>0&&Ie(Oe)?(pn=Ze(Oe),er=ae(Ee,xe,Oe,pn,er,Ge-1)-1):(me(er+1),Ee[er]=Oe),er++),Or++;return er};$e.exports=ae}),cr=t((Ke,$e)=>{var Ie=Ri(),Ze=Ie("toStringTag"),me={};me[Ze]="z",$e.exports=String(me)==="[object z]"}),vr=t((Ke,$e)=>{var Ie=cr(),Ze=ge(),me=b(),le=Ri(),ae=le("toStringTag"),Ee=Object,xe=me(function(){return arguments}())=="Arguments",Le=function(nt,dt){try{return nt[dt]}catch{}};$e.exports=Ie?me:function(nt){var dt,Ge,Ct;return nt===void 0?"Undefined":nt===null?"Null":typeof(Ge=Le(dt=Ee(nt),ae))=="string"?Ge:xe?me(dt):(Ct=me(dt))=="Object"&&Ze(dt.callee)?"Arguments":Ct}}),Kr=t((Ke,$e)=>{var Ie=g(),Ze=i(),me=ge(),le=vr(),ae=Dt(),Ee=tt(),xe=function(){},Le=[],nt=ae("Reflect","construct"),dt=/^\s*(?:class|function)\b/,Ge=Ie(dt.exec),Ct=!dt.exec(xe),or=function(Or){if(!me(Or))return!1;try{return nt(xe,Le,Or),!0}catch{return!1}},er=function(Or){if(!me(Or))return!1;switch(le(Or)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ct||!!Ge(dt,Ee(Or))}catch{return!0}};er.sham=!0,$e.exports=!nt||Ze(function(){var Or;return or(or.call)||!or(Object)||!or(function(){Or=!0})||Or})?er:or}),Rt=t((Ke,$e)=>{var Ie=io(),Ze=Kr(),me=Ue(),le=Ri(),ae=le("species"),Ee=Array;$e.exports=function(xe){var Le;return Ie(xe)&&(Le=xe.constructor,Ze(Le)&&(Le===Ee||Ie(Le.prototype))?Le=void 0:me(Le)&&(Le=Le[ae],Le===null&&(Le=void 0))),Le===void 0?Ee:Le}}),En=t((Ke,$e)=>{var Ie=Rt();$e.exports=function(Ze,me){return new(Ie(Ze))(me===0?0:me)}}),Bn=t(()=>{var Ke=Go(),$e=lr(),Ie=Zr(),Ze=jn(),me=xn(),le=En();Ke({target:"Array",proto:!0},{flatMap:function(ae){var Ee=Ze(this),xe=me(Ee),Le;return Ie(ae),Le=le(Ee,0),Le.length=$e(Le,Ee,Ee,xe,0,1,ae,arguments.length>1?arguments[1]:void 0),Le}})}),Hn=t((Ke,$e)=>{$e.exports={}}),qt=t((Ke,$e)=>{var Ie=Ri(),Ze=Hn(),me=Ie("iterator"),le=Array.prototype;$e.exports=function(ae){return ae!==void 0&&(Ze.Array===ae||le[me]===ae)}}),ai=t((Ke,$e)=>{var Ie=vr(),Ze=zn(),me=I(),le=Hn(),ae=Ri(),Ee=ae("iterator");$e.exports=function(xe){if(!me(xe))return Ze(xe,Ee)||Ze(xe,"@@iterator")||le[Ie(xe)]}}),mi=t((Ke,$e)=>{var Ie=l(),Ze=Zr(),me=cn(),le=kr(),ae=ai(),Ee=TypeError;$e.exports=function(xe,Le){var nt=arguments.length<2?ae(xe):Le;if(Ze(nt))return me(Ie(nt,xe));throw Ee(le(xe)+" is not iterable")}}),Dr=t((Ke,$e)=>{var Ie=l(),Ze=cn(),me=zn();$e.exports=function(le,ae,Ee){var xe,Le;Ze(le);try{if(xe=me(le,"return"),!xe){if(ae==="throw")throw Ee;return Ee}xe=Ie(xe,le)}catch(nt){Le=!0,xe=nt}if(ae==="throw")throw Ee;if(Le)throw xe;return Ze(xe),Ee}}),xt=t((Ke,$e)=>{var Ie=Ht(),Ze=l(),me=cn(),le=kr(),ae=qt(),Ee=xn(),xe=pt(),Le=mi(),nt=ai(),dt=Dr(),Ge=TypeError,Ct=function(er,Or){this.stopped=er,this.result=Or},or=Ct.prototype;$e.exports=function(er,Or,Cr){var Oe=Cr&&Cr.that,pn=!!(Cr&&Cr.AS_ENTRIES),mn=!!(Cr&&Cr.IS_RECORD),ui=!!(Cr&&Cr.IS_ITERATOR),Oi=!!(Cr&&Cr.INTERRUPTED),Gi=Ie(Or,Oe),Ye,Es,ko,Ho,vs,po,Cs,Jo=function(Js){return Ye&&dt(Ye,"normal",Js),new Ct(!0,Js)},oo=function(Js){return pn?(me(Js),Oi?Gi(Js[0],Js[1],Jo):Gi(Js[0],Js[1])):Oi?Gi(Js,Jo):Gi(Js)};if(mn)Ye=er.iterator;else if(ui)Ye=er;else{if(Es=nt(er),!Es)throw Ge(le(er)+" is not iterable");if(ae(Es)){for(ko=0,Ho=Ee(er);Ho>ko;ko++)if(vs=oo(er[ko]),vs&&xe(or,vs))return vs;return new Ct(!1)}Ye=Le(er,Es)}for(po=mn?er.next:Ye.next;!(Cs=Ze(po,Ye)).done;){try{vs=oo(Cs.value)}catch(Js){dt(Ye,"throw",Js)}if(typeof vs=="object"&&vs&&xe(or,vs))return vs}return new Ct(!1)}}),Ot=t((Ke,$e)=>{var Ie=bs(),Ze=zr(),me=d();$e.exports=function(le,ae,Ee){var xe=Ie(ae);xe in le?Ze.f(le,xe,me(0,Ee)):le[xe]=Ee}}),At=t(()=>{var Ke=Go(),$e=xt(),Ie=Ot();Ke({target:"Object",stat:!0},{fromEntries:function(Ze){var me={};return $e(Ze,function(le,ae){Ie(me,le,ae)},{AS_ENTRIES:!0}),me}})}),bt=t((Ke,$e)=>{var Ie=["cliName","cliCategory","cliDescription"];function Ze(te,Re){if(te==null)return{};var ot=me(te,Re),at,Pt;if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(te);for(Pt=0;Pt<qe.length;Pt++)at=qe[Pt],!(Re.indexOf(at)>=0)&&Object.prototype.propertyIsEnumerable.call(te,at)&&(ot[at]=te[at])}return ot}function me(te,Re){if(te==null)return{};var ot={},at=Object.keys(te),Pt,qe;for(qe=0;qe<at.length;qe++)Pt=at[qe],!(Re.indexOf(Pt)>=0)&&(ot[Pt]=te[Pt]);return ot}Fu(),Bn(),At();var le=Object.create,ae=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Le=Object.getPrototypeOf,nt=Object.prototype.hasOwnProperty,dt=(te,Re)=>function(){return te&&(Re=(0,te[xe(te)[0]])(te=0)),Re},Ge=(te,Re)=>function(){return Re||(0,te[xe(te)[0]])((Re={exports:{}}).exports,Re),Re.exports},Ct=(te,Re)=>{for(var ot in Re)ae(te,ot,{get:Re[ot],enumerable:!0})},or=(te,Re,ot,at)=>{if(Re&&typeof Re=="object"||typeof Re=="function")for(let Pt of xe(Re))!nt.call(te,Pt)&&Pt!==ot&&ae(te,Pt,{get:()=>Re[Pt],enumerable:!(at=Ee(Re,Pt))||at.enumerable});return te},er=(te,Re,ot)=>(ot=te!=null?le(Le(te)):{},or(Re||!te||!te.__esModule?ae(ot,"default",{value:te,enumerable:!0}):ot,te)),Or=te=>or(ae({},"__esModule",{value:!0}),te),Cr,Oe=dt({"<define:process>"(){Cr={env:{},argv:[]}}}),pn=Ge({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),te.$EOF=0,te.$BSPACE=8,te.$TAB=9,te.$LF=10,te.$VTAB=11,te.$FF=12,te.$CR=13,te.$SPACE=32,te.$BANG=33,te.$DQ=34,te.$HASH=35,te.$$=36,te.$PERCENT=37,te.$AMPERSAND=38,te.$SQ=39,te.$LPAREN=40,te.$RPAREN=41,te.$STAR=42,te.$PLUS=43,te.$COMMA=44,te.$MINUS=45,te.$PERIOD=46,te.$SLASH=47,te.$COLON=58,te.$SEMICOLON=59,te.$LT=60,te.$EQ=61,te.$GT=62,te.$QUESTION=63,te.$0=48,te.$7=55,te.$9=57,te.$A=65,te.$E=69,te.$F=70,te.$X=88,te.$Z=90,te.$LBRACKET=91,te.$BACKSLASH=92,te.$RBRACKET=93,te.$CARET=94,te.$_=95,te.$a=97,te.$b=98,te.$e=101,te.$f=102,te.$n=110,te.$r=114,te.$t=116,te.$u=117,te.$v=118,te.$x=120,te.$z=122,te.$LBRACE=123,te.$BAR=124,te.$RBRACE=125,te.$NBSP=160,te.$PIPE=124,te.$TILDA=126,te.$AT=64,te.$BT=96;function Re(Lt){return Lt>=te.$TAB&&Lt<=te.$SPACE||Lt==te.$NBSP}te.isWhitespace=Re;function ot(Lt){return te.$0<=Lt&&Lt<=te.$9}te.isDigit=ot;function at(Lt){return Lt>=te.$a&&Lt<=te.$z||Lt>=te.$A&&Lt<=te.$Z}te.isAsciiLetter=at;function Pt(Lt){return Lt>=te.$a&&Lt<=te.$f||Lt>=te.$A&&Lt<=te.$F||ot(Lt)}te.isAsciiHexDigit=Pt;function qe(Lt){return Lt===te.$LF||Lt===te.$CR}te.isNewLine=qe;function ut(Lt){return te.$0<=Lt&&Lt<=te.$7}te.isOctalDigit=ut}}),mn=Ge({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=class{constructor(at,Pt,qe){this.filePath=at,this.name=Pt,this.members=qe}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};te.StaticSymbol=Re;var ot=class{constructor(){this.cache=new Map}get(at,Pt,qe){qe=qe||[];let ut=qe.length?`.${qe.join(".")}`:"",Lt=`"${at}".${Pt}${ut}`,Gt=this.cache.get(Lt);return Gt||(Gt=new Re(at,Pt,qe),this.cache.set(Lt,Gt)),Gt}};te.StaticSymbolCache=ot}}),ui=Ge({"node_modules/angular-html-parser/lib/compiler/src/util.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=/-+([a-z0-9])/g;function ot(st){return st.replace(Re,function(){for(var sr=arguments.length,Xt=new Array(sr),Ir=0;Ir<sr;Ir++)Xt[Ir]=arguments[Ir];return Xt[1].toUpperCase()})}te.dashCaseToCamelCase=ot;function at(st,sr){return qe(st,":",sr)}te.splitAtColon=at;function Pt(st,sr){return qe(st,".",sr)}te.splitAtPeriod=Pt;function qe(st,sr,Xt){let Ir=st.indexOf(sr);return Ir==-1?Xt:[st.slice(0,Ir).trim(),st.slice(Ir+1).trim()]}function ut(st,sr,Xt){return Array.isArray(st)?sr.visitArray(st,Xt):jr(st)?sr.visitStringMap(st,Xt):st==null||typeof st=="string"||typeof st=="number"||typeof st=="boolean"?sr.visitPrimitive(st,Xt):sr.visitOther(st,Xt)}te.visitValue=ut;function Lt(st){return st!=null}te.isDefined=Lt;function Gt(st){return st===void 0?null:st}te.noUndefined=Gt;var tn=class{visitArray(st,sr){return st.map(Xt=>ut(Xt,this,sr))}visitStringMap(st,sr){let Xt={};return Object.keys(st).forEach(Ir=>{Xt[Ir]=ut(st[Ir],this,sr)}),Xt}visitPrimitive(st,sr){return st}visitOther(st,sr){return st}};te.ValueTransformer=tn,te.SyncAsync={assertSync:st=>{if(Er(st))throw new Error("Illegal state: value cannot be a promise");return st},then:(st,sr)=>Er(st)?st.then(sr):sr(st),all:st=>st.some(Er)?Promise.all(st):st};function it(st){throw new Error(`Internal Error: ${st}`)}te.error=it;function wt(st,sr){let Xt=Error(st);return Xt[Vt]=!0,sr&&(Xt[ar]=sr),Xt}te.syntaxError=wt;var Vt="ngSyntaxError",ar="ngParseErrors";function tr(st){return st[Vt]}te.isSyntaxError=tr;function fr(st){return st[ar]||[]}te.getParseErrors=fr;function rn(st){return st.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}te.escapeRegExp=rn;var Mn=Object.getPrototypeOf({});function jr(st){return typeof st=="object"&&st!==null&&Object.getPrototypeOf(st)===Mn}function Nn(st){let sr="";for(let Xt=0;Xt<st.length;Xt++){let Ir=st.charCodeAt(Xt);if(Ir>=55296&&Ir<=56319&&st.length>Xt+1){let Ci=st.charCodeAt(Xt+1);Ci>=56320&&Ci<=57343&&(Xt++,Ir=(Ir-55296<<10)+Ci-56320+65536)}Ir<=127?sr+=String.fromCharCode(Ir):Ir<=2047?sr+=String.fromCharCode(Ir>>6&31|192,Ir&63|128):Ir<=65535?sr+=String.fromCharCode(Ir>>12|224,Ir>>6&63|128,Ir&63|128):Ir<=2097151&&(sr+=String.fromCharCode(Ir>>18&7|240,Ir>>12&63|128,Ir>>6&63|128,Ir&63|128))}return sr}te.utf8Encode=Nn;function ri(st){if(typeof st=="string")return st;if(st instanceof Array)return"["+st.map(ri).join(", ")+"]";if(st==null)return""+st;if(st.overriddenName)return`${st.overriddenName}`;if(st.name)return`${st.name}`;if(!st.toString)return"object";let sr=st.toString();if(sr==null)return""+sr;let Xt=sr.indexOf(`
`);return Xt===-1?sr:sr.substring(0,Xt)}te.stringify=ri;function ns(st){return typeof st=="function"&&st.hasOwnProperty("__forward_ref__")?st():st}te.resolveForwardRef=ns;function Er(st){return!!st&&typeof st.then=="function"}te.isPromise=Er;var Zn=class{constructor(st){this.full=st;let sr=st.split(".");this.major=sr[0],this.minor=sr[1],this.patch=sr.slice(2).join(".")}};te.Version=Zn;var Jn=typeof window<"u"&&window,xi=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ei=typeof globalThis<"u"&&globalThis,Me=Ei||Jn||xi;te.global=Me}}),Oi=Ge({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=mn(),ot=ui(),at=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pt(Xt){return Xt.replace(/\W/g,"_")}te.sanitizeIdentifier=Pt;var qe=0;function ut(Xt){if(!Xt||!Xt.reference)return null;let Ir=Xt.reference;if(Ir instanceof Re.StaticSymbol)return Ir.name;if(Ir.__anonymousType)return Ir.__anonymousType;let Ci=ot.stringify(Ir);return Ci.indexOf("(")>=0?(Ci=`anonymous_${qe++}`,Ir.__anonymousType=Ci):Ci=Pt(Ci),Ci}te.identifierName=ut;function Lt(Xt){let Ir=Xt.reference;return Ir instanceof Re.StaticSymbol?Ir.filePath:`./${ot.stringify(Ir)}`}te.identifierModuleUrl=Lt;function Gt(Xt,Ir){return`View_${ut({reference:Xt})}_${Ir}`}te.viewClassName=Gt;function tn(Xt){return`RenderType_${ut({reference:Xt})}`}te.rendererTypeName=tn;function it(Xt){return`HostView_${ut({reference:Xt})}`}te.hostViewClassName=it;function wt(Xt){return`${ut({reference:Xt})}NgFactory`}te.componentFactoryName=wt;var Vt;(function(Xt){Xt[Xt.Pipe=0]="Pipe",Xt[Xt.Directive=1]="Directive",Xt[Xt.NgModule=2]="NgModule",Xt[Xt.Injectable=3]="Injectable"})(Vt=te.CompileSummaryKind||(te.CompileSummaryKind={}));function ar(Xt){return Xt.value!=null?Pt(Xt.value):ut(Xt.identifier)}te.tokenName=ar;function tr(Xt){return Xt.identifier!=null?Xt.identifier.reference:Xt.value}te.tokenReference=tr;var fr=class{constructor(){let{moduleUrl:Xt,styles:Ir,styleUrls:Ci}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Xt||null,this.styles=Er(Ir),this.styleUrls=Er(Ci)}};te.CompileStylesheetMetadata=fr;var rn=class{constructor(Xt){let{encapsulation:Ir,template:Ci,templateUrl:Ki,htmlAst:eo,styles:Ns,styleUrls:go,externalStylesheets:yo,animations:_o,ngContentSelectors:$o,interpolation:Wi,isInline:Qe,preserveWhitespaces:an}=Xt;if(this.encapsulation=Ir,this.template=Ci,this.templateUrl=Ki,this.htmlAst=eo,this.styles=Er(Ns),this.styleUrls=Er(go),this.externalStylesheets=Er(yo),this.animations=_o?Jn(_o):[],this.ngContentSelectors=$o||[],Wi&&Wi.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Wi,this.isInline=Qe,this.preserveWhitespaces=an}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};te.CompileTemplateMetadata=rn;var Mn=class{static create(Xt){let{isHost:Ir,type:Ci,isComponent:Ki,selector:eo,exportAs:Ns,changeDetection:go,inputs:yo,outputs:_o,host:$o,providers:Wi,viewProviders:Qe,queries:an,guards:_n,viewQueries:Cn,entryComponents:yi,template:is,componentViewType:ls,rendererType:Zi,componentFactory:Eo}=Xt,Za={},uu={},lu={};$o!=null&&Object.keys($o).forEach(Is=>{let ta=$o[Is],Ia=Is.match(at);Ia===null?lu[Is]=ta:Ia[1]!=null?uu[Ia[1]]=ta:Ia[2]!=null&&(Za[Ia[2]]=ta)});let jo={};yo!=null&&yo.forEach(Is=>{let ta=ot.splitAtColon(Is,[Is,Is]);jo[ta[0]]=ta[1]});let ba={};return _o!=null&&_o.forEach(Is=>{let ta=ot.splitAtColon(Is,[Is,Is]);ba[ta[0]]=ta[1]}),new Mn({isHost:Ir,type:Ci,isComponent:!!Ki,selector:eo,exportAs:Ns,changeDetection:go,inputs:jo,outputs:ba,hostListeners:Za,hostProperties:uu,hostAttributes:lu,providers:Wi,viewProviders:Qe,queries:an,guards:_n,viewQueries:Cn,entryComponents:yi,template:is,componentViewType:ls,rendererType:Zi,componentFactory:Eo})}constructor(Xt){let{isHost:Ir,type:Ci,isComponent:Ki,selector:eo,exportAs:Ns,changeDetection:go,inputs:yo,outputs:_o,hostListeners:$o,hostProperties:Wi,hostAttributes:Qe,providers:an,viewProviders:_n,queries:Cn,guards:yi,viewQueries:is,entryComponents:ls,template:Zi,componentViewType:Eo,rendererType:Za,componentFactory:uu}=Xt;this.isHost=!!Ir,this.type=Ci,this.isComponent=Ki,this.selector=eo,this.exportAs=Ns,this.changeDetection=go,this.inputs=yo,this.outputs=_o,this.hostListeners=$o,this.hostProperties=Wi,this.hostAttributes=Qe,this.providers=Er(an),this.viewProviders=Er(_n),this.queries=Er(Cn),this.guards=yi,this.viewQueries=Er(is),this.entryComponents=Er(ls),this.template=Zi,this.componentViewType=Eo,this.rendererType=Za,this.componentFactory=uu}toSummary(){return{summaryKind:Vt.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};te.CompileDirectiveMetadata=Mn;var jr=class{constructor(Xt){let{type:Ir,name:Ci,pure:Ki}=Xt;this.type=Ir,this.name=Ci,this.pure=!!Ki}toSummary(){return{summaryKind:Vt.Pipe,type:this.type,name:this.name,pure:this.pure}}};te.CompilePipeMetadata=jr;var Nn=class{};te.CompileShallowModuleMetadata=Nn;var ri=class{constructor(Xt){let{type:Ir,providers:Ci,declaredDirectives:Ki,exportedDirectives:eo,declaredPipes:Ns,exportedPipes:go,entryComponents:yo,bootstrapComponents:_o,importedModules:$o,exportedModules:Wi,schemas:Qe,transitiveModule:an,id:_n}=Xt;this.type=Ir||null,this.declaredDirectives=Er(Ki),this.exportedDirectives=Er(eo),this.declaredPipes=Er(Ns),this.exportedPipes=Er(go),this.providers=Er(Ci),this.entryComponents=Er(yo),this.bootstrapComponents=Er(_o),this.importedModules=Er($o),this.exportedModules=Er(Wi),this.schemas=Er(Qe),this.id=_n||null,this.transitiveModule=an||null}toSummary(){let Xt=this.transitiveModule;return{summaryKind:Vt.NgModule,type:this.type,entryComponents:Xt.entryComponents,providers:Xt.providers,modules:Xt.modules,exportedDirectives:Xt.exportedDirectives,exportedPipes:Xt.exportedPipes}}};te.CompileNgModuleMetadata=ri;var ns=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Xt,Ir){this.providers.push({provider:Xt,module:Ir})}addDirective(Xt){this.directivesSet.has(Xt.reference)||(this.directivesSet.add(Xt.reference),this.directives.push(Xt))}addExportedDirective(Xt){this.exportedDirectivesSet.has(Xt.reference)||(this.exportedDirectivesSet.add(Xt.reference),this.exportedDirectives.push(Xt))}addPipe(Xt){this.pipesSet.has(Xt.reference)||(this.pipesSet.add(Xt.reference),this.pipes.push(Xt))}addExportedPipe(Xt){this.exportedPipesSet.has(Xt.reference)||(this.exportedPipesSet.add(Xt.reference),this.exportedPipes.push(Xt))}addModule(Xt){this.modulesSet.has(Xt.reference)||(this.modulesSet.add(Xt.reference),this.modules.push(Xt))}addEntryComponent(Xt){this.entryComponentsSet.has(Xt.componentType)||(this.entryComponentsSet.add(Xt.componentType),this.entryComponents.push(Xt))}};te.TransitiveCompileNgModuleMetadata=ns;function Er(Xt){return Xt||[]}var Zn=class{constructor(Xt,Ir){let{useClass:Ci,useValue:Ki,useExisting:eo,useFactory:Ns,deps:go,multi:yo}=Ir;this.token=Xt,this.useClass=Ci||null,this.useValue=Ki,this.useExisting=eo,this.useFactory=Ns||null,this.dependencies=go||null,this.multi=!!yo}};te.ProviderMeta=Zn;function Jn(Xt){return Xt.reduce((Ir,Ci)=>{let Ki=Array.isArray(Ci)?Jn(Ci):Ci;return Ir.concat(Ki)},[])}te.flatten=Jn;function xi(Xt){return Xt.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Ei(Xt,Ir,Ci){let Ki;return Ci.isInline?Ir.type.reference instanceof Re.StaticSymbol?Ki=`${Ir.type.reference.filePath}.${Ir.type.reference.name}.html`:Ki=`${ut(Xt)}/${ut(Ir.type)}.html`:Ki=Ci.templateUrl,Ir.type.reference instanceof Re.StaticSymbol?Ki:xi(Ki)}te.templateSourceUrl=Ei;function Me(Xt,Ir){let Ci=Xt.moduleUrl.split(/\/\\/g),Ki=Ci[Ci.length-1];return xi(`css/${Ir}${Ki}.ngstyle.js`)}te.sharedStylesheetJitUrl=Me;function st(Xt){return xi(`${ut(Xt.type)}/module.ngfactory.js`)}te.ngModuleJitUrl=st;function sr(Xt,Ir){return xi(`${ut(Xt)}/${ut(Ir.type)}.ngfactory.js`)}te.templateJitUrl=sr}}),Gi=Ge({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=pn(),ot=Oi(),at=class{constructor(it,wt,Vt,ar){this.file=it,this.offset=wt,this.line=Vt,this.col=ar}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(it){let wt=this.file.content,Vt=wt.length,ar=this.offset,tr=this.line,fr=this.col;for(;ar>0&&it<0;)if(ar--,it++,wt.charCodeAt(ar)==Re.$LF){tr--;let rn=wt.substr(0,ar-1).lastIndexOf(String.fromCharCode(Re.$LF));fr=rn>0?ar-rn:ar}else fr--;for(;ar<Vt&&it>0;){let rn=wt.charCodeAt(ar);ar++,it--,rn==Re.$LF?(tr++,fr=0):fr++}return new at(this.file,ar,tr,fr)}getContext(it,wt){let Vt=this.file.content,ar=this.offset;if(ar!=null){ar>Vt.length-1&&(ar=Vt.length-1);let tr=ar,fr=0,rn=0;for(;fr<it&&ar>0&&(ar--,fr++,!(Vt[ar]==`
`&&++rn==wt)););for(fr=0,rn=0;fr<it&&tr<Vt.length-1&&(tr++,fr++,!(Vt[tr]==`
`&&++rn==wt)););return{before:Vt.substring(ar,this.offset),after:Vt.substring(this.offset,tr+1)}}return null}};te.ParseLocation=at;var Pt=class{constructor(it,wt){this.content=it,this.url=wt}};te.ParseSourceFile=Pt;var qe=class{constructor(it,wt){let Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=it,this.end=wt,this.details=Vt}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};te.ParseSourceSpan=qe,te.EMPTY_PARSE_LOCATION=new at(new Pt("",""),0,0,0),te.EMPTY_SOURCE_SPAN=new qe(te.EMPTY_PARSE_LOCATION,te.EMPTY_PARSE_LOCATION);var ut;(function(it){it[it.WARNING=0]="WARNING",it[it.ERROR=1]="ERROR"})(ut=te.ParseErrorLevel||(te.ParseErrorLevel={}));var Lt=class{constructor(it,wt){let Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ut.ERROR;this.span=it,this.msg=wt,this.level=Vt}contextualMessage(){let it=this.span.start.getContext(100,3);return it?`${this.msg} ("${it.before}[${ut[this.level]} ->]${it.after}")`:this.msg}toString(){let it=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${it}`}};te.ParseError=Lt;function Gt(it,wt){let Vt=ot.identifierModuleUrl(wt),ar=Vt!=null?`in ${it} ${ot.identifierName(wt)} in ${Vt}`:`in ${it} ${ot.identifierName(wt)}`,tr=new Pt("",ar);return new qe(new at(tr,-1,-1,-1),new at(tr,-1,-1,-1))}te.typeSourceSpan=Gt;function tn(it,wt,Vt){let ar=`in ${it} ${wt} in ${Vt}`,tr=new Pt("",ar);return new qe(new at(tr,-1,-1,-1),new at(tr,-1,-1,-1))}te.r3JitTypeSourceSpan=tn}}),Ye=Ge({"src/utils/front-matter/parse.js"(te,Re){Oe();var ot=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function at(Pt){let qe=Pt.match(ot);if(!qe)return{content:Pt};let{startDelimiter:ut,language:Lt,value:Gt="",endDelimiter:tn}=qe.groups,it=Lt.trim()||"yaml";if(ut==="+++"&&(it="toml"),it!=="yaml"&&ut!==tn)return{content:Pt};let[wt]=qe;return{frontMatter:{type:"front-matter",lang:it,value:Gt,startDelimiter:ut,endDelimiter:tn,raw:wt.replace(/\n$/,"")},content:wt.replace(/[^\n]/g," ")+Pt.slice(wt.length)}}Re.exports=at}}),Es=Ge({"src/utils/get-last.js"(te,Re){Oe();var ot=at=>at[at.length-1];Re.exports=ot}}),ko=Ge({"src/common/parser-create-error.js"(te,Re){Oe();function ot(at,Pt){let qe=new SyntaxError(at+" ("+Pt.start.line+":"+Pt.start.column+")");return qe.loc=Pt,qe}Re.exports=ot}}),Ho={};Ct(Ho,{default:()=>vs});function vs(te){if(typeof te!="string")throw new TypeError("Expected a string");return te.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var po=dt({"node_modules/escape-string-regexp/index.js"(){Oe()}}),Cs=Ge({"node_modules/semver/internal/debug.js"(te,Re){Oe();var ot=typeof Cr=="object"&&Cr.env&&Cr.env.NODE_DEBUG&&/\bsemver\b/i.test(Cr.env.NODE_DEBUG)?function(){for(var at=arguments.length,Pt=new Array(at),qe=0;qe<at;qe++)Pt[qe]=arguments[qe];return console.error("SEMVER",...Pt)}:()=>{};Re.exports=ot}}),Jo=Ge({"node_modules/semver/internal/constants.js"(te,Re){Oe();var ot="2.0.0",at=256,Pt=Number.MAX_SAFE_INTEGER||9007199254740991,qe=16;Re.exports={SEMVER_SPEC_VERSION:ot,MAX_LENGTH:at,MAX_SAFE_INTEGER:Pt,MAX_SAFE_COMPONENT_LENGTH:qe}}}),oo=Ge({"node_modules/semver/internal/re.js"(te,Re){Oe();var{MAX_SAFE_COMPONENT_LENGTH:ot}=Jo(),at=Cs();te=Re.exports={};var Pt=te.re=[],qe=te.src=[],ut=te.t={},Lt=0,Gt=(tn,it,wt)=>{let Vt=Lt++;at(tn,Vt,it),ut[tn]=Vt,qe[Vt]=it,Pt[Vt]=new RegExp(it,wt?"g":void 0)};Gt("NUMERICIDENTIFIER","0|[1-9]\\d*"),Gt("NUMERICIDENTIFIERLOOSE","[0-9]+"),Gt("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Gt("MAINVERSION",`(${qe[ut.NUMERICIDENTIFIER]})\\.(${qe[ut.NUMERICIDENTIFIER]})\\.(${qe[ut.NUMERICIDENTIFIER]})`),Gt("MAINVERSIONLOOSE",`(${qe[ut.NUMERICIDENTIFIERLOOSE]})\\.(${qe[ut.NUMERICIDENTIFIERLOOSE]})\\.(${qe[ut.NUMERICIDENTIFIERLOOSE]})`),Gt("PRERELEASEIDENTIFIER",`(?:${qe[ut.NUMERICIDENTIFIER]}|${qe[ut.NONNUMERICIDENTIFIER]})`),Gt("PRERELEASEIDENTIFIERLOOSE",`(?:${qe[ut.NUMERICIDENTIFIERLOOSE]}|${qe[ut.NONNUMERICIDENTIFIER]})`),Gt("PRERELEASE",`(?:-(${qe[ut.PRERELEASEIDENTIFIER]}(?:\\.${qe[ut.PRERELEASEIDENTIFIER]})*))`),Gt("PRERELEASELOOSE",`(?:-?(${qe[ut.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${qe[ut.PRERELEASEIDENTIFIERLOOSE]})*))`),Gt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Gt("BUILD",`(?:\\+(${qe[ut.BUILDIDENTIFIER]}(?:\\.${qe[ut.BUILDIDENTIFIER]})*))`),Gt("FULLPLAIN",`v?${qe[ut.MAINVERSION]}${qe[ut.PRERELEASE]}?${qe[ut.BUILD]}?`),Gt("FULL",`^${qe[ut.FULLPLAIN]}$`),Gt("LOOSEPLAIN",`[v=\\s]*${qe[ut.MAINVERSIONLOOSE]}${qe[ut.PRERELEASELOOSE]}?${qe[ut.BUILD]}?`),Gt("LOOSE",`^${qe[ut.LOOSEPLAIN]}$`),Gt("GTLT","((?:<|>)?=?)"),Gt("XRANGEIDENTIFIERLOOSE",`${qe[ut.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Gt("XRANGEIDENTIFIER",`${qe[ut.NUMERICIDENTIFIER]}|x|X|\\*`),Gt("XRANGEPLAIN",`[v=\\s]*(${qe[ut.XRANGEIDENTIFIER]})(?:\\.(${qe[ut.XRANGEIDENTIFIER]})(?:\\.(${qe[ut.XRANGEIDENTIFIER]})(?:${qe[ut.PRERELEASE]})?${qe[ut.BUILD]}?)?)?`),Gt("XRANGEPLAINLOOSE",`[v=\\s]*(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:\\.(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:\\.(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:${qe[ut.PRERELEASELOOSE]})?${qe[ut.BUILD]}?)?)?`),Gt("XRANGE",`^${qe[ut.GTLT]}\\s*${qe[ut.XRANGEPLAIN]}$`),Gt("XRANGELOOSE",`^${qe[ut.GTLT]}\\s*${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("COERCE",`(^|[^\\d])(\\d{1,${ot}})(?:\\.(\\d{1,${ot}}))?(?:\\.(\\d{1,${ot}}))?(?:$|[^\\d])`),Gt("COERCERTL",qe[ut.COERCE],!0),Gt("LONETILDE","(?:~>?)"),Gt("TILDETRIM",`(\\s*)${qe[ut.LONETILDE]}\\s+`,!0),te.tildeTrimReplace="$1~",Gt("TILDE",`^${qe[ut.LONETILDE]}${qe[ut.XRANGEPLAIN]}$`),Gt("TILDELOOSE",`^${qe[ut.LONETILDE]}${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("LONECARET","(?:\\^)"),Gt("CARETTRIM",`(\\s*)${qe[ut.LONECARET]}\\s+`,!0),te.caretTrimReplace="$1^",Gt("CARET",`^${qe[ut.LONECARET]}${qe[ut.XRANGEPLAIN]}$`),Gt("CARETLOOSE",`^${qe[ut.LONECARET]}${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("COMPARATORLOOSE",`^${qe[ut.GTLT]}\\s*(${qe[ut.LOOSEPLAIN]})$|^$`),Gt("COMPARATOR",`^${qe[ut.GTLT]}\\s*(${qe[ut.FULLPLAIN]})$|^$`),Gt("COMPARATORTRIM",`(\\s*)${qe[ut.GTLT]}\\s*(${qe[ut.LOOSEPLAIN]}|${qe[ut.XRANGEPLAIN]})`,!0),te.comparatorTrimReplace="$1$2$3",Gt("HYPHENRANGE",`^\\s*(${qe[ut.XRANGEPLAIN]})\\s+-\\s+(${qe[ut.XRANGEPLAIN]})\\s*$`),Gt("HYPHENRANGELOOSE",`^\\s*(${qe[ut.XRANGEPLAINLOOSE]})\\s+-\\s+(${qe[ut.XRANGEPLAINLOOSE]})\\s*$`),Gt("STAR","(<|>)?=?\\s*\\*"),Gt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Gt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Js=Ge({"node_modules/semver/internal/parse-options.js"(te,Re){Oe();var ot=["includePrerelease","loose","rtl"],at=Pt=>Pt?typeof Pt!="object"?{loose:!0}:ot.filter(qe=>Pt[qe]).reduce((qe,ut)=>(qe[ut]=!0,qe),{}):{};Re.exports=at}}),_u=Ge({"node_modules/semver/internal/identifiers.js"(te,Re){Oe();var ot=/^[0-9]+$/,at=(qe,ut)=>{let Lt=ot.test(qe),Gt=ot.test(ut);return Lt&&Gt&&(qe=+qe,ut=+ut),qe===ut?0:Lt&&!Gt?-1:Gt&&!Lt?1:qe<ut?-1:1},Pt=(qe,ut)=>at(ut,qe);Re.exports={compareIdentifiers:at,rcompareIdentifiers:Pt}}}),So=Ge({"node_modules/semver/classes/semver.js"(te,Re){Oe();var ot=Cs(),{MAX_LENGTH:at,MAX_SAFE_INTEGER:Pt}=Jo(),{re:qe,t:ut}=oo(),Lt=Js(),{compareIdentifiers:Gt}=_u(),tn=class{constructor(it,wt){if(wt=Lt(wt),it instanceof tn){if(it.loose===!!wt.loose&&it.includePrerelease===!!wt.includePrerelease)return it;it=it.version}else if(typeof it!="string")throw new TypeError(`Invalid Version: ${it}`);if(it.length>at)throw new TypeError(`version is longer than ${at} characters`);ot("SemVer",it,wt),this.options=wt,this.loose=!!wt.loose,this.includePrerelease=!!wt.includePrerelease;let Vt=it.trim().match(wt.loose?qe[ut.LOOSE]:qe[ut.FULL]);if(!Vt)throw new TypeError(`Invalid Version: ${it}`);if(this.raw=it,this.major=+Vt[1],this.minor=+Vt[2],this.patch=+Vt[3],this.major>Pt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pt||this.patch<0)throw new TypeError("Invalid patch version");Vt[4]?this.prerelease=Vt[4].split(".").map(ar=>{if(/^[0-9]+$/.test(ar)){let tr=+ar;if(tr>=0&&tr<Pt)return tr}return ar}):this.prerelease=[],this.build=Vt[5]?Vt[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(it){if(ot("SemVer.compare",this.version,this.options,it),!(it instanceof tn)){if(typeof it=="string"&&it===this.version)return 0;it=new tn(it,this.options)}return it.version===this.version?0:this.compareMain(it)||this.comparePre(it)}compareMain(it){return it instanceof tn||(it=new tn(it,this.options)),Gt(this.major,it.major)||Gt(this.minor,it.minor)||Gt(this.patch,it.patch)}comparePre(it){if(it instanceof tn||(it=new tn(it,this.options)),this.prerelease.length&&!it.prerelease.length)return-1;if(!this.prerelease.length&&it.prerelease.length)return 1;if(!this.prerelease.length&&!it.prerelease.length)return 0;let wt=0;do{let Vt=this.prerelease[wt],ar=it.prerelease[wt];if(ot("prerelease compare",wt,Vt,ar),Vt===void 0&&ar===void 0)return 0;if(ar===void 0)return 1;if(Vt===void 0)return-1;if(Vt!==ar)return Gt(Vt,ar)}while(++wt)}compareBuild(it){it instanceof tn||(it=new tn(it,this.options));let wt=0;do{let Vt=this.build[wt],ar=it.build[wt];if(ot("prerelease compare",wt,Vt,ar),Vt===void 0&&ar===void 0)return 0;if(ar===void 0)return 1;if(Vt===void 0)return-1;if(Vt!==ar)return Gt(Vt,ar)}while(++wt)}inc(it,wt){switch(it){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",wt);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",wt);break;case"prepatch":this.prerelease.length=0,this.inc("patch",wt),this.inc("pre",wt);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",wt),this.inc("pre",wt);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let Vt=this.prerelease.length;for(;--Vt>=0;)typeof this.prerelease[Vt]=="number"&&(this.prerelease[Vt]++,Vt=-2);Vt===-1&&this.prerelease.push(0)}wt&&(Gt(this.prerelease[0],wt)===0?isNaN(this.prerelease[1])&&(this.prerelease=[wt,0]):this.prerelease=[wt,0]);break;default:throw new Error(`invalid increment argument: ${it}`)}return this.format(),this.raw=this.version,this}};Re.exports=tn}}),Zs=Ge({"node_modules/semver/functions/compare.js"(te,Re){Oe();var ot=So(),at=(Pt,qe,ut)=>new ot(Pt,ut).compare(new ot(qe,ut));Re.exports=at}}),fo=Ge({"node_modules/semver/functions/lt.js"(te,Re){Oe();var ot=Zs(),at=(Pt,qe,ut)=>ot(Pt,qe,ut)<0;Re.exports=at}}),wl=Ge({"node_modules/semver/functions/gte.js"(te,Re){Oe();var ot=Zs(),at=(Pt,qe,ut)=>ot(Pt,qe,ut)>=0;Re.exports=at}}),Al=Ge({"src/utils/arrayify.js"(te,Re){Oe(),Re.exports=(ot,at)=>Object.entries(ot).map(Pt=>{let[qe,ut]=Pt;return Object.assign({[at]:qe},ut)})}}),$u=Ge({"package.json"(te,Re){Re.exports={version:"2.8.8"}}}),Tl=Ge({"node_modules/outdent/lib/index.js"(te,Re){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),te.outdent=void 0;function ot(){for(var jr=[],Nn=0;Nn<arguments.length;Nn++)jr[Nn]=arguments[Nn]}function at(){return typeof WeakMap<"u"?new WeakMap:Pt()}function Pt(){return{add:ot,delete:ot,get:ot,set:ot,has:function(jr){return!1}}}var qe=Object.prototype.hasOwnProperty,ut=function(jr,Nn){return qe.call(jr,Nn)};function Lt(jr,Nn){for(var ri in Nn)ut(Nn,ri)&&(jr[ri]=Nn[ri]);return jr}var Gt=/^[ \t]*(?:\r\n|\r|\n)/,tn=/(?:\r\n|\r|\n)[ \t]*$/,it=/^(?:[\r\n]|$)/,wt=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,Vt=/^[ \t]*[\r\n][ \t\r\n]*$/;function ar(jr,Nn,ri){var ns=0,Er=jr[0].match(wt);Er&&(ns=Er[1].length);var Zn="(\\r\\n|\\r|\\n).{0,"+ns+"}",Jn=new RegExp(Zn,"g");Nn&&(jr=jr.slice(1));var xi=ri.newline,Ei=ri.trimLeadingNewline,Me=ri.trimTrailingNewline,st=typeof xi=="string",sr=jr.length,Xt=jr.map(function(Ir,Ci){return Ir=Ir.replace(Jn,"$1"),Ci===0&&Ei&&(Ir=Ir.replace(Gt,"")),Ci===sr-1&&Me&&(Ir=Ir.replace(tn,"")),st&&(Ir=Ir.replace(/\r\n|\n|\r/g,function(Ki){return xi})),Ir});return Xt}function tr(jr,Nn){for(var ri="",ns=0,Er=jr.length;ns<Er;ns++)ri+=jr[ns],ns<Er-1&&(ri+=Nn[ns]);return ri}function fr(jr){return ut(jr,"raw")&&ut(jr,"length")}function rn(jr){var Nn=at(),ri=at();function ns(Zn){for(var Jn=[],xi=1;xi<arguments.length;xi++)Jn[xi-1]=arguments[xi];if(fr(Zn)){var Ei=Zn,Me=(Jn[0]===ns||Jn[0]===Mn)&&Vt.test(Ei[0])&&it.test(Ei[1]),st=Me?ri:Nn,sr=st.get(Ei);if(sr||(sr=ar(Ei,Me,jr),st.set(Ei,sr)),Jn.length===0)return sr[0];var Xt=tr(sr,Me?Jn.slice(1):Jn);return Xt}else return rn(Lt(Lt({},jr),Zn||{}))}var Er=Lt(ns,{string:function(Zn){return ar([Zn],!1,jr)[0]}});return Er}var Mn=rn({trimLeadingNewline:!0,trimTrailingNewline:!0});if(te.outdent=Mn,te.default=Mn,typeof Re<"u")try{Re.exports=Mn,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=Mn,Mn.outdent=Mn}catch{}}}),su=Ge({"src/main/core-options.js"(te,Re){Oe();var{outdent:ot}=Tl(),at="Config",Pt="Editor",qe="Format",ut="Other",Lt="Output",Gt="Global",tn="Special",it={cursorOffset:{since:"1.4.0",category:tn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:ot`
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Pt},endOfLine:{since:"1.15.0",category:Gt,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:ot`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:tn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:ut,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:tn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:ut},parser:{since:"0.0.10",category:Gt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:wt=>typeof wt=="string"||typeof wt=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Gt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:wt=>typeof wt=="string"||typeof wt=="object",cliName:"plugin",cliCategory:at},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Gt,description:ot`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:wt=>typeof wt=="string"||typeof wt=="object",cliName:"plugin-search-dir",cliCategory:at},printWidth:{since:"0.0.0",category:Gt,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:tn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ot`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Pt},rangeStart:{since:"1.4.0",category:tn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ot`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Pt},requirePragma:{since:"1.7.0",category:tn,type:"boolean",default:!1,description:ot`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:ut},tabWidth:{type:"int",category:Gt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Gt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Gt,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};Re.exports={CATEGORY_CONFIG:at,CATEGORY_EDITOR:Pt,CATEGORY_FORMAT:qe,CATEGORY_OTHER:ut,CATEGORY_OUTPUT:Lt,CATEGORY_GLOBAL:Gt,CATEGORY_SPECIAL:tn,options:it}}}),$a=Ge({"src/main/support.js"(te,Re){Oe();var ot={compare:Zs(),lt:fo(),gte:wl()},at=Al(),Pt=$u().version,qe=su().options;function ut(){let{plugins:Gt=[],showUnreleased:tn=!1,showDeprecated:it=!1,showInternal:wt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Vt=Pt.split("-",1)[0],ar=Gt.flatMap(jr=>jr.languages||[]).filter(fr),tr=at(Object.assign({},...Gt.map(jr=>{let{options:Nn}=jr;return Nn}),qe),"name").filter(jr=>fr(jr)&&rn(jr)).sort((jr,Nn)=>jr.name===Nn.name?0:jr.name<Nn.name?-1:1).map(Mn).map(jr=>{jr=Object.assign({},jr),Array.isArray(jr.default)&&(jr.default=jr.default.length===1?jr.default[0].value:jr.default.filter(fr).sort((ri,ns)=>ot.compare(ns.since,ri.since))[0].value),Array.isArray(jr.choices)&&(jr.choices=jr.choices.filter(ri=>fr(ri)&&rn(ri)),jr.name==="parser"&&Lt(jr,ar,Gt));let Nn=Object.fromEntries(Gt.filter(ri=>ri.defaultOptions&&ri.defaultOptions[jr.name]!==void 0).map(ri=>[ri.name,ri.defaultOptions[jr.name]]));return Object.assign(Object.assign({},jr),{},{pluginDefaults:Nn})});return{languages:ar,options:tr};function fr(jr){return tn||!("since"in jr)||jr.since&&ot.gte(Vt,jr.since)}function rn(jr){return it||!("deprecated"in jr)||jr.deprecated&&ot.lt(Vt,jr.deprecated)}function Mn(jr){return wt?jr:Ze(jr,Ie)}}function Lt(Gt,tn,it){let wt=new Set(Gt.choices.map(Vt=>Vt.value));for(let Vt of tn)if(Vt.parsers){for(let ar of Vt.parsers)if(!wt.has(ar)){wt.add(ar);let tr=it.find(rn=>rn.parsers&&rn.parsers[ar]),fr=Vt.name;tr&&tr.name&&(fr+=` (plugin: ${tr.name})`),Gt.choices.push({value:ar,description:fr})}}}Re.exports={getSupportInfo:ut}}}),uc=Ge({"src/utils/is-non-empty-array.js"(te,Re){Oe();function ot(at){return Array.isArray(at)&&at.length>0}Re.exports=ot}});function lc(){let{onlyFirst:te=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(Re,te?void 0:"g")}var Ln=dt({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Oe()}});function Pl(te){if(typeof te!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof te}\``);return te.replace(lc(),"")}var cc=dt({"node_modules/strip-ansi/index.js"(){Oe(),Ln()}});function hc(te){return Number.isInteger(te)?te>=4352&&(te<=4447||te===9001||te===9002||11904<=te&&te<=12871&&te!==12351||12880<=te&&te<=19903||19968<=te&&te<=42182||43360<=te&&te<=43388||44032<=te&&te<=55203||63744<=te&&te<=64255||65040<=te&&te<=65049||65072<=te&&te<=65131||65281<=te&&te<=65376||65504<=te&&te<=65510||110592<=te&&te<=110593||127488<=te&&te<=127569||131072<=te&&te<=262141):!1}var kl=dt({"node_modules/is-fullwidth-code-point/index.js"(){Oe()}}),Bu=Ge({"node_modules/emoji-regex/index.js"(te,Re){Oe(),Re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Fl={};Ct(Fl,{default:()=>uh});function uh(te){if(typeof te!="string"||te.length===0||(te=Pl(te),te.length===0))return 0;te=te.replace((0,pc.default)()," ");let Re=0;for(let ot=0;ot<te.length;ot++){let at=te.codePointAt(ot);at<=31||at>=127&&at<=159||at>=768&&at<=879||(at>65535&&ot++,Re+=hc(at)?2:1)}return Re}var pc,fc=dt({"node_modules/string-width/index.js"(){Oe(),cc(),kl(),pc=er(Bu())}}),Oa=Ge({"src/utils/get-string-width.js"(te,Re){Oe();var ot=(fc(),Or(Fl)).default,at=/[^\x20-\x7F]/;function Pt(qe){return qe?at.test(qe)?ot(qe):qe.length:0}Re.exports=Pt}}),Nu=Ge({"src/utils/text/skip.js"(te,Re){Oe();function ot(Lt){return(Gt,tn,it)=>{let wt=it&&it.backwards;if(tn===!1)return!1;let{length:Vt}=Gt,ar=tn;for(;ar>=0&&ar<Vt;){let tr=Gt.charAt(ar);if(Lt instanceof RegExp){if(!Lt.test(tr))return ar}else if(!Lt.includes(tr))return ar;wt?ar--:ar++}return ar===-1||ar===Vt?ar:!1}}var at=ot(/\s/),Pt=ot(" "),qe=ot(",; "),ut=ot(/[^\n\r]/);Re.exports={skipWhitespace:at,skipSpaces:Pt,skipToLineEnd:qe,skipEverythingButNewLine:ut}}}),xa=Ge({"src/utils/text/skip-inline-comment.js"(te,Re){Oe();function ot(at,Pt){if(Pt===!1)return!1;if(at.charAt(Pt)==="/"&&at.charAt(Pt+1)==="*"){for(let qe=Pt+2;qe<at.length;++qe)if(at.charAt(qe)==="*"&&at.charAt(qe+1)==="/")return qe+2}return Pt}Re.exports=ot}}),dc=Ge({"src/utils/text/skip-trailing-comment.js"(te,Re){Oe();var{skipEverythingButNewLine:ot}=Nu();function at(Pt,qe){return qe===!1?!1:Pt.charAt(qe)==="/"&&Pt.charAt(qe+1)==="/"?ot(Pt,qe):qe}Re.exports=at}}),mc=Ge({"src/utils/text/skip-newline.js"(te,Re){Oe();function ot(at,Pt,qe){let ut=qe&&qe.backwards;if(Pt===!1)return!1;let Lt=at.charAt(Pt);if(ut){if(at.charAt(Pt-1)==="\r"&&Lt===`
`)return Pt-2;if(Lt===`
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Pt-1}else{if(Lt==="\r"&&at.charAt(Pt+1)===`
`)return Pt+2;if(Lt===`
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Pt+1}return Pt}Re.exports=ot}}),lh=Ge({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(te,Re){Oe();var ot=xa(),at=mc(),Pt=dc(),{skipSpaces:qe}=Nu();function ut(Lt,Gt){let tn=null,it=Gt;for(;it!==tn;)tn=it,it=qe(Lt,it),it=ot(Lt,it),it=Pt(Lt,it),it=at(Lt,it);return it}Re.exports=ut}}),Iu=Ge({"src/common/util.js"(te,Re){Oe();var{default:ot}=(po(),Or(Ho)),at=Es(),{getSupportInfo:Pt}=$a(),qe=uc(),ut=Oa(),{skipWhitespace:Lt,skipSpaces:Gt,skipToLineEnd:tn,skipEverythingButNewLine:it}=Nu(),wt=xa(),Vt=dc(),ar=mc(),tr=lh(),fr=Qe=>Qe[Qe.length-2];function rn(Qe){return(an,_n,Cn)=>{let yi=Cn&&Cn.backwards;if(_n===!1)return!1;let{length:is}=an,ls=_n;for(;ls>=0&&ls<is;){let Zi=an.charAt(ls);if(Qe instanceof RegExp){if(!Qe.test(Zi))return ls}else if(!Qe.includes(Zi))return ls;yi?ls--:ls++}return ls===-1||ls===is?ls:!1}}function Mn(Qe,an){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Cn=Gt(Qe,_n.backwards?an-1:an,_n),yi=ar(Qe,Cn,_n);return Cn!==yi}function jr(Qe,an,_n){for(let Cn=an;Cn<_n;++Cn)if(Qe.charAt(Cn)===`
`)return!0;return!1}function Nn(Qe,an,_n){let Cn=_n(an)-1;Cn=Gt(Qe,Cn,{backwards:!0}),Cn=ar(Qe,Cn,{backwards:!0}),Cn=Gt(Qe,Cn,{backwards:!0});let yi=ar(Qe,Cn,{backwards:!0});return Cn!==yi}function ri(Qe,an){let _n=null,Cn=an;for(;Cn!==_n;)_n=Cn,Cn=tn(Qe,Cn),Cn=wt(Qe,Cn),Cn=Gt(Qe,Cn);return Cn=Vt(Qe,Cn),Cn=ar(Qe,Cn),Cn!==!1&&Mn(Qe,Cn)}function ns(Qe,an,_n){return ri(Qe,_n(an))}function Er(Qe,an,_n){return tr(Qe,_n(an))}function Zn(Qe,an,_n){return Qe.charAt(Er(Qe,an,_n))}function Jn(Qe,an){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Gt(Qe,_n.backwards?an-1:an,_n)!==an}function xi(Qe,an){let _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Cn=0;for(let yi=_n;yi<Qe.length;++yi)Qe[yi]===" "?Cn=Cn+an-Cn%an:Cn++;return Cn}function Ei(Qe,an){let _n=Qe.lastIndexOf(`
`);return _n===-1?0:xi(Qe.slice(_n+1).match(/^[\t ]*/)[0],an)}function Me(Qe,an){let _n={quote:'"',regex:/"/g,escaped:"&quot;"},Cn={quote:"'",regex:/'/g,escaped:"&apos;"},yi=an==="'"?Cn:_n,is=yi===Cn?_n:Cn,ls=yi;if(Qe.includes(yi.quote)||Qe.includes(is.quote)){let Zi=(Qe.match(yi.regex)||[]).length,Eo=(Qe.match(is.regex)||[]).length;ls=Zi>Eo?is:yi}return ls}function st(Qe,an){let _n=Qe.slice(1,-1),Cn=an.parser==="json"||an.parser==="json5"&&an.quoteProps==="preserve"&&!an.singleQuote?'"':an.__isInHtmlAttribute?"'":Me(_n,an.singleQuote?"'":'"').quote;return sr(_n,Cn,!(an.parser==="css"||an.parser==="less"||an.parser==="scss"||an.__embeddedInHtml))}function sr(Qe,an,_n){let Cn=an==='"'?"'":'"',yi=/\\(.)|(["'])/gs,is=Qe.replace(yi,(ls,Zi,Eo)=>Zi===Cn?Zi:Eo===an?"\\"+Eo:Eo||(_n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Zi)?Zi:"\\"+Zi));return an+is+an}function Xt(Qe){return Qe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Ir(Qe,an){let _n=Qe.match(new RegExp(`(${ot(an)})+`,"g"));return _n===null?0:_n.reduce((Cn,yi)=>Math.max(Cn,yi.length/an.length),0)}function Ci(Qe,an){let _n=Qe.match(new RegExp(`(${ot(an)})+`,"g"));if(_n===null)return 0;let Cn=new Map,yi=0;for(let is of _n){let ls=is.length/an.length;Cn.set(ls,!0),ls>yi&&(yi=ls)}for(let is=1;is<yi;is++)if(!Cn.get(is))return is;return yi+1}function Ki(Qe,an){(Qe.comments||(Qe.comments=[])).push(an),an.printed=!1,an.nodeDescription=Wi(Qe)}function eo(Qe,an){an.leading=!0,an.trailing=!1,Ki(Qe,an)}function Ns(Qe,an,_n){an.leading=!1,an.trailing=!1,_n&&(an.marker=_n),Ki(Qe,an)}function go(Qe,an){an.leading=!1,an.trailing=!0,Ki(Qe,an)}function yo(Qe,an){let{languages:_n}=Pt({plugins:an.plugins}),Cn=_n.find(yi=>{let{name:is}=yi;return is.toLowerCase()===Qe})||_n.find(yi=>{let{aliases:is}=yi;return Array.isArray(is)&&is.includes(Qe)})||_n.find(yi=>{let{extensions:is}=yi;return Array.isArray(is)&&is.includes(`.${Qe}`)});return Cn&&Cn.parsers[0]}function _o(Qe){return Qe&&Qe.type==="front-matter"}function $o(Qe){let an=new WeakMap;return function(_n){return an.has(_n)||an.set(_n,Symbol(Qe)),an.get(_n)}}function Wi(Qe){let an=Qe.type||Qe.kind||"(unknown type)",_n=String(Qe.name||Qe.id&&(typeof Qe.id=="object"?Qe.id.name:Qe.id)||Qe.key&&(typeof Qe.key=="object"?Qe.key.name:Qe.key)||Qe.value&&(typeof Qe.value=="object"?"":String(Qe.value))||Qe.operator||"");return _n.length>20&&(_n=_n.slice(0,19)+"…"),an+(_n?" "+_n:"")}Re.exports={inferParserByLanguage:yo,getStringWidth:ut,getMaxContinuousCount:Ir,getMinNotPresentContinuousCount:Ci,getPenultimate:fr,getLast:at,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:tr,getNextNonSpaceNonCommentCharacterIndex:Er,getNextNonSpaceNonCommentCharacter:Zn,skip:rn,skipWhitespace:Lt,skipSpaces:Gt,skipToLineEnd:tn,skipEverythingButNewLine:it,skipInlineComment:wt,skipTrailingComment:Vt,skipNewline:ar,isNextLineEmptyAfterIndex:ri,isNextLineEmpty:ns,isPreviousLineEmpty:Nn,hasNewline:Mn,hasNewlineInRange:jr,hasSpaces:Jn,getAlignmentSize:xi,getIndentSize:Ei,getPreferredQuote:Me,printString:st,printNumber:Xt,makeString:sr,addLeadingComment:eo,addDanglingComment:Ns,addTrailingComment:go,isFrontMatterNode:_o,isNonEmptyArray:qe,createGroupIdMapper:$o}}}),Mu=Ge({"vendors/html-tag-names.json"(te,Re){Re.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),mo=Ge({"src/language-html/utils/array-to-map.js"(te,Re){Oe();function ot(at){let Pt=Object.create(null);for(let qe of at)Pt[qe]=!0;return Pt}Re.exports=ot}}),Ko=Ge({"src/language-html/utils/html-tag-names.js"(te,Re){Oe();var{htmlTagNames:ot}=Mu(),at=mo(),Pt=at(ot);Re.exports=Pt}}),ea=Ge({"vendors/html-element-attributes.json"(te,Re){Re.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),Qo=Ge({"src/language-html/utils/map-object.js"(te,Re){Oe();function ot(at,Pt){let qe=Object.create(null);for(let[ut,Lt]of Object.entries(at))qe[ut]=Pt(Lt,ut);return qe}Re.exports=ot}}),Fo=Ge({"src/language-html/utils/html-elements-attributes.js"(te,Re){Oe();var{htmlElementAttributes:ot}=ea(),at=Qo(),Pt=mo(),qe=at(ot,Pt);Re.exports=qe}}),fi=Ge({"src/language-html/utils/is-unknown-namespace.js"(te,Re){Oe();function ot(at){return at.type==="element"&&!at.hasExplicitNamespace&&!["html","svg"].includes(at.namespace)}Re.exports=ot}}),Ba=Ge({"src/language-html/pragma.js"(te,Re){Oe();function ot(Pt){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(Pt)}function at(Pt){return`<!-- @format -->
`+Pt.replace(/^\s*\n/,"")}Re.exports={hasPragma:ot,insertPragma:at}}}),_l=Ge({"src/language-html/ast.js"(te,Re){Oe();var ot={attrs:!0,children:!0},at=new Set(["parent"]),Pt=class{constructor(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Lt of new Set([...at,...Object.keys(ut)]))this.setProperty(Lt,ut[Lt])}setProperty(ut,Lt){if(this[ut]!==Lt){if(ut in ot&&(Lt=Lt.map(Gt=>this.createChild(Gt))),!at.has(ut)){this[ut]=Lt;return}Object.defineProperty(this,ut,{value:Lt,enumerable:!1,configurable:!0})}}map(ut){let Lt;for(let Gt in ot){let tn=this[Gt];if(tn){let it=qe(tn,wt=>wt.map(ut));Lt!==tn&&(Lt||(Lt=new Pt({parent:this.parent})),Lt.setProperty(Gt,it))}}if(Lt)for(let Gt in this)Gt in ot||(Lt[Gt]=this[Gt]);return ut(Lt||this)}walk(ut){for(let Lt in ot){let Gt=this[Lt];if(Gt)for(let tn=0;tn<Gt.length;tn++)Gt[tn].walk(ut)}ut(this)}createChild(ut){let Lt=ut instanceof Pt?ut.clone():new Pt(ut);return Lt.setProperty("parent",this),Lt}insertChildBefore(ut,Lt){this.children.splice(this.children.indexOf(ut),0,this.createChild(Lt))}removeChild(ut){this.children.splice(this.children.indexOf(ut),1)}replaceChild(ut,Lt){this.children[this.children.indexOf(ut)]=this.createChild(Lt)}clone(){return new Pt(this)}get firstChild(){var ut;return(ut=this.children)===null||ut===void 0?void 0:ut[0]}get lastChild(){var ut;return(ut=this.children)===null||ut===void 0?void 0:ut[this.children.length-1]}get prev(){var ut;return(ut=this.parent)===null||ut===void 0?void 0:ut.children[this.parent.children.indexOf(this)-1]}get next(){var ut;return(ut=this.parent)===null||ut===void 0?void 0:ut.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(ut=>[ut.fullName,ut.value]))}};function qe(ut,Lt){let Gt=ut.map(Lt);return Gt.some((tn,it)=>tn!==ut[it])?Gt:ut}Re.exports={Node:Pt}}}),ou=Ge({"src/language-html/conditional-comment.js"(te,Re){Oe();var{ParseSourceSpan:ot}=Gi(),at=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:qe},{regex:/^\[if([^\]]*)]><!$/,parse:ut},{regex:/^<!\s*\[endif]$/,parse:Lt}];function Pt(Gt,tn){if(Gt.value)for(let{regex:it,parse:wt}of at){let Vt=Gt.value.match(it);if(Vt)return wt(Gt,tn,Vt)}return null}function qe(Gt,tn,it){let[,wt,Vt,ar]=it,tr=4+wt.length,fr=Gt.sourceSpan.start.moveBy(tr),rn=fr.moveBy(ar.length),[Mn,jr]=(()=>{try{return[!0,tn(ar,fr).children]}catch{return[!1,[{type:"text",value:ar,sourceSpan:new ot(fr,rn)}]]}})();return{type:"ieConditionalComment",complete:Mn,children:jr,condition:Vt.trim().replace(/\s+/g," "),sourceSpan:Gt.sourceSpan,startSourceSpan:new ot(Gt.sourceSpan.start,fr),endSourceSpan:new ot(rn,Gt.sourceSpan.end)}}function ut(Gt,tn,it){let[,wt]=it;return{type:"ieConditionalStartComment",condition:wt.trim().replace(/\s+/g," "),sourceSpan:Gt.sourceSpan}}function Lt(Gt){return{type:"ieConditionalEndComment",sourceSpan:Gt.sourceSpan}}Re.exports={parseIeConditionalComment:Pt}}}),Ru=Ge({"src/language-html/loc.js"(te,Re){Oe();function ot(Pt){return Pt.sourceSpan.start.offset}function at(Pt){return Pt.sourceSpan.end.offset}Re.exports={locStart:ot,locEnd:at}}}),Na=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),function(Lt){Lt[Lt.RAW_TEXT=0]="RAW_TEXT",Lt[Lt.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Lt[Lt.PARSABLE_DATA=2]="PARSABLE_DATA"}(te.TagContentType||(te.TagContentType={}));function Re(Lt){if(Lt[0]!=":")return[null,Lt];let Gt=Lt.indexOf(":",1);if(Gt==-1)throw new Error(`Unsupported format "${Lt}" expecting ":namespace:name"`);return[Lt.slice(1,Gt),Lt.slice(Gt+1)]}te.splitNsName=Re;function ot(Lt){return Re(Lt)[1]==="ng-container"}te.isNgContainer=ot;function at(Lt){return Re(Lt)[1]==="ng-content"}te.isNgContent=at;function Pt(Lt){return Re(Lt)[1]==="ng-template"}te.isNgTemplate=Pt;function qe(Lt){return Lt===null?null:Re(Lt)[0]}te.getNsPrefix=qe;function ut(Lt,Gt){return Lt?`:${Lt}:${Gt}`:Gt}te.mergeNsAndName=ut,te.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"𝔥",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},te.NGSP_UNICODE="",te.NAMED_ENTITIES.ngsp=te.NGSP_UNICODE}}),Qu=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Na(),ot=class{constructor(){let{closedByChildren:ut,implicitNamespacePrefix:Lt,contentType:Gt=Re.TagContentType.PARSABLE_DATA,closedByParent:tn=!1,isVoid:it=!1,ignoreFirstLf:wt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,ut&&ut.length>0&&ut.forEach(Vt=>this.closedByChildren[Vt]=!0),this.isVoid=it,this.closedByParent=tn||it,this.implicitNamespacePrefix=Lt||null,this.contentType=Gt,this.ignoreFirstLf=wt}isClosedByChild(ut){return this.isVoid||ut.toLowerCase()in this.closedByChildren}};te.HtmlTagDefinition=ot;var at,Pt;function qe(ut){return Pt||(at=new ot,Pt={base:new ot({isVoid:!0}),meta:new ot({isVoid:!0}),area:new ot({isVoid:!0}),embed:new ot({isVoid:!0}),link:new ot({isVoid:!0}),img:new ot({isVoid:!0}),input:new ot({isVoid:!0}),param:new ot({isVoid:!0}),hr:new ot({isVoid:!0}),br:new ot({isVoid:!0}),source:new ot({isVoid:!0}),track:new ot({isVoid:!0}),wbr:new ot({isVoid:!0}),p:new ot({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new ot({closedByChildren:["tbody","tfoot"]}),tbody:new ot({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new ot({closedByChildren:["tbody"],closedByParent:!0}),tr:new ot({closedByChildren:["tr"],closedByParent:!0}),td:new ot({closedByChildren:["td","th"],closedByParent:!0}),th:new ot({closedByChildren:["td","th"],closedByParent:!0}),col:new ot({isVoid:!0}),svg:new ot({implicitNamespacePrefix:"svg"}),math:new ot({implicitNamespacePrefix:"math"}),li:new ot({closedByChildren:["li"],closedByParent:!0}),dt:new ot({closedByChildren:["dt","dd"]}),dd:new ot({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new ot({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new ot({closedByChildren:["optgroup"],closedByParent:!0}),option:new ot({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new ot({ignoreFirstLf:!0}),listing:new ot({ignoreFirstLf:!0}),style:new ot({contentType:Re.TagContentType.RAW_TEXT}),script:new ot({contentType:Re.TagContentType.RAW_TEXT}),title:new ot({contentType:Re.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new ot({contentType:Re.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Pt[ut]||at}te.getHtmlTagDefinition=qe}}),ju=Ge({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=class{constructor(ot){let at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=ot,this.position=at}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(ot){return ot&&this.path[this.path.indexOf(ot)-1]}childOf(ot){return this.path[this.path.indexOf(ot)+1]}first(ot){for(let at=this.path.length-1;at>=0;at--){let Pt=this.path[at];if(Pt instanceof ot)return Pt}}push(ot){this.path.push(ot)}pop(){return this.path.pop()}};te.AstPath=Re}}),au=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=ju(),ot=class{constructor(tr,fr,rn){this.value=tr,this.sourceSpan=fr,this.i18n=rn,this.type="text"}visit(tr,fr){return tr.visitText(this,fr)}};te.Text=ot;var at=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="cdata"}visit(tr,fr){return tr.visitCdata(this,fr)}};te.CDATA=at;var Pt=class{constructor(tr,fr,rn,Mn,jr,Nn){this.switchValue=tr,this.type=fr,this.cases=rn,this.sourceSpan=Mn,this.switchValueSourceSpan=jr,this.i18n=Nn}visit(tr,fr){return tr.visitExpansion(this,fr)}};te.Expansion=Pt;var qe=class{constructor(tr,fr,rn,Mn,jr){this.value=tr,this.expression=fr,this.sourceSpan=rn,this.valueSourceSpan=Mn,this.expSourceSpan=jr}visit(tr,fr){return tr.visitExpansionCase(this,fr)}};te.ExpansionCase=qe;var ut=class{constructor(tr,fr,rn){let Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,jr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=tr,this.value=fr,this.sourceSpan=rn,this.valueSpan=Mn,this.nameSpan=jr,this.i18n=Nn,this.type="attribute"}visit(tr,fr){return tr.visitAttribute(this,fr)}};te.Attribute=ut;var Lt=class{constructor(tr,fr,rn,Mn){let jr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,ri=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ns=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=tr,this.attrs=fr,this.children=rn,this.sourceSpan=Mn,this.startSourceSpan=jr,this.endSourceSpan=Nn,this.nameSpan=ri,this.i18n=ns,this.type="element"}visit(tr,fr){return tr.visitElement(this,fr)}};te.Element=Lt;var Gt=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="comment"}visit(tr,fr){return tr.visitComment(this,fr)}};te.Comment=Gt;var tn=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="docType"}visit(tr,fr){return tr.visitDocType(this,fr)}};te.DocType=tn;function it(tr,fr){let rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Mn=[],jr=tr.visit?Nn=>tr.visit(Nn,rn)||Nn.visit(tr,rn):Nn=>Nn.visit(tr,rn);return fr.forEach(Nn=>{let ri=jr(Nn);ri&&Mn.push(ri)}),Mn}te.visitAll=it;var wt=class{constructor(){}visitElement(tr,fr){this.visitChildren(fr,rn=>{rn(tr.attrs),rn(tr.children)})}visitAttribute(tr,fr){}visitText(tr,fr){}visitCdata(tr,fr){}visitComment(tr,fr){}visitDocType(tr,fr){}visitExpansion(tr,fr){return this.visitChildren(fr,rn=>{rn(tr.cases)})}visitExpansionCase(tr,fr){}visitChildren(tr,fr){let rn=[],Mn=this;function jr(Nn){Nn&&rn.push(it(Mn,Nn,tr))}return fr(jr),Array.prototype.concat.apply([],rn)}};te.RecursiveVisitor=wt;function Vt(tr){let fr=tr.sourceSpan.start.offset,rn=tr.sourceSpan.end.offset;return tr instanceof Lt&&(tr.endSourceSpan?rn=tr.endSourceSpan.end.offset:tr.children&&tr.children.length&&(rn=Vt(tr.children[tr.children.length-1]).end)),{start:fr,end:rn}}function ar(tr,fr){let rn=[],Mn=new class extends wt{visit(jr,Nn){let ri=Vt(jr);if(ri.start<=fr&&fr<ri.end)rn.push(jr);else return!0}};return it(Mn,tr),new Re.AstPath(rn,fr)}te.findNode=ar}}),Lu=Ge({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});function Re(Pt,qe){if(qe!=null){if(!Array.isArray(qe))throw new Error(`Expected '${Pt}' to be an array of strings.`);for(let ut=0;ut<qe.length;ut+=1)if(typeof qe[ut]!="string")throw new Error(`Expected '${Pt}' to be an array of strings.`)}}te.assertArrayOfStrings=Re;var ot=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function at(Pt,qe){if(qe!=null&&!(Array.isArray(qe)&&qe.length==2))throw new Error(`Expected '${Pt}' to be an array, [start, end].`);if(qe!=null){let ut=qe[0],Lt=qe[1];ot.forEach(Gt=>{if(Gt.test(ut)||Gt.test(Lt))throw new Error(`['${ut}', '${Lt}'] contains unusable interpolation symbol.`)})}}te.assertInterpolationSymbols=at}}),$l=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Lu(),ot=class{constructor(at,Pt){this.start=at,this.end=Pt}static fromArray(at){return at?(Re.assertInterpolationSymbols("interpolation",at),new ot(at[0],at[1])):te.DEFAULT_INTERPOLATION_CONFIG}};te.InterpolationConfig=ot,te.DEFAULT_INTERPOLATION_CONFIG=new ot("{{","}}")}}),bn=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=pn(),ot=Gi(),at=$l(),Pt=Na(),qe;(function(Me){Me[Me.TAG_OPEN_START=0]="TAG_OPEN_START",Me[Me.TAG_OPEN_END=1]="TAG_OPEN_END",Me[Me.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",Me[Me.TAG_CLOSE=3]="TAG_CLOSE",Me[Me.TEXT=4]="TEXT",Me[Me.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",Me[Me.RAW_TEXT=6]="RAW_TEXT",Me[Me.COMMENT_START=7]="COMMENT_START",Me[Me.COMMENT_END=8]="COMMENT_END",Me[Me.CDATA_START=9]="CDATA_START",Me[Me.CDATA_END=10]="CDATA_END",Me[Me.ATTR_NAME=11]="ATTR_NAME",Me[Me.ATTR_QUOTE=12]="ATTR_QUOTE",Me[Me.ATTR_VALUE=13]="ATTR_VALUE",Me[Me.DOC_TYPE_START=14]="DOC_TYPE_START",Me[Me.DOC_TYPE_END=15]="DOC_TYPE_END",Me[Me.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",Me[Me.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",Me[Me.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",Me[Me.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",Me[Me.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",Me[Me.EOF=21]="EOF"})(qe=te.TokenType||(te.TokenType={}));var ut=class{constructor(Me,st,sr){this.type=Me,this.parts=st,this.sourceSpan=sr}};te.Token=ut;var Lt=class extends ot.ParseError{constructor(Me,st,sr){super(sr,Me),this.tokenType=st}};te.TokenError=Lt;var Gt=class{constructor(Me,st){this.tokens=Me,this.errors=st}};te.TokenizeResult=Gt;function tn(Me,st,sr){let Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new tr(new ot.ParseSourceFile(Me,st),sr,Xt).tokenize()}te.tokenize=tn;var it=/\r\n?/g;function wt(Me){return`Unexpected character "${Me===Re.$EOF?"EOF":String.fromCharCode(Me)}"`}function Vt(Me){return`Unknown entity "${Me}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var ar=class{constructor(Me){this.error=Me}},tr=class{constructor(Me,st,sr){this._getTagContentType=st,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=sr.tokenizeExpansionForms||!1,this._interpolationConfig=sr.interpolationConfig||at.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=sr.leadingTriviaChars&&sr.leadingTriviaChars.map(Ir=>Ir.codePointAt(0)||0),this._canSelfClose=sr.canSelfClose||!1,this._allowHtmComponentClosingTags=sr.allowHtmComponentClosingTags||!1;let Xt=sr.range||{endPos:Me.content.length,startPos:0,startLine:0,startCol:0};this._cursor=sr.escapedString?new xi(Me,Xt):new Jn(Me,Xt);try{this._cursor.init()}catch(Ir){this.handleError(Ir)}}_processCarriageReturns(Me){return Me.replace(it,`
`)}tokenize(){for(;this._cursor.peek()!==Re.$EOF;){let Me=this._cursor.clone();try{if(this._attemptCharCode(Re.$LT))if(this._attemptCharCode(Re.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(Me):this._attemptStr("--")?this._consumeComment(Me):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(Me):this._consumeBogusComment(Me);else if(this._attemptCharCode(Re.$SLASH))this._consumeTagClose(Me);else{let st=this._cursor.clone();this._attemptCharCode(Re.$QUESTION)?(this._cursor=st,this._consumeBogusComment(Me)):this._consumeTagOpen(Me)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(st){this.handleError(st)}}return this._beginToken(qe.EOF),this._endToken([]),new Gt(Zn(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ri(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Re.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(Me){let st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=st,this._currentTokenType=Me}_endToken(Me){let st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Lt("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(st));if(this._currentTokenType===null)throw new Lt("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let sr=new ut(this._currentTokenType,Me,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(sr),this._currentTokenStart=null,this._currentTokenType=null,sr}_createError(Me,st){this._isInExpansionForm()&&(Me+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let sr=new Lt(Me,this._currentTokenType,st);return this._currentTokenStart=null,this._currentTokenType=null,new ar(sr)}handleError(Me){if(Me instanceof Ei&&(Me=this._createError(Me.msg,this._cursor.getSpan(Me.cursor))),Me instanceof ar)this.errors.push(Me.error);else throw Me}_attemptCharCode(Me){return this._cursor.peek()===Me?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(Me){return ns(this._cursor.peek(),Me)?(this._cursor.advance(),!0):!1}_requireCharCode(Me){let st=this._cursor.clone();if(!this._attemptCharCode(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_attemptStr(Me){let st=Me.length;if(this._cursor.charsLeft()<st)return!1;let sr=this._cursor.clone();for(let Xt=0;Xt<st;Xt++)if(!this._attemptCharCode(Me.charCodeAt(Xt)))return this._cursor=sr,!1;return!0}_attemptStrCaseInsensitive(Me){for(let st=0;st<Me.length;st++)if(!this._attemptCharCodeCaseInsensitive(Me.charCodeAt(st)))return!1;return!0}_requireStr(Me){let st=this._cursor.clone();if(!this._attemptStr(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_requireStrCaseInsensitive(Me){let st=this._cursor.clone();if(!this._attemptStrCaseInsensitive(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_attemptCharCodeUntilFn(Me){for(;!Me(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(Me,st){let sr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Me),this._cursor.clone().diff(sr)<st)throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(sr))}_attemptUntilChar(Me){for(;this._cursor.peek()!==Me;)this._cursor.advance()}_readChar(Me){if(Me&&this._cursor.peek()===Re.$AMPERSAND)return this._decodeEntity();{let st=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),st}}_decodeEntity(){let Me=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Re.$HASH)){let st=this._attemptCharCode(Re.$x)||this._attemptCharCode(Re.$X),sr=this._cursor.clone();if(this._attemptCharCodeUntilFn(jr),this._cursor.peek()!=Re.$SEMICOLON)throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan());let Xt=this._cursor.getChars(sr);this._cursor.advance();try{let Ir=parseInt(Xt,st?16:10);return String.fromCharCode(Ir)}catch{throw this._createError(Vt(this._cursor.getChars(Me)),this._cursor.getSpan())}}else{let st=this._cursor.clone();if(this._attemptCharCodeUntilFn(Nn),this._cursor.peek()!=Re.$SEMICOLON)return this._cursor=st,"&";let sr=this._cursor.getChars(st);this._cursor.advance();let Xt=Pt.NAMED_ENTITIES[sr];if(!Xt)throw this._createError(Vt(sr),this._cursor.getSpan(Me));return Xt}}_consumeRawText(Me,st){this._beginToken(Me?qe.ESCAPABLE_RAW_TEXT:qe.RAW_TEXT);let sr=[];for(;;){let Xt=this._cursor.clone(),Ir=st();if(this._cursor=Xt,Ir)break;sr.push(this._readChar(Me))}return this._endToken([this._processCarriageReturns(sr.join(""))])}_consumeComment(Me){this._beginToken(qe.COMMENT_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(qe.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(Me){this._beginToken(qe.COMMENT_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Re.$GT),this._beginToken(qe.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(Me){this._beginToken(qe.CDATA_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(qe.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(Me){this._beginToken(qe.DOC_TYPE_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Re.$GT),this._beginToken(qe.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let Me=this._cursor.clone(),st="";for(;this._cursor.peek()!==Re.$COLON&&!Mn(this._cursor.peek());)this._cursor.advance();let sr;this._cursor.peek()===Re.$COLON?(st=this._cursor.getChars(Me),this._cursor.advance(),sr=this._cursor.clone()):sr=Me,this._requireCharCodeUntilFn(rn,st===""?0:1);let Xt=this._cursor.getChars(sr);return[st,Xt]}_consumeTagOpen(Me){let st,sr,Xt,Ir=this.tokens.length,Ci=this._cursor.clone(),Ki=[];try{if(!Re.isAsciiLetter(this._cursor.peek()))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(Me));for(Xt=this._consumeTagOpenStart(Me),sr=Xt.parts[0],st=Xt.parts[1],this._attemptCharCodeUntilFn(fr);this._cursor.peek()!==Re.$SLASH&&this._cursor.peek()!==Re.$GT;){let[Ns,go]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(fr),this._attemptCharCode(Re.$EQ)){this._attemptCharCodeUntilFn(fr);let yo=this._consumeAttributeValue();Ki.push({prefix:Ns,name:go,value:yo})}else Ki.push({prefix:Ns,name:go});this._attemptCharCodeUntilFn(fr)}this._consumeTagOpenEnd()}catch(Ns){if(Ns instanceof ar){this._cursor=Ci,Xt&&(this.tokens.length=Ir),this._beginToken(qe.TEXT,Me),this._endToken(["<"]);return}throw Ns}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===qe.TAG_OPEN_END_VOID)return;let eo=this._getTagContentType(st,sr,this._fullNameStack.length>0,Ki);this._handleFullNameStackForTagOpen(sr,st),eo===Pt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(sr,st,!1):eo===Pt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(sr,st,!0)}_consumeRawTextWithTagClose(Me,st,sr){this._consumeRawText(sr,()=>!this._attemptCharCode(Re.$LT)||!this._attemptCharCode(Re.$SLASH)||(this._attemptCharCodeUntilFn(fr),!this._attemptStrCaseInsensitive(Me?`${Me}:${st}`:st))?!1:(this._attemptCharCodeUntilFn(fr),this._attemptCharCode(Re.$GT))),this._beginToken(qe.TAG_CLOSE),this._requireCharCodeUntilFn(Xt=>Xt===Re.$GT,3),this._cursor.advance(),this._endToken([Me,st]),this._handleFullNameStackForTagClose(Me,st)}_consumeTagOpenStart(Me){this._beginToken(qe.TAG_OPEN_START,Me);let st=this._consumePrefixAndName();return this._endToken(st)}_consumeAttributeName(){let Me=this._cursor.peek();if(Me===Re.$SQ||Me===Re.$DQ)throw this._createError(wt(Me),this._cursor.getSpan());this._beginToken(qe.ATTR_NAME);let st=this._consumePrefixAndName();return this._endToken(st),st}_consumeAttributeValue(){let Me;if(this._cursor.peek()===Re.$SQ||this._cursor.peek()===Re.$DQ){this._beginToken(qe.ATTR_QUOTE);let st=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(st)]),this._beginToken(qe.ATTR_VALUE);let sr=[];for(;this._cursor.peek()!==st;)sr.push(this._readChar(!0));Me=this._processCarriageReturns(sr.join("")),this._endToken([Me]),this._beginToken(qe.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(st)])}else{this._beginToken(qe.ATTR_VALUE);let st=this._cursor.clone();this._requireCharCodeUntilFn(rn,1),Me=this._processCarriageReturns(this._cursor.getChars(st)),this._endToken([Me])}return Me}_consumeTagOpenEnd(){let Me=this._attemptCharCode(Re.$SLASH)?qe.TAG_OPEN_END_VOID:qe.TAG_OPEN_END;this._beginToken(Me),this._requireCharCode(Re.$GT),this._endToken([])}_consumeTagClose(Me){if(this._beginToken(qe.TAG_CLOSE,Me),this._attemptCharCodeUntilFn(fr),this._allowHtmComponentClosingTags&&this._attemptCharCode(Re.$SLASH))this._attemptCharCodeUntilFn(fr),this._requireCharCode(Re.$GT),this._endToken([]);else{let[st,sr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(fr),this._requireCharCode(Re.$GT),this._endToken([st,sr]),this._handleFullNameStackForTagClose(st,sr)}}_consumeExpansionFormStart(){this._beginToken(qe.EXPANSION_FORM_START),this._requireCharCode(Re.$LBRACE),this._endToken([]),this._expansionCaseStack.push(qe.EXPANSION_FORM_START),this._beginToken(qe.RAW_TEXT);let Me=this._readUntil(Re.$COMMA);this._endToken([Me]),this._requireCharCode(Re.$COMMA),this._attemptCharCodeUntilFn(fr),this._beginToken(qe.RAW_TEXT);let st=this._readUntil(Re.$COMMA);this._endToken([st]),this._requireCharCode(Re.$COMMA),this._attemptCharCodeUntilFn(fr)}_consumeExpansionCaseStart(){this._beginToken(qe.EXPANSION_CASE_VALUE);let Me=this._readUntil(Re.$LBRACE).trim();this._endToken([Me]),this._attemptCharCodeUntilFn(fr),this._beginToken(qe.EXPANSION_CASE_EXP_START),this._requireCharCode(Re.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(fr),this._expansionCaseStack.push(qe.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(qe.EXPANSION_CASE_EXP_END),this._requireCharCode(Re.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(fr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(qe.EXPANSION_FORM_END),this._requireCharCode(Re.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let Me=this._cursor.clone();this._beginToken(qe.TEXT,Me);let st=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(st.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(st.push(this._interpolationConfig.end),this._inInterpolation=!1):st.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(st.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===Re.$LT||this._cursor.peek()===Re.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Re.$RBRACE&&this._isInExpansionCase()))}_readUntil(Me){let st=this._cursor.clone();return this._attemptUntilChar(Me),this._cursor.getChars(st)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===qe.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===qe.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Re.$LBRACE)return!1;if(this._interpolationConfig){let Me=this._cursor.clone(),st=this._attemptStr(this._interpolationConfig.start);return this._cursor=Me,!st}return!0}_handleFullNameStackForTagOpen(Me,st){let sr=Pt.mergeNsAndName(Me,st);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===sr)&&this._fullNameStack.push(sr)}_handleFullNameStackForTagClose(Me,st){let sr=Pt.mergeNsAndName(Me,st);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===sr&&this._fullNameStack.pop()}};function fr(Me){return!Re.isWhitespace(Me)||Me===Re.$EOF}function rn(Me){return Re.isWhitespace(Me)||Me===Re.$GT||Me===Re.$SLASH||Me===Re.$SQ||Me===Re.$DQ||Me===Re.$EQ}function Mn(Me){return(Me<Re.$a||Re.$z<Me)&&(Me<Re.$A||Re.$Z<Me)&&(Me<Re.$0||Me>Re.$9)}function jr(Me){return Me==Re.$SEMICOLON||Me==Re.$EOF||!Re.isAsciiHexDigit(Me)}function Nn(Me){return Me==Re.$SEMICOLON||Me==Re.$EOF||!Re.isAsciiLetter(Me)}function ri(Me){return Me===Re.$EQ||Re.isAsciiLetter(Me)||Re.isDigit(Me)}function ns(Me,st){return Er(Me)==Er(st)}function Er(Me){return Me>=Re.$a&&Me<=Re.$z?Me-Re.$a+Re.$A:Me}function Zn(Me){let st=[],sr;for(let Xt=0;Xt<Me.length;Xt++){let Ir=Me[Xt];sr&&sr.type==qe.TEXT&&Ir.type==qe.TEXT?(sr.parts[0]+=Ir.parts[0],sr.sourceSpan.end=Ir.sourceSpan.end):(sr=Ir,st.push(sr))}return st}var Jn=class{constructor(Me,st){if(Me instanceof Jn)this.file=Me.file,this.input=Me.input,this.end=Me.end,this.state=Object.assign({},Me.state);else{if(!st)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Me,this.input=Me.content,this.end=st.endPos,this.state={peek:-1,offset:st.startPos,line:st.startLine,column:st.startCol}}}clone(){return new Jn(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(Me){return this.state.offset-Me.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(Me,st){if(Me=Me||this,st)for(Me=Me.clone();this.diff(Me)>0&&st.indexOf(Me.peek())!==-1;)Me.advance();return new ot.ParseSourceSpan(new ot.ParseLocation(Me.file,Me.state.offset,Me.state.line,Me.state.column),new ot.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(Me){return this.input.substring(Me.state.offset,this.state.offset)}charAt(Me){return this.input.charCodeAt(Me)}advanceState(Me){if(Me.offset>=this.end)throw this.state=Me,new Ei('Unexpected character "EOF"',this);let st=this.charAt(Me.offset);st===Re.$LF?(Me.line++,Me.column=0):Re.isNewLine(st)||Me.column++,Me.offset++,this.updatePeek(Me)}updatePeek(Me){Me.peek=Me.offset>=this.end?Re.$EOF:this.charAt(Me.offset)}},xi=class extends Jn{constructor(Me,st){Me instanceof xi?(super(Me),this.internalState=Object.assign({},Me.internalState)):(super(Me,st),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new xi(this)}getChars(Me){let st=Me.clone(),sr="";for(;st.internalState.offset<this.internalState.offset;)sr+=String.fromCodePoint(st.peek()),st.advance();return sr}processEscapeSequence(){let Me=()=>this.internalState.peek;if(Me()===Re.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),Me()===Re.$n)this.state.peek=Re.$LF;else if(Me()===Re.$r)this.state.peek=Re.$CR;else if(Me()===Re.$v)this.state.peek=Re.$VTAB;else if(Me()===Re.$t)this.state.peek=Re.$TAB;else if(Me()===Re.$b)this.state.peek=Re.$BSPACE;else if(Me()===Re.$f)this.state.peek=Re.$FF;else if(Me()===Re.$u)if(this.advanceState(this.internalState),Me()===Re.$LBRACE){this.advanceState(this.internalState);let st=this.clone(),sr=0;for(;Me()!==Re.$RBRACE;)this.advanceState(this.internalState),sr++;this.state.peek=this.decodeHexDigits(st,sr)}else{let st=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(st,4)}else if(Me()===Re.$x){this.advanceState(this.internalState);let st=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(st,2)}else if(Re.isOctalDigit(Me())){let st="",sr=0,Xt=this.clone();for(;Re.isOctalDigit(Me())&&sr<3;)Xt=this.clone(),st+=String.fromCodePoint(Me()),this.advanceState(this.internalState),sr++;this.state.peek=parseInt(st,8),this.internalState=Xt.internalState}else Re.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(Me,st){let sr=this.input.substr(Me.internalState.offset,st),Xt=parseInt(sr,16);if(isNaN(Xt))throw Me.state=Me.internalState,new Ei("Invalid hexadecimal escape sequence",Me);return Xt}},Ei=class{constructor(Me,st){this.msg=Me,this.cursor=st}};te.CursorError=Ei}}),Ur=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Gi(),ot=au(),at=bn(),Pt=Na(),qe=class extends Re.ParseError{constructor(it,wt,Vt){super(wt,Vt),this.elementName=it}static create(it,wt,Vt){return new qe(it,wt,Vt)}};te.TreeError=qe;var ut=class{constructor(it,wt){this.rootNodes=it,this.errors=wt}};te.ParseTreeResult=ut;var Lt=class{constructor(it){this.getTagDefinition=it}parse(it,wt,Vt){let ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tr=arguments.length>4?arguments[4]:void 0,fr=Jn=>function(xi){for(var Ei=arguments.length,Me=new Array(Ei>1?Ei-1:0),st=1;st<Ei;st++)Me[st-1]=arguments[st];return Jn(xi.toLowerCase(),...Me)},rn=ar?this.getTagDefinition:fr(this.getTagDefinition),Mn=Jn=>rn(Jn).contentType,jr=ar?tr:fr(tr),Nn=tr?(Jn,xi,Ei,Me)=>{let st=jr(Jn,xi,Ei,Me);return st!==void 0?st:Mn(Jn)}:Mn,ri=at.tokenize(it,wt,Nn,Vt),ns=Vt&&Vt.canSelfClose||!1,Er=Vt&&Vt.allowHtmComponentClosingTags||!1,Zn=new Gt(ri.tokens,rn,ns,Er,ar).build();return new ut(Zn.rootNodes,ri.errors.concat(Zn.errors))}};te.Parser=Lt;var Gt=class{constructor(it,wt,Vt,ar,tr){this.tokens=it,this.getTagDefinition=wt,this.canSelfClose=Vt,this.allowHtmComponentClosingTags=ar,this.isTagNameCaseSensitive=tr,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==at.TokenType.EOF;)this._peek.type===at.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===at.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===at.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===at.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===at.TokenType.TEXT||this._peek.type===at.TokenType.RAW_TEXT||this._peek.type===at.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===at.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===at.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new ut(this._rootNodes,this._errors)}_advance(){let it=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],it}_advanceIf(it){return this._peek.type===it?this._advance():null}_consumeCdata(it){let wt=this._advance(),Vt=this._getText(wt),ar=this._advanceIf(at.TokenType.CDATA_END);this._addToParent(new ot.CDATA(Vt,new Re.ParseSourceSpan(it.sourceSpan.start,(ar||wt).sourceSpan.end)))}_consumeComment(it){let wt=this._advanceIf(at.TokenType.RAW_TEXT),Vt=this._advanceIf(at.TokenType.COMMENT_END),ar=wt!=null?wt.parts[0].trim():null,tr=new Re.ParseSourceSpan(it.sourceSpan.start,(Vt||wt||it).sourceSpan.end);this._addToParent(new ot.Comment(ar,tr))}_consumeDocType(it){let wt=this._advanceIf(at.TokenType.RAW_TEXT),Vt=this._advanceIf(at.TokenType.DOC_TYPE_END),ar=wt!=null?wt.parts[0].trim():null,tr=new Re.ParseSourceSpan(it.sourceSpan.start,(Vt||wt||it).sourceSpan.end);this._addToParent(new ot.DocType(ar,tr))}_consumeExpansion(it){let wt=this._advance(),Vt=this._advance(),ar=[];for(;this._peek.type===at.TokenType.EXPANSION_CASE_VALUE;){let fr=this._parseExpansionCase();if(!fr)return;ar.push(fr)}if(this._peek.type!==at.TokenType.EXPANSION_FORM_END){this._errors.push(qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let tr=new Re.ParseSourceSpan(it.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new ot.Expansion(wt.parts[0],Vt.parts[0],ar,tr,wt.sourceSpan)),this._advance()}_parseExpansionCase(){let it=this._advance();if(this._peek.type!==at.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let wt=this._advance(),Vt=this._collectExpansionExpTokens(wt);if(!Vt)return null;let ar=this._advance();Vt.push(new at.Token(at.TokenType.EOF,[],ar.sourceSpan));let tr=new Gt(Vt,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(tr.errors.length>0)return this._errors=this._errors.concat(tr.errors),null;let fr=new Re.ParseSourceSpan(it.sourceSpan.start,ar.sourceSpan.end),rn=new Re.ParseSourceSpan(wt.sourceSpan.start,ar.sourceSpan.end);return new ot.ExpansionCase(it.parts[0],tr.rootNodes,fr,it.sourceSpan,rn)}_collectExpansionExpTokens(it){let wt=[],Vt=[at.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===at.TokenType.EXPANSION_FORM_START||this._peek.type===at.TokenType.EXPANSION_CASE_EXP_START)&&Vt.push(this._peek.type),this._peek.type===at.TokenType.EXPANSION_CASE_EXP_END)if(tn(Vt,at.TokenType.EXPANSION_CASE_EXP_START)){if(Vt.pop(),Vt.length==0)return wt}else return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===at.TokenType.EXPANSION_FORM_END)if(tn(Vt,at.TokenType.EXPANSION_FORM_START))Vt.pop();else return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===at.TokenType.EOF)return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;wt.push(this._advance())}}_getText(it){let wt=it.parts[0];if(wt.length>0&&wt[0]==`
`){let Vt=this._getParentElement();Vt!=null&&Vt.children.length==0&&this.getTagDefinition(Vt.name).ignoreFirstLf&&(wt=wt.substring(1))}return wt}_consumeText(it){let wt=this._getText(it);wt.length>0&&this._addToParent(new ot.Text(wt,it.sourceSpan))}_closeVoidElement(){let it=this._getParentElement();it&&this.getTagDefinition(it.name).isVoid&&this._elementStack.pop()}_consumeStartTag(it){let wt=it.parts[0],Vt=it.parts[1],ar=[];for(;this._peek.type===at.TokenType.ATTR_NAME;)ar.push(this._consumeAttr(this._advance()));let tr=this._getElementFullName(wt,Vt,this._getParentElement()),fr=!1;if(this._peek.type===at.TokenType.TAG_OPEN_END_VOID){this._advance(),fr=!0;let ri=this.getTagDefinition(tr);this.canSelfClose||ri.canSelfClose||Pt.getNsPrefix(tr)!==null||ri.isVoid||this._errors.push(qe.create(tr,it.sourceSpan,`Only void and foreign elements can be self closed "${it.parts[1]}"`))}else this._peek.type===at.TokenType.TAG_OPEN_END&&(this._advance(),fr=!1);let rn=this._peek.sourceSpan.start,Mn=new Re.ParseSourceSpan(it.sourceSpan.start,rn),jr=new Re.ParseSourceSpan(it.sourceSpan.start.moveBy(1),it.sourceSpan.end),Nn=new ot.Element(tr,ar,[],Mn,Mn,void 0,jr);this._pushElement(Nn),fr&&(this._popElement(tr),Nn.endSourceSpan=Mn)}_pushElement(it){let wt=this._getParentElement();wt&&this.getTagDefinition(wt.name).isClosedByChild(it.name)&&this._elementStack.pop(),this._addToParent(it),this._elementStack.push(it)}_consumeEndTag(it){let wt=this.allowHtmComponentClosingTags&&it.parts.length===0?null:this._getElementFullName(it.parts[0],it.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=it.sourceSpan),wt&&this.getTagDefinition(wt).isVoid)this._errors.push(qe.create(wt,it.sourceSpan,`Void elements do not have end tags "${it.parts[1]}"`));else if(!this._popElement(wt)){let Vt=`Unexpected closing tag "${wt}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(qe.create(wt,it.sourceSpan,Vt))}}_popElement(it){for(let wt=this._elementStack.length-1;wt>=0;wt--){let Vt=this._elementStack[wt];if(!it||(Pt.getNsPrefix(Vt.name)?Vt.name==it:Vt.name.toLowerCase()==it.toLowerCase()))return this._elementStack.splice(wt,this._elementStack.length-wt),!0;if(!this.getTagDefinition(Vt.name).closedByParent)return!1}return!1}_consumeAttr(it){let wt=Pt.mergeNsAndName(it.parts[0],it.parts[1]),Vt=it.sourceSpan.end,ar="",tr,fr;if(this._peek.type===at.TokenType.ATTR_QUOTE&&(fr=this._advance().sourceSpan.start),this._peek.type===at.TokenType.ATTR_VALUE){let rn=this._advance();ar=rn.parts[0],Vt=rn.sourceSpan.end,tr=rn.sourceSpan}return this._peek.type===at.TokenType.ATTR_QUOTE&&(Vt=this._advance().sourceSpan.end,tr=new Re.ParseSourceSpan(fr,Vt)),new ot.Attribute(wt,ar,new Re.ParseSourceSpan(it.sourceSpan.start,Vt),tr,it.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let it=null;for(let wt=this._elementStack.length-1;wt>=0;wt--){if(!Pt.isNgContainer(this._elementStack[wt].name))return{parent:this._elementStack[wt],container:it};it=this._elementStack[wt]}return{parent:null,container:it}}_addToParent(it){let wt=this._getParentElement();wt!=null?wt.children.push(it):this._rootNodes.push(it)}_insertBeforeContainer(it,wt,Vt){if(!wt)this._addToParent(Vt),this._elementStack.push(Vt);else{if(it){let ar=it.children.indexOf(wt);it.children[ar]=Vt}else this._rootNodes.push(Vt);Vt.children.push(wt),this._elementStack.splice(this._elementStack.indexOf(wt),0,Vt)}}_getElementFullName(it,wt,Vt){return it===""&&(it=this.getTagDefinition(wt).implicitNamespacePrefix||"",it===""&&Vt!=null&&(it=Pt.getNsPrefix(Vt.name))),Pt.mergeNsAndName(it,wt)}};function tn(it,wt){return it.length>0&&it[it.length-1]===wt}}}),Vr=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Qu(),ot=Ur(),at=Ur();te.ParseTreeResult=at.ParseTreeResult,te.TreeError=at.TreeError;var Pt=class extends ot.Parser{constructor(){super(Re.getHtmlTagDefinition)}parse(qe,ut,Lt){let Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=arguments.length>4?arguments[4]:void 0;return super.parse(qe,ut,Lt,Gt,tn)}};te.HtmlParser=Pt}}),Ar=Ge({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Vr(),ot=Na();te.TagContentType=ot.TagContentType;var at=null,Pt=()=>(at||(at=new Re.HtmlParser),at);function qe(ut){let Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Gt=!1,allowHtmComponentClosingTags:tn=!1,isTagNameCaseSensitive:it=!1,getTagContentType:wt}=Lt;return Pt().parse(ut,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Gt,allowHtmComponentClosingTags:tn},it,wt)}te.parse=qe}});Oe();var{ParseSourceSpan:mr,ParseLocation:Nr,ParseSourceFile:rr}=Gi(),vn=Ye(),li=Es(),vi=ko(),{inferParserByLanguage:gi}=Iu(),Fn=Ko(),Ti=Fo(),Qr=fi(),{hasPragma:$i}=Ba(),{Node:ks}=_l(),{parseIeConditionalComment:Xn}=ou(),{locStart:ki,locEnd:Os}=Ru();function Bi(te,Re,ot){let{canSelfClose:at,normalizeTagName:Pt,normalizeAttributeName:qe,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt,getTagContentType:Gt}=Re,tn=Ar(),{RecursiveVisitor:it,visitAll:wt}=au(),{ParseSourceSpan:Vt}=Gi(),{getHtmlTagDefinition:ar}=Qu(),{rootNodes:tr,errors:fr}=tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt,getTagContentType:Gt});if(ot.parser==="vue")if(tr.some(Er=>Er.type==="docType"&&Er.value==="html"||Er.type==="element"&&Er.name.toLowerCase()==="html")){at=!0,Pt=!0,qe=!0,ut=!0,Lt=!1;let Er=tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt});tr=Er.rootNodes,fr=Er.errors}else{let Er=Zn=>{if(!Zn||Zn.type!=="element"||Zn.name!=="template")return!1;let Jn=Zn.attrs.find(Ei=>Ei.name==="lang"),xi=Jn&&Jn.value;return!xi||gi(xi,ot)==="html"};if(tr.some(Er)){let Zn,Jn=()=>tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt}),xi=()=>Zn||(Zn=Jn()),Ei=Me=>xi().rootNodes.find(st=>{let{startSourceSpan:sr}=st;return sr&&sr.start.offset===Me.startSourceSpan.start.offset});for(let Me=0;Me<tr.length;Me++){let st=tr[Me],{endSourceSpan:sr,startSourceSpan:Xt}=st;if(sr===null)fr=xi().errors,tr[Me]=Ei(st)||st;else if(Er(st)){let Ir=xi(),Ci=Xt.end.offset,Ki=sr.start.offset;for(let eo of Ir.errors){let{offset:Ns}=eo.span.start;if(Ci<Ns&&Ns<Ki){fr=[eo];break}}tr[Me]=Ei(st)||st}}}}if(fr.length>0){let{msg:Er,span:{start:Zn,end:Jn}}=fr[0];throw vi(Er,{start:{line:Zn.line+1,column:Zn.col+1},end:{line:Jn.line+1,column:Jn.col+1}})}let rn=Er=>{let Zn=Er.name.startsWith(":")?Er.name.slice(1).split(":")[0]:null,Jn=Er.nameSpan.toString(),xi=Zn!==null&&Jn.startsWith(`${Zn}:`),Ei=xi?Jn.slice(Zn.length+1):Jn;Er.name=Ei,Er.namespace=Zn,Er.hasExplicitNamespace=xi},Mn=Er=>{switch(Er.type){case"element":rn(Er);for(let Zn of Er.attrs)rn(Zn),Zn.valueSpan?(Zn.value=Zn.valueSpan.toString(),/["']/.test(Zn.value[0])&&(Zn.value=Zn.value.slice(1,-1))):Zn.value=null;break;case"comment":Er.value=Er.sourceSpan.toString().slice(4,-3);break;case"text":Er.value=Er.sourceSpan.toString();break}},jr=(Er,Zn)=>{let Jn=Er.toLowerCase();return Zn(Jn)?Jn:Er},Nn=Er=>{if(Er.type==="element"&&(Pt&&(!Er.namespace||Er.namespace===Er.tagDefinition.implicitNamespacePrefix||Qr(Er))&&(Er.name=jr(Er.name,Zn=>Zn in Fn)),qe)){let Zn=Ti[Er.name]||Object.create(null);for(let Jn of Er.attrs)Jn.namespace||(Jn.name=jr(Jn.name,xi=>Er.name in Ti&&(xi in Ti["*"]||xi in Zn)))}},ri=Er=>{Er.sourceSpan&&Er.endSourceSpan&&(Er.sourceSpan=new Vt(Er.sourceSpan.start,Er.endSourceSpan.end))},ns=Er=>{if(Er.type==="element"){let Zn=ar(Lt?Er.name:Er.name.toLowerCase());!Er.namespace||Er.namespace===Zn.implicitNamespacePrefix||Qr(Er)?Er.tagDefinition=Zn:Er.tagDefinition=ar("")}};return wt(new class extends it{visit(Er){Mn(Er),ns(Er),Nn(Er),ri(Er)}},tr),tr}function Ji(te,Re,ot){let at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Pt,content:qe}=at?vn(te):{frontMatter:null,content:te},ut=new rr(te,Re.filepath),Lt=new Nr(ut,0,0,0),Gt=Lt.moveBy(te.length),tn={type:"root",sourceSpan:new mr(Lt,Gt),children:Bi(qe,ot,Re)};if(Pt){let Vt=new Nr(ut,0,0,0),ar=Vt.moveBy(Pt.raw.length);Pt.sourceSpan=new mr(Vt,ar),tn.children.unshift(Pt)}let it=new ks(tn),wt=(Vt,ar)=>{let{offset:tr}=ar,fr=te.slice(0,tr).replace(/[^\n\r]/g," "),rn=Ji(fr+Vt,Re,ot,!1);rn.sourceSpan=new mr(ar,li(rn.children).sourceSpan.end);let Mn=rn.children[0];return Mn.length===tr?rn.children.shift():(Mn.sourceSpan=new mr(Mn.sourceSpan.start.moveBy(tr),Mn.sourceSpan.end),Mn.value=Mn.value.slice(tr)),rn};return it.walk(Vt=>{if(Vt.type==="comment"){let ar=Xn(Vt,wt);ar&&Vt.parent.replaceChild(Vt,ar)}}),it}function Ks(){let{name:te,canSelfClose:Re=!1,normalizeTagName:ot=!1,normalizeAttributeName:at=!1,allowHtmComponentClosingTags:Pt=!1,isTagNameCaseSensitive:qe=!1,getTagContentType:ut}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Lt,Gt,tn)=>Ji(Lt,Object.assign({parser:te},tn),{canSelfClose:Re,normalizeTagName:ot,normalizeAttributeName:at,allowHtmComponentClosingTags:Pt,isTagNameCaseSensitive:qe,getTagContentType:ut}),hasPragma:$i,astFormat:"html",locStart:ki,locEnd:Os}}$e.exports={parsers:{html:Ks({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ks({name:"angular",canSelfClose:!0}),vue:Ks({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(te,Re,ot,at)=>{if(te.toLowerCase()!=="html"&&!ot&&(te!=="template"||at.some(Pt=>{let{name:qe,value:ut}=Pt;return qe==="lang"&&ut!=="html"&&ut!==""&&ut!==void 0})))return Ar().TagContentType.RAW_TEXT}}),lwc:Ks({name:"lwc"})}}});return bt()})})(Tw);var u6=Tw.exports;const l6=Qg(u6);var Pw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Dr,xt)=>()=>(xt||Dr((xt={exports:{}}).exports,xt),xt.exports),n=t((Dr,xt)=>{var Ot=function(At){return At&&At.Math==Math&&At};xt.exports=Ot(typeof globalThis=="object"&&globalThis)||Ot(typeof window=="object"&&window)||Ot(typeof self=="object"&&self)||Ot(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Dr,xt)=>{xt.exports=function(Ot){try{return!!Ot()}catch{return!0}}}),s=t((Dr,xt)=>{var Ot=i();xt.exports=!Ot(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Dr,xt)=>{var Ot=i();xt.exports=!Ot(function(){var At=(function(){}).bind();return typeof At!="function"||At.hasOwnProperty("prototype")})}),l=t((Dr,xt)=>{var Ot=a(),At=Function.prototype.call;xt.exports=Ot?At.bind(At):function(){return At.apply(At,arguments)}}),p=t(Dr=>{var xt={}.propertyIsEnumerable,Ot=Object.getOwnPropertyDescriptor,At=Ot&&!xt.call({1:2},1);Dr.f=At?function(bt){var Ke=Ot(this,bt);return!!Ke&&Ke.enumerable}:xt}),d=t((Dr,xt)=>{xt.exports=function(Ot,At){return{enumerable:!(Ot&1),configurable:!(Ot&2),writable:!(Ot&4),value:At}}}),g=t((Dr,xt)=>{var Ot=a(),At=Function.prototype,bt=At.call,Ke=Ot&&At.bind.bind(bt,bt);xt.exports=Ot?Ke:function($e){return function(){return bt.apply($e,arguments)}}}),b=t((Dr,xt)=>{var Ot=g(),At=Ot({}.toString),bt=Ot("".slice);xt.exports=function(Ke){return bt(At(Ke),8,-1)}}),S=t((Dr,xt)=>{var Ot=g(),At=i(),bt=b(),Ke=Object,$e=Ot("".split);xt.exports=At(function(){return!Ke("z").propertyIsEnumerable(0)})?function(Ie){return bt(Ie)=="String"?$e(Ie,""):Ke(Ie)}:Ke}),I=t((Dr,xt)=>{xt.exports=function(Ot){return Ot==null}}),H=t((Dr,xt)=>{var Ot=I(),At=TypeError;xt.exports=function(bt){if(Ot(bt))throw At("Can't call method on "+bt);return bt}}),be=t((Dr,xt)=>{var Ot=S(),At=H();xt.exports=function(bt){return Ot(At(bt))}}),ke=t((Dr,xt)=>{var Ot=typeof document=="object"&&document.all,At=typeof Ot>"u"&&Ot!==void 0;xt.exports={all:Ot,IS_HTMLDDA:At}}),ge=t((Dr,xt)=>{var Ot=ke(),At=Ot.all;xt.exports=Ot.IS_HTMLDDA?function(bt){return typeof bt=="function"||bt===At}:function(bt){return typeof bt=="function"}}),Ue=t((Dr,xt)=>{var Ot=ge(),At=ke(),bt=At.all;xt.exports=At.IS_HTMLDDA?function(Ke){return typeof Ke=="object"?Ke!==null:Ot(Ke)||Ke===bt}:function(Ke){return typeof Ke=="object"?Ke!==null:Ot(Ke)}}),Dt=t((Dr,xt)=>{var Ot=n(),At=ge(),bt=function(Ke){return At(Ke)?Ke:void 0};xt.exports=function(Ke,$e){return arguments.length<2?bt(Ot[Ke]):Ot[Ke]&&Ot[Ke][$e]}}),pt=t((Dr,xt)=>{var Ot=g();xt.exports=Ot({}.isPrototypeOf)}),vt=t((Dr,xt)=>{var Ot=Dt();xt.exports=Ot("navigator","userAgent")||""}),Yt=t((Dr,xt)=>{var Ot=n(),At=vt(),bt=Ot.process,Ke=Ot.Deno,$e=bt&&bt.versions||Ke&&Ke.version,Ie=$e&&$e.v8,Ze,me;Ie&&(Ze=Ie.split("."),me=Ze[0]>0&&Ze[0]<4?1:+(Ze[0]+Ze[1])),!me&&At&&(Ze=At.match(/Edge\/(\d+)/),(!Ze||Ze[1]>=74)&&(Ze=At.match(/Chrome\/(\d+)/),Ze&&(me=+Ze[1]))),xt.exports=me}),ir=t((Dr,xt)=>{var Ot=Yt(),At=i();xt.exports=!!Object.getOwnPropertySymbols&&!At(function(){var bt=Symbol();return!String(bt)||!(Object(bt)instanceof Symbol)||!Symbol.sham&&Ot&&Ot<41})}),qr=t((Dr,xt)=>{var Ot=ir();xt.exports=Ot&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Dr,xt)=>{var Ot=Dt(),At=ge(),bt=pt(),Ke=qr(),$e=Object;xt.exports=Ke?function(Ie){return typeof Ie=="symbol"}:function(Ie){var Ze=Ot("Symbol");return At(Ze)&&bt(Ze.prototype,$e(Ie))}}),kr=t((Dr,xt)=>{var Ot=String;xt.exports=function(At){try{return Ot(At)}catch{return"Object"}}}),Zr=t((Dr,xt)=>{var Ot=ge(),At=kr(),bt=TypeError;xt.exports=function(Ke){if(Ot(Ke))return Ke;throw bt(At(Ke)+" is not a function")}}),zn=t((Dr,xt)=>{var Ot=Zr(),At=I();xt.exports=function(bt,Ke){var $e=bt[Ke];return At($e)?void 0:Ot($e)}}),Gn=t((Dr,xt)=>{var Ot=l(),At=ge(),bt=Ue(),Ke=TypeError;xt.exports=function($e,Ie){var Ze,me;if(Ie==="string"&&At(Ze=$e.toString)&&!bt(me=Ot(Ze,$e))||At(Ze=$e.valueOf)&&!bt(me=Ot(Ze,$e))||Ie!=="string"&&At(Ze=$e.toString)&&!bt(me=Ot(Ze,$e)))return me;throw Ke("Can't convert object to primitive value")}}),Ni=t((Dr,xt)=>{xt.exports=!1}),ii=t((Dr,xt)=>{var Ot=n(),At=Object.defineProperty;xt.exports=function(bt,Ke){try{At(Ot,bt,{value:Ke,configurable:!0,writable:!0})}catch{Ot[bt]=Ke}return Ke}}),Sn=t((Dr,xt)=>{var Ot=n(),At=ii(),bt="__core-js_shared__",Ke=Ot[bt]||At(bt,{});xt.exports=Ke}),Wn=t((Dr,xt)=>{var Ot=Ni(),At=Sn();(xt.exports=function(bt,Ke){return At[bt]||(At[bt]=Ke!==void 0?Ke:{})})("versions",[]).push({version:"3.26.1",mode:Ot?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Dr,xt)=>{var Ot=H(),At=Object;xt.exports=function(bt){return At(Ot(bt))}}),Tn=t((Dr,xt)=>{var Ot=g(),At=jn(),bt=Ot({}.hasOwnProperty);xt.exports=Object.hasOwn||function(Ke,$e){return bt(At(Ke),$e)}}),Mi=t((Dr,xt)=>{var Ot=g(),At=0,bt=Math.random(),Ke=Ot(1 .toString);xt.exports=function($e){return"Symbol("+($e===void 0?"":$e)+")_"+Ke(++At+bt,36)}}),Ri=t((Dr,xt)=>{var Ot=n(),At=Wn(),bt=Tn(),Ke=Mi(),$e=ir(),Ie=qr(),Ze=At("wks"),me=Ot.Symbol,le=me&&me.for,ae=Ie?me:me&&me.withoutSetter||Ke;xt.exports=function(Ee){if(!bt(Ze,Ee)||!($e||typeof Ze[Ee]=="string")){var xe="Symbol."+Ee;$e&&bt(me,Ee)?Ze[Ee]=me[Ee]:Ie&&le?Ze[Ee]=le(xe):Ze[Ee]=ae(xe)}return Ze[Ee]}}),rs=t((Dr,xt)=>{var Ot=l(),At=Ue(),bt=yr(),Ke=zn(),$e=Gn(),Ie=Ri(),Ze=TypeError,me=Ie("toPrimitive");xt.exports=function(le,ae){if(!At(le)||bt(le))return le;var Ee=Ke(le,me),xe;if(Ee){if(ae===void 0&&(ae="default"),xe=Ot(Ee,le,ae),!At(xe)||bt(xe))return xe;throw Ze("Can't convert object to primitive value")}return ae===void 0&&(ae="number"),$e(le,ae)}}),bs=t((Dr,xt)=>{var Ot=rs(),At=yr();xt.exports=function(bt){var Ke=Ot(bt,"string");return At(Ke)?Ke:Ke+""}}),Ls=t((Dr,xt)=>{var Ot=n(),At=Ue(),bt=Ot.document,Ke=At(bt)&&At(bt.createElement);xt.exports=function($e){return Ke?bt.createElement($e):{}}}),vo=t((Dr,xt)=>{var Ot=s(),At=i(),bt=Ls();xt.exports=!Ot&&!At(function(){return Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a!=7})}),Ui=t(Dr=>{var xt=s(),Ot=l(),At=p(),bt=d(),Ke=be(),$e=bs(),Ie=Tn(),Ze=vo(),me=Object.getOwnPropertyDescriptor;Dr.f=xt?me:function(le,ae){if(le=Ke(le),ae=$e(ae),Ze)try{return me(le,ae)}catch{}if(Ie(le,ae))return bt(!Ot(At.f,le,ae),le[ae])}}),Sr=t((Dr,xt)=>{var Ot=s(),At=i();xt.exports=Ot&&At(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Dr,xt)=>{var Ot=Ue(),At=String,bt=TypeError;xt.exports=function(Ke){if(Ot(Ke))return Ke;throw bt(At(Ke)+" is not an object")}}),zr=t(Dr=>{var xt=s(),Ot=vo(),At=Sr(),bt=cn(),Ke=bs(),$e=TypeError,Ie=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,me="enumerable",le="configurable",ae="writable";Dr.f=xt?At?function(Ee,xe,Le){if(bt(Ee),xe=Ke(xe),bt(Le),typeof Ee=="function"&&xe==="prototype"&&"value"in Le&&ae in Le&&!Le[ae]){var nt=Ze(Ee,xe);nt&&nt[ae]&&(Ee[xe]=Le.value,Le={configurable:le in Le?Le[le]:nt[le],enumerable:me in Le?Le[me]:nt[me],writable:!1})}return Ie(Ee,xe,Le)}:Ie:function(Ee,xe,Le){if(bt(Ee),xe=Ke(xe),bt(Le),Ot)try{return Ie(Ee,xe,Le)}catch{}if("get"in Le||"set"in Le)throw $e("Accessors not supported");return"value"in Le&&(Ee[xe]=Le.value),Ee}}),In=t((Dr,xt)=>{var Ot=s(),At=zr(),bt=d();xt.exports=Ot?function(Ke,$e,Ie){return At.f(Ke,$e,bt(1,Ie))}:function(Ke,$e,Ie){return Ke[$e]=Ie,Ke}}),es=t((Dr,xt)=>{var Ot=s(),At=Tn(),bt=Function.prototype,Ke=Ot&&Object.getOwnPropertyDescriptor,$e=At(bt,"name"),Ie=$e&&(function(){}).name==="something",Ze=$e&&(!Ot||Ot&&Ke(bt,"name").configurable);xt.exports={EXISTS:$e,PROPER:Ie,CONFIGURABLE:Ze}}),tt=t((Dr,xt)=>{var Ot=g(),At=ge(),bt=Sn(),Ke=Ot(Function.toString);At(bt.inspectSource)||(bt.inspectSource=function($e){return Ke($e)}),xt.exports=bt.inspectSource}),gt=t((Dr,xt)=>{var Ot=n(),At=ge(),bt=Ot.WeakMap;xt.exports=At(bt)&&/native code/.test(String(bt))}),Zt=t((Dr,xt)=>{var Ot=Wn(),At=Mi(),bt=Ot("keys");xt.exports=function(Ke){return bt[Ke]||(bt[Ke]=At(Ke))}}),dr=t((Dr,xt)=>{xt.exports={}}),Fr=t((Dr,xt)=>{var Ot=gt(),At=n(),bt=Ue(),Ke=In(),$e=Tn(),Ie=Sn(),Ze=Zt(),me=dr(),le="Object already initialized",ae=At.TypeError,Ee=At.WeakMap,xe,Le,nt,dt=function(er){return nt(er)?Le(er):xe(er,{})},Ge=function(er){return function(Or){var Cr;if(!bt(Or)||(Cr=Le(Or)).type!==er)throw ae("Incompatible receiver, "+er+" required");return Cr}};Ot||Ie.state?(Ct=Ie.state||(Ie.state=new Ee),Ct.get=Ct.get,Ct.has=Ct.has,Ct.set=Ct.set,xe=function(er,Or){if(Ct.has(er))throw ae(le);return Or.facade=er,Ct.set(er,Or),Or},Le=function(er){return Ct.get(er)||{}},nt=function(er){return Ct.has(er)}):(or=Ze("state"),me[or]=!0,xe=function(er,Or){if($e(er,or))throw ae(le);return Or.facade=er,Ke(er,or,Or),Or},Le=function(er){return $e(er,or)?er[or]:{}},nt=function(er){return $e(er,or)});var Ct,or;xt.exports={set:xe,get:Le,has:nt,enforce:dt,getterFor:Ge}}),Lr=t((Dr,xt)=>{var Ot=i(),At=ge(),bt=Tn(),Ke=s(),$e=es().CONFIGURABLE,Ie=tt(),Ze=Fr(),me=Ze.enforce,le=Ze.get,ae=Object.defineProperty,Ee=Ke&&!Ot(function(){return ae(function(){},"length",{value:8}).length!==8}),xe=String(String).split("String"),Le=xt.exports=function(nt,dt,Ge){String(dt).slice(0,7)==="Symbol("&&(dt="["+String(dt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Ge&&Ge.getter&&(dt="get "+dt),Ge&&Ge.setter&&(dt="set "+dt),(!bt(nt,"name")||$e&&nt.name!==dt)&&(Ke?ae(nt,"name",{value:dt,configurable:!0}):nt.name=dt),Ee&&Ge&&bt(Ge,"arity")&&nt.length!==Ge.arity&&ae(nt,"length",{value:Ge.arity});try{Ge&&bt(Ge,"constructor")&&Ge.constructor?Ke&&ae(nt,"prototype",{writable:!1}):nt.prototype&&(nt.prototype=void 0)}catch{}var Ct=me(nt);return bt(Ct,"source")||(Ct.source=xe.join(typeof dt=="string"?dt:"")),nt};Function.prototype.toString=Le(function(){return At(this)&&le(this).source||Ie(this)},"toString")}),yn=t((Dr,xt)=>{var Ot=ge(),At=zr(),bt=Lr(),Ke=ii();xt.exports=function($e,Ie,Ze,me){me||(me={});var le=me.enumerable,ae=me.name!==void 0?me.name:Ie;if(Ot(Ze)&&bt(Ze,ae,me),me.global)le?$e[Ie]=Ze:Ke(Ie,Ze);else{try{me.unsafe?$e[Ie]&&(le=!0):delete $e[Ie]}catch{}le?$e[Ie]=Ze:At.f($e,Ie,{value:Ze,enumerable:!1,configurable:!me.nonConfigurable,writable:!me.nonWritable})}return $e}}),Jr=t((Dr,xt)=>{var Ot=Math.ceil,At=Math.floor;xt.exports=Math.trunc||function(bt){var Ke=+bt;return(Ke>0?At:Ot)(Ke)}}),on=t((Dr,xt)=>{var Ot=Jr();xt.exports=function(At){var bt=+At;return bt!==bt||bt===0?0:Ot(bt)}}),Xr=t((Dr,xt)=>{var Ot=on(),At=Math.max,bt=Math.min;xt.exports=function(Ke,$e){var Ie=Ot(Ke);return Ie<0?At(Ie+$e,0):bt(Ie,$e)}}),ei=t((Dr,xt)=>{var Ot=on(),At=Math.min;xt.exports=function(bt){return bt>0?At(Ot(bt),9007199254740991):0}}),xn=t((Dr,xt)=>{var Ot=ei();xt.exports=function(At){return Ot(At.length)}}),ti=t((Dr,xt)=>{var Ot=be(),At=Xr(),bt=xn(),Ke=function($e){return function(Ie,Ze,me){var le=Ot(Ie),ae=bt(le),Ee=At(me,ae),xe;if($e&&Ze!=Ze){for(;ae>Ee;)if(xe=le[Ee++],xe!=xe)return!0}else for(;ae>Ee;Ee++)if(($e||Ee in le)&&le[Ee]===Ze)return $e||Ee||0;return!$e&&-1}};xt.exports={includes:Ke(!0),indexOf:Ke(!1)}}),Ai=t((Dr,xt)=>{var Ot=g(),At=Tn(),bt=be(),Ke=ti().indexOf,$e=dr(),Ie=Ot([].push);xt.exports=function(Ze,me){var le=bt(Ze),ae=0,Ee=[],xe;for(xe in le)!At($e,xe)&&At(le,xe)&&Ie(Ee,xe);for(;me.length>ae;)At(le,xe=me[ae++])&&(~Ke(Ee,xe)||Ie(Ee,xe));return Ee}}),Li=t((Dr,xt)=>{xt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),us=t(Dr=>{var xt=Ai(),Ot=Li(),At=Ot.concat("length","prototype");Dr.f=Object.getOwnPropertyNames||function(bt){return xt(bt,At)}}),os=t(Dr=>{Dr.f=Object.getOwnPropertySymbols}),Ts=t((Dr,xt)=>{var Ot=Dt(),At=g(),bt=us(),Ke=os(),$e=cn(),Ie=At([].concat);xt.exports=Ot("Reflect","ownKeys")||function(Ze){var me=bt.f($e(Ze)),le=Ke.f;return le?Ie(me,le(Ze)):me}}),Co=t((Dr,xt)=>{var Ot=Tn(),At=Ts(),bt=Ui(),Ke=zr();xt.exports=function($e,Ie,Ze){for(var me=At(Ie),le=Ke.f,ae=bt.f,Ee=0;Ee<me.length;Ee++){var xe=me[Ee];!Ot($e,xe)&&!(Ze&&Ot(Ze,xe))&&le($e,xe,ae(Ie,xe))}}}),ya=t((Dr,xt)=>{var Ot=i(),At=ge(),bt=/#|\.prototype\./,Ke=function(le,ae){var Ee=Ie[$e(le)];return Ee==me?!0:Ee==Ze?!1:At(ae)?Ot(ae):!!ae},$e=Ke.normalize=function(le){return String(le).replace(bt,".").toLowerCase()},Ie=Ke.data={},Ze=Ke.NATIVE="N",me=Ke.POLYFILL="P";xt.exports=Ke}),Go=t((Dr,xt)=>{var Ot=n(),At=Ui().f,bt=In(),Ke=yn(),$e=ii(),Ie=Co(),Ze=ya();xt.exports=function(me,le){var ae=me.target,Ee=me.global,xe=me.stat,Le,nt,dt,Ge,Ct,or;if(Ee?nt=Ot:xe?nt=Ot[ae]||$e(ae,{}):nt=(Ot[ae]||{}).prototype,nt)for(dt in le){if(Ct=le[dt],me.dontCallGetSet?(or=At(nt,dt),Ge=or&&or.value):Ge=nt[dt],Le=Ze(Ee?dt:ae+(xe?".":"#")+dt,me.forced),!Le&&Ge!==void 0){if(typeof Ct==typeof Ge)continue;Ie(Ct,Ge)}(me.sham||Ge&&Ge.sham)&&bt(Ct,"sham",!0),Ke(nt,dt,Ct,me)}}}),Da=t(()=>{var Dr=Go(),xt=n();Dr({global:!0,forced:xt.globalThis!==xt},{globalThis:xt})}),Fu=t(()=>{Da()}),io=t((Dr,xt)=>{var Ot=Lr(),At=zr();xt.exports=function(bt,Ke,$e){return $e.get&&Ot($e.get,Ke,{getter:!0}),$e.set&&Ot($e.set,Ke,{setter:!0}),At.f(bt,Ke,$e)}}),Hr=t((Dr,xt)=>{var Ot=cn();xt.exports=function(){var At=Ot(this),bt="";return At.hasIndices&&(bt+="d"),At.global&&(bt+="g"),At.ignoreCase&&(bt+="i"),At.multiline&&(bt+="m"),At.dotAll&&(bt+="s"),At.unicode&&(bt+="u"),At.unicodeSets&&(bt+="v"),At.sticky&&(bt+="y"),bt}}),Kt=t(()=>{var Dr=n(),xt=s(),Ot=io(),At=Hr(),bt=i(),Ke=Dr.RegExp,$e=Ke.prototype,Ie=xt&&bt(function(){var Ze=!0;try{Ke(".","d")}catch{Ze=!1}var me={},le="",ae=Ze?"dgimsy":"gimsy",Ee=function(dt,Ge){Object.defineProperty(me,dt,{get:function(){return le+=Ge,!0}})},xe={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ze&&(xe.hasIndices="d");for(var Le in xe)Ee(Le,xe[Le]);var nt=Object.getOwnPropertyDescriptor($e,"flags").get.call(me);return nt!==ae||le!==ae});Ie&&Ot($e,"flags",{configurable:!0,get:At})}),Ht=t((Dr,xt)=>{var Ot=b();xt.exports=Array.isArray||function(At){return Ot(At)=="Array"}}),lr=t((Dr,xt)=>{var Ot=TypeError,At=9007199254740991;xt.exports=function(bt){if(bt>At)throw Ot("Maximum allowed index exceeded");return bt}}),cr=t((Dr,xt)=>{var Ot=b(),At=g();xt.exports=function(bt){if(Ot(bt)==="Function")return At(bt)}}),vr=t((Dr,xt)=>{var Ot=cr(),At=Zr(),bt=a(),Ke=Ot(Ot.bind);xt.exports=function($e,Ie){return At($e),Ie===void 0?$e:bt?Ke($e,Ie):function(){return $e.apply(Ie,arguments)}}}),Kr=t((Dr,xt)=>{var Ot=Ht(),At=xn(),bt=lr(),Ke=vr(),$e=function(Ie,Ze,me,le,ae,Ee,xe,Le){for(var nt=ae,dt=0,Ge=xe?Ke(xe,Le):!1,Ct,or;dt<le;)dt in me&&(Ct=Ge?Ge(me[dt],dt,Ze):me[dt],Ee>0&&Ot(Ct)?(or=At(Ct),nt=$e(Ie,Ze,Ct,or,nt,Ee-1)-1):(bt(nt+1),Ie[nt]=Ct),nt++),dt++;return nt};xt.exports=$e}),Rt=t((Dr,xt)=>{var Ot=Ri(),At=Ot("toStringTag"),bt={};bt[At]="z",xt.exports=String(bt)==="[object z]"}),En=t((Dr,xt)=>{var Ot=Rt(),At=ge(),bt=b(),Ke=Ri(),$e=Ke("toStringTag"),Ie=Object,Ze=bt(function(){return arguments}())=="Arguments",me=function(le,ae){try{return le[ae]}catch{}};xt.exports=Ot?bt:function(le){var ae,Ee,xe;return le===void 0?"Undefined":le===null?"Null":typeof(Ee=me(ae=Ie(le),$e))=="string"?Ee:Ze?bt(ae):(xe=bt(ae))=="Object"&&At(ae.callee)?"Arguments":xe}}),Bn=t((Dr,xt)=>{var Ot=g(),At=i(),bt=ge(),Ke=En(),$e=Dt(),Ie=tt(),Ze=function(){},me=[],le=$e("Reflect","construct"),ae=/^\s*(?:class|function)\b/,Ee=Ot(ae.exec),xe=!ae.exec(Ze),Le=function(dt){if(!bt(dt))return!1;try{return le(Ze,me,dt),!0}catch{return!1}},nt=function(dt){if(!bt(dt))return!1;switch(Ke(dt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xe||!!Ee(ae,Ie(dt))}catch{return!0}};nt.sham=!0,xt.exports=!le||At(function(){var dt;return Le(Le.call)||!Le(Object)||!Le(function(){dt=!0})||dt})?nt:Le}),Hn=t((Dr,xt)=>{var Ot=Ht(),At=Bn(),bt=Ue(),Ke=Ri(),$e=Ke("species"),Ie=Array;xt.exports=function(Ze){var me;return Ot(Ze)&&(me=Ze.constructor,At(me)&&(me===Ie||Ot(me.prototype))?me=void 0:bt(me)&&(me=me[$e],me===null&&(me=void 0))),me===void 0?Ie:me}}),qt=t((Dr,xt)=>{var Ot=Hn();xt.exports=function(At,bt){return new(Ot(At))(bt===0?0:bt)}}),ai=t(()=>{var Dr=Go(),xt=Kr(),Ot=Zr(),At=jn(),bt=xn(),Ke=qt();Dr({target:"Array",proto:!0},{flatMap:function($e){var Ie=At(this),Ze=bt(Ie),me;return Ot($e),me=Ke(Ie,0),me.length=xt(me,Ie,Ie,Ze,0,1,$e,arguments.length>1?arguments[1]:void 0),me}})}),mi=t((Dr,xt)=>{Fu(),Kt(),ai();var Ot=Object.defineProperty,At=Object.getOwnPropertyDescriptor,bt=Object.getOwnPropertyNames,Ke=Object.prototype.hasOwnProperty,$e=(bn,Ur)=>function(){return bn&&(Ur=(0,bn[bt(bn)[0]])(bn=0)),Ur},Ie=(bn,Ur)=>function(){return Ur||(0,bn[bt(bn)[0]])((Ur={exports:{}}).exports,Ur),Ur.exports},Ze=(bn,Ur)=>{for(var Vr in Ur)Ot(bn,Vr,{get:Ur[Vr],enumerable:!0})},me=(bn,Ur,Vr,Ar)=>{if(Ur&&typeof Ur=="object"||typeof Ur=="function")for(let mr of bt(Ur))!Ke.call(bn,mr)&&mr!==Vr&&Ot(bn,mr,{get:()=>Ur[mr],enumerable:!(Ar=At(Ur,mr))||Ar.enumerable});return bn},le=bn=>me(Ot({},"__esModule",{value:!0}),bn),ae=$e({"<define:process>"(){}}),Ee=Ie({"src/utils/try-combinations.js"(bn,Ur){ae();function Vr(){let Ar;for(var mr=arguments.length,Nr=new Array(mr),rr=0;rr<mr;rr++)Nr[rr]=arguments[rr];for(let[vn,li]of Nr.entries())try{return{result:li()}}catch(vi){vn===0&&(Ar=vi)}return{error:Ar}}Ur.exports=Vr}}),xe=Ie({"src/language-js/utils/get-shebang.js"(bn,Ur){ae();function Vr(Ar){if(!Ar.startsWith("#!"))return"";let mr=Ar.indexOf(`
`);return mr===-1?Ar:Ar.slice(0,mr)}Ur.exports=Vr}}),Le=Ie({"src/utils/text/skip-inline-comment.js"(bn,Ur){ae();function Vr(Ar,mr){if(mr===!1)return!1;if(Ar.charAt(mr)==="/"&&Ar.charAt(mr+1)==="*"){for(let Nr=mr+2;Nr<Ar.length;++Nr)if(Ar.charAt(Nr)==="*"&&Ar.charAt(Nr+1)==="/")return Nr+2}return mr}Ur.exports=Vr}}),nt=Ie({"src/utils/text/skip-newline.js"(bn,Ur){ae();function Vr(Ar,mr,Nr){let rr=Nr&&Nr.backwards;if(mr===!1)return!1;let vn=Ar.charAt(mr);if(rr){if(Ar.charAt(mr-1)==="\r"&&vn===`
`)return mr-2;if(vn===`
`||vn==="\r"||vn==="\u2028"||vn==="\u2029")return mr-1}else{if(vn==="\r"&&Ar.charAt(mr+1)===`
`)return mr+2;if(vn===`
`||vn==="\r"||vn==="\u2028"||vn==="\u2029")return mr+1}return mr}Ur.exports=Vr}}),dt=Ie({"src/utils/text/skip.js"(bn,Ur){ae();function Vr(vn){return(li,vi,gi)=>{let Fn=gi&&gi.backwards;if(vi===!1)return!1;let{length:Ti}=li,Qr=vi;for(;Qr>=0&&Qr<Ti;){let $i=li.charAt(Qr);if(vn instanceof RegExp){if(!vn.test($i))return Qr}else if(!vn.includes($i))return Qr;Fn?Qr--:Qr++}return Qr===-1||Qr===Ti?Qr:!1}}var Ar=Vr(/\s/),mr=Vr(" "),Nr=Vr(",; "),rr=Vr(/[^\n\r]/);Ur.exports={skipWhitespace:Ar,skipSpaces:mr,skipToLineEnd:Nr,skipEverythingButNewLine:rr}}}),Ge=Ie({"src/utils/text/skip-trailing-comment.js"(bn,Ur){ae();var{skipEverythingButNewLine:Vr}=dt();function Ar(mr,Nr){return Nr===!1?!1:mr.charAt(Nr)==="/"&&mr.charAt(Nr+1)==="/"?Vr(mr,Nr):Nr}Ur.exports=Ar}}),Ct=Ie({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(bn,Ur){ae();var Vr=Le(),Ar=nt(),mr=Ge(),{skipSpaces:Nr}=dt();function rr(vn,li){let vi=null,gi=li;for(;gi!==vi;)vi=gi,gi=Nr(vn,gi),gi=Vr(vn,gi),gi=mr(vn,gi),gi=Ar(vn,gi);return gi}Ur.exports=rr}}),or={};Ze(or,{EOL:()=>Jo,arch:()=>ko,cpus:()=>ui,default:()=>oo,endianness:()=>er,freemem:()=>pn,getNetworkInterfaces:()=>Es,hostname:()=>Or,loadavg:()=>Cr,networkInterfaces:()=>Ye,platform:()=>Ho,release:()=>Gi,tmpDir:()=>vs,tmpdir:()=>Cs,totalmem:()=>mn,type:()=>Oi,uptime:()=>Oe});function er(){if(typeof po>"u"){var bn=new ArrayBuffer(2),Ur=new Uint8Array(bn),Vr=new Uint16Array(bn);if(Ur[0]=1,Ur[1]=2,Vr[0]===258)po="BE";else if(Vr[0]===513)po="LE";else throw new Error("unable to figure out endianess")}return po}function Or(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Cr(){return[]}function Oe(){return 0}function pn(){return Number.MAX_VALUE}function mn(){return Number.MAX_VALUE}function ui(){return[]}function Oi(){return"Browser"}function Gi(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Ye(){}function Es(){}function ko(){return"javascript"}function Ho(){return"browser"}function vs(){return"/tmp"}var po,Cs,Jo,oo,Js=$e({"node-modules-polyfills:os"(){ae(),Cs=vs,Jo=`
`,oo={EOL:Jo,tmpdir:Cs,tmpDir:vs,networkInterfaces:Ye,getNetworkInterfaces:Es,release:Gi,type:Oi,cpus:ui,totalmem:mn,freemem:pn,uptime:Oe,loadavg:Cr,hostname:Or,endianness:er}}}),_u=Ie({"node-modules-polyfills-commonjs:os"(bn,Ur){ae();var Vr=(Js(),le(or));if(Vr&&Vr.default){Ur.exports=Vr.default;for(let Ar in Vr)Ur.exports[Ar]=Vr[Ar]}else Vr&&(Ur.exports=Vr)}}),So=Ie({"node_modules/detect-newline/index.js"(bn,Ur){ae();var Vr=Ar=>{if(typeof Ar!="string")throw new TypeError("Expected a string");let mr=Ar.match(/(?:\r?\n)/g)||[];if(mr.length===0)return;let Nr=mr.filter(vn=>vn===`\r
`).length,rr=mr.length-Nr;return Nr>rr?`\r
`:`
`};Ur.exports=Vr,Ur.exports.graceful=Ar=>typeof Ar=="string"&&Vr(Ar)||`
`}}),Zs=Ie({"node_modules/jest-docblock/build/index.js"(bn){ae(),Object.defineProperty(bn,"__esModule",{value:!0}),bn.extract=Qr,bn.parse=ks,bn.parseWithComments=Xn,bn.print=ki,bn.strip=$i;function Ur(){let Bi=_u();return Ur=function(){return Bi},Bi}function Vr(){let Bi=Ar(So());return Vr=function(){return Bi},Bi}function Ar(Bi){return Bi&&Bi.__esModule?Bi:{default:Bi}}var mr=/\*\/$/,Nr=/^\/\*\*?/,rr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,vn=/(^|\s+)\/\/([^\r\n]*)/g,li=/^(\r?\n)+/,vi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,gi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Fn=/(\r?\n|^) *\* ?/g,Ti=[];function Qr(Bi){let Ji=Bi.match(rr);return Ji?Ji[0].trimLeft():""}function $i(Bi){let Ji=Bi.match(rr);return Ji&&Ji[0]?Bi.substring(Ji[0].length):Bi}function ks(Bi){return Xn(Bi).pragmas}function Xn(Bi){let Ji=(0,Vr().default)(Bi)||Ur().EOL;Bi=Bi.replace(Nr,"").replace(mr,"").replace(Fn,"$1");let Ks="";for(;Ks!==Bi;)Ks=Bi,Bi=Bi.replace(vi,`${Ji}$1 $2${Ji}`);Bi=Bi.replace(li,"").trimRight();let te=Object.create(null),Re=Bi.replace(gi,"").replace(li,"").trimRight(),ot;for(;ot=gi.exec(Bi);){let at=ot[2].replace(vn,"");typeof te[ot[1]]=="string"||Array.isArray(te[ot[1]])?te[ot[1]]=Ti.concat(te[ot[1]],at):te[ot[1]]=at}return{comments:Re,pragmas:te}}function ki(Bi){let{comments:Ji="",pragmas:Ks={}}=Bi,te=(0,Vr().default)(Ji)||Ur().EOL,Re="/**",ot=" *",at=" */",Pt=Object.keys(Ks),qe=Pt.map(Lt=>Os(Lt,Ks[Lt])).reduce((Lt,Gt)=>Lt.concat(Gt),[]).map(Lt=>`${ot} ${Lt}${te}`).join("");if(!Ji){if(Pt.length===0)return"";if(Pt.length===1&&!Array.isArray(Ks[Pt[0]])){let Lt=Ks[Pt[0]];return`${Re} ${Os(Pt[0],Lt)[0]}${at}`}}let ut=Ji.split(te).map(Lt=>`${ot} ${Lt}`).join(te)+te;return Re+te+(Ji?ut:"")+(Ji&&Pt.length?ot+te:"")+qe+at}function Os(Bi,Ji){return Ti.concat(Ji).map(Ks=>`@${Bi} ${Ks}`.trim())}}}),fo=Ie({"src/common/end-of-line.js"(bn,Ur){ae();function Vr(rr){let vn=rr.indexOf("\r");return vn>=0?rr.charAt(vn+1)===`
`?"crlf":"cr":"lf"}function Ar(rr){switch(rr){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function mr(rr,vn){let li;switch(vn){case`
`:li=/\n/g;break;case"\r":li=/\r/g;break;case`\r
`:li=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(vn)}.`)}let vi=rr.match(li);return vi?vi.length:0}function Nr(rr){return rr.replace(/\r\n?/g,`
`)}Ur.exports={guessEndOfLine:Vr,convertEndOfLineToChars:Ar,countEndOfLineChars:mr,normalizeEndOfLine:Nr}}}),wl=Ie({"src/language-js/pragma.js"(bn,Ur){ae();var{parseWithComments:Vr,strip:Ar,extract:mr,print:Nr}=Zs(),{normalizeEndOfLine:rr}=fo(),vn=xe();function li(Fn){let Ti=vn(Fn);Ti&&(Fn=Fn.slice(Ti.length+1));let Qr=mr(Fn),{pragmas:$i,comments:ks}=Vr(Qr);return{shebang:Ti,text:Fn,pragmas:$i,comments:ks}}function vi(Fn){let Ti=Object.keys(li(Fn).pragmas);return Ti.includes("prettier")||Ti.includes("format")}function gi(Fn){let{shebang:Ti,text:Qr,pragmas:$i,comments:ks}=li(Fn),Xn=Ar(Qr),ki=Nr({pragmas:Object.assign({format:""},$i),comments:ks.trimStart()});return(Ti?`${Ti}
`:"")+rr(ki)+(Xn.startsWith(`
`)?`
`:`
`)+Xn}Ur.exports={hasPragma:vi,insertPragma:gi}}}),Al=Ie({"src/utils/is-non-empty-array.js"(bn,Ur){ae();function Vr(Ar){return Array.isArray(Ar)&&Ar.length>0}Ur.exports=Vr}}),$u=Ie({"src/language-js/loc.js"(bn,Ur){ae();var Vr=Al();function Ar(li){var vi,gi;let Fn=li.range?li.range[0]:li.start,Ti=(vi=(gi=li.declaration)===null||gi===void 0?void 0:gi.decorators)!==null&&vi!==void 0?vi:li.decorators;return Vr(Ti)?Math.min(Ar(Ti[0]),Fn):Fn}function mr(li){return li.range?li.range[1]:li.end}function Nr(li,vi){let gi=Ar(li);return Number.isInteger(gi)&&gi===Ar(vi)}function rr(li,vi){let gi=mr(li);return Number.isInteger(gi)&&gi===mr(vi)}function vn(li,vi){return Nr(li,vi)&&rr(li,vi)}Ur.exports={locStart:Ar,locEnd:mr,hasSameLocStart:Nr,hasSameLoc:vn}}}),Tl=Ie({"src/language-js/parse/utils/create-parser.js"(bn,Ur){ae();var{hasPragma:Vr}=wl(),{locStart:Ar,locEnd:mr}=$u();function Nr(rr){return rr=typeof rr=="function"?{parse:rr}:rr,Object.assign({astFormat:"estree",hasPragma:Vr,locStart:Ar,locEnd:mr},rr)}Ur.exports=Nr}}),su=Ie({"src/common/parser-create-error.js"(bn,Ur){ae();function Vr(Ar,mr){let Nr=new SyntaxError(Ar+" ("+mr.start.line+":"+mr.start.column+")");return Nr.loc=mr,Nr}Ur.exports=Vr}}),$a=Ie({"src/language-js/parse/utils/create-babel-parse-error.js"(bn,Ur){ae();var Vr=su();function Ar(mr){let{message:Nr,loc:rr}=mr;return Vr(Nr.replace(/ \(.*\)/,""),{start:{line:rr?rr.line:0,column:rr?rr.column+1:0}})}Ur.exports=Ar}}),uc=Ie({"src/language-js/utils/is-ts-keyword-type.js"(bn,Ur){ae();function Vr(Ar){let{type:mr}=Ar;return mr.startsWith("TS")&&mr.endsWith("Keyword")}Ur.exports=Vr}}),lc=Ie({"src/language-js/utils/is-block-comment.js"(bn,Ur){ae();var Vr=new Set(["Block","CommentBlock","MultiLine"]),Ar=mr=>Vr.has(mr==null?void 0:mr.type);Ur.exports=Ar}}),Ln=Ie({"src/language-js/utils/is-type-cast-comment.js"(bn,Ur){ae();var Vr=lc();function Ar(mr){return Vr(mr)&&mr.value[0]==="*"&&/@(?:type|satisfies)\b/.test(mr.value)}Ur.exports=Ar}}),Pl=Ie({"src/utils/get-last.js"(bn,Ur){ae();var Vr=Ar=>Ar[Ar.length-1];Ur.exports=Vr}}),cc=Ie({"src/language-js/parse/postprocess/visit-node.js"(bn,Ur){ae();function Vr(Ar,mr){if(Array.isArray(Ar)){for(let Nr=0;Nr<Ar.length;Nr++)Ar[Nr]=Vr(Ar[Nr],mr);return Ar}if(Ar&&typeof Ar=="object"&&typeof Ar.type=="string"){let Nr=Object.keys(Ar);for(let rr=0;rr<Nr.length;rr++)Ar[Nr[rr]]=Vr(Ar[Nr[rr]],mr);return mr(Ar)||Ar}return Ar}Ur.exports=Vr}}),hc=Ie({"src/language-js/parse/postprocess/throw-syntax-error.js"(bn,Ur){ae();var Vr=su();function Ar(mr,Nr){let{start:rr,end:vn}=mr.loc;throw Vr(Nr,{start:{line:rr.line,column:rr.column+1},end:{line:vn.line,column:vn.column+1}})}Ur.exports=Ar}}),kl=Ie({"src/language-js/parse/postprocess/index.js"(bn,Ur){ae();var{locStart:Vr,locEnd:Ar}=$u(),mr=uc(),Nr=Ln(),rr=Pl(),vn=cc(),li=hc();function vi(Qr,$i){if($i.parser!=="typescript"&&$i.parser!=="flow"&&$i.parser!=="acorn"&&$i.parser!=="espree"&&$i.parser!=="meriyah"){let Xn=new Set;Qr=vn(Qr,ki=>{ki.leadingComments&&ki.leadingComments.some(Nr)&&Xn.add(Vr(ki))}),Qr=vn(Qr,ki=>{if(ki.type==="ParenthesizedExpression"){let{expression:Os}=ki;if(Os.type==="TypeCastExpression")return Os.range=ki.range,Os;let Bi=Vr(ki);if(!Xn.has(Bi))return Os.extra=Object.assign(Object.assign({},Os.extra),{},{parenthesized:!0}),Os}})}return Qr=vn(Qr,Xn=>{switch(Xn.type){case"ChainExpression":return gi(Xn.expression);case"LogicalExpression":{if(Fn(Xn))return Ti(Xn);break}case"VariableDeclaration":{let ki=rr(Xn.declarations);ki&&ki.init&&ks(Xn,ki);break}case"TSParenthesizedType":return mr(Xn.typeAnnotation)||Xn.typeAnnotation.type==="TSThisType"||(Xn.typeAnnotation.range=[Vr(Xn),Ar(Xn)]),Xn.typeAnnotation;case"TSTypeParameter":if(typeof Xn.name=="string"){let ki=Vr(Xn);Xn.name={type:"Identifier",name:Xn.name,range:[ki,ki+Xn.name.length]}}break;case"ObjectExpression":if($i.parser==="typescript"){let ki=Xn.properties.find(Os=>Os.type==="Property"&&Os.value.type==="TSEmptyBodyFunctionExpression");ki&&li(ki.value,"Unexpected token.")}break;case"SequenceExpression":{let ki=rr(Xn.expressions);Xn.range=[Vr(Xn),Math.min(Ar(ki),Ar(Xn))];break}case"TopicReference":$i.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:ki}=Xn;if($i.parser==="meriyah"&&ki&&ki.type==="Identifier"){let Os=$i.originalText.slice(Vr(ki),Ar(ki));(Os.startsWith('"')||Os.startsWith("'"))&&(Xn.exported=Object.assign(Object.assign({},Xn.exported),{},{type:"Literal",value:Xn.exported.name,raw:Os}))}break}case"PropertyDefinition":if($i.parser==="meriyah"&&Xn.static&&!Xn.computed&&!Xn.key){let ki="static",Os=Vr(Xn);Object.assign(Xn,{static:!1,key:{type:"Identifier",name:ki,range:[Os,Os+ki.length]}})}break}}),Qr;function ks(Xn,ki){$i.originalText[Ar(ki)]!==";"&&(Xn.range=[Vr(Xn),Ar(ki)])}}function gi(Qr){switch(Qr.type){case"CallExpression":Qr.type="OptionalCallExpression",Qr.callee=gi(Qr.callee);break;case"MemberExpression":Qr.type="OptionalMemberExpression",Qr.object=gi(Qr.object);break;case"TSNonNullExpression":Qr.expression=gi(Qr.expression);break}return Qr}function Fn(Qr){return Qr.type==="LogicalExpression"&&Qr.right.type==="LogicalExpression"&&Qr.operator===Qr.right.operator}function Ti(Qr){return Fn(Qr)?Ti({type:"LogicalExpression",operator:Qr.operator,left:Ti({type:"LogicalExpression",operator:Qr.operator,left:Qr.left,right:Qr.right.left,range:[Vr(Qr.left),Ar(Qr.right.left)]}),right:Qr.right.right,range:[Vr(Qr),Ar(Qr)]}):Qr}Ur.exports=vi}}),Bu=Ie({"node_modules/@babel/parser/lib/index.js"(bn){ae(),Object.defineProperty(bn,"__esModule",{value:!0});var Ur={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,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Vr(c){if(c&&c.annexB!=null&&c.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let o={};for(let u of Object.keys(Ur))o[u]=c&&c[u]!=null?c[u]:Ur[u];return o}var Ar=class{constructor(c,o){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!o}},mr={brace:new Ar("{"),j_oTag:new Ar("<tag"),j_cTag:new Ar("</tag"),j_expr:new Ar("<tag>...</tag>",!0)};mr.template=new Ar("`",!0);var Nr=!0,rr=!0,vn=!0,li=!0,vi=!0,gi=!0,Fn=class{constructor(c){let o=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=o.keyword,this.beforeExpr=!!o.beforeExpr,this.startsExpr=!!o.startsExpr,this.rightAssociative=!!o.rightAssociative,this.isLoop=!!o.isLoop,this.isAssign=!!o.isAssign,this.prefix=!!o.prefix,this.postfix=!!o.postfix,this.binop=o.binop!=null?o.binop:null,this.updateContext=null}},Ti=new Map;function Qr(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.keyword=c;let u=te(c,o);return Ti.set(c,u),u}function $i(c,o){return te(c,{beforeExpr:Nr,binop:o})}var ks=-1,Xn=[],ki=[],Os=[],Bi=[],Ji=[],Ks=[];function te(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,h,f,m;return++ks,ki.push(c),Os.push((u=o.binop)!=null?u:-1),Bi.push((h=o.beforeExpr)!=null?h:!1),Ji.push((f=o.startsExpr)!=null?f:!1),Ks.push((m=o.prefix)!=null?m:!1),Xn.push(new Fn(c,o)),ks}function Re(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,h,f,m;return++ks,Ti.set(c,ks),ki.push(c),Os.push((u=o.binop)!=null?u:-1),Bi.push((h=o.beforeExpr)!=null?h:!1),Ji.push((f=o.startsExpr)!=null?f:!1),Ks.push((m=o.prefix)!=null?m:!1),Xn.push(new Fn("name",o)),ks}var ot={bracketL:te("[",{beforeExpr:Nr,startsExpr:rr}),bracketHashL:te("#[",{beforeExpr:Nr,startsExpr:rr}),bracketBarL:te("[|",{beforeExpr:Nr,startsExpr:rr}),bracketR:te("]"),bracketBarR:te("|]"),braceL:te("{",{beforeExpr:Nr,startsExpr:rr}),braceBarL:te("{|",{beforeExpr:Nr,startsExpr:rr}),braceHashL:te("#{",{beforeExpr:Nr,startsExpr:rr}),braceR:te("}"),braceBarR:te("|}"),parenL:te("(",{beforeExpr:Nr,startsExpr:rr}),parenR:te(")"),comma:te(",",{beforeExpr:Nr}),semi:te(";",{beforeExpr:Nr}),colon:te(":",{beforeExpr:Nr}),doubleColon:te("::",{beforeExpr:Nr}),dot:te("."),question:te("?",{beforeExpr:Nr}),questionDot:te("?."),arrow:te("=>",{beforeExpr:Nr}),template:te("template"),ellipsis:te("...",{beforeExpr:Nr}),backQuote:te("`",{startsExpr:rr}),dollarBraceL:te("${",{beforeExpr:Nr,startsExpr:rr}),templateTail:te("...`",{startsExpr:rr}),templateNonTail:te("...${",{beforeExpr:Nr,startsExpr:rr}),at:te("@"),hash:te("#",{startsExpr:rr}),interpreterDirective:te("#!..."),eq:te("=",{beforeExpr:Nr,isAssign:li}),assign:te("_=",{beforeExpr:Nr,isAssign:li}),slashAssign:te("_=",{beforeExpr:Nr,isAssign:li}),xorAssign:te("_=",{beforeExpr:Nr,isAssign:li}),moduloAssign:te("_=",{beforeExpr:Nr,isAssign:li}),incDec:te("++/--",{prefix:vi,postfix:gi,startsExpr:rr}),bang:te("!",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),tilde:te("~",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),doubleCaret:te("^^",{startsExpr:rr}),doubleAt:te("@@",{startsExpr:rr}),pipeline:$i("|>",0),nullishCoalescing:$i("??",1),logicalOR:$i("||",1),logicalAND:$i("&&",2),bitwiseOR:$i("|",3),bitwiseXOR:$i("^",4),bitwiseAND:$i("&",5),equality:$i("==/!=/===/!==",6),lt:$i("</>/<=/>=",7),gt:$i("</>/<=/>=",7),relational:$i("</>/<=/>=",7),bitShift:$i("<</>>/>>>",8),bitShiftL:$i("<</>>/>>>",8),bitShiftR:$i("<</>>/>>>",8),plusMin:te("+/-",{beforeExpr:Nr,binop:9,prefix:vi,startsExpr:rr}),modulo:te("%",{binop:10,startsExpr:rr}),star:te("*",{binop:10}),slash:$i("/",10),exponent:te("**",{beforeExpr:Nr,binop:11,rightAssociative:!0}),_in:Qr("in",{beforeExpr:Nr,binop:7}),_instanceof:Qr("instanceof",{beforeExpr:Nr,binop:7}),_break:Qr("break"),_case:Qr("case",{beforeExpr:Nr}),_catch:Qr("catch"),_continue:Qr("continue"),_debugger:Qr("debugger"),_default:Qr("default",{beforeExpr:Nr}),_else:Qr("else",{beforeExpr:Nr}),_finally:Qr("finally"),_function:Qr("function",{startsExpr:rr}),_if:Qr("if"),_return:Qr("return",{beforeExpr:Nr}),_switch:Qr("switch"),_throw:Qr("throw",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_try:Qr("try"),_var:Qr("var"),_const:Qr("const"),_with:Qr("with"),_new:Qr("new",{beforeExpr:Nr,startsExpr:rr}),_this:Qr("this",{startsExpr:rr}),_super:Qr("super",{startsExpr:rr}),_class:Qr("class",{startsExpr:rr}),_extends:Qr("extends",{beforeExpr:Nr}),_export:Qr("export"),_import:Qr("import",{startsExpr:rr}),_null:Qr("null",{startsExpr:rr}),_true:Qr("true",{startsExpr:rr}),_false:Qr("false",{startsExpr:rr}),_typeof:Qr("typeof",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_void:Qr("void",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_delete:Qr("delete",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_do:Qr("do",{isLoop:vn,beforeExpr:Nr}),_for:Qr("for",{isLoop:vn}),_while:Qr("while",{isLoop:vn}),_as:Re("as",{startsExpr:rr}),_assert:Re("assert",{startsExpr:rr}),_async:Re("async",{startsExpr:rr}),_await:Re("await",{startsExpr:rr}),_from:Re("from",{startsExpr:rr}),_get:Re("get",{startsExpr:rr}),_let:Re("let",{startsExpr:rr}),_meta:Re("meta",{startsExpr:rr}),_of:Re("of",{startsExpr:rr}),_sent:Re("sent",{startsExpr:rr}),_set:Re("set",{startsExpr:rr}),_static:Re("static",{startsExpr:rr}),_using:Re("using",{startsExpr:rr}),_yield:Re("yield",{startsExpr:rr}),_asserts:Re("asserts",{startsExpr:rr}),_checks:Re("checks",{startsExpr:rr}),_exports:Re("exports",{startsExpr:rr}),_global:Re("global",{startsExpr:rr}),_implements:Re("implements",{startsExpr:rr}),_intrinsic:Re("intrinsic",{startsExpr:rr}),_infer:Re("infer",{startsExpr:rr}),_is:Re("is",{startsExpr:rr}),_mixins:Re("mixins",{startsExpr:rr}),_proto:Re("proto",{startsExpr:rr}),_require:Re("require",{startsExpr:rr}),_satisfies:Re("satisfies",{startsExpr:rr}),_keyof:Re("keyof",{startsExpr:rr}),_readonly:Re("readonly",{startsExpr:rr}),_unique:Re("unique",{startsExpr:rr}),_abstract:Re("abstract",{startsExpr:rr}),_declare:Re("declare",{startsExpr:rr}),_enum:Re("enum",{startsExpr:rr}),_module:Re("module",{startsExpr:rr}),_namespace:Re("namespace",{startsExpr:rr}),_interface:Re("interface",{startsExpr:rr}),_type:Re("type",{startsExpr:rr}),_opaque:Re("opaque",{startsExpr:rr}),name:te("name",{startsExpr:rr}),string:te("string",{startsExpr:rr}),num:te("num",{startsExpr:rr}),bigint:te("bigint",{startsExpr:rr}),decimal:te("decimal",{startsExpr:rr}),regexp:te("regexp",{startsExpr:rr}),privateName:te("#name",{startsExpr:rr}),eof:te("eof"),jsxName:te("jsxName"),jsxText:te("jsxText",{beforeExpr:!0}),jsxTagStart:te("jsxTagStart",{startsExpr:!0}),jsxTagEnd:te("jsxTagEnd"),placeholder:te("%%",{startsExpr:!0})};function at(c){return c>=93&&c<=130}function Pt(c){return c<=92}function qe(c){return c>=58&&c<=130}function ut(c){return c>=58&&c<=134}function Lt(c){return Bi[c]}function Gt(c){return Ji[c]}function tn(c){return c>=29&&c<=33}function it(c){return c>=127&&c<=129}function wt(c){return c>=90&&c<=92}function Vt(c){return c>=58&&c<=92}function ar(c){return c>=39&&c<=59}function tr(c){return c===34}function fr(c){return Ks[c]}function rn(c){return c>=119&&c<=121}function Mn(c){return c>=122&&c<=128}function jr(c){return ki[c]}function Nn(c){return Os[c]}function ri(c){return c===57}function ns(c){return c>=24&&c<=25}function Er(c){return Xn[c]}Xn[8].updateContext=c=>{c.pop()},Xn[5].updateContext=Xn[7].updateContext=Xn[23].updateContext=c=>{c.push(mr.brace)},Xn[22].updateContext=c=>{c[c.length-1]===mr.template?c.pop():c.push(mr.template)},Xn[140].updateContext=c=>{c.push(mr.j_expr,mr.j_oTag)};function Zn(c,o){if(c==null)return{};var u={},h=Object.keys(c),f,m;for(m=0;m<h.length;m++)f=h[m],!(o.indexOf(f)>=0)&&(u[f]=c[f]);return u}var Jn=class{constructor(c,o,u){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=o,this.index=u}},xi=class{constructor(c,o){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=o}};function Ei(c,o){let{line:u,column:h,index:f}=c;return new Jn(u,h+o,f+o)}var Me={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},st=function(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c.length-1;return{get(){return c.reduce((u,h)=>u[h],this)},set(u){c.reduce((h,f,m)=>m===o?h[f]=u:h[f],this)}}},sr=(c,o,u)=>Object.keys(u).map(h=>[h,u[h]]).filter(h=>{let[,f]=h;return!!f}).map(h=>{let[f,m]=h;return[f,typeof m=="function"?{value:m,enumerable:!1}:typeof m.reflect=="string"?Object.assign({},m,st(m.reflect.split("."))):m]}).reduce((h,f)=>{let[m,y]=f;return Object.defineProperty(h,m,Object.assign({configurable:!0},y))},Object.assign(new c,o)),Xt={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Me.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Me.SourceTypeModuleError}},Ir={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"},Ci=c=>{let{type:o,prefix:u}=c;return o==="UpdateExpression"?Ir.UpdateExpression[String(u)]:Ir[o]},Ki={AccessorIsGenerator:c=>{let{kind:o}=c;return`A ${o}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.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",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:c=>{let{kind:o}=c;return`Missing initializer in ${o} 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.",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:c=>{let{exportName:o}=c;return`\`${o}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:c=>{let{localName:o,exportName:u}=c;return`A string literal cannot be used as an exported binding without \`from\`.
- Did you mean \`export { '${o}' as '${u}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:c=>{let{type:o}=c;return`'${o==="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:c=>{let{type:o}=c;return`Unsyntactic ${o==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:c=>{let{importName:o}=c;return`A string literal cannot be used as an imported binding.
- Did you mean \`import { "${o}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:c=>{let{maxArgumentCount:o}=c;return`\`import()\` requires exactly ${o===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:c=>{let{radix:o}=c;return`Expected number in radix ${o}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:c=>{let{reservedWord:o}=c;return`Escape sequence in keyword ${o}.`},InvalidIdentifier:c=>{let{identifierName:o}=c;return`Invalid identifier ${o}.`},InvalidLhs:c=>{let{ancestor:o}=c;return`Invalid left-hand side in ${Ci(o)}.`},InvalidLhsBinding:c=>{let{ancestor:o}=c;return`Binding invalid left-hand side in ${Ci(o)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:c=>{let{unexpected:o}=c;return`Unexpected character '${o}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:c=>{let{identifierName:o}=c;return`Private name #${o} 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:c=>{let{labelName:o}=c;return`Label '${o}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",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:c=>{let{missingPlugin:o}=c;return`This experimental syntax requires enabling the parser plugin: ${o.map(u=>JSON.stringify(u)).join(", ")}.`},MissingOneOfPlugins:c=>{let{missingPlugin:o}=c;return`This experimental syntax requires enabling one of the following parser plugin(s): ${o.map(u=>JSON.stringify(u)).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:c=>{let{key:o}=c;return`Duplicate key "${o}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:c=>{let{surrogateCharCode:o}=c;return`An export name cannot include a lone surrogate, found '\\u${o.toString(16)}'.`},ModuleExportUndefined:c=>{let{localName:o}=c;return`Export '${o}' 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:c=>{let{identifierName:o}=c;return`Private names are only allowed in property accesses (\`obj.#${o}\`) or in \`in\` expressions (\`#${o} in obj\`).`},PrivateNameRedeclaration:c=>{let{identifierName:o}=c;return`Duplicate private name #${o}.`},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.",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:c=>{let{keyword:o}=c;return`Unexpected keyword '${o}'.`},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:c=>{let{reservedWord:o}=c;return`Unexpected reserved word '${o}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:c=>{let{expected:o,unexpected:u}=c;return`Unexpected token${u?` '${u}'.`:""}${o?`, expected "${o}"`:""}`},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:c=>{let{target:o,onlyValidPropertyName:u}=c;return`The only valid meta property for ${o} is ${o}.${u}.`},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:c=>{let{identifierName:o}=c;return`Identifier '${o}' 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."},eo={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:c=>{let{referenceName:o}=c;return`Assigning to '${o}' in strict mode.`},StrictEvalArgumentsBinding:c=>{let{bindingName:o}=c;return`Binding '${o}' 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."},Ns=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),go={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:c=>{let{token:o}=c;return`Invalid topic token ${o}. In order to use ${o} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${o}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:c=>{let{type:o}=c;return`Hack-style pipe body cannot be an unparenthesized ${Ci({type:o})}; 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.'},yo=["toMessage"],_o=["message"];function $o(c){let{toMessage:o}=c,u=Zn(c,yo);return function h(f){let{loc:m,details:y}=f;return sr(SyntaxError,Object.assign({},u,{loc:m}),{clone(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=D.loc||{};return h({loc:new Jn("line"in O?O.line:this.loc.line,"column"in O?O.column:this.loc.column,"index"in O?O.index:this.loc.index),details:Object.assign({},this.details,D.details)})},details:{value:y,enumerable:!1},message:{get(){return`${o(this.details)} (${this.loc.line}:${this.loc.column})`},set(D){Object.defineProperty(this,"message",{value:D})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in y&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Wi(c,o){if(Array.isArray(c))return h=>Wi(h,c[0]);let u={};for(let h of Object.keys(c)){let f=c[h],m=typeof f=="string"?{message:()=>f}:typeof f=="function"?{message:f}:f,{message:y}=m,D=Zn(m,_o),O=typeof y=="string"?()=>y:y;u[h]=$o(Object.assign({code:Me.SyntaxError,reasonCode:h,toMessage:O},o?{syntaxPlugin:o}:{},D))}return u}var Qe=Object.assign({},Wi(Xt),Wi(Ki),Wi(eo),Wi`pipelineOperator`(go)),{defineProperty:an}=Object,_n=(c,o)=>an(c,o,{enumerable:!1,value:c[o]});function Cn(c){return c.loc.start&&_n(c.loc.start,"index"),c.loc.end&&_n(c.loc.end,"index"),c}var yi=c=>class extends c{parse(){let o=Cn(super.parse());return this.options.tokens&&(o.tokens=o.tokens.map(Cn)),o}parseRegExpLiteral(o){let{pattern:u,flags:h}=o,f=null;try{f=new RegExp(u,h)}catch{}let m=this.estreeParseLiteral(f);return m.regex={pattern:u,flags:h},m}parseBigIntLiteral(o){let u;try{u=BigInt(o)}catch{u=null}let h=this.estreeParseLiteral(u);return h.bigint=String(h.value||o),h}parseDecimalLiteral(o){let u=this.estreeParseLiteral(null);return u.decimal=String(u.value||o),u}estreeParseLiteral(o){return this.parseLiteral(o,"Literal")}parseStringLiteral(o){return this.estreeParseLiteral(o)}parseNumericLiteral(o){return this.estreeParseLiteral(o)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(o){return this.estreeParseLiteral(o)}directiveToStmt(o){let u=o.value;delete o.value,u.type="Literal",u.raw=u.extra.raw,u.value=u.extra.expressionValue;let h=o;return h.type="ExpressionStatement",h.expression=u,h.directive=u.extra.rawValue,delete u.extra,h}initFunction(o,u){super.initFunction(o,u),o.expression=!1}checkDeclaration(o){o!=null&&this.isObjectProperty(o)?this.checkDeclaration(o.value):super.checkDeclaration(o)}getObjectOrClassMethodParams(o){return o.value.params}isValidDirective(o){var u;return o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"&&!((u=o.expression.extra)!=null&&u.parenthesized)}parseBlockBody(o,u,h,f,m){super.parseBlockBody(o,u,h,f,m);let y=o.directives.map(D=>this.directiveToStmt(D));o.body=y.concat(o.body),delete o.directives}pushClassMethod(o,u,h,f,m,y){this.parseMethod(u,h,f,m,y,"ClassMethod",!0),u.typeParameters&&(u.value.typeParameters=u.typeParameters,delete u.typeParameters),o.body.push(u)}parsePrivateName(){let o=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(o):o}convertPrivateNameToPrivateIdentifier(o){let u=super.getPrivateNameSV(o);return o=o,delete o.id,o.name=u,o.type="PrivateIdentifier",o}isPrivateName(o){return this.getPluginOption("estree","classFeatures")?o.type==="PrivateIdentifier":super.isPrivateName(o)}getPrivateNameSV(o){return this.getPluginOption("estree","classFeatures")?o.name:super.getPrivateNameSV(o)}parseLiteral(o,u){let h=super.parseLiteral(o,u);return h.raw=h.extra.raw,delete h.extra,h}parseFunctionBody(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(o,u,h),o.expression=o.body.type!=="BlockStatement"}parseMethod(o,u,h,f,m,y){let D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,O=this.startNode();return O.kind=o.kind,O=super.parseMethod(O,u,h,f,m,y,D),O.type="FunctionExpression",delete O.kind,o.value=O,y==="ClassPrivateMethod"&&(o.computed=!1),this.finishNode(o,"MethodDefinition")}parseClassProperty(){let o=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition"),o}parseClassPrivateProperty(){let o=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition",o.computed=!1),o}parseObjectMethod(o,u,h,f,m){let y=super.parseObjectMethod(o,u,h,f,m);return y&&(y.type="Property",y.kind==="method"&&(y.kind="init"),y.shorthand=!1),y}parseObjectProperty(o,u,h,f){let m=super.parseObjectProperty(o,u,h,f);return m&&(m.kind="init",m.type="Property"),m}isValidLVal(o,u,h){return o==="Property"?"value":super.isValidLVal(o,u,h)}isAssignable(o,u){return o!=null&&this.isObjectProperty(o)?this.isAssignable(o.value,u):super.isAssignable(o,u)}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o!=null&&this.isObjectProperty(o)){let{key:h,value:f}=o;this.isPrivateName(h)&&this.classScope.usePrivateName(this.getPrivateNameSV(h),h.loc.start),this.toAssignable(f,u)}else super.toAssignable(o,u)}toAssignableObjectExpressionProp(o,u,h){o.kind==="get"||o.kind==="set"?this.raise(Qe.PatternHasAccessor,{at:o.key}):o.method?this.raise(Qe.PatternHasMethod,{at:o.key}):super.toAssignableObjectExpressionProp(o,u,h)}finishCallExpression(o,u){let h=super.finishCallExpression(o,u);if(h.callee.type==="Import"){if(h.type="ImportExpression",h.source=h.arguments[0],this.hasPlugin("importAssertions")){var f;h.attributes=(f=h.arguments[1])!=null?f:null}delete h.arguments,delete h.callee}return h}toReferencedArguments(o){o.type!=="ImportExpression"&&super.toReferencedArguments(o)}parseExport(o,u){let h=this.state.lastTokStartLoc,f=super.parseExport(o,u);switch(f.type){case"ExportAllDeclaration":f.exported=null;break;case"ExportNamedDeclaration":f.specifiers.length===1&&f.specifiers[0].type==="ExportNamespaceSpecifier"&&(f.type="ExportAllDeclaration",f.exported=f.specifiers[0].exported,delete f.specifiers);case"ExportDefaultDeclaration":{var m;let{declaration:y}=f;(y==null?void 0:y.type)==="ClassDeclaration"&&((m=y.decorators)==null?void 0:m.length)>0&&y.start===f.start&&this.resetStartLocation(f,h)}break}return f}parseSubscript(o,u,h,f){let m=super.parseSubscript(o,u,h,f);if(f.optionalChainMember){if((m.type==="OptionalMemberExpression"||m.type==="OptionalCallExpression")&&(m.type=m.type.substring(8)),f.stop){let y=this.startNodeAtNode(m);return y.expression=m,this.finishNode(y,"ChainExpression")}}else(m.type==="MemberExpression"||m.type==="CallExpression")&&(m.optional=!1);return m}hasPropertyAsPrivateName(o){return o.type==="ChainExpression"&&(o=o.expression),super.hasPropertyAsPrivateName(o)}isObjectProperty(o){return o.type==="Property"&&o.kind==="init"&&!o.method}isObjectMethod(o){return o.method||o.kind==="get"||o.kind==="set"}finishNodeAt(o,u,h){return Cn(super.finishNodeAt(o,u,h))}resetStartLocation(o,u){super.resetStartLocation(o,u),Cn(o)}resetEndLocation(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(o,u),Cn(o)}},is="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ls="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--_",Zi=new RegExp("["+is+"]"),Eo=new RegExp("["+is+ls+"]");is=ls=null;var Za=[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,3104,541,1507,4938,6,4191],uu=[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 lu(c,o){let u=65536;for(let h=0,f=o.length;h<f;h+=2){if(u+=o[h],u>c)return!1;if(u+=o[h+1],u>=c)return!0}return!1}function jo(c){return c<65?c===36:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&Zi.test(String.fromCharCode(c)):lu(c,Za)}function ba(c){return c<48?c===36:c<58?!0:c<65?!1:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&Eo.test(String.fromCharCode(c)):lu(c,Za)||lu(c,uu)}var Is={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},ta=new Set(Is.keyword),Ia=new Set(Is.strict),tp=new Set(Is.strictBind);function ch(c,o){return o&&c==="await"||c==="enum"}function Ya(c,o){return ch(c,o)||Ia.has(c)}function rp(c){return tp.has(c)}function as(c,o){return Ya(c,o)||rp(c)}function Xu(c){return ta.has(c)}function uf(c,o,u){return c===64&&o===64&&jo(u)}var np=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"]);function ip(c){return np.has(c)}var Vu=0,Uu=1,va=2,Bl=4,qu=8,cu=16,Nl=32,Ma=64,zu=128,Ga=256,Wu=Uu|va|zu|Ga,ra=1,Ca=2,gc=4,ca=8,Zu=16,yc=64,hu=128,pu=256,Il=512,Ml=1024,Dc=2048,Rl=4096,Ql=8192,sp=ra|Ca|ca|hu|Ql,Ra=ra|0|ca|Ql,Oc=ra|0|ca|0,Yu=ra|0|gc|0,xc=ra|0|Zu|0,jl=0|Ca|0|hu,fu=0|Ca|0|0,Ll=ra|Ca|ca|pu|Ql,hh=0|Ml,Sa=0|yc,op=ra|0|0|yc,bc=Ll|Il,Bo=0|Ml,Gu=0|Ca|0|Rl,ap=Dc,Xl=4,ph=2,Vl=1,du=ph|Vl,vc=ph|Xl,Hu=Vl|Xl,Cc=ph,Ul=Vl,Ju=0,ql=class{constructor(c){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=c}},mu=class{constructor(c,o){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=o}get inTopLevel(){return(this.currentScope().flags&Uu)>0}get inFunction(){return(this.currentVarScopeFlags()&va)>0}get allowSuper(){return(this.currentThisScopeFlags()&cu)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Nl)>0}get inClass(){return(this.currentThisScopeFlags()&Ma)>0}get inClassAndNotInNonArrowFunction(){let c=this.currentThisScopeFlags();return(c&Ma)>0&&(c&va)===0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&zu)return!0;if(o&(Wu|Ma))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&va)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new ql(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(c.flags&(va|zu)||!this.parser.inModule&&c.flags&Uu)}declareName(c,o,u){let h=this.currentScope();if(o&ca||o&Zu)this.checkRedeclarationInScope(h,c,o,u),o&Zu?h.functions.add(c):h.lexical.add(c),o&ca&&this.maybeExportDefined(h,c);else if(o&gc)for(let f=this.scopeStack.length-1;f>=0&&(h=this.scopeStack[f],this.checkRedeclarationInScope(h,c,o,u),h.var.add(c),this.maybeExportDefined(h,c),!(h.flags&Wu));--f);this.parser.inModule&&h.flags&Uu&&this.undefinedExports.delete(c)}maybeExportDefined(c,o){this.parser.inModule&&c.flags&Uu&&this.undefinedExports.delete(o)}checkRedeclarationInScope(c,o,u,h){this.isRedeclaredInScope(c,o,u)&&this.parser.raise(Qe.VarRedeclaration,{at:h,identifierName:o})}isRedeclaredInScope(c,o,u){return u&ra?u&ca?c.lexical.has(o)||c.functions.has(o)||c.var.has(o):u&Zu?c.lexical.has(o)||!this.treatFunctionsAsVarInScope(c)&&c.var.has(o):c.lexical.has(o)&&!(c.flags&qu&&c.lexical.values().next().value===o)||!this.treatFunctionsAsVarInScope(c)&&c.functions.has(o):!1}checkLocalExport(c){let{name:o}=c,u=this.scopeStack[0];!u.lexical.has(o)&&!u.var.has(o)&&!u.functions.has(o)&&this.undefinedExports.set(o,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&Wu)return o}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&(Wu|Ma)&&!(o&Bl))return o}}},up=class extends ql{constructor(){super(...arguments),this.declareFunctions=new Set}},lp=class extends mu{createScope(c){return new up(c)}declareName(c,o,u){let h=this.currentScope();if(o&Dc){this.checkRedeclarationInScope(h,c,o,u),this.maybeExportDefined(h,c),h.declareFunctions.add(c);return}super.declareName(c,o,u)}isRedeclaredInScope(c,o,u){return super.isRedeclaredInScope(c,o,u)?!0:u&Dc?!c.declareFunctions.has(o)&&(c.lexical.has(o)||c.functions.has(o)):!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}},fh=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{let[o,u]=c;if(!this.hasPlugin(o))return!1;let h=this.plugins.get(o);for(let f of Object.keys(u))if((h==null?void 0:h[f])!==u[f])return!1;return!0}}getPluginOption(c,o){var u;return(u=this.plugins.get(c))==null?void 0:u[o]}};function cp(c,o){c.trailingComments===void 0?c.trailingComments=o:c.trailingComments.unshift(...o)}function lf(c,o){c.leadingComments===void 0?c.leadingComments=o:c.leadingComments.unshift(...o)}function Ku(c,o){c.innerComments===void 0?c.innerComments=o:c.innerComments.unshift(...o)}function el(c,o,u){let h=null,f=o.length;for(;h===null&&f>0;)h=o[--f];h===null||h.start>u.start?Ku(c,u.comments):cp(h,u.comments)}var hp=class extends fh{addComment(c){this.filename&&(c.loc.filename=this.filename),this.state.comments.push(c)}processComment(c){let{commentStack:o}=this.state,u=o.length;if(u===0)return;let h=u-1,f=o[h];f.start===c.end&&(f.leadingNode=c,h--);let{start:m}=c;for(;h>=0;h--){let y=o[h],D=y.end;if(D>m)y.containingNode=c,this.finalizeComment(y),o.splice(h,1);else{D===m&&(y.trailingNode=c);break}}}finalizeComment(c){let{comments:o}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&cp(c.leadingNode,o),c.trailingNode!==null&&lf(c.trailingNode,o);else{let{containingNode:u,start:h}=c;if(this.input.charCodeAt(h-1)===44)switch(u.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":el(u,u.properties,c);break;case"CallExpression":case"OptionalCallExpression":el(u,u.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":el(u,u.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":el(u,u.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":el(u,u.specifiers,c);break;default:Ku(u,o)}else Ku(u,o)}}finalizeRemainingComments(){let{commentStack:c}=this.state;for(let o=c.length-1;o>=0;o--)this.finalizeComment(c[o]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){let{commentStack:o}=this.state,{length:u}=o;if(u===0)return;let h=o[u-1];h.leadingNode===c&&(h.leadingNode=null)}takeSurroundingComments(c,o,u){let{commentStack:h}=this.state,f=h.length;if(f===0)return;let m=f-1;for(;m>=0;m--){let y=h[m],D=y.end;if(y.start===u)y.leadingNode=c;else if(D===o)y.trailingNode=c;else if(D<o)break}}},dh=/\r\n?|[\n\u2028\u2029]/,Sc=new RegExp(dh.source,"g");function zl(c){switch(c){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Wl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,cf=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,gu=new RegExp("(?=("+cf.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function hf(c){switch(c){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var pp=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[mr.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(c){let{strictMode:o,sourceType:u,startLine:h,startColumn:f}=c;this.strict=o===!1?!1:o===!0?!0:u==="module",this.curLine=h,this.lineStart=-f,this.startLoc=this.endLoc=new Jn(h,f,0)}curPosition(){return new Jn(this.curLine,this.pos-this.lineStart,this.pos)}clone(c){let o=new pp,u=Object.keys(this);for(let h=0,f=u.length;h<f;h++){let m=u[h],y=this[m];!c&&Array.isArray(y)&&(y=y.slice()),o[m]=y}return o}},mh=function(c){return c>=48&&c<=57},fp={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ec={bin:c=>c===48||c===49,oct:c=>c>=48&&c<=55,dec:c=>c>=48&&c<=57,hex:c=>c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102};function gh(c,o,u,h,f,m){let y=u,D=h,O=f,x="",v=null,E=u,{length:F}=o;for(;;){if(u>=F){m.unterminated(y,D,O),x+=o.slice(E,u);break}let k=o.charCodeAt(u);if(yh(c,k,o,u)){x+=o.slice(E,u);break}if(k===92){x+=o.slice(E,u);let N=dp(o,u,h,f,c==="template",m);N.ch===null&&!v?v={pos:u,lineStart:h,curLine:f}:x+=N.ch,{pos:u,lineStart:h,curLine:f}=N,E=u}else k===8232||k===8233?(++u,++f,h=u):k===10||k===13?c==="template"?(x+=o.slice(E,u)+`
`,++u,k===13&&o.charCodeAt(u)===10&&++u,++f,E=h=u):m.unterminated(y,D,O):++u}return{pos:u,str:x,firstInvalidLoc:v,lineStart:h,curLine:f,containsInvalid:!!v}}function yh(c,o,u,h){return c==="template"?o===96||o===36&&u.charCodeAt(h+1)===123:o===(c==="double"?34:39)}function dp(c,o,u,h,f,m){let y=!f;o++;let D=x=>({pos:o,ch:x,lineStart:u,curLine:h}),O=c.charCodeAt(o++);switch(O){case 110:return D(`
`);case 114:return D("\r");case 120:{let x;return{code:x,pos:o}=Dh(c,o,u,h,2,!1,y,m),D(x===null?null:String.fromCharCode(x))}case 117:{let x;return{code:x,pos:o}=wc(c,o,u,h,y,m),D(x===null?null:String.fromCodePoint(x))}case 116:return D(" ");case 98:return D("\b");case 118:return D("\v");case 102:return D("\f");case 13:c.charCodeAt(o)===10&&++o;case 10:u=o,++h;case 8232:case 8233:return D("");case 56:case 57:if(f)return D(null);m.strictNumericEscape(o-1,u,h);default:if(O>=48&&O<=55){let x=o-1,v=c.slice(x,o+2).match(/^[0-7]+/)[0],E=parseInt(v,8);E>255&&(v=v.slice(0,-1),E=parseInt(v,8)),o+=v.length-1;let F=c.charCodeAt(o);if(v!=="0"||F===56||F===57){if(f)return D(null);m.strictNumericEscape(x,u,h)}return D(String.fromCharCode(E))}return D(String.fromCharCode(O))}}function Dh(c,o,u,h,f,m,y,D){let O=o,x;return{n:x,pos:o}=mp(c,o,u,h,16,f,m,!1,D,!y),x===null&&(y?D.invalidEscapeSequence(O,u,h):o=O-1),{code:x,pos:o}}function mp(c,o,u,h,f,m,y,D,O,x){let v=o,E=f===16?fp.hex:fp.decBinOct,F=f===16?Ec.hex:f===10?Ec.dec:f===8?Ec.oct:Ec.bin,k=!1,N=0;for(let T=0,_=m??1/0;T<_;++T){let R=c.charCodeAt(o),W;if(R===95&&D!=="bail"){let ne=c.charCodeAt(o-1),L=c.charCodeAt(o+1);if(D){if(Number.isNaN(L)||!F(L)||E.has(ne)||E.has(L)){if(x)return{n:null,pos:o};O.unexpectedNumericSeparator(o,u,h)}}else{if(x)return{n:null,pos:o};O.numericSeparatorInEscapeSequence(o,u,h)}++o;continue}if(R>=97?W=R-97+10:R>=65?W=R-65+10:mh(R)?W=R-48:W=1/0,W>=f){if(W<=9&&x)return{n:null,pos:o};if(W<=9&&O.invalidDigit(o,u,h,f))W=0;else if(y)W=0,k=!0;else break}++o,N=N*f+W}return o===v||m!=null&&o-v!==m||k?{n:null,pos:o}:{n:N,pos:o}}function wc(c,o,u,h,f,m){let y=c.charCodeAt(o),D;if(y===123){if(++o,{code:D,pos:o}=Dh(c,o,u,h,c.indexOf("}",o)-o,!0,f,m),++o,D!==null&&D>1114111)if(f)m.invalidCodePoint(o,u,h);else return{code:null,pos:o}}else({code:D,pos:o}=Dh(c,o,u,h,4,!1,f,m));return{code:D,pos:o}}var pf=["at"],gp=["at"];function Zl(c,o,u){return new Jn(u,c-o,c)}var Oh=new Set([103,109,115,105,121,117,100,118]),na=class{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new xi(c.startLoc,c.endLoc)}},yp=class extends hp{constructor(c,o){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(u,h,f,m)=>this.options.errorRecovery?(this.raise(Qe.InvalidDigit,{at:Zl(u,h,f),radix:m}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Qe.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Qe.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Qe.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Qe.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(u,h,f)=>{this.recordStrictModeErrors(Qe.StrictNumericEscape,{at:Zl(u,h,f)})},unterminated:(u,h,f)=>{throw this.raise(Qe.UnterminatedString,{at:Zl(u-1,h,f)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Qe.StrictNumericEscape),unterminated:(u,h,f)=>{throw this.raise(Qe.UnterminatedTemplate,{at:Zl(u,h,f)})}}),this.state=new pp,this.state.init(c),this.input=o,this.length=o.length,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 na(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return this.match(c)?(this.next(),!0):!1}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(){let c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let o=this.state;return this.state=c,o}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return Wl.lastIndex=c,Wl.test(this.input)?Wl.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(c){let o=this.input.charCodeAt(c);if((o&64512)===55296&&++c<this.input.length){let u=this.input.charCodeAt(c);(u&64512)===56320&&(o=65536+((o&1023)<<10)+(u&1023))}return o}setStrict(c){this.state.strict=c,c&&(this.state.strictErrors.forEach(o=>{let[u,h]=o;return this.raise(u,{at:h})}),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(c){let o;this.isLookahead||(o=this.state.curPosition());let u=this.state.pos,h=this.input.indexOf(c,u+2);if(h===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=h+c.length,Sc.lastIndex=u+2;Sc.test(this.input)&&Sc.lastIndex<=h;)++this.state.curLine,this.state.lineStart=Sc.lastIndex;if(this.isLookahead)return;let f={type:"CommentBlock",value:this.input.slice(u+2,h),start:u,end:h+c.length,loc:new xi(o,this.state.curPosition())};return this.options.tokens&&this.pushToken(f),f}skipLineComment(c){let o=this.state.pos,u;this.isLookahead||(u=this.state.curPosition());let h=this.input.charCodeAt(this.state.pos+=c);if(this.state.pos<this.length)for(;!zl(h)&&++this.state.pos<this.length;)h=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let f=this.state.pos,m={type:"CommentLine",value:this.input.slice(o+c,f),start:o,end:f,loc:new xi(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(m),m}skipSpace(){let c=this.state.pos,o=[];e:for(;this.state.pos<this.length;){let u=this.input.charCodeAt(this.state.pos);switch(u){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let h=this.skipBlockComment("*/");h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h));break}case 47:{let h=this.skipLineComment(2);h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h));break}default:break e}break;default:if(hf(u))++this.state.pos;else if(u===45&&!this.inModule&&this.options.annexB){let h=this.state.pos;if(this.input.charCodeAt(h+1)===45&&this.input.charCodeAt(h+2)===62&&(c===0||this.state.lineStart>c)){let f=this.skipLineComment(3);f!==void 0&&(this.addComment(f),this.options.attachComment&&o.push(f))}else break e}else if(u===60&&!this.inModule&&this.options.annexB){let h=this.state.pos;if(this.input.charCodeAt(h+1)===33&&this.input.charCodeAt(h+2)===45&&this.input.charCodeAt(h+3)===45){let f=this.skipLineComment(4);f!==void 0&&(this.addComment(f),this.options.attachComment&&o.push(f))}else break e}else break e}}if(o.length>0){let u=this.state.pos,h={start:c,end:u,comments:o,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(h)}}finishToken(c,o){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let u=this.state.type;this.state.type=c,this.state.value=o,this.isLookahead||this.updateContext(u)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let c=this.state.pos+1,o=this.codePointAtPos(c);if(o>=48&&o<=57)throw this.raise(Qe.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(o===123||o===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(o===123?Qe.RecordExpressionHashIncorrectStartSyntaxType:Qe.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,o===123?this.finishToken(7):this.finishToken(1)}else jo(o)?(++this.state.pos,this.finishToken(136,this.readWord1(o))):o===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let c=this.input.charCodeAt(this.state.pos+1);if(c>=48&&c<=57){this.readNumber(!0);return}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;let o=this.state.pos;for(this.state.pos+=1;!zl(c)&&++this.state.pos<this.length;)c=this.input.charCodeAt(this.state.pos);let u=this.input.slice(o+2,this.state.pos);return this.finishToken(28,u),!0}readToken_mult_modulo(c){let o=c===42?55:54,u=1,h=this.input.charCodeAt(this.state.pos+1);c===42&&h===42&&(u++,h=this.input.charCodeAt(this.state.pos+2),o=57),h===61&&!this.state.inType&&(u++,o=c===37?33:30),this.finishOp(o,u)}readToken_pipe_amp(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===c){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(c===124?41:42,2);return}if(c===124){if(o===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&o===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&o===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(o===61){this.finishOp(30,2);return}this.finishOp(c===124?43:45,1)}readToken_caret(){let c=this.input.charCodeAt(this.state.pos+1);c===61&&!this.state.inType?this.finishOp(32,2):c===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===c){this.finishOp(34,2);return}o===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:c}=this.state,o=this.input.charCodeAt(c+1);if(o===60){if(this.input.charCodeAt(c+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(o===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:c}=this.state,o=this.input.charCodeAt(c+1);if(o===62){let u=this.input.charCodeAt(c+2)===62?3:2;if(this.input.charCodeAt(c+u)===61){this.finishOp(30,u+1);return}this.finishOp(52,u);return}if(o===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(c===61&&o===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(c===61?29:35,1)}readToken_question(){let c=this.input.charCodeAt(this.state.pos+1),o=this.input.charCodeAt(this.state.pos+2);c===63?o===61?this.finishOp(30,3):this.finishOp(40,2):c===46&&!(o>=48&&o<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(c){switch(c){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let o=this.input.charCodeAt(this.state.pos+1);if(o===120||o===88){this.readRadixNumber(16);return}if(o===111||o===79){this.readRadixNumber(8);return}if(o===98||o===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(c);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(c);return;case 124:case 38:this.readToken_pipe_amp(c);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(c);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(c);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(jo(c)){this.readWord(c);return}}throw this.raise(Qe.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(c)})}finishOp(c,o){let u=this.input.slice(this.state.pos,this.state.pos+o);this.state.pos+=o,this.finishToken(c,u)}readRegexp(){let c=this.state.startLoc,o=this.state.start+1,u,h,{pos:f}=this.state;for(;;++f){if(f>=this.length)throw this.raise(Qe.UnterminatedRegExp,{at:Ei(c,1)});let O=this.input.charCodeAt(f);if(zl(O))throw this.raise(Qe.UnterminatedRegExp,{at:Ei(c,1)});if(u)u=!1;else{if(O===91)h=!0;else if(O===93&&h)h=!1;else if(O===47&&!h)break;u=O===92}}let m=this.input.slice(o,f);++f;let y="",D=()=>Ei(c,f+2-o);for(;f<this.length;){let O=this.codePointAtPos(f),x=String.fromCharCode(O);if(Oh.has(O))O===118?(this.expectPlugin("regexpUnicodeSets",D()),y.includes("u")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:D()})):O===117&&y.includes("v")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:D()}),y.includes(x)&&this.raise(Qe.DuplicateRegExpFlags,{at:D()});else if(ba(O)||O===92)this.raise(Qe.MalformedRegExpFlags,{at:D()});else break;++f,y+=x}this.state.pos=f,this.finishToken(135,{pattern:m,flags:y})}readInt(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{n:f,pos:m}=mp(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,o,u,h,this.errorHandlers_readInt,!1);return this.state.pos=m,f}readRadixNumber(c){let o=this.state.curPosition(),u=!1;this.state.pos+=2;let h=this.readInt(c);h==null&&this.raise(Qe.InvalidDigit,{at:Ei(o,2),radix:c});let f=this.input.charCodeAt(this.state.pos);if(f===110)++this.state.pos,u=!0;else if(f===109)throw this.raise(Qe.InvalidDecimal,{at:o});if(jo(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});if(u){let m=this.input.slice(o.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,m);return}this.finishToken(132,h)}readNumber(c){let o=this.state.pos,u=this.state.curPosition(),h=!1,f=!1,m=!1,y=!1,D=!1;!c&&this.readInt(10)===null&&this.raise(Qe.InvalidNumber,{at:this.state.curPosition()});let O=this.state.pos-o>=2&&this.input.charCodeAt(o)===48;if(O){let F=this.input.slice(o,this.state.pos);if(this.recordStrictModeErrors(Qe.StrictOctalLiteral,{at:u}),!this.state.strict){let k=F.indexOf("_");k>0&&this.raise(Qe.ZeroDigitNumericSeparator,{at:Ei(u,k)})}D=O&&!/[89]/.test(F)}let x=this.input.charCodeAt(this.state.pos);if(x===46&&!D&&(++this.state.pos,this.readInt(10),h=!0,x=this.input.charCodeAt(this.state.pos)),(x===69||x===101)&&!D&&(x=this.input.charCodeAt(++this.state.pos),(x===43||x===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Qe.InvalidOrMissingExponent,{at:u}),h=!0,y=!0,x=this.input.charCodeAt(this.state.pos)),x===110&&((h||O)&&this.raise(Qe.InvalidBigIntLiteral,{at:u}),++this.state.pos,f=!0),x===109&&(this.expectPlugin("decimal",this.state.curPosition()),(y||O)&&this.raise(Qe.InvalidDecimal,{at:u}),++this.state.pos,m=!0),jo(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});let v=this.input.slice(o,this.state.pos).replace(/[_mn]/g,"");if(f){this.finishToken(133,v);return}if(m){this.finishToken(134,v);return}let E=D?parseInt(v,8):parseFloat(v);this.finishToken(132,E)}readCodePoint(c){let{code:o,pos:u}=wc(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=u,o}readString(c){let{str:o,pos:u,curLine:h,lineStart:f}=gh(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=u+1,this.state.lineStart=f,this.state.curLine=h,this.finishToken(131,o)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let c=this.input[this.state.pos],{str:o,firstInvalidLoc:u,pos:h,curLine:f,lineStart:m}=gh("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=h+1,this.state.lineStart=m,this.state.curLine=f,u&&(this.state.firstInvalidTemplateEscapePos=new Jn(u.curLine,u.pos-u.lineStart,u.pos)),this.input.codePointAt(h)===96?this.finishToken(24,u?null:c+o+"`"):(this.state.pos++,this.finishToken(25,u?null:c+o+"${"))}recordStrictModeErrors(c,o){let{at:u}=o,h=u.index;this.state.strict&&!this.state.strictErrors.has(h)?this.raise(c,{at:u}):this.state.strictErrors.set(h,[c,u])}readWord1(c){this.state.containsEsc=!1;let o="",u=this.state.pos,h=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos<this.length;){let f=this.codePointAtPos(this.state.pos);if(ba(f))this.state.pos+=f<=65535?1:2;else if(f===92){this.state.containsEsc=!0,o+=this.input.slice(h,this.state.pos);let m=this.state.curPosition(),y=this.state.pos===u?jo:ba;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Qe.MissingUnicodeEscape,{at:this.state.curPosition()}),h=this.state.pos-1;continue}++this.state.pos;let D=this.readCodePoint(!0);D!==null&&(y(D)||this.raise(Qe.EscapedCharNotAnIdentifier,{at:m}),o+=String.fromCodePoint(D)),h=this.state.pos}else break}return o+this.input.slice(h,this.state.pos)}readWord(c){let o=this.readWord1(c),u=Ti.get(o);u!==void 0?this.finishToken(u,jr(u)):this.finishToken(130,o)}checkKeywordEscapes(){let{type:c}=this.state;Vt(c)&&this.state.containsEsc&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:jr(c)})}raise(c,o){let{at:u}=o,h=Zn(o,pf),f=u instanceof Jn?u:u.loc.start,m=c({loc:f,details:h});if(!this.options.errorRecovery)throw m;return this.isLookahead||this.state.errors.push(m),m}raiseOverwrite(c,o){let{at:u}=o,h=Zn(o,gp),f=u instanceof Jn?u:u.loc.start,m=f.index,y=this.state.errors;for(let D=y.length-1;D>=0;D--){let O=y[D];if(O.loc.index===m)return y[D]=c({loc:f,details:h});if(O.loc.index<m)break}return this.raise(c,o)}updateContext(c){}unexpected(c,o){throw this.raise(Qe.UnexpectedToken,{expected:o?jr(o):null,at:c??this.state.startLoc})}expectPlugin(c,o){if(this.hasPlugin(c))return!0;throw this.raise(Qe.MissingPlugin,{at:o??this.state.startLoc,missingPlugin:[c]})}expectOnePlugin(c){if(!c.some(o=>this.hasPlugin(o)))throw this.raise(Qe.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:c})}errorBuilder(c){return(o,u,h)=>{this.raise(c,{at:Zl(o,u,h)})}}},Dp=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},yu=class{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 Dp)}exit(){let c=this.stack.pop(),o=this.current();for(let[u,h]of Array.from(c.undefinedPrivateNames))o?o.undefinedPrivateNames.has(u)||o.undefinedPrivateNames.set(u,h):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:h,identifierName:u})}declarePrivateName(c,o,u){let{privateNames:h,loneAccessors:f,undefinedPrivateNames:m}=this.current(),y=h.has(c);if(o&du){let D=y&&f.get(c);if(D){let O=D&Xl,x=o&Xl,v=D&du,E=o&du;y=v===E||O!==x,y||f.delete(c)}else y||f.set(c,o)}y&&this.parser.raise(Qe.PrivateNameRedeclaration,{at:u,identifierName:c}),h.add(c),m.delete(c)}usePrivateName(c,o){let u;for(u of this.stack)if(u.privateNames.has(c))return;u?u.undefinedPrivateNames.set(c,o):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:o,identifierName:c})}},Du=0,Op=1,xh=2,xp=3,Yl=class{constructor(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Du;this.type=void 0,this.type=c}canBeArrowParameterDeclaration(){return this.type===xh||this.type===Op}isCertainlyParameterDeclaration(){return this.type===xp}},bh=class extends Yl{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,o){let{at:u}=o,h=u.index;this.declarationErrors.set(h,[c,u])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}},ff=class{constructor(c){this.parser=void 0,this.stack=[new Yl],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,o){let{at:u}=o,h={at:u.loc.start},{stack:f}=this,m=f.length-1,y=f[m];for(;!y.isCertainlyParameterDeclaration();){if(y.canBeArrowParameterDeclaration())y.recordDeclarationError(c,h);else return;y=f[--m]}this.parser.raise(c,h)}recordArrowParameterBindingError(c,o){let{at:u}=o,{stack:h}=this,f=h[h.length-1],m={at:u.loc.start};if(f.isCertainlyParameterDeclaration())this.parser.raise(c,m);else if(f.canBeArrowParameterDeclaration())f.recordDeclarationError(c,m);else return}recordAsyncArrowParametersError(c){let{at:o}=c,{stack:u}=this,h=u.length-1,f=u[h];for(;f.canBeArrowParameterDeclaration();)f.type===xh&&f.recordDeclarationError(Qe.AwaitBindingIdentifier,{at:o}),f=u[--h]}validateAsPattern(){let{stack:c}=this,o=c[c.length-1];o.canBeArrowParameterDeclaration()&&o.iterateErrors(u=>{let[h,f]=u;this.parser.raise(h,{at:f});let m=c.length-2,y=c[m];for(;y.canBeArrowParameterDeclaration();)y.clearDeclarationError(f.index),y=c[--m]})}};function vh(){return new Yl(xp)}function Ch(){return new bh(Op)}function Sh(){return new bh(xh)}function w(){return new Yl}var ee=0,Y=1,G=2,oe=4,pe=8,ce=class{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&G)>0}get hasYield(){return(this.currentFlags()&Y)>0}get hasReturn(){return(this.currentFlags()&oe)>0}get hasIn(){return(this.currentFlags()&pe)>0}};function de(c,o){return(c?G:0)|(o?Y:0)}var se=class extends yp{addExtra(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!c)return;let f=c.extra=c.extra||{};h?f[o]=u:Object.defineProperty(f,o,{enumerable:h,value:u})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,o){let u=c+o.length;if(this.input.slice(c,u)===o){let h=this.input.charCodeAt(u);return!(ba(h)||(h&64512)===55296)}return!1}isLookaheadContextual(c){let o=this.nextTokenStart();return this.isUnparsedContextual(o,c)}eatContextual(c){return this.isContextual(c)?(this.next(),!0):!1}expectContextual(c,o){if(!this.eatContextual(c)){if(o!=null)throw this.raise(o,{at:this.state.startLoc});this.unexpected(null,c)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return dh.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return gu.lastIndex=this.state.end,gu.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isLineTerminator():this.eat(13))||this.raise(Qe.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(c,o){this.eat(c)||this.unexpected(o,c)}tryParse(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),u={node:null};try{let h=c(function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw u.node=f,u});if(this.state.errors.length>o.errors.length){let f=this.state;return this.state=o,this.state.tokensLength=f.tokensLength,{node:h,error:f.errors[o.errors.length],thrown:!1,aborted:!1,failState:f}}return{node:h,error:null,thrown:!1,aborted:!1,failState:null}}catch(h){let f=this.state;if(this.state=o,h instanceof SyntaxError)return{node:null,error:h,thrown:!0,aborted:!1,failState:f};if(h===u)return{node:u.node,error:null,thrown:!1,aborted:!0,failState:f};throw h}}checkExpressionErrors(c,o){if(!c)return!1;let{shorthandAssignLoc:u,doubleProtoLoc:h,privateKeyLoc:f,optionalParametersLoc:m}=c,y=!!u||!!h||!!m||!!f;if(!o)return y;u!=null&&this.raise(Qe.InvalidCoverInitializedName,{at:u}),h!=null&&this.raise(Qe.DuplicateProto,{at:h}),f!=null&&this.raise(Qe.UnexpectedPrivateField,{at:f}),m!=null&&this.unexpected(m)}isLiteralPropertyName(){return ut(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",o=this.state.labels;this.state.labels=[];let u=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let h=this.inModule;this.inModule=c;let f=this.scope,m=this.getScopeHandler();this.scope=new m(this,c);let y=this.prodParam;this.prodParam=new ce;let D=this.classScope;this.classScope=new yu(this);let O=this.expressionScope;return this.expressionScope=new ff(this),()=>{this.state.labels=o,this.exportedIdentifiers=u,this.inModule=h,this.scope=f,this.prodParam=y,this.classScope=D,this.expressionScope=O}}enterInitialScopes(){let c=ee;this.inModule&&(c|=G),this.scope.enter(Uu),this.prodParam.enter(c)}checkDestructuringPrivate(c){let{privateKeyLoc:o}=c;o!==null&&this.expectPlugin("destructuringPrivate",o)}},fe=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},P=class{constructor(c,o,u){this.type="",this.start=o,this.end=0,this.loc=new xi(u),c!=null&&c.options.ranges&&(this.range=[o,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}},C=P.prototype;C.__clone=function(){let c=new P(void 0,this.start,this.loc.start),o=Object.keys(this);for(let u=0,h=o.length;u<h;u++){let f=o[u];f!=="leadingComments"&&f!=="trailingComments"&&f!=="innerComments"&&(c[f]=this[f])}return c};function J(c){return V(c)}function V(c){let{type:o,start:u,end:h,loc:f,range:m,extra:y,name:D}=c,O=Object.create(C);return O.type=o,O.start=u,O.end=h,O.loc=f,O.range=m,O.extra=y,O.name=D,o==="Placeholder"&&(O.expectedNode=c.expectedNode),O}function we(c){let{type:o,start:u,end:h,loc:f,range:m,extra:y}=c;if(o==="Placeholder")return J(c);let D=Object.create(C);return D.type=o,D.start=u,D.end=h,D.loc=f,D.range=m,c.raw!==void 0?D.raw=c.raw:D.extra=y,D.value=c.value,D}var De=class extends se{startNode(){return new P(this,this.state.start,this.state.startLoc)}startNodeAt(c){return new P(this,c.index,c)}startNodeAtNode(c){return this.startNodeAt(c.loc.start)}finishNode(c,o){return this.finishNodeAt(c,o,this.state.lastTokEndLoc)}finishNodeAt(c,o,u){return c.type=o,c.end=u.index,c.loc.end=u,this.options.ranges&&(c.range[1]=u.index),this.options.attachComment&&this.processComment(c),c}resetStartLocation(c,o){c.start=o.index,c.loc.start=o,this.options.ranges&&(c.range[0]=o.index)}resetEndLocation(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;c.end=o.index,c.loc.end=o,this.options.ranges&&(c.range[1]=o.index)}resetStartLocationFromNode(c,o){this.resetStartLocation(c,o.loc.start)}},Xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ve=Wi`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:c=>{let{reservedType:o}=c;return`Cannot overwrite reserved type ${o}.`},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:c=>{let{memberName:o,enumName:u}=c;return`Boolean enum members need to be initialized. Use either \`${o} = true,\` or \`${o} = false,\` in enum \`${u}\`.`},EnumDuplicateMemberName:c=>{let{memberName:o,enumName:u}=c;return`Enum member names need to be unique, but the name \`${o}\` has already been used before in enum \`${u}\`.`},EnumInconsistentMemberValues:c=>{let{enumName:o}=c;return`Enum \`${o}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:c=>{let{invalidEnumType:o,enumName:u}=c;return`Enum type \`${o}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${u}\`.`},EnumInvalidExplicitTypeUnknownSupplied:c=>{let{enumName:o}=c;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${o}\`.`},EnumInvalidMemberInitializerPrimaryType:c=>{let{enumName:o,memberName:u,explicitType:h}=c;return`Enum \`${o}\` has type \`${h}\`, so the initializer of \`${u}\` needs to be a ${h} literal.`},EnumInvalidMemberInitializerSymbolType:c=>{let{enumName:o,memberName:u}=c;return`Symbol enum members cannot be initialized. Use \`${u},\` in enum \`${o}\`.`},EnumInvalidMemberInitializerUnknownType:c=>{let{enumName:o,memberName:u}=c;return`The enum member initializer for \`${u}\` needs to be a literal (either a boolean, number, or string) in enum \`${o}\`.`},EnumInvalidMemberName:c=>{let{enumName:o,memberName:u,suggestion:h}=c;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${u}\`, consider using \`${h}\`, in enum \`${o}\`.`},EnumNumberMemberNotInitialized:c=>{let{enumName:o,memberName:u}=c;return`Number enum members need to be initialized, e.g. \`${u} = 1\` in enum \`${o}\`.`},EnumStringMemberInconsistentlyInitailized:c=>{let{enumName:o}=c;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${o}\`.`},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:c=>{let{reservedType:o}=c;return`Unexpected reserved type ${o}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:c=>{let{unsupportedExportKind:o,suggestion:u}=c;return`\`declare export ${o}\` is not supported. Use \`${u}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ae(c){return c.type==="DeclareExportAllDeclaration"||c.type==="DeclareExportDeclaration"&&(!c.declaration||c.declaration.type!=="TypeAlias"&&c.declaration.type!=="InterfaceDeclaration")}function ht(c){return c.importKind==="type"||c.importKind==="typeof"}function yt(c){return qe(c)&&c!==97}var Ft={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Tr(c,o){let u=[],h=[];for(let f=0;f<c.length;f++)(o(c[f],f,c)?u:h).push(c[f]);return[u,h]}var Yr=/\*?\s*@((?:no)?flow)\b/,un=c=>class extends c{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return lp}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(o,u){o!==131&&o!==13&&o!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(o,u)}addComment(o){if(this.flowPragma===void 0){let u=Yr.exec(o.value);if(u)if(u[1]==="flow")this.flowPragma="flow";else if(u[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(o)}flowParseTypeInitialiser(o){let u=this.state.inType;this.state.inType=!0,this.expect(o||14);let h=this.flowParseType();return this.state.inType=u,h}flowParsePredicate(){let o=this.startNode(),u=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>u.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,{at:u}),this.eat(10)?(o.value=super.parseExpression(),this.expect(11),this.finishNode(o,"DeclaredPredicate")):this.finishNode(o,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let o=this.state.inType;this.state.inType=!0,this.expect(14);let u=null,h=null;return this.match(54)?(this.state.inType=o,h=this.flowParsePredicate()):(u=this.flowParseType(),this.state.inType=o,this.match(54)&&(h=this.flowParsePredicate())),[u,h]}flowParseDeclareClass(o){return this.next(),this.flowParseInterfaceish(o,!0),this.finishNode(o,"DeclareClass")}flowParseDeclareFunction(o){this.next();let u=o.id=this.parseIdentifier(),h=this.startNode(),f=this.startNode();this.match(47)?h.typeParameters=this.flowParseTypeParameterDeclaration():h.typeParameters=null,this.expect(10);let m=this.flowParseFunctionTypeParams();return h.params=m.params,h.rest=m.rest,h.this=m._this,this.expect(11),[h.returnType,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),f.typeAnnotation=this.finishNode(h,"FunctionTypeAnnotation"),u.typeAnnotation=this.finishNode(f,"TypeAnnotation"),this.resetEndLocation(u),this.semicolon(),this.scope.declareName(o.id.name,ap,o.id.loc.start),this.finishNode(o,"DeclareFunction")}flowParseDeclare(o,u){if(this.match(80))return this.flowParseDeclareClass(o);if(this.match(68))return this.flowParseDeclareFunction(o);if(this.match(74))return this.flowParseDeclareVariable(o);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(o):(u&&this.raise(ve.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(o));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(o);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(o);if(this.isContextual(127))return this.flowParseDeclareInterface(o);if(this.match(82))return this.flowParseDeclareExportDeclaration(o,u);this.unexpected()}flowParseDeclareVariable(o){return this.next(),o.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(o.id.name,Yu,o.id.loc.start),this.semicolon(),this.finishNode(o,"DeclareVariable")}flowParseDeclareModule(o){this.scope.enter(Vu),this.match(131)?o.id=super.parseExprAtom():o.id=this.parseIdentifier();let u=o.body=this.startNode(),h=u.body=[];for(this.expect(5);!this.match(8);){let y=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(y)):(this.expectContextual(123,ve.UnsupportedStatementInDeclareModule),y=this.flowParseDeclare(y,!0)),h.push(y)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let f=null,m=!1;return h.forEach(y=>{Ae(y)?(f==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:y}),f="ES"):y.type==="DeclareModuleExports"&&(m&&this.raise(ve.DuplicateDeclareModuleExports,{at:y}),f==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:y}),f="CommonJS",m=!0)}),o.kind=f||"CommonJS",this.finishNode(o,"DeclareModule")}flowParseDeclareExportDeclaration(o,u){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?o.declaration=this.flowParseDeclare(this.startNode()):(o.declaration=this.flowParseType(),this.semicolon()),o.default=!0,this.finishNode(o,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!u){let h=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:h,suggestion:Ft[h]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return o.declaration=this.flowParseDeclare(this.startNode()),o.default=!1,this.finishNode(o,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return o=this.parseExport(o,null),o.type==="ExportNamedDeclaration"&&(o.type="ExportDeclaration",o.default=!1,delete o.exportKind),o.type="Declare"+o.type,o;this.unexpected()}flowParseDeclareModuleExports(o){return this.next(),this.expectContextual(109),o.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(o,"DeclareModuleExports")}flowParseDeclareTypeAlias(o){this.next();let u=this.flowParseTypeAlias(o);return u.type="DeclareTypeAlias",u}flowParseDeclareOpaqueType(o){this.next();let u=this.flowParseOpaqueType(o,!0);return u.type="DeclareOpaqueType",u}flowParseDeclareInterface(o){return this.next(),this.flowParseInterfaceish(o,!1),this.finishNode(o,"DeclareInterface")}flowParseInterfaceish(o,u){if(o.id=this.flowParseRestrictedIdentifier(!u,!0),this.scope.declareName(o.id.name,u?xc:Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.extends=[],o.implements=[],o.mixins=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(!u&&this.eat(12));if(u){if(this.eatContextual(115))do o.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do o.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}o.body=this.flowParseObjectType({allowStatic:u,allowExact:!1,allowSpread:!1,allowProto:u,allowInexact:!1})}flowParseInterfaceExtends(){let o=this.startNode();return o.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,this.finishNode(o,"InterfaceExtends")}flowParseInterface(o){return this.flowParseInterfaceish(o,!1),this.finishNode(o,"InterfaceDeclaration")}checkNotUnderscore(o){o==="_"&&this.raise(ve.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(o,u,h){Xe.has(o)&&this.raise(h?ve.AssignReservedType:ve.UnexpectedReservedType,{at:u,reservedType:o})}flowParseRestrictedIdentifier(o,u){return this.checkReservedType(this.state.value,this.state.startLoc,u),this.parseIdentifier(o)}flowParseTypeAlias(o){return o.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(o.id.name,Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(o,"TypeAlias")}flowParseOpaqueType(o,u){return this.expectContextual(128),o.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(o.id.name,Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.supertype=null,this.match(14)&&(o.supertype=this.flowParseTypeInitialiser(14)),o.impltype=null,u||(o.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(o,"OpaqueType")}flowParseTypeParameter(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,u=this.state.startLoc,h=this.startNode(),f=this.flowParseVariance(),m=this.flowParseTypeAnnotatableIdentifier();return h.name=m.name,h.variance=f,h.bound=m.typeAnnotation,this.match(29)?(this.eat(29),h.default=this.flowParseType()):o&&this.raise(ve.MissingTypeParamDefault,{at:u}),this.finishNode(h,"TypeParameter")}flowParseTypeParameterDeclaration(){let o=this.state.inType,u=this.startNode();u.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let h=!1;do{let f=this.flowParseTypeParameter(h);u.params.push(f),f.default&&(h=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=o,this.finishNode(u,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let o=this.startNode(),u=this.state.inType;o.params=[],this.state.inType=!0,this.expect(47);let h=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)o.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=h,this.expect(48),this.state.inType=u,this.finishNode(o,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let o=this.startNode(),u=this.state.inType;for(o.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)o.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=u,this.finishNode(o,"TypeParameterInstantiation")}flowParseInterfaceType(){let o=this.startNode();if(this.expectContextual(127),o.extends=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return o.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(o,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(o,u,h){return o.static=u,this.lookahead().type===14?(o.id=this.flowParseObjectPropertyKey(),o.key=this.flowParseTypeInitialiser()):(o.id=null,o.key=this.flowParseType()),this.expect(3),o.value=this.flowParseTypeInitialiser(),o.variance=h,this.finishNode(o,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(o,u){return o.static=u,o.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(o.method=!0,o.optional=!1,o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start))):(o.method=!1,this.eat(17)&&(o.optional=!0),o.value=this.flowParseTypeInitialiser()),this.finishNode(o,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(o){for(o.params=[],o.rest=null,o.typeParameters=null,o.this=null,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(o.this=this.flowParseFunctionTypeParam(!0),o.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(o.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),o.returnType=this.flowParseTypeInitialiser(),this.finishNode(o,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(o,u){let h=this.startNode();return o.static=u,o.value=this.flowParseObjectTypeMethodish(h),this.finishNode(o,"ObjectTypeCallProperty")}flowParseObjectType(o){let{allowStatic:u,allowExact:h,allowSpread:f,allowProto:m,allowInexact:y}=o,D=this.state.inType;this.state.inType=!0;let O=this.startNode();O.callProperties=[],O.properties=[],O.indexers=[],O.internalSlots=[];let x,v,E=!1;for(h&&this.match(6)?(this.expect(6),x=9,v=!0):(this.expect(5),x=8,v=!1),O.exact=v;!this.match(x);){let k=!1,N=null,T=null,_=this.startNode();if(m&&this.isContextual(116)){let W=this.lookahead();W.type!==14&&W.type!==17&&(this.next(),N=this.state.startLoc,u=!1)}if(u&&this.isContextual(104)){let W=this.lookahead();W.type!==14&&W.type!==17&&(this.next(),k=!0)}let R=this.flowParseVariance();if(this.eat(0))N!=null&&this.unexpected(N),this.eat(0)?(R&&this.unexpected(R.loc.start),O.internalSlots.push(this.flowParseObjectTypeInternalSlot(_,k))):O.indexers.push(this.flowParseObjectTypeIndexer(_,k,R));else if(this.match(10)||this.match(47))N!=null&&this.unexpected(N),R&&this.unexpected(R.loc.start),O.callProperties.push(this.flowParseObjectTypeCallProperty(_,k));else{let W="init";if(this.isContextual(98)||this.isContextual(103)){let L=this.lookahead();ut(L.type)&&(W=this.state.value,this.next())}let ne=this.flowParseObjectTypeProperty(_,k,N,R,W,f,y??!v);ne===null?(E=!0,T=this.state.lastTokStartLoc):O.properties.push(ne)}this.flowObjectTypeSemicolon(),T&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,{at:T})}this.expect(x),f&&(O.inexact=E);let F=this.finishNode(O,"ObjectTypeAnnotation");return this.state.inType=D,F}flowParseObjectTypeProperty(o,u,h,f,m,y,D){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(y?D||this.raise(ve.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ve.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),f&&this.raise(ve.InexactVariance,{at:f}),null):(y||this.raise(ve.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),h!=null&&this.unexpected(h),f&&this.raise(ve.SpreadVariance,{at:f}),o.argument=this.flowParseType(),this.finishNode(o,"ObjectTypeSpreadProperty"));{o.key=this.flowParseObjectPropertyKey(),o.static=u,o.proto=h!=null,o.kind=m;let O=!1;return this.match(47)||this.match(10)?(o.method=!0,h!=null&&this.unexpected(h),f&&this.unexpected(f.loc.start),o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start)),(m==="get"||m==="set")&&this.flowCheckGetterSetterParams(o),!y&&o.key.name==="constructor"&&o.value.this&&this.raise(ve.ThisParamBannedInConstructor,{at:o.value.this})):(m!=="init"&&this.unexpected(),o.method=!1,this.eat(17)&&(O=!0),o.value=this.flowParseTypeInitialiser(),o.variance=f),o.optional=O,this.finishNode(o,"ObjectTypeProperty")}}flowCheckGetterSetterParams(o){let u=o.kind==="get"?0:1,h=o.value.params.length+(o.value.rest?1:0);o.value.this&&this.raise(o.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,{at:o.value.this}),h!==u&&this.raise(o.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:o}),o.kind==="set"&&o.value.rest&&this.raise(Qe.BadSetterRestParameter,{at:o})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(o,u){o!=null||(o=this.state.startLoc);let h=u||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let f=this.startNodeAt(o);f.qualification=h,f.id=this.flowParseRestrictedIdentifier(!0),h=this.finishNode(f,"QualifiedTypeIdentifier")}return h}flowParseGenericType(o,u){let h=this.startNodeAt(o);return h.typeParameters=null,h.id=this.flowParseQualifiedTypeIdentifier(o,u),this.match(47)&&(h.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(h,"GenericTypeAnnotation")}flowParseTypeofType(){let o=this.startNode();return this.expect(87),o.argument=this.flowParsePrimaryType(),this.finishNode(o,"TypeofTypeAnnotation")}flowParseTupleType(){let o=this.startNode();for(o.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(o.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(o,"TupleTypeAnnotation")}flowParseFunctionTypeParam(o){let u=null,h=!1,f=null,m=this.startNode(),y=this.lookahead(),D=this.state.type===78;return y.type===14||y.type===17?(D&&!o&&this.raise(ve.ThisParamMustBeFirst,{at:m}),u=this.parseIdentifier(D),this.eat(17)&&(h=!0,D&&this.raise(ve.ThisParamMayNotBeOptional,{at:m})),f=this.flowParseTypeInitialiser()):f=this.flowParseType(),m.name=u,m.optional=h,m.typeAnnotation=f,this.finishNode(m,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(o){let u=this.startNodeAt(o.loc.start);return u.name=null,u.optional=!1,u.typeAnnotation=o,this.finishNode(u,"FunctionTypeParam")}flowParseFunctionTypeParams(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=null,h=null;for(this.match(78)&&(h=this.flowParseFunctionTypeParam(!0),h.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(u=this.flowParseFunctionTypeParam(!1)),{params:o,rest:u,_this:h}}flowIdentToTypeAnnotation(o,u,h){switch(h.name){case"any":return this.finishNode(u,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(u,"BooleanTypeAnnotation");case"mixed":return this.finishNode(u,"MixedTypeAnnotation");case"empty":return this.finishNode(u,"EmptyTypeAnnotation");case"number":return this.finishNode(u,"NumberTypeAnnotation");case"string":return this.finishNode(u,"StringTypeAnnotation");case"symbol":return this.finishNode(u,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(h.name),this.flowParseGenericType(o,h)}}flowParsePrimaryType(){let o=this.state.startLoc,u=this.startNode(),h,f,m=!1,y=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,f=this.flowParseTupleType(),this.state.noAnonFunctionType=y,f;case 47:return u.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),h=this.flowParseFunctionTypeParams(),u.params=h.params,u.rest=h.rest,u.this=h._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),this.finishNode(u,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(at(this.state.type)||this.match(78)){let D=this.lookahead().type;m=D!==17&&D!==14}else m=!0;if(m){if(this.state.noAnonFunctionType=!1,f=this.flowParseType(),this.state.noAnonFunctionType=y,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),f;this.eat(12)}return f?h=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(f)]):h=this.flowParseFunctionTypeParams(),u.params=h.params,u.rest=h.rest,u.this=h._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return u.value=this.match(85),this.next(),this.finishNode(u,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",u);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",u);throw this.raise(ve.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(u,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(u,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(u,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(u,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Vt(this.state.type)){let D=jr(this.state.type);return this.next(),super.createIdentifier(u,D)}else if(at(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(o,u,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let o=this.state.startLoc,u=this.flowParsePrimaryType(),h=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let f=this.startNodeAt(o),m=this.eat(18);h=h||m,this.expect(0),!m&&this.match(3)?(f.elementType=u,this.next(),u=this.finishNode(f,"ArrayTypeAnnotation")):(f.objectType=u,f.indexType=this.flowParseType(),this.expect(3),h?(f.optional=m,u=this.finishNode(f,"OptionalIndexedAccessType")):u=this.finishNode(f,"IndexedAccessType"))}return u}flowParsePrefixType(){let o=this.startNode();return this.eat(17)?(o.typeAnnotation=this.flowParsePrefixType(),this.finishNode(o,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let o=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let u=this.startNodeAt(o.loc.start);return u.params=[this.reinterpretTypeAsFunctionTypeParam(o)],u.rest=null,u.this=null,u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation")}return o}flowParseIntersectionType(){let o=this.startNode();this.eat(45);let u=this.flowParseAnonFunctionWithoutParens();for(o.types=[u];this.eat(45);)o.types.push(this.flowParseAnonFunctionWithoutParens());return o.types.length===1?u:this.finishNode(o,"IntersectionTypeAnnotation")}flowParseUnionType(){let o=this.startNode();this.eat(43);let u=this.flowParseIntersectionType();for(o.types=[u];this.eat(43);)o.types.push(this.flowParseIntersectionType());return o.types.length===1?u:this.finishNode(o,"UnionTypeAnnotation")}flowParseType(){let o=this.state.inType;this.state.inType=!0;let u=this.flowParseUnionType();return this.state.inType=o,u}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let o=this.state.startLoc,u=this.parseIdentifier();return this.flowParseGenericType(o,u)}else return this.flowParseType()}flowParseTypeAnnotation(){let o=this.startNode();return o.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(o,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(o){let u=o?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(u.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(u)),u}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}flowParseVariance(){let o=null;return this.match(53)?(o=this.startNode(),this.state.value==="+"?o.kind="plus":o.kind="minus",this.next(),this.finishNode(o,"Variance")):o}parseFunctionBody(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(u){this.forwardNoArrowParamsConversionAt(o,()=>super.parseFunctionBody(o,!0,h));return}super.parseFunctionBody(o,!1,h)}parseFunctionBodyAndFinish(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let f=this.startNode();[f.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),o.returnType=f.typeAnnotation?this.finishNode(f,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(o,u,h)}parseStatementLike(o){if(this.state.strict&&this.isContextual(127)){let h=this.lookahead();if(qe(h.type)){let f=this.startNode();return this.next(),this.flowParseInterface(f)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let h=this.startNode();return this.next(),this.flowParseEnumDeclaration(h)}let u=super.parseStatementLike(o);return this.flowPragma===void 0&&!this.isValidDirective(u)&&(this.flowPragma=null),u}parseExpressionStatement(o,u,h){if(u.type==="Identifier"){if(u.name==="declare"){if(this.match(80)||at(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(o)}else if(at(this.state.type)){if(u.name==="interface")return this.flowParseInterface(o);if(u.name==="type")return this.flowParseTypeAlias(o);if(u.name==="opaque")return this.flowParseOpaqueType(o,!1)}}return super.parseExpressionStatement(o,u,h)}shouldParseExportDeclaration(){let{type:o}=this.state;return it(o)||this.shouldParseEnums()&&o===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:o}=this.state;return it(o)||this.shouldParseEnums()&&o===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}return super.parseExportDefaultExpression()}parseConditional(o,u,h){if(!this.match(17))return o;if(this.state.maybeInArrowParameters){let E=this.lookaheadCharCode();if(E===44||E===61||E===58||E===41)return this.setOptionalParametersError(h),o}this.expect(17);let f=this.state.clone(),m=this.state.noArrowAt,y=this.startNodeAt(u),{consequent:D,failed:O}=this.tryParseConditionalConsequent(),[x,v]=this.getArrowLikeExpressions(D);if(O||v.length>0){let E=[...m];if(v.length>0){this.state=f,this.state.noArrowAt=E;for(let F=0;F<v.length;F++)E.push(v[F].start);({consequent:D,failed:O}=this.tryParseConditionalConsequent()),[x,v]=this.getArrowLikeExpressions(D)}O&&x.length>1&&this.raise(ve.AmbiguousConditionalArrow,{at:f.startLoc}),O&&x.length===1&&(this.state=f,E.push(x[0].start),this.state.noArrowAt=E,{consequent:D,failed:O}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(D,!0),this.state.noArrowAt=m,this.expect(14),y.test=o,y.consequent=D,y.alternate=this.forwardNoArrowParamsConversionAt(y,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(y,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let o=this.parseMaybeAssignAllowIn(),u=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:o,failed:u}}getArrowLikeExpressions(o,u){let h=[o],f=[];for(;h.length!==0;){let m=h.pop();m.type==="ArrowFunctionExpression"?(m.typeParameters||!m.returnType?this.finishArrowValidation(m):f.push(m),h.push(m.body)):m.type==="ConditionalExpression"&&(h.push(m.consequent),h.push(m.alternate))}return u?(f.forEach(m=>this.finishArrowValidation(m)),[f,[]]):Tr(f,m=>m.params.every(y=>this.isAssignable(y,!0)))}finishArrowValidation(o){var u;this.toAssignableList(o.params,(u=o.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(va|Bl),super.checkParams(o,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(o,u){let h;return this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),h=u(),this.state.noArrowParamsConversionAt.pop()):h=u(),h}parseParenItem(o,u){if(o=super.parseParenItem(o,u),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let h=this.startNodeAt(u);return h.expression=o,h.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(h,"TypeCastExpression")}return o}assertModuleNodeAllowed(o){o.type==="ImportDeclaration"&&(o.importKind==="type"||o.importKind==="typeof")||o.type==="ExportNamedDeclaration"&&o.exportKind==="type"||o.type==="ExportAllDeclaration"&&o.exportKind==="type"||super.assertModuleNodeAllowed(o)}parseExport(o,u){let h=super.parseExport(o,u);return(h.type==="ExportNamedDeclaration"||h.type==="ExportAllDeclaration")&&(h.exportKind=h.exportKind||"value"),h}parseExportDeclaration(o){if(this.isContextual(128)){o.exportKind="type";let u=this.startNode();return this.next(),this.match(5)?(o.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(o),null):this.flowParseTypeAlias(u)}else if(this.isContextual(129)){o.exportKind="type";let u=this.startNode();return this.next(),this.flowParseOpaqueType(u,!1)}else if(this.isContextual(127)){o.exportKind="type";let u=this.startNode();return this.next(),this.flowParseInterface(u)}else if(this.shouldParseEnums()&&this.isContextual(124)){o.exportKind="value";let u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}else return super.parseExportDeclaration(o)}eatExportStar(o){return super.eatExportStar(o)?!0:this.isContextual(128)&&this.lookahead().type===55?(o.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(o){let{startLoc:u}=this.state,h=super.maybeParseExportNamespaceSpecifier(o);return h&&o.exportKind==="type"&&this.unexpected(u),h}parseClassId(o,u,h){super.parseClassId(o,u,h),this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(o,u,h){let{startLoc:f}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(o,u))return;u.declare=!0}super.parseClassMember(o,u,h),u.declare&&(u.type!=="ClassProperty"&&u.type!=="ClassPrivateProperty"&&u.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,{at:f}):u.value&&this.raise(ve.DeclareClassFieldInitializer,{at:u.value}))}isIterator(o){return o==="iterator"||o==="asyncIterator"}readIterator(){let o=super.readWord1(),u="@@"+o;(!this.isIterator(o)||!this.state.inType)&&this.raise(Qe.InvalidIdentifier,{at:this.state.curPosition(),identifierName:u}),this.finishToken(130,u)}getTokenFromCode(o){let u=this.input.charCodeAt(this.state.pos+1);o===123&&u===124?this.finishOp(6,2):this.state.inType&&(o===62||o===60)?this.finishOp(o===62?48:47,1):this.state.inType&&o===63?u===46?this.finishOp(18,2):this.finishOp(17,1):uf(o,u,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(o)}isAssignable(o,u){return o.type==="TypeCastExpression"?this.isAssignable(o.expression,u):super.isAssignable(o,u)}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!u&&o.type==="AssignmentExpression"&&o.left.type==="TypeCastExpression"&&(o.left=this.typeCastToParameter(o.left)),super.toAssignable(o,u)}toAssignableList(o,u,h){for(let f=0;f<o.length;f++){let m=o[f];(m==null?void 0:m.type)==="TypeCastExpression"&&(o[f]=this.typeCastToParameter(m))}super.toAssignableList(o,u,h)}toReferencedList(o,u){for(let f=0;f<o.length;f++){var h;let m=o[f];m&&m.type==="TypeCastExpression"&&!((h=m.extra)!=null&&h.parenthesized)&&(o.length>1||!u)&&this.raise(ve.TypeCastInPattern,{at:m.typeAnnotation})}return o}parseArrayLike(o,u,h,f){let m=super.parseArrayLike(o,u,h,f);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(m.elements),m}isValidLVal(o,u,h){return o==="TypeCastExpression"||super.isValidLVal(o,u,h)}parseClassProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(o)}parseClassPrivateProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(o){return!this.match(14)&&super.isNonstaticConstructor(o)}pushClassMethod(o,u,h,f,m,y){if(u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(o,u,h,f,m,y),u.params&&m){let D=u.params;D.length>0&&this.isThisParam(D[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&m&&u.value.params){let D=u.value.params;D.length>0&&this.isThisParam(D[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}}pushClassPrivateMethod(o,u,h,f){u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(o,u,h,f)}parseClassSuper(o){if(super.parseClassSuper(o),o.superClass&&this.match(47)&&(o.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let u=o.implements=[];do{let h=this.startNode();h.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?h.typeParameters=this.flowParseTypeParameterInstantiation():h.typeParameters=null,u.push(this.finishNode(h,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(o){super.checkGetterSetterParams(o);let u=this.getObjectOrClassMethodParams(o);if(u.length>0){let h=u[0];this.isThisParam(h)&&o.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,{at:h}):this.isThisParam(h)&&this.raise(ve.SetterMayNotHaveThisParam,{at:h})}}parsePropertyNamePrefixOperator(o){o.variance=this.flowParseVariance()}parseObjPropValue(o,u,h,f,m,y,D){o.variance&&this.unexpected(o.variance.loc.start),delete o.variance;let O;this.match(47)&&!y&&(O=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let x=super.parseObjPropValue(o,u,h,f,m,y,D);return O&&((x.value||x).typeParameters=O),x}parseAssignableListItemTypes(o){return this.eat(17)&&(o.type!=="Identifier"&&this.raise(ve.PatternIsOptional,{at:o}),this.isThisParam(o)&&this.raise(ve.ThisParamMayNotBeOptional,{at:o}),o.optional=!0),this.match(14)?o.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(o)&&this.raise(ve.ThisParamAnnotationRequired,{at:o}),this.match(29)&&this.isThisParam(o)&&this.raise(ve.ThisParamNoDefault,{at:o}),this.resetEndLocation(o),o}parseMaybeDefault(o,u){let h=super.parseMaybeDefault(o,u);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(ve.TypeBeforeInitializer,{at:h.typeAnnotation}),h}shouldParseDefaultImport(o){return ht(o)?yt(this.state.type):super.shouldParseDefaultImport(o)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(ve.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}parseImportSpecifierLocal(o,u,h){u.local=ht(o)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),o.specifiers.push(this.finishImportSpecifier(u,h))}maybeParseDefaultImportSpecifier(o){o.importKind="value";let u=null;if(this.match(87)?u="typeof":this.isContextual(128)&&(u="type"),u){let h=this.lookahead(),{type:f}=h;u==="type"&&f===55&&this.unexpected(null,h.type),(yt(f)||f===5||f===55)&&(this.next(),o.importKind=u)}return super.maybeParseDefaultImportSpecifier(o)}parseImportSpecifier(o,u,h,f,m){let y=o.imported,D=null;y.type==="Identifier"&&(y.name==="type"?D="type":y.name==="typeof"&&(D="typeof"));let O=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let v=this.parseIdentifier(!0);D!==null&&!qe(this.state.type)?(o.imported=v,o.importKind=D,o.local=V(v)):(o.imported=y,o.importKind=null,o.local=this.parseIdentifier())}else{if(D!==null&&qe(this.state.type))o.imported=this.parseIdentifier(!0),o.importKind=D;else{if(u)throw this.raise(Qe.ImportBindingIsString,{at:o,importName:y.value});o.imported=y,o.importKind=null}this.eatContextual(93)?o.local=this.parseIdentifier():(O=!0,o.local=V(o.imported))}let x=ht(o);return h&&x&&this.raise(ve.ImportTypeShorthandOnlyInPureImport,{at:o}),(h||x)&&this.checkReservedType(o.local.name,o.local.loc.start,!0),O&&!h&&!x&&this.checkReservedWord(o.local.name,o.loc.start,!0,!0),this.finishImportSpecifier(o,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(o,u){let h=o.kind;h!=="get"&&h!=="set"&&this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(o,u)}parseVarId(o,u){super.parseVarId(o,u),this.match(14)&&(o.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,u){if(this.match(14)){let h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,o.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=h}return super.parseAsyncArrowFromCallExpression(o,u)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(o,u){var h;let f=null,m;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(f=this.state.clone(),m=this.tryParse(()=>super.parseMaybeAssign(o,u),f),!m.error)return m.node;let{context:O}=this.state,x=O[O.length-1];(x===mr.j_oTag||x===mr.j_expr)&&O.pop()}if((h=m)!=null&&h.error||this.match(47)){var y,D;f=f||this.state.clone();let O,x=this.tryParse(E=>{var F;O=this.flowParseTypeParameterDeclaration();let k=this.forwardNoArrowParamsConversionAt(O,()=>{let T=super.parseMaybeAssign(o,u);return this.resetStartLocationFromNode(T,O),T});(F=k.extra)!=null&&F.parenthesized&&E();let N=this.maybeUnwrapTypeCastExpression(k);return N.type!=="ArrowFunctionExpression"&&E(),N.typeParameters=O,this.resetStartLocationFromNode(N,O),k},f),v=null;if(x.node&&this.maybeUnwrapTypeCastExpression(x.node).type==="ArrowFunctionExpression"){if(!x.error&&!x.aborted)return x.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:O}),x.node;v=x.node}if((y=m)!=null&&y.node)return this.state=m.failState,m.node;if(v)return this.state=x.failState,v;throw(D=m)!=null&&D.thrown?m.error:x.thrown?x.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,{at:O})}return super.parseMaybeAssign(o,u)}parseArrow(o){if(this.match(14)){let u=this.tryParse(()=>{let h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let f=this.startNode();return[f.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=h,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),f});if(u.thrown)return null;u.error&&(this.state=u.failState),o.returnType=u.node.typeAnnotation?this.finishNode(u.node,"TypeAnnotation"):null}return super.parseArrow(o)}shouldParseArrow(o){return this.match(14)||super.shouldParseArrow(o)}setArrowFunctionParameters(o,u){this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?o.params=u:super.setArrowFunctionParameters(o,u)}checkParams(o,u,h){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!(h&&this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1)){for(let m=0;m<o.params.length;m++)this.isThisParam(o.params[m])&&m>0&&this.raise(ve.ThisParamMustBeFirst,{at:o.params[m]});super.checkParams(o,u,h,f)}}parseParenAndDistinguishExpression(o){return super.parseParenAndDistinguishExpression(o&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(o,u,h){if(o.type==="Identifier"&&o.name==="async"&&this.state.noArrowAt.indexOf(u.index)!==-1){this.next();let f=this.startNodeAt(u);f.callee=o,f.arguments=super.parseCallExpressionArguments(11,!1),o=this.finishNode(f,"CallExpression")}else if(o.type==="Identifier"&&o.name==="async"&&this.match(47)){let f=this.state.clone(),m=this.tryParse(D=>this.parseAsyncArrowWithTypeParameters(u)||D(),f);if(!m.error&&!m.aborted)return m.node;let y=this.tryParse(()=>super.parseSubscripts(o,u,h),f);if(y.node&&!y.error)return y.node;if(m.node)return this.state=m.failState,m.node;if(y.node)return this.state=y.failState,y.node;throw m.error||y.error}return super.parseSubscripts(o,u,h)}parseSubscript(o,u,h,f){if(this.match(18)&&this.isLookaheadToken_lt()){if(f.optionalChainMember=!0,h)return f.stop=!0,o;this.next();let m=this.startNodeAt(u);return m.callee=o,m.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),m.arguments=this.parseCallExpressionArguments(11,!1),m.optional=!0,this.finishCallExpression(m,!0)}else if(!h&&this.shouldParseTypes()&&this.match(47)){let m=this.startNodeAt(u);m.callee=o;let y=this.tryParse(()=>(m.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),m.arguments=super.parseCallExpressionArguments(11,!1),f.optionalChainMember&&(m.optional=!1),this.finishCallExpression(m,f.optionalChainMember)));if(y.node)return y.error&&(this.state=y.failState),y.node}return super.parseSubscript(o,u,h,f)}parseNewCallee(o){super.parseNewCallee(o);let u=null;this.shouldParseTypes()&&this.match(47)&&(u=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),o.typeArguments=u}parseAsyncArrowWithTypeParameters(o){let u=this.startNodeAt(o);if(this.parseFunctionParams(u,!1),!!this.parseArrow(u))return super.parseArrowExpression(u,void 0,!0)}readToken_mult_modulo(o){let u=this.input.charCodeAt(this.state.pos+1);if(o===42&&u===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(o)}readToken_pipe_amp(o){let u=this.input.charCodeAt(this.state.pos+1);if(o===124&&u===125){this.finishOp(9,2);return}super.readToken_pipe_amp(o)}parseTopLevel(o,u){let h=super.parseTopLevel(o,u);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,{at:this.state.curPosition()}),h}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let o=this.skipFlowComment();o&&(this.state.pos+=o,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:o}=this.state,u=2;for(;[32,9].includes(this.input.charCodeAt(o+u));)u++;let h=this.input.charCodeAt(u+o),f=this.input.charCodeAt(u+o+1);return h===58&&f===58?u+2:this.input.slice(u+o,u+o+12)==="flow-include"?u+12:h===58&&f!==58?u:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(o,u){let{enumName:h,memberName:f}=u;this.raise(ve.EnumBooleanMemberNotInitialized,{at:o,memberName:f,enumName:h})}flowEnumErrorInvalidMemberInitializer(o,u){return this.raise(u.explicitType?u.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,Object.assign({at:o},u))}flowEnumErrorNumberMemberNotInitialized(o,u){let{enumName:h,memberName:f}=u;this.raise(ve.EnumNumberMemberNotInitialized,{at:o,enumName:h,memberName:f})}flowEnumErrorStringMemberInconsistentlyInitailized(o,u){let{enumName:h}=u;this.raise(ve.EnumStringMemberInconsistentlyInitailized,{at:o,enumName:h})}flowEnumMemberInit(){let o=this.state.startLoc,u=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let h=this.parseNumericLiteral(this.state.value);return u()?{type:"number",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}case 131:{let h=this.parseStringLiteral(this.state.value);return u()?{type:"string",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}case 85:case 86:{let h=this.parseBooleanLiteral(this.match(85));return u()?{type:"boolean",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}default:return{type:"invalid",loc:o}}}flowEnumMemberRaw(){let o=this.state.startLoc,u=this.parseIdentifier(!0),h=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:o};return{id:u,init:h}}flowEnumCheckExplicitTypeMismatch(o,u,h){let{explicitType:f}=u;f!==null&&f!==h&&this.flowEnumErrorInvalidMemberInitializer(o,u)}flowEnumMembers(o){let{enumName:u,explicitType:h}=o,f=new Set,m={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},y=!1;for(;!this.match(8);){if(this.eat(21)){y=!0;break}let D=this.startNode(),{id:O,init:x}=this.flowEnumMemberRaw(),v=O.name;if(v==="")continue;/^[a-z]/.test(v)&&this.raise(ve.EnumInvalidMemberName,{at:O,memberName:v,suggestion:v[0].toUpperCase()+v.slice(1),enumName:u}),f.has(v)&&this.raise(ve.EnumDuplicateMemberName,{at:O,memberName:v,enumName:u}),f.add(v);let E={enumName:u,explicitType:h,memberName:v};switch(D.id=O,x.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"boolean"),D.init=x.value,m.booleanMembers.push(this.finishNode(D,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"number"),D.init=x.value,m.numberMembers.push(this.finishNode(D,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"string"),D.init=x.value,m.stringMembers.push(this.finishNode(D,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(x.loc,E);case"none":switch(h){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(x.loc,E);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(x.loc,E);break;default:m.defaultedMembers.push(this.finishNode(D,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:m,hasUnknownMembers:y}}flowEnumStringMembers(o,u,h){let{enumName:f}=h;if(o.length===0)return u;if(u.length===0)return o;if(u.length>o.length){for(let m of o)this.flowEnumErrorStringMemberInconsistentlyInitailized(m,{enumName:f});return u}else{for(let m of u)this.flowEnumErrorStringMemberInconsistentlyInitailized(m,{enumName:f});return o}}flowEnumParseExplicitType(o){let{enumName:u}=o;if(!this.eatContextual(101))return null;if(!at(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:u});let{value:h}=this.state;return this.next(),h!=="boolean"&&h!=="number"&&h!=="string"&&h!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:u,invalidEnumType:h}),h}flowEnumBody(o,u){let h=u.name,f=u.loc.start,m=this.flowEnumParseExplicitType({enumName:h});this.expect(5);let{members:y,hasUnknownMembers:D}=this.flowEnumMembers({enumName:h,explicitType:m});switch(o.hasUnknownMembers=D,m){case"boolean":return o.explicitType=!0,o.members=y.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody");case"number":return o.explicitType=!0,o.members=y.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody");case"string":return o.explicitType=!0,o.members=this.flowEnumStringMembers(y.stringMembers,y.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(o,"EnumStringBody");case"symbol":return o.members=y.defaultedMembers,this.expect(8),this.finishNode(o,"EnumSymbolBody");default:{let O=()=>(o.members=[],this.expect(8),this.finishNode(o,"EnumStringBody"));o.explicitType=!1;let x=y.booleanMembers.length,v=y.numberMembers.length,E=y.stringMembers.length,F=y.defaultedMembers.length;if(!x&&!v&&!E&&!F)return O();if(!x&&!v)return o.members=this.flowEnumStringMembers(y.stringMembers,y.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(o,"EnumStringBody");if(!v&&!E&&x>=F){for(let k of y.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(k.loc.start,{enumName:h,memberName:k.id.name});return o.members=y.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody")}else if(!x&&!E&&v>=F){for(let k of y.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(k.loc.start,{enumName:h,memberName:k.id.name});return o.members=y.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,{at:f,enumName:h}),O()}}}flowParseEnumDeclaration(o){let u=this.parseIdentifier();return o.id=u,o.body=this.flowEnumBody(this.startNode(),u),this.finishNode(o,"EnumDeclaration")}isLookaheadToken_lt(){let o=this.nextTokenStart();if(this.input.charCodeAt(o)===60){let u=this.input.charCodeAt(o+1);return u!==60&&u!==61}return!1}maybeUnwrapTypeCastExpression(o){return o.type==="TypeCastExpression"?o.expression:o}},Vn={__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:"♦"},wn=Wi`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:c=>{let{openingTagName:o}=c;return`Expected corresponding JSX closing tag for <${o}>.`},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:c=>{let{unexpected:o,HTMLEntity:u}=c;return`Unexpected token \`${o}\`. Did you mean \`${u}\` or \`{'${o}'}\`?`},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 Rn(c){return c?c.type==="JSXOpeningFragment"||c.type==="JSXClosingFragment":!1}function Pn(c){if(c.type==="JSXIdentifier")return c.name;if(c.type==="JSXNamespacedName")return c.namespace.name+":"+c.name.name;if(c.type==="JSXMemberExpression")return Pn(c.object)+"."+Pn(c.property);throw new Error("Node had unexpected type: "+c.type)}var Un=c=>class extends c{jsxReadToken(){let o="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(wn.UnterminatedJsxContent,{at:this.state.startLoc});let h=this.input.charCodeAt(this.state.pos);switch(h){case 60:case 123:if(this.state.pos===this.state.start){h===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(h);return}o+=this.input.slice(u,this.state.pos),this.finishToken(139,o);return;case 38:o+=this.input.slice(u,this.state.pos),o+=this.jsxReadEntity(),u=this.state.pos;break;case 62:case 125:default:zl(h)?(o+=this.input.slice(u,this.state.pos),o+=this.jsxReadNewLine(!0),u=this.state.pos):++this.state.pos}}}jsxReadNewLine(o){let u=this.input.charCodeAt(this.state.pos),h;return++this.state.pos,u===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,h=o?`
`:`\r
`):h=String.fromCharCode(u),++this.state.curLine,this.state.lineStart=this.state.pos,h}jsxReadString(o){let u="",h=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Qe.UnterminatedString,{at:this.state.startLoc});let f=this.input.charCodeAt(this.state.pos);if(f===o)break;f===38?(u+=this.input.slice(h,this.state.pos),u+=this.jsxReadEntity(),h=this.state.pos):zl(f)?(u+=this.input.slice(h,this.state.pos),u+=this.jsxReadNewLine(!1),h=this.state.pos):++this.state.pos}u+=this.input.slice(h,this.state.pos++),this.finishToken(131,u)}jsxReadEntity(){let o=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let u=10;this.codePointAtPos(this.state.pos)===120&&(u=16,++this.state.pos);let h=this.readInt(u,void 0,!1,"bail");if(h!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(h)}else{let u=0,h=!1;for(;u++<10&&this.state.pos<this.length&&!(h=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(h){let f=this.input.slice(o,this.state.pos),m=Vn[f];if(++this.state.pos,m)return m}}return this.state.pos=o,"&"}jsxReadWord(){let o,u=this.state.pos;do o=this.input.charCodeAt(++this.state.pos);while(ba(o)||o===45);this.finishToken(138,this.input.slice(u,this.state.pos))}jsxParseIdentifier(){let o=this.startNode();return this.match(138)?o.name=this.state.value:Vt(this.state.type)?o.name=jr(this.state.type):this.unexpected(),this.next(),this.finishNode(o,"JSXIdentifier")}jsxParseNamespacedName(){let o=this.state.startLoc,u=this.jsxParseIdentifier();if(!this.eat(14))return u;let h=this.startNodeAt(o);return h.namespace=u,h.name=this.jsxParseIdentifier(),this.finishNode(h,"JSXNamespacedName")}jsxParseElementName(){let o=this.state.startLoc,u=this.jsxParseNamespacedName();if(u.type==="JSXNamespacedName")return u;for(;this.eat(16);){let h=this.startNodeAt(o);h.object=u,h.property=this.jsxParseIdentifier(),u=this.finishNode(h,"JSXMemberExpression")}return u}jsxParseAttributeValue(){let o;switch(this.state.type){case 5:return o=this.startNode(),this.setContext(mr.brace),this.next(),o=this.jsxParseExpressionContainer(o,mr.j_oTag),o.expression.type==="JSXEmptyExpression"&&this.raise(wn.AttributeIsEmpty,{at:o}),o;case 140:case 131:return this.parseExprAtom();default:throw this.raise(wn.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let o=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(o,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(o){return this.next(),o.expression=this.parseExpression(),this.setContext(mr.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadChild")}jsxParseExpressionContainer(o,u){if(this.match(8))o.expression=this.jsxParseEmptyExpression();else{let h=this.parseExpression();o.expression=h}return this.setContext(u),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXExpressionContainer")}jsxParseAttribute(){let o=this.startNode();return this.match(5)?(this.setContext(mr.brace),this.next(),this.expect(21),o.argument=this.parseMaybeAssignAllowIn(),this.setContext(mr.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadAttribute")):(o.name=this.jsxParseNamespacedName(),o.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(o,"JSXAttribute"))}jsxParseOpeningElementAt(o){let u=this.startNodeAt(o);return this.eat(141)?this.finishNode(u,"JSXOpeningFragment"):(u.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(u))}jsxParseOpeningElementAfterName(o){let u=[];for(;!this.match(56)&&!this.match(141);)u.push(this.jsxParseAttribute());return o.attributes=u,o.selfClosing=this.eat(56),this.expect(141),this.finishNode(o,"JSXOpeningElement")}jsxParseClosingElementAt(o){let u=this.startNodeAt(o);return this.eat(141)?this.finishNode(u,"JSXClosingFragment"):(u.name=this.jsxParseElementName(),this.expect(141),this.finishNode(u,"JSXClosingElement"))}jsxParseElementAt(o){let u=this.startNodeAt(o),h=[],f=this.jsxParseOpeningElementAt(o),m=null;if(!f.selfClosing){e:for(;;)switch(this.state.type){case 140:if(o=this.state.startLoc,this.next(),this.eat(56)){m=this.jsxParseClosingElementAt(o);break e}h.push(this.jsxParseElementAt(o));break;case 139:h.push(this.parseExprAtom());break;case 5:{let y=this.startNode();this.setContext(mr.brace),this.next(),this.match(21)?h.push(this.jsxParseSpreadChild(y)):h.push(this.jsxParseExpressionContainer(y,mr.j_expr));break}default:this.unexpected()}Rn(f)&&!Rn(m)&&m!==null?this.raise(wn.MissingClosingTagFragment,{at:m}):!Rn(f)&&Rn(m)?this.raise(wn.MissingClosingTagElement,{at:m,openingTagName:Pn(f.name)}):!Rn(f)&&!Rn(m)&&Pn(m.name)!==Pn(f.name)&&this.raise(wn.MissingClosingTagElement,{at:m,openingTagName:Pn(f.name)})}if(Rn(f)?(u.openingFragment=f,u.closingFragment=m):(u.openingElement=f,u.closingElement=m),u.children=h,this.match(47))throw this.raise(wn.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Rn(f)?this.finishNode(u,"JSXFragment"):this.finishNode(u,"JSXElement")}jsxParseElement(){let o=this.state.startLoc;return this.next(),this.jsxParseElementAt(o)}setContext(o){let{context:u}=this.state;u[u.length-1]=o}parseExprAtom(o){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(o)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(o){let u=this.curContext();if(u===mr.j_expr){this.jsxReadToken();return}if(u===mr.j_oTag||u===mr.j_cTag){if(jo(o)){this.jsxReadWord();return}if(o===62){++this.state.pos,this.finishToken(141);return}if((o===34||o===39)&&u===mr.j_oTag){this.jsxReadString(o);return}}if(o===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(o)}updateContext(o){let{context:u,type:h}=this.state;if(h===56&&o===140)u.splice(-2,2,mr.j_cTag),this.state.canStartJSXElement=!1;else if(h===140)u.push(mr.j_oTag);else if(h===141){let f=u[u.length-1];f===mr.j_oTag&&o===56||f===mr.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===mr.j_expr):(this.setContext(mr.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Lt(h)}},Br=class extends ql{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},hr=class extends mu{constructor(){super(...arguments),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new Br(c)}enter(c){c==Ga&&this.importsStack.push(new Set),super.enter(c)}exit(){let c=super.exit();return c==Ga&&this.importsStack.pop(),c}hasImport(c,o){let u=this.importsStack.length;if(this.importsStack[u-1].has(c))return!0;if(!o&&u>1){for(let h=0;h<u-1;h++)if(this.importsStack[h].has(c))return!0}return!1}declareName(c,o,u){if(o&Rl){this.hasImport(c,!0)&&this.parser.raise(Qe.VarRedeclaration,{at:u,identifierName:c}),this.importsStack[this.importsStack.length-1].add(c);return}let h=this.currentScope();if(o&Ml){this.maybeExportDefined(h,c),h.exportOnlyBindings.add(c);return}super.declareName(c,o,u),o&Ca&&(o&ra||(this.checkRedeclarationInScope(h,c,o,u),this.maybeExportDefined(h,c)),h.types.add(c)),o&pu&&h.enums.add(c),o&Il&&h.constEnums.add(c),o&hu&&h.classes.add(c)}isRedeclaredInScope(c,o,u){if(c.enums.has(o)){if(u&pu){let h=!!(u&Il),f=c.constEnums.has(o);return h!==f}return!0}return u&hu&&c.classes.has(o)?c.lexical.has(o)?!!(u&ra):!1:u&Ca&&c.types.has(o)?!0:super.isRedeclaredInScope(c,o,u)}checkLocalExport(c){let{name:o}=c;if(this.hasImport(o))return;let u=this.scopeStack.length;for(let h=u-1;h>=0;h--){let f=this.scopeStack[h];if(f.types.has(o)||f.exportOnlyBindings.has(o))return}super.checkLocalExport(c)}},Mr=(c,o)=>Object.hasOwnProperty.call(c,o)&&c[o],pr=c=>c.type==="ParenthesizedExpression"?pr(c.expression):c,Fs=class extends De{toAssignable(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var u,h;let f;switch((c.type==="ParenthesizedExpression"||(u=c.extra)!=null&&u.parenthesized)&&(f=pr(c),o?f.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Qe.InvalidParenthesizedAssignment,{at:c}):f.type!=="MemberExpression"&&this.raise(Qe.InvalidParenthesizedAssignment,{at:c}):this.raise(Qe.InvalidParenthesizedAssignment,{at:c})),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let y=0,D=c.properties.length,O=D-1;y<D;y++){var m;let x=c.properties[y],v=y===O;this.toAssignableObjectExpressionProp(x,v,o),v&&x.type==="RestElement"&&(m=c.extra)!=null&&m.trailingCommaLoc&&this.raise(Qe.RestTrailingComma,{at:c.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:y,value:D}=c;this.isPrivateName(y)&&this.classScope.usePrivateName(this.getPrivateNameSV(y),y.loc.start),this.toAssignable(D,o);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":c.type="ArrayPattern",this.toAssignableList(c.elements,(h=c.extra)==null?void 0:h.trailingCommaLoc,o);break;case"AssignmentExpression":c.operator!=="="&&this.raise(Qe.MissingEqInAssignment,{at:c.left.loc.end}),c.type="AssignmentPattern",delete c.operator,this.toAssignable(c.left,o);break;case"ParenthesizedExpression":this.toAssignable(f,o);break}}toAssignableObjectExpressionProp(c,o,u){if(c.type==="ObjectMethod")this.raise(c.kind==="get"||c.kind==="set"?Qe.PatternHasAccessor:Qe.PatternHasMethod,{at:c.key});else if(c.type==="SpreadElement"){c.type="RestElement";let h=c.argument;this.checkToRestConversion(h,!1),this.toAssignable(h,u),o||this.raise(Qe.RestTrailingComma,{at:c})}else this.toAssignable(c,u)}toAssignableList(c,o,u){let h=c.length-1;for(let f=0;f<=h;f++){let m=c[f];if(m){if(m.type==="SpreadElement"){m.type="RestElement";let y=m.argument;this.checkToRestConversion(y,!0),this.toAssignable(y,u)}else this.toAssignable(m,u);m.type==="RestElement"&&(f<h?this.raise(Qe.RestTrailingComma,{at:m}):o&&this.raise(Qe.RestTrailingComma,{at:o}))}}}isAssignable(c,o){switch(c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let u=c.properties.length-1;return c.properties.every((h,f)=>h.type!=="ObjectMethod"&&(f===u||h.type!=="SpreadElement")&&this.isAssignable(h))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(u=>u===null||this.isAssignable(u));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!o;default:return!1}}toReferencedList(c,o){return c}toReferencedListDeep(c,o){this.toReferencedList(c,o);for(let u of c)(u==null?void 0:u.type)==="ArrayExpression"&&this.toReferencedListDeep(u.elements)}parseSpread(c){let o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(o,"SpreadElement")}parseRestBinding(){let c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let 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,o,u){let h=u&1,f=[],m=!0;for(;!this.eat(c);)if(m?m=!1:this.expect(12),h&&this.match(12))f.push(null);else{if(this.eat(c))break;if(this.match(21)){if(f.push(this.parseAssignableListItemTypes(this.parseRestBinding(),u)),!this.checkCommaAfterRest(o)){this.expect(c);break}}else{let y=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)y.push(this.parseDecorator());f.push(this.parseAssignableListItem(u,y))}}return f}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){let c=this.startNode(),{type:o,startLoc:u}=this.state;return o===21?this.parseBindingRestProperty(c):(o===136?(this.expectPlugin("destructuringPrivate",u),this.classScope.usePrivateName(this.state.value,u),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,u,!1,!1,!0,!1))}parseAssignableListItem(c,o){let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,c);let h=this.parseMaybeDefault(u.loc.start,u);return o.length&&(u.decorators=o),h}parseAssignableListItemTypes(c,o){return c}parseMaybeDefault(c,o){var u;if(c!=null||(c=this.state.startLoc),o=(u=o)!=null?u:this.parseBindingAtom(),!this.eat(29))return o;let h=this.startNodeAt(c);return h.left=o,h.right=this.parseMaybeAssignAllowIn(),this.finishNode(h,"AssignmentPattern")}isValidLVal(c,o,u){return Mr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},c)}checkLVal(c,o){let{in:u,binding:h=Sa,checkClashes:f=!1,strictModeChanged:m=!1,hasParenthesizedAncestor:y=!1}=o;var D;let O=c.type;if(this.isObjectMethod(c))return;if(O==="MemberExpression"){h!==Sa&&this.raise(Qe.InvalidPropertyBindingPattern,{at:c});return}if(O==="Identifier"){this.checkIdentifier(c,h,m);let{name:k}=c;f&&(f.has(k)?this.raise(Qe.ParamDupe,{at:c}):f.add(k));return}let x=this.isValidLVal(O,!(y||(D=c.extra)!=null&&D.parenthesized)&&u.type==="AssignmentExpression",h);if(x===!0)return;if(x===!1){let k=h===Sa?Qe.InvalidLhs:Qe.InvalidLhsBinding;this.raise(k,{at:c,ancestor:u});return}let[v,E]=Array.isArray(x)?x:[x,O==="ParenthesizedExpression"],F=O==="ArrayPattern"||O==="ObjectPattern"||O==="ParenthesizedExpression"?{type:O}:u;for(let k of[].concat(c[v]))k&&this.checkLVal(k,{in:F,binding:h,checkClashes:f,strictModeChanged:m,hasParenthesizedAncestor:E})}checkIdentifier(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.state.strict&&(u?as(c.name,this.inModule):rp(c.name))&&(o===Sa?this.raise(Qe.StrictEvalArguments,{at:c,referenceName:c.name}):this.raise(Qe.StrictEvalArgumentsBinding,{at:c,bindingName:c.name})),o&Ql&&c.name==="let"&&this.raise(Qe.LetInLexicalBinding,{at:c}),o&Sa||this.declareNameFromIdentifier(c,o)}declareNameFromIdentifier(c,o){this.scope.declareName(c.name,o,c.loc.start)}checkToRestConversion(c,o){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,o);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(o)break;default:this.raise(Qe.InvalidRestAssignmentPattern,{at:c})}}checkCommaAfterRest(c){return this.match(12)?(this.raise(this.lookaheadCharCode()===c?Qe.RestTrailingComma:Qe.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},ts=(c,o)=>Object.hasOwnProperty.call(c,o)&&c[o];function cs(c){if(c==null)throw new Error(`Unexpected ${c} value.`);return c}function Yi(c){if(!c)throw new Error("Assert fail")}var _r=Wi`typescript`({AbstractMethodHasImplementation:c=>{let{methodName:o}=c;return`Method '${o}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:c=>{let{propertyName:o}=c;return`Property '${o}' 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:c=>{let{kind:o}=c;return`'declare' is not allowed in ${o}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:c=>"Accessibility modifier already seen.",DuplicateModifier:c=>{let{modifier:o}=c;return`Duplicate modifier: '${o}'.`},EmptyHeritageClauseType:c=>{let{token:o}=c;return`'${o}' 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:c=>{let{modifiers:o}=c;return`'${o[0]}' modifier cannot be used with '${o[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:c=>{let{modifier:o}=c;return`Index signatures cannot have an accessibility modifier ('${o}').`},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:c=>{let{modifier:o}=c;return`'${o}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:c=>{let{modifier:o}=c;return`'${o}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:c=>{let{modifier:o}=c;return`'${o}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:c=>{let{orderedModifiers:o}=c;return`'${o[0]}' modifier must precede '${o[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.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",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:c=>{let{modifier:o}=c;return`Private elements cannot have an accessibility modifier ('${o}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",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:c=>{let{typeParameterName:o}=c;return`Single type parameter ${o} should have a trailing comma. Example usage: <${o},>.`},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:c=>{let{type:o}=c;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${o}.`}});function Dn(c){switch(c){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}}function ci(c){return c==="private"||c==="public"||c==="protected"}function Kn(c){return c==="in"||c==="out"}var hi=c=>class extends c{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:_r.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:_r.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_r.InvalidModifierOnTypeParameter})}getScopeHandler(){return hr}tsIsIdentifier(){return at(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(o,u){if(!at(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let h=this.state.value;if(o.indexOf(h)!==-1){if(u&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return h}}tsParseModifiers(o,u){let{allowedModifiers:h,disallowedModifiers:f,stopOnStartOfClassStaticBlock:m,errorTemplate:y=_r.InvalidModifierOnTypeMember}=o,D=(x,v,E,F)=>{v===E&&u[F]&&this.raise(_r.InvalidModifiersOrder,{at:x,orderedModifiers:[E,F]})},O=(x,v,E,F)=>{(u[E]&&v===F||u[F]&&v===E)&&this.raise(_r.IncompatibleModifiers,{at:x,modifiers:[E,F]})};for(;;){let{startLoc:x}=this.state,v=this.tsParseModifier(h.concat(f??[]),m);if(!v)break;ci(v)?u.accessibility?this.raise(_r.DuplicateAccessibilityModifier,{at:x,modifier:v}):(D(x,v,v,"override"),D(x,v,v,"static"),D(x,v,v,"readonly"),u.accessibility=v):Kn(v)?(u[v]&&this.raise(_r.DuplicateModifier,{at:x,modifier:v}),u[v]=!0,D(x,v,"in","out")):(Object.hasOwnProperty.call(u,v)?this.raise(_r.DuplicateModifier,{at:x,modifier:v}):(D(x,v,"static","readonly"),D(x,v,"static","override"),D(x,v,"override","readonly"),D(x,v,"abstract","override"),O(x,v,"declare","override"),O(x,v,"static","abstract")),u[v]=!0),f!=null&&f.includes(v)&&this.raise(y,{at:x,modifier:v})}}tsIsListTerminator(o){switch(o){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(o,u){let h=[];for(;!this.tsIsListTerminator(o);)h.push(u());return h}tsParseDelimitedList(o,u,h){return cs(this.tsParseDelimitedListWorker(o,u,!0,h))}tsParseDelimitedListWorker(o,u,h,f){let m=[],y=-1;for(;!this.tsIsListTerminator(o);){y=-1;let D=u();if(D==null)return;if(m.push(D),this.eat(12)){y=this.state.lastTokStart;continue}if(this.tsIsListTerminator(o))break;h&&this.expect(12);return}return f&&(f.value=y),m}tsParseBracketedList(o,u,h,f,m){f||(h?this.expect(0):this.expect(47));let y=this.tsParseDelimitedList(o,u,m);return h?this.expect(3):this.expect(48),y}tsParseImportType(){let o=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(_r.UnsupportedImportTypeArgument,{at:this.state.startLoc}),o.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(o.qualifier=this.tsParseEntityName()),this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSImportType")}tsParseEntityName(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=this.parseIdentifier(o);for(;this.eat(16);){let h=this.startNodeAtNode(u);h.left=u,h.right=this.parseIdentifier(o),u=this.finishNode(h,"TSQualifiedName")}return u}tsParseTypeReference(){let o=this.startNode();return o.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeReference")}tsParseThisTypePredicate(o){this.next();let u=this.startNodeAtNode(o);return u.parameterName=o,u.typeAnnotation=this.tsParseTypeAnnotation(!1),u.asserts=!1,this.finishNode(u,"TSTypePredicate")}tsParseThisTypeNode(){let o=this.startNode();return this.next(),this.finishNode(o,"TSThisType")}tsParseTypeQuery(){let o=this.startNode();return this.expect(87),this.match(83)?o.exprName=this.tsParseImportType():o.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeQuery")}tsParseTypeParameter(o){let u=this.startNode();return o(u),u.name=this.tsParseTypeParameterName(),u.constraint=this.tsEatThenParseType(81),u.default=this.tsEatThenParseType(29),this.finishNode(u,"TSTypeParameter")}tsTryParseTypeParameters(o){if(this.match(47))return this.tsParseTypeParameters(o)}tsParseTypeParameters(o){let u=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let h={value:-1};return u.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,o),!1,!0,h),u.params.length===0&&this.raise(_r.EmptyTypeParameters,{at:u}),h.value!==-1&&this.addExtra(u,"trailingComma",h.value),this.finishNode(u,"TSTypeParameterDeclaration")}tsFillSignature(o,u){let h=o===19,f="parameters",m="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),u[f]=this.tsParseBindingListForSignature(),h?u[m]=this.tsParseTypeOrTypePredicateAnnotation(o):this.match(o)&&(u[m]=this.tsParseTypeOrTypePredicateAnnotation(o))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(o=>(o.type!=="Identifier"&&o.type!=="RestElement"&&o.type!=="ObjectPattern"&&o.type!=="ArrayPattern"&&this.raise(_r.UnsupportedSignatureParameterKind,{at:o,type:o.type}),o))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(o,u){return this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),this.finishNode(u,o)}tsIsUnambiguouslyIndexSignature(){return this.next(),at(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(o){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let u=this.parseIdentifier();u.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(u),this.expect(3),o.parameters=[u];let h=this.tsTryParseTypeAnnotation();return h&&(o.typeAnnotation=h),this.tsParseTypeMemberSemicolon(),this.finishNode(o,"TSIndexSignature")}tsParsePropertyOrMethodSignature(o,u){this.eat(17)&&(o.optional=!0);let h=o;if(this.match(10)||this.match(47)){u&&this.raise(_r.ReadonlyForMethodSignature,{at:o});let f=h;f.kind&&this.match(47)&&this.raise(_r.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,f),this.tsParseTypeMemberSemicolon();let m="parameters",y="typeAnnotation";if(f.kind==="get")f[m].length>0&&(this.raise(Qe.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(f[m][0])&&this.raise(_r.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(f.kind==="set"){if(f[m].length!==1)this.raise(Qe.BadSetterArity,{at:this.state.curPosition()});else{let D=f[m][0];this.isThisParam(D)&&this.raise(_r.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),D.type==="Identifier"&&D.optional&&this.raise(_r.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),D.type==="RestElement"&&this.raise(_r.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}f[y]&&this.raise(_r.SetAccesorCannotHaveReturnType,{at:f[y]})}else f.kind="method";return this.finishNode(f,"TSMethodSignature")}else{let f=h;u&&(f.readonly=!0);let m=this.tsTryParseTypeAnnotation();return m&&(f.typeAnnotation=m),this.tsParseTypeMemberSemicolon(),this.finishNode(f,"TSPropertySignature")}}tsParseTypeMember(){let o=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",o);if(this.match(77)){let h=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",o):(o.key=this.createIdentifier(h,"new"),this.tsParsePropertyOrMethodSignature(o,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},o),this.tsTryParseIndexSignature(o)||(super.parsePropertyName(o),!o.computed&&o.key.type==="Identifier"&&(o.key.name==="get"||o.key.name==="set")&&this.tsTokenCanFollowModifier()&&(o.kind=o.key.name,super.parsePropertyName(o)),this.tsParsePropertyOrMethodSignature(o,!!o.readonly))}tsParseTypeLiteral(){let o=this.startNode();return o.members=this.tsParseObjectTypeMembers(),this.finishNode(o,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let o=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),o}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsExpectThenParseType(58),this.finishNode(o,"TSTypeParameter")}tsParseMappedType(){let o=this.startNode();return this.expect(5),this.match(53)?(o.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(o.readonly=!0),this.expect(0),o.typeParameter=this.tsParseMappedTypeParameter(),o.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(o.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(o.optional=!0),o.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(o,"TSMappedType")}tsParseTupleType(){let o=this.startNode();o.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let u=!1,h=null;return o.elementTypes.forEach(f=>{let{type:m}=f;u&&m!=="TSRestType"&&m!=="TSOptionalType"&&!(m==="TSNamedTupleMember"&&f.optional)&&this.raise(_r.OptionalTypeBeforeRequired,{at:f}),u||(u=m==="TSNamedTupleMember"&&f.optional||m==="TSOptionalType");let y=m;m==="TSRestType"&&(f=f.typeAnnotation,y=f.type);let D=y==="TSNamedTupleMember";h!=null||(h=D),h!==D&&this.raise(_r.MixedLabeledAndUnlabeledElements,{at:f})}),this.finishNode(o,"TSTupleType")}tsParseTupleElementType(){let{startLoc:o}=this.state,u=this.eat(21),h,f,m,y,D=qe(this.state.type)?this.lookaheadCharCode():null;if(D===58)h=!0,m=!1,f=this.parseIdentifier(!0),this.expect(14),y=this.tsParseType();else if(D===63){m=!0;let O=this.state.startLoc,x=this.state.value,v=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(h=!0,f=this.createIdentifier(this.startNodeAt(O),x),this.expect(17),this.expect(14),y=this.tsParseType()):(h=!1,y=v,this.expect(17))}else y=this.tsParseType(),m=this.eat(17),h=this.eat(14);if(h){let O;f?(O=this.startNodeAtNode(f),O.optional=m,O.label=f,O.elementType=y,this.eat(17)&&(O.optional=!0,this.raise(_r.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(O=this.startNodeAtNode(y),O.optional=m,this.raise(_r.InvalidTupleMemberLabel,{at:y}),O.label=y,O.elementType=this.tsParseType()),y=this.finishNode(O,"TSNamedTupleMember")}else if(m){let O=this.startNodeAtNode(y);O.typeAnnotation=y,y=this.finishNode(O,"TSOptionalType")}if(u){let O=this.startNodeAt(o);O.typeAnnotation=y,y=this.finishNode(O,"TSRestType")}return y}tsParseParenthesizedType(){let o=this.startNode();return this.expect(10),o.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(o,"TSParenthesizedType")}tsParseFunctionOrConstructorType(o,u){let h=this.startNode();return o==="TSConstructorType"&&(h.abstract=!!u,u&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,h)),this.finishNode(h,o)}tsParseLiteralTypeNode(){let o=this.startNode();return o.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(o,"TSLiteralType")}tsParseTemplateLiteralType(){let o=this.startNode();return o.literal=super.parseTemplate(!1),this.finishNode(o,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let o=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(o):o}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let o=this.startNode(),u=this.lookahead();return u.type!==132&&u.type!==133&&this.unexpected(),o.literal=this.parseMaybeUnary(),this.finishNode(o,"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:{let{type:o}=this.state;if(at(o)||o===88||o===84){let u=o===88?"TSVoidKeyword":o===84?"TSNullKeyword":Dn(this.state.value);if(u!==void 0&&this.lookaheadCharCode()!==46){let h=this.startNode();return this.next(),this.finishNode(h,u)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let o=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let u=this.startNodeAtNode(o);u.elementType=o,this.expect(3),o=this.finishNode(u,"TSArrayType")}else{let u=this.startNodeAtNode(o);u.objectType=o,u.indexType=this.tsParseType(),this.expect(3),o=this.finishNode(u,"TSIndexedAccessType")}return o}tsParseTypeOperator(){let o=this.startNode(),u=this.state.value;return this.next(),o.operator=u,o.typeAnnotation=this.tsParseTypeOperatorOrHigher(),u==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(o),this.finishNode(o,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(o){switch(o.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(_r.UnexpectedReadonly,{at:o})}}tsParseInferType(){let o=this.startNode();this.expectContextual(113);let u=this.startNode();return u.name=this.tsParseTypeParameterName(),u.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),o.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(o,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let o=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return o}}tsParseTypeOperatorOrHigher(){return rn(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(o,u,h){let f=this.startNode(),m=this.eat(h),y=[];do y.push(u());while(this.eat(h));return y.length===1&&!m?y[0]:(f.types=y,this.finishNode(f,o))}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)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(at(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:o}=this.state,u=o.length;try{return this.parseObjectLike(8,!0),o.length===u}catch{return!1}}if(this.match(0)){this.next();let{errors:o}=this.state,u=o.length;try{return super.parseBindingList(3,93,1),o.length===u}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(o){return this.tsInType(()=>{let u=this.startNode();this.expect(o);let h=this.startNode(),f=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(f&&this.match(78)){let D=this.tsParseThisTypeOrThisTypePredicate();return D.type==="TSThisType"?(h.parameterName=D,h.asserts=!0,h.typeAnnotation=null,D=this.finishNode(h,"TSTypePredicate")):(this.resetStartLocationFromNode(D,h),D.asserts=!0),u.typeAnnotation=D,this.finishNode(u,"TSTypeAnnotation")}let m=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!m)return f?(h.parameterName=this.parseIdentifier(),h.asserts=f,h.typeAnnotation=null,u.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,u);let y=this.tsParseTypeAnnotation(!1);return h.parameterName=m,h.typeAnnotation=y,h.asserts=f,u.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let o=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),o}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let o=this.state.containsEsc;return this.next(),!at(this.state.type)&&!this.match(78)?!1:(o&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{o&&this.expect(14),u.typeAnnotation=this.tsParseType()}),this.finishNode(u,"TSTypeAnnotation")}tsParseType(){Yi(this.state.inType);let o=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return o;let u=this.startNodeAtNode(o);return u.checkType=o,u.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),u.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),u.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(u,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&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(_r.ReservedTypeAssertion,{at:this.state.startLoc});let o=this.startNode();return o.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),o.expression=this.parseMaybeUnary(),this.finishNode(o,"TSTypeAssertion")}tsParseHeritageClause(o){let u=this.state.startLoc,h=this.tsParseDelimitedList("HeritageClauseElement",()=>{let f=this.startNode();return f.expression=this.tsParseEntityName(),this.match(47)&&(f.typeParameters=this.tsParseTypeArguments()),this.finishNode(f,"TSExpressionWithTypeArguments")});return h.length||this.raise(_r.EmptyHeritageClauseType,{at:u,token:o}),h}tsParseInterfaceDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),u.declare&&(o.declare=!0),at(this.state.type)?(o.id=this.parseIdentifier(),this.checkIdentifier(o.id,jl)):(o.id=null,this.raise(_r.MissingInterfaceName,{at:this.state.startLoc})),o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(o.extends=this.tsParseHeritageClause("extends"));let h=this.startNode();return h.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),o.body=this.finishNode(h,"TSInterfaceBody"),this.finishNode(o,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(o){return o.id=this.parseIdentifier(),this.checkIdentifier(o.id,fu),o.typeAnnotation=this.tsInType(()=>{if(o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let u=this.startNode();return this.next(),this.finishNode(u,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(o,"TSTypeAliasDeclaration")}tsInNoContext(o){let u=this.state.context;this.state.context=[u[0]];try{return o()}finally{this.state.context=u}}tsInType(o){let u=this.state.inType;this.state.inType=!0;try{return o()}finally{this.state.inType=u}}tsInDisallowConditionalTypesContext(o){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return o()}finally{this.state.inDisallowConditionalTypesContext=u}}tsInAllowConditionalTypesContext(o){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return o()}finally{this.state.inDisallowConditionalTypesContext=u}}tsEatThenParseType(o){return this.match(o)?this.tsNextThenParseType():void 0}tsExpectThenParseType(o){return this.tsDoThenParseType(()=>this.expect(o))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(o){return this.tsInType(()=>(o(),this.tsParseType()))}tsParseEnumMember(){let o=this.startNode();return o.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(o.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(o,"TSEnumMember")}tsParseEnumDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.const&&(o.const=!0),u.declare&&(o.declare=!0),this.expectContextual(124),o.id=this.parseIdentifier(),this.checkIdentifier(o.id,o.const?bc:Ll),this.expect(5),o.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(o,"TSEnumDeclaration")}tsParseModuleBlock(){let o=this.startNode();return this.scope.enter(Vu),this.expect(5),super.parseBlockOrModuleBlockBody(o.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(o,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o.id=this.parseIdentifier(),u||this.checkIdentifier(o.id,Bo),this.eat(16)){let h=this.startNode();this.tsParseModuleOrNamespaceDeclaration(h,!0),o.body=h}else this.scope.enter(Ga),this.prodParam.enter(ee),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(o,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(o){return this.isContextual(110)?(o.global=!0,o.id=this.parseIdentifier()):this.match(131)?o.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Ga),this.prodParam.enter(ee),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(o,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(o,u){o.isExport=u||!1,o.id=this.parseIdentifier(),this.checkIdentifier(o.id,Rl),this.expect(29);let h=this.tsParseModuleReference();return o.importKind==="type"&&h.type!=="TSExternalModuleReference"&&this.raise(_r.ImportAliasHasImportType,{at:h}),o.moduleReference=h,this.semicolon(),this.finishNode(o,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let o=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),o.expression=super.parseExprAtom(),this.expect(11),this.finishNode(o,"TSExternalModuleReference")}tsLookAhead(o){let u=this.state.clone(),h=o();return this.state=u,h}tsTryParseAndCatch(o){let u=this.tryParse(h=>o()||h());if(!(u.aborted||!u.node))return u.error&&(this.state=u.failState),u.node}tsTryParse(o){let u=this.state.clone(),h=o();if(h!==void 0&&h!==!1)return h;this.state=u}tsTryParseDeclare(o){if(this.isLineTerminator())return;let u=this.state.type,h;return this.isContextual(99)&&(u=74,h="let"),this.tsInAmbientContext(()=>{if(u===68)return o.declare=!0,super.parseFunctionStatement(o,!1,!1);if(u===80)return o.declare=!0,this.parseClass(o,!0,!1);if(u===124)return this.tsParseEnumDeclaration(o,{declare:!0});if(u===110)return this.tsParseAmbientExternalModuleDeclaration(o);if(u===75||u===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(o.declare=!0,this.parseVarStatement(o,h||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(o,{const:!0,declare:!0}));if(u===127){let f=this.tsParseInterfaceDeclaration(o,{declare:!0});if(f)return f}if(at(u))return this.tsParseDeclaration(o,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(o,u,h){switch(u.name){case"declare":{let f=this.tsTryParseDeclare(o);if(f)return f.declare=!0,f;break}case"global":if(this.match(5)){this.scope.enter(Ga),this.prodParam.enter(ee);let f=o;return f.global=!0,f.id=u,f.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(f,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(o,u.name,!1,h)}}tsParseDeclaration(o,u,h,f){switch(u){case"abstract":if(this.tsCheckLineTerminator(h)&&(this.match(80)||at(this.state.type)))return this.tsParseAbstractDeclaration(o,f);break;case"module":if(this.tsCheckLineTerminator(h)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(o);if(at(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o)}break;case"namespace":if(this.tsCheckLineTerminator(h)&&at(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o);break;case"type":if(this.tsCheckLineTerminator(h)&&at(this.state.type))return this.tsParseTypeAliasDeclaration(o);break}}tsCheckLineTerminator(o){return o?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(o){if(!this.match(47))return;let u=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let h=this.tsTryParseAndCatch(()=>{let f=this.startNodeAt(o);return f.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(f),f.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),f});if(this.state.maybeInArrowParameters=u,!!h)return super.parseArrowExpression(h,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let o=this.startNode();return o.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),o.params.length===0&&this.raise(_r.EmptyTypeArguments,{at:o}),this.expect(48),this.finishNode(o,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Mn(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(o,u){let h=this.state.startLoc,f={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},f);let m=f.accessibility,y=f.override,D=f.readonly;!(o&4)&&(m||D||y)&&this.raise(_r.UnexpectedParameterModifier,{at:h});let O=this.parseMaybeDefault();this.parseAssignableListItemTypes(O,o);let x=this.parseMaybeDefault(O.loc.start,O);if(m||D||y){let v=this.startNodeAt(h);return u.length&&(v.decorators=u),m&&(v.accessibility=m),D&&(v.readonly=D),y&&(v.override=y),x.type!=="Identifier"&&x.type!=="AssignmentPattern"&&this.raise(_r.UnsupportedParameterPropertyKind,{at:v}),v.parameter=x,this.finishNode(v,"TSParameterProperty")}return u.length&&(O.decorators=u),x}isSimpleParameter(o){return o.type==="TSParameterProperty"&&super.isSimpleParameter(o.parameter)||super.isSimpleParameter(o)}tsDisallowOptionalPattern(o){for(let u of o.params)u.type!=="Identifier"&&u.optional&&!this.state.isAmbientContext&&this.raise(_r.PatternIsOptional,{at:u})}setArrowFunctionParameters(o,u,h){super.setArrowFunctionParameters(o,u,h),this.tsDisallowOptionalPattern(o)}parseFunctionBodyAndFinish(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(o.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let f=u==="FunctionDeclaration"?"TSDeclareFunction":u==="ClassMethod"||u==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return f&&!this.match(5)&&this.isLineTerminator()?this.finishNode(o,f):f==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(_r.DeclareFunctionHasImplementation,{at:o}),o.declare)?super.parseFunctionBodyAndFinish(o,f,h):(this.tsDisallowOptionalPattern(o),super.parseFunctionBodyAndFinish(o,u,h))}registerFunctionStatementId(o){!o.body&&o.id?this.checkIdentifier(o.id,hh):super.registerFunctionStatementId(o)}tsCheckForInvalidTypeCasts(o){o.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(_r.UnexpectedTypeAnnotation,{at:u.typeAnnotation})})}toReferencedList(o,u){return this.tsCheckForInvalidTypeCasts(o),o}parseArrayLike(o,u,h,f){let m=super.parseArrayLike(o,u,h,f);return m.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(m.elements),m}parseSubscript(o,u,h,f){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let y=this.startNodeAt(u);return y.expression=o,this.finishNode(y,"TSNonNullExpression")}let m=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(h)return f.stop=!0,o;f.optionalChainMember=m=!0,this.next()}if(this.match(47)||this.match(51)){let y,D=this.tsTryParseAndCatch(()=>{if(!h&&this.atPossibleAsyncArrow(o)){let E=this.tsTryParseGenericAsyncArrowFunction(u);if(E)return E}let O=this.tsParseTypeArgumentsInExpression();if(!O)return;if(m&&!this.match(10)){y=this.state.curPosition();return}if(ns(this.state.type)){let E=super.parseTaggedTemplateExpression(o,u,f);return E.typeParameters=O,E}if(!h&&this.eat(10)){let E=this.startNodeAt(u);return E.callee=o,E.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(E.arguments),E.typeParameters=O,f.optionalChainMember&&(E.optional=m),this.finishCallExpression(E,f.optionalChainMember)}let x=this.state.type;if(x===48||x===52||x!==10&&Gt(x)&&!this.hasPrecedingLineBreak())return;let v=this.startNodeAt(u);return v.expression=o,v.typeParameters=O,this.finishNode(v,"TSInstantiationExpression")});if(y&&this.unexpected(y,10),D)return D.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(_r.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),D}return super.parseSubscript(o,u,h,f)}parseNewCallee(o){var u;super.parseNewCallee(o);let{callee:h}=o;h.type==="TSInstantiationExpression"&&!((u=h.extra)!=null&&u.parenthesized)&&(o.typeParameters=h.typeParameters,o.callee=h.expression)}parseExprOp(o,u,h){let f;if(Nn(58)>h&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(f=this.isContextual(118)))){let m=this.startNodeAt(u);return m.expression=o,m.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(f&&this.raise(Qe.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(m,f?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(m,u,h)}return super.parseExprOp(o,u,h)}checkReservedWord(o,u,h,f){this.state.isAmbientContext||super.checkReservedWord(o,u,h,f)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(_r.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(o){if(o.importKind="value",at(this.state.type)||this.match(55)||this.match(5)){let h=this.lookahead();if(this.isContextual(128)&&h.type!==12&&h.type!==97&&h.type!==29&&(o.importKind="type",this.next(),h=this.lookahead()),at(this.state.type)&&h.type===29)return this.tsParseImportEqualsDeclaration(o)}let u=super.parseImport(o);return u.importKind==="type"&&u.specifiers.length>1&&u.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(_r.TypeImportCannotSpecifyDefaultAndNamed,{at:u}),u}parseExport(o,u){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(o.importKind="type",this.next()):o.importKind="value",this.tsParseImportEqualsDeclaration(o,!0);if(this.eat(29)){let h=o;return h.expression=super.parseExpression(),this.semicolon(),this.finishNode(h,"TSExportAssignment")}else if(this.eatContextual(93)){let h=o;return this.expectContextual(126),h.id=this.parseIdentifier(),this.semicolon(),this.finishNode(h,"TSNamespaceExportDeclaration")}else{if(o.exportKind="value",this.isContextual(128)){let h=this.lookaheadCharCode();(h===123||h===42)&&(this.next(),o.exportKind="type")}return super.parseExport(o,u)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let o=this.startNode();return this.next(),o.abstract=!0,this.parseClass(o,!0,!0)}if(this.match(127)){let o=this.tsParseInterfaceDeclaration(this.startNode());if(o)return o}return super.parseExportDefaultExpression()}parseVarStatement(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:f}=this.state,m=super.parseVarStatement(o,u,h||f);if(!f)return m;for(let{id:y,init:D}of m.declarations)D&&(u!=="const"||y.typeAnnotation?this.raise(_r.InitializerNotAllowedInAmbientContext,{at:D}):Jt(D,this.hasPlugin("estree"))||this.raise(_r.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:D}));return m}parseStatementContent(o,u){if(this.match(75)&&this.isLookaheadContextual("enum")){let h=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(h,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let h=this.tsParseInterfaceDeclaration(this.startNode());if(h)return h}return super.parseStatementContent(o,u)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(o,u){return u.some(h=>ci(h)?o.accessibility===h:!!o[h])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(o,u,h){let f=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:f,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:_r.InvalidModifierOnTypeParameterPositions},u);let m=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,f)&&this.raise(_r.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(o,u)):this.parseClassMemberWithIsStatic(o,u,h,!!u.static)};u.declare?this.tsInAmbientContext(m):m()}parseClassMemberWithIsStatic(o,u,h,f){let m=this.tsTryParseIndexSignature(u);if(m){o.body.push(m),u.abstract&&this.raise(_r.IndexSignatureHasAbstract,{at:u}),u.accessibility&&this.raise(_r.IndexSignatureHasAccessibility,{at:u,modifier:u.accessibility}),u.declare&&this.raise(_r.IndexSignatureHasDeclare,{at:u}),u.override&&this.raise(_r.IndexSignatureHasOverride,{at:u});return}!this.state.inAbstractClass&&u.abstract&&this.raise(_r.NonAbstractClassHasAbstractMethod,{at:u}),u.override&&(h.hadSuperClass||this.raise(_r.OverrideNotInSubClass,{at:u})),super.parseClassMemberWithIsStatic(o,u,h,f)}parsePostMemberNameModifiers(o){this.eat(17)&&(o.optional=!0),o.readonly&&this.match(10)&&this.raise(_r.ClassMethodHasReadonly,{at:o}),o.declare&&this.match(10)&&this.raise(_r.ClassMethodHasDeclare,{at:o})}parseExpressionStatement(o,u,h){return(u.type==="Identifier"?this.tsParseExpressionStatement(o,u,h):void 0)||super.parseExpressionStatement(o,u,h)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(o,u,h){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(o,u,h);let f=this.tryParse(()=>super.parseConditional(o,u));return f.node?(f.error&&(this.state=f.failState),f.node):(f.error&&super.setOptionalParametersError(h,f.error),o)}parseParenItem(o,u){if(o=super.parseParenItem(o,u),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let h=this.startNodeAt(u);return h.expression=o,h.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(h,"TSTypeCastExpression")}return o}parseExportDeclaration(o){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(o));let u=this.state.startLoc,h=this.eatContextual(123);if(h&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(_r.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let f=at(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(o);return f?((f.type==="TSInterfaceDeclaration"||f.type==="TSTypeAliasDeclaration"||h)&&(o.exportKind="type"),h&&(this.resetStartLocation(f,u),f.declare=!0),f):null}parseClassId(o,u,h,f){if((!u||h)&&this.isContextual(111))return;super.parseClassId(o,u,h,o.declare?hh:sp);let m=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);m&&(o.typeParameters=m)}parseClassPropertyAnnotation(o){o.optional||(this.eat(35)?o.definite=!0:this.eat(17)&&(o.optional=!0));let u=this.tsTryParseTypeAnnotation();u&&(o.typeAnnotation=u)}parseClassProperty(o){if(this.parseClassPropertyAnnotation(o),this.state.isAmbientContext&&!(o.readonly&&!o.typeAnnotation)&&this.match(29)&&this.raise(_r.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),o.abstract&&this.match(29)){let{key:u}=o;this.raise(_r.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:u.type==="Identifier"&&!o.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return super.parseClassProperty(o)}parseClassPrivateProperty(o){return o.abstract&&this.raise(_r.PrivateElementHasAbstract,{at:o}),o.accessibility&&this.raise(_r.PrivateElementHasAccessibility,{at:o,modifier:o.accessibility}),this.parseClassPropertyAnnotation(o),super.parseClassPrivateProperty(o)}parseClassAccessorProperty(o){return this.parseClassPropertyAnnotation(o),o.optional&&this.raise(_r.AccessorCannotBeOptional,{at:o}),super.parseClassAccessorProperty(o)}pushClassMethod(o,u,h,f,m,y){let D=this.tsTryParseTypeParameters(this.tsParseConstModifier);D&&m&&this.raise(_r.ConstructorHasTypeParameters,{at:D});let{declare:O=!1,kind:x}=u;O&&(x==="get"||x==="set")&&this.raise(_r.DeclareAccessor,{at:u,kind:x}),D&&(u.typeParameters=D),super.pushClassMethod(o,u,h,f,m,y)}pushClassPrivateMethod(o,u,h,f){let m=this.tsTryParseTypeParameters(this.tsParseConstModifier);m&&(u.typeParameters=m),super.pushClassPrivateMethod(o,u,h,f)}declareClassPrivateMethodInScope(o,u){o.type!=="TSDeclareMethod"&&(o.type==="MethodDefinition"&&!o.value.body||super.declareClassPrivateMethodInScope(o,u))}parseClassSuper(o){super.parseClassSuper(o),o.superClass&&(this.match(47)||this.match(51))&&(o.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(o.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(o,u,h,f,m,y,D){let O=this.tsTryParseTypeParameters(this.tsParseConstModifier);return O&&(o.typeParameters=O),super.parseObjPropValue(o,u,h,f,m,y,D)}parseFunctionParams(o,u){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&(o.typeParameters=h),super.parseFunctionParams(o,u)}parseVarId(o,u){super.parseVarId(o,u),o.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(o.definite=!0);let h=this.tsTryParseTypeAnnotation();h&&(o.id.typeAnnotation=h,this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,u){return this.match(14)&&(o.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(o,u)}parseMaybeAssign(o,u){var h,f,m,y,D,O,x;let v,E,F;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(v=this.state.clone(),E=this.tryParse(()=>super.parseMaybeAssign(o,u),v),!E.error)return E.node;let{context:T}=this.state,_=T[T.length-1];(_===mr.j_oTag||_===mr.j_expr)&&T.pop()}if(!((h=E)!=null&&h.error)&&!this.match(47))return super.parseMaybeAssign(o,u);(!v||v===this.state)&&(v=this.state.clone());let k,N=this.tryParse(T=>{var _,R;k=this.tsParseTypeParameters(this.tsParseConstModifier);let W=super.parseMaybeAssign(o,u);return(W.type!=="ArrowFunctionExpression"||(_=W.extra)!=null&&_.parenthesized)&&T(),((R=k)==null?void 0:R.params.length)!==0&&this.resetStartLocationFromNode(W,k),W.typeParameters=k,W},v);if(!N.error&&!N.aborted)return k&&this.reportReservedArrowTypeParam(k),N.node;if(!E&&(Yi(!this.hasPlugin("jsx")),F=this.tryParse(()=>super.parseMaybeAssign(o,u),v),!F.error))return F.node;if((f=E)!=null&&f.node)return this.state=E.failState,E.node;if(N.node)return this.state=N.failState,k&&this.reportReservedArrowTypeParam(k),N.node;if((m=F)!=null&&m.node)return this.state=F.failState,F.node;throw(y=E)!=null&&y.thrown?E.error:N.thrown?N.error:(D=F)!=null&&D.thrown?F.error:((O=E)==null?void 0:O.error)||N.error||((x=F)==null?void 0:x.error)}reportReservedArrowTypeParam(o){var u;o.params.length===1&&!o.params[0].constraint&&!((u=o.extra)!=null&&u.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_r.ReservedArrowTypeParam,{at:o})}parseMaybeUnary(o,u){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(o,u)}parseArrow(o){if(this.match(14)){let u=this.tryParse(h=>{let f=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&h(),f});if(u.aborted)return;u.thrown||(u.error&&(this.state=u.failState),o.returnType=u.node)}return super.parseArrow(o)}parseAssignableListItemTypes(o,u){if(!(u&2))return o;this.eat(17)&&(o.optional=!0);let h=this.tsTryParseTypeAnnotation();return h&&(o.typeAnnotation=h),this.resetEndLocation(o),o}isAssignable(o,u){switch(o.type){case"TSTypeCastExpression":return this.isAssignable(o.expression,u);case"TSParameterProperty":return!0;default:return super.isAssignable(o,u)}}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(o.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(o,u);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":u?this.expressionScope.recordArrowParameterBindingError(_r.UnexpectedTypeCastInParameter,{at:o}):this.raise(_r.UnexpectedTypeCastInParameter,{at:o}),this.toAssignable(o.expression,u);break;case"AssignmentExpression":!u&&o.left.type==="TSTypeCastExpression"&&(o.left=this.typeCastToParameter(o.left));default:super.toAssignable(o,u)}}toAssignableParenthesizedExpression(o,u){switch(o.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(o.expression,u);break;default:super.toAssignable(o,u)}}checkToRestConversion(o,u){switch(o.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(o.expression,!1);break;default:super.checkToRestConversion(o,u)}}isValidLVal(o,u,h){return ts({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(h!==Sa||!u)&&["expression",!0],TSSatisfiesExpression:(h!==Sa||!u)&&["expression",!0],TSTypeAssertion:(h!==Sa||!u)&&["expression",!0]},o)||super.isValidLVal(o,u,h)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(o){if(this.match(47)||this.match(51)){let u=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let h=super.parseMaybeDecoratorArguments(o);return h.typeParameters=u,h}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(o)}checkCommaAfterRest(o){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===o?(this.next(),!1):super.checkCommaAfterRest(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(o,u){let h=super.parseMaybeDefault(o,u);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(_r.TypeAnnotationAfterAssign,{at:h.typeAnnotation}),h}getTokenFromCode(o){if(this.state.inType){if(o===62){this.finishOp(48,1);return}if(o===60){this.finishOp(47,1);return}}super.getTokenFromCode(o)}reScan_lt_gt(){let{type:o}=this.state;o===47?(this.state.pos-=1,this.readToken_lt()):o===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:o}=this.state;return o===51?(this.state.pos-=2,this.finishOp(47,1),47):o}toAssignableList(o,u,h){for(let f=0;f<o.length;f++){let m=o[f];(m==null?void 0:m.type)==="TSTypeCastExpression"&&(o[f]=this.typeCastToParameter(m))}super.toAssignableList(o,u,h)}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}shouldParseArrow(o){return this.match(14)?o.every(u=>this.isAssignable(u,!0)):super.shouldParseArrow(o)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(o){if(this.match(47)||this.match(51)){let u=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());u&&(o.typeParameters=u)}return super.jsxParseOpeningElementAfterName(o)}getGetterSetterExpectedParamCount(o){let u=super.getGetterSetterExpectedParamCount(o),h=this.getObjectOrClassMethodParams(o)[0];return h&&this.isThisParam(h)?u+1:u}parseCatchClauseParam(){let o=super.parseCatchClauseParam(),u=this.tsTryParseTypeAnnotation();return u&&(o.typeAnnotation=u,this.resetEndLocation(o)),o}tsInAmbientContext(o){let u=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return o()}finally{this.state.isAmbientContext=u}}parseClass(o,u,h){let f=this.state.inAbstractClass;this.state.inAbstractClass=!!o.abstract;try{return super.parseClass(o,u,h)}finally{this.state.inAbstractClass=f}}tsParseAbstractDeclaration(o,u){if(this.match(80))return o.abstract=!0,this.maybeTakeDecorators(u,this.parseClass(o,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return o.abstract=!0,this.raise(_r.NonClassMethodPropertyHasAbstractModifer,{at:o}),this.tsParseInterfaceDeclaration(o)}else this.unexpected(null,80)}parseMethod(o,u,h,f,m,y,D){let O=super.parseMethod(o,u,h,f,m,y,D);if(O.abstract&&(this.hasPlugin("estree")?O.value.body:O.body)){let{key:x}=O;this.raise(_r.AbstractMethodHasImplementation,{at:O,methodName:x.type==="Identifier"&&!O.computed?x.name:`[${this.input.slice(x.start,x.end)}]`})}return O}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(o,u,h,f){return!u&&f?(this.parseTypeOnlyImportExportSpecifier(o,!1,h),this.finishNode(o,"ExportSpecifier")):(o.exportKind="value",super.parseExportSpecifier(o,u,h,f))}parseImportSpecifier(o,u,h,f,m){return!u&&f?(this.parseTypeOnlyImportExportSpecifier(o,!0,h),this.finishNode(o,"ImportSpecifier")):(o.importKind="value",super.parseImportSpecifier(o,u,h,f,h?Gu:Rl))}parseTypeOnlyImportExportSpecifier(o,u,h){let f=u?"imported":"local",m=u?"local":"exported",y=o[f],D,O=!1,x=!0,v=y.loc.start;if(this.isContextual(93)){let F=this.parseIdentifier();if(this.isContextual(93)){let k=this.parseIdentifier();qe(this.state.type)?(O=!0,y=F,D=u?this.parseIdentifier():this.parseModuleExportName(),x=!1):(D=k,x=!1)}else qe(this.state.type)?(x=!1,D=u?this.parseIdentifier():this.parseModuleExportName()):(O=!0,y=F)}else qe(this.state.type)&&(O=!0,u?(y=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(y.name,y.loc.start,!0,!0)):y=this.parseModuleExportName());O&&h&&this.raise(u?_r.TypeModifierIsUsedInTypeImports:_r.TypeModifierIsUsedInTypeExports,{at:v}),o[f]=y,o[m]=D;let E=u?"importKind":"exportKind";o[E]=O?"type":"value",x&&this.eatContextual(93)&&(o[m]=u?this.parseIdentifier():this.parseModuleExportName()),o[m]||(o[m]=V(o[f])),u&&this.checkIdentifier(o[m],O?Gu:Rl)}};function Tt(c){if(c.type!=="MemberExpression")return!1;let{computed:o,property:u}=c;return o&&u.type!=="StringLiteral"&&(u.type!=="TemplateLiteral"||u.expressions.length>0)?!1:St(c.object)}function Jt(c,o){var u;let{type:h}=c;if((u=c.extra)!=null&&u.parenthesized)return!1;if(o){if(h==="Literal"){let{value:f}=c;if(typeof f=="string"||typeof f=="boolean")return!0}}else if(h==="StringLiteral"||h==="BooleanLiteral")return!0;return!!(nr(c,o)||Gr(c,o)||h==="TemplateLiteral"&&c.expressions.length===0||Tt(c))}function nr(c,o){return o?c.type==="Literal"&&(typeof c.value=="number"||"bigint"in c):c.type==="NumericLiteral"||c.type==="BigIntLiteral"}function Gr(c,o){if(c.type==="UnaryExpression"){let{operator:u,argument:h}=c;if(u==="-"&&nr(h,o))return!0}return!1}function St(c){return c.type==="Identifier"?!0:c.type!=="MemberExpression"||c.computed?!1:St(c.object)}var An=Wi`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),fn=c=>class extends c{parsePlaceholder(o){if(this.match(142)){let u=this.startNode();return this.next(),this.assertNoSpace(),u.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(u,o)}}finishPlaceholder(o,u){let h=!!(o.expectedNode&&o.type==="Placeholder");return o.expectedNode=u,h?o:this.finishNode(o,"Placeholder")}getTokenFromCode(o){o===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(o)}parseExprAtom(o){return this.parsePlaceholder("Expression")||super.parseExprAtom(o)}parseIdentifier(o){return this.parsePlaceholder("Identifier")||super.parseIdentifier(o)}checkReservedWord(o,u,h,f){o!==void 0&&super.checkReservedWord(o,u,h,f)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(o,u,h){return o==="Placeholder"||super.isValidLVal(o,u,h)}toAssignable(o,u){o&&o.type==="Placeholder"&&o.expectedNode==="Expression"?o.expectedNode="Pattern":super.toAssignable(o,u)}chStartsBindingIdentifier(o,u){return!!(super.chStartsBindingIdentifier(o,u)||this.lookahead().type===142)}verifyBreakContinue(o,u){o.label&&o.label.type==="Placeholder"||super.verifyBreakContinue(o,u)}parseExpressionStatement(o,u){if(u.type!=="Placeholder"||u.extra&&u.extra.parenthesized)return super.parseExpressionStatement(o,u);if(this.match(14)){let h=o;return h.label=this.finishPlaceholder(u,"Identifier"),this.next(),h.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(h,"LabeledStatement")}return this.semicolon(),o.name=u.name,this.finishPlaceholder(o,"Statement")}parseBlock(o,u,h){return this.parsePlaceholder("BlockStatement")||super.parseBlock(o,u,h)}parseFunctionId(o){return this.parsePlaceholder("Identifier")||super.parseFunctionId(o)}parseClass(o,u,h){let f=u?"ClassDeclaration":"ClassExpression";this.next();let m=this.state.strict,y=this.parsePlaceholder("Identifier");if(y)if(this.match(81)||this.match(142)||this.match(5))o.id=y;else{if(h||!u)return o.id=null,o.body=this.finishPlaceholder(y,"ClassBody"),this.finishNode(o,f);throw this.raise(An.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(o,u,h);return super.parseClassSuper(o),o.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!o.superClass,m),this.finishNode(o,f)}parseExport(o,u){let h=this.parsePlaceholder("Identifier");if(!h)return super.parseExport(o,u);if(!this.isContextual(97)&&!this.match(12))return o.specifiers=[],o.source=null,o.declaration=this.finishPlaceholder(h,"Declaration"),this.finishNode(o,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let f=this.startNode();return f.exported=h,o.specifiers=[this.finishNode(f,"ExportDefaultSpecifier")],super.parseExport(o,u)}isExportDefaultSpecifier(){if(this.match(65)){let o=this.nextTokenStart();if(this.isUnparsedContextual(o,"from")&&this.input.startsWith(jr(142),this.nextTokenStartSince(o+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(o){return o.specifiers&&o.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(o)}checkExport(o){let{specifiers:u}=o;u!=null&&u.length&&(o.specifiers=u.filter(h=>h.exported.type==="Placeholder")),super.checkExport(o),o.specifiers=u}parseImport(o){let u=this.parsePlaceholder("Identifier");if(!u)return super.parseImport(o);if(o.specifiers=[],!this.isContextual(97)&&!this.match(12))return o.source=this.finishPlaceholder(u,"StringLiteral"),this.semicolon(),this.finishNode(o,"ImportDeclaration");let h=this.startNodeAtNode(u);return h.local=u,o.specifiers.push(this.finishNode(h,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(o)||this.parseNamedImportSpecifiers(o)),this.expectContextual(97),o.source=this.parseImportSource(),this.semicolon(),this.finishNode(o,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(An.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},to=c=>class extends c{parseV8Intrinsic(){if(this.match(54)){let o=this.state.startLoc,u=this.startNode();if(this.next(),at(this.state.type)){let h=this.parseIdentifierName(),f=this.createIdentifier(u,h);if(f.type="V8IntrinsicIdentifier",this.match(10))return f}this.unexpected(o)}}parseExprAtom(o){return this.parseV8Intrinsic()||super.parseExprAtom(o)}};function zi(c,o){let[u,h]=typeof o=="string"?[o,{}]:o,f=Object.keys(h),m=f.length===0;return c.some(y=>{if(typeof y=="string")return m&&y===u;{let[D,O]=y;if(D!==u)return!1;for(let x of f)if(O[x]!==h[x])return!1;return!0}})}function Xs(c,o,u){let h=c.find(f=>Array.isArray(f)?f[0]===o:f===o);return h&&Array.isArray(h)&&h.length>1?h[1][u]:null}var ia=["minimal","fsharp","hack","smart"],ao=["^^","@@","^","%","#"],Ms=["hash","bar"];function No(c){if(zi(c,"decorators")){if(zi(c,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let o=Xs(c,"decorators","decoratorsBeforeExport");if(o!=null&&typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let u=Xs(c,"decorators","allowCallParenthesized");if(u!=null&&typeof u!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(zi(c,"flow")&&zi(c,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(zi(c,"placeholders")&&zi(c,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(zi(c,"pipelineOperator")){let o=Xs(c,"pipelineOperator","proposal");if(!ia.includes(o)){let h=ia.map(f=>`"${f}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${h}.`)}let u=zi(c,["recordAndTuple",{syntaxType:"hash"}]);if(o==="hack"){if(zi(c,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(zi(c,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let h=Xs(c,"pipelineOperator","topicToken");if(!ao.includes(h)){let f=ao.map(m=>`"${m}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${f}.`)}if(h==="#"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(o==="smart"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(zi(c,"moduleAttributes")){if(zi(c,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Xs(c,"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(zi(c,"recordAndTuple")&&Xs(c,"recordAndTuple","syntaxType")!=null&&!Ms.includes(Xs(c,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Ms.map(o=>`'${o}'`).join(", "));if(zi(c,"asyncDoExpressions")&&!zi(c,"doExpressions")){let o=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw o.missingPlugins="doExpressions",o}}var Ps={estree:yi,jsx:Un,flow:un,typescript:hi,v8intrinsic:to,placeholders:fn},Vs=Object.keys(Ps),so=class extends Fs{checkProto(c,o,u,h){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;let f=c.key;if((f.type==="Identifier"?f.name:f.value)==="__proto__"){if(o){this.raise(Qe.RecordNoProto,{at:f});return}u.used&&(h?h.doubleProtoLoc===null&&(h.doubleProtoLoc=f.loc.start):this.raise(Qe.DuplicateProto,{at:f})),u.used=!0}}shouldExitDescending(c,o){return c.type==="ArrowFunctionExpression"&&c.start===o}getExpression(){this.enterInitialScopes(),this.nextToken();let c=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.state.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,o){return c?this.disallowInAnd(()=>this.parseExpressionBase(o)):this.allowInAnd(()=>this.parseExpressionBase(o))}parseExpressionBase(c){let o=this.state.startLoc,u=this.parseMaybeAssign(c);if(this.match(12)){let h=this.startNodeAt(o);for(h.expressions=[u];this.eat(12);)h.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(h.expressions),this.finishNode(h,"SequenceExpression")}return u}parseMaybeAssignDisallowIn(c,o){return this.disallowInAnd(()=>this.parseMaybeAssign(c,o))}parseMaybeAssignAllowIn(c,o){return this.allowInAnd(()=>this.parseMaybeAssign(c,o))}setOptionalParametersError(c,o){var u;c.optionalParametersLoc=(u=o==null?void 0:o.loc)!=null?u:this.state.startLoc}parseMaybeAssign(c,o){let u=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let y=this.parseYield();return o&&(y=o.call(this,y,u)),y}let h;c?h=!1:(c=new fe,h=!0);let{type:f}=this.state;(f===10||at(f))&&(this.state.potentialArrowAt=this.state.start);let m=this.parseMaybeConditional(c);if(o&&(m=o.call(this,m,u)),tn(this.state.type)){let y=this.startNodeAt(u),D=this.state.value;if(y.operator=D,this.match(29)){this.toAssignable(m,!0),y.left=m;let O=u.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=O&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=O&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=O&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else y.left=m;return this.next(),y.right=this.parseMaybeAssign(),this.checkLVal(m,{in:this.finishNode(y,"AssignmentExpression")}),y}else h&&this.checkExpressionErrors(c,!0);return m}parseMaybeConditional(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseExprOps(c);return this.shouldExitDescending(h,u)?h:this.parseConditional(h,o,c)}parseConditional(c,o,u){if(this.eat(17)){let h=this.startNodeAt(o);return h.test=c,h.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),h.alternate=this.parseMaybeAssign(),this.finishNode(h,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(h,u)?h:this.parseExprOp(h,o,-1)}parseExprOp(c,o,u){if(this.isPrivateName(c)){let f=this.getPrivateNameSV(c);(u>=Nn(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Qe.PrivateInExpectedIn,{at:c,identifierName:f}),this.classScope.usePrivateName(f,c.loc.start)}let h=this.state.type;if(ar(h)&&(this.prodParam.hasIn||!this.match(58))){let f=Nn(h);if(f>u){if(h===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,o)}let m=this.startNodeAt(o);m.left=c,m.operator=this.state.value;let y=h===41||h===42,D=h===40;if(D&&(f=Nn(42)),this.next(),h===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Qe.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});m.right=this.parseExprOpRightExpr(h,f);let O=this.finishNode(m,y||D?"LogicalExpression":"BinaryExpression"),x=this.state.type;if(D&&(x===41||x===42)||y&&x===40)throw this.raise(Qe.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(O,o,u)}}return c}parseExprOpRightExpr(c,o){let u=this.state.startLoc;switch(c){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(Qe.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,o),u)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(o))}default:return this.parseExprOpBaseRightExpr(c,o)}}parseExprOpBaseRightExpr(c,o){let u=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),u,ri(c)?o-1:o)}parseHackPipeBody(){var c;let{startLoc:o}=this.state,u=this.parseMaybeAssign();return Ns.has(u.type)&&!((c=u.extra)!=null&&c.parenthesized)&&this.raise(Qe.PipeUnparenthesizedBody,{at:o,type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipeTopicUnused,{at:o}),u}checkExponentialAfterUnary(c){this.match(57)&&this.raise(Qe.UnexpectedTokenUnaryExponentiation,{at:c.argument})}parseMaybeUnary(c,o){let u=this.state.startLoc,h=this.isContextual(96);if(h&&this.isAwaitAllowed()){this.next();let D=this.parseAwait(u);return o||this.checkExponentialAfterUnary(D),D}let f=this.match(34),m=this.startNode();if(fr(this.state.type)){m.operator=this.state.value,m.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let D=this.match(89);if(this.next(),m.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&D){let O=m.argument;O.type==="Identifier"?this.raise(Qe.StrictDelete,{at:m}):this.hasPropertyAsPrivateName(O)&&this.raise(Qe.DeletePrivateField,{at:m})}if(!f)return o||this.checkExponentialAfterUnary(m),this.finishNode(m,"UnaryExpression")}let y=this.parseUpdate(m,f,c);if(h){let{type:D}=this.state;if((this.hasPlugin("v8intrinsic")?Gt(D):Gt(D)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Qe.AwaitNotInAsyncContext,{at:u}),this.parseAwait(u)}return y}parseUpdate(c,o,u){if(o){let m=c;return this.checkLVal(m.argument,{in:this.finishNode(m,"UpdateExpression")}),c}let h=this.state.startLoc,f=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return f;for(;tr(this.state.type)&&!this.canInsertSemicolon();){let m=this.startNodeAt(h);m.operator=this.state.value,m.prefix=!1,m.argument=f,this.next(),this.checkLVal(f,{in:f=this.finishNode(m,"UpdateExpression")})}return f}parseExprSubscripts(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseExprAtom(c);return this.shouldExitDescending(h,u)?h:this.parseSubscripts(h,o)}parseSubscripts(c,o,u){let h={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,o,u,h),h.maybeAsyncArrow=!1;while(!h.stop);return c}parseSubscript(c,o,u,h){let{type:f}=this.state;if(!u&&f===15)return this.parseBind(c,o,u,h);if(ns(f))return this.parseTaggedTemplateExpression(c,o,h);let m=!1;if(f===18){if(u&&(this.raise(Qe.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return h.stop=!0,c;h.optionalChainMember=m=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,o,h,m);{let y=this.eat(0);return y||m||this.eat(16)?this.parseMember(c,o,h,y,m):(h.stop=!0,c)}}parseMember(c,o,u,h,f){let m=this.startNodeAt(o);return m.object=c,m.computed=h,h?(m.property=this.parseExpression(),this.expect(3)):this.match(136)?(c.type==="Super"&&this.raise(Qe.SuperPrivateField,{at:o}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),m.property=this.parsePrivateName()):m.property=this.parseIdentifier(!0),u.optionalChainMember?(m.optional=f,this.finishNode(m,"OptionalMemberExpression")):this.finishNode(m,"MemberExpression")}parseBind(c,o,u,h){let f=this.startNodeAt(o);return f.object=c,this.next(),f.callee=this.parseNoCallExpr(),h.stop=!0,this.parseSubscripts(this.finishNode(f,"BindExpression"),o,u)}parseCoverCallAndAsyncArrowHead(c,o,u,h){let f=this.state.maybeInArrowParameters,m=null;this.state.maybeInArrowParameters=!0,this.next();let y=this.startNodeAt(o);y.callee=c;let{maybeAsyncArrow:D,optionalChainMember:O}=u;D&&(this.expressionScope.enter(Sh()),m=new fe),O&&(y.optional=h),h?y.arguments=this.parseCallExpressionArguments(11):y.arguments=this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",y,m);let x=this.finishCallExpression(y,O);return D&&this.shouldParseAsyncArrow()&&!h?(u.stop=!0,this.checkDestructuringPrivate(m),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),x=this.parseAsyncArrowFromCallExpression(this.startNodeAt(o),x)):(D&&(this.checkExpressionErrors(m,!0),this.expressionScope.exit()),this.toReferencedArguments(x)),this.state.maybeInArrowParameters=f,x}toReferencedArguments(c,o){this.toReferencedListDeep(c.arguments,o)}parseTaggedTemplateExpression(c,o,u){let h=this.startNodeAt(o);return h.tag=c,h.quasi=this.parseTemplate(!0),u.optionalChainMember&&this.raise(Qe.OptionalChainingNoTemplate,{at:o}),this.finishNode(h,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&c.start===this.state.potentialArrowAt}finishCallExpression(c,o){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),c.arguments.length===0||c.arguments.length>2)this.raise(Qe.ImportCallArity,{at:c,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let u of c.arguments)u.type==="SpreadElement"&&this.raise(Qe.ImportCallSpreadArgument,{at:u});return this.finishNode(c,o?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,o,u,h,f){let m=[],y=!0,D=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(y)y=!1;else if(this.expect(12),this.match(c)){o&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Qe.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),h&&this.addTrailingCommaExtraToNode(h),this.next();break}m.push(this.parseExprListItem(!1,f,u))}return this.state.inFSharpPipelineDirectBody=D,m}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,o){var u;return this.resetPreviousNodeTrailingComments(o),this.expect(19),this.parseArrowExpression(c,o.arguments,!0,(u=o.extra)==null?void 0:u.trailingCommaLoc),o.innerComments&&Ku(c,o.innerComments),o.callee.trailingComments&&Ku(c,o.callee.trailingComments),c}parseNoCallExpr(){let c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let o,u=null,{type:h}=this.state;switch(h){case 79:return this.parseSuper();case 83:return o=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(o):(this.match(10)||this.raise(Qe.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(o,"Import"));case 78:return o=this.startNode(),this.next(),this.finishNode(o,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131: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:{let f=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(f)}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:u=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(u,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{o=this.startNode(),this.next(),o.object=null;let f=o.callee=this.parseNoCallExpr();if(f.type==="MemberExpression")return this.finishNode(o,"BindExpression");throw this.raise(Qe.UnsupportedBind,{at:f})}case 136:return this.raise(Qe.PrivateInExpectedIn,{at: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:{let f=this.getPluginOption("pipelineOperator","proposal");if(f)return this.parseTopicReference(f);this.unexpected();break}case 47:{let f=this.input.codePointAt(this.nextTokenStart());jo(f)||f===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(at(h)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let f=this.state.potentialArrowAt===this.state.start,m=this.state.containsEsc,y=this.parseIdentifier();if(!m&&y.name==="async"&&!this.canInsertSemicolon()){let{type:D}=this.state;if(D===68)return this.resetPreviousNodeTrailingComments(y),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(y));if(at(D))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(y)):y;if(D===90)return this.resetPreviousNodeTrailingComments(y),this.parseDo(this.startNodeAtNode(y),!0)}return f&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(y),[y],!1)):y}else this.unexpected()}}parseTopicReferenceThenEqualsSign(c,o){let u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.state.type=c,this.state.value=o,this.state.pos--,this.state.end--,this.state.endLoc=Ei(this.state.endLoc,-1),this.parseTopicReference(u);this.unexpected()}parseTopicReference(c){let o=this.startNode(),u=this.state.startLoc,h=this.state.type;return this.next(),this.finishTopicReference(o,u,c,h)}finishTopicReference(c,o,u,h){if(this.testTopicReferenceConfiguration(u,o,h)){let f=u==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(u==="smart"?Qe.PrimaryTopicNotAllowed:Qe.PipeTopicUnbound,{at:o}),this.registerTopicReference(),this.finishNode(c,f)}else throw this.raise(Qe.PipeTopicUnconfiguredToken,{at:o,token:jr(h)})}testTopicReferenceConfiguration(c,o,u){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:jr(u)}]);case"smart":return u===27;default:throw this.raise(Qe.PipeTopicRequiresHackPipes,{at:o})}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(de(!0,this.prodParam.hasYield));let o=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Qe.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(c,o,!0)}parseDo(c,o){this.expectPlugin("doExpressions"),o&&this.expectPlugin("asyncDoExpressions"),c.async=o,this.next();let u=this.state.labels;return this.state.labels=[],o?(this.prodParam.enter(G),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=u,this.finishNode(c,"DoExpression")}parseSuper(){let c=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Qe.SuperNotAllowed,{at:c}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Qe.UnexpectedSuper,{at:c}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Qe.UnsupportedSuper,{at:c}),this.finishNode(c,"Super")}parsePrivateName(){let c=this.startNode(),o=this.startNodeAt(Ei(this.state.startLoc,1)),u=this.state.value;return this.next(),c.id=this.createIdentifier(o,u),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){let c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,o,"sent")}return this.parseFunction(c)}parseMetaProperty(c,o,u){c.meta=o;let h=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==u||h)&&this.raise(Qe.UnsupportedMetaProperty,{at:c.property,target:o.name,onlyValidPropertyName:u}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){let o=this.createIdentifier(this.startNodeAtNode(c),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Qe.ImportMetaOutsideModule,{at:o}),this.sawUnambiguousESM=!0),this.parseMetaProperty(c,o,"meta")}parseLiteralAtNode(c,o,u){return this.addExtra(u,"rawValue",c),this.addExtra(u,"raw",this.input.slice(u.start,this.state.end)),u.value=c,this.next(),this.finishNode(u,o)}parseLiteral(c,o){let u=this.startNode();return this.parseLiteralAtNode(c,o,u)}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){let o=this.parseLiteral(c.value,"RegExpLiteral");return o.pattern=c.pattern,o.flags=c.flags,o}parseBooleanLiteral(c){let o=this.startNode();return o.value=c,this.next(),this.finishNode(o,"BooleanLiteral")}parseNullLiteral(){let c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){let o=this.state.startLoc,u;this.next(),this.expressionScope.enter(Ch());let h=this.state.maybeInArrowParameters,f=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let m=this.state.startLoc,y=[],D=new fe,O=!0,x,v;for(;!this.match(11);){if(O)O=!1;else if(this.expect(12,D.optionalParametersLoc===null?null:D.optionalParametersLoc),this.match(11)){v=this.state.startLoc;break}if(this.match(21)){let k=this.state.startLoc;if(x=this.state.startLoc,y.push(this.parseParenItem(this.parseRestBinding(),k)),!this.checkCommaAfterRest(41))break}else y.push(this.parseMaybeAssignAllowIn(D,this.parseParenItem))}let E=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=h,this.state.inFSharpPipelineDirectBody=f;let F=this.startNodeAt(o);return c&&this.shouldParseArrow(y)&&(F=this.parseArrow(F))?(this.checkDestructuringPrivate(D),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(F,y,!1),F):(this.expressionScope.exit(),y.length||this.unexpected(this.state.lastTokStartLoc),v&&this.unexpected(v),x&&this.unexpected(x),this.checkExpressionErrors(D,!0),this.toReferencedListDeep(y,!0),y.length>1?(u=this.startNodeAt(m),u.expressions=y,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,E)):u=y[0],this.wrapParenthesis(o,u))}wrapParenthesis(c,o){if(!this.options.createParenthesizedExpressions)return this.addExtra(o,"parenthesized",!0),this.addExtra(o,"parenStart",c.index),this.takeSurroundingComments(o,c.index,this.state.lastTokEndLoc.index),o;let u=this.startNodeAt(c);return u.expression=o,this.finishNode(u,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,o){return c}parseNewOrNewTarget(){let c=this.startNode();if(this.next(),this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();let u=this.parseMetaProperty(c,o,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Qe.UnexpectedNewTarget,{at:u}),u}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){let o=this.parseExprList(11);this.toReferencedList(o),c.arguments=o}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){c.callee=this.parseNoCallExpr(),c.callee.type==="Import"&&this.raise(Qe.ImportCallNotNewExpression,{at:c.callee})}parseTemplateElement(c){let{start:o,startLoc:u,end:h,value:f}=this.state,m=o+1,y=this.startNodeAt(Ei(u,1));f===null&&(c||this.raise(Qe.InvalidEscapeSequenceTemplate,{at:Ei(this.state.firstInvalidTemplateEscapePos,1)}));let D=this.match(24),O=D?-1:-2,x=h+O;y.value={raw:this.input.slice(m,x).replace(/\r\n?/g,`
`),cooked:f===null?null:f.slice(1,O)},y.tail=D,this.next();let v=this.finishNode(y,"TemplateElement");return this.resetEndLocation(v,Ei(this.state.lastTokEndLoc,O)),v}parseTemplate(c){let o=this.startNode();o.expressions=[];let u=this.parseTemplateElement(c);for(o.quasis=[u];!u.tail;)o.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),o.quasis.push(u=this.parseTemplateElement(c));return this.finishNode(o,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,o,u,h){u&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let m=Object.create(null),y=!0,D=this.startNode();for(D.properties=[],this.next();!this.match(c);){if(y)y=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(D);break}let x;o?x=this.parseBindingProperty():(x=this.parsePropertyDefinition(h),this.checkProto(x,u,m,h)),u&&!this.isObjectProperty(x)&&x.type!=="SpreadElement"&&this.raise(Qe.InvalidRecordProperty,{at:x}),x.shorthand&&this.addExtra(x,"shorthand",!0),D.properties.push(x)}this.next(),this.state.inFSharpPipelineDirectBody=f;let O="ObjectExpression";return o?O="ObjectPattern":u&&(O="RecordExpression"),this.finishNode(D,O)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStart),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 o=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());let u=this.startNode(),h=!1,f=!1,m;if(this.match(21))return o.length&&this.unexpected(),this.parseSpread();o.length&&(u.decorators=o,o=[]),u.method=!1,c&&(m=this.state.startLoc);let y=this.eat(55);this.parsePropertyNamePrefixOperator(u);let D=this.state.containsEsc,O=this.parsePropertyName(u,c);if(!y&&!D&&this.maybeAsyncOrAccessorProp(u)){let x=O.name;x==="async"&&!this.hasPrecedingLineBreak()&&(h=!0,this.resetPreviousNodeTrailingComments(O),y=this.eat(55),this.parsePropertyName(u)),(x==="get"||x==="set")&&(f=!0,this.resetPreviousNodeTrailingComments(O),u.kind=x,this.match(55)&&(y=!0,this.raise(Qe.AccessorIsGenerator,{at:this.state.curPosition(),kind:x}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,m,y,h,!1,f,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var o;let u=this.getGetterSetterExpectedParamCount(c),h=this.getObjectOrClassMethodParams(c);h.length!==u&&this.raise(c.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:c}),c.kind==="set"&&((o=h[h.length-1])==null?void 0:o.type)==="RestElement"&&this.raise(Qe.BadSetterRestParameter,{at:c})}parseObjectMethod(c,o,u,h,f){if(f){let m=this.parseMethod(c,o,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(m),m}if(u||o||this.match(10))return h&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,o,u,!1,!1,"ObjectMethod")}parseObjectProperty(c,o,u,h){if(c.shorthand=!1,this.eat(14))return c.value=u?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(h),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),u)c.value=this.parseMaybeDefault(o,V(c.key));else if(this.match(29)){let f=this.state.startLoc;h!=null?h.shorthandAssignLoc===null&&(h.shorthandAssignLoc=f):this.raise(Qe.InvalidCoverInitializedName,{at:f}),c.value=this.parseMaybeDefault(o,V(c.key))}else c.value=V(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,o,u,h,f,m,y){let D=this.parseObjectMethod(c,u,h,f,m)||this.parseObjectProperty(c,o,f,y);return D||this.unexpected(),D}parsePropertyName(c,o){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:u,value:h}=this.state,f;if(qe(u))f=this.parseIdentifier(!0);else switch(u){case 132:f=this.parseNumericLiteral(h);break;case 131:f=this.parseStringLiteral(h);break;case 133:f=this.parseBigIntLiteral(h);break;case 134:f=this.parseDecimalLiteral(h);break;case 136:{let m=this.state.startLoc;o!=null?o.privateKeyLoc===null&&(o.privateKeyLoc=m):this.raise(Qe.UnexpectedPrivateField,{at:m}),f=this.parsePrivateName();break}default:this.unexpected()}c.key=f,u!==136&&(c.computed=!1)}return c.key}initFunction(c,o){c.id=null,c.generator=!1,c.async=o}parseMethod(c,o,u,h,f,m){let y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(c,u),c.generator=o,this.scope.enter(va|cu|(y?Ma:0)|(f?Nl:0)),this.prodParam.enter(de(u,c.generator)),this.parseFunctionParams(c,h);let D=this.parseFunctionBodyAndFinish(c,m,!0);return this.prodParam.exit(),this.scope.exit(),D}parseArrayLike(c,o,u,h){u&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let m=this.startNode();return this.next(),m.elements=this.parseExprList(c,!u,h,m),this.state.inFSharpPipelineDirectBody=f,this.finishNode(m,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,o,u,h){this.scope.enter(va|Bl);let f=de(u,!1);!this.match(5)&&this.prodParam.hasIn&&(f|=pe),this.prodParam.enter(f),this.initFunction(c,u);let m=this.state.maybeInArrowParameters;return o&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,o,h)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=m,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,o,u){this.toAssignableList(o,u,!1),c.params=o}parseFunctionBodyAndFinish(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.parseFunctionBody(c,!1,u),this.finishNode(c,o)}parseFunctionBody(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=o&&!this.match(5);if(this.expressionScope.enter(w()),h)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,o,!1);else{let f=this.state.strict,m=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|oe),c.body=this.parseBlock(!0,!1,y=>{let D=!this.isSimpleParamList(c.params);y&&D&&this.raise(Qe.IllegalLanguageModeDirective,{at:(c.kind==="method"||c.kind==="constructor")&&c.key?c.key.loc.end:c});let O=!f&&this.state.strict;this.checkParams(c,!this.state.strict&&!o&&!u&&!D,o,O),this.state.strict&&c.id&&this.checkIdentifier(c.id,op,O)}),this.prodParam.exit(),this.state.labels=m}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let o=0,u=c.length;o<u;o++)if(!this.isSimpleParameter(c[o]))return!1;return!0}checkParams(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,f=!o&&new Set,m={type:"FormalParameters"};for(let y of c.params)this.checkLVal(y,{in:m,binding:Yu,checkClashes:f,strictModeChanged:h})}parseExprList(c,o,u,h){let f=[],m=!0;for(;!this.eat(c);){if(m)m=!1;else if(this.expect(12),this.match(c)){h&&this.addTrailingCommaExtraToNode(h),this.next();break}f.push(this.parseExprListItem(o,u))}return f}parseExprListItem(c,o,u){let h;if(this.match(12))c||this.raise(Qe.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),h=null;else if(this.match(21)){let f=this.state.startLoc;h=this.parseParenItem(this.parseSpread(o),f)}else if(this.match(17)){this.expectPlugin("partialApplication"),u||this.raise(Qe.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let f=this.startNode();this.next(),h=this.finishNode(f,"ArgumentPlaceholder")}else h=this.parseMaybeAssignAllowIn(o,this.parseParenItem);return h}parseIdentifier(c){let o=this.startNode(),u=this.parseIdentifierName(c);return this.createIdentifier(o,u)}createIdentifier(c,o){return c.name=o,c.loc.identifierName=o,this.finishNode(c,"Identifier")}parseIdentifierName(c){let o,{startLoc:u,type:h}=this.state;qe(h)?o=this.state.value:this.unexpected();let f=Pt(h);return c?f&&this.replaceToken(130):this.checkReservedWord(o,u,f,!1),this.next(),o}checkReservedWord(c,o,u,h){if(!(c.length>10||!ip(c))){if(u&&Xu(c)){this.raise(Qe.UnexpectedKeyword,{at:o,keyword:c});return}if((this.state.strict?h?as:Ya:ch)(c,this.inModule)){this.raise(Qe.UnexpectedReservedWord,{at:o,reservedWord:c});return}else if(c==="yield"){if(this.prodParam.hasYield){this.raise(Qe.YieldBindingIdentifier,{at:o});return}}else if(c==="await"){if(this.prodParam.hasAwait){this.raise(Qe.AwaitBindingIdentifier,{at:o});return}if(this.scope.inStaticBlock){this.raise(Qe.AwaitBindingIdentifierInStaticBlock,{at:o});return}this.expressionScope.recordAsyncArrowParametersError({at:o})}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Qe.ArgumentsInClass,{at:o});return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(c){let o=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(Qe.AwaitExpressionFormalParameter,{at:o}),this.eat(55)&&this.raise(Qe.ObsoleteAwaitStar,{at:o}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:c}=this.state;return c===53||c===10||c===0||ns(c)||c===101&&!this.state.containsEsc||c===135||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){let c=this.startNode();this.expressionScope.recordParameterInitializerError(Qe.YieldInParameter,{at:c}),this.next();let o=!1,u=null;if(!this.hasPrecedingLineBreak())switch(o=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!o)break;default:u=this.parseMaybeAssign()}return c.delegate=o,c.argument=u,this.finishNode(c,"YieldExpression")}checkPipelineAtInfixOperator(c,o){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(Qe.PipelineHeadSequenceExpression,{at:o})}parseSmartPipelineBodyInStyle(c,o){if(this.isSimpleReference(c)){let u=this.startNodeAt(o);return u.callee=c,this.finishNode(u,"PipelineBareFunction")}else{let u=this.startNodeAt(o);return this.checkSmartPipeTopicBodyEarlyErrors(o),u.expression=c,this.finishNode(u,"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(Qe.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipelineTopicUnused,{at:c})}withTopicBindingContext(c){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=o}}withSmartMixTopicForbiddingContext(c){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=o}}else return c()}withSoloAwaitPermittingContext(c){let o=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=o}}allowInAnd(c){let o=this.prodParam.currentFlags();if(pe&~o){this.prodParam.enter(o|pe);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){let o=this.prodParam.currentFlags();if(pe&o){this.prodParam.enter(o&~pe);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){let o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let u=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let h=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,c);return this.state.inFSharpPipelineDirectBody=u,h}parseModuleExpression(){this.expectPlugin("moduleBlocks");let c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let o=this.startNodeAt(this.state.endLoc);this.next();let u=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(o,8,"module")}finally{u()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}},Ac={kind:"loop"},bp={kind:"switch"},a0=/[\uD800-\uDFFF]/u,df=/in(?:stanceof)?/y;function u0(c,o){for(let u=0;u<c.length;u++){let h=c[u],{type:f}=h;if(typeof f=="number"){{if(f===136){let{loc:m,start:y,value:D,end:O}=h,x=y+1,v=Ei(m.start,1);c.splice(u,1,new na({type:Er(27),value:"#",start:y,end:x,startLoc:m.start,endLoc:v}),new na({type:Er(130),value:D,start:x,end:O,startLoc:v,endLoc:m.end})),u++;continue}if(ns(f)){let{loc:m,start:y,value:D,end:O}=h,x=y+1,v=Ei(m.start,1),E;o.charCodeAt(y)===96?E=new na({type:Er(22),value:"`",start:y,end:x,startLoc:m.start,endLoc:v}):E=new na({type:Er(8),value:"}",start:y,end:x,startLoc:m.start,endLoc:v});let F,k,N,T;f===24?(k=O-1,N=Ei(m.end,-1),F=D===null?null:D.slice(1,-1),T=new na({type:Er(22),value:"`",start:k,end:O,startLoc:N,endLoc:m.end})):(k=O-2,N=Ei(m.end,-2),F=D===null?null:D.slice(1,-2),T=new na({type:Er(23),value:"${",start:k,end:O,startLoc:N,endLoc:m.end})),c.splice(u,1,E,new na({type:Er(20),value:F,start:x,end:k,startLoc:v,endLoc:N}),T),u+=2;continue}}h.type=Er(f)}}return c}var l0=class extends so{parseTopLevel(c,o){return c.program=this.parseProgram(o),c.comments=this.state.comments,this.options.tokens&&(c.tokens=u0(this.tokens,this.input)),this.finishNode(c,"File")}parseProgram(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:137,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(c.sourceType=u,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,o),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[f,m]of Array.from(this.scope.undefinedExports))this.raise(Qe.ModuleExportUndefined,{at:m,localName:f});let h;return o===137?h=this.finishNode(c,"Program"):h=this.finishNodeAt(c,"Program",Ei(this.state.startLoc,-1)),h}stmtToDirective(c){let o=c;o.type="Directive",o.value=o.expression,delete o.expression;let u=o.value,h=u.value,f=this.input.slice(u.start,u.end),m=u.value=f.slice(1,-1);return this.addExtra(u,"raw",f),this.addExtra(u,"rawValue",m),this.addExtra(u,"expressionValue",h),u.type="DirectiveLiteral",o}parseInterpreterDirective(){if(!this.match(28))return null;let c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(c,o){if(jo(c)){if(df.lastIndex=o,df.test(this.input)){let u=this.codePointAtPos(df.lastIndex);if(!ba(u)&&u!==92)return!1}return!0}else return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){let c=this.nextTokenStart(),o=this.codePointAtPos(c);return this.chStartsBindingPattern(o)||this.chStartsBindingIdentifier(o,c)}hasFollowingBindingIdentifier(){let c=this.nextTokenStart(),o=this.codePointAtPos(c);return this.chStartsBindingIdentifier(o,c)}startsUsingForOf(){let c=this.lookahead();return c.type===101&&!c.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}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]:!1,o=0;return this.options.annexB&&!this.state.strict&&(o|=4,c&&(o|=8)),this.parseStatementLike(o)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let o=null;return this.match(26)&&(o=this.parseDecorators(!0)),this.parseStatementContent(c,o)}parseStatementContent(c,o){let u=this.state.type,h=this.startNode(),f=!!(c&2),m=!!(c&4),y=c&1;switch(u){case 60:return this.parseBreakContinueStatement(h,!0);case 63:return this.parseBreakContinueStatement(h,!1);case 64:return this.parseDebuggerStatement(h);case 90:return this.parseDoWhileStatement(h);case 91:return this.parseForStatement(h);case 68:if(this.lookaheadCharCode()===46)break;return m||this.raise(this.state.strict?Qe.StrictFunction:this.options.annexB?Qe.SloppyFunctionAnnexB:Qe.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(h,!1,!f&&m);case 80:return f||this.unexpected(),this.parseClass(this.maybeTakeDecorators(o,h),!0);case 69:return this.parseIfStatement(h);case 70:return this.parseReturnStatement(h);case 71:return this.parseSwitchStatement(h);case 72:return this.parseThrowStatement(h);case 73:return this.parseTryStatement(h);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Qe.UnexpectedUsingDeclaration,{at:this.state.startLoc}):f||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(h,"using");case 99:{if(this.state.containsEsc)break;let x=this.nextTokenStart(),v=this.codePointAtPos(x);if(v!==91&&(!f&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(v,x)&&v!==123))break}case 75:f||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let x=this.state.value;return this.parseVarStatement(h,x)}case 92:return this.parseWhileStatement(h);case 76:return this.parseWithStatement(h);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(h);case 83:{let x=this.lookaheadCharCode();if(x===40||x===46)break}case 82:{!this.options.allowImportExportEverywhere&&!y&&this.raise(Qe.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let x;return u===83?(x=this.parseImport(h),x.type==="ImportDeclaration"&&(!x.importKind||x.importKind==="value")&&(this.sawUnambiguousESM=!0)):(x=this.parseExport(h,o),(x.type==="ExportNamedDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportAllDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(x),x}default:if(this.isAsyncFunction())return f||this.raise(Qe.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(h,!0,!f&&m)}let D=this.state.value,O=this.parseExpression();return at(u)&&O.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(h,D,O,c):this.parseExpressionStatement(h,O,o)}assertModuleNodeAllowed(c){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Qe.ImportOutsideModule,{at:c})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,o,u){return c&&(o.decorators&&o.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Qe.DecoratorsBeforeAfterExport,{at:o.decorators[0]}),o.decorators.unshift(...c)):o.decorators=c,this.resetStartLocationFromNode(o,c[0]),u&&this.resetStartLocationFromNode(u,o)),o}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){let o=[];do o.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Qe.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Qe.UnexpectedLeadingDecorator,{at:this.state.startLoc});return o}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let c=this.startNode();if(this.next(),this.hasPlugin("decorators")){let o=this.state.startLoc,u;if(this.match(10)){let h=this.state.startLoc;this.next(),u=this.parseExpression(),this.expect(11),u=this.wrapParenthesis(h,u);let f=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(u),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==u&&this.raise(Qe.DecoratorArgumentsOutsideParentheses,{at:f})}else{for(u=this.parseIdentifier(!1);this.eat(16);){let h=this.startNodeAt(o);h.object=u,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),h.property=this.parsePrivateName()):h.property=this.parseIdentifier(!0),h.computed=!1,u=this.finishNode(h,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(u)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){let o=this.startNodeAtNode(c);return o.callee=c,o.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(o.arguments),this.finishNode(o,"CallExpression")}return c}parseBreakContinueStatement(c,o){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,o),this.finishNode(c,o?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,o){let u;for(u=0;u<this.state.labels.length;++u){let h=this.state.labels[u];if((c.label==null||h.name===c.label.name)&&(h.kind!=null&&(o||h.kind==="loop")||c.label&&o))break}if(u===this.state.labels.length){let h=o?"BreakStatement":"ContinueStatement";this.raise(Qe.IllegalBreakContinue,{at:c,type:h})}}parseDebuggerStatement(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let c=this.parseExpression();return this.expect(11),c}parseDoWhileStatement(c){return this.next(),this.state.labels.push(Ac),c.body=this.withSmartMixTopicForbiddingContext(()=>this.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(Ac);let o=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(o=this.state.lastTokStartLoc),this.scope.enter(Vu),this.expect(10),this.match(13))return o!==null&&this.unexpected(o),this.parseFor(c,null);let u=this.isContextual(99),h=this.isContextual(105)&&!this.hasFollowingLineBreak(),f=u&&this.hasFollowingBindingAtom()||h&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||f){let x=this.startNode(),v=this.state.value;this.next(),this.parseVar(x,!0,v);let E=this.finishNode(x,"VariableDeclaration"),F=this.match(58);return F&&h&&this.raise(Qe.ForInUsing,{at:E}),(F||this.isContextual(101))&&E.declarations.length===1?this.parseForIn(c,E,o):(o!==null&&this.unexpected(o),this.parseFor(c,E))}let m=this.isContextual(95),y=new fe,D=this.parseExpression(!0,y),O=this.isContextual(101);if(O&&(u&&this.raise(Qe.ForOfLet,{at:D}),o===null&&m&&D.type==="Identifier"&&this.raise(Qe.ForOfAsync,{at:D})),O||this.match(58)){this.checkDestructuringPrivate(y),this.toAssignable(D,!0);let x=O?"ForOfStatement":"ForInStatement";return this.checkLVal(D,{in:{type:x}}),this.parseForIn(c,D,o)}else this.checkExpressionErrors(y,!0);return o!==null&&this.unexpected(o),this.parseFor(c,D)}parseFunctionStatement(c,o,u){return this.next(),this.parseFunction(c,1|(u?2:0)|(o?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(Qe.IllegalReturn,{at: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();let o=c.cases=[];this.expect(5),this.state.labels.push(bp),this.scope.enter(Vu);let u;for(let h;!this.match(8);)if(this.match(61)||this.match(65)){let f=this.match(61);u&&this.finishNode(u,"SwitchCase"),o.push(u=this.startNode()),u.consequent=[],this.next(),f?u.test=this.parseExpression():(h&&this.raise(Qe.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),h=!0,u.test=null),this.expect(14)}else u?u.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Qe.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){let c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?qu:0),this.checkLVal(c,{in:{type:"CatchClause"},binding:Oc}),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){let o=this.startNode();this.next(),this.match(10)?(this.expect(10),o.param=this.parseCatchClauseParam(),this.expect(11)):(o.param=null,this.scope.enter(Vu)),o.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),c.handler=this.finishNode(o,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,!c.handler&&!c.finalizer&&this.raise(Qe.NoCatchOrFinally,{at:c}),this.finishNode(c,"TryStatement")}parseVarStatement(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(c,!1,o,u),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(Ac),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(Qe.StrictWith,{at: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,o,u,h){for(let m of this.state.labels)m.name===o&&this.raise(Qe.LabelRedeclaration,{at:u,labelName:o});let f=wt(this.state.type)?"loop":this.match(71)?"switch":null;for(let m=this.state.labels.length-1;m>=0;m--){let y=this.state.labels[m];if(y.statementStart===c.start)y.statementStart=this.state.start,y.kind=f;else break}return this.state.labels.push({name:o,kind:f,statementStart:this.state.start}),c.body=h&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=u,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,o,u){return c.expression=o,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,u=arguments.length>2?arguments[2]:void 0,h=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),o&&this.scope.enter(Vu),this.parseBlockBody(h,c,!1,8,u),o&&this.scope.exit(),this.finishNode(h,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,o,u,h,f){let m=c.body=[],y=c.directives=[];this.parseBlockOrModuleBlockBody(m,o?y:void 0,u,h,f)}parseBlockOrModuleBlockBody(c,o,u,h,f){let m=this.state.strict,y=!1,D=!1;for(;!this.match(h);){let O=u?this.parseModuleItem():this.parseStatementListItem();if(o&&!D){if(this.isValidDirective(O)){let x=this.stmtToDirective(O);o.push(x),!y&&x.value.value==="use strict"&&(y=!0,this.setStrict(!0));continue}D=!0,this.state.strictErrors.clear()}c.push(O)}f&&f.call(this,y),m||this.setStrict(!1),this.next()}parseFor(c,o){return c.init=o,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,o,u){let h=this.match(58);return this.next(),h?u!==null&&this.unexpected(u):c.await=u!==null,o.type==="VariableDeclaration"&&o.declarations[0].init!=null&&(!h||!this.options.annexB||this.state.strict||o.kind!=="var"||o.declarations[0].id.type!=="Identifier")&&this.raise(Qe.ForInOfLoopInitializer,{at:o,type:h?"ForInStatement":"ForOfStatement"}),o.type==="AssignmentPattern"&&this.raise(Qe.InvalidLhs,{at:o,ancestor:{type:"ForStatement"}}),c.left=o,c.right=h?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,h?"ForInStatement":"ForOfStatement")}parseVar(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,f=c.declarations=[];for(c.kind=u;;){let m=this.startNode();if(this.parseVarId(m,u),m.init=this.eat(29)?o?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,m.init===null&&!h&&(m.id.type!=="Identifier"&&!(o&&(this.match(58)||this.isContextual(101)))?this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):u==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),f.push(this.finishNode(m,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,o){o==="using"&&!this.inModule&&this.match(96)&&this.raise(Qe.AwaitInUsingBinding,{at:this.state.startLoc});let u=this.parseBindingAtom();this.checkLVal(u,{in:{type:"VariableDeclarator"},binding:o==="var"?Yu:Ra}),c.id=u}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=o&2,h=!!(o&1),f=h&&!(o&4),m=!!(o&8);this.initFunction(c,m),this.match(55)&&(u&&this.raise(Qe.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),c.generator=!0),h&&(c.id=this.parseFunctionId(f));let y=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(va),this.prodParam.enter(de(m,c.generator)),h||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(c,h?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),h&&!u&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=y,c}parseFunctionId(c){return c||at(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,o){this.expect(10),this.expressionScope.enter(vh()),c.params=this.parseBindingList(11,41,2|(o?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?Yu:Ra:xc,c.id.loc.start)}parseClass(c,o,u){this.next();let h=this.state.strict;return this.state.strict=!0,this.parseClassId(c,o,u),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,h),this.finishNode(c,o?"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,o){this.classScope.enter();let u={hadConstructor:!1,hadSuperClass:c},h=[],f=this.startNode();if(f.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(h.length>0)throw this.raise(Qe.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){h.push(this.parseDecorator());continue}let m=this.startNode();h.length&&(m.decorators=h,this.resetStartLocationFromNode(m,h[0]),h=[]),this.parseClassMember(f,m,u),m.kind==="constructor"&&m.decorators&&m.decorators.length>0&&this.raise(Qe.DecoratorConstructor,{at:m})}}),this.state.strict=o,this.next(),h.length)throw this.raise(Qe.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(f,"ClassBody")}parseClassMemberFromModifier(c,o){let u=this.parseIdentifier(!0);if(this.isClassMethod()){let h=o;return h.kind="method",h.computed=!1,h.key=u,h.static=!1,this.pushClassMethod(c,h,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let h=o;return h.computed=!1,h.key=u,h.static=!1,c.body.push(this.parseClassProperty(h)),!0}return this.resetPreviousNodeTrailingComments(u),!1}parseClassMember(c,o,u){let h=this.isContextual(104);if(h){if(this.parseClassMemberFromModifier(c,o))return;if(this.eat(5)){this.parseClassStaticBlock(c,o);return}}this.parseClassMemberWithIsStatic(c,o,u,h)}parseClassMemberWithIsStatic(c,o,u,h){let f=o,m=o,y=o,D=o,O=o,x=f,v=f;if(o.static=h,this.parsePropertyNamePrefixOperator(o),this.eat(55)){x.kind="method";let T=this.match(136);if(this.parseClassElementName(x),T){this.pushClassPrivateMethod(c,m,!0,!1);return}this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsGenerator,{at:f.key}),this.pushClassMethod(c,f,!0,!1,!1,!1);return}let E=at(this.state.type)&&!this.state.containsEsc,F=this.match(136),k=this.parseClassElementName(o),N=this.state.startLoc;if(this.parsePostMemberNameModifiers(v),this.isClassMethod()){if(x.kind="method",F){this.pushClassPrivateMethod(c,m,!1,!1);return}let T=this.isNonstaticConstructor(f),_=!1;T&&(f.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Qe.DuplicateConstructor,{at:k}),T&&this.hasPlugin("typescript")&&o.override&&this.raise(Qe.OverrideOnConstructor,{at:k}),u.hadConstructor=!0,_=u.hadSuperClass),this.pushClassMethod(c,f,!1,!1,T,_)}else if(this.isClassProperty())F?this.pushClassPrivateProperty(c,D):this.pushClassProperty(c,y);else if(E&&k.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(k);let T=this.eat(55);v.optional&&this.unexpected(N),x.kind="method";let _=this.match(136);this.parseClassElementName(x),this.parsePostMemberNameModifiers(v),_?this.pushClassPrivateMethod(c,m,T,!0):(this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsAsync,{at:f.key}),this.pushClassMethod(c,f,T,!0,!1,!1))}else if(E&&(k.name==="get"||k.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(k),x.kind=k.name;let T=this.match(136);this.parseClassElementName(f),T?this.pushClassPrivateMethod(c,m,!1,!1):(this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsAccessor,{at:f.key}),this.pushClassMethod(c,f,!1,!1,!1,!1)),this.checkGetterSetterParams(f)}else if(E&&k.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(k);let T=this.match(136);this.parseClassElementName(y),this.pushClassAccessorProperty(c,O,T)}else this.isLineTerminator()?F?this.pushClassPrivateProperty(c,D):this.pushClassProperty(c,y):this.unexpected()}parseClassElementName(c){let{type:o,value:u}=this.state;if((o===130||o===131)&&c.static&&u==="prototype"&&this.raise(Qe.StaticPrototype,{at:this.state.startLoc}),o===136){u==="constructor"&&this.raise(Qe.ConstructorClassPrivateField,{at:this.state.startLoc});let h=this.parsePrivateName();return c.key=h,h}return this.parsePropertyName(c)}parseClassStaticBlock(c,o){var u;this.scope.enter(Ma|zu|cu);let h=this.state.labels;this.state.labels=[],this.prodParam.enter(ee);let f=o.body=[];this.parseBlockOrModuleBlockBody(f,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=h,c.body.push(this.finishNode(o,"StaticBlock")),(u=o.decorators)!=null&&u.length&&this.raise(Qe.DecoratorStaticBlock,{at:o})}pushClassProperty(c,o){!o.computed&&(o.key.name==="constructor"||o.key.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:o.key}),c.body.push(this.parseClassProperty(o))}pushClassPrivateProperty(c,o){let u=this.parseClassPrivateProperty(o);c.body.push(u),this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),Ju,u.key.loc.start)}pushClassAccessorProperty(c,o,u){if(!u&&!o.computed){let f=o.key;(f.name==="constructor"||f.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:f})}let h=this.parseClassAccessorProperty(o);c.body.push(h),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(h.key),Ju,h.key.loc.start)}pushClassMethod(c,o,u,h,f,m){c.body.push(this.parseMethod(o,u,h,f,m,"ClassMethod",!0))}pushClassPrivateMethod(c,o,u,h){let f=this.parseMethod(o,u,h,!1,!1,"ClassPrivateMethod",!0);c.body.push(f);let m=f.kind==="get"?f.static?vc:Cc:f.kind==="set"?f.static?Hu:Ul:Ju;this.declareClassPrivateMethodInScope(f,m)}declareClassPrivateMethodInScope(c,o){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),o,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(Ma|cu),this.expressionScope.enter(w()),this.prodParam.enter(ee),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:sp;if(at(this.state.type))c.id=this.parseIdentifier(),o&&this.declareNameFromIdentifier(c.id,h);else if(u||!o)c.id=null;else throw this.raise(Qe.MissingClassName,{at:this.state.startLoc})}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,o){let u=this.maybeParseExportDefaultSpecifier(c),h=!u||this.eat(12),f=h&&this.eatExportStar(c),m=f&&this.maybeParseExportNamespaceSpecifier(c),y=h&&(!m||this.eat(12)),D=u||f;if(f&&!m){if(u&&this.unexpected(),o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}let O=this.maybeParseExportNamedSpecifiers(c);u&&h&&!f&&!O&&this.unexpected(null,5),m&&y&&this.unexpected(null,97);let x;if(D||O){if(x=!1,o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});this.parseExportFrom(c,D)}else x=this.maybeParseExportDeclaration(c);if(D||O||x){var v;let E=c;if(this.checkExport(E,!0,!1,!!E.source),((v=E.declaration)==null?void 0:v.type)==="ClassDeclaration")this.maybeTakeDecorators(o,E.declaration,E);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.finishNode(E,"ExportNamedDeclaration")}if(this.eat(65)){let E=c,F=this.parseExportDefaultExpression();if(E.declaration=F,F.type==="ClassDeclaration")this.maybeTakeDecorators(o,F,E);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.checkExport(E,!0,!0),this.finishNode(E,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let o=this.startNode();return o.exported=this.parseIdentifier(!0),c.specifiers=[this.finishNode(o,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);let o=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),o.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(o,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);let o=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(o)),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):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let c=this.nextTokenStart();return!dh.test(this.input.slice(this.state.pos,c))&&this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){let 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(Qe.DecoratorBeforeExport,{at: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(Qe.UnsupportedDefaultExport,{at:this.state.startLoc});let o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:c}=this.state;if(at(c)){if(c===95&&!this.state.containsEsc||c===99)return!1;if((c===128||c===127)&&!this.state.containsEsc){let{type:h}=this.lookahead();if(at(h)&&h!==97||h===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let o=this.nextTokenStart(),u=this.isUnparsedContextual(o,"from");if(this.input.charCodeAt(o)===44||at(this.state.type)&&u)return!0;if(this.match(65)&&u){let h=this.input.charCodeAt(this.nextTokenStartSince(o+4));return h===34||h===39}return!1}parseExportFrom(c,o){if(this.eatContextual(97)){c.source=this.parseImportSource(),this.checkExport(c);let u=this.maybeParseImportAssertions();u&&(c.assertions=u,this.checkJSONModuleImport(c))}else o&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Qe.DecoratorBeforeExport,{at:this.state.startLoc}),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,o,u,h){if(o){if(u){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var f;let m=c.declaration;m.type==="Identifier"&&m.name==="from"&&m.end-m.start===4&&!((f=m.extra)!=null&&f.parenthesized)&&this.raise(Qe.ExportDefaultFromAsIdentifier,{at:m})}}else if(c.specifiers&&c.specifiers.length)for(let m of c.specifiers){let{exported:y}=m,D=y.type==="Identifier"?y.name:y.value;if(this.checkDuplicateExports(m,D),!h&&m.local){let{local:O}=m;O.type!=="Identifier"?this.raise(Qe.ExportBindingIsString,{at:m,localName:O.value,exportName:D}):(this.checkReservedWord(O.name,O.loc.start,!0,!1),this.scope.checkLocalExport(O))}}else if(c.declaration){if(c.declaration.type==="FunctionDeclaration"||c.declaration.type==="ClassDeclaration"){let m=c.declaration.id;if(!m)throw new Error("Assertion failure");this.checkDuplicateExports(c,m.name)}else if(c.declaration.type==="VariableDeclaration")for(let m of c.declaration.declarations)this.checkDeclaration(m.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(let o of c.properties)this.checkDeclaration(o);else if(c.type==="ArrayPattern")for(let o of c.elements)o&&this.checkDeclaration(o);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,o){this.exportedIdentifiers.has(o)&&(o==="default"?this.raise(Qe.DuplicateDefaultExport,{at:c}):this.raise(Qe.DuplicateExport,{at:c,exportName:o})),this.exportedIdentifiers.add(o)}parseExportSpecifiers(c){let o=[],u=!0;for(this.expect(5);!this.eat(8);){if(u)u=!1;else if(this.expect(12),this.eat(8))break;let h=this.isContextual(128),f=this.match(131),m=this.startNode();m.local=this.parseModuleExportName(),o.push(this.parseExportSpecifier(m,f,c,h))}return o}parseExportSpecifier(c,o,u,h){return this.eatContextual(93)?c.exported=this.parseModuleExportName():o?c.exported=we(c.local):c.exported||(c.exported=V(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let c=this.parseStringLiteral(this.state.value),o=c.value.match(a0);return o&&this.raise(Qe.ModuleExportNameHasLoneSurrogate,{at:c,surrogateCharCode:o[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null?c.assertions.some(o=>{let{key:u,value:h}=o;return h.value==="json"&&(u.type==="Identifier"?u.name==="type":u.value==="type")}):!1}checkImportReflection(c){if(c.module){var o;(c.specifiers.length!==1||c.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(Qe.ImportReflectionNotBinding,{at:c.specifiers[0].loc.start}),((o=c.assertions)==null?void 0:o.length)>0&&this.raise(Qe.ImportReflectionHasAssertion,{at:c.specifiers[0].loc.start})}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){let{specifiers:o}=c;if(o!=null){let u=o.find(h=>{let f;if(h.type==="ExportSpecifier"?f=h.local:h.type==="ImportSpecifier"&&(f=h.imported),f!==void 0)return f.type==="Identifier"?f.name!=="default":f.value!=="default"});u!==void 0&&this.raise(Qe.ImportJSONBindingNotDefault,{at:u.loc.start})}}}parseMaybeImportReflection(c){let o=!1;if(this.isContextual(125)){let u=this.lookahead(),h=u.type;at(h)?(h!==97||this.input.charCodeAt(this.nextTokenStartSince(u.end))===102)&&(o=!0):h!==12&&(o=!0)}o?(this.expectPlugin("importReflection"),this.next(),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1)}parseImport(c){if(c.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(c);let u=!this.maybeParseDefaultImportSpecifier(c)||this.eat(12),h=u&&this.maybeParseStarImportSpecifier(c);u&&!h&&this.parseNamedImportSpecifiers(c),this.expectContextual(97)}c.source=this.parseImportSource();let o=this.maybeParseImportAssertions();if(o)c.assertions=o;else{let u=this.maybeParseModuleAttributes();u&&(c.attributes=u)}return this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(c){return at(this.state.type)}parseImportSpecifierLocal(c,o,u){o.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(o,u))}finishImportSpecifier(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ra;return this.checkLVal(c.local,{in:{type:o},binding:u}),this.finishNode(c,o)}parseAssertEntries(){let c=[],o=new Set;do{if(this.match(8))break;let u=this.startNode(),h=this.state.value;if(o.has(h)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:h}),o.add(h),this.match(131)?u.key=this.parseStringLiteral(h):u.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(12));return c}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let c=[],o=new Set;do{let u=this.startNode();if(u.key=this.parseIdentifier(!0),u.key.name!=="type"&&this.raise(Qe.ModuleAttributeDifferentFromType,{at:u.key}),o.has(u.key.name)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:u.key,key:u.key.name}),o.add(u.key.name),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),this.finishNode(u,"ImportAttribute"),c.push(u)}while(this.eat(12));return c}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let c=this.parseAssertEntries();return this.eat(8),c}maybeParseDefaultImportSpecifier(c){return this.shouldParseDefaultImport(c)?(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(c){if(this.match(55)){let o=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,o,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else{if(this.eat(14))throw this.raise(Qe.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let u=this.startNode(),h=this.match(131),f=this.isContextual(128);u.imported=this.parseModuleExportName();let m=this.parseImportSpecifier(u,h,c.importKind==="type"||c.importKind==="typeof",f,void 0);c.specifiers.push(m)}}parseImportSpecifier(c,o,u,h,f){if(this.eatContextual(93))c.local=this.parseIdentifier();else{let{imported:m}=c;if(o)throw this.raise(Qe.ImportBindingIsString,{at:c,importName:m.value});this.checkReservedWord(m.name,c.loc.start,!0,!0),c.local||(c.local=V(m))}return this.finishImportSpecifier(c,"ImportSpecifier",f)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}},Bd=class extends l0{constructor(c,o){c=Vr(c),super(c,o),this.options=c,this.initializeScopes(),this.plugins=c0(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return mu}parse(){this.enterInitialScopes();let c=this.startNode(),o=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,o),c.errors=this.state.errors,c}};function c0(c){let o=new Map;for(let u of c){let[h,f]=Array.isArray(u)?u:[u,{}];o.has(h)||o.set(h,f||{})}return o}function h0(c,o){var u;if(((u=o)==null?void 0:u.sourceType)==="unambiguous"){o=Object.assign({},o);try{o.sourceType="module";let h=Eh(o,c),f=h.parse();if(h.sawUnambiguousESM)return f;if(h.ambiguousScriptDifferentAst)try{return o.sourceType="script",Eh(o,c).parse()}catch{}else f.program.sourceType="script";return f}catch(h){try{return o.sourceType="script",Eh(o,c).parse()}catch{}throw h}}else return Eh(o,c).parse()}function p0(c,o){let u=Eh(o,c);return u.options.strictMode&&(u.state.strict=!0),u.getExpression()}function Tc(c){let o={};for(let u of Object.keys(c))o[u]=Er(c[u]);return o}var f0=Tc(ot);function Eh(c,o){let u=Bd;return c!=null&&c.plugins&&(No(c.plugins),u=d0(c.plugins)),new u(c,o)}var Nd={};function d0(c){let o=Vs.filter(f=>zi(c,f)),u=o.join("/"),h=Nd[u];if(!h){h=Bd;for(let f of o)h=Ps[f](h);Nd[u]=h}return h}bn.parse=h0,bn.parseExpression=p0,bn.tokTypes=f0}}),Fl=Ie({"src/language-js/parse/json.js"(bn,Ur){ae();var Vr=Al(),Ar=su(),mr=Tl(),Nr=$a();function rr(){let Fn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Ti=!0}=Fn;return function(Qr){let{parseExpression:$i}=Bu(),ks;try{ks=$i(Qr,{tokens:!0,ranges:!0})}catch(Xn){throw Nr(Xn)}if(!Ti&&Vr(ks.comments))throw vn(ks.comments[0],"Comment");return li(ks),ks}}function vn(Fn,Ti){let[Qr,$i]=[Fn.loc.start,Fn.loc.end].map(ks=>{let{line:Xn,column:ki}=ks;return{line:Xn,column:ki+1}});return Ar(`${Ti} is not allowed in JSON.`,{start:Qr,end:$i})}function li(Fn){switch(Fn.type){case"ArrayExpression":for(let Ti of Fn.elements)Ti!==null&&li(Ti);return;case"ObjectExpression":for(let Ti of Fn.properties)li(Ti);return;case"ObjectProperty":if(Fn.computed)throw vn(Fn.key,"Computed key");if(Fn.shorthand)throw vn(Fn.key,"Shorthand property");Fn.key.type!=="Identifier"&&li(Fn.key),li(Fn.value);return;case"UnaryExpression":{let{operator:Ti,argument:Qr}=Fn;if(Ti!=="+"&&Ti!=="-")throw vn(Fn,`Operator '${Fn.operator}'`);if(Qr.type==="NumericLiteral"||Qr.type==="Identifier"&&(Qr.name==="Infinity"||Qr.name==="NaN"))return;throw vn(Qr,`Operator '${Ti}' before '${Qr.type}'`)}case"Identifier":if(Fn.name!=="Infinity"&&Fn.name!=="NaN"&&Fn.name!=="undefined")throw vn(Fn,`Identifier '${Fn.name}'`);return;case"TemplateLiteral":if(Vr(Fn.expressions))throw vn(Fn.expressions[0],"'TemplateLiteral' with expression");for(let Ti of Fn.quasis)li(Ti);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw vn(Fn,`'${Fn.type}'`)}}var vi=rr(),gi={json:mr({parse:vi,hasPragma(){return!0}}),json5:mr(vi),"json-stringify":mr({parse:rr({allowComments:!1}),astFormat:"estree-json"})};Ur.exports=gi}});ae();var uh=Ee(),pc=xe(),fc=Ct(),Oa=Tl(),Nu=$a(),xa=kl(),dc=Fl(),mc={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},lh=["recordAndTuple",{syntaxType:"hash"}],Iu="v8intrinsic",Mu=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],mo=function(bn){let Ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mc;return Object.assign(Object.assign({},Ur),{},{plugins:[...Ur.plugins,...bn]})},Ko=/@(?:no)?flow\b/;function ea(bn,Ur){if(Ur.filepath&&Ur.filepath.endsWith(".js.flow"))return!0;let Vr=pc(bn);Vr&&(bn=bn.slice(Vr.length));let Ar=fc(bn,0);return Ar!==!1&&(bn=bn.slice(0,Ar)),Ko.test(bn)}function Qo(bn,Ur,Vr){let Ar=Bu()[bn],mr=Ar(Ur,Vr),Nr=mr.errors.find(rr=>!Qu.has(rr.reasonCode));if(Nr)throw Nr;return mr}function Fo(bn){for(var Ur=arguments.length,Vr=new Array(Ur>1?Ur-1:0),Ar=1;Ar<Ur;Ar++)Vr[Ar-1]=arguments[Ar];return function(mr,Nr){let rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((rr.parser==="babel"||rr.parser==="__babel_estree")&&ea(mr,rr))return rr.parser="babel-flow",Ba(mr,Nr,rr);let vn=Vr;rr.__babelSourceType==="script"&&(vn=vn.map(Fn=>Object.assign(Object.assign({},Fn),{},{sourceType:"script"}))),/#[[{]/.test(mr)&&(vn=vn.map(Fn=>mo([lh],Fn)));let li=/%[A-Z]/.test(mr);mr.includes("|>")?vn=(li?[...Mu,Iu]:Mu).flatMap(Fn=>vn.map(Ti=>mo([Fn],Ti))):li&&(vn=vn.map(Fn=>mo([Iu],Fn)));let{result:vi,error:gi}=uh(...vn.map(Fn=>()=>Qo(bn,mr,Fn)));if(!vi)throw Nu(gi);return rr.originalText=mr,xa(vi,rr)}}var fi=Fo("parse",mo(["jsx","flow"])),Ba=Fo("parse",mo(["jsx",["flow",{all:!0,enums:!0}]])),_l=Fo("parse",mo(["jsx","typescript"]),mo(["typescript"])),ou=Fo("parse",mo(["jsx","flow","estree"])),Ru=Fo("parseExpression",mo(["jsx"])),Na=Fo("parseExpression",mo(["typescript"])),Qu=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),ju=Oa(fi),au=Oa(_l),Lu=Oa(Ru),$l=Oa(Na);xt.exports={parsers:Object.assign(Object.assign({babel:ju,"babel-flow":Oa(Ba),"babel-ts":au},dc),{},{__js_expression:Lu,__vue_expression:Lu,__vue_ts_expression:$l,__vue_event_binding:ju,__vue_ts_event_binding:au,__babel_estree:Oa(ou)})}});return mi()})})(Pw);var c6=Pw.exports;const h6=Qg(c6);function p6(r,e,t){const n={css:a6,html:l6,babel:h6};return fs(()=>{if(!Do(e))return Do(r)||"/* empty */";try{return s6.format(Do(r)||"",{parser:t,plugins:[n[t]],singleQuote:!0,semi:!1})}catch(i){return console.error(i),`/* Error on prettifying: ${i.message} */
${Do(r)||""}`}})}function f6(r,e=!0){return p6(r,e,"css")}const d6=bo({__name:"Copy",setup(r){const{copy:e,copied:t}=G3();return(n,i)=>tc(n.$slots,"default",{copy:wi(e),copied:wi(t)})}}),m6=["top","right","bottom","left"],uv=["start","end"],lv=m6.reduce((r,e)=>r.concat(e,e+"-"+uv[0],e+"-"+uv[1]),[]),fd=Math.min,kh=Math.max,g6={left:"right",right:"left",bottom:"top",top:"bottom"},y6={start:"end",end:"start"};function OD(r,e,t){return kh(r,fd(e,t))}function ep(r,e){return typeof r=="function"?r(e):r}function Cl(r){return r.split("-")[0]}function Au(r){return r.split("-")[1]}function kw(r){return r==="x"?"y":"x"}function RO(r){return r==="y"?"height":"width"}function $d(r){return["top","bottom"].includes(Cl(r))?"y":"x"}function QO(r){return kw($d(r))}function Fw(r,e,t){t===void 0&&(t=!1);const n=Au(r),i=QO(r),s=RO(i);let a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=bg(a)),[a,bg(a)]}function D6(r){const e=bg(r);return[xg(r),e,xg(e)]}function xg(r){return r.replace(/start|end/g,e=>y6[e])}function O6(r,e,t){const n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return t?e?i:n:e?n:i;case"left":case"right":return e?s:a;default:return[]}}function x6(r,e,t,n){const i=Au(r);let s=O6(Cl(r),t==="start",n);return i&&(s=s.map(a=>a+"-"+i),e&&(s=s.concat(s.map(xg)))),s}function bg(r){return r.replace(/left|right|bottom|top/g,e=>g6[e])}function b6(r){return{top:0,right:0,bottom:0,left:0,...r}}function _w(r){return typeof r!="number"?b6(r):{top:r,right:r,bottom:r,left:r}}function Qf(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function cv(r,e,t){let{reference:n,floating:i}=r;const s=$d(e),a=QO(e),l=RO(a),p=Cl(e),d=s==="y",g=n.x+n.width/2-i.width/2,b=n.y+n.height/2-i.height/2,S=n[l]/2-i[l]/2;let I;switch(p){case"top":I={x:g,y:n.y-i.height};break;case"bottom":I={x:g,y:n.y+n.height};break;case"right":I={x:n.x+n.width,y:b};break;case"left":I={x:n.x-i.width,y:b};break;default:I={x:n.x,y:n.y}}switch(Au(e)){case"start":I[a]-=S*(t&&d?-1:1);break;case"end":I[a]+=S*(t&&d?-1:1);break}return I}const v6=async(r,e,t)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=t,l=s.filter(Boolean),p=await(a.isRTL==null?void 0:a.isRTL(e));let d=await a.getElementRects({reference:r,floating:e,strategy:i}),{x:g,y:b}=cv(d,n,p),S=n,I={},H=0;for(let be=0;be<l.length;be++){const{name:ke,fn:ge}=l[be],{x:Ue,y:Dt,data:pt,reset:vt}=await ge({x:g,y:b,initialPlacement:n,placement:S,strategy:i,middlewareData:I,rects:d,platform:a,elements:{reference:r,floating:e}});if(g=Ue??g,b=Dt??b,I={...I,[ke]:{...I[ke],...pt}},vt&&H<=50){H++,typeof vt=="object"&&(vt.placement&&(S=vt.placement),vt.rects&&(d=vt.rects===!0?await a.getElementRects({reference:r,floating:e,strategy:i}):vt.rects),{x:g,y:b}=cv(d,S,p)),be=-1;continue}}return{x:g,y:b,placement:S,strategy:i,middlewareData:I}};async function r0(r,e){var t;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:a,elements:l,strategy:p}=r,{boundary:d="clippingAncestors",rootBoundary:g="viewport",elementContext:b="floating",altBoundary:S=!1,padding:I=0}=ep(e,r),H=_w(I),ke=l[S?b==="floating"?"reference":"floating":b],ge=Qf(await s.getClippingRect({element:(t=await(s.isElement==null?void 0:s.isElement(ke)))==null||t?ke:ke.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:g,strategy:p})),Ue=b==="floating"?{...a.floating,x:n,y:i}:a.reference,Dt=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),pt=await(s.isElement==null?void 0:s.isElement(Dt))?await(s.getScale==null?void 0:s.getScale(Dt))||{x:1,y:1}:{x:1,y:1},vt=Qf(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Ue,offsetParent:Dt,strategy:p}):Ue);return{top:(ge.top-vt.top+H.top)/pt.y,bottom:(vt.bottom-ge.bottom+H.bottom)/pt.y,left:(ge.left-vt.left+H.left)/pt.x,right:(vt.right-ge.right+H.right)/pt.x}}const C6=r=>({name:"arrow",options:r,async fn(e){const{x:t,y:n,placement:i,rects:s,platform:a,elements:l}=e,{element:p,padding:d=0}=ep(r,e)||{};if(p==null)return{};const g=_w(d),b={x:t,y:n},S=QO(i),I=RO(S),H=await a.getDimensions(p),be=S==="y",ke=be?"top":"left",ge=be?"bottom":"right",Ue=be?"clientHeight":"clientWidth",Dt=s.reference[I]+s.reference[S]-b[S]-s.floating[I],pt=b[S]-s.reference[S],vt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p));let Yt=vt?vt[Ue]:0;(!Yt||!await(a.isElement==null?void 0:a.isElement(vt)))&&(Yt=l.floating[Ue]||s.floating[I]);const ir=Dt/2-pt/2,qr=Yt/2-H[I]/2-1,yr=fd(g[ke],qr),kr=fd(g[ge],qr),Zr=yr,zn=Yt-H[I]-kr,Gn=Yt/2-H[I]/2+ir,Ni=OD(Zr,Gn,zn),Sn=Au(i)!=null&&Gn!=Ni&&s.reference[I]/2-(Gn<Zr?yr:kr)-H[I]/2<0?Gn<Zr?Zr-Gn:zn-Gn:0;return{[S]:b[S]-Sn,data:{[S]:Ni,centerOffset:Gn-Ni+Sn}}}});function S6(r,e,t){return(r?[...t.filter(i=>Au(i)===r),...t.filter(i=>Au(i)!==r)]:t.filter(i=>Cl(i)===i)).filter(i=>r?Au(i)===r||(e?xg(i)!==i:!1):!0)}const E6=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,n,i;const{rects:s,middlewareData:a,placement:l,platform:p,elements:d}=e,{crossAxis:g=!1,alignment:b,allowedPlacements:S=lv,autoAlignment:I=!0,...H}=ep(r,e),be=b!==void 0||S===lv?S6(b||null,I,S):S,ke=await r0(e,H),ge=((t=a.autoPlacement)==null?void 0:t.index)||0,Ue=be[ge];if(Ue==null)return{};const Dt=Fw(Ue,s,await(p.isRTL==null?void 0:p.isRTL(d.floating)));if(l!==Ue)return{reset:{placement:be[0]}};const pt=[ke[Cl(Ue)],ke[Dt[0]],ke[Dt[1]]],vt=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:Ue,overflows:pt}],Yt=be[ge+1];if(Yt)return{data:{index:ge+1,overflows:vt},reset:{placement:Yt}};const ir=vt.map(kr=>{const Zr=Au(kr.placement);return[kr.placement,Zr&&g?kr.overflows.slice(0,2).reduce((zn,Gn)=>zn+Gn,0):kr.overflows[0],kr.overflows]}).sort((kr,Zr)=>kr[1]-Zr[1]),yr=((i=ir.filter(kr=>kr[2].slice(0,Au(kr[0])?2:3).every(Zr=>Zr<=0))[0])==null?void 0:i[0])||ir[0][0];return yr!==l?{data:{index:ge+1,overflows:vt},reset:{placement:yr}}:{}}}},w6=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t;const{placement:n,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:p}=e,{mainAxis:d=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:H=!0,...be}=ep(r,e),ke=Cl(n),ge=Cl(a)===a,Ue=await(l.isRTL==null?void 0:l.isRTL(p.floating)),Dt=b||(ge||!H?[bg(a)]:D6(a));!b&&I!=="none"&&Dt.push(...x6(a,H,I,Ue));const pt=[a,...Dt],vt=await r0(e,be),Yt=[];let ir=((t=i.flip)==null?void 0:t.overflows)||[];if(d&&Yt.push(vt[ke]),g){const Zr=Fw(n,s,Ue);Yt.push(vt[Zr[0]],vt[Zr[1]])}if(ir=[...ir,{placement:n,overflows:Yt}],!Yt.every(Zr=>Zr<=0)){var qr,yr;const Zr=(((qr=i.flip)==null?void 0:qr.index)||0)+1,zn=pt[Zr];if(zn)return{data:{index:Zr,overflows:ir},reset:{placement:zn}};let Gn=(yr=ir.filter(Ni=>Ni.overflows[0]<=0).sort((Ni,ii)=>Ni.overflows[1]-ii.overflows[1])[0])==null?void 0:yr.placement;if(!Gn)switch(S){case"bestFit":{var kr;const Ni=(kr=ir.map(ii=>[ii.placement,ii.overflows.filter(Sn=>Sn>0).reduce((Sn,Wn)=>Sn+Wn,0)]).sort((ii,Sn)=>ii[1]-Sn[1])[0])==null?void 0:kr[0];Ni&&(Gn=Ni);break}case"initialPlacement":Gn=a;break}if(n!==Gn)return{reset:{placement:Gn}}}return{}}}};async function A6(r,e){const{placement:t,platform:n,elements:i}=r,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Cl(t),l=Au(t),p=$d(t)==="y",d=["left","top"].includes(a)?-1:1,g=s&&p?-1:1,b=ep(e,r);let{mainAxis:S,crossAxis:I,alignmentAxis:H}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return l&&typeof H=="number"&&(I=l==="end"?H*-1:H),p?{x:I*g,y:S*d}:{x:S*d,y:I*g}}const T6=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){const{x:t,y:n}=e,i=await A6(e,r);return{x:t+i.x,y:n+i.y,data:i}}}},P6=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){const{x:t,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:ke=>{let{x:ge,y:Ue}=ke;return{x:ge,y:Ue}}},...p}=ep(r,e),d={x:t,y:n},g=await r0(e,p),b=$d(Cl(i)),S=kw(b);let I=d[S],H=d[b];if(s){const ke=S==="y"?"top":"left",ge=S==="y"?"bottom":"right",Ue=I+g[ke],Dt=I-g[ge];I=OD(Ue,I,Dt)}if(a){const ke=b==="y"?"top":"left",ge=b==="y"?"bottom":"right",Ue=H+g[ke],Dt=H-g[ge];H=OD(Ue,H,Dt)}const be=l.fn({...e,[S]:I,[b]:H});return{...be,data:{x:be.x-t,y:be.y-n}}}}},k6=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){const{placement:t,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...l}=ep(r,e),p=await r0(e,l),d=Cl(t),g=Au(t),b=$d(t)==="y",{width:S,height:I}=n.floating;let H,be;d==="top"||d==="bottom"?(H=d,be=g===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(be=d,H=g==="end"?"top":"bottom");const ke=I-p[H],ge=S-p[be],Ue=!e.middlewareData.shift;let Dt=ke,pt=ge;if(b){const Yt=S-p.left-p.right;pt=g||Ue?fd(ge,Yt):Yt}else{const Yt=I-p.top-p.bottom;Dt=g||Ue?fd(ke,Yt):Yt}if(Ue&&!g){const Yt=kh(p.left,0),ir=kh(p.right,0),qr=kh(p.top,0),yr=kh(p.bottom,0);b?pt=S-2*(Yt!==0||ir!==0?Yt+ir:kh(p.left,p.right)):Dt=I-2*(qr!==0||yr!==0?qr+yr:kh(p.top,p.bottom))}await a({...e,availableWidth:pt,availableHeight:Dt});const vt=await i.getDimensions(s.floating);return S!==vt.width||I!==vt.height?{reset:{rects:!0}}:{}}}};function eu(r){var e;return((e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Ol(r){return eu(r).getComputedStyle(r)}const hv=Math.min,jf=Math.max,vg=Math.round;function $w(r){const e=Ol(r);let t=parseFloat(e.width),n=parseFloat(e.height);const i=r.offsetWidth,s=r.offsetHeight,a=vg(t)!==i||vg(n)!==s;return a&&(t=i,n=s),{width:t,height:n,fallback:a}}function sh(r){return Nw(r)?(r.nodeName||"").toLowerCase():""}let fm;function Bw(){if(fm)return fm;const r=navigator.userAgentData;return r&&Array.isArray(r.brands)?(fm=r.brands.map(e=>e.brand+"/"+e.version).join(" "),fm):navigator.userAgent}function xl(r){return r instanceof eu(r).HTMLElement}function Zc(r){return r instanceof eu(r).Element}function Nw(r){return r instanceof eu(r).Node}function pv(r){return typeof ShadowRoot>"u"?!1:r instanceof eu(r).ShadowRoot||r instanceof ShadowRoot}function n0(r){const{overflow:e,overflowX:t,overflowY:n,display:i}=Ol(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function F6(r){return["table","td","th"].includes(sh(r))}function xD(r){const e=/firefox/i.test(Bw()),t=Ol(r),n=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!n&&n!=="none"||e&&t.willChange==="filter"||e&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(i=>t.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const s=t.contain;return s!=null&&s.includes(i)})}function Iw(){return!/^((?!chrome|android).)*safari/i.test(Bw())}function jO(r){return["html","body","#document"].includes(sh(r))}function Mw(r){return Zc(r)?r:r.contextElement}const Rw={x:1,y:1};function Vp(r){const e=Mw(r);if(!xl(e))return Rw;const t=e.getBoundingClientRect(),{width:n,height:i,fallback:s}=$w(e);let a=(s?vg(t.width):t.width)/n,l=(s?vg(t.height):t.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function dd(r,e,t,n){var i,s;e===void 0&&(e=!1),t===void 0&&(t=!1);const a=r.getBoundingClientRect(),l=Mw(r);let p=Rw;e&&(n?Zc(n)&&(p=Vp(n)):p=Vp(r));const d=l?eu(l):window,g=!Iw()&&t;let b=(a.left+(g&&((i=d.visualViewport)==null?void 0:i.offsetLeft)||0))/p.x,S=(a.top+(g&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/p.y,I=a.width/p.x,H=a.height/p.y;if(l){const be=eu(l),ke=n&&Zc(n)?eu(n):n;let ge=be.frameElement;for(;ge&&n&&ke!==be;){const Ue=Vp(ge),Dt=ge.getBoundingClientRect(),pt=getComputedStyle(ge);Dt.x+=(ge.clientLeft+parseFloat(pt.paddingLeft))*Ue.x,Dt.y+=(ge.clientTop+parseFloat(pt.paddingTop))*Ue.y,b*=Ue.x,S*=Ue.y,I*=Ue.x,H*=Ue.y,b+=Dt.x,S+=Dt.y,ge=eu(ge).frameElement}}return{width:I,height:H,top:S,right:b+I,bottom:S+H,left:b,x:b,y:S}}function Yc(r){return((Nw(r)?r.ownerDocument:r.document)||window.document).documentElement}function i0(r){return Zc(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Qw(r){return dd(Yc(r)).left+i0(r).scrollLeft}function md(r){if(sh(r)==="html")return r;const e=r.assignedSlot||r.parentNode||pv(r)&&r.host||Yc(r);return pv(e)?e.host:e}function jw(r){const e=md(r);return jO(e)?e.ownerDocument.body:xl(e)&&n0(e)?e:jw(e)}function Cg(r,e){var t;e===void 0&&(e=[]);const n=jw(r),i=n===((t=r.ownerDocument)==null?void 0:t.body),s=eu(n);return i?e.concat(s,s.visualViewport||[],n0(n)?n:[]):e.concat(n,Cg(n))}function fv(r,e,t){return e==="viewport"?Qf(function(n,i){const s=eu(n),a=Yc(n),l=s.visualViewport;let p=a.clientWidth,d=a.clientHeight,g=0,b=0;if(l){p=l.width,d=l.height;const S=Iw();(S||!S&&i==="fixed")&&(g=l.offsetLeft,b=l.offsetTop)}return{width:p,height:d,x:g,y:b}}(r,t)):Zc(e)?Qf(function(n,i){const s=dd(n,!0,i==="fixed"),a=s.top+n.clientTop,l=s.left+n.clientLeft,p=xl(n)?Vp(n):{x:1,y:1};return{width:n.clientWidth*p.x,height:n.clientHeight*p.y,x:l*p.x,y:a*p.y}}(e,t)):Qf(function(n){const i=Yc(n),s=i0(n),a=n.ownerDocument.body,l=jf(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),p=jf(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let d=-s.scrollLeft+Qw(n);const g=-s.scrollTop;return Ol(a).direction==="rtl"&&(d+=jf(i.clientWidth,a.clientWidth)-l),{width:l,height:p,x:d,y:g}}(Yc(r)))}function dv(r){return xl(r)&&Ol(r).position!=="fixed"?r.offsetParent:null}function mv(r){const e=eu(r);let t=dv(r);for(;t&&F6(t)&&Ol(t).position==="static";)t=dv(t);return t&&(sh(t)==="html"||sh(t)==="body"&&Ol(t).position==="static"&&!xD(t))?e:t||function(n){let i=md(n);for(;xl(i)&&!jO(i);){if(xD(i))return i;i=md(i)}return null}(r)||e}function _6(r,e,t){const n=xl(e),i=Yc(e),s=dd(r,!0,t==="fixed",e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(n||!n&&t!=="fixed")if((sh(e)!=="body"||n0(i))&&(a=i0(e)),xl(e)){const p=dd(e,!0);l.x=p.x+e.clientLeft,l.y=p.y+e.clientTop}else i&&(l.x=Qw(i));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const $6={getClippingRect:function(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r;const s=t==="clippingAncestors"?function(d,g){const b=g.get(d);if(b)return b;let S=Cg(d).filter(ke=>Zc(ke)&&sh(ke)!=="body"),I=null;const H=Ol(d).position==="fixed";let be=H?md(d):d;for(;Zc(be)&&!jO(be);){const ke=Ol(be),ge=xD(be);(H?ge||I:ge||ke.position!=="static"||!I||!["absolute","fixed"].includes(I.position))?I=ke:S=S.filter(Ue=>Ue!==be),be=md(be)}return g.set(d,S),S}(e,this._c):[].concat(t),a=[...s,n],l=a[0],p=a.reduce((d,g)=>{const b=fv(e,g,i);return d.top=jf(b.top,d.top),d.right=hv(b.right,d.right),d.bottom=hv(b.bottom,d.bottom),d.left=jf(b.left,d.left),d},fv(e,l,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(r){let{rect:e,offsetParent:t,strategy:n}=r;const i=xl(t),s=Yc(t);if(t===s)return e;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const p={x:0,y:0};if((i||!i&&n!=="fixed")&&((sh(t)!=="body"||n0(s))&&(a=i0(t)),xl(t))){const d=dd(t);l=Vp(t),p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+p.x,y:e.y*l.y-a.scrollTop*l.y+p.y}},isElement:Zc,getDimensions:function(r){return xl(r)?$w(r):r.getBoundingClientRect()},getOffsetParent:mv,getDocumentElement:Yc,getScale:Vp,async getElementRects(r){let{reference:e,floating:t,strategy:n}=r;const i=this.getOffsetParent||mv,s=this.getDimensions;return{reference:_6(e,await i(t),n),floating:{x:0,y:0,...await s(t)}}},getClientRects:r=>Array.from(r.getClientRects()),isRTL:r=>Ol(r).direction==="rtl"},B6=(r,e,t)=>{const n=new Map,i={platform:$6,...t},s={...i.platform,_c:n};return v6(r,e,{...i,platform:s})},Lh={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:r=>[...r,"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","focus"],delay:{show:0,hide:400}}}};function bD(r,e){let t=Lh.themes[r]||{},n;do n=t[e],typeof n>"u"?t.$extend?t=Lh.themes[t.$extend]||{}:(t=null,n=Lh[e]):t=null;while(t);return n}function N6(r){const e=[r];let t=Lh.themes[r]||{};do t.$extend&&!t.$resetCss?(e.push(t.$extend),t=Lh.themes[t.$extend]||{}):t=null;while(t);return e.map(n=>`v-popper--theme-${n}`)}function gv(r){const e=[r];let t=Lh.themes[r]||{};do t.$extend?(e.push(t.$extend),t=Lh.themes[t.$extend]||{}):t=null;while(t);return e}let Kp=!1;if(typeof window<"u"){Kp=!1;try{const r=Object.defineProperty({},"passive",{get(){Kp=!0}});window.addEventListener("test",null,r)}catch{}}let Lw=!1;typeof window<"u"&&typeof navigator<"u"&&(Lw=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const I6=["auto","top","bottom","left","right"].reduce((r,e)=>r.concat([e,`${e}-start`,`${e}-end`]),[]),yv={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Dv={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ov(r,e){const t=r.indexOf(e);t!==-1&&r.splice(t,1)}function sy(){return new Promise(r=>requestAnimationFrame(()=>{requestAnimationFrame(r)}))}const bu=[];let Ph=null;const xv={};function bv(r){let e=xv[r];return e||(e=xv[r]=[]),e}let vD=function(){};typeof window<"u"&&(vD=window.Element);function ps(r){return function(e){return bD(e.theme,r)}}const oy="__floating-vue__popper",Xw=()=>bo({name:"VPopper",provide(){return{[oy]:{parentPopper:this}}},inject:{[oy]:{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:ps("disabled")},positioningDisabled:{type:Boolean,default:ps("positioningDisabled")},placement:{type:String,default:ps("placement"),validator:r=>I6.includes(r)},delay:{type:[String,Number,Object],default:ps("delay")},distance:{type:[Number,String],default:ps("distance")},skidding:{type:[Number,String],default:ps("skidding")},triggers:{type:Array,default:ps("triggers")},showTriggers:{type:[Array,Function],default:ps("showTriggers")},hideTriggers:{type:[Array,Function],default:ps("hideTriggers")},popperTriggers:{type:Array,default:ps("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ps("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ps("popperHideTriggers")},container:{type:[String,Object,vD,Boolean],default:ps("container")},boundary:{type:[String,vD],default:ps("boundary")},strategy:{type:String,validator:r=>["absolute","fixed"].includes(r),default:ps("strategy")},autoHide:{type:[Boolean,Function],default:ps("autoHide")},handleResize:{type:Boolean,default:ps("handleResize")},instantMove:{type:Boolean,default:ps("instantMove")},eagerMount:{type:Boolean,default:ps("eagerMount")},popperClass:{type:[String,Array,Object],default:ps("popperClass")},computeTransformOrigin:{type:Boolean,default:ps("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ps("autoMinSize")},autoSize:{type:[Boolean,String],default:ps("autoSize")},autoMaxSize:{type:Boolean,default:ps("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ps("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ps("preventOverflow")},overflowPadding:{type:[Number,String],default:ps("overflowPadding")},arrowPadding:{type:[Number,String],default:ps("arrowPadding")},arrowOverflow:{type:Boolean,default:ps("arrowOverflow")},flip:{type:Boolean,default:ps("flip")},shift:{type:Boolean,default:ps("shift")},shiftCrossAxis:{type:Boolean,default:ps("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ps("noAutoFocus")},disposeTimeout:{type:Number,default:ps("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],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},shownChildren:new Set,lastAutoHide:!0}},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 r;return(r=this[oy])==null?void 0:r.parentPopper},hasPopperShowTriggerHover(){var r,e;return((r=this.popperTriggers)==null?void 0:r.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(r){r?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((r,e)=>(r[e]="$_refreshListeners",r),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((r,e)=>(r[e]="$_computePosition",r),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(r=>r.toString(36).substring(2,10)).join("_")}`,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:r=null,skipDelay:e=!1,force:t=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(t||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(r,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:r=null,skipDelay:e=!1}={}){var t;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}((t=this.parentPopper)==null?void 0:t.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(r,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var r;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((r=this.referenceNode)==null?void 0:r.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"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const r={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&r.middleware.push(T6({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?r.middleware.push(E6({alignment:this.placement.split("-")[1]??""})):r.placement=this.placement,this.preventOverflow&&(this.shift&&r.middleware.push(P6({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&r.middleware.push(w6({padding:this.overflowPadding,boundary:this.boundary}))),r.middleware.push(C6({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&r.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:i,middlewareData:s})=>{let a;const{centerOffset:l}=s.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(l)>i.reference.width/2:a=Math.abs(l)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;r.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let p,d;return s.startsWith("top")||s.startsWith("bottom")?p=i.reference.width:d=i.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=p!=null?`${p}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,r.middleware.push(k6({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:i})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const t=await B6(this.$_referenceNode,this.$_popperNode,r);Object.assign(this.result,{x:t.x,y:t.y,placement:t.placement,strategy:t.strategy,arrow:{...t.middlewareData.arrow,...t.middlewareData.arrowOverflow}})},$_scheduleShow(r=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ph&&this.instantMove&&Ph.instantMove&&Ph!==this.parentPopper){Ph.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(r=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ph=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(r){const e=this.delay;return parseInt(e&&e[r]||e||0)},async $_applyShow(r=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=r,!this.isShown&&(this.$_ensureTeleport(),await sy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Cg(this.$_referenceNode),...Cg(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),n=t.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(n.left+t.offsetLeft),s=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${i}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const r=this.showGroup;if(r){let e;for(let t=0;t<bu.length;t++)e=bu[t],e.showGroup!==r&&(e.hide(),e.$emit("close-group"))}bu.push(this),document.body.classList.add("v-popper--some-open");for(const e of gv(this.theme))bv(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await sy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=r,Ov(bu,this),bu.length===0&&document.body.classList.remove("v-popper--some-open");for(const t of gv(this.theme)){const n=bv(t);Ov(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${t}`)}Ph===this&&(Ph=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 sy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let r=this.container;if(typeof r=="string"?r=window.document.querySelector(r):r===!1&&(r=this.$_targetNodes[0].parentNode),!r)throw new Error("No container for popover: "+this.container);r.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const r=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,yv,this.triggers,this.showTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],yv,this.popperTriggers,this.popperShowTriggers,r);const e=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,Dv,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Dv,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(r,e,t){this.$_events.push({targetNodes:r,eventType:e,handler:t}),r.forEach(n=>n.addEventListener(e,t,Kp?{passive:!0}:void 0))},$_registerTriggerListeners(r,e,t,n,i){let s=t;n!=null&&(s=typeof n=="function"?n(s):n),s.forEach(a=>{const l=e[a];l&&this.$_registerEventListeners(r,l,i)})},$_removeEventListeners(r){const e=[];this.$_events.forEach(t=>{const{targetNodes:n,eventType:i,handler:s}=t;!r||r===i?n.forEach(a=>a.removeEventListener(i,s)):e.push(t)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(r,e=!1){this.$_showFrameLocked||(this.hide({event:r}),r.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(r,e){for(const t of this.$_targetNodes){const n=t.getAttribute(r);n&&(t.removeAttribute(r),t.setAttribute(e,n))}},$_applyAttrsToTarget(r){for(const e of this.$_targetNodes)for(const t in r){const n=r[t];n==null?e.removeAttribute(t):e.setAttribute(t,n)}},$_updateParentShownChildren(r){let e=this.parentPopper;for(;e;)r?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const r=this.$_referenceNode.getBoundingClientRect();if(Lf>=r.left&&Lf<=r.right&&Xf>=r.top&&Xf<=r.bottom){const e=this.$_popperNode.getBoundingClientRect(),t=Lf-$c,n=Xf-Bc,i=e.left+e.width/2-$c+(e.top+e.height/2)-Bc+e.width+e.height,s=$c+t*i,a=Bc+n*i;return dm($c,Bc,s,a,e.left,e.top,e.left,e.bottom)||dm($c,Bc,s,a,e.left,e.top,e.right,e.top)||dm($c,Bc,s,a,e.right,e.top,e.right,e.bottom)||dm($c,Bc,s,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Lw?(document.addEventListener("touchstart",vv,Kp?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",R6,Kp?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",vv,!0),window.addEventListener("click",M6,!0)),window.addEventListener("resize",L6));function vv(r){for(let e=0;e<bu.length;e++){const t=bu[e];try{const n=t.popperNode();t.$_mouseDownContains=n.contains(r.target)}catch{}}}function M6(r){Vw(r)}function R6(r){Vw(r,!0)}function Vw(r,e=!1){const t={};for(let n=bu.length-1;n>=0;n--){const i=bu[n];try{const s=i.$_containsGlobalTarget=Q6(i,r);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!t[i.randomId]&&Cv(i,s,r)){if(i.$_handleGlobalClose(r,e),!r.closeAllPopover&&r.closePopover&&s){let l=i.parentPopper;for(;l;)t[l.randomId]=!0,l=l.parentPopper;return}let a=i.parentPopper;for(;a&&Cv(a,a.$_containsGlobalTarget,r);)a.$_handleGlobalClose(r,e),a=a.parentPopper}})}catch{}}}function Q6(r,e){const t=r.popperNode();return r.$_mouseDownContains||t.contains(e.target)}function Cv(r,e,t){return t.closeAllPopover||t.closePopover&&e||j6(r,t)&&!e}function j6(r,e){if(typeof r.autoHide=="function"){const t=r.autoHide(e);return r.lastAutoHide=t,t}return r.autoHide}function L6(r){for(let e=0;e<bu.length;e++)bu[e].$_computePosition(r)}let $c=0,Bc=0,Lf=0,Xf=0;typeof window<"u"&&window.addEventListener("mousemove",r=>{$c=Lf,Bc=Xf,Lf=r.clientX,Xf=r.clientY},Kp?{passive:!0}:void 0);function dm(r,e,t,n,i,s,a,l){const p=((a-i)*(e-s)-(l-s)*(r-i))/((l-s)*(t-r)-(a-i)*(n-e)),d=((t-r)*(e-s)-(n-e)*(r-i))/((l-s)*(t-r)-(a-i)*(n-e));return p>=0&&p<=1&&d>=0&&d<=1}const X6={extends:Xw()},LO=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t};function V6(r,e,t,n,i,s){return bi(),ss("div",{ref:"reference",class:Fa(["v-popper",{"v-popper--shown":r.slotData.isShown}])},[tc(r.$slots,"default",DA(_C(r.slotData)))],2)}const U6=LO(X6,[["render",V6]]);function q6(){var r=window.navigator.userAgent,e=r.indexOf("MSIE ");if(e>0)return parseInt(r.substring(e+5,r.indexOf(".",e)),10);var t=r.indexOf("Trident/");if(t>0){var n=r.indexOf("rv:");return parseInt(r.substring(n+3,r.indexOf(".",n)),10)}var i=r.indexOf("Edge/");return i>0?parseInt(r.substring(i+5,r.indexOf(".",i)),10):-1}let Bm;function CD(){CD.init||(CD.init=!0,Bm=q6()!==-1)}var s0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){CD(),Hh(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const r=document.createElement("object");this._resizeObject=r,r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex",-1),r.onload=this.addResizeHandlers,r.type="text/html",Bm&&this.$el.appendChild(r),r.data="about:blank",Bm||this.$el.appendChild(r)},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&&(!Bm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const z6=cT();uT("data-v-b329ee4c");const W6={class:"resize-observer",tabindex:"-1"};lT();const Z6=z6((r,e,t,n,i,s)=>(bi(),Zo("div",W6)));s0.render=Z6;s0.__scopeId="data-v-b329ee4c";s0.__file="src/components/ResizeObserver.vue";const Uw=(r="theme")=>({computed:{themeClass(){return N6(this[r])}}}),Y6=bo({name:"VPopperContent",components:{ResizeObserver:s0},mixins:[Uw()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(r){return r!=null&&!isNaN(r)?`${r}px`:null}}}),G6=["id","aria-hidden","tabindex","data-popper-placement"],H6={ref:"inner",class:"v-popper__inner"},J6=sn("div",{class:"v-popper__arrow-outer"},null,-1),K6=sn("div",{class:"v-popper__arrow-inner"},null,-1),e9=[J6,K6];function t9(r,e,t,n,i,s){const a=Vh("ResizeObserver");return bi(),ss("div",{id:r.popperId,ref:"popover",class:Fa(["v-popper__popper",[r.themeClass,r.classes.popperClass,{"v-popper__popper--shown":r.shown,"v-popper__popper--hidden":!r.shown,"v-popper__popper--show-from":r.classes.showFrom,"v-popper__popper--show-to":r.classes.showTo,"v-popper__popper--hide-from":r.classes.hideFrom,"v-popper__popper--hide-to":r.classes.hideTo,"v-popper__popper--skip-transition":r.skipTransition,"v-popper__popper--arrow-overflow":r.result&&r.result.arrow.overflow,"v-popper__popper--no-positioning":!r.result}]]),style:ml(r.result?{position:r.result.strategy,transform:`translate3d(${Math.round(r.result.x)}px,${Math.round(r.result.y)}px,0)`}:void 0),"aria-hidden":r.shown?"false":"true",tabindex:r.autoHide?0:void 0,"data-popper-placement":r.result?r.result.placement:void 0,onKeyup:e[2]||(e[2]=_P(l=>r.autoHide&&r.$emit("hide"),["esc"]))},[sn("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=l=>r.autoHide&&r.$emit("hide"))}),sn("div",{class:"v-popper__wrapper",style:ml(r.result?{transformOrigin:r.result.transformOrigin}:void 0)},[sn("div",H6,[r.mounted?(bi(),ss(co,{key:0},[sn("div",null,[tc(r.$slots,"default")]),r.handleResize?(bi(),Zo(a,{key:0,onNotify:e[1]||(e[1]=l=>r.$emit("resize",l))})):Eu("",!0)],64)):Eu("",!0)],512),sn("div",{ref:"arrow",class:"v-popper__arrow-container",style:ml(r.result?{left:r.toPx(r.result.arrow.x),top:r.toPx(r.result.arrow.y)}:void 0)},e9,4)],4)],46,G6)}const qw=LO(Y6,[["render",t9]]),zw={methods:{show(...r){return this.$refs.popper.show(...r)},hide(...r){return this.$refs.popper.hide(...r)},dispose(...r){return this.$refs.popper.dispose(...r)},onResize(...r){return this.$refs.popper.onResize(...r)}}},r9=bo({name:"VPopperWrapper",components:{Popper:U6,PopperContent:qw},mixins:[zw,Uw("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(r=>r!==this.$refs.popperContent.$el)}}});function n9(r,e,t,n,i,s){const a=Vh("PopperContent"),l=Vh("Popper");return bi(),Zo(l,{ref:"popper",theme:r.finalTheme,"target-nodes":r.getTargetNodes,"popper-node":()=>r.$refs.popperContent.$el,class:Fa([r.themeClass])},{default:fa(({popperId:p,isShown:d,shouldMountContent:g,skipTransition:b,autoHide:S,show:I,hide:H,handleResize:be,onResize:ke,classes:ge,result:Ue})=>[tc(r.$slots,"default",{shown:d,show:I,hide:H}),xs(a,{ref:"popperContent","popper-id":p,theme:r.finalTheme,shown:d,mounted:g,"skip-transition":b,"auto-hide":S,"handle-resize":be,classes:ge,result:Ue,onHide:H,onResize:ke},{default:fa(()=>[tc(r.$slots,"popper",{shown:d,hide:H})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const XO=LO(r9,[["render",n9]]),i9={...XO,name:"VDropdown",vPopperTheme:"dropdown"};({...XO});({...XO});Xw();const s9=i9,o9={"font-mono":"","text-sm":"","cursor-pointer":"",border:"b transparent hover:current",op:"50 hover:100"},a9={"text-sm":"","of-ellipsis":""},u9={"text-xs":"","ml-0.5":"",op30:""},l9={"space-x-4":"",px4:"",py3:""},c9=["onClick"],h9=["href"],p9=sn("div",{"i-carbon-notebook":""},null,-1),f9={border:"t gray-400/20","max-h-60":"","of-auto":"",px4:"",py3:"","text-sm":""},d9=sn("span",{op50:""},"It has been referenced ",-1),m9=sn("span",{op50:""}," times by:",-1),g9={flex:"~ col gap-2","items-start":"",pt3:""},y9=["onClick"],D9=sn("div",{"i-carbon-launch":""},null,-1),O9=bo({__name:"AnalyzerItem",props:{item:{}},setup(r){const e=r,t=fs(()=>MC(e.item.name)),n=fs(()=>t.value?`[${e.item.name.slice(1,-1).replace(/=""$/,"").replace(/~="/,'="')}]`:e.item.name);function i(s){fetch(`/__open-in-editor?file=${encodeURIComponent(s)}`)}return(s,a)=>{const l=d6,p=Ew;return bi(),Zo(wi(s9),{distance:10},{popper:fa(()=>[sn("div",l9,[xs(l,null,{default:fa(({copy:d,copied:g})=>[sn("button",{class:Fa(g?"text-green":"text-dark:50 hover:text-dark dark:text-white:50 dark:hover:text-white"),"text-sm":"",onClick:b=>d(s.item.name)},[sn("div",{class:Fa(g?"i-carbon-checkmark-outline":"i-carbon-copy")},null,2),pa(" "+Ys(g?"Copied":"Copy"),1)],10,c9)]),_:1}),s.item?(bi(),ss("a",{key:0,href:`https://unocss.dev/interactive/?s=${s.item.name}`,target:"_blank","text-sm":"","text-dark:50":"","hover:text-dark":"","dark:text-white:50":"","dark:hover:text-white":""},[p9,pa(" Docs ")],8,h9)):Eu("",!0)]),sn("div",f9,[sn("div",null,[d9,sn("strong",null,Ys(s.item.count),1),m9]),sn("div",g9,[(bi(!0),ss(co,null,jc(s.item.modules,d=>(bi(),ss("a",{key:d,"text-sm":"","cursor-pointer":"",op80:"","hover:op100":"",onClick:g=>i(d)},[xs(p,{id:d,"mr-1":""},null,8,["id"]),D9],8,y9))),128))])])]),default:fa(()=>[sn("span",o9,[sn("span",a9,Ys(n.value),1)]),sn("sup",u9,Ys(s.item.count),1)]),_:1})}}}),x9={"p-4":"","space-y-8":""},b9={key:0},v9=sn("div",{"mb-4":"",op50:"",uppercase:"","text-sm":""}," Top 10 Utilities ",-1),C9={"p-4":"","bg-active":""},S9={flex:"~ wrap",gap:"x-2 y-2"},E9={key:1},w9={uppercase:"","text-sm":"","mb-4":"",op50:""},A9={op50:"","text-sm":""},T9={flex:"","flex-wrap":"","gap-2":""},P9={"p-2":"","w-25":"","inline-block":"","of-hidden":"","bg-active":""},k9={"font-mono":"","text-sm":"",op50:"","ws-nowrap":"","of-ellipsis":"","of-hidden":""},F9=sn("div",{"mb-4":"",op50:"",uppercase:"","text-sm":""}," Utilities Usage ",-1),_9={key:0,grid:"~ cols-1 md:cols-2 gap-4"},$9={"text-sm":"","pb-4":""},B9={capitalize:""},N9={op50:"","ml-1":""},I9={flex:"","flex-wrap":"","gap-x-2":"","gap-y-2":""},M9={key:1,op50:""},R9=bo({__name:"Analyzer",props:{selectors:{},colors:{}},setup(r){const e=r,t=fs(()=>[...e.selectors].sort((s,a)=>a.count-s.count)),n=fs(()=>(e.colors||[]).map(s=>({...s,name:s.no==="DEFAULT"?`${s.name}`:`${s.name}-${s.no}`})).sort((s,a)=>a.count-s.count)),i=fs(()=>t.value.reduce((s,a)=>{const l=a.category,p=s.find(d=>d.name===l);return p?(p.items.push(a),p.count+=a.count):s.push({name:l,count:a.count,items:[a]}),s},[]).sort((s,a)=>a.count-s.count));return(s,a)=>{const l=O9;return bi(),ss("div",x9,[t.value.length>10?(bi(),ss("div",b9,[v9,sn("div",C9,[sn("div",S9,[(bi(!0),ss(co,null,jc(t.value.slice(0,10),(p,d)=>(bi(),Zo(l,{key:d,item:p},null,8,["item"]))),128))])])])):Eu("",!0),n.value.length?(bi(),ss("div",E9,[sn("div",w9,[pa(" Color Palette "),sn("sup",A9,Ys(n.value.length),1)]),sn("div",T9,[(bi(!0),ss(co,null,jc(n.value,(p,d)=>(bi(),ss("span",{key:d},[sn("div",P9,[xs(l,{item:p},null,8,["item"]),sn("div",k9,Ys(p.color),1),sn("div",{"h-10":"","mt-1":"",style:ml({background:p.color})},null,4)])]))),128))])])):Eu("",!0),sn("div",null,[F9,i.value.length?(bi(),ss("div",_9,[(bi(!0),ss(co,null,jc(i.value,(p,d)=>(bi(),ss("div",{key:d,"p-4":"","bg-active":""},[sn("div",$9,[sn("span",B9,Ys(p.name),1),sn("sup",N9,Ys(p.count),1)]),sn("div",I9,[(bi(!0),ss(co,null,jc(p.items,(g,b)=>(bi(),Zo(l,{key:b,item:g},null,8,["item"]))),128))])]))),128))])):(bi(),ss("div",M9," No utilities found. "))])])}}}),Q9={"h-full":"",flex:"","flex-col":""},j9={p:"4",grid:"~ cols-4 gap-4"},L9=sn("div",{op80:""}," Presets ",-1),X9={op50:"","ws-pre":""},V9={overflow:"auto"},U9=sn("div",{op80:""}," Rules ",-1),q9=sn("span",{op50:""},"dynamic",-1),z9=sn("br",null,null,-1),W9=sn("span",{op50:""},"static",-1),Z9=sn("div",{op80:""}," Variants ",-1),Y9=sn("div",{op80:""}," Shortcuts ",-1),G9={key:0},H9=sn("div",{op80:""}," Config File ",-1),J9=sn("div",{op80:""}," Version ",-1),K9={op50:"","ws-pre":""},e4={border:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},t4=sn("div",{op80:""}," Included Files ",-1),r4=sn("div",{op80:""}," CSS Size ",-1),n4=sn("span",{op50:""},"gzipped",-1),i4=sn("div",{op80:""}," Matched Rules ",-1),s4=sn("div",{op80:""}," Layers ",-1),o4={op50:"","ws-pre":""},a4=bo({__name:"Overview",setup(r){const e=Ws(null),t=n6(e,"overview-scrolls");MO.execute();const n=Ws(!1),i=Ws("source"),s=f6(fs(()=>{var a;return(a=Sp.value)==null?void 0:a.css}),n);return(a,l)=>{const p=Ew,d=H5,g=W5,b=V5,S=Q5;return bi(),ss("div",Q9,[xs(b,{ref_key:"status",ref:e,p0:""},{default:fa(()=>{var I,H,be,ke,ge,Ue,Dt,pt,vt,Yt,ir,qr,yr,kr,Zr,zn,Gn,Ni;return[sn("div",j9,[sn("div",null,[L9,sn("div",X9,Ys((be=(H=(I=wi(Vo))==null?void 0:I.config)==null?void 0:H.presets)==null?void 0:be.map(ii=>ii.name).join(`
`)),1)]),sn("div",V9,[U9,pa(" "+Ys((Ue=(ge=(ke=wi(Vo))==null?void 0:ke.config)==null?void 0:ge.rulesDynamic)==null?void 0:Ue.length)+" ",1),q9,z9,pa(" "+Ys(Object.keys(((pt=(Dt=wi(Vo))==null?void 0:Dt.config)==null?void 0:pt.rulesStaticMap)||{}).length)+" ",1),W9]),sn("div",null,[Z9,pa(" "+Ys((ir=(Yt=(vt=wi(Vo))==null?void 0:vt.config)==null?void 0:Yt.variants)==null?void 0:ir.length),1)]),sn("div",null,[Y9,pa(" "+Ys((qr=wi(Vo))==null?void 0:qr.config.shortcuts.length),1)]),(yr=wi(Vo))!=null&&yr.configPath?(bi(),ss("div",G9,[H9,xs(p,{id:wi(Vo).configPath},null,8,["id"])])):Eu("",!0),sn("div",null,[J9,sn("div",K9,Ys((kr=wi(Vo))==null?void 0:kr.version),1)])]),sn("div",e4,[sn("div",null,[t4,pa(" "+Ys((Zr=wi(Vo))==null?void 0:Zr.modules.length),1)]),sn("div",null,[r4,pa(" "+Ys(((((zn=wi(Sp))==null?void 0:zn.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),n4]),sn("div",null,[i4,pa(" "+Ys((Gn=wi(Sp))==null?void 0:Gn.matched.length),1)]),sn("div",null,[s4,sn("div",o4,Ys((Ni=wi(Sp))==null?void 0:Ni.layers.join(`
`)),1)])]),xs(d,{modelValue:wi(i),"onUpdate:modelValue":l[0]||(l[0]=ii=>Gs(i)?i.value=ii:null)},null,8,["modelValue"]),wi(i)==="source"?(bi(),Zo(g,{key:0,border:"t gray-400/20",title:"Output CSS"},{default:fa(()=>[sn("label",null,[xT(sn("input",{"onUpdate:modelValue":l[1]||(l[1]=ii=>Gs(n)?n.value=ii:null),type:"checkbox"},null,512),[[PP,wi(n)]]),pa(" Prettify ")])]),_:1})):Eu("",!0)]}),_:1},512),wi(i)==="source"?(bi(),Zo(S,{key:0,"model-value":wi(s),"read-only":!0,mode:"css",class:"overview-scrolls",style:ml(wi(t))},null,8,["model-value","style"])):(bi(),Zo(R9,{key:1,"flex-grow":"","overflow-y-auto":"",selectors:wi(Sp).matched,colors:wi(Sp).colors},null,8,["selectors","colors"]))])}}}),u4={};function l4(r,e){const t=a4;return bi(),Zo(t)}const c4=xw(u4,[["render",l4]]),h4=()=>AD(()=>import("./repl-hZ99Cp58.js"),__vite__mapDeps([])),p4=()=>AD(()=>import("./_id_-wB5IvMYD.js"),__vite__mapDeps([])),f4=[{name:"repl",path:"/repl",component:h4,props:!0},{name:"index",path:"/",component:c4,props:!0},{name:"module-id",path:"/module/:id",component:p4,props:!0}];/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Tp=typeof window<"u";function d4(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}const As=Object.assign;function ay(r,e){const t={};for(const n in e){const i=e[n];t[n]=Pu(i)?i.map(r):r(i)}return t}const Vf=()=>{},Pu=Array.isArray,m4=/\/$/,g4=r=>r.replace(m4,"");function uy(r,e,t="/"){let n,i={},s="",a="";const l=e.indexOf("#");let p=e.indexOf("?");return l<p&&l>=0&&(p=-1),p>-1&&(n=e.slice(0,p),s=e.slice(p+1,l>-1?l:e.length),i=r(s)),l>-1&&(n=n||e.slice(0,l),a=e.slice(l,e.length)),n=x4(n??e,t),{fullPath:n+(s&&"?")+s+a,path:n,query:i,hash:a}}function y4(r,e){const t=e.query?r(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Sv(r,e){return!e||!r.toLowerCase().startsWith(e.toLowerCase())?r:r.slice(e.length)||"/"}function D4(r,e,t){const n=e.matched.length-1,i=t.matched.length-1;return n>-1&&n===i&&ef(e.matched[n],t.matched[i])&&Ww(e.params,t.params)&&r(e.query)===r(t.query)&&e.hash===t.hash}function ef(r,e){return(r.aliasOf||r)===(e.aliasOf||e)}function Ww(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(!O4(r[t],e[t]))return!1;return!0}function O4(r,e){return Pu(r)?Ev(r,e):Pu(e)?Ev(e,r):r===e}function Ev(r,e){return Pu(e)?r.length===e.length&&r.every((t,n)=>t===e[n]):r.length===1&&r[0]===e}function x4(r,e){if(r.startsWith("/"))return r;if(!r)return e;const t=e.split("/"),n=r.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let s=t.length-1,a,l;for(a=0;a<n.length;a++)if(l=n[a],l!==".")if(l==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var gd;(function(r){r.pop="pop",r.push="push"})(gd||(gd={}));var Uf;(function(r){r.back="back",r.forward="forward",r.unknown=""})(Uf||(Uf={}));function b4(r){if(!r)if(Tp){const e=document.querySelector("base");r=e&&e.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),g4(r)}const v4=/^[^#]+#/;function C4(r,e){return r.replace(v4,"#")+e}function S4(r,e){const t=document.documentElement.getBoundingClientRect(),n=r.getBoundingClientRect();return{behavior:e.behavior,left:n.left-t.left-(e.left||0),top:n.top-t.top-(e.top||0)}}const o0=()=>({left:window.pageXOffset,top:window.pageYOffset});function E4(r){let e;if("el"in r){const t=r.el,n=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?n?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=S4(i,r)}else e=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function wv(r,e){return(history.state?history.state.position-e:-1)+r}const SD=new Map;function w4(r,e){SD.set(r,e)}function A4(r){const e=SD.get(r);return SD.delete(r),e}let T4=()=>location.protocol+"//"+location.host;function Zw(r,e){const{pathname:t,search:n,hash:i}=e,s=r.indexOf("#");if(s>-1){let l=i.includes(r.slice(s))?r.slice(s).length:1,p=i.slice(l);return p[0]!=="/"&&(p="/"+p),Sv(p,"")}return Sv(t,r)+n+i}function P4(r,e,t,n){let i=[],s=[],a=null;const l=({state:S})=>{const I=Zw(r,location),H=t.value,be=e.value;let ke=0;if(S){if(t.value=I,e.value=S,a&&a===H){a=null;return}ke=be?S.position-be.position:0}else n(I);i.forEach(ge=>{ge(t.value,H,{delta:ke,type:gd.pop,direction:ke?ke>0?Uf.forward:Uf.back:Uf.unknown})})};function p(){a=t.value}function d(S){i.push(S);const I=()=>{const H=i.indexOf(S);H>-1&&i.splice(H,1)};return s.push(I),I}function g(){const{history:S}=window;S.state&&S.replaceState(As({},S.state,{scroll:o0()}),"")}function b(){for(const S of s)S();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:p,listen:d,destroy:b}}function Av(r,e,t,n=!1,i=!1){return{back:r,current:e,forward:t,replaced:n,position:window.history.length,scroll:i?o0():null}}function k4(r){const{history:e,location:t}=window,n={value:Zw(r,t)},i={value:e.state};i.value||s(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(p,d,g){const b=r.indexOf("#"),S=b>-1?(t.host&&document.querySelector("base")?r:r.slice(b))+p:T4()+r+p;try{e[g?"replaceState":"pushState"](d,"",S),i.value=d}catch(I){console.error(I),t[g?"replace":"assign"](S)}}function a(p,d){const g=As({},e.state,Av(i.value.back,p,i.value.forward,!0),d,{position:i.value.position});s(p,g,!0),n.value=p}function l(p,d){const g=As({},i.value,e.state,{forward:p,scroll:o0()});s(g.current,g,!0);const b=As({},Av(n.value,p,null),{position:g.position+1},d);s(p,b,!1),n.value=p}return{location:n,state:i,push:l,replace:a}}function F4(r){r=b4(r);const e=k4(r),t=P4(r,e.state,e.location,e.replace);function n(s,a=!0){a||t.pauseListeners(),history.go(s)}const i=As({location:"",base:r,go:n,createHref:C4.bind(null,r)},e,t);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function _4(r){return r=location.host?r||location.pathname+location.search:"",r.includes("#")||(r+="#"),F4(r)}function $4(r){return typeof r=="string"||r&&typeof r=="object"}function Yw(r){return typeof r=="string"||typeof r=="symbol"}const _c={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gw=Symbol("");var Tv;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(Tv||(Tv={}));function tf(r,e){return As(new Error,{type:r,[Gw]:!0},e)}function Gl(r,e){return r instanceof Error&&Gw in r&&(e==null||!!(r.type&e))}const Pv="[^/]+?",B4={sensitive:!1,strict:!1,start:!0,end:!0},N4=/[.+*?^${}()[\]/\\]/g;function I4(r,e){const t=As({},B4,e),n=[];let i=t.start?"^":"";const s=[];for(const d of r){const g=d.length?[]:[90];t.strict&&!d.length&&(i+="/");for(let b=0;b<d.length;b++){const S=d[b];let I=40+(t.sensitive?.25:0);if(S.type===0)b||(i+="/"),i+=S.value.replace(N4,"\\$&"),I+=40;else if(S.type===1){const{value:H,repeatable:be,optional:ke,regexp:ge}=S;s.push({name:H,repeatable:be,optional:ke});const Ue=ge||Pv;if(Ue!==Pv){I+=10;try{new RegExp(`(${Ue})`)}catch(pt){throw new Error(`Invalid custom RegExp for param "${H}" (${Ue}): `+pt.message)}}let Dt=be?`((?:${Ue})(?:/(?:${Ue}))*)`:`(${Ue})`;b||(Dt=ke&&d.length<2?`(?:/${Dt})`:"/"+Dt),ke&&(Dt+="?"),i+=Dt,I+=20,ke&&(I+=-8),be&&(I+=-20),Ue===".*"&&(I+=-50)}g.push(I)}n.push(g)}if(t.strict&&t.end){const d=n.length-1;n[d][n[d].length-1]+=.7000000000000001}t.strict||(i+="/?"),t.end?i+="$":t.strict&&(i+="(?:/|$)");const a=new RegExp(i,t.sensitive?"":"i");function l(d){const g=d.match(a),b={};if(!g)return null;for(let S=1;S<g.length;S++){const I=g[S]||"",H=s[S-1];b[H.name]=I&&H.repeatable?I.split("/"):I}return b}function p(d){let g="",b=!1;for(const S of r){(!b||!g.endsWith("/"))&&(g+="/"),b=!1;for(const I of S)if(I.type===0)g+=I.value;else if(I.type===1){const{value:H,repeatable:be,optional:ke}=I,ge=H in d?d[H]:"";if(Pu(ge)&&!be)throw new Error(`Provided param "${H}" is an array but it is not repeatable (* or + modifiers)`);const Ue=Pu(ge)?ge.join("/"):ge;if(!Ue)if(ke)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):b=!0);else throw new Error(`Missing required param "${H}"`);g+=Ue}}return g||"/"}return{re:a,score:n,keys:s,parse:l,stringify:p}}function M4(r,e){let t=0;for(;t<r.length&&t<e.length;){const n=e[t]-r[t];if(n)return n;t++}return r.length<e.length?r.length===1&&r[0]===40+40?-1:1:r.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function R4(r,e){let t=0;const n=r.score,i=e.score;for(;t<n.length&&t<i.length;){const s=M4(n[t],i[t]);if(s)return s;t++}if(Math.abs(i.length-n.length)===1){if(kv(n))return 1;if(kv(i))return-1}return i.length-n.length}function kv(r){const e=r[r.length-1];return r.length>0&&e[e.length-1]<0}const Q4={type:0,value:""},j4=/[a-zA-Z0-9_]/;function L4(r){if(!r)return[[]];if(r==="/")return[[Q4]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function e(I){throw new Error(`ERR (${t})/"${d}": ${I}`)}let t=0,n=t;const i=[];let s;function a(){s&&i.push(s),s=[]}let l=0,p,d="",g="";function b(){d&&(t===0?s.push({type:0,value:d}):t===1||t===2||t===3?(s.length>1&&(p==="*"||p==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:d,regexp:g,repeatable:p==="*"||p==="+",optional:p==="*"||p==="?"})):e("Invalid state to consume buffer"),d="")}function S(){d+=p}for(;l<r.length;){if(p=r[l++],p==="\\"&&t!==2){n=t,t=4;continue}switch(t){case 0:p==="/"?(d&&b(),a()):p===":"?(b(),t=1):S();break;case 4:S(),t=n;break;case 1:p==="("?t=2:j4.test(p)?S():(b(),t=0,p!=="*"&&p!=="?"&&p!=="+"&&l--);break;case 2:p===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+p:t=3:g+=p;break;case 3:b(),t=0,p!=="*"&&p!=="?"&&p!=="+"&&l--,g="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${d}"`),b(),a(),i}function X4(r,e,t){const n=I4(L4(r.path),t),i=As(n,{record:r,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function V4(r,e){const t=[],n=new Map;e=$v({strict:!1,end:!0,sensitive:!1},e);function i(g){return n.get(g)}function s(g,b,S){const I=!S,H=U4(g);H.aliasOf=S&&S.record;const be=$v(e,g),ke=[H];if("alias"in g){const Dt=typeof g.alias=="string"?[g.alias]:g.alias;for(const pt of Dt)ke.push(As({},H,{components:S?S.record.components:H.components,path:pt,aliasOf:S?S.record:H}))}let ge,Ue;for(const Dt of ke){const{path:pt}=Dt;if(b&&pt[0]!=="/"){const vt=b.record.path,Yt=vt[vt.length-1]==="/"?"":"/";Dt.path=b.record.path+(pt&&Yt+pt)}if(ge=X4(Dt,b,be),S?S.alias.push(ge):(Ue=Ue||ge,Ue!==ge&&Ue.alias.push(ge),I&&g.name&&!_v(ge)&&a(g.name)),H.children){const vt=H.children;for(let Yt=0;Yt<vt.length;Yt++)s(vt[Yt],ge,S&&S.children[Yt])}S=S||ge,(ge.record.components&&Object.keys(ge.record.components).length||ge.record.name||ge.record.redirect)&&p(ge)}return Ue?()=>{a(Ue)}:Vf}function a(g){if(Yw(g)){const b=n.get(g);b&&(n.delete(g),t.splice(t.indexOf(b),1),b.children.forEach(a),b.alias.forEach(a))}else{const b=t.indexOf(g);b>-1&&(t.splice(b,1),g.record.name&&n.delete(g.record.name),g.children.forEach(a),g.alias.forEach(a))}}function l(){return t}function p(g){let b=0;for(;b<t.length&&R4(g,t[b])>=0&&(g.record.path!==t[b].record.path||!Hw(g,t[b]));)b++;t.splice(b,0,g),g.record.name&&!_v(g)&&n.set(g.record.name,g)}function d(g,b){let S,I={},H,be;if("name"in g&&g.name){if(S=n.get(g.name),!S)throw tf(1,{location:g});be=S.record.name,I=As(Fv(b.params,S.keys.filter(Ue=>!Ue.optional).map(Ue=>Ue.name)),g.params&&Fv(g.params,S.keys.map(Ue=>Ue.name))),H=S.stringify(I)}else if("path"in g)H=g.path,S=t.find(Ue=>Ue.re.test(H)),S&&(I=S.parse(H),be=S.record.name);else{if(S=b.name?n.get(b.name):t.find(Ue=>Ue.re.test(b.path)),!S)throw tf(1,{location:g,currentLocation:b});be=S.record.name,I=As({},b.params,g.params),H=S.stringify(I)}const ke=[];let ge=S;for(;ge;)ke.unshift(ge.record),ge=ge.parent;return{name:be,path:H,params:I,matched:ke,meta:z4(ke)}}return r.forEach(g=>s(g)),{addRoute:s,resolve:d,removeRoute:a,getRoutes:l,getRecordMatcher:i}}function Fv(r,e){const t={};for(const n of e)n in r&&(t[n]=r[n]);return t}function U4(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:q4(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||null:r.component&&{default:r.component}}}function q4(r){const e={},t=r.props||!1;if("component"in r)e.default=t;else for(const n in r.components)e[n]=typeof t=="object"?t[n]:t;return e}function _v(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function z4(r){return r.reduce((e,t)=>As(e,t.meta),{})}function $v(r,e){const t={};for(const n in r)t[n]=n in e?e[n]:r[n];return t}function Hw(r,e){return e.children.some(t=>t===r||Hw(r,t))}const Jw=/#/g,W4=/&/g,Z4=/\//g,Y4=/=/g,G4=/\?/g,Kw=/\+/g,H4=/%5B/g,J4=/%5D/g,eA=/%5E/g,K4=/%60/g,tA=/%7B/g,e7=/%7C/g,rA=/%7D/g,t7=/%20/g;function VO(r){return encodeURI(""+r).replace(e7,"|").replace(H4,"[").replace(J4,"]")}function r7(r){return VO(r).replace(tA,"{").replace(rA,"}").replace(eA,"^")}function ED(r){return VO(r).replace(Kw,"%2B").replace(t7,"+").replace(Jw,"%23").replace(W4,"%26").replace(K4,"`").replace(tA,"{").replace(rA,"}").replace(eA,"^")}function n7(r){return ED(r).replace(Y4,"%3D")}function i7(r){return VO(r).replace(Jw,"%23").replace(G4,"%3F")}function s7(r){return r==null?"":i7(r).replace(Z4,"%2F")}function Sg(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function o7(r){const e={};if(r===""||r==="?")return e;const n=(r[0]==="?"?r.slice(1):r).split("&");for(let i=0;i<n.length;++i){const s=n[i].replace(Kw," "),a=s.indexOf("="),l=Sg(a<0?s:s.slice(0,a)),p=a<0?null:Sg(s.slice(a+1));if(l in e){let d=e[l];Pu(d)||(d=e[l]=[d]),d.push(p)}else e[l]=p}return e}function Bv(r){let e="";for(let t in r){const n=r[t];if(t=n7(t),n==null){n!==void 0&&(e+=(e.length?"&":"")+t);continue}(Pu(n)?n.map(s=>s&&ED(s)):[n&&ED(n)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function a7(r){const e={};for(const t in r){const n=r[t];n!==void 0&&(e[t]=Pu(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return e}const u7=Symbol(""),Nv=Symbol(""),UO=Symbol(""),qO=Symbol(""),wD=Symbol("");function vf(){let r=[];function e(n){return r.push(n),()=>{const i=r.indexOf(n);i>-1&&r.splice(i,1)}}function t(){r=[]}return{add:e,list:()=>r.slice(),reset:t}}function Rc(r,e,t,n,i){const s=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const p=b=>{b===!1?l(tf(4,{from:t,to:e})):b instanceof Error?l(b):$4(b)?l(tf(2,{from:e,to:b})):(s&&n.enterCallbacks[i]===s&&typeof b=="function"&&s.push(b),a())},d=r.call(n&&n.instances[i],e,t,p);let g=Promise.resolve(d);r.length<3&&(g=g.then(p)),g.catch(b=>l(b))})}function ly(r,e,t,n){const i=[];for(const s of r)for(const a in s.components){let l=s.components[a];if(!(e!=="beforeRouteEnter"&&!s.instances[a]))if(l7(l)){const d=(l.__vccOpts||l)[e];d&&i.push(Rc(d,t,n,s,a))}else{let p=l();i.push(()=>p.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const g=d4(d)?d.default:d;s.components[a]=g;const S=(g.__vccOpts||g)[e];return S&&Rc(S,t,n,s,a)()}))}}return i}function l7(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function Iv(r){const e=gl(UO),t=gl(qO),n=fs(()=>e.resolve(wi(r.to))),i=fs(()=>{const{matched:p}=n.value,{length:d}=p,g=p[d-1],b=t.matched;if(!g||!b.length)return-1;const S=b.findIndex(ef.bind(null,g));if(S>-1)return S;const I=Mv(p[d-2]);return d>1&&Mv(g)===I&&b[b.length-1].path!==I?b.findIndex(ef.bind(null,p[d-2])):S}),s=fs(()=>i.value>-1&&f7(t.params,n.value.params)),a=fs(()=>i.value>-1&&i.value===t.matched.length-1&&Ww(t.params,n.value.params));function l(p={}){return p7(p)?e[wi(r.replace)?"replace":"push"](wi(r.to)).catch(Vf):Promise.resolve()}return{route:n,href:fs(()=>n.value.href),isActive:s,isExactActive:a,navigate:l}}const c7=bo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Iv,setup(r,{slots:e}){const t=Dd(Iv(r)),{options:n}=gl(UO),i=fs(()=>({[Rv(r.activeClass,n.linkActiveClass,"router-link-active")]:t.isActive,[Rv(r.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return r.custom?s:ZD("a",{"aria-current":t.isExactActive?r.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},s)}}}),h7=c7;function p7(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const e=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return r.preventDefault&&r.preventDefault(),!0}}function f7(r,e){for(const t in e){const n=e[t],i=r[t];if(typeof n=="string"){if(n!==i)return!1}else if(!Pu(i)||i.length!==n.length||n.some((s,a)=>s!==i[a]))return!1}return!0}function Mv(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Rv=(r,e,t)=>r??e??t,d7=bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:e,slots:t}){const n=gl(wD),i=fs(()=>r.route||n.value),s=gl(Nv,0),a=fs(()=>{let d=wi(s);const{matched:g}=i.value;let b;for(;(b=g[d])&&!b.components;)d++;return d}),l=fs(()=>i.value.matched[a.value]);ym(Nv,fs(()=>a.value+1)),ym(u7,l),ym(wD,i);const p=Ws();return Ro(()=>[p.value,l.value,r.name],([d,g,b],[S,I,H])=>{g&&(g.instances[b]=d,I&&I!==g&&d&&d===S&&(g.leaveGuards.size||(g.leaveGuards=I.leaveGuards),g.updateGuards.size||(g.updateGuards=I.updateGuards))),d&&g&&(!I||!ef(g,I)||!S)&&(g.enterCallbacks[b]||[]).forEach(be=>be(d))},{flush:"post"}),()=>{const d=i.value,g=r.name,b=l.value,S=b&&b.components[g];if(!S)return Qv(t.default,{Component:S,route:d});const I=b.props[g],H=I?I===!0?d.params:typeof I=="function"?I(d):I:null,ke=ZD(S,As({},H,e,{onVnodeUnmounted:ge=>{ge.component.isUnmounted&&(b.instances[g]=null)},ref:p}));return Qv(t.default,{Component:ke,route:d})||ke}}});function Qv(r,e){if(!r)return null;const t=r(e);return t.length===1?t[0]:t}const m7=d7;function g7(r){const e=V4(r.routes,r),t=r.parseQuery||o7,n=r.stringifyQuery||Bv,i=r.history,s=vf(),a=vf(),l=vf(),p=Np(_c);let d=_c;Tp&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=ay.bind(null,Sr=>""+Sr),b=ay.bind(null,s7),S=ay.bind(null,Sg);function I(Sr,cn){let zr,In;return Yw(Sr)?(zr=e.getRecordMatcher(Sr),In=cn):In=Sr,e.addRoute(In,zr)}function H(Sr){const cn=e.getRecordMatcher(Sr);cn&&e.removeRoute(cn)}function be(){return e.getRoutes().map(Sr=>Sr.record)}function ke(Sr){return!!e.getRecordMatcher(Sr)}function ge(Sr,cn){if(cn=As({},cn||p.value),typeof Sr=="string"){const Zt=uy(t,Sr,cn.path),dr=e.resolve({path:Zt.path},cn),Fr=i.createHref(Zt.fullPath);return As(Zt,dr,{params:S(dr.params),hash:Sg(Zt.hash),redirectedFrom:void 0,href:Fr})}let zr;if("path"in Sr)zr=As({},Sr,{path:uy(t,Sr.path,cn.path).path});else{const Zt=As({},Sr.params);for(const dr in Zt)Zt[dr]==null&&delete Zt[dr];zr=As({},Sr,{params:b(Zt)}),cn.params=b(cn.params)}const In=e.resolve(zr,cn),es=Sr.hash||"";In.params=g(S(In.params));const tt=y4(n,As({},Sr,{hash:r7(es),path:In.path})),gt=i.createHref(tt);return As({fullPath:tt,hash:es,query:n===Bv?a7(Sr.query):Sr.query||{}},In,{redirectedFrom:void 0,href:gt})}function Ue(Sr){return typeof Sr=="string"?uy(t,Sr,p.value.path):As({},Sr)}function Dt(Sr,cn){if(d!==Sr)return tf(8,{from:cn,to:Sr})}function pt(Sr){return ir(Sr)}function vt(Sr){return pt(As(Ue(Sr),{replace:!0}))}function Yt(Sr){const cn=Sr.matched[Sr.matched.length-1];if(cn&&cn.redirect){const{redirect:zr}=cn;let In=typeof zr=="function"?zr(Sr):zr;return typeof In=="string"&&(In=In.includes("?")||In.includes("#")?In=Ue(In):{path:In},In.params={}),As({query:Sr.query,hash:Sr.hash,params:"path"in In?{}:Sr.params},In)}}function ir(Sr,cn){const zr=d=ge(Sr),In=p.value,es=Sr.state,tt=Sr.force,gt=Sr.replace===!0,Zt=Yt(zr);if(Zt)return ir(As(Ue(Zt),{state:typeof Zt=="object"?As({},es,Zt.state):es,force:tt,replace:gt}),cn||zr);const dr=zr;dr.redirectedFrom=cn;let Fr;return!tt&&D4(n,In,zr)&&(Fr=tf(16,{to:dr,from:In}),Ri(In,In,!0,!1)),(Fr?Promise.resolve(Fr):kr(dr,In)).catch(Lr=>Gl(Lr)?Gl(Lr,2)?Lr:Mi(Lr):jn(Lr,dr,In)).then(Lr=>{if(Lr){if(Gl(Lr,2))return ir(As({replace:gt},Ue(Lr.to),{state:typeof Lr.to=="object"?As({},es,Lr.to.state):es,force:tt}),cn||dr)}else Lr=zn(dr,In,!0,gt,es);return Zr(dr,In,Lr),Lr})}function qr(Sr,cn){const zr=Dt(Sr,cn);return zr?Promise.reject(zr):Promise.resolve()}function yr(Sr){const cn=Ls.values().next().value;return cn&&typeof cn.runWithContext=="function"?cn.runWithContext(Sr):Sr()}function kr(Sr,cn){let zr;const[In,es,tt]=y7(Sr,cn);zr=ly(In.reverse(),"beforeRouteLeave",Sr,cn);for(const Zt of In)Zt.leaveGuards.forEach(dr=>{zr.push(Rc(dr,Sr,cn))});const gt=qr.bind(null,Sr,cn);return zr.push(gt),Ui(zr).then(()=>{zr=[];for(const Zt of s.list())zr.push(Rc(Zt,Sr,cn));return zr.push(gt),Ui(zr)}).then(()=>{zr=ly(es,"beforeRouteUpdate",Sr,cn);for(const Zt of es)Zt.updateGuards.forEach(dr=>{zr.push(Rc(dr,Sr,cn))});return zr.push(gt),Ui(zr)}).then(()=>{zr=[];for(const Zt of tt)if(Zt.beforeEnter)if(Pu(Zt.beforeEnter))for(const dr of Zt.beforeEnter)zr.push(Rc(dr,Sr,cn));else zr.push(Rc(Zt.beforeEnter,Sr,cn));return zr.push(gt),Ui(zr)}).then(()=>(Sr.matched.forEach(Zt=>Zt.enterCallbacks={}),zr=ly(tt,"beforeRouteEnter",Sr,cn),zr.push(gt),Ui(zr))).then(()=>{zr=[];for(const Zt of a.list())zr.push(Rc(Zt,Sr,cn));return zr.push(gt),Ui(zr)}).catch(Zt=>Gl(Zt,8)?Zt:Promise.reject(Zt))}function Zr(Sr,cn,zr){l.list().forEach(In=>yr(()=>In(Sr,cn,zr)))}function zn(Sr,cn,zr,In,es){const tt=Dt(Sr,cn);if(tt)return tt;const gt=cn===_c,Zt=Tp?history.state:{};zr&&(In||gt?i.replace(Sr.fullPath,As({scroll:gt&&Zt&&Zt.scroll},es)):i.push(Sr.fullPath,es)),p.value=Sr,Ri(Sr,cn,zr,gt),Mi()}let Gn;function Ni(){Gn||(Gn=i.listen((Sr,cn,zr)=>{if(!vo.listening)return;const In=ge(Sr),es=Yt(In);if(es){ir(As(es,{replace:!0}),In).catch(Vf);return}d=In;const tt=p.value;Tp&&w4(wv(tt.fullPath,zr.delta),o0()),kr(In,tt).catch(gt=>Gl(gt,12)?gt:Gl(gt,2)?(ir(gt.to,In).then(Zt=>{Gl(Zt,20)&&!zr.delta&&zr.type===gd.pop&&i.go(-1,!1)}).catch(Vf),Promise.reject()):(zr.delta&&i.go(-zr.delta,!1),jn(gt,In,tt))).then(gt=>{gt=gt||zn(In,tt,!1),gt&&(zr.delta&&!Gl(gt,8)?i.go(-zr.delta,!1):zr.type===gd.pop&&Gl(gt,20)&&i.go(-1,!1)),Zr(In,tt,gt)}).catch(Vf)}))}let ii=vf(),Sn=vf(),Wn;function jn(Sr,cn,zr){Mi(Sr);const In=Sn.list();return In.length?In.forEach(es=>es(Sr,cn,zr)):console.error(Sr),Promise.reject(Sr)}function Tn(){return Wn&&p.value!==_c?Promise.resolve():new Promise((Sr,cn)=>{ii.add([Sr,cn])})}function Mi(Sr){return Wn||(Wn=!Sr,Ni(),ii.list().forEach(([cn,zr])=>Sr?zr(Sr):cn()),ii.reset()),Sr}function Ri(Sr,cn,zr,In){const{scrollBehavior:es}=r;if(!Tp||!es)return Promise.resolve();const tt=!zr&&A4(wv(Sr.fullPath,0))||(In||!zr)&&history.state&&history.state.scroll||null;return Hh().then(()=>es(Sr,cn,tt)).then(gt=>gt&&E4(gt)).catch(gt=>jn(gt,Sr,cn))}const rs=Sr=>i.go(Sr);let bs;const Ls=new Set,vo={currentRoute:p,listening:!0,addRoute:I,removeRoute:H,hasRoute:ke,getRoutes:be,resolve:ge,options:r,push:pt,replace:vt,go:rs,back:()=>rs(-1),forward:()=>rs(1),beforeEach:s.add,beforeResolve:a.add,afterEach:l.add,onError:Sn.add,isReady:Tn,install(Sr){const cn=this;Sr.component("RouterLink",h7),Sr.component("RouterView",m7),Sr.config.globalProperties.$router=cn,Object.defineProperty(Sr.config.globalProperties,"$route",{enumerable:!0,get:()=>wi(p)}),Tp&&!bs&&p.value===_c&&(bs=!0,pt(i.location).catch(es=>{}));const zr={};for(const es in _c)Object.defineProperty(zr,es,{get:()=>p.value[es],enumerable:!0});Sr.provide(UO,cn),Sr.provide(qO,iC(zr)),Sr.provide(wD,p);const In=Sr.unmount;Ls.add(Sr),Sr.unmount=function(){Ls.delete(Sr),Ls.size<1&&(d=_c,Gn&&Gn(),Gn=null,p.value=_c,bs=!1,Wn=!1),In()}}};function Ui(Sr){return Sr.reduce((cn,zr)=>cn.then(()=>yr(zr)),Promise.resolve())}return vo}function y7(r,e){const t=[],n=[],i=[],s=Math.max(e.matched.length,r.matched.length);for(let a=0;a<s;a++){const l=e.matched[a];l&&(r.matched.find(d=>ef(d,l))?n.push(l):t.push(l));const p=r.matched[a];p&&(e.matched.find(d=>ef(d,p))||i.push(p))}return[t,n,i]}function D7(){return gl(qO)}const O7=bo({__name:"FileIcon",props:{id:{}},setup(r){const e=r,t=fs(()=>e.id.toLowerCase().replace(/\?.*$/,"").split(/\./g).pop()),n=fs(()=>{switch(t.value){case"vue":return"i-vscode-icons-file-type-vue";case"html":case"htm":return"i-vscode-icons-file-type-html";case"svelte":return"i-vscode-icons-file-type-svelte";case"ts":case"mts":case"tsx":case"cts":return"i-vscode-icons-file-type-typescript-official";case"js":case"jsx":case"mjs":case"cjs":return"i-vscode-icons-file-type-js-official";case"json":return"i-vscode-icons-file-type-json-official";case"md":case"markdown":return"i-vscode-icons-file-type-markdown";default:return"i-carbon-document-blank"}});return(i,s)=>(bi(),ss("div",{class:Fa(wi(n))},null,2))}}),x7={open:""},b7={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},v7={"ml-1":""},C7=bo({__name:"ModuleTreeNode",props:{node:{},icon:{default:"i-carbon-folder"}},setup(r){const e=D7();return(t,n)=>{const i=Vh("ModuleTreeNode",!0),s=O7,a=Vh("RouterLink");return bi(),ss("details",x7,[sn("summary",b7,[sn("div",{class:Fa(t.icon)},null,2),pa(" "+Ys(t.node.name),1)]),(bi(!0),ss(co,null,jc(Object.entries(t.node.children),l=>(bi(),Zo(i,{key:l[0],ml4:"",node:l[1]},null,8,["node"]))),128)),(bi(!0),ss(co,null,jc(t.node.items,l=>(bi(),ss("div",{key:l.full,ml4:"","ws-nowrap":""},[xs(a,{block:"","text-sm":"",p:"x2 y1",ml1:"",rounded:"",to:`/module/${encodeURIComponent(l.full)}`,class:Fa({"bg-active":l.full===wi(e).params.id})},{default:fa(()=>[xs(s,{id:l.path},null,8,["id"]),sn("span",v7,Ys(l.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),S7="/__unocss/favicon.svg",E7={p:"x4 y3",border:"b main",flex:"","children:my-auto":""},w7=sn("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[sn("img",{src:S7,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),sn("div",{"of-hidden":""},[pa(" Inspector "),sn("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),A7=bo({__name:"NarBar",setup(r){const e=i_(),t=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function n(i){if(!t||!i){e.value=!e.value;return}const s=i.clientX,a=i.clientY,l=Math.hypot(Math.max(s,innerWidth-s),Math.max(a,innerHeight-a));document.startViewTransition(async()=>{e.value=!e.value,await Hh()}).ready.then(()=>{const d=[`circle(0px at ${s}px ${a}px)`,`circle(${l}px at ${s}px ${a}px)`];document.documentElement.animate({clipPath:e.value?[...d].reverse():d},{duration:400,easing:"ease-in",pseudoElement:e.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(i,s)=>(bi(),ss("nav",E7,[w7,sn("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:n})]))}}),T7={"h-full":"",border:"r main"},P7={"of-hidden":""},k7={pt:"4",flex:"~ col gap-3"},F7=sn("div",{"i-carbon-dashboard":""},null,-1),_7=sn("span",null," Overview ",-1),$7=sn("div",{"i-carbon-terminal":""},null,-1),B7=sn("span",null," REPL ",-1),N7=sn("div",{border:"b main"},null,-1),I7={class:"scrolls scrolls-sidebar"},M7=bo({__name:"Sidebar",setup(r){return(e,t)=>{const n=A7,i=Vh("RouterLink"),s=C7;return bi(),ss("div",T7,[sn("div",P7,[xs(n),sn("div",k7,[xs(i,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:fa(()=>[F7,_7]),_:1}),xs(i,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:fa(()=>[$7,B7]),_:1}),N7])]),sn("div",I7,[Object.keys(wi(Ep).workspace.children).length?(bi(),Zo(s,{key:0,node:wi(Ep).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Eu("",!0),Object.keys(wi(Ep).root.children).length?(bi(),Zo(s,{key:1,node:wi(Ep).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Eu("",!0),Object.keys(wi(Ep).nodeModules.children).length?(bi(),Zo(s,{key:2,node:wi(Ep).nodeModules,p:"l3 t4",icon:"i-carbon-categories"},null,8,["node"])):Eu("",!0)])])}}}),R7={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((r,e)=>(r[e.id]=e)&&r,{})}},methods:{updatePaneComponents(){this.panes.forEach(r=>{r.update&&r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(r,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(r){this.touch.mouseDown&&(r.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(r)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(r,e){"ontouchstart"in window&&(r.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(r,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(r,e){let t=0;this.panes=this.panes.map((n,i)=>(n.size=i===e?n.max:n.min,i!==e&&(t+=n.min),n)),this.panes[e].size-=t,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(n=>({min:n.min,max:n.max,size:n.size})))},onPaneClick(r,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(r){const e=this.container.getBoundingClientRect(),{clientX:t,clientY:n}="ontouchstart"in window&&r.touches?r.touches[0]:r;return{x:t-e.left,y:n-e.top}},getCurrentDragPercentage(r){r=r[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(r=e-r),r*100/e},calculatePanesSize(r){const e=this.touch.activeSplitter;let t={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:t.prevPanesSize),i=100-(this.pushOtherPanes?0:t.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(r),i),n);let a=[e,e+1],l=this.panes[a[0]]||null,p=this.panes[a[1]]||null;const d=l.max<100&&s>=l.max+t.prevPanesSize,g=p.max<100&&s<=100-(p.max+this.sumNextPanesSize(e+1));if(d||g){d?(l.size=l.max,p.size=Math.max(100-l.max-t.prevPanesSize-t.nextPanesSize,0)):(l.size=Math.max(100-p.max-t.prevPanesSize-this.sumNextPanesSize(e+1),0),p.size=p.max);return}if(this.pushOtherPanes){const b=this.doPushOtherPanes(t,s);if(!b)return;({sums:t,panesToResize:a}=b),l=this.panes[a[0]]||null,p=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(s-t.prevPanesSize-t.prevReachedMinPanes,l.min),l.max)),p!==null&&(p.size=Math.min(Math.max(100-s-t.nextPanesSize-t.nextReachedMinPanes,p.min),p.max))},doPushOtherPanes(r,e){const t=this.touch.activeSplitter,n=[t,t+1];return e<r.prevPanesSize+this.panes[n[0]].min&&(n[0]=this.findPrevExpandedPane(t).index,r.prevReachedMinPanes=0,n[0]<t&&this.panes.forEach((i,s)=>{s>n[0]&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),r.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(r.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,s)=>{s>0&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),this.panes[n[1]].size=100-r.prevReachedMinPanes-this.panes[0].min-r.prevPanesSize-r.nextPanesSize,null):e>100-r.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(t).index,r.nextReachedMinPanes=0,n[1]>t+1&&this.panes.forEach((i,s)=>{s>t&&s<n[1]&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),r.nextPanesSize=this.sumNextPanesSize(n[1]-1),n[1]===void 0)?(r.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,s)=>{s<this.panesCount-1&&s>=t+1&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),this.panes[n[0]].size=100-r.prevPanesSize-r.nextReachedMinPanes-this.panes[this.panesCount-1].min-r.nextPanesSize,null):{sums:r,panesToResize:n}},sumPrevPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n<r?t.size:0),0)},sumNextPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n>r+1?t.size:0),0)},findPrevExpandedPane(r){return[...this.panes].reverse().find(e=>e.index<r&&e.size>e.min)||{}},findNextExpandedPane(r){return this.panes.find(e=>e.index>r+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(r=>{const e=r.classList.contains("splitpanes__pane"),t=r.classList.contains("splitpanes__splitter");!e&&!t&&(r.parentNode.removeChild(r),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(r,e,t=!1){const n=r-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),t||(i.onmousedown=s=>this.onMouseDown(s,n),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=s=>this.onMouseDown(s,n)),i.onclick=s=>this.onSplitterClick(s,n+1)),this.dblClickSplitter&&(i.ondblclick=s=>this.onSplitterDblClick(s,n+1)),e.parentNode.insertBefore(i,e)},removeSplitter(r){r.onmousedown=void 0,r.onclick=void 0,r.ondblclick=void 0,r.parentNode.removeChild(r)},redoSplitters(){const r=Array.from(this.container.children);r.forEach(t=>{t.className.includes("splitpanes__splitter")&&this.removeSplitter(t)});let e=0;r.forEach(t=>{t.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,t,!0):e&&this.addSplitter(e,t),e++)})},requestUpdate({target:r,...e}){const t=this.indexedPanes[r._.uid];Object.entries(e).forEach(([n,i])=>t[n]=i)},onPaneAdd(r){let e=-1;Array.from(r.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&e++,i===r.$el));const t=parseFloat(r.minSize),n=parseFloat(r.maxSize);this.panes.splice(e,0,{id:r._.uid,index:e,min:isNaN(t)?0:t,max:isNaN(n)?100:n,size:r.size===null?null:parseFloat(r.size),givenSize:r.size,update:r.update}),this.panes.forEach((i,s)=>i.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(r){const e=this.panes.findIndex(n=>n.id===r._.uid),t=this.panes.splice(e,1)[0];this.panes.forEach((n,i)=>n.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...t,index:e}}),this.$emit("pane-remove",{removed:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(r={}){!r.addedPane&&!r.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(r):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const r=100/this.panesCount;let e=0;const t=[],n=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(r,i.max),i.min),e-=i.size,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id)}),e>.1&&this.readjustSizes(e,t,n)},initialPanesSizing(){let r=100;const e=[],t=[];let n=0;this.panes.forEach(s=>{r-=s.size,s.size!==null&&n++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&t.push(s.id)});let i=100;r>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(r/(this.panesCount-n),s.max),s.min)),i-=s.size}),i>.1&&this.readjustSizes(r,e,t))},equalizeAfterAddOrRemove({addedPane:r,removedPane:e}={}){let t=100/this.panesCount,n=0;const i=[],s=[];r&&r.givenSize!==null&&(t=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&s.push(a.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(a=>{r&&r.givenSize!==null&&r.id===a.id||(a.size=Math.max(Math.min(t,a.max),a.min)),n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&s.push(a.id)}),n>.1&&this.readjustSizes(n,i,s))},readjustSizes(r,e,t){let n;r>0?n=r/(this.panesCount-e.length):n=r/(this.panesCount-t.length),this.panes.forEach((i,s)=>{if(r>0&&!e.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),l=a-i.size;r-=l,i.size=a}else if(!t.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),l=a-i.size;r-=l,i.size=a}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(r)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(r){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,t)=>{e.ondblclick=r?n=>this.onSplitterDblClick(n,t):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return ZD("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Q7=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},j7={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(r){this.style=r}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(r){this.requestUpdate({target:this,size:r})},minSizeNumber(r){this.requestUpdate({target:this,min:r})},maxSizeNumber(r){this.requestUpdate({target:this,max:r})}}};function L7(r,e,t,n,i,s){return bi(),ss("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=a=>s.onPaneClick(a,r._.uid)),style:ml(r.style)},[tc(r.$slots,"default")],4)}const jv=Q7(j7,[["render",L7]]),X7={"h-screen":"","w-screen":"","of-hidden":""},V7={"h-full":"","of-hidden":""},U7=bo({__name:"App",setup(r){return(e,t)=>{const n=M7,i=Vh("RouterView");return bi(),ss("div",X7,[xs(wi(R7),null,{default:fa(()=>[xs(wi(jv),{size:"20","push-other-panes":!1},{default:fa(()=>[xs(n)]),_:1}),xs(wi(jv),{size:"80"},{default:fa(()=>[sn("div",V7,[xs(i)])]),_:1})]),_:1})])}}}),nA=NP(U7);nA.use(g7({history:_4(),routes:f4}));nA.mount("#app");export{f6 as A,fs as B,Eu as C,R9 as D,Ys as E,jv as F,Ew as G,H5 as H,D7 as I,R7 as M,V5 as _,Z7 as a,d2 as b,ss as c,bo as d,sn as e,K7 as f,xs as g,wi as h,Gs as i,xT as j,pa as k,W5 as l,Q5 as m,ml as n,bi as o,xw as p,Zo as q,Ws as r,MC as s,q7 as t,n6 as u,PP as v,fa as w,J7 as x,KA as y,W7 as z};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}